
#capsule-main{scroll-behavior:smooth}#capsule-main{background:#fbfaf7;color:#333}#capsule-main{max-width:1120px;margin:auto;padding:24px;font-size:18px;line-height:1.85}#capsule-main *{box-sizing:border-box}#capsule-main .content-panel img:not(.product-image), #capsule-main .liquid-hero img{max-width:100%;height:auto;float:none}#capsule-main h1{font-size:36px;line-height:1.5;color:#294b38}#capsule-main h2{font-size:26px;padding:15px 20px;background:#eaf1e8;border-left:5px solid #688c58;margin:0 0 24px;color:#294b38}#capsule-main .content-panel h3{font-size:22px;line-height:1.6}#capsule-main .content-panel a:not(.btn), #capsule-main .breadcrumb a, #capsule-main .section-nav a{color:#286344}#capsule-main section{margin-bottom:46px;scroll-margin-top:20px}.liquid-hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:32px;background:#f1f5ea;border-radius:18px;padding:36px}.liquid-hero>img{max-height:330px!important;justify-self:center;object-fit:contain}.eyebrow{font-size:16px;color:#67765b}.hero-cta,.buy-button{display:block;border:0;background:#e47722;color:white!important;border-radius:8px;padding:16px 20px;text-align:center;text-decoration:none;font-size:18px;font-weight:bold;cursor:pointer}.hero-cta{max-width:340px;margin-top:24px}.section-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 40px}.section-nav a{padding:10px 18px;background:white;border:1px solid #ccd8c5;border-radius:30px;text-decoration:none}.purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.purchase-card{background:white;border:1px solid #dce1d4;border-radius:16px;padding:26px;text-align:center;position:relative}.purchase-card h3{margin:8px 0 20px}.purchase-card>img{height:210px!important;width:auto;max-width:100%;object-fit:contain;margin:0 auto 20px}.purchase-option{padding:16px 0;border-top:1px solid #e4e7df}.purchase-option p{margin:4px 0}.amount{font-size:32px;font-weight:bold;color:#b34e1b;line-height:1.5}.amount small{font-size:16px;font-weight:normal}.buy-button{width:100%;margin-top:14px}.subscription{background:#44784b}.purchase-card .badge{position:static;display:block;background:#ef8629;color:white;border-radius:8px;padding:8px;font-weight:bold;margin:0 0 14px}.content-panel{background:white;border-radius:16px;padding:28px}.content-panel p{margin:16px 0}.content-panel font{font-size:inherit}.table-scroll{overflow-x:auto}#capsule-main table{min-width:0;border-collapse:collapse;width:100%;font-size:16px}#capsule-main th,#capsule-main td{border:1px solid #d7ddcf;padding:12px}#capsule-main th{background:#f0f4eb}.course-link{font-size:16px}.breadcrumb{font-size:14px;margin-bottom:20px}.back-top{display:block;text-align:right;margin-bottom:30px}@media(max-width:767px){#capsule-main{padding:16px;font-size:17px}.liquid-hero{grid-template-columns:1fr;padding:24px;gap:20px}#capsule-main h1{font-size:27px}.liquid-hero>img{max-height:240px!important}.purchase-grid{grid-template-columns:1fr}#capsule-main h2{font-size:22px;padding:14px}#capsule-main .content-panel h3{font-size:20px}.content-panel{padding:20px}.section-nav{gap:8px}.section-nav a{font-size:15px;padding:8px 12px}.purchase-card{padding:22px}}

#purchase{font-size:16px;line-height:1.75}.liquid-special{margin-top:24px}#capsule-main .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(min-width:641px) and (max-width:900px){#capsule-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#capsule-main .product-grid{grid-template-columns:1fr}}

#capsule-main .recommend-set-image{display:block;width:min(480px,100%);height:auto;margin:24px auto}#capsule-main .recommend-reasons{padding-left:1.6em}#capsule-main .recommend-reasons li{margin:0 0 18px}#capsule-main .refund-info{padding:22px;margin-top:28px;background:#fff8ed;border:1px solid #e3c7a0;border-radius:12px}#capsule-main .refund-info h3{margin-top:0}

