/* =========================================================
  商品ページ用 CSS（ACL商品一覧とトーンを揃えた版：完全版）
  - 3カラム（〜1030pxで1カラム）
  - 左：カテゴリ（商品一覧と似た白カード）
  - 中央：画像スライダー＆サムネ
  - 右：商品名・型番・購入を1枚カードに統合
  - 下段：製品情報（上に細いベージュライン＋本文）
  - レビュー：cotogoto風 左寄せカード表示
  - 右下：フローティング購入ボックス（同系カード）
========================================================= */

/* ---- ACL 共通っぽいトークン ---- */
:root{
  --brown:#3c2e1e;
  --gray:#e5e5e5;
  --text:#444;
  --bg:#fafafa;

  /* アクセント用（見出しラインやカートボタン） */
  --accent-from:#3c2e1e;
  --accent-to:#d9b47e;

  /* 枠・影 */
  --border-soft:#eee1cf;
  --border-line:#e2ddd3;
  --shadow-soft:0 2px 8px rgba(0,0,0,.04);
  --shadow-strong:0 6px 18px rgba(0,0,0,.16);

  /* 「製品情報」の上ライン */
  --info-bar-from:#f5ece0;
  --info-bar-to:#fff7e8;
}

/* ====== 全体レイアウト（Gridで横並び） ====== */
.p-product.is-custom .u-container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}
.p-product.is-custom .p-product-main{
  display:grid;
  grid-template-columns:220px 530px minmax(360px,1fr);
  gap:36px;
  align-items:flex-start;
  margin:24px 0 40px;
}
@media (max-width:1180px){
  .p-product.is-custom .p-product-main{
    grid-template-columns:220px 500px 1fr;
    gap:28px;
  }
}
@media (max-width:1030px){
  .p-product.is-custom .p-product-main{
    grid-template-columns:1fr;
    gap:24px;
    margin:20px 0 32px;
  }
}

/* Gridの子が横に膨らまないようにする */
.p-product-sidebar,
.p-product-img,
.p-product-info{
  min-width:0;
}

/* ================================
   左サイドバー（商品一覧と似せる）
=============================== */
.p-product-sidebar{
  width:220px;
  padding:14px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
}
.p-product-sidebar h3{
  margin:0 0 10px;
  font-size:15px;
  font-weight:700;
  color:var(--brown);
}
.p-product-sidebar ul{
  list-style:none;
  margin:0;
  padding:0;
}
.p-product-sidebar li + li{
  margin-top:4px;
}
.p-product-sidebar a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:8px;
  font-size:14px;
  line-height:1.5;
  color:#443a2f;
  text-decoration:none;
  background:transparent;
  border:none;
  text-align:left;
  box-sizing:border-box;
  transition:background-color .16s, transform .12s;
}
.p-product-sidebar a:hover,
.p-product-sidebar a:focus{
  background:#fffdf9;
  transform:translateX(2px);
  outline:none;
}
.p-product-sidebar img{
  width:20px;
  height:20px;
  object-fit:contain;
}
@media (max-width:1030px){
  .p-product-sidebar{
    width:auto;
    max-width:520px;
    margin:0 auto 4px;
  }
}

/* ================================
   画像エリア
=============================== */
.p-product-img{width:100%}
.p-product-img__main{text-align:center}
.p-product-img__main-item{
  position:relative;
  text-align:center;
  aspect-ratio:1/1;
}
/* 古いブラウザ向けフォールバック */
.p-product-img__main-item:before{
  content:"";
  display:block;
  padding-top:100%;
}
@supports (aspect-ratio: 1/1){
  .p-product-img__main-item:before{display:none}
}
.p-product-img__main-item img{
  position:absolute;
  inset:0;
  margin:auto;
  max-width:100%;
  max-height:100%;
}

