/* 046 みどり音 茶舗 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f3f1e7;
  --c-dark: #1d2b21;
  --c-main: #24402c;
  --c-btn: #2f5a37;
  --c-accent: #7a9a3a;
  --c-accent-text: #4d6b22;
  --c-on-dark: #c9d8a8;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #dcd8c6;
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-ja: "Shippori Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 2; letter-spacing: .04em; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.label { font-family: var(--font-en); font-style: italic; font-size: 20px; letter-spacing: .14em; color: var(--c-accent-text); margin-bottom: 12px; }
.label--light { color: var(--c-on-dark); }
.h2 { font-family: var(--font-ja); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.6; letter-spacing: .12em; color: var(--c-main); margin-bottom: 24px; }
.h2--light { color: #fff; }
/* E03：1文字ずつの span（JSが作る）。読み上げは元の見出しの aria-label で */
.blur-ch { display: inline-block; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none; letter-spacing: .1em; white-space: nowrap; flex: none; transition: background-color .3s; }
.btn--green { background: var(--c-btn); color: #fff; }
.btn--green:hover { background: var(--c-main); }
.btn--lg { min-height: 60px; padding: 0 44px; font-size: 17px; margin-top: 32px; }

/* 区切りの縁（墨のにじみ・ちぎれ紙）。色は区切りごとに --edge で決める */
.edge { position: absolute; left: 0; width: 100%; height: 36px; fill: var(--edge, var(--c-bg)); pointer-events: none; z-index: 2; }
.edge--bottom { bottom: -1px; }
.edge--top { top: -1px; transform: scaleY(-1); }
@media (min-width: 900px) { .edge { height: 60px; } }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(243, 241, 231, .95); color: var(--c-main); transition: background-color .4s, color .4s; }
/* JSがあるときだけ、写真の上では透明・白い文字にする（JSなしでも読めるように） */
.header.is-top { background: transparent; color: #fff; }
.header__inner { display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 12px 0 20px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; white-space: nowrap; flex: none; }
.logo__ja { font-family: var(--font-ja); font-weight: 700; font-size: 20px; letter-spacing: .14em; }
.logo__en { font-family: var(--font-en); font-style: italic; font-size: 17px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (max-width: 599px) { .logo__en { display: none; } .header__btn { display: none; } .spmenu { margin-left: auto; } }
@media (min-width: 1080px) {
  .header__inner { height: 84px; padding: 0 40px; gap: 32px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; letter-spacing: .1em; text-decoration: none; }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); padding: 8px 20px 24px; display: flex; flex-direction: column; box-shadow: 0 16px 32px rgba(0, 0, 0, .12); }
.spmenu__nav a { display: flex; align-items: center; min-height: 54px; font-family: var(--font-ja); font-size: 17px; color: var(--c-main); text-decoration: none; border-bottom: 1px solid var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①：メインビジュアル ===== */
.hero { position: relative; height: 100svh; min-height: 600px; background: var(--c-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 22, .45) 0, rgba(20, 32, 22, 0) 140px), linear-gradient(270deg, rgba(20, 32, 22, .62) 0%, rgba(20, 32, 22, .2) 55%, rgba(20, 32, 22, 0) 100%); }
.hero__copy { position: absolute; z-index: 1; top: calc(50% + 34px); right: max(20px, 8vw); transform: translateY(-50%); display: flex; flex-direction: row-reverse; gap: 24px; align-items: flex-start; color: #fff; }
.hero__title { writing-mode: vertical-rl; font-family: var(--font-ja); font-weight: 500; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.6; letter-spacing: .16em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero__lead { writing-mode: vertical-rl; font-family: var(--font-ja); font-size: 17px; line-height: 2.2; letter-spacing: .16em; padding-top: 4em; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

/* ===== ごあいさつ（ちぎれ紙の形に切り抜いた写真） ===== */
.about { padding: 72px 20px 120px; }
.about__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 48px; align-items: center; }
.about__text p + p { margin-top: 16px; }
.about__photo { clip-path: polygon(2% 4%, 14% 1%, 27% 3.5%, 41% 0.5%, 55% 3%, 70% 1%, 84% 4%, 98% 1.5%, 99.5% 18%, 97.5% 36%, 100% 55%, 98% 74%, 99.5% 92%, 86% 98.5%, 71% 96%, 56% 99.5%, 40% 97%, 25% 99.5%, 10% 96.5%, 0.5% 98%, 2% 80%, 0% 62%, 2.5% 44%, 0.5% 25%); background: var(--c-line); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .about { padding: 120px 48px 180px; }
  .about__inner { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}

/* ===== 演出② B04：全画面の写真の中の小窓 ===== */
.teas { position: relative; background: var(--c-dark); color: #eef3e4; }
.teas__head { position: relative; z-index: 2; padding: 96px 20px 24px; text-align: center; }
.teas__stage { position: relative; padding: 0 20px 96px; }
.teas__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
/* 写真の上に暗い幕（写真より後ろに描く ::after で。前の ::before は写真の下に隠れていた） */
.teas__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 32, 22, .35), rgba(20, 32, 22, .7)); }
.tea__text { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.tea { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; max-width: 880px; margin: 0 auto; padding: 40px 0; }
.tea + .tea { border-top: 1px solid rgba(201, 216, 168, .3); }
.tea__window { width: min(72vw, 400px); aspect-ratio: 1; overflow: hidden; border-radius: 50% 50% 4px 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); background: var(--c-main); }
.tea__window img { width: 100%; height: 100%; object-fit: cover; }
.tea__text { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; align-items: start; max-width: 520px; }
.tea__name { grid-row: span 3; writing-mode: vertical-rl; font-family: var(--font-ja); font-weight: 700; font-size: clamp(34px, 4vw, 48px); letter-spacing: .3em; color: #fff; line-height: 1.2; }
.tea__words { font-family: var(--font-ja); font-size: 20px; line-height: 1.8; color: var(--c-on-dark); }
.tea__desc { font-size: 16px; color: #eef3e4; }
.tea__price { font-size: 15px; color: var(--c-on-dark); }
.teas__count { display: none; }
@media (min-width: 900px) {
  .tea { grid-template-columns: .7fr auto 1.3fr; align-items: center; gap: 56px; max-width: 1160px; }
  .tea__text { max-width: 400px; }
  .tea__window { grid-column: 2; width: min(38vw, 440px); }
  .tea__text { grid-column: 3; grid-row: 1; }
}
/* 動く版：画面を止め、外の写真はそのまま、小窓と言葉だけ入れ替える */
.is-motion .teas__stage { height: 100vh; padding: 0; overflow: hidden; display: grid; place-items: center; }
.is-motion .teas__head { position: absolute; left: 0; right: 0; top: 0; padding-top: 104px; z-index: 3; }
.is-motion .tea { position: absolute; inset: 0; margin: auto; padding: 0; height: max-content; border: 0; }
.is-motion .teas__count { display: block; position: absolute; z-index: 3; right: 24px; bottom: 32px; font-family: var(--font-ja); font-size: 20px; letter-spacing: .2em; color: #fff; }
@media (max-width: 899px) {
  .is-motion .tea { gap: 16px; padding-top: 120px; }
  .is-motion .tea__window { width: min(58vw, 46svh); }
}

/* ===== 淹れ方 ===== */
.brew { position: relative; --edge: var(--c-dark); padding: 120px 20px; }
.brew__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 40px; }
.steps { display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: #fff; padding: 24px; border-radius: 4px; }
.steps__no { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-accent); font-family: var(--font-ja); font-weight: 700; font-size: 22px; color: var(--c-accent-text); }
.steps h3 { font-family: var(--font-ja); font-weight: 700; font-size: 19px; color: var(--c-main); }
@media (min-width: 900px) { .brew { padding: 160px 48px; } .brew__inner { grid-template-columns: 1fr 1.3fr; gap: 80px; } }

/* ===== 贈りもの（上下ちぎれ紙） ===== */
.gift { position: relative; --edge: var(--c-bg); background: var(--c-dark); color: #eef3e4; padding: 112px 20px; }
.gift__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 40px; align-items: center; }
.gift__photo { clip-path: polygon(0 3%, 20% 0, 45% 2.5%, 70% 0.5%, 100% 2%, 98.5% 50%, 100% 97%, 75% 100%, 50% 97.5%, 25% 100%, 0 98%, 1.5% 50%); }
.gift__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sets { display: grid; gap: 12px; margin-top: 28px; }
.sets li { border: 1px solid rgba(201, 216, 168, .4); padding: 18px 22px; }
.sets h3 { font-family: var(--font-ja); font-weight: 700; font-size: 19px; color: #fff; }
.sets p { color: var(--c-on-dark); }
@media (min-width: 900px) { .gift { padding: 160px 48px; } .gift__inner { grid-template-columns: 1.2fr 1fr; gap: 72px; } }

/* ===== お店 ===== */
.shop { padding: 120px 20px; }
.shop__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 40px; align-items: center; }
.shop__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 4px 4px; }
.info { margin-top: 24px; }
.info div { display: grid; grid-template-columns: 4.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.info dt { font-family: var(--font-ja); font-weight: 700; color: var(--c-main); }
@media (min-width: 900px) { .shop { padding: 160px 48px; } .shop__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ===== フッター ===== */
.footer { background: var(--c-dark); color: var(--c-on-dark); padding: 72px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-ja); font-weight: 700; font-size: 26px; letter-spacing: .24em; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 20px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
