/* =========================================================
   YOKAYO LP — refined, white-background build
   Structure & tokens follow DESIGN.md (typography / spacing /
   radius / motion). Color palette re-mapped to YOKAYO brand:
   primary coral #f47b6a (from brand logo) with warm neutrals,
   secondary gold #e9b641 retained as accent.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand color — YOKAYO coral, with warm neutrals
     (DESIGN.md structural tokens retained; palette re-mapped to brand) */
  --color-bg: #ffffff;
  --color-surface-raised: #f7f8fa;     /* neutral light gray for raised sections */
  --color-surface-card: #ffffff;
  --color-border: #f0e5e2;
  --color-border-strong: #e5d4cf;

  --color-ink: #2a1f22;                /* warm dark — headings */
  --color-text: #4a3f44;               /* body */
  --color-text-muted: #7b6e72;
  --color-text-subtle: #a89a9e;

  --color-accent: #262626;             /* YOKAYO main (primary) */
  --color-accent-deep: #111111;        /* deeper — hover / text on light */
  --color-accent-darker: #000000;      /* darkest — CTA gradient end */
  --color-accent-soft: #f0f0f0;        /* light gray tint — chips, soft backgrounds */
  --color-accent-softer: #f7f7f7;      /* even softer tint */
  --color-gold: #e9b641;               /* warm gold — secondary accent */
  --color-gold-deep: #c7971f;

  --color-teal: #2abfc6;               /* DESIGN.md teal — B2B / organizer accent */
  --color-teal-deep: #1e949a;
  --color-teal-darker: #147a80;
  --color-teal-soft: #eafafb;

  --color-on-accent: #ffffff;

  /* Typography — Raleway for Latin, Meiryo for Japanese (browser falls through
     automatically because Raleway contains no CJK glyphs). */
  --font-family: "Raleway", Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN",
                 "Hiragino Sans", YuGothic, "游ゴシック", "ＭＳ Ｐゴシック",
                 sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* Type scale — DESIGN.md ratios, scaled for LP */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 15px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 44px;
  --fs-5xl: 60px;

  /* Spacing — DESIGN.md ratios scaled */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 28px;
  --sp-7: 36px;
  --sp-8: 48px;
  --sp-9: 64px;
  --sp-10: 96px;
  --sp-11: 128px;

  /* Radius — DESIGN.md */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Motion — DESIGN.md */
  --dur-instant: 200ms;
  --dur-fast: 400ms;
  --dur-normal: 700ms;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Elevation — minimal, folio-style. Favor color & spacing over elevation. */
  --shadow-sm: 0 1px 2px rgba(30, 20, 22, .03);
  --shadow-md: 0 2px 8px rgba(30, 20, 22, .04);
  --shadow-lg: 0 8px 20px rgba(30, 20, 22, .05);
  --shadow-xl: 0 16px 36px rgba(30, 20, 22, .07);
  --shadow-coral: 0 4px 10px rgba(38, 38, 38, .18);

  /* Layout */
  --container-max: 1160px;
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;           /* prevent any child from creating horizontal scroll */
}
/* Belt-and-suspenders: clip has better semantics; hidden for older browsers. */
html { overflow-x: clip; }
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-instant) var(--ease); }
a:hover { color: var(--color-accent-deep); }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--color-ink); font-weight: var(--fw-bold); letter-spacing: .02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .22em;
  color: var(--color-accent-deep);
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--color-accent-soft);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.eyebrow--on-accent {
  color: var(--color-on-accent);
  background: rgba(255, 255, 255, .16);
}
.accent { color: var(--color-accent); }
.accent-strong {
  font-weight: var(--fw-bold);
  color: var(--color-accent-deep);
}
.accent-white { color: var(--color-gold); }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  font-weight: var(--fw-black);
  letter-spacing: .08em;
}
.brand-mark {
  /* Horizontal lockup: icon + YOKAYO wordmark baked in. */
  width: 134px;
  height: 28px;
  background: url("/img/commons/logo-horizontal.png") left center / contain no-repeat;
  flex-shrink: 0;
}
/* Wordmark is embedded in the image — hide the separate text span. */
.brand .brand-name { display: none; }
.brand-name { font-size: var(--fs-lg); }
.site-nav {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-instant) var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 880px) {
  .site-nav { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-instant) var(--ease),
              box-shadow var(--dur-instant) var(--ease),
              background var(--dur-instant) var(--ease),
              color var(--dur-instant) var(--ease);
  will-change: transform;
}
.btn-sm { padding: 10px 18px; font-size: var(--fs-sm); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-ink);
  color: var(--color-on-accent);
}
.btn-primary:hover {
  background: #000;
  color: var(--color-on-accent);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  border-color: var(--color-accent-soft);
}
.btn-secondary:hover {
  background: #ffffff;
  color: var(--color-accent-deep);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.btn-white {
  background: #ffffff;
  color: var(--color-accent-deep);
}
.btn-white:hover { color: var(--color-accent-deep); box-shadow: var(--shadow-md); }
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + var(--sp-9)) 0 var(--sp-10);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-10); }
}
.hero-headline {
  font-size: clamp(32px, 6.4vw, var(--fs-5xl));
  line-height: 1.2;
  font-weight: var(--fw-black);
  letter-spacing: .01em;
  margin-bottom: var(--sp-5);
  color: var(--color-ink);
}
.hero-lead {
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--sp-7);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.hero-cta--center { justify-content: center; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-surface-raised);
  border-radius: var(--r-lg);
  max-width: 480px;
}
.proof-item { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.proof-num {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-ink);
  line-height: 1.1;
  letter-spacing: .01em;
}
.proof-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: .1em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  background: #0c1417;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #000;
  border-radius: var(--r-pill);
  z-index: 2;
}
.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
}

