/* ============================================================
   OKAESHI LP — 藍(noren indigo) × 生成り(washi) × 朱(vermilion)
   Display: Zen Old Mincho / Body: Zen Kaku Gothic New
   ============================================================ */

:root {
  --kon:      #1B2B47;
  --kon-deep: #121F36;
  --ai:       #2A4570;
  --kinari:   #F6F3EB;
  --shu:      #C8402E;
  --shu-dark: #A93526;
  --kin:      #E3A73C;
  --sumi:     #23293A;
  --sumi-soft:#5A6172;
  --kinu:     #F4F1E8;
  --line:     #E2DDD0;
  --card:     #FFFFFF;
  --radius:   14px;
  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--sumi);
  background: #fff;
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--kin); outline-offset: 2px; }
.btn-cta {
  background: linear-gradient(135deg, #D8503A, var(--shu) 45%, var(--shu-dark));
  color: #fff;
  box-shadow: 0 10px 26px rgba(200,64,46,.35), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-cta:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(200,64,46,.42), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { border: 1.5px solid rgba(244,241,232,.55); color: var(--kinu); }
.btn-ghost:hover { border-color: var(--kinu); background: rgba(244,241,232,.08); }
.btn-header { padding: 10px 22px; font-size: 13.5px; }
.btn-contact {
  background: #fff; color: var(--shu); font-size: 17px; padding: 16px 44px;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.btn-contact:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27,43,71,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(244,241,232,.12);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900; font-size: 22px; letter-spacing: 0.14em;
  color: var(--kinu); text-decoration: none;
}
.logo-yomi {
  font-family: var(--font-body); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.3em;
  color: rgba(244,241,232,.6); margin-left: 10px; vertical-align: 2px;
}
.global-nav { margin-left: auto; display: flex; gap: 24px; }
.global-nav a {
  color: rgba(244,241,232,.85); text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em;
}
.global-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* 実写（夜の提灯路地）を最背面に敷き、藍でほぼ沈めて質感だけ残す */
  background:
    repeating-radial-gradient(circle at 6% 118%, rgba(227,167,60,.075) 0 1.5px, transparent 1.5px 54px),
    repeating-radial-gradient(circle at 96% -20%, rgba(244,241,232,.05) 0 1px, transparent 1px 72px),
    radial-gradient(1100px 600px at 85% -10%, rgba(42,69,112,.55), transparent 60%),
    linear-gradient(180deg, rgba(27,43,71,.9), rgba(18,31,54,.95)),
    url("../img/hero-alley.jpg") center 30%/cover no-repeat var(--kon-deep);
  color: var(--kinu);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 84px 24px 96px;
  display: grid; grid-template-columns: 1fr 440px; gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--kin); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.55; letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.marked { color: var(--kin); }
.hero-lead {
  font-size: 16px; line-height: 2.1;
  color: rgba(244,241,232,.88);
  max-width: 34em; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: rgba(244,241,232,.6); letter-spacing: 0.04em; }

.hero-copy { animation: rise .7s ease both; }
.hero-demo { animation: rise .7s .15s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Demo card (signature) — Googleクチコミ画面の再現 ---------- */
.hero-demo { position: relative; }
.hero-demo::before {
  content: ""; position: absolute; inset: -48px -56px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227,167,60,.16), transparent 72%);
  filter: blur(4px);
}
.demo-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(8,14,28,.55), 0 3px 10px rgba(8,14,28,.25);
  padding: 20px 20px 18px;
}
.gcard {
  font-family: Roboto, "Segoe UI", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #202124;
  line-height: 1.6;
}
.demo-lang-chip {
  position: absolute; top: -13px; right: 22px;
  background: var(--kon); color: var(--kinu);
  border: 1px solid rgba(244,241,232,.25);
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 999px;
}
.g-place-name { font-size: 15px; font-weight: 700; }
.g-place-rating { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.g-rating-num { font-size: 19px; font-weight: 400; }
.g-stars { color: #FBBC04; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.g-star-off { color: #DADCE0; }
.g-meta { font-size: 12px; color: #70757A; }
.g-chips { display: flex; gap: 8px; margin-top: 12px; }
.g-chip {
  font-size: 12px; color: #3C4043;
  border: 1px solid #DADCE0; border-radius: 8px;
  padding: 4px 12px; white-space: nowrap;
}
.g-chip-on { background: #E8F0FE; border-color: #E8F0FE; color: #1967D2; font-weight: 500; }
.g-divider { border-top: 1px solid #E8EAED; margin: 12px -20px 14px; }
.g-review { display: flex; align-items: center; gap: 12px; }
.g-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #5C6BC0; color: #fff;
  display: grid; place-items: center;
  font-weight: 500; font-size: 17px;
}
.g-review-head { min-width: 0; }
.g-name { font-weight: 500; font-size: 14px; }
.g-more { margin-left: auto; color: #5F6368; font-size: 16px; align-self: flex-start; }
.g-starline { display: flex; align-items: center; gap: 8px; margin: 8px 0 6px; }
.g-text { font-size: 13.5px; line-height: 1.7; }
.g-reply {
  background: #F8F9FA; border-radius: 8px;
  padding: 12px 14px 11px; margin-top: 14px;
}
.g-reply-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.g-owner-avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #E8EAED url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239AA0A6'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center/62% no-repeat;
}
.g-owner-name { font-weight: 500; font-size: 13px; }
.g-reply-text { min-height: 8em; }
.caret {
  display: inline-block; width: 2px; height: 1.05em;
  background: var(--shu); vertical-align: -0.15em; margin-left: 1px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.demo-caption {
  margin-top: 14px; font-size: 12px; text-align: center;
  color: rgba(244,241,232,.55);
}

/* ---------- Sections (common) ---------- */
.section { padding: 96px 0; }
.section-kinari { background: var(--kinari); }
.section-kon { background: var(--kon); color: var(--kinu); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.26em;
  color: var(--shu); margin-bottom: 14px;
}
.section-eyebrow-light { color: var(--kin); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(25px, 3.2vw, 34px);
  letter-spacing: 0.03em; line-height: 1.6;
  margin-bottom: 26px;
}
.section-title::after {
  content: ""; display: block; width: 58px; height: 2px; margin-top: 16px;
  background: linear-gradient(90deg, var(--kin), rgba(227,167,60,.15));
}
.section-title-light { color: var(--kinu); }
.section-contact .section-title::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, rgba(227,167,60,.15), var(--kin), rgba(227,167,60,.15)); }
.section-lead { max-width: 40em; color: var(--sumi-soft); margin-bottom: 48px; }

/* reveal on scroll (JSが有効なときだけ隠す。無効時は常時表示) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  position: relative; overflow: hidden;
  background: var(--card); border-radius: var(--radius);
  padding: 28px 24px 26px; border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(27,43,71,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--shu), var(--kin));
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(27,43,71,.13); }
.problem-label {
  font-weight: 700; font-size: 15px; margin-bottom: 16px;
  color: var(--kon);
}
.problem-sample {
  background: var(--kinari); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 16px;
}
.problem-stars { color: var(--kin); letter-spacing: 2px; font-size: 14px; margin-bottom: 4px; }
.problem-quote { font-size: 13px; line-height: 1.75; color: #3A4152; }
.problem-quote-empty { color: #9AA0AE; }
.problem-quote-dup {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; margin-bottom: 8px; font-size: 12px; color: #6A7080;
}
.problem-status { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--shu); }
.problem-desc { font-size: 13.5px; line-height: 1.9; color: var(--sumi-soft); }
.problem-turn {
  margin-top: 52px; text-align: center;
  font-size: 17px; line-height: 2.2;
}
.problem-turn strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; color: var(--shu);
}

/* ---------- Features ---------- */
.spotlight {
  display: flex; align-items: stretch; gap: 18px;
  background: var(--kon); color: var(--kinu);
  border-radius: var(--radius);
  padding: 34px 36px; margin-bottom: 56px;
}
.spotlight-step { flex: 1; }
.spotlight-step-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; margin-bottom: 8px; color: var(--kin);
}
.spotlight-step p:not(.spotlight-step-title) { font-size: 13.5px; color: rgba(244,241,232,.85); }
.spotlight-arrow { align-self: center; color: var(--shu); font-size: 22px; font-weight: 700; }
.feature-group { margin-bottom: 60px; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-name {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--kon);
  margin-bottom: 26px; line-height: 1.5;
}
.fg-stamp {
  flex: none; display: inline-block;
  background: radial-gradient(circle at 30% 25%, #D8503A, var(--shu) 55%, var(--shu-dark));
  color: #fff;
  font-size: 18px; letter-spacing: 0.14em; text-indent: 0.14em;
  padding: 8px 16px; border-radius: 9px;
  box-shadow: 0 6px 16px rgba(200,64,46,.3), inset 0 0 0 1.5px rgba(255,255,255,.28);
  transform: rotate(-2deg);
}
.feature-group-sub {
  font-family: var(--font-body); font-weight: 500;
  font-size: 13px; color: var(--sumi-soft);
  letter-spacing: 0.04em;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: #FBFAF5;
  border: 1px solid var(--line); border-top: 2px solid var(--kon);
  border-radius: 0 0 10px 10px;
  padding: 18px 20px 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(27,43,71,.1); }
.feature h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 13px; line-height: 1.85; color: var(--sumi-soft); }

/* ---------- 被らない仕組み（3軸＋1） ---------- */
.uniq {
  margin-top: 40px;
  background: var(--kinari);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px 28px;
}
.uniq-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--kon); margin-bottom: 8px;
}
.uniq-lead { font-size: 13.5px; color: var(--sumi-soft); max-width: 46em; margin-bottom: 22px; }
.uniq-axes { display: flex; align-items: stretch; gap: 16px; }
.uniq-axis {
  flex: 1;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px;
}
.uniq-axis-label {
  font-size: 13px; font-weight: 700; color: var(--kon);
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.uniq-axis p:not(.uniq-axis-label) { font-size: 12.5px; line-height: 1.85; color: var(--sumi-soft); }
.uniq-plus {
  align-self: center; flex: none;
  color: var(--shu); font-size: 24px; font-weight: 700;
}
.uniq-axis-human { border: 1.5px solid var(--shu); }
.uniq-axis-human .uniq-axis-label { color: var(--shu); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px 26px;
  box-shadow: 0 6px 22px rgba(27,43,71,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(27,43,71,.12); }
.step-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 40px; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(160deg, var(--kin), var(--shu));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--shu);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p:not(.step-num) { font-size: 13.5px; color: var(--sumi-soft); }

/* ---------- Pricing ---------- */
.price-card {
  position: relative; overflow: hidden;
  max-width: 560px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, rgba(244,241,232,.09), rgba(244,241,232,.04));
  border: 1px solid rgba(227,167,60,.45);
  border-radius: var(--radius);
  padding: 46px 40px 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(244,241,232,.14);
}
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--kin), transparent);
}
.price-main {
  font-family: var(--font-display); font-weight: 900;
  font-size: 54px; line-height: 1.2; margin-bottom: 22px;
  color: #fff;
}
.price-num {
  background: linear-gradient(175deg, #F6E3B4, var(--kin) 60%, #C98B22);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-yen { font-size: 19px; font-weight: 700; color: rgba(244,241,232,.85); }
.price-tax { font-size: 13px; font-weight: 500; }
.price-points {
  list-style: none; text-align: left; max-width: 24em; margin: 0 auto 24px;
  font-size: 14px; color: rgba(244,241,232,.9);
}
.price-points li { padding-left: 1.4em; position: relative; margin-bottom: 8px; }
.price-points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--kin);
}
.price-monitor {
  font-size: 13px; color: var(--kin); font-weight: 700; margin-bottom: 24px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 4px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px;
  padding: 16px 8px; list-style: none; position: relative; padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--shu); }
