/* HydroLog home v4 — light, static, one layout for all six locales. */
:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #15191c;
  --muted: #5c656b;
  --line: #e1e5e9;
  --water: #1f8fb5;
  --water-ink: #136f8f;
  --water-soft: #e8f3f6;
  --free-bg: #e7f4ec;
  --free-ink: #256b4c;
  --member-bg: #fbf1de;
  --member-ink: #7a4f0f;
  --radius-card: 20px;
  --shadow-card: 0 40px 80px -40px rgba(18, 32, 31, .35);
  --accent: #d8643c;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif KR", "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Microsoft YaHei", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--water-ink); }
a:active { opacity: .8; }
h1, h2, h3, p { margin: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus-visible { top: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(243, 245, 247, .88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; max-width: 1120px; height: 64px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: rgba(18, 32, 31, .05); }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; color: var(--muted); }
.lang ul { position: absolute; right: 0; top: 48px; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(18, 32, 31, .12); }
.lang li a, .lang li span { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 14px; text-decoration: none; }
.lang li a:hover { background: var(--bg); }
.lang li span { color: var(--water-ink); font-weight: 600; }
.head-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.head-cta:hover { background: #24403e; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .32em; }
.h1-brand { display: block; margin-top: 18px; font-family: var(--serif); font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.h1-line { display: block; margin-top: 20px; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.4; }
.rule { display: block; width: 40px; height: 2px; margin-top: 24px; background: var(--accent); }
.lede { max-width: 28em; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.store-link { display: inline-flex; line-height: 0; border-radius: 10px; transition: opacity .2s; }
.store-link img { width: auto; height: 52px; }
a.store-link:hover { opacity: .85; }
.store-link:active { opacity: .7; }
.store-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.hero-art { justify-self: center; width: 100%; max-width: 330px; }
.hero-card, .phone { padding: 10px; border-radius: 48px; background: #101214; box-shadow: 0 50px 90px -40px rgba(21, 25, 28, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-card img, .phone img { width: 100%; border-radius: 38px; background: #d9d6cf; }

/* Sections */
.sec { padding: 96px 0; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.sec h2 { max-width: 22em; margin-top: 12px; font-family: var(--serif); font-size: 38px; font-weight: 700; line-height: 1.3; }
.sec-p { max-width: 36em; margin-top: 14px; color: var(--muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.step-n { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.step h3 { display: grid; gap: 4px; margin: 14px 0 12px; }
.step-word { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.2; }
.step-cap { color: var(--muted); font-size: 15px; font-weight: 500; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.trust li { padding-top: 20px; border-top: 1px solid var(--ink); }
.trust h3 { font-size: 19px; font-weight: 600; }
.trust p { margin-top: 8px; color: var(--muted); }

.scenes-sec { background: var(--surface); }
.scenes-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 64px; }
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 560px; justify-self: end; }
.scene { margin: 0; }
.scene:nth-child(2) { margin-top: 64px; }
.scene figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }

.blist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.bottle-tile { display: grid; align-content: start; gap: 6px; height: 100%; padding: 12px 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.bottle-tile img { width: 100%; margin-bottom: 6px; border-radius: 14px; background: #e9eeef; }
.idx { color: var(--muted); font-size: 12px; font-weight: 600; }
.bottle-tile strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.tag { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tag-free { background: var(--free-bg); color: var(--free-ink); }
.tag-member { background: var(--member-bg); color: var(--member-ink); }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; }

.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.side-p { margin-top: 16px; color: var(--muted); }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1.1; }
.qa details[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--water-ink); }
.qa p { padding-bottom: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.final-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; padding: 64px 72px 0; overflow: hidden; border-radius: 32px; background: #e1e6ec; }
.final-copy { padding-bottom: 64px; }
.final-in h2 { margin: 0; }
.final-in p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.phone-final { justify-self: center; width: 100%; max-width: 280px; margin-bottom: -180px; }

/* Footer */
.fazier { margin-left: auto; line-height: 0; }
.fazier img { width: 160px; height: auto; }
.site-foot { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-tag { margin-top: 12px; color: var(--muted); font-size: 15px; }
.site-foot h3 { margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot-lang { margin-top: 28px; }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li a, .langs a, .langs span { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-size: 15px; text-decoration: none; }
.site-foot li a:hover, .langs a:hover { color: var(--water-ink); }
.langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.langs span { color: var(--water-ink); font-weight: 600; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 1024px) {
  .blist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 280px; }
  .h1-brand { font-size: 64px; }
  .h1-line { font-size: 22px; }
  .lede { font-size: 17px; }
  .sec { padding: 64px 0; }
  .sec h2 { font-size: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .scenes-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scenes { gap: 16px; justify-self: stretch; }
  .scene:nth-child(2) { margin-top: 40px; }
  .blist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .final-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 24px 0; border-radius: 24px; text-align: center; }
  .final-copy { padding-bottom: 0; }
  .final-in .stores { justify-content: center; }
  .phone-final { max-width: 220px; margin-bottom: -120px; }
  .head-in { gap: 8px; }
  .nav-toggle { display: block; order: 4; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .lang { margin-left: auto; }
}

@media (max-width: 480px) {
  .head-cta { display: none; }
  .h1-brand { font-size: 56px; }
  .store-link img { height: 46px; }
}

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