/* Desktop size override for the DEFAULT phone frame only.
   Scoped with :not() so variants don't get force-widened on wide viewports. */
@media (min-width: 960px) {
  .phone-frame:not(.phone-frame--sm):not(.phone-frame--xs) { width: 320px; }
}

.phone-frame--sm {
  width: 240px;
  border-radius: 32px;
  padding: 8px;
}
.phone-frame--sm::before {
  width: 72px; height: 18px; top: 10px;
}
.phone-frame--sm img { border-radius: 24px; }

.phone-frame--xs {
  width: 185px;                /* 9:19.5 aspect → height ≈ 400px */
  border-radius: 26px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.phone-frame--xs::before {
  width: 56px; height: 14px; top: 8px;
}
.phone-frame--xs img { border-radius: 20px; }

/* Floating cards around phone */
.floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  min-width: 150px;
}
.fc-icon {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: var(--fw-bold);
}
.fc-icon--gold { background: var(--color-gold); }
.floating-heart .fc-icon { background: #E22D36; }   /* 応援ハートだけ赤 */
.fc-title { font-weight: var(--fw-bold); color: var(--color-ink); line-height: 1.2; }
.fc-sub { font-size: var(--fs-xs); color: var(--color-text-muted); }
.floating-heart { top: 18%; left: -4%; animation: float 6s ease-in-out infinite; }
.floating-prize { bottom: 14%; right: -6%; animation: float 7s ease-in-out infinite .8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 640px) {
  .floating-heart { left: 2%; }
  .floating-prize { right: 2%; }
}

/* ---------- Inline CTA (no-login browse, between Hero and Problem) ---------- */
.inline-cta {
  background:
    radial-gradient(ellipse 520px 200px at 12% 0%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(135deg, #fef0a0 0%, #fbe389 50%, #f5d46a 100%);
  padding: var(--sp-5) 0;
}
.inline-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  text-align: center;
}
@media (min-width: 820px) {
  .inline-cta-inner {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-6);
  }
}
.inline-cta-text {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 820px) {
  .inline-cta-text { justify-content: flex-start; }
}
.inline-cta-badge {
  display: inline-block;
  background: var(--color-ink);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.inline-cta-copy {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0;
}
.inline-cta-copy b {
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.inline-cta-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta-buttons--center { justify-content: center; }
.hero-cta-buttons { margin-bottom: var(--sp-7); }
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--color-ink);
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  transition: transform var(--dur-instant) var(--ease), background var(--dur-instant) var(--ease);
}
.btn-store:hover {
  transform: translateY(-1px);
  background: #000;
  color: #ffffff;
}
.btn-store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}
.btn-store small {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  font-weight: var(--fw-regular);
}
.btn-store b {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: .01em;
}