/* サムネイル */
.p-product-img__thumb{margin-top:8px}
.p-product-thumb-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  margin:8px -4px 0;
  padding:0;
  list-style:none;
}
@media (max-width:1030px){
  .p-product-thumb-list{
    flex-wrap:nowrap;
    justify-content:flex-start;
  }
}
.p-product-thumb-list__item{
  box-sizing:border-box;
  margin-bottom:8px;
  padding:0 4px;
  width:20%;
  cursor:pointer;
  opacity:1;
  transition:opacity .3s, transform .15s;
}
.p-product-thumb-list__item:hover,
.p-product-thumb-list__item:focus,
.p-product-thumb-list__item.is-current{
  opacity:.7;
  transform:translateY(-1px);
  outline:none;
}
.p-product-thumb-list__img{
  position:relative;
  text-align:center;
}
.p-product-thumb-list__img:before{
  content:"";
  display:block;
  padding-top:100%;
}
.p-product-thumb-list__img img{
  position:absolute;
  inset:0;
  margin:auto;
  max-width:100%;
  max-height:100%;
}
.u-overflow-slide{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

/* slick 矢印（最小限のカスタム） */
.p-product-img__main .slick-prev,
.p-product-img__main .slick-next{
  top:50%;
  width:30px;
  height:30px;
  z-index:1;
}
.p-product-img__main .slick-prev:before,
.p-product-img__main .slick-next:before{
  content:"";
  position:absolute;
  top:7px;
  left:10px;
  width:15px;
  height:15px;
  border-left:1px solid #333;
  border-top:1px solid #333;
}
.p-product-img__main .slick-prev{left:15px}
.p-product-img__main .slick-prev:before{transform:rotate(-45deg)}
.p-product-img__main .slick-next{right:15px}
.p-product-img__main .slick-next:before{left:4px;transform:rotate(135deg)}
@media (max-width:767px){
  .p-product-img__main .slick-prev,
  .p-product-img__main .slick-next{
    width:45px;
    height:45px;
  }
  .p-product-img__main .slick-prev{left:0}
  .p-product-img__main .slick-prev:before{left:17px;top:15px}
  .p-product-img__main .slick-next{right:0}
  .p-product-img__main .slick-next:before{left:13px;top:15px}
}

/* ================================
   右カラム：商品情報カード
=============================== */
.p-product-info{
  width:100%;
  max-width:420px;
}
@media (max-width:1030px){
  .p-product-info{
    max-width:none;
    margin:0 auto;
  }
}

.p-product-info-card{
  position:relative;
  margin:10px 0 18px;
  padding:16px;
  overflow:hidden;
  border:1px solid var(--border-soft);
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.p-product-info-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,var(--accent-from),var(--accent-to));
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  z-index:1;
}
.p-product-info__ttl{
  margin:2px 0 6px;
  font-size:22px;
  font-weight:700;
  color:var(--brown);
}
@media (max-width:767px){
  .p-product-info__ttl{font-size:20px;}
}
.p-product-info__id{
  margin:0 0 10px;
  font-size:12px;
  color:#857b6b;
}

/* オプション */
.p-product-option{margin:16px 0;}
.p-product-option-tbl{
  margin:0 0 12px;
  overflow-x:auto;
}
.p-product-option-tbl table{
  margin-bottom:0;
  border-left:0;
  border-right:0;
  width:100%;
}
.p-product-option-tbl table div{
  display:inline-block !important;
}
.p-product-option-tbl th{min-width:100px;}
.p-product-option-tbl th,
.p-product-option-tbl td{
  padding:12px 5px;
  border-top:1px solid #e5e1db;
  border-bottom:1px solid #e5e1db;
  border-left:0;
  text-align:center;
  font-size:13px;
}
.p-product-option-select{margin:10px 0;}
.p-product-option-select__box{margin-top:12px;}
.p-product-option-select__ttl{
  margin-bottom:5px;
  font-weight:700;
  font-size:13px;
  color:#3c2e1e;
}

/* 名入れ */
.p-product-name{margin:16px 0;}
.p-product-name__ttl{
  margin-bottom:6px;
  font-weight:700;
  font-size:13px;
}
.p-product-name__body input{width:100%;}

/* ================================
   カード内：購入ボックス（和寄り四角枠）
=============================== */
.p-product-info-card .p-product-buybox{
  margin-top:16px;
  padding:14px 16px 16px;
  border:1px solid var(--border-soft);
  border-top:none;
  border-radius:10px;
  background:#fffdf6;
  box-shadow:var(--shadow-soft);
}

/* 金額まわり */
.p-product-buybox__price{
  display:block;
  margin-bottom:10px;
}
.p-product-buybox__price-label{
  font-size:12px;
  color:#857b6b;
  margin:0 0 4px;
}
.p-product-buybox__price-now{
  font-size:22px;
  font-weight:700;
  color:#3c2e1e;
}
.p-product-buybox__off{
  font-size:12px;
  color:#b55225;
  background:#fbe7da;
  padding:2px 7px;
  border-radius:999px;
  margin-left:6px;
}