.faq-item summary::after {
  content: "＋"; position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%); color: var(--shu); font-weight: 500;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 8px 20px; font-size: 14px; color: var(--sumi-soft); }

/* ---------- Company ---------- */
.company-lead { color: var(--sumi-soft); margin-bottom: 36px; max-width: 40em; }
.company-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.company-table th, .company-table td {
  text-align: left; padding: 14px 12px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.company-table th { width: 11em; font-weight: 700; color: var(--kon); white-space: nowrap; }
.company-table a { color: var(--shu); }

/* ---------- Contact ---------- */
.section-contact {
  position: relative;
  background:
    repeating-radial-gradient(circle at 88% 130%, rgba(227,167,60,.07) 0 1.5px, transparent 1.5px 54px),
    radial-gradient(800px 400px at 15% 110%, rgba(200,64,46,.4), transparent 60%),
    var(--kon-deep);
  text-align: center; color: var(--kinu);
}
.section-contact::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-contact .container { position: relative; z-index: 1; }
.contact-lead {
  max-width: 34em; margin: 0 auto 32px;
  color: rgba(244,241,232,.85); font-size: 15px;
}
.contact-mail {
  margin-top: 16px; font-size: 13.5px; letter-spacing: 0.05em;
  color: rgba(244,241,232,.6);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--kon-deep); color: rgba(244,241,232,.7); }
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 44px 24px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: 0.14em; font-size: 17px; color: var(--kinu);
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 12.5px; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin-left: auto; font-size: 12px; }
.footer-credit { width: 100%; font-size: 10.5px; color: rgba(244,241,232,.35); }
.footer-credit a { color: inherit; }