/* スマホでは全4列を画面内に表示 */
@media(max-width:640px){
 #capsule-main .table-scroll{overflow:visible;max-width:100%}
 #capsule-main .table-scroll table{width:100%;min-width:0;table-layout:fixed;font-size:14px;line-height:1.6}
 #capsule-main .table-scroll th,#capsule-main .table-scroll td{padding:8px 4px;white-space:normal;overflow-wrap:anywhere;text-align:left;vertical-align:top}
 #capsule-main .table-scroll thead th:nth-child(1){width:21%}
 #capsule-main .table-scroll thead th:nth-child(2){width:27%}
 #capsule-main .table-scroll thead th:nth-child(3){width:21%}
 #capsule-main .table-scroll thead th:nth-child(4){width:31%}
 #capsule-main .table-scroll caption{font-size:16px;line-height:1.6;text-align:left;padding:0 0 10px}
 #capsule-main #features.content-panel{padding-left:12px;padding-right:12px}
}

#capsule-main .recommend-purchase{max-width:100%;margin:24px auto 32px;font-size:16px;line-height:1.75}#capsule-main .recommend-purchase h3{font-size:19px;line-height:1.75}#capsule-main .recommend-purchase .product-image{width:100%;height:190px;object-fit:contain}@media(max-width:640px){#capsule-main .recommend-purchase .product-image{height:230px}}

/* 店長おすすめ：PCは画像と購入欄を横並び */
@media(min-width:641px){
 #capsule-main .recommend-purchase .product-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
 #capsule-main .recommend-purchase .product-image{width:100%;height:100%;min-height:330px;object-fit:contain;border-radius:17px 0 0 17px}
 #capsule-main .recommend-purchase .product-body{padding:38px;min-width:0}
}
@media(max-width:640px){
 #capsule-main .recommend-purchase{max-width:380px}
 #capsule-main .recommend-purchase .product-card{display:flex;flex-direction:column}
}

#capsule-main .product-grid{display:grid;gap:24px}#capsule-main .product-card{min-width:0}#capsule-main .content-panel img{float:none;max-width:100%;height:auto}#capsule-main .feature-photo{display:block;max-height:250px;margin:0 auto 24px}#capsule-main .product-image{width:100%;height:230px;object-fit:contain}#capsule-main .content-panel font{font-size:inherit}#capsule-main .content-panel h2{margin-top:28px}#capsule-main .content-panel h2:first-child{margin-top:0}@media(max-width:640px){#capsule-main .product-image{height:240px}.liquid-hero{padding:24px 18px}}