/* ---------- Generic Section ---------- */
.section {
  padding: var(--sp-10) 0;
  position: relative;
}
.section-raised {
  background: var(--color-surface-raised);
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--sp-9);
}
.section-headline {
  font-size: clamp(26px, 4.2vw, var(--fs-4xl));
  line-height: 1.35;
  font-weight: var(--fw-black);
  color: var(--color-ink);
  margin-bottom: var(--sp-4);
  letter-spacing: .01em;
}
.section-lead {
  font-size: var(--fs-md);
  line-height: 2;
  color: var(--color-text-muted);
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 760px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
}
.problem-card {
  background: var(--color-surface-card);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pc-num {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--color-accent);
  letter-spacing: .08em;
  margin-bottom: var(--sp-3);
}
.pc-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
  color: var(--color-ink);
}
.pc-body {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ---------- Cycle ---------- */
.cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
@media (min-width: 820px) {
  .cycle {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: var(--sp-3);
  }
}
.cycle-item {
  background: var(--color-surface-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-5);
  text-align: center;
  min-width: 180px;
  flex: 1;
  max-width: 240px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cycle-item:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.cycle-num {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  letter-spacing: .2em;
  margin-bottom: 6px;
}
.cycle-label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  margin-bottom: 2px;
}
.cycle-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: .12em;
}
.cycle-arrow {
  color: var(--color-accent);
  font-size: var(--fs-xl);
  align-self: center;
  font-weight: var(--fw-bold);
  transform: rotate(90deg);
}
@media (min-width: 820px) {
  .cycle-arrow { transform: none; }
}
.cycle-note {
  text-align: center;
  font-size: var(--fs-lg);
  color: var(--color-text);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ---------- Features ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 880px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
  .feature--reverse .feature-visual { order: 2; }
}
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  background:
    radial-gradient(ellipse at center, rgba(38, 38, 38,.10) 0%, transparent 65%),
    #ffffff;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
}
.feature-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .2em;
  color: var(--color-accent-deep);
  margin-bottom: var(--sp-4);
}
.feature-title {
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.35;
  margin-bottom: var(--sp-4);
  color: var(--color-ink);
}
.feature-body {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: var(--sp-5);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-md);
  color: var(--color-text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-accent-soft);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--color-accent-deep);
  border-bottom: 2px solid var(--color-accent-deep);
  transform: rotate(-45deg);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  position: relative;
  background: var(--color-surface-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.step:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-on-accent);
  font-weight: var(--fw-black);
  font-size: var(--fs-md);
  letter-spacing: .02em;
  margin-bottom: var(--sp-4);
}
.step-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
  color: var(--color-ink);
}
.step-body {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ---------- Heart System ---------- */
.heart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
  align-items: center;
}
@media (min-width: 900px) {
  .heart-grid { grid-template-columns: 1.1fr .9fr; gap: var(--sp-10); }
}
.heart-headline { text-align: left; margin-bottom: var(--sp-4); }
.heart-lead { text-align: left; margin-bottom: var(--sp-7); color: var(--color-text-muted); }

.heart-mechanisms {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.hm-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: #ffffff;
  border-radius: var(--r-md);
  align-items: center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.hm-item:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.hm-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep));
  color: #fff;
  font-size: 20px;
  font-weight: var(--fw-bold);
}
.hm-title {
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  font-size: var(--fs-md);
  margin-bottom: 2px;
}
.hm-body {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
.hm-body b { color: var(--color-accent-deep); }

.heart-visual {
  display: flex;
  justify-content: center;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
}
.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  transition: transform var(--dur-fast) var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-sm);
}
.gallery-item figcaption b {
  color: var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.gallery-item figcaption span {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
}

/* Dark section variant — featured works / UGC showcase */
.section--dark {
  background: #0e1116;
  color: rgba(255, 255, 255, .82);
}
.section--dark .section-headline,
.section-headline--on-dark {
  color: #ffffff;
}
.eyebrow--on-dark {
  color: #fff;
  background: rgba(38, 38, 38, .22);
}
.section-note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: 6px;
}
.section-note--on-dark { color: rgba(255, 255, 255, .55); }