/* ---------- Legal pages ---------- */
.legal-main { background: var(--kinari); padding: 72px 0 96px; }
.legal-article {
  max-width: 780px; margin: 0 auto; padding: 0 24px;
}
.legal-article h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; margin-bottom: 10px;
}
.legal-updated { font-size: 12.5px; color: var(--sumi-soft); margin-bottom: 44px; }
.legal-article h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; margin: 40px 0 12px;
  padding-left: 14px; border-left: 3px solid var(--shu);
}
.legal-article p, .legal-article li { font-size: 14px; color: #3A4152; }
.legal-article ul, .legal-article ol { padding-left: 1.6em; margin: 8px 0; }
.legal-article table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal-article th, .legal-article td {
  text-align: left; padding: 12px; border: 1px solid var(--line);
  background: #fff; vertical-align: top;
}
.legal-article th { width: 13em; background: #FBF9F3; font-weight: 700; color: var(--kon); }

/* ============================================================
   暖簾の開幕演出（norenshut のときだけ表示。開くまでスクロールを錠する）
   6枚の藍染パネル。紋と縦書きは各パネル内の「100vw幅の絵」をずらして重ね、
   パネルが動くと絵ごと裂ける。竿・裾の不揃い・裾下から漏れる店明かりまで作る。
   ============================================================ */
.noren {
  display: none; position: fixed; inset: 0; z-index: 200;
  --pw: calc((100vw - 10px) / 6);
  background:
    radial-gradient(58% 24% at 50% 100%, rgba(227,167,60,.3), rgba(227,167,60,0) 72%),
    linear-gradient(180deg, #0B1322, #0E1830);
}
html.norenshut .noren, html.noren-open .noren { display: block; }
html.norenshut, html.norenshut body {
  overflow: hidden; height: 100%; touch-action: none; overscroll-behavior: none;
}
/* ヒーローは暖簾の裏で先に立ち上げておく（幕が開いたら舞台は整っている方式。
   開くまで待たせる作りは、開いた直後に一瞬空白が見える競合があり採用しない） */
html.noren-open .noren {
  pointer-events: none;
  animation: noren-away .6s cubic-bezier(.55,.08,.25,1) .82s forwards;
}
.noren::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.noren-rod {
  position: absolute; top: 26px; left: -2vw; right: -2vw; height: 13px; border-radius: 7px; z-index: 3;
  background: linear-gradient(180deg, #8A6134, #5C3D1E 55%, #3A2512);
  box-shadow: 0 3px 9px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2);
}
.noren-panels {
  position: absolute; top: 34px; left: 0; right: 0; bottom: 0;
  display: flex; gap: 2px; z-index: 2;
  /* パネルの隙間と裾下に、店内の明かりがにじむ */
  background: linear-gradient(180deg, rgba(227,167,60,0) 42%, rgba(227,167,60,.16));
}
.noren-p {
  position: relative; flex: none; width: var(--pw); height: 100%;
  overflow: hidden; transform-origin: 50% 0; will-change: transform;
  background:
    linear-gradient(180deg, rgba(0,0,0,.2) 0 11px, rgba(0,0,0,0) 11px),
    linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,0) 14% 86%, rgba(0,0,0,.3)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.02) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #263C64 0%, #1B2B47 46%, #14213A 100%);
  box-shadow: inset 0 -16px 20px -14px rgba(0,0,0,.42);
  animation: noren-sway 3.6s ease-in-out infinite;
}
/* 裾丈は揃えない（既製品ではなく誂えの布に見せる） */
.noren-p:nth-child(1) { height: 100%; animation-delay: -0s; }
.noren-p:nth-child(2) { height: calc(100% - 7px); animation-delay: -1.3s; animation-direction: reverse; }
.noren-p:nth-child(3) { height: calc(100% - 2px); animation-delay: -0.5s; }
.noren-p:nth-child(4) { height: calc(100% - 9px); animation-delay: -1.9s; animation-direction: reverse; }
.noren-p:nth-child(5) { height: calc(100% - 4px); animation-delay: -0.9s; }
.noren-p:nth-child(6) { height: calc(100% - 6px); animation-delay: -2.6s; animation-direction: reverse; }
.noren-p:nth-child(1) .na { --i: 0; } .noren-p:nth-child(2) .na { --i: 1; }
.noren-p:nth-child(3) .na { --i: 2; } .noren-p:nth-child(4) .na { --i: 3; }
.noren-p:nth-child(5) .na { --i: 4; } .noren-p:nth-child(6) .na { --i: 5; }
.na {
  position: absolute; top: 0; height: calc(100svh - 34px); width: 100vw;
  left: calc(-1 * var(--i) * (var(--pw) + 2px));
}
.na-crest {
  position: absolute; left: 50vw; top: 36%; transform: translate(-50%, -50%);
  width: clamp(150px, 21vw, 225px); height: clamp(150px, 21vw, 225px); border-radius: 50%;
  border: 2px solid rgba(246,243,235,.92);
  display: grid; place-items: center;
}
.na-crest::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px solid rgba(246,243,235,.45);
}
.na-crest span {
  font-family: var(--font-display); font-weight: 700; color: #F6F3EB;
  font-size: clamp(76px, 10.5vw, 112px); line-height: 1;
  text-shadow: 0 0 16px rgba(246,243,235,.22);
}
.na-v {
  position: absolute; top: 23%; writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 2.3vw, 27px); letter-spacing: .32em;
  color: rgba(246,243,235,.9);
}
.na-v1 { left: 17vw; }
.na-v2 { right: 17vw; top: 32%; }
.na-mark {
  position: absolute; left: 50vw; transform: translateX(-50%); white-space: nowrap;
  top: calc(36% + clamp(75px, 10.5vw, 113px) + 22px);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .5em; text-indent: .5em; color: rgba(246,243,235,.72);
}
.noren-hint {
  position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; z-index: 4;
  font-size: 12px; letter-spacing: .3em; text-indent: .3em; color: rgba(246,243,235,.6);
  opacity: 0; animation: noren-hint 1s ease 1.2s forwards;
}
html.noren-open .noren-hint { display: none; }
/* くぐる：右手で押し分ける想定で、右側がわずかに先・大きく払われる（機械仕掛けに見せない） */
html.noren-open .noren-p { animation-fill-mode: forwards; }
html.noren-open .noren-p:nth-child(4) { animation: np-r1 .95s cubic-bezier(.62,.05,.18,1) 0s forwards; }
html.noren-open .noren-p:nth-child(5) { animation: np-r2 .95s cubic-bezier(.62,.05,.18,1) .06s forwards; }
html.noren-open .noren-p:nth-child(6) { animation: np-r3 .95s cubic-bezier(.62,.05,.18,1) .13s forwards; }
html.noren-open .noren-p:nth-child(3) { animation: np-l1 .95s cubic-bezier(.62,.05,.18,1) .05s forwards; }
html.noren-open .noren-p:nth-child(2) { animation: np-l2 .95s cubic-bezier(.62,.05,.18,1) .12s forwards; }
html.noren-open .noren-p:nth-child(1) { animation: np-l3 .95s cubic-bezier(.62,.05,.18,1) .2s forwards; }
@keyframes noren-sway {
  0%, 100% { transform: rotate(0deg) skewX(0); }
  50% { transform: rotate(.5deg) skewX(.3deg); }
}
/* 16%地点の「布が一度手前に引かれる」を挟むと、めくれではなく“くぐり”に見える */
@keyframes np-r1 { 0% { transform: none; } 16% { transform: translate(-1vw, 1.6%) skewX(-2deg); } 100% { transform: translate(31vw, -4%) rotate(15deg) scaleX(.4); } }
@keyframes np-r2 { 0% { transform: none; } 16% { transform: translate(-.6vw, 1.2%) skewX(-1.4deg); } 100% { transform: translate(20vw, -2%) rotate(10deg) scaleX(.5); } }
@keyframes np-r3 { 0% { transform: none; } 16% { transform: translate(-.3vw, .8%) skewX(-1deg); } 100% { transform: translate(9vw, -1%) rotate(6deg) scaleX(.62); } }
@keyframes np-l1 { 0% { transform: none; } 16% { transform: translate(1vw, 1.6%) skewX(2deg); } 100% { transform: translate(-31vw, -3%) rotate(-14deg) scaleX(.42); } }
@keyframes np-l2 { 0% { transform: none; } 16% { transform: translate(.6vw, 1.2%) skewX(1.4deg); } 100% { transform: translate(-20vw, -2%) rotate(-9deg) scaleX(.52); } }
@keyframes np-l3 { 0% { transform: none; } 16% { transform: translate(.3vw, .8%) skewX(1deg); } 100% { transform: translate(-9vw, -1%) rotate(-5deg) scaleX(.64); } }
@keyframes noren-hint { to { opacity: 1; } }
@keyframes noren-away { to { transform: translateY(-112%); } }