/* 数量行 */
.p-product-buybox .p-product-form-stock{
  margin:12px 0 14px;
}
.p-product-form-stock__input{
  display:flex;
  align-items:center;
  gap:8px;
}
.p-product-form-stock__label{
  font-size:14px;
}
.p-product-buybox__qty{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  font-size:14px;
  flex-wrap:wrap;
}
.p-product-buybox__qty input{
  width:80px;
  max-width:100%;
  padding:4px;
  text-align:center;
  border:1px solid #ccc;
  border-radius:4px;
}

/* 数量入力幅（競合防止） */
.p-product-info-card .p-product-buybox .p-product-buybox__qty input{width:80px;}
.acl-buybox .acl-buybox__qty input{width:90px;}
.p-product-form-stock__input input{width:60px;}

/* ================================
   カートに入れるボタン（商品ページ／フローティング共通）
=============================== */
.p-product-buybox__btn,
.acl-buybox .acl-buybox__btn {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:10px 0;
  background:#3c2e1e;
  color:#fff;
  font-size:15px;
  font-weight:700;
  border:none;
  border-radius:8px;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:background-color .18s, transform .06s, box-shadow .12s, opacity .16s;
}
.p-product-buybox__btn:hover,
.acl-buybox .acl-buybox__btn:hover {
  background:#4a3a27;
  box-shadow:0 4px 10px rgba(0,0,0,.16);
  opacity:0.98;
}
.p-product-buybox__btn:active,
.acl-buybox .acl-buybox__btn:active {
  transform:translateY(1px);
  box-shadow:0 1px 4px rgba(0,0,0,.14);
}
.p-product-buybox__btn:focus-visible,
.acl-buybox .acl-buybox__btn:focus-visible {
  outline:2px solid #d9b47e;
  outline-offset:2px;
}

/* ================================
   情報リンク（配送・ギフト・問い合わせ）
=============================== */
.p-product-info-links{
  margin:18px 0 18px;
  padding:0;
  list-style:none;
}
.p-product-info-links,
.p-product-info-links__item{
  list-style:none;
  padding-left:0;
  margin-left:0;
}
.p-product-info-links__item + .p-product-info-links__item{
  margin-top:10px;
}
.p-product-info-links__item a{
  display:block;
  padding:10px 12px;
  font-size:14px;
  font-weight:600;
  color:#333;
  text-decoration:none;
  background:#f7f7f7;
  border:1px solid #ddd;
  border-radius:6px;
  box-sizing:border-box;
}
.p-product-info-links__item a:hover,
.p-product-info-links__item a:focus{
  color:var(--accent-from);
  border-color:var(--accent-from);
  background:#fcfcfc;
  outline:none;
}

/* &#9993;マーク */
.p-product-info-links__icon{
  margin-right:6px;
  font-size:15px;
}

@media (max-width:767px){
  .p-product-info-links{
    margin:16px 0 14px;
  }
  .p-product-info-links__item a{
    font-size:14px;
    padding:9px 10px;
  }
}

/* SNSアイコン周り */
.p-product-sns-list{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
}
.p-product-sns-list__item{margin-right:20px;}

/* ================================
   下段「製品情報」
=============================== */
.p-product.is-custom .p-product-explain{
  grid-column:1 / -1;
  max-width:900px;
  margin:16px auto 0 !important;
  background:none;
  border:none;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.p-product.is-custom .p-product__ttl{
  position:relative;
  margin:0 0 16px;
  padding:12px 0 10px;
  font-size:21px;
  font-weight:700;
  color:#3c2e1e;
  border:none;
  background:none;
}
.p-product.is-custom .p-product__ttl:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--info-bar-from),var(--info-bar-to));
  border-radius:2px;
}

