/* Photographs become a setting for the bottle, instead of floating picture cards. */
.product-page { --product-night: #171f1a; --product-accent: #cab691; }
.product-imo { --product-night: #251c18; --product-accent: #d5aa8c; }
.product-mugi { --product-night: #24271b; --product-accent: #d3c496; }
.product-529 { --product-night: #221f18; --product-accent: #d1ae76; }
.product-hikari { --product-night: #152025; --product-accent: #9fbfc1; }
.product-umeharuka { --product-night: #2b2420; --product-accent: #dbc39c; }
.product-hero { position: relative; isolation: isolate; min-height: 630px; height: calc(100svh - 82px); max-height: 850px; background: var(--product-night); color: #f8f4e8; overflow: hidden; }
.product-hero-image { position: absolute; inset: 0 auto 0 0; width: 82%; height: 100%; object-fit: cover; object-position: 43% center; z-index: -3; }
.product-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#0c100b0a 15%,#0c100b12 35%,color-mix(in srgb,var(--product-night) 30%,transparent) 47%,color-mix(in srgb,var(--product-night) 58%,transparent) 57%,color-mix(in srgb,var(--product-night) 80%,transparent) 66%,color-mix(in srgb,var(--product-night) 92%,transparent) 74%,color-mix(in srgb,var(--product-night) 97.5%,transparent) 82%,var(--product-night) 90%),linear-gradient(180deg,#11150b44,transparent 24%,transparent 72%,#0c100b70); }
.product-hero-layout { display: grid; grid-template-columns: 55% 45%; grid-template-rows: auto 1fr auto; height: 100%; padding: 25px 0; position: relative; }
.product-page .product-breadcrumb { grid-column: 1 / -1; font-size: 10px; color: #efeadabb; letter-spacing: .04em; }
.product-page .product-breadcrumb [aria-current] { color: inherit; }
.product-breadcrumb a { color: inherit; }
.product-breadcrumb a:hover { color: #fff; }
.product-hero-copy { grid-column: 2; grid-row: 2; padding: 24px 0 24px 25px; align-self: center; }
.product-category { font-size: 11px; letter-spacing: .17em; line-height: 1.8; color: var(--product-accent); }
.product-hero h1 { font-family: 'Noto Serif JP',serif; font-size: clamp(46px,5.5vw,74px); font-weight: 300; letter-spacing: .08em; line-height: 1.55; margin-top: 12px; }
.product-name-prefix { display: block; font-size: .27em; letter-spacing: .12em; margin-bottom: 5px; }
.product-english { font-size: 11px; letter-spacing: .21em; color: #d5ccad; margin-top: 7px; }
.product-tagline { font-family: 'Noto Serif JP',serif; font-size: clamp(23px,2.1vw,29px); line-height: 1.9; letter-spacing: .09em; margin: 32px 0 21px; font-weight: 300; }
.product-summary { font-size: 13px; line-height: 2.25; color: #ded9c9; letter-spacing: .025em; max-width: 28em; }
.product-hero-action { display: inline-flex; align-items: center; gap: 34px; border-bottom: 1px solid #d6c69999; padding: 12px 0; min-height: 48px; font-size: 12px; letter-spacing: .05em; margin-top: 26px; }
.product-hero-action > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d6c69977; border-radius: 50%; font-size: 17px; transition: transform .25s; }
.product-hero-action:hover > span { transform: translateY(3px); }
.product-hero-foot { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; color: #efe4cdcc; font-size: 10px; letter-spacing: .15em; }
.product-hero-foot > span:last-child { font-family: 'Noto Serif JP',serif; font-size: 11px; }
.product-hero--studio .product-hero-image { width: 65%; object-fit: contain; padding: 18px 5% 18px 0; mask-image: linear-gradient(90deg,transparent 0%,#000 18%,#000 60%,transparent 100%); }
.product-hero--studio .product-hero-shade { background: linear-gradient(90deg,transparent 40%,var(--product-night) 66%); }
.product-hero--light { background: #e9e6db; color: #3b332b; }
.product-hero--light .product-hero-image { width: 62%; object-fit: contain; padding: 35px 5% 35px 0; mix-blend-mode: multiply; mask-image: radial-gradient(ellipse 42% 60% at 46% 52%,#000 63%,transparent 100%),linear-gradient(transparent 8%,#000 17%,#000 90%,transparent 100%); mask-composite: intersect; }
.product-hero--light .product-hero-shade { display: none; }
.product-hero--light .product-category,.product-hero--light .product-english { color: #846d47; }
.product-hero--light .product-summary { color: #615b4f; }
.product-hero--light .product-breadcrumb,.product-hero--light .product-hero-foot { color: #72644e; }
.product-hero--light .product-hero-action { border-color: #94835f; }
.product-hero--light .product-hero-action > span { border-color: #94835f88; }

.product-section-nav { position: sticky; top: 82px; background: #f5f1e8f5; backdrop-filter: blur(14px); z-index: 20; border-bottom: 1px solid #d4d0c0; }
.product-section-nav > div { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 20px; }
.product-nav-name { font-family: 'Noto Serif JP',serif; font-size: 15px; letter-spacing: .07em; }
.product-section-links { display: flex; align-items: center; gap: 34px; }
.product-section-links a { display: flex; align-items: center; gap: 22px; min-height: 44px; font-size: 12px; color: #58634e; transition: color .2s; }
.product-section-links a:last-child { color: #344e37; }
.product-section-links a:hover { color: #9b744c; }
.product-page #taste,.product-page #serving,.product-page #specs { scroll-margin-top: 144px; }

.product-story { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: auto 1fr auto; gap: 36px 10%; padding: 100px 0 80px; }
.product-story-heading { grid-column: 1; grid-row: 1; }
.product-story h2,.product-serving h2,.product-specs h2 { font-family: 'Noto Serif JP',serif; font-size: clamp(29px,3.05vw,43px); font-weight: 300; line-height: 1.85; letter-spacing: .07em; }
.product-story h2 { margin-top: 26px; }
.product-story-copy { grid-column: 1; grid-row: 2; }
.product-story-copy > p { font-size: 14px; color: #606756; line-height: 2.3; }
.product-story-copy > p + p { margin-top: 23px; }
.product-text-link { display: inline-flex; gap: 26px; align-items: center; border-bottom: 1px solid #9fa38b; padding: 12px 0; margin-top: 23px; min-height: 44px; font-size: 12px; letter-spacing: .02em; }
.product-material { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; margin-top: 40px; }
.product-material::before { content: ''; position: absolute; top: -27px; right: -20px; bottom: 26px; width: 70%; border: 1px solid #ccc7b6; z-index: -1; }
.product-material img { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; }
.product-material figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; font-size: 11px; line-height: 1.8; color: #797966; }
.product-material figcaption > span:last-child { font-size: 10px; white-space: nowrap; letter-spacing: .12em; }
.product-taste-note { grid-column: 1 / -1; display: grid; grid-template-columns: 160px 1fr; align-items: start; gap: 32px; border-top: 1px solid #c9c9b5; padding: 32px 0 0; margin-top: 30px; }
.product-taste-note > span { font-size: 11px; color: #807559; letter-spacing: .08em; padding-top: 8px; }
.product-taste-note > p { font-family: 'Noto Serif JP',serif; font-size: 21px; font-weight: 300; line-height: 2.1; letter-spacing: .06em; max-width: 37em; }

.product-serving { background: var(--product-night); color: #f7efdf; overflow: hidden; overflow: clip; }
.product-serving-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 10%; align-items: center; min-height: 530px; padding: 60px 0; }
/* 写真は本来の 3:2 の枠に収め、四辺だけを夜の色へ溶かす（左端は本文と同じ基準線にそろえる） */
.product-serving figure { aspect-ratio: 3 / 2; margin: 0; }
.product-serving figure img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(transparent,#000 11%,#000 89%,transparent); mask-composite: intersect; }
.product-serving .interior-eyebrow { color: var(--product-accent); }
.product-serving h2 { font-size: clamp(25px,2.65vw,35px); margin: 25px 0; }
.product-serving-copy > p:not(.interior-eyebrow) { font-size: 14px; color: #cbcbb9; line-height: 2.3; }
.product-serving .product-text-link { border-color: #a7a17c77; color: #e2d4b2; }

.product-specs { padding: 90px 0 70px; }
.product-spec-heading { border-bottom: 1px solid #cfc9b7; padding-bottom: 28px; margin-bottom: 50px; }
.product-spec-heading h2 { margin-top: 20px; }
.product-spec-layout { display: grid; grid-template-columns: 1fr 1.03fr; gap: 9%; align-items: start; }
.product-spec-visual { align-self: stretch; background: radial-gradient(closest-side,#e1decd,#edeade 55%,#f5f1e8 100%); position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: 25px 0; }
.product-spec-english { position: absolute; left: -16px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); font-size: 10px; letter-spacing: .23em; white-space: nowrap; color: #8e927a; }
.product-spec-bottle > img { width: 100%; height: 530px; object-fit: contain; mix-blend-mode: multiply; mask-image: radial-gradient(ellipse 60% 64% at 50% 50%,#000 65%,transparent 100%); }
.product-object-link { display: inline-flex; gap: 22px; align-items: center; font-size: 12px; min-height: 44px; padding: 12px 0; border-bottom: 1px solid #a5a68c; margin-top: 12px; }
.product-spec-copy .product-category { color: #807452; }
.product-spec-copy h3 { font-family: 'Noto Serif JP',serif; font-size: 34px; font-weight: 300; line-height: 1.7; margin: 12px 0 24px; letter-spacing: .06em; }
.product-keyfacts { display: flex; gap: 36px; align-items: baseline; border-top: 1px solid #c7c7b2; padding: 20px 0; }
.product-keyfacts > span { font-family: 'Noto Serif JP',serif; font-size: 30px; line-height: 1.7; }
.product-keyfacts > span:last-child { font-size: 22px; }
.product-keyfacts small { display: block; font-family: 'Noto Sans JP',sans-serif; font-size: 10px; color: #7e836e; margin-bottom: 5px; }
.product-spec-table > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; border-top: 1px solid #d8d4c4; padding: 15px 0; font-size: 13px; line-height: 1.8; }
.product-spec-table dt { color: #757d66; font-size: 11px; }
.product-spec-table dd { margin: 0; color: #464f3f; }
.product-shop-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-top: 28px; font-size: 13px; color: #f8f2e3; background: #2b4032; min-height: 62px; transition: background .2s; }
.product-shop-button:hover { background: #40553b; }
.product-shop-button > span { font-size: 22px; }
.product-shop-note { font-size: 10px; color: #7d816f; line-height: 1.9; margin-top: 12px; }
.product-neighbors { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; border-top: 1px solid #c8c6b5; padding: 30px 0 65px; }
.product-neighbors > a { display: flex; flex-direction: column; gap: 12px; padding: 10px 0; }
.neighbor-direction { font-size: 10px; color: #7c826c; letter-spacing: .04em; }
.product-neighbors strong { font-family: 'Noto Serif JP',serif; font-weight: 300; font-size: 21px; }
.product-neighbors > a:last-child { text-align: right; }
.product-neighbors .product-all { flex-direction: row; align-items: center; gap: 24px; font-size: 12px; border-bottom: 1px solid #a4ac92; }

@media (max-width: 1100px) {
 .product-hero-copy { padding-left: 12px; }
 .product-hero h1 { font-size: 52px; }
 .product-tagline { font-size: 24px; margin: 24px 0 18px; }
 .product-summary { font-size: 12px; }
 .product-section-links { gap: 22px; }
 .product-story { column-gap: 7%; }
 .product-material figcaption > span:last-child { display: none; }
 .product-serving-layout { column-gap: 7%; }
 .product-spec-layout { gap: 6%; }
 .product-keyfacts { gap: 22px; }
 .product-keyfacts > span:last-child { font-size: 18px; }
}
@media (max-width: 767px) {
 .product-hero { min-height: 0; height: auto; max-height: none; }
 .product-hero-image { width: 100%; height: 410px; object-position: 39% center; }
 .product-hero-shade { height: 450px; background: linear-gradient(180deg,#10130c50,transparent 22%,transparent 42%,var(--product-night) 94%); }
 .product-hero-layout { display: block; padding: 330px 0 22px; }
 .product-page .product-breadcrumb { position: absolute; top: 19px; left: 0; right: 0; padding-block: 0; font-size: 11px; gap: 0 10px; }
 .product-page .product-breadcrumb a { min-height: 44px; padding-inline: 6px; margin-inline: -6px; }
 .product-hero-copy { padding: 0; position: relative; }
 .product-category { font-size: 10px; }
 .product-hero h1 { font-size: clamp(40px,12vw,52px); margin-top: 10px; line-height: 1.5; }
 .product-name-prefix { font-size: .3em; }
 .product-english { font-size: 10px; margin-top: 4px; }
 .product-tagline { font-size: 25px; margin: 26px 0 18px; line-height: 1.8; }
 .product-summary { font-size: 13px; line-height: 2.15; max-width: none; }
 .product-hero-action { margin-top: 18px; gap: 36px; font-size: 12px; }
 .product-hero-foot { margin-top: 30px; font-size: 10px; }
 .product-hero-foot > span:last-child { font-size: 10px; }
 .product-hero--studio .product-hero-image { width: 100%; height: 395px; padding: 12px 0 0; object-position: center; mask-image: radial-gradient(ellipse 75% 76% at 50% 42%,#000 45%,transparent 94%); }
 .product-hero--studio .product-hero-shade { background: linear-gradient(180deg,transparent 62%,var(--product-night) 94%); }
 .product-hero--studio .product-hero-layout { padding-top: 360px; }
 .product-hero--light .product-hero-image { width: 100%; height: 400px; padding: 45px 0 0; object-position: center; mask-image: radial-gradient(ellipse 44% 56% at 50% 55%,#000 62%,transparent 100%),linear-gradient(transparent 12%,#000 24%,#000 88%,transparent 100%); mask-composite: intersect; }
 .product-hero--light .product-hero-layout { padding-top: 370px; }
 .product-section-nav { top: 82px; }
 .product-section-nav > div { min-height: 56px; }
 .product-nav-name { display: none; }
 .product-section-links { width: 100%; justify-content: space-between; gap: 10px; }
 .product-section-links a { font-size: 11px; gap: 8px; white-space: nowrap; }
 .product-page #taste,.product-page #serving,.product-page #specs { scroll-margin-top: 138px; }
 .product-story { display: flex; flex-direction: column; padding: 56px 0 48px; gap: 26px; }
 .product-story h2 { font-size: clamp(25px,6.8vw,31px); margin-top: 19px; line-height: 1.85; }
 .product-story-copy > p { font-size: 13px; line-height: 2.25; }
 .product-story-copy > p + p { margin-top: 20px; }
 .product-text-link { margin-top: 18px; font-size: 11px; gap: 18px; }
 .product-material { margin: 18px 0 0; width: 92%; align-self: flex-start; }
 .product-material img { aspect-ratio: 4 / 3; }
 .product-material::before { top: -15px; right: -15px; bottom: 22px; }
 .product-material figcaption { font-size: 10px; padding-top: 13px; }
 .product-taste-note { display: block; padding-top: 23px; margin-top: 12px; }
 .product-taste-note > span { display: block; font-size: 10px; padding: 0; margin-bottom: 13px; }
 .product-taste-note > p { font-size: 18px; line-height: 2; letter-spacing: .035em; }
 .product-serving-layout { display: flex; flex-direction: column; padding: 38px 0 48px; gap: 12px; min-height: 0; }
 .product-serving figure { width: 100%; }
 .product-serving h2 { font-size: min(26px, 6.2vw); line-height: 1.8; margin: 20px 0; }
 .product-serving-copy > p:not(.interior-eyebrow) { font-size: 13px; }
 .product-specs { padding: 54px 0 35px; }
 .product-spec-heading { padding-bottom: 22px; margin-bottom: 25px; }
 .product-spec-heading h2 { font-size: 26px; margin-top: 17px; }
 .product-spec-layout { display: block; }
 .product-spec-visual { padding: 0; margin-bottom: 30px; }
 .product-spec-bottle > img { height: 345px; }
 .product-spec-english { left: 0; font-size: 10px; letter-spacing: .16em; }
 .product-object-link { font-size: 11px; }
 .product-spec-copy h3 { font-size: 29px; margin-top: 7px; margin-bottom: 21px; }
 .product-keyfacts { gap: 26px; }
 .product-keyfacts > span { font-size: 28px; }
 .product-keyfacts > span:last-child { font-size: 18px; }
 .product-spec-table > div { grid-template-columns: 78px 1fr; gap: 15px; font-size: 12px; padding: 14px 0; }
 .product-spec-table dt { font-size: 11px; }
 .product-shop-button { padding: 18px; font-size: 12px; }
 .product-neighbors { grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0 45px; }
 .product-neighbors > a { min-width: 0; }
 .product-neighbors strong { font-size: 17px; line-height: 1.8; }
 .product-neighbors .product-all { grid-row: 2; grid-column: 1 / -1; justify-content: center; border: 1px solid #c6c7b1; padding: 16px; font-size: 12px; }
 .product-neighbors > a:last-child { grid-row: 1; grid-column: 2; }
}
@media (max-width: 640px) {
 .product-section-nav { top: 68px; }
 .product-page #taste,.product-page #serving,.product-page #specs { scroll-margin-top: 124px; }
}
@media (max-width: 359px) {
 .product-section-links { gap: 6px; }
 .product-section-links a { font-size: 10px; }
 .product-section-links a > span { display: none; }
 .product-hero h1 { letter-spacing: .04em; }
 .product-tagline { font-size: 23px; letter-spacing: .05em; }
 .product-story h2 { font-size: 24px; letter-spacing: .03em; }
 .product-serving h2,.product-spec-heading h2 { font-size: 23px; letter-spacing: .03em; }
 .product-keyfacts { gap: 18px; }
 .product-keyfacts > span:last-child { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 .product-hero-action > span,.product-section-links a,.product-shop-button { transition: none; }
 .product-hero-action:hover > span { transform: none; }
}

/* ==========================================================================
   2026-10 修正：限定酒（七輝星・星のなる木）、切り抜きボトル、飲み方・料理、ポップアップ
   ========================================================================== */
.product-nanakisei { --product-night: #0f1a2b; --product-accent: #d8bb72; }
.product-hoshi { --product-night: #0b1230; --product-accent: #b7c4f2; }

/* ボトルを主役にした冒頭（場面写真のない銘柄） */
.product-hero--bottle::before { content: ''; position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background: radial-gradient(ellipse 34% 52% at 30% 56%, #ffffff1f, transparent 70%), radial-gradient(ellipse 60% 70% at 26% 70%, #00000055, transparent 72%); }
.product-hero--bottle .product-hero-image { inset: 0 auto 0 4%; width: 48%; height: 100%; object-fit: contain; padding: 96px 0 72px; filter: drop-shadow(0 34px 34px #0000008c); }
/* 切り抜きの瓶は視差で拡大しない（拡大すると余白を越えて、パンくずや見出しに重なる） */
.product-hero--bottle .product-hero-image.fx-parallax { --fx-rest-scale: 1; scale: 1; translate: none; }
.product-hikari .product-hero--bottle .product-hero-image { padding: 140px 5% 120px; }
.product-hero--bottle .product-hero-shade { background: radial-gradient(ellipse 22% 5% at 28% 90%, #00000080, transparent 70%), linear-gradient(90deg, transparent 52%, #0000001a); }
.product-hoshi .product-hero--bottle::before { background:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 64%, #fffc 60%, transparent),
  radial-gradient(1.2px 1.2px at 38% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 47% 38%, #fff9 60%, transparent),
  radial-gradient(1.4px 1.4px at 8% 82%, #fffd 60%, transparent), radial-gradient(1px 1px at 33% 88%, #fff9 60%, transparent),
  radial-gradient(1.6px 1.6px at 56% 22%, #fff 60%, transparent), radial-gradient(1px 1px at 64% 72%, #fffa 60%, transparent),
  radial-gradient(1.3px 1.3px at 78% 14%, #fffd 60%, transparent), radial-gradient(1px 1px at 88% 58%, #fff9 60%, transparent),
  radial-gradient(1.2px 1.2px at 94% 30%, #fffc 60%, transparent), radial-gradient(1px 1px at 70% 92%, #fff8 60%, transparent),
  radial-gradient(ellipse 36% 54% at 30% 56%, #5b74ff3a, transparent 70%), linear-gradient(180deg, #070c22, var(--product-night) 60%, #101a3c); }
.product-nanakisei .product-hero--bottle::before { background:
  radial-gradient(ellipse 36% 52% at 30% 56%, #d8bb7226, transparent 70%),
  linear-gradient(180deg, #0a1322, var(--product-night) 55%, #142640); }
.product-umeharuka .product-hero--bottle::before { background: radial-gradient(ellipse 34% 52% at 30% 56%, #ffb46a2e, transparent 70%), linear-gradient(180deg, #1f1714, var(--product-night)); }
.product-hikari .product-hero--bottle::before { background: radial-gradient(ellipse 36% 52% at 30% 56%, #7fd8e63a, transparent 70%), linear-gradient(180deg, #0f191d, var(--product-night) 60%, #183038); }

/* リニューアル予定 */
.product-badge { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border: 1px solid var(--product-accent); border-radius: 999px; font-size: 11px; letter-spacing: .12em; color: var(--product-accent); }
.product-badge-note { margin: 0 0 18px; padding: 14px 16px; border-left: 2px solid #b39a63; background: #ebe5d4; font-size: 12px; line-height: 1.9; color: #5d5a4d; }

/* 切り抜いたボトル：背景の色にそのままなじませる */
.product-spec-bottle { position: relative; display: block; width: fit-content; max-width: 100%; }
.product-spec-visual--cutout .product-spec-bottle > img { width: auto; max-width: 100%; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; height: 500px; padding: 12px 0 26px; filter: drop-shadow(0 22px 22px #2b241529); }
/* 接地の影は、枠ではなく瓶の画像を基準に置く（仕様表が長く枠が伸びても、瓶から離れない） */
.product-spec-visual--cutout .product-spec-bottle::after { content: ''; position: absolute; left: -16%; right: -16%; bottom: 22px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, #3d36222e, transparent); pointer-events: none; }
.product-serving figure.product-serving-bottle { display: grid; place-items: center; aspect-ratio: auto; height: 460px; margin: 0; border-radius: 4px;
  background: radial-gradient(ellipse 46% 56% at 50% 46%, #fffdf6, #efe9da 62%, #e6dfcb); }
.product-serving figure.product-serving-bottle img { width: auto; height: 86%; object-fit: contain; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 22px 20px #2b241533); }
.product-hoshi .product-serving figure.product-serving-bottle, .product-nanakisei .product-serving figure.product-serving-bottle {
  background: radial-gradient(ellipse 46% 56% at 50% 46%, #2b3b6b, var(--product-night) 70%); }

/* 写真のない「楽しみ方」：大きな文字の印と、飲み方のカードで組む */
.product-serving--text .product-serving-layout { grid-template-columns: .82fr 1.18fr; align-items: center; }
.product-serving-mark { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; gap: 3.5cqi; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; text-align: center; color: var(--product-accent); container-type: inline-size; }
.product-serving-mark::before, .product-serving-mark-ring { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid currentColor; opacity: .55; }
.product-serving-mark-ring { inset: 9%; border-style: dashed; opacity: .35; }
.product-serving-mark::after { content: ''; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, currentColor 16%, transparent), transparent 66%); z-index: -1; }
.product-serving-mark strong { position: relative; max-width: 80%; font-family: var(--fx-mincho, serif); font-weight: 400; font-size: clamp(52px, 6.4vw, 92px); font-size: 19cqi; line-height: 1.15; letter-spacing: .04em; word-break: keep-all; }
.product-serving-mark--long strong { font-size: 14cqi; }
.product-serving-mark small { position: relative; max-width: 66%; font-size: 12px; font-size: clamp(10px, 3.6cqi, 12px); line-height: 1.8; letter-spacing: .08em; word-break: keep-all; overflow-wrap: anywhere; color: inherit; opacity: .85; }
.product-serving-mark-x { display: block; margin: .08em 0; font-size: .46em; font-weight: 300; line-height: 1.3; opacity: .7; }
.product-serving--text .product-serving-styles li { background: #fbf8f0; }

/* 飲み方の提案（チラシの3つの飲み方） */
.product-serving-styles { list-style: none; margin: 26px 0 8px; padding: 0; display: grid; gap: 10px; }
.product-serving-styles li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 20px; border: 1px solid #d3cbb5; background: #fbf8f0; color: #2f3a30; }
.product-serving-style-index { grid-row: 1 / 3; font-family: var(--fx-latin, Georgia, serif); font-size: 22px; line-height: 1; color: #a48b58; font-variant-numeric: lining-nums; font-feature-settings: normal; }
.product-serving-styles strong { font-family: var(--fx-mincho, serif); font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.product-serving-styles p { margin: 6px 0 0; font-size: 12px; line-height: 2; color: #5f6157; }
.product-serving-copy > h2 { word-break: auto-phrase; }

/* おすすめの料理 */
.product-dishes { padding: 70px 0 30px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px 8%; align-items: start; }
.product-dishes-heading { grid-row: 1 / 3; }
.product-dishes-heading h2 { margin: 14px 0 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; line-height: 1.7; letter-spacing: .05em; }
.product-dishes-heading > p:last-child { font-size: 12px; color: #6d6e62; }
.product-dishes-featured { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-dishes-featured li { padding: 22px 20px; background: var(--product-night); color: #f3ead7; }
.product-dishes-featured small { display: block; font-size: 10px; letter-spacing: .06em; color: var(--product-accent); margin-bottom: 8px; }
.product-dishes-featured strong { font-family: var(--fx-mincho, serif); font-size: 18px; font-weight: 500; letter-spacing: .05em; }
.product-dishes-more-label { margin-bottom: 12px; font-size: 11px; letter-spacing: .08em; color: #807559; }
.product-dishes-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-dishes-more li { padding: 9px 14px; border: 1px solid #cfc7b1; border-radius: 999px; font-size: 12px; color: #4f5448; background: #fbf8f0; }

/* 名前の由来・飲めるお店（ポップアップ） */
.product-story-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 6px; }
.product-story-button { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; padding: 10px 18px 10px 20px; border: 1px solid #9c8859; border-radius: 999px; background: #fbf7ee; color: #2f3a30; font-size: 13px; letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.product-story-button:hover, .product-story-button:focus-visible { background: #2b4032; border-color: #2b4032; color: #fff8e7; }
.product-story-button > span:last-child { font-size: 16px; line-height: 1; }
.product-dialog { width: min(720px, calc(100% - 40px)); max-height: min(86svh, 860px); padding: 0 56px 48px; border: 0; background: #f5f1e8; color: #2f3730; overflow: auto; box-shadow: 0 30px 90px #0007; }
.product-dialog::backdrop { background: #0a120ed1; backdrop-filter: blur(6px); }
.product-dialog[open] { animation: product-dialog-in .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes product-dialog-in { from { opacity: 0; transform: translateY(24px); } }
.product-dialog h2 { margin: 14px 0 22px; font-family: var(--fx-mincho, serif); font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.6; letter-spacing: .06em; }
.product-dialog-body p { margin: 0 0 16px; font-size: 14px; line-height: 2.1; color: #4c5047; }
.product-dialog-list { margin: 6px 0 22px; padding: 18px 22px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; background: #ebe5d5; counter-reset: wing; }
.product-dialog-list li { counter-increment: wing; font-size: 13px; line-height: 1.8; color: #3d4337; }
.product-dialog-list li::before { content: counter(wing) '枚目　'; font-size: 10px; color: #8d7647; letter-spacing: .06em; }
.product-dialog-note { font-size: 11px !important; color: #7a7a6c !important; }
.product-dialog-link { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; margin-top: 6px; padding: 10px 22px; background: #2b4032; color: #fff8e7; font-size: 13px; letter-spacing: .04em; text-decoration: none; }
.product-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; margin: 0 -56px 6px; padding: 14px 18px 18px; background: linear-gradient(#f5f1e8 72%, #f5f1e800); }
.product-dialog-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #b9ae92; border-radius: 999px; background: #f5f1e8; color: #3d4337; font-size: 12px; cursor: pointer; }
.product-dialog-close > span:first-child { font-size: 18px; line-height: 1; }
.product-dialog :is(a, button):focus-visible, .product-story-button:focus-visible { outline: 2px solid #b9975b; outline-offset: 4px; }

@media (max-width: 1100px) {
  .product-dishes { grid-template-columns: 1fr; }
  .product-dishes-heading { grid-row: auto; }
}
@media (max-width: 767px) {
  /* 瓶はパンくずの下から始め、瓶の影の下から銘柄名の段を始める */
  .product-hero--bottle .product-hero-image { inset: 0 0 auto 0; width: 100%; height: 440px; padding: 84px 0 20px; }
  .product-hikari .product-hero--bottle .product-hero-image { padding: 96px 14% 30px; }
  .product-nanakisei .product-hero--bottle::before { background: radial-gradient(ellipse 62% 28% at 50% 24%, #d8bb7226, transparent 70%), linear-gradient(180deg, #0a1322, var(--product-night) 55%, #142640); }
  .product-umeharuka .product-hero--bottle::before { background: radial-gradient(ellipse 62% 28% at 50% 24%, #ffb46a2e, transparent 70%), linear-gradient(180deg, #1f1714, var(--product-night)); }
  .product-hikari .product-hero--bottle::before { background: radial-gradient(ellipse 62% 28% at 50% 24%, #7fd8e63a, transparent 70%), linear-gradient(180deg, #0f191d, var(--product-night) 60%, #183038); }
  .product-hoshi .product-hero--bottle::before { background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 64%, #fffc 60%, transparent),
    radial-gradient(1.2px 1.2px at 38% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 47% 38%, #fff9 60%, transparent),
    radial-gradient(1.4px 1.4px at 8% 82%, #fffd 60%, transparent), radial-gradient(1px 1px at 33% 88%, #fff9 60%, transparent),
    radial-gradient(1.6px 1.6px at 56% 22%, #fff 60%, transparent), radial-gradient(1px 1px at 64% 72%, #fffa 60%, transparent),
    radial-gradient(1.3px 1.3px at 78% 14%, #fffd 60%, transparent), radial-gradient(1px 1px at 88% 58%, #fff9 60%, transparent),
    radial-gradient(1.2px 1.2px at 94% 30%, #fffc 60%, transparent), radial-gradient(1px 1px at 70% 92%, #fff8 60%, transparent),
    radial-gradient(ellipse 62% 28% at 50% 24%, #5b74ff3a, transparent 70%), linear-gradient(180deg, #070c22, var(--product-night) 60%, #101a3c); }
  /* 背景は切り抜きの瓶なので、夜の色へなじませる帯は要らない。床の影だけを瓶の足元に置く。 */
  .product-hero--bottle .product-hero-shade { height: 440px; background: radial-gradient(ellipse 30% 4% at 50% 95%, #00000070, transparent 70%); }
  .product-hero--bottle .product-hero-layout { padding-top: 460px; }
  .product-spec-visual--cutout .product-spec-bottle > img { height: 330px; }
  .product-serving figure.product-serving-bottle { height: 360px; }
  .product-serving--text .product-serving-layout { grid-template-columns: 1fr; align-items: stretch; }
  .product-serving-mark { width: min(78%, 280px); }
  .product-serving-styles li { padding: 16px; }
  .product-dishes { padding: 50px 0 20px; }
  .product-dishes-featured { grid-template-columns: 1fr; }
  .product-dialog { padding: 0 22px 32px; width: calc(100% - 24px); }
  .product-dialog-bar { margin: 0 -22px 2px; padding: 10px 10px 14px; }
  .product-dialog-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .product-dialog[open] { animation: none; }
  .product-story-button { transition: none; }
}

/* ==========================================================================
   2026-10-18 細部の見直し：冒頭の読みやすさ、演出の細部、折り返し
   ========================================================================== */
/* パンくず：写真や瓶の上でも読めるよう、文字の下に薄い影を敷く */
.product-hero:not(.product-hero--light) .product-breadcrumb { text-shadow: 0 1px 6px #000c, 0 0 2px #000a; }

/* 長崎紅芋：刺身の皿が文字の段の真下に来るので、影を手前から濃くして文字を暗い面に乗せる */
@media (min-width: 768px) {
  .product-imo .product-hero-shade { background: linear-gradient(90deg,#0c100b0a 15%,#0c100b12 30%,color-mix(in srgb,var(--product-night) 45%,transparent) 42%,color-mix(in srgb,var(--product-night) 72%,transparent) 50%,color-mix(in srgb,var(--product-night) 86%,transparent) 56%,color-mix(in srgb,var(--product-night) 94%,transparent) 62%,color-mix(in srgb,var(--product-night) 98.5%,transparent) 68%,var(--product-night) 74%),linear-gradient(180deg,#0c100bb0 0,transparent 150px,transparent 72%,#0c100b70); }
}

/* 切り抜きの瓶：登場の演出のあとも、足元の影（drop-shadow）を残す */
html.fx .product-hero--bottle .product-hero-image { animation-name: fx-hero-settle-bottle; }
@keyframes fx-hero-settle-bottle {
  from { scale: 1.3; filter: brightness(.4) drop-shadow(0 34px 34px #0000008c); }
  to { scale: var(--fx-rest-scale, 1); filter: brightness(1) drop-shadow(0 34px 34px #0000008c); }
}

/* 「この一杯の、物語へ」：丸の中で入れ替わる矢印を丸の外まで逃がし、上端から2本目がのぞかないようにする */
.product-hero-action > .fx-arrow[data-dir] > span + span { transform: translateY(-200%); }
.product-hero-action:is(:hover, :focus-visible) > .fx-arrow[data-dir] > span:first-child { transform: translateY(200%); }
.product-hero-action:is(:hover, :focus-visible) > .fx-arrow[data-dir] > span + span { transform: none; }

/* 冒頭の下の帯：画面の下端近くにあり、スクロールの判定を待つと最初の画面で欠けるため、冒頭の登場に続けて出す */
@media (min-width: 768px) {
  html.fx .product-hero .product-hero-foot.fx-fade:not(.fx-done) { animation: fx-rise 1.3s var(--fx-ease) 1.1s both; }
}

/* 原料写真の飾り枠：写真の幕が上がりきってから、静かに現れる（途中で切れた枠を見せない） */
.product-material::before { transition: opacity .9s var(--fx-ease, ease), translate .9s var(--fx-ease, ease); }
html.fx .product-material:not(.fx-done)::before { opacity: 0; translate: -10px 10px; }

/* 楽しみ方：飲み方のカードで右の段が長い銘柄は、写真（印）を上にそろえ、読み進める間も横に残す */
@media (min-width: 768px) {
  .product-serving-layout:has(.product-serving-styles) { align-items: start; }
  .product-serving-layout:has(.product-serving-styles) > :is(figure, .product-serving-mark) { position: sticky; top: 168px; }
}

/* 文節で折り返せないブラウザ（Safari など）：生成時に入れた <wbr> と句読点の位置だけで折り返す */
@supports not (word-break: auto-phrase) {
  .product-page :is(main, dialog) :is(h1, h2, h3, p, li, dd, figcaption, small, strong) { word-break: keep-all; overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  /* 場面写真の冒頭：視差の拡大をやめ、瓶の位置を安定させる。文字は瓶の下の暗い面から始める。 */
  .product-hero-image.fx-parallax { --fx-rest-scale: 1; scale: 1; translate: none; }
  .product-hero--scene .product-hero-layout { padding-top: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-material::before { transition: none; }
}