.gallery-item--dark figcaption b {
  color: #ffffff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.gallery-item--dark figcaption span {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  letter-spacing: .04em;
}

/* Compact variants */
.section--compact { padding: var(--sp-5) 0; }
.section-head--tight { margin-bottom: var(--sp-3); }
.section-headline--sm {
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Gallery as horizontal carousel — page never scrolls horizontally,
   only the carousel itself scrolls on overflow. Vertical padding gives
   room for phone-frame drop shadows (otherwise overflow-y clip leaves a band). */
.gallery--compact {
  display: flex;
  grid-template-columns: none;
  gap: var(--sp-4);
  max-width: none;
  margin: 0 calc(var(--sp-5) * -1);
  padding: 8px var(--sp-5) var(--sp-5);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-soft) transparent;
}
.gallery--compact::-webkit-scrollbar { height: 6px; }
.gallery--compact::-webkit-scrollbar-track { background: transparent; }
.gallery--compact::-webkit-scrollbar-thumb {
  background: var(--color-accent-soft);
  border-radius: var(--r-pill);
}
.gallery--compact .gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  gap: var(--sp-2);
}
.gallery--compact figcaption b { font-size: var(--fs-xs); }
.gallery--compact figcaption span { font-size: 11px; }
@media (min-width: 820px) {
  .gallery--compact {
    justify-content: center;                  /* center when all items fit */
    gap: var(--sp-5);
  }
}

/* ---------- FAQ ---------- */
.faq-container { max-width: 820px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: #ffffff;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  transition: background var(--dur-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--color-accent-soft); }
.faq-q {
  font-size: var(--fs-md);
  line-height: 1.5;
  flex: 1;
}
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent-deep);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-icon::before {
  left: 2px; right: 2px; top: 9px; height: 2px;
}
.faq-icon::after {
  top: 2px; bottom: 2px; left: 9px; width: 2px;
}
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-a {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--color-text);
}
.faq-a a { color: #1a73e8; }
.faq-a a:hover { color: #1558b0; }

/* ---------- Extra-link icon (footer) ---------- */
.ext {
  display: inline-block;
  font-size: .85em;
  opacity: .7;
}

/* ---------- Final CTA ---------- */
.final-cta { padding-top: var(--sp-10); padding-bottom: var(--sp-10); }
.cta-card {
  position: relative;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(ellipse 600px 300px at 20% 0%, rgba(233,182,65,.28), transparent 60%),
    linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-darker) 100%);
  color: #ffffff;
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-8), 6vw, var(--sp-10)) var(--sp-6);
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 110%, rgba(255,255,255,.08), transparent 55%);
  pointer-events: none;
}
.cta-headline {
  font-size: clamp(26px, 4.8vw, 48px);
  line-height: 1.35;
  font-weight: var(--fw-black);
  color: #ffffff;
  margin-bottom: var(--sp-4);
  position: relative;
}
.cta-lead {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.88);
  margin-bottom: var(--sp-7);
  position: relative;
}
.cta-note {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.72);
  position: relative;
}
.cta-trademark {
  width: fit-content;
  max-width: 100%;
  margin: var(--sp-5) auto 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255,255,255,.6);
  text-align: left;
}
.cta-trademark li {
  position: relative;
  padding-left: 1.1em;
}
.cta-trademark li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ---------- For Organizers ---------- */
.section-organizers {
  padding: var(--sp-10) 0;
  background:
    radial-gradient(ellipse 520px 300px at 90% 10%, rgba(42, 191, 198, .10), transparent 60%),
    radial-gradient(ellipse 460px 260px at 6% 86%, rgba(42, 191, 198, .06), transparent 60%),
    #f5fbfc;                       /* pale teal — distinguishes from consumer CTA */
}
.organizers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
  align-items: start;
}
@media (min-width: 980px) {
  .organizers-grid { grid-template-columns: 1.15fr .85fr; gap: var(--sp-10); }
}