/* 本文中央寄せ（製品情報だけ） */
.p-product.is-custom .p-product-explain__body{
  line-height:1.95;
  word-break:break-word;
  text-align:center !important;
  padding-top:10px;
  border-top:1px solid var(--border-line);
  font-size:16.5px;
}
.p-product.is-custom .p-product-explain__body *{
  text-align:center !important;
}
.p-product.is-custom .p-product-explain__body p{margin:0 0 1em;}
.p-product.is-custom .p-product-explain__body ul,
.p-product.is-custom .p-product-explain__body ol{
  margin:0 0 1em;
  padding-left:1.3em;
}
.p-product.is-custom .p-product-explain__body h4,
.p-product.is-custom .p-product-explain__body h5{
  margin:1.2em 0 .6em;
  font-weight:700;
}
@media (max-width:767px){
  .p-product.is-custom .p-product-explain__body{
    font-size:15.5px;
    line-height:1.9;
  }
  .p-product.is-custom .p-product__ttl{font-size:19px;}
}

/* ================================
   入力／在庫／ボタン／エラー（既存クラス）
=============================== */
.p-product select,
.p-product input[type=text]{
  box-sizing:border-box;
  padding:5px;
  height:40px;
  border:1px solid #bfbfbf;
  font-size:16px;
}
.p-product-form-stock{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  margin:20px 0;
}
.p-product-form-stock__input{
  display:flex;
  align-items:center;
}
.p-product-form-stock__unit{margin-left:10px;}
.p-product-form-stock__stock{margin-left:25px;}
.p-product-form-btn{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
}
.p-product-form-btn__cart{width:100%;}
@media (max-width:1030px){
  .p-product-form-btn__cart{
    flex:1;
    width:auto;
  }
}
.p-product-form__error-message{
  color:#DB5656;
  margin-top:15px;
}
.p-product-form__error-message:empty{display:none;}

/* ================================
   右下：フローティング購入ボックス
=============================== */
.acl-buybox{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:99;
  width:300px;
  max-width:88vw;
  background:#fff;
  border:1px solid var(--border-soft);
  border-radius:12px;
  box-shadow:var(--shadow-strong);
  padding:14px 14px 16px;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:.25s;
}
.acl-buybox.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.acl-buybox__name{
  font-weight:700;
  margin-bottom:2px;
  font-size:14px;
  color:#3c2e1e;
}
.acl-buybox__model{
  font-size:12px;
  color:#857b6b;
  margin-bottom:6px;
}
.acl-buybox__price{
  margin:6px 0 2px;
  display:flex;
  align-items:baseline;
  gap:6px;
  flex-wrap:wrap;
}
.acl-buybox__price-now{
  font-size:18px;
  font-weight:700;
  margin-right:4px;
  color:#3c2e1e;
}
.acl-buybox__off{
  font-size:11px;
  background:#fbe7da;
  padding:2px 6px;
  border-radius:999px;
  margin-right:4px;
  color:#b55225;
}
.acl-buybox__price-normal{
  font-size:12px;
  color:#777;
}
.acl-buybox__qty{
  display:flex;
  align-items:center;
  gap:8px;
  margin:8px 0 10px;
  font-size:13px;
}
.acl-buybox__qty label{white-space:nowrap;}
.acl-buybox__stock{
  font-size:12px;
  color:#666;
  margin-top:4px;
  text-align:right;
}
/* ▼ スマホではフローティング購入ボックスを非表示にする */
@media (max-width:767px){
  .acl-buybox{
    display:none !important;
  }
}


/* Grid子要素の暴走防止＋古いfloat対策 */
.p-product-main > *{float:none !important;}
.p-product-info,
.p-product-img{min-width:0;}
@media (max-width:767px){
  .p-product-info-card{margin:8px 0 14px;}
  .p-product-name{margin:14px 0;}
}