/* ---------- 地球儀セクション ---------- */
.section-globe {
  position: relative; color: var(--kinu); overflow: hidden;
  background:
    repeating-radial-gradient(circle at 8% -30%, rgba(244,241,232,.045) 0 1px, transparent 1px 72px),
    radial-gradient(900px 520px at 82% 120%, rgba(42,69,112,.7), transparent 65%),
    var(--kon-deep);
}
.section-globe::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.globe-wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center;
}
.globe-lead { color: rgba(244,241,232,.85); max-width: 30em; margin-bottom: 26px; }
.globe-legend { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(244,241,232,.75); }
.lg-star { color: #FBBC04; font-size: 17px; }
.lg-kaeshi {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--shu); color: #F6F3EB; font-size: 11.5px; font-weight: 700; margin-left: 14px;
}
.globe-stage svg { width: 100%; height: auto; display: block; }

/* ---------- 木札「お品書き」 ---------- */
.kifuda { margin-bottom: 22px; line-height: 1; }
.kifuda span {
  display: inline-block; writing-mode: vertical-rl; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .3em; color: var(--kon);
  background: linear-gradient(175deg, #FBF7EC, #F0E9D6);
  border: 1px solid #DCD2BA; border-radius: 3px;
  padding: 22px 9px 16px;
  box-shadow: 0 5px 12px rgba(27,43,71,.14), inset 0 1px 0 #fff;
  transform: rotate(1.4deg); transform-origin: top center;
}
.kifuda span::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(27,43,71,.4); box-shadow: inset 0 1px 1px rgba(0,0,0,.4);
}

