/* トップページ。上から「何のサイトか → 流れ → 料金 → 場面 → ちがい → お店 → 質問 → コラム」の順に並べる。
   色と書体は、これまでのサイトの世界観（生成りの地・ワイン色・明朝の見出し）を引き継ぐ。 */
:root{color-scheme:light;--cream:#f7f3e9;--paper:#fffdf8;--sand:#ebe5d9;--ink:#302e29;--muted:#5f594f;--wine:#6b2535;--wine-dark:#4e1926;--line:#dcd4c5;--line-strong:#b9ad9c;
  --serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body.hm{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.8;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased}
/* 素の要素への初期化は :where() で弱くして、下の部品の指定が必ず勝つようにする */
:where(.hm main) a{color:inherit;-webkit-tap-highlight-color:transparent}
.hm main a:focus-visible,.hm summary:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
:where(.hm main) img{display:block;max-width:100%;height:auto}
:where(.hm main) :where(h1,h2,h3,p,ul,ol,dl,dd){margin:0;padding:0}
:where(.hm main) :where(ul,ol){list-style:none}
body.hm main :where(p,li,summary,dd,h1,h2,h3){text-wrap:pretty;line-break:strict}
.hm-wrap{width:min(100% - 32px,1120px);margin-inline:auto}
.hm-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hm-skip{position:absolute;left:16px;top:-200px;z-index:200;min-height:44px;padding:10px 16px;background:var(--paper);border:1px solid var(--wine);color:var(--wine)}
.hm-skip:focus{top:8px}

/* ── 1. 何のサイトか／2つの入口 ── */
.hm-hero{padding:16px 0 28px;text-align:center}
.hm-ph{display:inline-block}
.hm-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(27px,7.4vw,50px);line-height:1.5;letter-spacing:.04em}
.hm-lead{max-width:46em;margin:10px auto 0!important;font-size:15px;line-height:1.8;text-align:center}
.hm-lead strong{font-weight:600}
.hm-entries{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:16px;text-align:left}
.hm-entry{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid var(--line-strong);text-decoration:none}
.hm-entry-visual{display:flex;align-items:flex-end;justify-content:center;height:160px;padding-top:8px;overflow:hidden;border-bottom:1px solid var(--line)}
.hm-visual-label{background:radial-gradient(ellipse at 50% 60%,#f6ead5 0,transparent 70%),#e9dfcc}
.hm-visual-hyosatsu{background:radial-gradient(ellipse at 50% 60%,#eceadf 0,transparent 70%),#dbddd2}
.hm-entry-visual>img{flex:none;width:auto;height:100%;max-width:none;filter:drop-shadow(6px 6px 5px rgba(48,44,36,.16))}
.hm-visual-label>img+img{margin-left:-58px}
.hm-hyo-bottle{position:relative;display:block;flex:none;height:100%;aspect-ratio:435/580;filter:drop-shadow(6px 6px 5px rgba(48,44,36,.16))}
.hm-hyo-bottle>img:first-child{width:100%;height:100%}
/* 表札ワインのラベル（80×107mm）。位置は hyosatsu/assets/label-tall.css と同じ（tools/label/geom.py） */
.hm-hyo-bottle>.hm-hyo-plate{position:absolute;left:32.2%;top:51.24%;width:34.7%;height:auto}
.hm-wide-only{display:none!important}
.hm-entry-status{position:absolute;left:8px;top:8px;padding:2px 8px;background:var(--wine);color:#fffdf8;font-size:12px;font-weight:600;line-height:1.6;letter-spacing:.02em}
.hm-entry-status.is-prep{background:var(--paper);border:1px solid var(--line-strong);color:var(--muted)}
.hm-entry-body{display:flex;flex:1;flex-direction:column;gap:5px;padding:10px 10px 10px}
.hm-entry-name{display:block;font-family:var(--serif);font-size:17px;font-weight:600;line-height:1.5;color:var(--wine)}
.hm-entry-desc{display:block;font-size:13.5px;line-height:1.6}
.hm-entry-meta{display:block;color:var(--muted);font-size:13px;line-height:1.6}
.hm-entry-action{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;margin-top:auto;padding:8px 12px;background:var(--wine);color:#fffdf8;font-size:15px;font-weight:600;line-height:1.5;white-space:nowrap}
.hm-entry-action>span{flex:none;font-size:18px;line-height:1}
.hm-entry:hover .hm-entry-action{background:var(--wine-dark)}
.hm-entry-more{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:2px;justify-items:center}
.hm-image-note{max-width:44em;margin:6px auto 0!important;color:var(--muted);font-size:13px;line-height:1.8;text-align:left}

/* 共通の小物 */
.hm-textlink{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 4px;color:var(--wine)!important;font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.hm-textlink>span{flex:none;text-decoration:none}
.hm-button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-width:min(100%,260px);min-height:52px;padding:12px 18px;background:var(--wine);border:1px solid var(--wine);color:#fffdf8!important;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none}
.hm-button>span{flex:none;font-size:18px;line-height:1}
.hm-button:hover{background:var(--wine-dark)}
.hm-section{padding:44px 0}
.hm-band{background:var(--sand);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hm-heading{margin-bottom:22px}
.hm-kicker{color:var(--wine);font-size:13px;font-weight:600;line-height:1.6;letter-spacing:.06em}
.hm-h2{font-family:var(--serif);font-weight:500;font-size:clamp(24px,6vw,34px);line-height:1.55;letter-spacing:.04em}
.hm-section-lead{margin-top:8px!important;font-size:15px;line-height:1.8}
.hm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;margin-top:22px}
.hm-note{margin-top:12px!important;color:var(--muted);font-size:14px;line-height:1.8}
.hm-note a{color:var(--wine)!important;text-decoration:underline;text-underline-offset:3px}

/* ── 2. ひとことで言うと ── */
.hm-points-section{padding:4px 0 8px}
.hm-points-title{margin-bottom:10px!important;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.6;color:var(--muted);text-align:center}
.hm-points{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--line-strong);border-left:1px solid var(--line-strong)}
.hm-points li{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 10px;background:var(--paper);border-right:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);text-align:center}
.hm-points strong{font-family:var(--serif);font-size:19px;font-weight:600;line-height:1.5;color:var(--wine)}
.hm-points span{font-size:13px;line-height:1.6}

/* ── 3. 流れ ── */
.hm-flow{display:grid;grid-template-columns:minmax(0,1fr);gap:0;counter-reset:none}
.hm-flow li{position:relative;display:flex;gap:14px;padding:0 0 18px}
.hm-flow li:last-child{padding-bottom:0}
.hm-flow li:not(:last-child)::before{content:"";position:absolute;left:17px;top:38px;bottom:2px;width:1px;background:var(--line-strong)}
.hm-flow-num{display:flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--wine);color:#fffdf8;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1}
.hm-flow h3{font-family:var(--sans);font-size:17px;font-weight:600;line-height:1.6;padding-top:3px}
.hm-flow p{margin-top:2px!important;font-size:15px;line-height:1.75}

/* ── 4. 料金 ── */
.hm-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hm-prices li{display:flex;flex-direction:column;align-items:center;min-width:0;padding:12px 6px;background:var(--paper);border:1px solid var(--line-strong);text-align:center}
.hm-price-qty{font-size:15px;font-weight:600;line-height:1.5}
.hm-prices strong{font-family:Georgia,"Times New Roman",serif;font-size:clamp(21px,5.8vw,30px);font-weight:400;line-height:1.4;color:var(--wine);white-space:nowrap}
.hm-price-unit{color:var(--muted);font-size:12px;line-height:1.5}
.hm-price-sub{display:flex;flex-direction:column;margin-top:6px;padding-top:6px;border-top:1px solid var(--line);font-size:12px;line-height:1.6;width:100%}
.hm-price-notes{margin-top:16px!important}
.hm-price-notes li{position:relative;padding-left:1.1em;font-size:14px;line-height:1.8}
.hm-price-notes li::before{content:"・";position:absolute;left:0}
.hm-price-notes li+li{margin-top:2px}

/* ── 5. 贈る場面 ── */
.hm-scenes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.hm-scenes a{display:flex;flex-direction:column;height:100%;min-width:0;background:var(--paper);border:1px solid var(--line-strong);text-decoration:none}
.hm-scene-visual{display:flex;align-items:flex-end;justify-content:center;height:132px;padding-top:8px;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,#f6ead5 0,transparent 70%),#e9dfcc;border-bottom:1px solid var(--line)}
.hm-scene-visual img{width:auto!important;height:100%!important;max-width:none!important;filter:drop-shadow(5px 5px 4px rgba(48,44,36,.16))}
.hm-scene-visual img.is-small{height:112%!important;margin-bottom:-4%}
.hm-scene-text{display:flex;flex:1;flex-direction:column;gap:4px;padding:10px}
.hm-scene-text strong{font-size:15px;font-weight:600;line-height:1.5;color:var(--wine)}
.hm-scene-text span{font-size:13px;line-height:1.65}
.hm-scenes a:hover{background:#f3ecdf}

/* ── 6. ふたつのちがい ── */
.hm-compare table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;line-height:1.8}
.hm-compare thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.hm-compare tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hm-compare tbody th{grid-column:1/-1;padding:12px 0 6px;border-top:1px solid #c7beaf;color:var(--muted);font-size:14px;font-weight:600;text-align:left}
.hm-compare tbody td{min-width:0;padding:0 10px 14px 0;vertical-align:top}
.hm-compare tbody td:last-child{padding-right:0;padding-left:10px;border-left:1px solid #d5ccbf}
.hm-compare tbody tr:last-child{border-bottom:1px solid #c7beaf}
.hm-compare-label{display:block;margin-bottom:4px;color:var(--wine);font-size:13px;font-weight:600;line-height:1.6}
.hm-compare-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:18px;align-items:start}
.hm-compare-actions>div{display:flex;flex-direction:column;min-width:0}
.hm-compare-actions .hm-button{min-width:0;padding-inline:12px;gap:8px}
.hm-compare-actions .hm-textlink{font-size:13px}

/* ── 7. お店 ── */
.hm-shop{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.hm-shop-text p:not(.hm-kicker){margin-top:12px!important;font-size:15px;line-height:1.9}
.hm-shop-info{border-top:1px solid var(--line-strong)}
.hm-shop-info>div{display:grid;grid-template-columns:4.5em minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid var(--line-strong);font-size:15px;line-height:1.7}
.hm-shop-info dt{color:var(--muted);font-size:14px}
.hm-shop-info a{color:var(--wine)!important;text-decoration:underline;text-underline-offset:3px}
.hm-shop-links{display:grid;grid-template-columns:minmax(0,1fr);margin-top:14px!important}
.hm-shop-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 2px;border-bottom:1px solid var(--line);color:var(--wine)!important;font-size:15px;line-height:1.5;text-decoration:none}
.hm-shop-links a>span{flex:none}

/* ── 8. よくある質問 ── */
.hm-faq{border-top:1px solid #c7beaf}
.hm-faq details{border-bottom:1px solid #c7beaf}
.hm-faq summary{position:relative;display:block;min-height:52px;padding:14px 40px 14px 2px;font-size:16px;font-weight:600;line-height:1.6;list-style:none;cursor:pointer}
.hm-faq summary::-webkit-details-marker{display:none}
.hm-faq summary::after{content:"＋";position:absolute;right:6px;top:50%;transform:translateY(-50%);color:var(--wine);font-size:18px;font-weight:400;line-height:1}
.hm-faq details[open] summary::after{content:"－"}
.hm-faq details>p{padding:0 2px 16px!important;font-size:15px;line-height:1.9}

/* ── 9. コラム（v31の並びを引き継ぐ。見出しまわりだけ、このページの書き方に合わせる） ── */
.hm .home-columns{width:min(100% - 32px,1120px);margin-inline:auto;padding-top:44px;padding-bottom:44px}
.hm .home-columns .section-overline{margin-bottom:0}
.hm .home-columns .section-overline h2{font-family:var(--serif);font-weight:500;font-size:clamp(24px,6vw,34px);line-height:1.55;letter-spacing:.04em}
.hm .home-columns .section-overline>span{display:none}
.hm .home-columns-lead{margin:8px 0 22px!important;font-size:15px;line-height:1.8}
.hm .home-column-card{border-radius:0}
.hm .home-columns .text-link{color:var(--wine);font-size:14px;text-decoration:underline;text-underline-offset:4px}

/* ── 10. しめくくり ── */
.hm-closing{padding:44px 0;background:var(--wine);color:#fffdf8;text-align:center}
.hm-closing h2{font-family:var(--serif);font-weight:500;font-size:clamp(22px,5.8vw,32px);line-height:1.6;letter-spacing:.04em}
.hm-closing p{margin-top:10px!important;font-size:15px;line-height:1.8}
.hm-closing-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:560px;margin:22px auto 0}
.hm-button-light{background:#fffdf8;border-color:#fffdf8;color:var(--wine)!important}
.hm-button-light:hover{background:#f3ecdf}
.hm-button-outline{background:transparent;border-color:#e6d5d9;color:#fffdf8!important}
.hm-button-outline:hover{background:rgba(255,253,248,.12)}
.hm-closing-note{color:#ecdfe2;font-size:13px!important}

@media(max-width:374px){
  .hm-entry-action{gap:6px;padding:8px 10px;font-size:14px}
  .hm-entry-action>span{font-size:16px}
}
@media(max-width:359px){
  .hm-wrap,.hm .home-columns{width:calc(100% - 24px)}
  .hm-entries,.hm-entry-more{gap:8px}
  .hm-entry-body{padding:8px}
  .hm-entry-name{font-size:15px}
  .hm-entry-action{padding:8px}
  .hm-entry-visual{height:150px}
  .hm-visual-label>img+img{margin-left:-54px}
}
@media(min-width:600px){
  .hm-wrap,.hm .home-columns{width:min(100% - 64px,1120px)}
  .hm-hero{padding:36px 0 40px}
  .hm-lead{font-size:16px}
  .hm-entries,.hm-entry-more{gap:20px;max-width:920px;margin-inline:auto}
  .hm-entries{margin-top:26px}
  .hm-entry-visual{height:240px;padding-top:14px}
  .hm-visual-label>img+img{margin-left:-80px}
  .hm-hyo-bottle+.hm-hyo-bottle{margin-left:-70px}
  .hm-wide-only{display:block!important}
  .hm-entry-status{left:12px;top:12px;font-size:13px;padding:3px 10px}
  .hm-entry-body{gap:6px;padding:16px 18px 18px}
  .hm-entry-name{font-size:21px}
  .hm-entry-desc{font-size:15px}
  .hm-entry-meta{font-size:14px}
  .hm-entry-action{min-height:52px;margin-top:8px;padding:10px 16px;font-size:16px}
  .hm-image-note{text-align:center}
  .hm-section{padding:60px 0}
  .hm-heading{margin-bottom:28px}
  .hm-points-section{padding:0 0 12px}
  .hm-points{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hm-points li{padding:16px 10px}
  .hm-points strong{font-size:21px}
  .hm-prices{gap:16px;max-width:820px}
  .hm-prices li{padding:18px 10px}
  .hm-price-sub{flex-direction:row;justify-content:center;gap:.4em;font-size:13px}
  .hm-scenes{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .hm-scene-visual{height:170px}
  .hm-shop-links{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}
  .hm .home-columns{padding-top:60px;padding-bottom:60px}
  .hm-closing{padding:60px 0}
  .hm-closing-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
}
@media(min-width:900px){
  .hm-hero{padding:48px 0 48px}
  .hm-hero h1 br{display:none}
  .hm-entry-visual{height:280px}
  .hm-visual-label>img+img{margin-left:-96px}
  .hm-hyo-bottle+.hm-hyo-bottle{margin-left:-84px}
  .hm-section{padding:76px 0}
  .hm-flow{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
  .hm-flow li{flex-direction:column;gap:12px;padding:0}
  .hm-flow li:not(:last-child)::before{left:46px;right:-14px;top:18px;bottom:auto;width:auto;height:1px}
  .hm-flow p{font-size:14px}
  .hm-compare table{font-size:15px}
  .hm-compare thead{position:static;width:auto;height:auto;overflow:visible;clip:auto}
  .hm-compare thead th{padding:12px 10px;border-bottom:1px solid #b7ac9a;font-size:15px;font-weight:600;text-align:left}
  .hm-compare thead th:first-child{width:22%;color:var(--muted);font-size:14px}
  .hm-compare tbody tr{display:table-row}
  .hm-compare tbody th{padding:16px 10px;border-top:0;border-bottom:1px solid #c7beaf;vertical-align:top}
  .hm-compare tbody td,.hm-compare tbody td:last-child{padding:16px 10px;border-left:0;border-bottom:1px solid #c7beaf}
  .hm-compare-label{display:none}
  .hm-compare-actions{grid-template-columns:22% minmax(0,1fr) minmax(0,1fr);gap:0}
  .hm-compare-actions>div{padding:0 10px}
  .hm-compare-actions>div:first-child{grid-column:2}
  .hm-compare-actions .hm-button{padding-inline:18px}
  .hm-compare-actions .hm-textlink{font-size:14px;justify-content:flex-start}
  .hm-shop{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:56px;align-items:start}
  .hm-shop-links{grid-template-columns:minmax(0,1fr)}
  .hm-faq-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:0 56px;align-items:start}
  .hm-faq-wrap .hm-actions{grid-column:2}
  .hm .home-columns{padding-top:76px;padding-bottom:76px}
  .hm-closing{padding:76px 0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