/* ================================
   クイックカートイン モーダル／スピナー
=============================== */
.cart_in_modal,
.cart_in_error_modal{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background-color:rgba(0,0,0,0.7);
  z-index:20000;
  display:flex;
  overflow:auto;
}
@media screen and (min-width:960px){
  .cart_in_modal,
  .cart_in_error_modal{
    align-items:center;
  }
}
.cart_in_modal__bg{
  background-color:rgba(0,0,0,0.7);
  position:fixed;
  width:100%;
  height:100%;
  z-index:20000;
}
.cart_in_modal__outline{
  width:90%;
  margin:20px 5%;
  padding:20px;
  background-color:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,0.4);
  box-sizing:border-box;
  text-align:center;
  position:absolute;
}
@media screen and (min-width:960px){
  .cart_in_modal__outline{
    width:900px;
    margin:auto;
    padding:20px 70px;
    position:relative;
  }
}
.cart_in_modal__heading{
  font-size:20px;
  font-weight:bold;
  margin:20px 0;
  line-height:1.4;
}
@media screen and (min-width:960px){
  .cart_in_modal__heading{
    font-size:26px;
    margin:30px 0;
    line-height:1.2;
  }
}
.cart_in_error_modal__heading{
  font-size:20px;
  font-weight:bold;
  margin:40px 0 20px;
  line-height:1.4;
}
@media screen and (min-width:960px){
  .cart_in_error_modal__heading{
    margin:30px 0;
    line-height:1.2;
  }
}
.cart_in_modal__detail{
  display:flex;
  padding:20px;
  border-top:1px solid #ccc;
  border-bottom:1px solid #ccc;
  align-items:center;
  flex-direction:column;
}
@media screen and (min-width:960px){
  .cart_in_modal__detail{flex-direction:row;}
}
.cart_in_modal__name{
  font-size:16px;
  flex:1;
  line-height:1.4;
  text-align:left;
  margin:0;
}
@media screen and (min-width:960px){
  .cart_in_modal__name{font-size:18px;}
}
.cart_in_modal__image-wrap{
  padding:5px;
  width:170px;
  height:170px;
  background:rgba(0,0,0,0.1);
  position:relative;
  border:5px solid transparent;
  box-sizing:border-box;
}
@media screen and (min-width:960px){
  .cart_in_modal__image-wrap{
    margin:0 30px 0 0;
    flex-basis:170px;
  }
}
.cart_in_modal__image{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
}
.cart_in_modal__text-link{
  color:#2169f3;
  cursor:pointer;
  position:relative;
  display:inline-block;
  margin:20px 0 0;
  padding:0 0 0 20px;
  line-height:1.15;
}
.cart_in_modal__text-link::before{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:8px;
  height:8px;
  border-top:2px solid #2169f3;
  border-right:2px solid #2169f3;
  transform:rotate(225deg);
}
.cart_in_modal__button-wrap{
  width:100%;
  margin:30px auto;
  font-size:17px;
}
@media screen and (min-width:960px){
  .cart_in_modal__button-wrap{width:350px;}
}
.cart_in_modal__button{
  font-size:17px;
  font-weight:bold;
  line-height:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  cursor:pointer;
  text-decoration:none;
  color:#fff;
  border:0;
  border-radius:999px;
  width:100%;
  height:58px;
  padding:15px;
  background:#2169f3;
  box-shadow:0 2px 0 #1a54c2;
  outline:none;
  appearance:none;
}
.cart_in_modal__button:hover,
.cart_in_modal__button:focus{
  color:#e9f0fe;
  background-color:#1e5fdb;
  box-shadow:none;
  transform:translate3d(0,2px,0);
}
.cart_in_modal__close-icon{
  cursor:pointer;
}
.cart_in_modal__close-icon::before,
.cart_in_modal__close-icon::after{
  content:"";
  width:35px;
  height:6px;
  display:block;
  position:absolute;
  top:30px;
  right:20px;
  background:#eee;
  border-radius:4px;
}
.cart_in_modal__close-icon::before{transform:rotate(-45deg);}
.cart_in_modal__close-icon::after{transform:rotate(45deg);}

/* スピナー */
.spinner::before{
  content:"";
  box-sizing:border-box;
  position:absolute;
  top:50%;
  left:50%;
  height:100px;
  width:100px;
  margin-top:-50px;
  margin-left:-50px;
  border-radius:50%;
  border:5px solid #eee;
  border-top-color:#fd7f23;
  animation:spinner 0.5s linear infinite;
}
@keyframes spinner{
  to{transform:rotate(360deg);}
}
@media screen and (min-width:960px){
  .sp-br{display:none;}
}

/* 見出し＋本文（もし h1 の中に p を入れている場合用） */
h1 p{
  font-size:12px;
  line-height:18px;
  margin:0 10px;
}

/* ヘッダー左のカート一式を非表示 */
.l-sp-header-cart-btn{
  display:none !important;
}

/* =========================================
   商品名を「カテゴリーの横の列」に配置（PCだけ）
========================================= */
@media (min-width:1031px){
  .p-product.is-custom .p-product-main-head{
    grid-column:2 / 4;
    grid-row:auto;
    margin:0 0 12px;
    padding-left:10px;
    text-align:left;
  }
  .p-product.is-custom .p-product-main-head,
  .p-product.is-custom .p-product-main-head__ttl,
  .p-product.is-custom .p-product-main-head__model{
    text-align:left !important;
  }
}