.eyebrow--teal {
  color: var(--color-teal-deep);
  background: var(--color-teal-soft);
}
.accent-teal { color: var(--color-teal-deep); }

.organizers-headline {
  text-align: left;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: var(--sp-4);
}
.organizers-lead {
  text-align: left;
  color: var(--color-text);
  margin-bottom: var(--sp-7);
}
.organizers-lead strong { color: var(--color-ink); font-weight: var(--fw-bold); }

.organizers-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .organizers-benefits { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
.organizers-benefits li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  align-items: start;
}
.ob-num {
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  letter-spacing: .18em;
  color: var(--color-teal-deep);
  padding-top: 4px;
}
.ob-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  line-height: 1.45;
  margin-bottom: 4px;
}
.ob-body {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* Right card */
.organizers-card {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-4));
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
}
.oc-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: .22em;
  color: var(--color-teal-deep);
  margin-bottom: var(--sp-3);
}
.oc-title {
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--color-ink);
  margin-bottom: var(--sp-3);
}
.oc-body {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: var(--sp-5);
}
.oc-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--sp-4) 0;
  margin-bottom: var(--sp-5);
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
}
.oc-examples li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 6px 0;
  font-size: var(--fs-sm);
}
.oc-examples li span {
  color: var(--color-ink);
  font-weight: var(--fw-bold);
}
.oc-examples li small {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  text-align: right;
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-darker) 100%);
  color: #ffffff;
  width: 100%;
  padding: 16px 20px;
  justify-content: space-between;
}
.btn-teal:hover {
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(30, 148, 154, .22);
}

.oc-cta { margin-top: 4px; }
.oc-note {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 979px) {
  .organizers-card { position: static; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #ffffff;
  padding: var(--sp-8) 0 var(--sp-6);
  color: var(--color-text-muted);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  align-items: flex-start;
}
@media (min-width: 760px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-7);
    flex-wrap: wrap;
  }
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-tag { font-size: var(--fs-sm); color: var(--color-text-muted); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm);
}
.footer-nav a:hover { color: var(--color-accent-deep); }
.copyright {
  font-size: var(--fs-xs);
  color: var(--color-text-subtle);
  letter-spacing: .04em;
}

/* ---------- Sub Page (下層) ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--sp-8)) 0 var(--sp-7);
  background:
    radial-gradient(ellipse 480px 260px at 90% 0%, rgba(38, 38, 38,.12), transparent 60%),
    var(--color-bg);
}
.page-hero--organize {
  background: var(--color-bg);
}
.page-hero--organize .eyebrow { margin-bottom: var(--sp-4); }
.page-hero--organize .page-title { font-size: clamp(28px, 4.8vw, 44px); line-height: 1.3; margin-bottom: var(--sp-4); }

/* Use-case (CASE) cards — teal accent with minimal line icons */
.guide-card--case .case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
  margin-bottom: var(--sp-3);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.guide-card--case .case-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