#capsule-main .step-box{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;background:#fff;border:1px solid #deded3;border-radius:16px;padding:28px}
#capsule-main .step-photo img{display:block;width:100%;height:300px;object-fit:contain}
#capsule-main .step-controls h3{font-size:20px;margin:0 0 12px;color:#294b38}
#capsule-main .step-options{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
#capsule-main .step-choice{flex:1 1 145px;border:2px solid #d5dacd;border-radius:8px;padding:14px 10px;background:#fff;color:#333;font:inherit;line-height:1.5;cursor:pointer;position:relative}
#capsule-main .step-choice.is-selected{background:#f0f6e9;border-color:#688c58;color:#294b38;font-weight:bold}
#capsule-main .step-choice small{display:block;background:#ef8629;color:#fff;margin-top:6px;border-radius:4px;padding:3px}
#capsule-main .step-result{background:#faf8f1;border-radius:10px;padding:22px}
#capsule-main .step-result-summary>span,#capsule-main .step-result-summary>strong{display:block}
#capsule-main .step-result-heading{font-weight:bold;margin-bottom:10px}
#capsule-main .step-result-summary>strong{font-size:21px}
#capsule-main .step-price{font-size:30px;font-weight:bold;margin:12px 0}
#capsule-main .step-price small{font-size:14px;font-weight:normal}
#capsule-main .step-regular-original{display:block;font-size:17px;color:#666;font-weight:normal}
#capsule-main .step-regular-price{color:#c53927}
#capsule-main .step-order button{display:block;width:100%;background:#e47722;border:0;border-radius:8px;color:#fff;font-size:22px;font-weight:bold;padding:18px 12px;cursor:pointer}
#capsule-main .step-order button:hover{background:#cc6419}
#capsule-main .step-line-note,#capsule-main .step-caution{font-size:14px;line-height:1.8}
#capsule-main .step-line-note a{color:#286344}
@media(max-width:767px){#capsule-main .step-box{grid-template-columns:1fr;padding:18px;gap:18px}#capsule-main .step-photo img{height:220px}#capsule-main .step-choice{flex-basis:125px;font-size:15px}#capsule-main .step-result{padding:16px}#capsule-main .step-order button{font-size:20px}}

#capsule-main #special-purchase .step-purchase{margin-top:24px}#capsule-main #special-purchase .step-box{background:#fff;border:1px solid #dce4dc;border-radius:18px;padding:26px}#capsule-main #special-purchase .step-box h3{font-size:19px;margin:10px 0 12px}#capsule-main #special-purchase .step-box h3:not(:first-child){margin-top:26px}#capsule-main #special-purchase .step-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}#capsule-main #special-purchase .step-choice{font:inherit;background:#fff;color:#26322b;border:2px solid #dce4dc;border-radius:10px;padding:14px 10px;cursor:pointer;font-weight:800;min-height:56px}#capsule-main #special-purchase .step-choice.is-selected{border-color:#315c3e;background:#edf5ec;box-shadow:inset 0 0 0 1px #315c3e}#capsule-main #special-purchase .step-choice small{display:block;color:#b45c16;font-weight:800}#capsule-main #special-purchase .step-caution{font-size:14px;color:#4c5a50;margin:12px 0}#capsule-main #special-purchase .step-result{display:grid;grid-template-columns:minmax(160px,300px) 1fr;align-items:center;gap:24px;margin-top:24px;padding:24px;border-radius:14px;background:#f6f8f5}#capsule-main #special-purchase .step-result img{display:block;width:100%;max-height:270px;object-fit:contain}#capsule-main #special-purchase .step-result p{margin:6px 0}#capsule-main #special-purchase .step-price{font-size:32px;font-weight:900;color:#315c3e}#capsule-main #special-purchase .step-price small{font-size:13px;font-weight:600;color:#59645d}#capsule-main #special-purchase .step-order button{width:100%;background:#315c3e;color:#fff;border:0;border-radius:10px;padding:16px;cursor:pointer;font-size:18px;font-weight:800}#capsule-main #special-purchase .step-line{width:100%;margin-top:12px;border:0;border-radius:10px;background:#06c755;color:#fff;font-size:15px;font-weight:800;padding:13px;cursor:pointer}#capsule-main #special-purchase .step-line-note{font-size:12px;color:#59645d}@media(max-width:640px){#capsule-main #special-purchase .step-box{padding:16px}#capsule-main #special-purchase .step-options{grid-template-columns:repeat(2,minmax(0,1fr))}#capsule-main #special-purchase .step-choice{font-size:14px}#capsule-main #special-purchase .step-result{grid-template-columns:1fr;padding:16px;gap:8px}#capsule-main #special-purchase .step-result img{max-height:210px}#capsule-main #special-purchase .step-price{font-size:28px}}#capsule-main #special-purchase .step-purchase{margin-top:10px}#capsule-main #special-purchase .step-box{padding:18px}#capsule-main #special-purchase .step-box h3:not(:first-child){margin-top:16px}#capsule-main #special-purchase .step-choice.is-selected{background:#315c3e;color:#fff;border-color:#315c3e;box-shadow:0 0 0 2px #b7d4bd}#capsule-main #special-purchase .step-choice.is-selected small{color:#fff}#capsule-main #special-purchase .step-line-choice{margin-top:10px}#capsule-main #special-purchase .step-line-choice .step-line{margin:0;background:#06c755;color:#fff;border-color:#06c755}#capsule-main #special-purchase .step-result{margin-top:14px;padding:16px}#capsule-main #special-purchase .step-result img{max-height:240px}@media(max-width:640px){#capsule-main #special-purchase .step-result img{max-height:185px}}#capsule-main #special-purchase .step-purchase{margin-top:8px !important;}#capsule-main #special-purchase .step-box{display:grid;grid-template-columns:minmax(190px,29%) minmax(0,1fr);gap:20px;align-items:start;padding:20px !important;}#capsule-main #special-purchase .step-photo{position:sticky;top:55px;display:flex;justify-content:center;align-items:center;background:#f8faf7;border-radius:12px;min-height:270px;padding:14px;}#capsule-main #special-purchase .step-photo img{display:block;width:100%;max-width:270px;max-height:300px;height:auto;object-fit:contain;}#capsule-main #special-purchase .step-controls{min-width:0;}#capsule-main #special-purchase .step-box h3{font-size:19px !important;margin:0 0 9px !important;}#capsule-main #special-purchase .step-box h3:not(:first-child){margin-top:17px !important;}#capsule-main #special-purchase .step-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;}#capsule-main #special-purchase .step-choice{font-size:17px !important;min-height:70px !important;padding:13px 10px !important;border:3px solid #9daf9e !important;background:#fff;color:#1e3e2a;font-weight:900 !important;border-radius:12px;box-shadow:0 2px 5px rgba(0,0,0,.08);}#capsule-main #special-purchase .step-choice:hover{border-color:#315c3e !important;}#capsule-main #special-purchase .step-choice.is-selected{background:#245b37 !important;color:#fff !important;border-color:#153d24 !important;box-shadow:0 0 0 3px #b9d8bf,0 3px 9px rgba(0,0,0,.15) !important;}#capsule-main #special-purchase .step-choice.is-selected::before{content:'✓ ';font-weight:900;}#capsule-main #special-purchase .step-choice.is-selected small{color:#fff !important;}#capsule-main #special-purchase .step-line-choice .step-line{background:#06c755 !important;color:#fff !important;border-color:#06c755 !important;}#capsule-main #special-purchase .step-result{display:block !important;margin-top:16px !important;padding:16px !important;}#capsule-main #special-purchase .step-result>div{width:100%;}#capsule-main #special-purchase .step-result img{display:none !important;}@media(max-width:640px){#capsule-main #special-purchase .step-box{grid-template-columns:1fr;gap:10px;padding:12px !important;}#capsule-main #special-purchase .step-photo{position:static;min-height:0;padding:8px;}#capsule-main #special-purchase .step-photo img{max-height:165px;max-width:210px;}#capsule-main #special-purchase .step-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}#capsule-main #special-purchase .step-choice{font-size:14px !important;min-height:65px !important;padding:9px 6px !important;}#capsule-main #special-purchase .step-box h3{font-size:17px !important;}}#capsule-main #special-purchase .step-result{margin-top:9px !important;padding:10px 14px !important;}#capsule-main #special-purchase .step-result-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;line-height:1.35;margin:0 0 8px;}#capsule-main #special-purchase .step-result-heading{font-size:13px;font-weight:800;color:#315c3e;}#capsule-main #special-purchase .step-result-summary strong{font-size:15px;}#capsule-main #special-purchase .step-result-course{font-size:14px;}#capsule-main #special-purchase .step-result-summary .step-price{font-size:24px;line-height:1.25;margin:0 !important;white-space:nowrap;}#capsule-main #special-purchase .step-result-summary .step-price small{font-size:12px;}#capsule-main #special-purchase .step-order{margin:0 !important;}#capsule-main #special-purchase .step-order button{padding:12px !important;}@media(max-width:640px){#capsule-main #special-purchase .step-result-summary{gap:3px 8px;}#capsule-main #special-purchase .step-result-summary .step-price{font-size:22px;}}#capsule-main #special-purchase .step-result-summary .step-price:has(.step-regular-price){display:inline-flex;align-items:baseline;flex-wrap:wrap;column-gap:10px;row-gap:2px;white-space:normal;}#capsule-main #special-purchase .step-result-summary .step-regular-original{font-size:14px;font-weight:500;color:#747474;text-decoration:line-through;white-space:nowrap;}#capsule-main #special-purchase .step-result-summary .step-regular-price{font-size:30px;font-weight:900;color:#c62020;line-height:1.2;white-space:nowrap;}@media(max-width:640px){#capsule-main #special-purchase .step-result-summary .step-regular-price{font-size:27px;}}#capsule-main #special-purchase .step-choice br{display:block;}#capsule-main #special-purchase .step-caution a{color:#1b6036;text-decoration:underline;font-weight:800;}#capsule-main #special-purchase .step-result-summary .step-result-heading{font-size:19px !important;font-weight:900;line-height:1.35;}#capsule-main #special-purchase .step-result-summary .step-once-price{font-size:30px;font-weight:900;color:#c62020;line-height:1.2;white-space:nowrap;}#capsule-main #special-purchase .step-result-summary .step-regular-price{font-size:30px !important;}#capsule-main #special-purchase .step-line-note a{font-weight:800;color:#1b6036;text-decoration:underline;}@media(max-width:640px){#capsule-main #special-purchase .step-result-summary .step-result-heading{font-size:17px !important;}#capsule-main #special-purchase .step-result-summary .step-once-price{font-size:27px;}}#capsule-main #special-purchase .step-result-summary .step-once-price{color:#315c3e;}#capsule-main #special-purchase #liquid-main .step-controls h3{font-size:18px;line-height:1.4;margin:0 0 7px}#capsule-main #special-purchase #liquid-main .step-price small{font-size:12px}#capsule-main #special-purchase #liquid-main .special-order-heading{margin-top:40px}
#capsule-main #regular{background:#f0f5ec;border-radius:16px;padding:28px}#capsule-main #regular .container{width:100%;padding:0}#capsule-main #regular .section-kicker{font-size:14px;font-weight:bold;color:#315c3e}#capsule-main #regular h2{background:transparent;border:0;padding:0}#capsule-main #regular p{line-height:1.85}#capsule-main #regular .regular-note{font-weight:bold}

/* Compact capsule introduction and consistent purchase buttons */
#capsule-main{padding-top:12px}
#capsule-main .breadcrumb{margin-bottom:10px}
#capsule-main .liquid-hero{grid-template-columns:minmax(0,1fr) 150px;padding:16px 24px;gap:18px;margin-bottom:14px}
#capsule-main .liquid-hero h1{font-size:30px;line-height:1.35;margin:4px 0}
#capsule-main .liquid-hero .eyebrow{margin:0;font-size:14px}
#capsule-main .liquid-hero>img{width:150px;height:140px!important;max-height:140px!important;object-fit:contain}
#capsule-main .section-nav{margin:12px 0 20px;gap:8px}
#capsule-main .section-nav a{padding:7px 14px}
#capsule-main #purchase .step-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
#capsule-main #purchase .step-choice{width:100%;min-width:0;flex:none}
#capsule-main #special-purchase .step-order button{display:block;width:100%;background:#e47722;border:0;border-radius:8px;color:#fff;font-size:22px;font-weight:bold;padding:18px 12px;cursor:pointer;transition:background-color .15s}
#capsule-main #special-purchase .step-order button:hover,#capsule-main #special-purchase .step-order button:focus-visible{background:#cc6419}
@media(max-width:767px){#capsule-main .liquid-hero{grid-template-columns:minmax(0,1fr) 90px;padding:14px;gap:10px}#capsule-main .liquid-hero h1{font-size:23px}#capsule-main .liquid-hero>img{width:90px;height:110px!important;max-height:110px!important}#capsule-main .liquid-hero .eyebrow{font-size:12px}#capsule-main #special-purchase .step-order button{font-size:20px}}
@media(max-width:640px){#capsule-main #purchase .step-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}


#capsule-main .liquid-hero{isolation:isolate}
#capsule-main .liquid-hero>img{mix-blend-mode:multiply;background:transparent}

#capsule-main #nutrition .nutrition-list{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,1fr);margin:16px 0}#capsule-main #nutrition .nutrition-list dt,#capsule-main #nutrition .nutrition-list dd{margin:0;padding:10px 14px;border-bottom:1px solid #dce4dc}#capsule-main #nutrition .nutrition-list dt{font-weight:bold;background:#f4f7f1}
/* WordPress 固有のテーマ干渉対策 */
#capsule-main{width:100%;max-width:1120px;margin-inline:auto;}
#capsule-main img{max-width:100%;height:auto}
@media(max-width:568px){#capsule-main{padding:12px;font-size:16px;}}


/* カプセル：選択中のボタンを濃い緑色に */
#kapuseru-wp .step-choice.is-selected,
#kapuseru-wp .step-choice[aria-pressed="true"],
.step-purchase .step-choice.is-selected {
  background: #245b37 !important;
  color: #ffffff !important;
  border: 3px solid #153d24 !important;
  box-shadow: 0 0 0 3px #b9d8bf !important;
}

/* 選択中の文字も白にする */
#kapuseru-wp .step-choice.is-selected *,
.step-purchase .step-choice.is-selected * {
  color: #ffffff !important;
}

/* 選択中にチェックマークを付ける */
#kapuseru-wp .step-choice.is-selected::before,
.step-purchase .step-choice.is-selected::before {
  content: "✓ ";
  font-weight: 900;
}

/* 未選択ボタン */
#kapuseru-wp .step-choice:not(.is-selected),
.step-purchase .step-choice:not(.is-selected) {
  background: #ffffff;
  color: #26322b;
  border: 2px solid #9daf9e;
}


/* ===== カプセルページ：リンク・LINEポップアップ・上部余白 ===== */
/* リンクは本文領域だけを対象に（購入ボタン類を除く） */
@media (hover: hover) {
  #capsule-main .content-panel a:not(.btn):hover,
  #capsule-main a.back-top:hover,
  #capsule-main .back-top a:hover,
  #capsule-main .course-link:hover,
  #capsule-main .step-line-note a:hover,
  #capsule-main .section-nav a:hover {
    color: #e87516 !important;
  }
}
#capsule-main a.back-top:focus-visible,
#capsule-main .content-panel a:focus-visible {color:#e87516 !important;}
#capsule-main a {transition:color .18s ease;}

/* Lightningのパンくずは残し、その下の空白だけ縮小 */
body:has(#capsule-main) .siteContent,
body:has(#capsule-main) .site-content,
body:has(#capsule-main) .mainSection {padding-top:0 !important;}
body:has(#capsule-main) .entry-body,
body:has(#capsule-main) .entry-content {margin-top:0 !important;padding-top:0 !important;}
#capsule-main {padding-top:4px !important;margin-top:0 !important;}
#capsule-main > :first-child {margin-top:0 !important;}
@media (max-width:568px) {#capsule-main {padding-top:4px !important;}}

/* LINE小窓：ポップアップ要素はbody直下のため#capsule-mainを付けない */
.capsule-line-modal {
  display:none !important;position:fixed !important;inset:0 !important;
  z-index:999999 !important;align-items:center;justify-content:center;
  padding:16px;box-sizing:border-box;
}
.capsule-line-modal.is-open {display:flex !important;}
.capsule-line-backdrop {position:absolute;inset:0;background:rgba(0,0,0,.58);}
.capsule-line-panel {
  position:relative;z-index:1;box-sizing:border-box;
  width:100%;max-width:440px;max-height:calc(100vh - 32px);
  overflow-y:auto;background:#fff;border-radius:12px;
  padding:24px 24px 28px;text-align:center !important;
  box-shadow:0 18px 50px rgba(0,0,0,.23);
}
.capsule-line-panel h2 {font-size:24px !important;text-align:center !important;
  background:none !important;border:0 !important;border-bottom:1px solid #eee !important;
  padding:6px 25px 12px !important;margin:0 0 14px !important;color:#203c34 !important;}
.capsule-line-panel p {font-size:16px !important;line-height:1.8 !important;text-align:center !important;margin:10px 0 !important;}
.capsule-line-panel .capsule-line-qr {display:block !important;float:none !important;
  width:260px !important;height:auto !important;max-width:100% !important;margin:22px auto !important;}
.capsule-line-panel .capsule-line-label {margin-top:12px !important;}
.capsule-line-panel a {color:#286344 !important;overflow-wrap:anywhere;}
.capsule-line-close {position:absolute !important;right:10px !important;top:6px !important;
  background:transparent !important;border:0 !important;padding:2px 8px !important;
  color:#333 !important;font-size:28px !important;cursor:pointer;z-index:2;}
body.capsule-line-open {overflow:hidden;}
@media (max-width:568px) {
  .capsule-line-panel {padding:20px 16px;}
  .capsule-line-panel .capsule-line-qr {width:230px !important;}
}

/* ========================================================
  カプセルページ 統一デザイン最終設定（900ml液体タイプ基準）
  既存の価格選択・カート・LINE・スペシャルセットCSSは維持
======================================================== */

/* Lightning本文エリアの余白（カプセルページのみ） */
body:has(#capsule-main) .siteContent,
body:has(#capsule-main) .site-content,
body:has(#capsule-main) .mainSection {
  padding-top: 0 !important;
}
body:has(#capsule-main) .entry-body,
body:has(#capsule-main) .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 画像が属する領域：余計な上下余白なし */
body #capsule-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}
body #capsule-main > section.capsule-hero-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  line-height: 0 !important;
}
body #capsule-main > .capsule-hero-image > img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
}

/* ナビ：900ml版と同じ緑文字＋白い丸角ボタン */
body #capsule-main > nav.section-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: static;
  margin: 0 0 20px !important;
  padding: 0 !important;
  background: transparent !important;
}
body #capsule-main > nav.section-nav a {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #cbdcc4;
  border-radius: 30px;
  background: #fff;
  color: #286344 !important;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
}
body #capsule-main > nav.section-nav a:hover,
body #capsule-main > nav.section-nav a:focus-visible {
  background: #edf5e9 !important;
  color: #e87516 !important;
}

/* 見出し：商品詳細・価格見出し共通 */
body #capsule-main h2 {
  font-size: 26px;
  line-height: 1.5;
  color: #294b38;
  background: #eaf1e8;
  border-left: 5px solid #688c58;
  padding: 15px 20px;
  margin: 0 0 24px;
}
/* 定期コースは元の専用ボックス内デザインを優先 */
body #capsule-main #regular h2 {
  background: transparent;
  border: 0;
  padding: 0;
}
body #capsule-main .content-panel h3 {
  font-size: 22px;
  line-height: 1.6;
}

@media (max-width: 568px) {
  body #capsule-main { padding: 0 !important; }
  body #capsule-main > nav.section-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px !important;
  }
  body #capsule-main > nav.section-nav a {
    padding: 8px 6px;
    font-size: 14px;
  }
  body #capsule-main h2 {
    font-size: 22px;
    padding: 14px;
  }
  body #capsule-main #regular h2 {padding: 0;}
  body #capsule-main .content-panel h3 {font-size: 20px;}
}

/* ==========================================
   カプセルページ
   ヒーロー画像とナビの間隔・高さ調整
   PC・スマホ共通
========================================== */

/* ヒーロー画像エリア */
body #capsule-main > .capsule-hero-image {
  width: 100% !important;
  aspect-ratio: 1500 / 425;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
}

/* 画像の上下を少しトリミング */
body #capsule-main > .capsule-hero-image > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 1500 / 425;
  object-fit: cover !important;
  object-position: center center;
  margin: 0 !important;
  padding: 0 !important;
}

/* ナビの余白 */
body #capsule-main > nav.section-nav {
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* スマホ用 */
@media (max-width: 568px) {

  body #capsule-main > .capsule-hero-image {
    aspect-ratio: 1500 / 460;
    margin-bottom: 12px !important;
    border-radius: 12px !important;
  }

  body #capsule-main > .capsule-hero-image > img {
    aspect-ratio: 1500 / 460;
  }

  body #capsule-main > nav.section-nav {
    margin: 0 0 16px !important;
  }
}
/* ==========================================
   カプセル：ヒーロー画像とナビの間隔
========================================== */

body #capsule-main > .capsule-hero-image {
  margin-bottom: 30px !important;
}

body #capsule-main > nav.section-nav {
  margin-top: 0 !important;
}

/* スマホ */
@media (max-width: 568px) {
  body #capsule-main > .capsule-hero-image {
    margin-bottom: 12px !important;
  }
}