/* ▼ アコーディオン式「配送について」「ギフト」共通ボタン */
.p-info-toggle__btn{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  font-size:14px;
  font-weight:600;
  color:#333;
  background:#f7f7f7;
  border:1px solid #ddd;
  border-radius:6px;
  cursor:pointer;
}
.p-info-toggle__btn:hover{
  background:#fcfcfc;
  border-color:var(--accent-from);
}
.p-info-toggle__icon{
  font-size:18px;
  font-weight:700;
  margin-left:8px;
  transition:transform .2s ease;
}
.p-info-toggle__content{
  display:none;
  padding:10px 12px 12px;
  background:#fff;
  border:1px solid #ddd;
  border-top:0;
  border-radius:0 0 6px 6px;
  font-size:14px;
  line-height:1.7;
}
.p-info-toggle.open .p-info-toggle__content{
  display:block;
}
.p-info-toggle.open .p-info-toggle__icon{
  transform:rotate(45deg);
}
.p-info-toggle__guide a{
  color:var(--accent-from);
  text-decoration:underline;
}


/* 販売価格の上の線を完全に消す（最優先） */
.p-product-info-card .p-product-buybox{
  border-top:none !important;
}

/* ========================================================
   ▼ レビュー表示（cotogoto 風・左寄せカード）
======================================================= */

/* レビュー全体：製品情報と同じ位置・幅＋左寄せ */
.p-product.is-custom .p-product-review{
  grid-column:1 / -1;
  max-width:900px;
  margin:32px auto 0 !important;
  padding:0;
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
  text-align:left !important;
}

/* 見出し行（「レビュー」＋ボタン） */
.p-product.is-custom .p-product-review__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

/* 見出しタイトルは製品情報と同じ h3.p-product__ttl を使う想定 */

/* 「レビューを書く」ボタン */
.p-product-review__write-btn{
  display:inline-block;
  padding:10px 18px;
  font-size:14px;
  font-weight:700;
  color:#fff;
  background:#3c2e1e;
  border-radius:30px;
  text-decoration:none;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:background-color .18s, transform .06s, box-shadow .12s, opacity .16s;
}
.p-product-review__write-btn:hover{
  background:#4a3a27;
  box-shadow:0 4px 10px rgba(0,0,0,.16);
  opacity:0.98;
}
.p-product-review__write-btn:active{
  transform:translateY(1px);
  box-shadow:0 1px 4px rgba(0,0,0,.14);
}
.p-product-review__write-btn:focus-visible{
  outline:2px solid #d9b47e;
  outline-offset:2px;
}

/* 本文側は全部左寄せにそろえる */
.p-product.is-custom .p-product-review__body{
  margin-top:14px;
  text-align:left;
}
.p-product.is-custom .p-product-review__body *{
  text-align:left !important;
}

/* 1件ずつのレビューカード */
.reviewlist{
  padding:14px 14px 12px;
  margin:0 0 14px;
  border-radius:8px;
  border:1px solid #e5e1db;
  background:#fffdf9;
  box-sizing:border-box;
}

/* 上部：星＋投稿者情報の行 */
.reviewlist_datas{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 10px;
  margin-bottom:6px;
  font-size:12px;
  color:#857b6b;
}

/* 星アイコン（左） */
.icon_star{
  float:none;
  width:auto;
  overflow:visible;
  display:flex;
  align-items:center;
}
.icon_star img{
  max-width:inherit;
}

/* 投稿者情報（ニックネーム／年代／性別／日付） */
.review_poster{
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  margin:0;
  padding:0;
}
.review_poster li{
  list-style:none;
  margin:0;
  padding:0;
  position:relative;
}
.review_poster li + li::before{
  content:"／";
  margin:0 2px;
  color:#b3a48d;
}

/* タイトル行 */
.review_ttl{
  font-size:14px;
  font-weight:700;
  margin:4px 0 6px;
  display:flex;
  align-items:center;
  gap:4px;
}
.review_ttl__star img{
  height:14px;
  width:auto;
}

/* 本文 */
.reviewlist_content{
  font-size:14px;
  line-height:1.8;
  color:#3c2e1e;
}