/* ---------- MEOバンド ---------- */
.meo {
  position: relative; overflow: hidden;
  margin-top: 52px;
  background:
    repeating-radial-gradient(circle at 96% 30%, rgba(227,167,60,.1) 0 1.5px, transparent 1.5px 42px),
    var(--kon);
  color: var(--kinu);
  border-radius: var(--radius);
  padding: 34px 38px 32px;
}
.meo-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--kin); margin-bottom: 10px;
}
.meo-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; margin-bottom: 12px;
}
.meo-text { font-size: 14px; line-height: 2; color: rgba(244,241,232,.88); max-width: 58em; }
.meo-text strong { color: var(--kin); font-weight: 700; }

/* ---------- 料金バッジ ---------- */
.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D8503A, var(--shu) 45%, var(--shu-dark));
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-indent: .14em;
  padding: 6px 20px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(200,64,46,.35), inset 0 1px 0 rgba(255,255,255,.22);
}

/* ---------- フォトバンド（実写） ---------- */
.photo-band {
  position: relative; min-height: clamp(300px, 46vh, 460px);
  display: grid; place-items: center;
  background:
    linear-gradient(180deg, rgba(14,22,38,.62), rgba(14,22,38,.48) 45%, rgba(14,22,38,.68)),
    url("../img/yokocho.jpg") center 42% / cover no-repeat #131C2E;
  background-attachment: fixed, fixed;
}
/* iOS は fixed 背景が崩れるので通常スクロールに戻す */
@supports (-webkit-touch-callout: none) {
  .photo-band { background-attachment: scroll, scroll; }
}
.band-quote {
  font-family: var(--font-display); font-weight: 700; color: var(--kinu);
  font-size: clamp(26px, 4vw, 40px); letter-spacing: .14em; text-indent: .14em;
  text-align: center; padding: 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 24px 72px; }
  .hero-demo { max-width: 480px; margin: 0 auto; width: 100%; }
  .globe-wrap { grid-template-columns: 1fr; gap: 36px; }
  .globe-stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .uniq-axes { flex-direction: column; }
  .uniq-plus { align-self: flex-start; margin-left: 8px; }
  .spotlight { flex-direction: column; }
  .spotlight-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 8px; }
  .global-nav { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; }
  .price-main { font-size: 42px; }
  .btn-header { padding: 9px 16px; font-size: 12.5px; }
  .footer-copy { margin-left: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .hero-demo { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  .noren { display: none !important; }
  .gm { display: none; }
  .photo-band { background-attachment: scroll, scroll; }
}