/* Legal index — cards that link to sub-pages */
.legal-card {
  position: relative;
  padding-bottom: var(--sp-7);
}
.legal-card .legal-card-arrow {
  position: absolute;
  right: var(--sp-5);
  bottom: var(--sp-5);
  color: var(--color-text-subtle);
  font-size: var(--fs-lg);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.legal-card:hover .legal-card-arrow {
  transform: translateX(4px);
  color: var(--color-accent-deep);
}

.guide-card.guide-card--case .gc-num {
  color: var(--color-teal-deep);           /* CASE label → teal (higher specificity to override base .guide-card .gc-num defined later) */
}
.guide-card--case:hover .case-icon {
  background: var(--color-teal);
  color: #ffffff;
}

/* Cost breakdown — stacked bar with legend */
/* ---------- Pricing plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-7);
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.plan-card--standard.is-featured {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: 0;
  right: var(--sp-5);
  transform: translateY(-50%);
  background: var(--color-teal);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .12em;
  padding: 4px 14px;
  border-radius: var(--r-pill);
}
.plan-head {
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}
.plan-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
}
.plan-card--standard .plan-tag {
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
}
.plan-name {
  font-size: var(--fs-xl);
  color: var(--color-ink);
  margin: var(--sp-3) 0 var(--sp-2);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price .amount {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: var(--fw-black);
  color: var(--color-ink);
  line-height: 1;
  letter-spacing: .01em;
}
.plan-price .unit {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
}
.plan-note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: var(--sp-2) 0 0;
}
.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.plan-card .plan-features li {
  position: relative;
  padding: 4px 0 4px 24px;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--color-text);
}
.plan-card .plan-features li::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  line-height: 18px;
  border-radius: 50%;
}
.plan-card .plan-features li.is-yes::before {
  content: "✓";
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
}
.plan-card .plan-features li.is-no {
  color: var(--color-text-subtle);
}
.plan-card .plan-features li.is-no::before {
  content: "✕";
  font-size: 11px;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
}
.plan-foot {
  margin: var(--sp-4) 0 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-align: center;
}
.plan-card--standard .plan-foot {
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
}

/* ---------- Fee breakdown ---------- */
.fee-title {
  font-size: var(--fs-xl);
  margin-top: var(--sp-6);
}
.fee-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
  margin: var(--sp-5) 0 var(--sp-4);
}
@media (min-width: 860px) {
  .fee-layout { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--sp-5); }
}
.fee-layout-rates { min-width: 0; }
.fee-layout-rates .fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fee-layout-rates .fee-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  margin: 0;
  border-top: 1px solid var(--color-border);
}
.fee-layout-rates .fee-list li:first-child { border-top: 0; }
.fee-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fee-item-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.fee-item-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.fee-item-amount {
  flex-shrink: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--color-teal-deep);
  white-space: nowrap;
}
.fee-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0 0 var(--sp-7);
}


/* ---------- Estimate receipt ---------- */
.receipt {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: 88px;
}
@media (max-width: 859px) {
  .receipt { position: static; max-width: 460px; }
}
.receipt-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-teal-soft);
  border-bottom: 1px solid var(--color-border);
}
.receipt-label {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .12em;
  color: #ffffff;
  background: var(--color-teal);
  padding: 3px 12px;
  border-radius: var(--r-pill);
}
.receipt-cond {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-teal-deep);
}
.receipt-rows {
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
}
.receipt-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 7px 0;
}
.receipt-row dt {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
  min-width: 0;
}
.receipt-row dd {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  margin: 0;
  white-space: nowrap;
}
.receipt-sub {
  margin: 0;
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px dashed var(--color-border-strong);
}
.receipt-row--muted dd { font-weight: var(--fw-medium); color: var(--color-text-muted); }
.receipt-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-surface-raised);
  border-top: 1px solid var(--color-border);
}
.receipt-total-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.receipt-total-amount {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: var(--fw-black);
  color: var(--color-teal-deep);
  line-height: 1;
}
.receipt-total-amount small {
  font-size: .5em;
  font-weight: var(--fw-bold);
  margin-left: 3px;
}

/* ---------- Award design rules ---------- */
.award-card {
  display: block;
  padding: var(--sp-5);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--color-teal-soft);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.award-card h4 {
  font-size: var(--fs-lg);
  color: var(--color-ink);
  margin: 0 0 8px;
  line-height: 1.5;
}
.award-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}
.award-example {
  background: var(--color-surface-raised);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  margin: var(--sp-5) 0 var(--sp-7);
}
.award-example-title {
  font-size: var(--fs-md);
  text-align: center;
  color: var(--color-ink);
  margin: 0 0 var(--sp-4);
}
.award-example-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.award-example-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  margin: 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
}
.award-rank {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.award-rank--mvc { background: #fdf1d6; color: var(--color-gold-deep); }
.award-rank--excellent { background: var(--color-teal-soft); color: var(--color-teal-deep); }
.award-rank--special { background: var(--color-surface-raised); color: var(--color-text-muted); }
.award-count {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.award-prize {
  margin-left: auto;
  text-align: right;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.award-example-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.8;
  margin: var(--sp-4) 0 0;
}

@media (max-width: 520px) {
  .award-example-list li { flex-wrap: wrap; }
  .award-prize { margin-left: 0; width: 100%; text-align: left; }
}

/* Contest flow — vertical timeline with numbered markers */
.page-body ol.flow {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 var(--sp-7);
  position: relative;
  counter-reset: none;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  padding: 0 0 var(--sp-5) 0;
  margin: 0;
  font-size: inherit;
}
/* vertical connector line */
.flow-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-teal-soft), rgba(42, 191, 198, .18) 70%, transparent);
}
.flow-step:last-child::before { display: none; }