/* 画像が添付されている場合（右上に回り込ませず、本文の上に） */
.review_img{
  float:none;
  display:block;
  margin:4px 0 8px;
}

/* ショップからのコメント */
.shopcomment{
  margin-top:10px;
  margin-bottom:2px;
  background:#f5f2ea;
  padding:10px 12px;
  border-radius:6px;
  font-size:13px;
  line-height:1.7;
}
.shopcomment_ttl{
  font-size:13px;
  font-weight:700;
  margin:0 0 4px;
}

/* レビューが0件のときのメッセージ */
.p-product-review__empty{
  font-size:14px;
  color:#666;
  margin:8px 0 0;
}

/* 「もっと見る」リンク */
.p-product-review__more{
  margin:4px 0 0;
  text-align:right;
}
.p-product-review__more a{
  font-size:13px;
  color:#3c2e1e;
  text-decoration:underline;
}

/* スマホでの余白調整 */
@media (max-width:767px){
  .p-product.is-custom .p-product-review{
    margin:28px auto 0 !important;
  }
  .reviewlist{
    padding:12px 10px 10px;
    margin-bottom:10px;
  }
}

/* ここまで：cotogoto 風レビュー */
/* ========================================================
   ▼ レビューだけ少し色を変えて分かりやすくする追記
   （このブロックをいちばん下にコピペでOK）
======================================================= */

/* レビュー全体の背景をうっすらグレーにして、箱感を出す */
.p-product.is-custom .p-product-review{
  background:#f7f5f0;      /* ← ほんのりグレー寄りベージュ */
  border-radius:10px;
  padding:16px 18px 18px;
}

