@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* メニュー説明非表示*/
.c-smallNavTitle {
    color: inherit;
    font-size: 10px;
    line-height: 1;
    opacity: .6;
    display: none !important;
}


/* ヒント＝ワンポイント用（オレンジ） */
.capbox-hint-orange .cap_box_content {
  background-color: #fff !important;      /* 背景を白に戻す */
  border: 1px solid #ff9800 !important;   /* 枠線オレンジ */
}

.capbox-hint-orange .cap_box_ttl {
  background-color: #ff9800 !important;   /* タイトル背景オレンジ */
  color: #fff !important;                 /* 文字色白 */
}

/* タイトル帯の“のし”装飾もオレンジ */
.capbox-hint-orange .cap_box_ttl:before,
.capbox-hint-orange .cap_box_ttl:after {
  border-color: #ff9800 !important;
}



/* ====== Kaereba風（HTMLそのまま）====== */
.custom-background.row{
  display:flex !important;        /* rowを横一列フレックスに */
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:16px;
  max-width:720px; margin:16px auto;
  background:#fff; border:1px solid #e5e7eb;
  border-radius:10px; padding:12px 16px;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

/* 画像列（1つ目のcol-6） */
.custom-background > .col-6:nth-of-type(1){
  flex:0 0 auto !important;      /* 幅を自動に固定 */
}
.custom-background .image-container{
  width:96px; height:96px;        /* サムネ統一 */
  display:flex; align-items:center; justify-content:center;
  background:#f7f8fb; border-radius:8px; overflow:hidden;
}
.custom-background .image-container img{
  max-width:100%; max-height:100%; object-fit:contain;
}

/* タイトル列（2つ目のcol-6） */
.custom-background > .col-6:nth-of-type(2){
  flex:1 1 auto !important;       /* ここが可変で広がる */
  min-width:0;                     /* 省略時の折返し対策 */
}
.custom-background .product-link{
  display:block; color:#222; text-decoration:none;
  font-weight:700; font-size:.95rem; line-height:1.5;
}
.custom-background .product-link:hover{ text-decoration:underline; }

/* ボタン行（3つ目の子：.row.my-2）を右端に寄せる */
.custom-background > .row.my-2{
  flex:0 0 auto !important;
  margin-left:auto !important;    /* これで右端へ */
  display:flex !important; gap:8px; align-items:center;
}
.custom-background .col-6.my-1{ flex:0 0 auto !important; }

/* ボタン */
.custom-background .btn{
  display:inline-block; padding:8px 14px; border:0;
  border-radius:9999px; font-size:.86rem; font-weight:700;
  color:#fff; text-decoration:none; white-space:nowrap;
  box-shadow:0 1px 0 rgba(0,0,0,.06); transition:opacity .2s ease;
}
.custom-background .btn:hover{ opacity:.9; }
.custom-background .amazon-btn{ background:#ff9900; }
.custom-background .rakuten-btn{ background:#bf0000; }

/* スマホは縦積み */
@media (max-width:560px){
  .custom-background.row{
    flex-wrap:wrap !important; text-align:center;
  }
  .custom-background > .row.my-2{ margin-left:0 !important; justify-content:center; width:100%; }
}