.flow-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-teal-deep);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-teal);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.flow-step:hover .flow-num {
  background: var(--color-teal);
  color: #ffffff;
}

.flow-content {
  padding: var(--sp-3) var(--sp-5);
  background: var(--color-surface-raised);
  border-radius: var(--r-md);
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  margin: 0 0 4px;
  line-height: 1.4;
}
.flow-body {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 520px) {
  .flow-step { grid-template-columns: 48px 1fr; gap: var(--sp-3); }
  .flow-num { width: 48px; height: 48px; font-size: var(--fs-md); }
  .flow-step::before { left: 23px; top: 44px; }
}

.organize-cta {
  margin-top: var(--sp-6);
  padding: var(--sp-6);
  background: var(--color-teal-soft);
  border-radius: var(--r-lg);
  text-align: center;
}
.organize-cta-btn {
  width: auto;
  display: inline-flex;
  padding: 14px 32px;
  margin-bottom: var(--sp-3);
  justify-content: center;              /* override .btn-teal's space-between */
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}
.organize-cta-btn:hover { color: #ffffff; text-decoration: none; }
.organize-cta-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin: 0;
}
.breadcrumb {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent-deep); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-text-subtle); }
.page-title {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.3;
  font-weight: var(--fw-black);
  color: var(--color-ink);
  margin-bottom: var(--sp-3);
}
.page-lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.9;
  max-width: 680px;
}

.page-body {
  padding: var(--sp-9) 0 var(--sp-10);
}
.page-body .container { max-width: 820px; }
.page-body h2 {
  font-size: var(--fs-2xl);
  color: var(--color-ink);
  margin: var(--sp-8) 0 var(--sp-4);
  line-height: 1.4;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-size: var(--fs-lg);
  color: var(--color-ink);
  margin: var(--sp-6) 0 var(--sp-3);
  line-height: 1.5;
}
.page-body p {
  font-size: var(--fs-md);
  line-height: 2;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}
.page-body ul,
.page-body ol {
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-6);
  list-style-position: outside;
}
.page-body ul { list-style: disc; }
.page-body ol { list-style: decimal; }
.page-body li {
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}
/* Text links in body — exclude button-class anchors */
.page-body a:not(.btn):not(.btn-store) {
  color: #1a73e8;
}
.page-body a:not(.btn):not(.btn-store):hover { color: #1558b0; }
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0 var(--sp-6);
  font-size: var(--fs-md);
}
.page-body th,
.page-body td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.8;
}
.page-body th {
  width: 32%;
  color: var(--color-text-muted);
  font-weight: var(--fw-bold);
  background: var(--color-surface-raised);
}
.note-box {
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-sm);
  margin: var(--sp-5) 0;
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: var(--color-text);
}
.note-box strong { color: var(--color-ink); }

/* Teal-scoped page body (organize page, etc.) */
.page-body--teal a:not(.btn):not(.btn-store) { color: var(--color-teal-deep); }
.page-body--teal a:not(.btn):not(.btn-store):hover { color: var(--color-teal); }
.page-body--teal .note-box {
  background: var(--color-teal-soft);
  border-left-color: var(--color-teal);
}
.page-body--teal ul li::marker,
.page-body--teal ol li::marker { color: var(--color-teal-deep); }
/* Any guide-card label (POINT / CASE) within teal page → teal */
.page-body--teal .guide-card .gc-num { color: var(--color-teal-deep); }