/* 「レビュー」の見出しラインだけ色を少し変える */
.p-product.is-custom .p-product-review .p-product__ttl:before{
  background:linear-gradient(90deg,#e4eef5,#c4d8e7); /* 青みのある淡色ライン */
}

/* レビュー1件分のカードは、背景を白にしてコントラストを付ける */
.p-product.is-custom .p-product-review .reviewlist{
  background:#ffffff;
  border-color:#d9d2c5;
}
/* ========================================================
   ▼ レビュー周りのサイズバランス調整（追記）
======================================================= */

/* レビュー全体：背景ベタ塗りをやめてスッキリ */
.p-product.is-custom .p-product-review{
  background: transparent;
  padding: 0;
  margin: 28px auto 0 !important;
}

/* 見出し行をコンパクトに＋下線だけで区切る */
.p-product.is-custom .p-product-review__head{
  padding: 6px 0 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5e1db;
}

/* 「レビュー」見出しはちょっとだけ小さめに */
.p-product.is-custom .p-product-review .p-product__ttl{
  margin: 0;
  padding: 0;
  font-size: 18px;
}

/* レビュー側の見出しはバーを消す（製品情報側はそのまま） */
.p-product.is-custom .p-product-review .p-product__ttl:before{
  content: none;
}

/* 「レビューを書く」ボタンをひと回り小さく軽く */
.p-product-review__write-btn{
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* レビュー1件分のカードも少しだけコンパクトに */
.p-product.is-custom .p-product-review .reviewlist{
  padding: 10px 10px 8px;
  margin-bottom: 10px;
}

/* 本文も少しだけ文字サイズを落として軽く */
.p-product.is-custom .p-product-review .reviewlist_content{
  font-size: 13px;
  line-height: 1.7;
}

/* スマホ時：ボタンが大きくなりすぎないように */
@media (max-width: 767px){
  .p-product.is-custom .p-product-review__head{
    gap: 8px;
  }
  .p-product-review__write-btn{
    padding: 5px 10px;
    font-size: 12px;
  }
}
/* ▼ ユニバーサルスープスプーン説明の余白調整 */
.acl-uni-spoon {
  max-width: 780px;
  margin: 12px auto 0 !important; /* 上の空間を詰める */
  padding-bottom: 8px;
}

.acl-uni-spoon p {
  margin: 0 0 1.2em; /* 通常の段落余白だけに統一 */
}

.acl-uni-spoon figure {
  margin: 14px auto; /* 写真まわりも詰めすぎず広げすぎず */
}


/* ▼ 詳細・スペックの余白を詰める */
.acl-detail-spec {
  max-width: 780px;
  margin: 20px auto 0 !important; /* 上の空間を減らす */
  padding: 0; /* 不要な内側余白をカット */
}

.acl-detail-ttl {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

/* 項目テーブルの余白 */
.acl-detail-table {
  margin: 0;
}

/* =========================================
   ユニバーサルスープスプーン 説明ブロック
========================================= */
.acl-uni-spoon{
  max-width: 720px;
  margin: 0 auto;              /* 中央寄せ */
  line-height: 1.9;
}
.acl-uni-spoon *,
.acl-detail-spec *{
  text-align: left !important; /* 説明と詳細は左寄せに統一 */
}

/* 各画像の下の余白を詰める */
.acl-uni-main,
.acl-uni-img{
  margin: 0 0 12px;
}
.acl-uni-main img,
.acl-uni-img img{
  display: block;
  width: 100%;
  height: auto;
}

/* 説明テキストの段落 */
.acl-uni-spoon p{
  margin: 0 0 1em;
}

/* 最後の段落の下だけは少しだけ空ける（詳細スペックとの間） */
.acl-uni-spoon p:last-of-type{
  margin-bottom: 0.8em;
}

/* =========================================
   詳細・スペック ブロック
========================================= */
.acl-detail-spec{
  max-width: 720px;
  margin: 8px auto 0;        /* ←ここで「説明との間」を詰め気味に */
  padding: 14px 16px 16px;
  background: #fffdf6;
  border: 1px solid #e5e1db;
  border-radius: 10px;
  box-sizing: border-box;
}

/* 見出し */
.acl-detail-ttl{
  margin: 0 0 10px;          /* デフォルトの margin-top を消す */
  font-size: 18px;
  font-weight: 700;
  color: #3c2e1e;
}

/* dl 全体の余白リセット */
.acl-detail-table{
  margin: 0;
}

/* 各項目のタイトル（サイズ・素材など） */
.acl-detail-table dt{
  margin: 0 0 4px;
  font-weight: 600;
  color: #3c2e1e;
}

/* 各項目の中身 */
.acl-detail-table dd{
  margin: 0 0 10px;
}

/* 最後の dd だけ下を詰める */
.acl-detail-table dd:last-of-type{
  margin-bottom: 0;
}

/* 箇条書き */
.acl-detail-list{
  margin: 0;
  padding-left: 1.2em;
}
.acl-detail-list li{
  margin: 0 0 2px;
}

/* スマホで少しだけ詰める */
@media (max-width: 767px){
  .acl-detail-spec{
    padding: 12px 12px 14px;
    margin-top: 6px;
  }
  .acl-detail-ttl{
    font-size: 16px;
    margin-bottom: 8px;
  }
}
/* ▼ ユニバーサルスプーン用「詳細・スペック」の余白調整 */
.acl-detail-spec{
  max-width: 900px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.7;
}

.acl-detail-ttl{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #3c2e1e;
}

/* dl 全体のデフォルト余白をリセット */
.acl-detail-table{
  margin: 0;
  padding: 0;
}

/* 項目見出し（サイズ／重さ／素材…）の上下を詰める */
.acl-detail-table dt{
  margin: 8px 0 2px;
  padding: 0;
  font-weight: 700;
  color: #3c2e1e;
}

/* 中身（dd）の余白も詰める */
.acl-detail-table dd{
  margin: 0 0 6px;
  padding: 0;
}

/* 箇条書きリストの余白をコンパクトに */
.acl-detail-list{
  margin: 2px 0 4px;
  padding-left: 1.3em;
}
.acl-detail-list li{
  margin: 2px 0;
}
/* ▼ 詳細・スペックの無駄な余白をすべて強制カット */
.acl-detail-spec .acl-detail-table dt,
.acl-detail-spec .acl-detail-table dd,
.acl-detail-spec .acl-detail-list li {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  padding: 0 !important;
}

/* dl全体の下の余白も念のためカット */
.acl-detail-spec .acl-detail-table {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 見出し（詳細・スペック）の下も詰める */
.acl-detail-spec .acl-detail-ttl {
  margin-bottom: 8px !important;
}

/* ▼ ユニバーサル説明＆詳細スペック内の自動 <br> を消す */
.acl-uni-spoon br,
.acl-detail-spec br {
  display: none;
}
.acl-uni-spoon p br {
  display: inline;
}

