/* sheep.jp 静的試作 共通スタイル
   値は FIX画像（1440px）からの実測・推定。確定仕様ではない。
   [実測]=画像から計測 / [推定]=目視・サンプリングからの推定 */
:root{
  --green:#209266;          /* 検索ボタン [実測サンプリング] */
  --footer:#164532;         /* フッター帯 [実測サンプリング] */
  --teal:#46808b;           /* 「もっと見る」リンク [実測サンプリング] */
  --soft:#fcfbfb;           /* 商品・ニュース背景 [実測サンプリング] */
  --ink:#111;
  --muted:#6b7a7e;          /* 販売元・補足 [推定] */
  --date:#666;              /* 日付 [推定] */
  --line:#c9c9c9;           /* 検索窓の枠 [推定] */
  --font-sans:"Noto Sans JP","Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif; /* フォント名は未確定 */
  --font-serif:"Noto Serif JP","Noto Serif CJK JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --logo-w:374px; --logo-ml:-44.5px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html{background:#fff}
body{margin:0 auto;max-width:1440px;font-family:var(--font-sans);color:var(--ink);background:#fff;line-height:1.6;font-size:16px} /* v0.6: コンテンツは最大1440px・中央。超える左右は単色白。1440px以下は既存のレスポンシブのまま */
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid #0b5d41;outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:8px;top:-60px;background:#fff;padding:8px 14px;z-index:100;border:2px solid var(--green)}
.skip:focus{top:8px}

/* ---------- header ---------- */
.site-header{position:relative;z-index:50;height:100px;background:#fff;display:flex;align-items:center;padding:0 62px 0 60px}
.brand{display:block;flex:none}
.brand img{width:var(--logo-w);max-width:none;margin-left:var(--logo-ml)} /* 透明余白ぶんを相殺。ロゴ本体は切らない */
.gnav-wrap{display:flex;align-items:center;flex:1;min-width:0}
.gnav{display:flex;gap:15px;margin-left:15px}
.gnav a{font-weight:700;font-size:18px;white-space:nowrap;padding:8px 2px}
.gnav a:hover{color:var(--green);text-decoration:underline;text-underline-offset:6px}
.sform{display:flex;align-items:center;background:#fff;border:2px solid var(--line);border-radius:6px;height:48px;padding:0 6px 0 10px}
.sform .ico{width:40px;height:40px;margin:-2px 0 -2px -6px;flex:none}
.sform input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:17px;height:100%}
.sform:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(32,146,102,.25)}
.sform button{background:var(--green);color:#fff;border:0;border-radius:4px;font-weight:700;font-size:16px;height:38px;min-width:90px}
.sform button:hover{background:#17795a}
.header-search{margin-left:auto;width:456px}
.menu-btn{display:none}

/* ---------- hero ---------- */
.hero{position:relative;container-type:inline-size;background:#fff}
.hero-img{width:100%;aspect-ratio:1440/868;object-fit:cover;object-position:top}
.hero-search{position:absolute;left:55.83cqw;top:46.54%;width:38.96cqw;min-width:300px;height:max(44px,4.24cqw);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.hero-search button{height:calc(100% - 10px);min-width:max(72px,6.25cqw)}
.hero-search input{font-size:max(15px,1.2cqw)}
.gates-head{display:none;text-align:center;padding:12px 16px 20px}
.gates-head .eyebrow{margin:0;color:var(--green);letter-spacing:.14em;font-weight:700;font-size:14px}
.gates-head h2{margin:2px 0 6px;font-family:var(--font-serif);font-size:30px;line-height:1.3}
.gates-head p{margin:0;font-size:14px;font-weight:700}

/* ---------- genre cards (画像にタイトル・矢印が焼き込み済み。説明文のみHTML) ---------- */
.gates{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0;padding:0;list-style:none}
.gate{container-type:inline-size;position:relative;display:block}
.gate-img{display:block;position:relative;aspect-ratio:357/644;overflow:hidden;background:#ddd}
.gate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:filter .3s ease}
.gate .desc{display:block;position:absolute;z-index:2;left:9.5%;top:68.3%;width:78%;margin:0;color:#fff;font-weight:500;font-size:max(13px,5cqw);line-height:1.64;text-shadow:0 0 6px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.7)}
.gate .d-sp{display:none}
@media (hover:hover){.gate:hover img{filter:brightness(1.3)}} /* v0.6: 通常時の明度の1.3倍。従来の拡大効果は置き換え（重ねない） */
/* v0.6: 最新版 maingate02 は説明文を画像に含む。HTMLの説明文を重ねると二重になるので、視覚的にだけ隠す（読み上げ・検索用に残す）。文字拡大時の退避（.is-below：画像の下に出す）では通常どおり表示 */
.gate[data-baked-desc] .desc{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;text-shadow:none}
.gate:focus-visible{outline-offset:-5px;outline-color:#fff}

/* ---------- product / news sections ---------- */
.sec{background:var(--soft);padding:33px 0 28px}
.sec.news{background:var(--soft);padding-bottom:36px}
.sec-head{display:flex;align-items:center;padding:0 100px;gap:0}
.sec-title{flex:none;overflow:hidden;max-width:100%}
.sec-title img{max-width:none}
.sec-sub{display:none;margin:4px 0 0;color:var(--teal);font-weight:700;font-size:14px}
.sec-more{margin-left:auto;color:var(--teal);font-weight:700;font-size:22px;white-space:nowrap;padding:6px 0}
.sec-more:hover{text-decoration:underline;text-underline-offset:6px}
.carousel{position:relative;margin-top:19px;container-type:inline-size}
.viewport{--pad:146px;display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px var(--pad) 10px;scroll-padding-inline:var(--pad);clip-path:inset(-14px var(--pad) -14px var(--pad))}
.viewport::-webkit-scrollbar{display:none}
.carousel .nav-btn{position:absolute;top:110px;transform:translateY(-50%);width:65px;height:65px;border-radius:50%;background:#f8f6f2;border:1.5px solid #d9d4cb;box-shadow:0 2px 8px rgba(0,0,0,.12);display:grid;place-items:center;padding:0;z-index:3}
.carousel .nav-btn.prev{left:62px}.carousel .nav-btn.next{right:62px}
.carousel .nav-btn img{width:56px;height:56px}
.nav-btn:hover{background:#fff}
.nav-btn[hidden]{display:none!important}
.news .carousel .nav-btn{top:100px}
.news .viewport{--pad:97px;gap:32px}

.pcard{flex:0 0 calc((100% - 66px)/4);min-width:200px;scroll-snap-align:start}
.pcard .ithumb{aspect-ratio:258/175}   /* TOPの画像枠は従来どおり258:175（画像は縦横比を保って中央表示＝.ithumb>img） */
.more-card{display:grid;place-items:center;text-align:center;aspect-ratio:auto;border:2px solid #d3e3dd;background:#f1f8f5;color:var(--teal);font-weight:700;font-size:20px;line-height:1.5;padding:16px;box-shadow:none}
.more-card span{display:block;font-size:34px;line-height:1;margin-top:6px}
.more-card:hover{background:#e6f3ee}

/* 試作用の仮画像（第三者画像を使わない） */
.ph{width:100%;height:100%;display:grid;place-content:center;text-align:center;background:linear-gradient(135deg,#efe8dc,#f8f3ea 55%,#ebe4d6);color:#8a7f6b;font-weight:700;letter-spacing:.08em;position:relative}
.ph b{display:block;font-size:20px;letter-spacing:.2em}
.ph small{display:block;font-size:12px;letter-spacing:.04em;margin-top:2px}
.ph::before{content:"";position:absolute;inset:10px;border:1.5px dashed rgba(138,127,107,.45)}

.ncard{flex:0 0 calc((100% - 64px)/3);min-width:260px;scroll-snap-align:start;background:#fff;display:block}
.ncard .thumb{aspect-ratio:2/1;overflow:hidden}
.ncard h3{margin:14px 6px 6px;font-size:22px;line-height:1.5;font-weight:700}
.ncard time{display:block;margin:0 6px 8px;color:var(--date);font-size:18px}
.ncard:hover h3{text-decoration:underline;text-underline-offset:5px}
.ncard.more-card{aspect-ratio:auto;min-height:100%;align-content:center}

/* 広告・アフィリエイト表記、画像出典（配置案。通常は非表示。?review=1 で確認） */
.review-only{display:none}
body.review .review-only{display:block;outline:2px dashed #c0662e;outline-offset:2px;background:#fff7ef;color:#7a3d12;font-size:13px;font-weight:700;padding:6px 10px;margin:8px 100px 0}
body.review .review-only::before{content:"【提案・要確認】 ";color:#c0662e}

/* ---------- footer ---------- */
.site-footer img.band{width:100%;height:auto}
.foot-bar{background:var(--footer);color:#fff;height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 72px 0 109px;font-weight:700;font-size:18px}
.foot-links{display:flex;gap:0;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.foot-links li+li::before{content:"|";margin:0 .55em}
.foot-links a{padding:8px 0;display:inline-block}
.foot-links a:hover{text-decoration:underline;text-underline-offset:5px}
.copy{font-weight:400;font-size:16px;letter-spacing:.04em;margin:0}

/* ================= responsive ================= */
@media (max-width:1199px){
  :root{--logo-w:193px;--logo-ml:-23px}
  .site-header{height:68px;padding:0 20px 0 20px;justify-content:space-between}
  .brand{padding:6px 0}
  .sform button{height:42px;min-height:42px}
  .sec-more{padding:11px 0}
  .menu-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:2px solid var(--line);border-radius:6px;background:#fff;font-weight:700;font-size:15px}
  .menu-btn i{position:relative;width:20px;height:2px;background:var(--ink);display:block}
  .menu-btn i::before,.menu-btn i::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink)}
  .menu-btn i::before{top:-6px}.menu-btn i::after{top:6px}
  .gnav-wrap{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;gap:12px;padding:12px 20px 20px;border-top:1px solid #e6e6e6;box-shadow:0 12px 24px rgba(0,0,0,.12)}
  .gnav-wrap.open{display:flex}
  .gnav{flex-direction:column;gap:0;margin:0;order:2}
  .gnav a{display:block;padding:14px 4px;border-bottom:1px solid #eee;font-size:17px}
  .header-search{width:100%;margin:0;order:1}
  .sec-head{padding:0 40px}
  .viewport{--pad:90px}
  .carousel .nav-btn{width:56px;height:56px}.carousel .nav-btn img{width:48px;height:48px}
  .carousel .nav-btn.prev{left:16px}.carousel .nav-btn.next{right:16px}
  .pcard{flex-basis:calc((100% - 44px)/3)}
  .news .viewport{--pad:90px;gap:24px}
  .ncard{flex-basis:calc((100% - 24px)/2)}
  .foot-bar{padding:0 40px}
  body.review .review-only{margin-inline:40px}
}
@media (max-width:1099px){
  .gates{grid-template-columns:repeat(2,1fr);gap:4px}
}
@media (max-width:1023px){
  .sec-head{flex-wrap:wrap;padding:0 40px}
  .sec-head .sec-title{width:var(--tw)}
  .sec-sub{display:block;order:3;flex-basis:100%}
  .sec-more{font-size:19px}
  .ncard h3{font-size:19px}
  /* ヒーロー: 焼き込み見出し(FOUR WORLDS〜)を切り落とし、HTML文字で再構成 */
  .hero-img{aspect-ratio:1440/715}
  .hero::after{content:"";position:absolute;left:0;right:0;top:calc(100cqw*715/1440 - 44px);height:44px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);pointer-events:none}
  .gates-head{display:block}
  .hero-search{top:calc(100cqw*715/1440*0.5 + 4cqw)}
}
@media (max-width:599px){
  .hero-search{position:static;width:auto;height:50px;margin:14px 16px 0;min-width:0}
  .hero::after{display:none}
  .hero-img{aspect-ratio:1440/715}
  .gates-head{padding-top:18px}
  .sec-head{padding:0 16px}
  .sec-more{font-size:17px}
  .gates{grid-template-columns:repeat(2,1fr);gap:20px 8px;padding:0 16px}
  /* 幅約175pxでは画像内に説明文が収まらないため、スマホのみ説明文を画像の下へ（画像のタイトル・矢印は全体表示） */
  /* スマホ(≦599px): 正式採用の短縮文を画像内に重ねる。13px/行間1.4。タイトル(~65%)と矢印(右下)を避ける位置 */
  .gate .d-pc{display:none}.gate .d-sp{display:inline}
  .gate .desc{left:7%;top:68.3%;width:86%;font-size:13px;font-weight:500;line-height:1.4;text-wrap:balance;word-break:auto-phrase;overflow-wrap:anywhere}
  /* 文字拡大などで画像内に収まらない場合のみ（JSが判定）、文字を切らずに画像の下へ退避 */
  .gates.is-below .gate .desc{position:static;width:auto;color:#2b2b2b;text-shadow:none;font-size:14px;line-height:1.6;padding:9px 2px 0}
  .gates.is-below .gate[data-baked-desc] .desc{height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal}

  .sec-head .sec-title{width:calc(var(--tw)*.66)}
  .sec-title img{width:calc(var(--iw)*.66)}
  .foot-links{gap:2px 20px}.foot-links li+li::before{content:none}
  .sec{padding:26px 0 22px}
  .carousel .nav-btn{width:48px;height:48px;top:calc(2px + (100cqw - 32px)*.44*175/258/2)}
  .carousel .nav-btn img{width:42px;height:42px}
  .carousel .nav-btn.prev{left:6px}.carousel .nav-btn.next{right:6px}
  .news .carousel .nav-btn{top:calc(2px + (100cqw - 32px)*.8/4)}
  .viewport{--pad:0px;padding-inline:16px;scroll-padding-inline:16px;gap:12px;clip-path:none}
  .pcard{flex-basis:44%;min-width:0}
  .news .viewport{gap:14px}
  .ncard{flex-basis:80%;min-width:0}
  .ncard h3{font-size:18px}.ncard time{font-size:15px}
  .more-card{font-size:16px}
  .foot-bar{height:auto;flex-direction:column;align-items:flex-start;gap:10px;padding:20px 20px 22px;font-size:15px}
  .copy{font-size:13px}
  .site-footer img.band{height:110px;object-fit:cover;object-position:60% 55%}
  body.review .review-only{margin-inline:16px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ================= 下層ページ共通（v4） ================= */
:root{--green-btn:#088f56;--band:#f8f9f4;--card-line:#e3e8e5}
.crumb{background:#fff;border-bottom:1px solid #ececec}
.crumb ol{list-style:none;margin:0 auto;padding:11px 56px;display:flex;flex-wrap:wrap;gap:2px 0;font-size:14px;font-weight:700;max-width:1440px}
.crumb li+li::before{content:">";margin:0 14px;font-weight:400;color:#555}
.crumb a:hover{text-decoration:underline;text-underline-offset:4px;color:var(--green)}
.crumb [aria-current]{color:#111}
.crumb a,.crumb span{display:inline-block;padding:6px 0}
.sample-note{margin:0 0 20px;padding:10px 14px;border:1.5px dashed #c9a26b;background:#fffaf1;color:#6b4a14;font-size:14px;font-weight:700;border-radius:6px;line-height:1.5}
.sample-note b{display:inline-block;margin-right:10px;padding:1px 8px;background:#c9a26b;color:#fff;border-radius:4px;letter-spacing:.1em;font-size:12px}
.pager{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:44px 0 0}
.pager .pg{width:64px;height:64px;border:2px solid #cfcfcf;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:24px;color:#111}
.pager a.pg:hover{border-color:var(--green-btn);color:var(--green-btn)}
.pager .pg.cur{background:var(--green-btn);border-color:var(--green-btn);color:#fff}
.pager .pg.disabled{color:#bbb;background:#fafafa}
body.review .pager-static{display:flex;outline:2px dashed #c0662e;outline-offset:6px}
.pager-static{display:none}

/* ---------- 検索結果 ---------- */
.rs-hero{height:300px;background:url(../img/resultspage/img_bg_resultstatus.png) center/cover no-repeat;display:flex;align-items:center;padding:30px 88px 0}
.rs-hero h1{margin:0;font-size:64px;font-weight:900;line-height:1.2;letter-spacing:.02em}
.rs-band{background:var(--band);padding:40px 56px 26px}
.rs-form{max-width:1328px;margin:0 auto}
.rs-kw{display:flex;gap:11px}
.rs-kw input{flex:1;min-width:0;height:75px;border:2px solid #ccc;border-radius:8px;background:#fff;padding:0 26px;font:inherit;font-size:28px;font-weight:700;box-shadow:inset 0 1px 3px rgba(0,0,0,.08)}
.rs-kw input:focus{outline:3px solid #0b5d41;outline-offset:2px;border-color:var(--green-btn)}
.rs-kw button{flex:none;width:241px;height:75px;border:0;border-radius:8px;background:var(--green-btn);color:#fff;font-size:28px;font-weight:700}
.rs-kw button:hover{background:#06774a}
.rs-selects{display:flex;gap:24px;margin-top:28px;flex-wrap:wrap}
.sel{position:relative;display:block;width:420px;max-width:100%;height:82px;background:#fff;border:2px solid #dfe4e1;border-radius:8px}
.sel .cap{position:absolute;left:26px;top:9px;font-size:15px;color:#888;font-weight:500;pointer-events:none}
.sel select,.rs-sort select{appearance:none;-webkit-appearance:none;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 22px center;font:inherit;color:#111;cursor:pointer}
.sel select{position:absolute;inset:0;width:100%;height:100%;padding:28px 54px 0 26px;font-size:22px;font-weight:700}
.sel:focus-within,.rs-sort select:focus{outline:3px solid #0b5d41;outline-offset:2px}
.rs-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:26px auto 0;max-width:1328px;font-size:18px;font-weight:700;color:#444}
.rs-chips .chip{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 22px;background:#e0f2e8;border-radius:30px;color:#216a54}
.rs-chips .x{display:inline-grid;place-items:center;min-width:32px;height:32px;font-size:24px;line-height:1;color:#176a8a}
.clear{color:#176a8a;text-decoration:underline;text-underline-offset:4px;font-weight:700;padding:8px 4px}
.rs-assume{margin:14px auto 0;max-width:1328px}
body.review .rs-assume{margin:14px auto 0}
.rs-body{padding:26px 56px 54px;background:#fff}
.rs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1328px;margin:0 auto 20px}
.rs-head h2{margin:0;font-size:26px}
.rs-head h2 b{font-size:30px;margin:0 2px}
.rs-sort{display:flex;align-items:center;gap:14px;font-weight:700;color:#555;font-size:18px}
.rs-sort select{width:225px;height:56px;border:2px solid #dfe4e1;border-radius:8px;padding:0 48px 0 20px;font-size:19px;font-weight:700;background-color:#fff}
.rs-layout{max-width:1328px;margin:0 auto;display:block}
.rs-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.rs-layout.map-open{display:grid;grid-template-columns:minmax(0,784fr) minmax(0,521fr);gap:24px;align-items:start}
.rs-layout.map-open .rs-list{grid-template-columns:1fr}
.rs-card{background:#fff;border:1.5px solid var(--card-line);border-radius:8px;padding:20px 24px 22px;box-shadow:0 1px 3px rgba(0,0,0,.04);scroll-margin-top:16px}
.rs-card.is-selected{border:3px solid #67b697;background:linear-gradient(135deg,#eaf7ef,#f3faf6);padding:18.5px 22.5px 20.5px}
.rs-top{display:flex;align-items:center;gap:16px}
.rs-no{flex:none;width:48px;height:48px;border-radius:50%;background:#78838c;color:#fff;font-weight:700;font-size:22px;display:grid;place-items:center}
.rs-card.is-selected .rs-no{background:var(--green-btn)}
.rs-name{margin:0;font-size:clamp(21px,2.3vw,32px);line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.rs-tags{list-style:none;margin:12px 0 0 64px;padding:0;display:flex;flex-wrap:wrap;gap:8px 12px}
.tag{padding:3px 18px;border-radius:8px;font-size:17px;font-weight:700;line-height:1.5;color:#1c3a2b;background:#e6e9f5}
.tag.g-wool{background:#a9e5bc}.tag.g-farm{background:#fecfae}.tag.g-meat{background:#f6c6cf}.tag.g-other{background:#e1e1e1}
.rs-loc{display:flex;align-items:flex-start;gap:12px;margin:12px 0 0 64px;font-size:18px;color:#444;font-weight:500}
.rs-loc img{width:26px;height:26px;flex:none;margin-top:2px}
.rs-desc{margin:12px 0 0 64px;font-size:18px;line-height:1.7;color:#333}
.rs-act{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:14px;margin-top:18px}
.btn-map,.btn-site{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:64px;padding:0 24px;border-radius:6px;font-weight:700;font-size:20px;min-width:190px}
.btn-map{background:#fff;border:2px solid #d3d3d3;color:#555}
.btn-map:hover{border-color:var(--green-btn);color:var(--green-btn)}
.btn-map img{width:28px;height:28px}
.btn-site{background:var(--green-btn);color:#fff;border:2px solid var(--green-btn)}
.btn-site:hover{background:#06774a}
.btn-site img{width:26px;height:26px}
.rs-id{margin-top:10px;padding:2px 8px;font-size:12px}
.rs-empty{grid-column:1/-1;list-style:none;padding:32px 8px;font-size:18px;font-weight:700}
.rs-main{min-width:0}
.rs-map{position:sticky;top:calc(var(--sjp-hdr,0px) + 16px);z-index:2;background:#dff2ea;border-radius:10px;padding:22px 24px 20px}
.rs-map-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rs-map-ttl{min-width:0}
.rs-map-head h3{margin:0;font-size:28px;line-height:1.3;overflow-wrap:anywhere}
.rs-map-head h3:focus{outline:none}
.rs-map-coord{margin:4px 0 0;font-size:14px;line-height:1.5;color:#44594f}
.rs-map-close{flex:none;height:54px;padding:0 22px;border:2px solid #d3d3d3;border-radius:6px;background:#fff;font-weight:700;font-size:18px;color:#444}
.rs-map-close:hover{border-color:var(--green-btn)}
/* 地図の表示領域。Leaflet のペインは z-index が大きいので isolation で外へ漏らさない */
.rs-map-view{position:relative;isolation:isolate;z-index:0;margin-top:18px;height:min(66vh,620px);min-height:300px;border-radius:6px;overflow:hidden;background:#e8efe6}
.rs-map-view .leaflet-container{font-family:inherit}
.rs-map-view .leaflet-control-attribution{font-size:12px;line-height:1.5;max-width:calc(100% - 20px)}
.rs-map-view .sjp-pin{image-rendering:auto;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
/* 状態表示（キー未設定・読込中・失敗・対象なし）。地図の上に重ねる */
.rs-map-note{position:absolute;z-index:1000;left:12px;top:12px;right:12px;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;background:rgba(255,255,255,.95);border-radius:6px;font-size:14px;line-height:1.6;color:#444}
.rs-map-note[hidden]{display:none}
.rs-map-note b{color:#7a3d12}
.rs-map-note[data-state="loading"] b{color:#444}
.rs-map-retry{height:40px;padding:0 16px;border:2px solid var(--green-btn);border-radius:6px;background:#fff;color:var(--green-btn);font-weight:700;font-size:15px;cursor:pointer}
.rs-map[data-map-state="nokey"] .rs-map-view,.rs-map[data-map-state="nolib"] .rs-map-view,.rs-map[data-map-state="empty"] .rs-map-view{height:auto;min-height:0}
.rs-map[data-map-state="nokey"] .rs-map-note,.rs-map[data-map-state="nolib"] .rs-map-note,.rs-map[data-map-state="empty"] .rs-map-note{position:static}
.rs-ext[hidden]{display:none}
.rs-ext{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;height:66px;border:2px solid var(--green-btn);border-radius:6px;background:#fff;color:var(--green-btn);font-weight:700;font-size:20px}
.rs-map .review-only{margin:10px 0 0}
body.review .rs-map .review-only{margin:10px 0 0}

/* ---------- 商品一覧 ---------- */
.item-hero{position:relative;container-type:inline-size;background:#fff}
.item-hero h1{margin:0;font-size:0;line-height:0}
.item-hero h1 img{width:100%;height:auto;aspect-ratio:1440/303}
.item-lead{margin:0;position:absolute;left:9.3cqw;top:50%;display:flex;flex-direction:column;font-size:max(15px,1.53cqw);line-height:1.9;font-weight:500;color:#111}
.item-body{background:var(--band);padding:34px 56px 70px}
.item-body>*{max-width:1328px;margin-left:auto;margin-right:auto}
.item-head{display:flex;align-items:center;margin-bottom:22px}
.item-head h2{margin:0;font-size:22px}
.item-head h2 b{font-size:32px;margin:0 3px}
.item-head small{font-size:14px;font-weight:500;color:#7a5a1e;margin-left:10px}
.item-grid{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:30px 20px}
/* SP-16：商品カード（TOPのカルーセル .pcard.icard と商品一覧 .icard で共通。PO添付画像2が基準：画像＋提供元バッジ／税込価格／商品名／下部の「販売ページを見る」）。同じ行（カルーセルは全体）のカードは高さがそろい、ボタンは常にカード下端 */
.icard{display:flex;flex-direction:column;position:relative;background:#fff;border-radius:6px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:0 0 18px}
.ithumb{position:relative;aspect-ratio:316/233;border-radius:6px 6px 0 0;overflow:visible;background:#fff;flex:none}
.ithumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:6px 6px 0 0} /* 商品画像：縦横比を保ったまま枠の中央に表示（切り抜き・引き伸ばしなし） */
.ithumb .ph{border-radius:6px 6px 0 0;overflow:hidden}
.badge{position:absolute;left:14px;bottom:-16px;padding:4px 14px;border-radius:8px;font-size:15px;font-weight:700;line-height:1.5;box-shadow:0 1px 4px rgba(0,0,0,.12);color:#3a2a1a}
.badge-rakuten{background:#f8bfbb;color:#8a1f1f}
.badge-yahoo{background:#fbe6a2;color:#5a4410}
.ibody{padding:28px 18px 0;flex:1;display:flex;flex-direction:column;min-width:0}
.price{margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap;height:38px;overflow:hidden;white-space:nowrap}   /* 価格あり／なし／仮表示でカードの高さが変わらないよう高さを固定（折り返さない） */
.price b{font-size:25px;font-weight:700;line-height:1.5}
.price small{font-size:14px;color:#666}
.price .dummy{margin-left:auto;font-size:12px;font-weight:700;color:#fff;background:#c9a26b;border-radius:4px;padding:0 6px}
.iname{margin:6px 0 16px;font-size:18px;line-height:1.5;color:#444;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere}   /* 商品名は最大6行（PO添付画像2のPC表示＝6行で全文が収まる例に合わせる）。超える分は「…」で省略。高さは内容どおり（同じ行・同じカルーセルのカードは、行の高さにそろえて伸び、ボタンは常にカード下端） */
.ibtn{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:auto;height:50px;flex:none;border:2px solid #3b9a77;border-radius:4px;color:#1f7a58;font-weight:700;font-size:17px;background:#fff}
.icard:not([data-sample]) .ibtn::after{content:"";position:absolute;inset:0}   /* カード全体を購入リンクのクリック範囲にする（TOPのカードが従来どおり全体で押せる）。リンクは「販売ページを見る」の1つだけ */
.ibtn:hover{background:#eaf6f0}
.ibtn img{width:22px;height:22px}
.item-body .review-only{margin-top:16px;margin-inline:auto}
body.review .item-body .review-only{margin:16px auto 0}

/* ---------- ニュース ---------- */
.news-hero{height:214px;background:url(../img/news/img_bg_news.png) center/cover no-repeat;display:flex;align-items:center;padding:0 136px}
.news-hero h1{margin:0;font-family:var(--font-serif);font-size:56px;font-weight:700;line-height:1.2;letter-spacing:.04em}
.news-hero p{margin:10px 0 0;font-size:20px;font-weight:500}
.nl-body-wrap{background:#fff;padding:34px 72px 74px}
.nl-body-wrap>*{max-width:1296px;margin-left:auto;margin-right:auto}
.nl-grid{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 33px}
.nl-card{display:block;background:#fdfdfd;border-radius:6px;box-shadow:0 1px 8px rgba(0,0,0,.07);overflow:hidden;height:100%}
.nl-thumb{aspect-ratio:2/1}
.nl-body{padding:12px 16px 16px}
.nl-body time{display:block;font-size:14px;color:#666}
.nl-row{display:flex;align-items:flex-end;gap:12px;margin-top:6px}
.nl-row>div{flex:1;min-width:0}
.nl-row h3{margin:0;font-size:21px;line-height:1.45;font-weight:700}
.nl-row p{margin:6px 0 0;font-size:15px;line-height:1.7;color:#777;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;height:5.1em}   /* SP-15：本文は冒頭3行まで（超える分は「…」）。高さを固定してカードの高さを揃える */
.nl-go{flex:none;width:48px;height:48px;border-radius:50%;background:#fff;border:1.5px solid #d6e5dd;box-shadow:0 1px 4px rgba(0,0,0,.1);display:grid;place-items:center}
.nl-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.nl-card:hover .nl-go{background:#eaf6f0}
.art{background:#fff;padding:30px 24px 10px;max-width:948px;margin:0 auto;box-sizing:content-box}
.art>*{max-width:948px}
.art-date{display:block;font-size:14px;color:#666}
.art-title{margin:6px 0 16px;font-family:var(--font-serif);font-size:32px;line-height:1.5;font-weight:700}
.art-lead{margin:0 0 22px;color:#555;font-size:16px;line-height:1.8}
.art-fig{margin:0 0 30px}
.art-img{aspect-ratio:2/1;overflow:hidden}
.art-h{margin:34px 0 14px;padding-left:22px;border-left:5px solid #14864f;font-family:var(--font-serif);font-size:24px;line-height:1.5}
.art p{margin:0 0 14px;color:#444;font-size:16px;line-height:1.95}
.art p a{color:#1b8a5d;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.rel{max-width:1220px;margin:24px auto 0;padding:34px 24px 80px;border-top:1px solid #e3e3e3;box-sizing:content-box}
.rel h2{margin:0 0 18px;font-family:var(--font-serif);font-size:26px}
.rel-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.rel-card{display:block;border:1px solid #e3e6e4;border-radius:6px;overflow:hidden;background:#fff;height:100%}
.rel-thumb{aspect-ratio:2/1}
.rel-body{padding:10px 20px 16px}
.rel-body time{display:block;font-size:14px;color:#666}
.rel-body h3{margin:6px 0 0;font-family:var(--font-serif);font-size:17px;line-height:1.5}
.rel-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.art .review-only,.rel .review-only{margin:12px 0 0}
body.review .art .review-only{margin:12px 0 0}

/* ---------- 下層ページ レスポンシブ ---------- */
@media (max-width:1199px){
  .crumb ol{padding-inline:40px}
  .rs-hero{padding-inline:40px}
  .rs-band,.rs-body{padding-inline:40px}
  .item-body{padding-inline:40px}
  .news-hero{padding-inline:40px}
  .nl-body-wrap{padding-inline:40px}
}
@media (max-width:1099px){
  .rs-hero{height:200px}.rs-hero h1{font-size:46px}
  .rs-kw button{width:150px}
  .sel{width:calc(50% - 12px);min-width:240px}
  .rs-list{grid-template-columns:1fr}
  .rs-layout.map-open{display:block}
  /* 地図は下部シート（試作） */
  .rs-map{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:70;border-radius:14px 14px 0 0;max-height:86vh;overflow:auto;box-shadow:0 -8px 30px rgba(0,0,0,.25)}
  .rs-layout.map-open .rs-main{padding-bottom:min(80vh,720px)}
  .rs-map-view{height:min(44vh,420px);min-height:240px}
  /* 商品一覧／ニュース一覧: 見出し画像下にリード文 */
  .item-lead{position:static;padding:16px 40px 18px;font-size:16px;line-height:1.8;background:#fff}
  .nl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}
  .news-hero{height:170px}.news-hero h1{font-size:44px}.news-hero p{font-size:17px}
  .rel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .rel-body{padding:8px 12px 12px}.rel-body h3{font-size:15px}
}
@media (max-width:599px){
  .crumb ol{padding:6px 16px;font-size:13px}
  .crumb li+li::before{margin:0 8px}
  .rs-hero{height:130px;padding:18px 16px 0}.rs-hero h1{font-size:36px}
  .rs-band{padding:22px 16px 18px}.rs-body{padding:20px 16px 40px}
  .rs-kw{flex-direction:column;gap:10px}
  .rs-kw input{height:58px;font-size:19px;padding:0 16px}
  .rs-kw button{width:100%;height:56px;font-size:20px}
  .rs-selects{gap:10px;margin-top:14px}
  .sel{width:100%;height:68px}
  .sel .cap{left:16px;top:7px;font-size:13px}
  .sel select{padding:24px 44px 0 16px;font-size:18px;background-position:right 16px center}
  .rs-chips{font-size:15px;margin-top:18px}
  .rs-head{flex-wrap:wrap}.rs-head h2{font-size:20px}.rs-head h2 b{font-size:24px}
  .rs-sort{font-size:15px;gap:8px}.rs-sort select{width:160px;height:48px;font-size:16px;padding-left:12px;background-position:right 12px center}
  .rs-card{padding:16px 14px 18px}.rs-card.is-selected{padding:14.5px 12.5px 16.5px}
  .rs-top{gap:10px}.rs-no{width:38px;height:38px;font-size:18px}
  .rs-name{font-size:20px}
  .rs-tags,.rs-loc,.rs-desc{margin-left:0}
  .tag{font-size:14px;padding:2px 12px}
  .rs-loc{font-size:15px}.rs-desc{font-size:15px}
  .rs-act{flex-direction:column;gap:10px}
  .btn-map,.btn-site{width:100%;height:56px;font-size:18px}
  .pager{gap:8px;margin-top:30px}.pager .pg{width:46px;height:46px;font-size:18px}
  .rs-map{padding:16px 14px 18px}.rs-map-head h3{font-size:20px}.rs-map-close{height:48px;padding:0 14px;font-size:16px}
  .rs-map-note{right:12px;font-size:12px;top:8px}
  .rs-map .zoom{bottom:50px}
  .rs-ext{height:56px;font-size:18px}
  /* 商品一覧: 見出し画像は左寄せで切り出し、タイトルを読める大きさに保つ（焼き込み文字の二重表示なし） */
  .item-hero h1 img{width:100%;height:min(210px,54vw);aspect-ratio:auto;object-fit:cover;object-position:11.4% 50%}
  .item-lead{padding:14px 16px 16px;font-size:15px}
  .item-body{padding:22px 16px 48px}
  .item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 10px}
  .badge{left:8px;bottom:-14px;font-size:12px;padding:3px 9px}
  .ibody{padding:24px 10px 0}
  .price b{font-size:20px}.price small{font-size:12px}
  .iname{font-size:14px;-webkit-line-clamp:4;line-clamp:4}   /* スマホ（幅が狭い）は最大4行 */
  .ibtn{font-size:13px;height:44px;gap:4px;padding:0 4px}.ibtn img{width:16px;height:16px}
  .news-hero{height:auto;padding:30px 16px 28px}.news-hero h1{font-size:36px}.news-hero p{font-size:15px}
  .nl-body-wrap{padding:22px 16px 48px}
  .nl-grid{grid-template-columns:1fr}
  .nl-row h3{font-size:19px}
  .art{padding:22px 16px 6px}
  .art-title{font-size:24px}.art-h{font-size:20px;padding-left:14px}
  .art-lead,.art p{font-size:15px}
  .rel{padding:26px 16px 52px}
  .rel-grid{grid-template-columns:1fr}
}
@media (max-width:599px){.crumb a,.crumb span{padding:10px 0}}

/* v5: 商品一覧 並び順・Yahoo!バッジ(オレンジ) */
.badge-yahoo{background:#fbcf9c;color:#7a3d00}
.item-head{justify-content:space-between;gap:12px;flex-wrap:wrap}
.item-sort{display:flex;align-items:center;gap:12px;font-weight:700;color:#555;font-size:17px}
.item-sort select{appearance:none;-webkit-appearance:none;width:190px;height:52px;border:2px solid #dfe4e1;border-radius:8px;padding:0 44px 0 18px;font:inherit;font-size:18px;font-weight:700;color:#111;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center}
.item-grid>li[hidden]{display:none}
.item-body .pager{max-width:none}
@media (max-width:599px){.item-sort select{width:150px;height:48px;font-size:16px}.item-sort{font-size:15px;gap:8px}}

/* --- WP候補版の追加（広告表示・空表示） --- */
.ad-label{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid #6b7a73;border-radius:4px;font-size:12px;line-height:1.5;color:#3d4a44;background:#fff;vertical-align:middle}
.ad-note{margin:16px 0 0;font-size:13px;color:#3d4a44}
.art-content{display:contents}
.art-content>p:first-child{margin:0 0 22px;color:#555;font-size:16px;line-height:1.8}
.art-content h3{margin:34px 0 14px;padding-left:22px;border-left:5px solid #14864f;font-family:var(--font-serif);font-size:24px;line-height:1.5}
.art-content figure{margin:0 0 30px}.art-content img{max-width:100%;height:auto}
@media (max-width:599px){.art-content h3{font-size:20px;padding-left:14px}.art-content>p:first-child{font-size:15px}}

.ph.ph-none small{color:#7a7a7a;font-size:13px}

/* ---------- v0.7: 固定ページ共通レイアウト（運営者情報・プライバシーポリシー・お問い合わせ） ---------- */
.page-wrap{background:#fff;padding:30px 24px 70px}
.page-body{max-width:948px;margin:0 auto}
.page-content>*:first-child{margin-top:0}
.page-content h2,.cf-intro h2,.cf-result h2{margin:40px 0 14px;padding-left:22px;border-left:5px solid #14864f;font-family:var(--font-serif);font-size:24px;line-height:1.5}
.page-content h3{margin:26px 0 8px;font-size:19px;line-height:1.5;font-weight:700}
.page-content p,.page-content li,.page-content dd,.page-content dt,.cf-intro p,.cf-intro li,.cf-result p{color:#333;font-size:16px;line-height:1.95}
.page-content p,.cf-intro p,.cf-result p{margin:0 0 14px}
.page-content ul,.page-content ol,.cf-points{margin:0 0 16px;padding-left:1.5em}
.page-content li,.cf-points li{margin:0 0 6px}
.page-content a,.cf-intro a,.cf-result a:not(.cf-btn),.cf-privacy a{color:#0b6b46;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.page-content a:hover,.cf-privacy a:hover{color:#06774a}
.page-dl{margin:0 0 20px;border-top:1px solid var(--card-line)}
.page-dl>div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:0 20px;padding:14px 4px;border-bottom:1px solid var(--card-line)}
.page-dl dt{font-weight:700}
.page-dl dd{margin:0;overflow-wrap:anywhere}
.page-note{padding:12px 16px;background:var(--band);border-radius:6px;font-size:15px}
/* お問い合わせフォーム */
.cf-intro h2{margin-top:0}
.cf-summary{margin:0 0 26px;padding:16px 20px;border:2px solid #b3261e;border-radius:8px;background:#fff6f5;color:#6e1510}
.cf-summary p{margin:0 0 8px;font-size:16px;line-height:1.7;color:#6e1510}
.cf-summary ul{margin:0;padding-left:1.3em}
.cf-summary li{font-size:15px;line-height:1.8;color:#6e1510}
.cf-summary a{color:#6e1510;text-decoration:underline;text-underline-offset:3px}
.cf-summary:focus{outline:3px solid #0b5d41;outline-offset:3px}
.cf{margin:26px 0 0}
.cf-row{margin:0 0 26px;padding:0;border:0;min-width:0}
.cf-row>label,.cf-row>legend{display:block;padding:0;margin:0 0 4px;font-size:17px;font-weight:700;line-height:1.6}
.cf-req,.cf-opt-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:4px;font-size:12px;font-weight:700;vertical-align:2px;line-height:1.6}
.cf-req{background:#06774a;color:#fff}.cf-opt-tag{background:#e8ece9;color:#334}
.cf-help{margin:0 0 8px;font-size:14px;line-height:1.7;color:#555}
.cf-count{margin-left:.5em;color:#555}
.cf-count-over{color:#b3261e;font-weight:700}
.cf-err{margin:0 0 8px;font-size:15px;line-height:1.6;color:#b3261e;font-weight:700}
.cf-err b{margin-right:4px}
.cf input[type=text],.cf input[type=email],.cf input[type=url],.cf textarea{display:block;width:100%;min-height:52px;border:2px solid #b9c2bd;border-radius:8px;background:#fff;padding:10px 14px;font:inherit;font-size:17px;color:var(--ink);box-shadow:inset 0 1px 3px rgba(0,0,0,.06)}
.cf textarea{min-height:200px;line-height:1.7;resize:vertical}
.cf input[aria-invalid=true],.cf textarea[aria-invalid=true]{border-color:#b3261e;background:#fffafa}
.cf input[type=text]:focus,.cf input[type=email]:focus,.cf input[type=url]:focus,.cf textarea:focus{outline:3px solid #0b5d41;outline-offset:2px;border-color:var(--green-btn)}
.cf-type[aria-invalid=true]{outline:2px solid #b3261e;outline-offset:6px;border-radius:6px}
.cf-row>label.cf-radio{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 12px;margin:0 0 8px;font-weight:400;line-height:1.5;border:2px solid #dfe4e1;border-radius:8px;background:#fff;cursor:pointer;font-size:17px}
.cf-row>label.cf-radio:has(input:checked){border-color:#67b697;background:#f3faf6}
.cf-row>label.cf-radio:focus-within{outline:3px solid #0b5d41;outline-offset:2px}
.cf-row>label.cf-radio input{width:22px;height:22px;margin:0;flex:none;accent-color:#088f56}
.cf-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.cf-privacy{margin:6px 0 20px;padding:14px 16px;background:var(--band);border-radius:8px}
.cf-privacy p{margin:0 0 8px;font-size:15px;line-height:1.8;color:#333}.cf-privacy p:last-child{margin:0}
.cf-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.cf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;min-width:200px;padding:0 28px;border:2px solid #06774a;border-radius:8px;background:#06774a;color:#fff;font:inherit;font-size:19px;font-weight:700;text-decoration:none;cursor:pointer}
.cf-btn:hover{background:#055c3a;border-color:#055c3a}
.cf-btn[aria-disabled=true]{opacity:.7;cursor:progress}
.cf-btn-sub{background:#fff;color:#0b6b46}
.cf-btn-sub:hover{background:#eaf6f0;border-color:#055c3a;color:#055c3a}
.cf-result{padding:8px 0 0}.cf-result h2{margin-top:0}
.cf-note{font-size:14px!important;color:#555!important}
@media (max-width:1199px){.page-wrap{padding:26px 40px 64px}}
@media (max-width:599px){
  .page-wrap{padding:20px 16px 52px}
  .page-hero h1{font-size:28px;letter-spacing:.02em;word-break:keep-all;overflow-wrap:anywhere}
  .page-content h2,.cf-intro h2,.cf-result h2{font-size:20px;padding-left:14px;margin-top:30px}
  .page-content p,.page-content li,.page-content dd,.page-content dt,.cf-intro p,.cf-intro li,.cf-result p{font-size:15px}
  .page-dl>div{grid-template-columns:1fr;gap:2px}
  .cf-row>label,.cf-row>legend{font-size:16px}
  .cf input[type=text],.cf input[type=email],.cf input[type=url],.cf textarea{font-size:16px}
  .cf-actions{flex-direction:column}.cf-btn{width:100%;min-width:0}
}

/* ---------- v0.9: SP-06 GoogleMAPで見る（.rs-ext は v5 の「外部地図で見る」と同じ部品。リンクの有無は [hidden] で制御） */
.rs-ext:hover{background:#f1faf5}
.rs-ext:focus-visible{outline:3px solid #0b5d41;outline-offset:3px}
/* ---------- v0.9: SP-07 サイトカードの画像 ---------- */
.rs-img{margin:0 0 14px;border-radius:6px;overflow:hidden;background:#eef2ef;height:220px}   /* 高さは固定（幅いっぱい）。aspect-ratio＋max-height は幅まで縮めてしまうため使わない */
.rs-img-el{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}  /* 縦横比がまちまちでも枠いっぱいに中央を基準に切り抜く */
/* ---------- v0.9: SP-08 ページ最上部へ戻る ---------- */
.to-top{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:45;width:60px;height:60px;padding:0;border-radius:50%;border:2px solid #fff;background:var(--green-btn);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility 0s linear .25s}
.to-top.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s,visibility 0s}
.to-top:hover{background:#06774a}
.to-top svg{display:block;width:22px;height:22px}
.to-top-t{font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1;margin-top:1px}
/* ---------- v0.9: SP-05 商品情報のクレジット表示 ----------
   提供元の規定：HTMLを改変しない／CSS等で表示色を変えない／極端に小さくしない（Yahoo! https://developer.yahoo.co.jp/attribution/ 、楽天 https://webservice.rakuten.co.jp/guide/credit ）。
   共通CSS（a の色・下線・フォント等）が及ばないよう、リンクと Yahoo! の span は all:revert !important でブラウザー標準の見た目に戻す（どの共通ルールより優先）。
   ここで決めるのは、位置・文字サイズ（13px）・文字色（黒）だけ。背景色は付けない。 */
.attn{margin:28px auto;padding:0 clamp(16px,2vw,40px);max-width:1440px;font-size:13px;line-height:1.8;color:#000;text-align:center}   /* 最終修正：注意書きエリア。背景色なし・黒文字・装飾なし。PC＝1行を基本、スマホ＝項目の区切りで自然に折り返し（文字は小さくしない） */
.item-body .attn{padding-inline:0;max-width:none}   /* 商品一覧は、区画（item-body）の余白の内側に置く */
.attn-i{display:inline-block;max-width:100%}   /* 項目の区切りで折り返す（項目の途中では折り返さない。項目自体が幅を超えるときだけ項目内で折り返す） */
.attn a,.attn a:visited,.attn a:hover,.attn a:focus-visible{all:revert !important}
.attn span:not(.attn-i):not(.attn-s){all:revert !important;margin:15px !important}   /* Yahoo! 規定HTMLの span（インライン style の余白15px）。余白は規定どおり、それ以外の見た目は共通CSSの影響を受けない */
@media (max-width:599px){
  .rs-img{height:min(52vw,200px);margin-bottom:12px}
  .to-top{width:52px;height:52px;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
  .to-top svg{width:20px;height:20px}
}

/* ---------- rev9 ---------- */
/* SP-13：ニュースの画像枠（TOP・一覧・詳細・関連記事）は、PC・スマホとも横2：縦1。2:1の画像（1200×600など）は切り抜かず全体を表示。2:1でない画像は、縦横比を保ったまま中央に置き、余白は背景色（引き伸ばし・切り抜きなし） */
.ncard .thumb,.nl-thumb,.art-img,.rel-thumb{aspect-ratio:2/1;overflow:hidden;background:#f1efe9;position:relative}
.ncard .thumb>img,.nl-thumb>img,.art-img>img,.rel-thumb>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center}
.nl-thumb>.ph,.rel-thumb>.ph,.ncard .thumb>.ph{position:absolute;inset:0}