/* Contact form (static placeholder) */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  background: var(--color-surface-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
}
.form-row { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-row label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.form-row label .req {
  color: var(--color-gold-deep);
  margin-left: 4px;
  font-size: var(--fs-xs);
}
.form-row label .opt {
  color: var(--color-text-muted);
  margin-left: 4px;
  font-size: var(--fs-xs);
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-size: var(--fs-md);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-row textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(38, 38, 38,.18);
}
.form-submit {
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--color-ink);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform var(--dur-instant) var(--ease), box-shadow var(--dur-instant) var(--ease);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Apply form — sectioned fieldsets */
.form--apply {
  gap: var(--sp-7);
  padding: var(--sp-7) var(--sp-6);
}
.form-section {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-section + .form-section {
  padding-top: var(--sp-6);
  border-top: 1px dashed var(--color-border);
}
.form-section-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  padding: 0;
  margin-bottom: 2px;
  letter-spacing: .02em;
}
.form-section-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: -4px 0 var(--sp-2);
}
.form-section--highlight {
  background: var(--color-teal-soft);
  padding: var(--sp-5) var(--sp-5);
  border-radius: var(--r-md);
  margin: 0 calc(var(--sp-1) * -1);
}
.form-section--highlight + * { margin-top: var(--sp-2); }
.form-section--highlight.form-section + .form-section { border-top: none; }
.form-section--highlight .form-section-title { color: var(--color-teal-deep); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 2px;
}

.form-input-suffix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-input-suffix:focus-within {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42, 191, 198, .18);
}
.form-input-suffix input {
  flex: 1;
  border: none !important;
  background: transparent;
  padding: 12px 14px;
  box-shadow: none !important;
  min-width: 0;
}
.form-input-suffix input:focus { outline: none; }
.form-input-suffix span {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

input[type="file"] {
  padding: 10px 12px !important;
  background: var(--color-surface-raised) !important;
  cursor: pointer;
}

.form-submit--teal {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-darker) 100%);
  align-self: stretch;
  text-align: center;
  padding: 16px 32px;
  font-size: var(--fs-lg);
  margin-top: var(--sp-2);
}
.form-submit--teal:hover {
  box-shadow: 0 6px 14px rgba(30, 148, 154, .28);
}

.form-footnote {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

/* Guide cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}
/* 2カラム固定（4枚を2×2で見せる用） */
.guide-grid--2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .guide-grid--2col { grid-template-columns: 1fr; }
}
.guide-card {
  display: block;
  padding: var(--sp-5);
  background: var(--color-surface-raised);
  border-radius: var(--r-md);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.guide-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.guide-card .gc-num {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  letter-spacing: .15em;
  margin-bottom: 6px;
}
.guide-card h4 {
  font-size: var(--fs-lg);
  color: var(--color-ink);
  margin: 0 0 8px;
  line-height: 1.5;
}
.guide-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* かんたん4ステップ：縦積みのフロー表示（番号バッジ＋下向き矢印） */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin: var(--sp-5) 0;
  max-width: 680px;
}
.guide-steps .guide-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--sp-5);
  align-items: center;
}
.guide-steps .guide-card .gc-num {
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--r-md);
  white-space: nowrap;
}
.guide-steps .guide-card h4 { margin: 0 0 4px; }
.guide-steps .guide-card p { margin: 0; }
/* 下向き矢印でステップの流れを示す */
.guide-steps .guide-card:not(:last-child)::after {
  content: "▼";
  position: absolute;
  left: 36px;
  transform: translateX(-50%);
  bottom: calc(var(--sp-6) * -1 + 2px);
  color: var(--color-accent);
  font-size: 14px;
  line-height: 1;
}

/* ---------- Responsive fine-tuning ---------- */
@media (max-width: 640px) {
  .section { padding: var(--sp-9) 0; }
  .hero { padding-top: calc(var(--header-h) + var(--sp-7)); padding-bottom: var(--sp-9); }
  .hero-proof { max-width: 100%; }
  .site-nav { display: none; }
  .cycle-item { max-width: 100%; }
}
