:root {
  --navy: #06213e;
  --navy-deep: #043264;
  --sky: #edf8fc;
  --sky-2: #dff1fa;
  --blue: #2a8bc8;
  --orange: #fe914e;
  --yellow: #f6ef72;
  --pink: #fccad5;
  --bubble: #ffa6a6;
  --cream: #fdf1dc;
  --line: #06c755;
  --line-dark: #05a847;
  --text: #1c2a3a;
  --muted: #4a5b6d;
  --white: #fff;
  --radius-lg: 36px;
  --radius-md: 22px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Montserrat", var(--font);
  --font-hand: "Yomogi", "Klee", var(--font);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .hero-tag, .hand-note, .join-bubble { word-break: auto-phrase; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 700; color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.pc-only { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .04em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-line { background: var(--line); color: var(--white); box-shadow: 0 6px 0 var(--line-dark); }
.btn-line:hover { box-shadow: 0 8px 0 var(--line-dark); }
.btn-line:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--line-dark); }
.btn-outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 4px 0 var(--line-dark); }
.btn-lg { min-height: 60px; font-size: 17px; width: 100%; }
.btn-icon { width: 1.35em; height: 1.35em; flex: none; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 248, 252, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(6, 33, 62, .06);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header-logo img { height: 38px; width: auto; }
.header-nav { display: none; margin-left: auto; gap: 28px; }
.header-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); }
.header-nav a:hover { color: var(--blue); }
.header-cta { margin-left: auto; }

/* hero */
.hero { background: var(--sky); overflow: hidden; padding: 28px 0 64px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero-tag {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-family: var(--font-hand); font-size: 19px; color: var(--navy); line-height: 1.5;
  transform: rotate(-3deg); transform-origin: left center; margin-bottom: 20px;
}
.hero-tag span { background: linear-gradient(transparent 45%, var(--yellow) 45%, var(--yellow) 92%, transparent 92%); padding: 0 6px; }
.hero-tag span:last-child { margin-left: 1.2em; }
.hero-title {
  font-weight: 900; color: var(--navy);
  font-size: clamp(38px, 10.5vw, 72px); line-height: 1.28; letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-lead { font-size: 16px; color: var(--text); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-bottom: 22px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-badge {
  display: inline-block; background: var(--white); color: var(--navy);
  border: 2px solid var(--bubble); border-radius: 999px;
  padding: 4px 18px; font-weight: 700; font-size: 14px;
}
.hero-visual { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-visual::before {
  content: ""; position: absolute; inset: 6% -6% -4% 8%;
  background: var(--sky-2); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
}
.hero-visual picture, .hero-visual img {
  position: relative; width: 100%; aspect-ratio: 791 / 820; object-fit: cover;
  border-radius: 50% 46% 50% 54% / 46% 50% 54% 50%;
}

/* section common */
section { padding: 80px 0; }
.eyebrow { text-align: center; color: var(--orange); font-weight: 700; font-size: 15px; letter-spacing: .12em; margin-bottom: 6px; }
.section-title {
  font-weight: 900; color: var(--navy); font-size: clamp(26px, 6vw, 40px);
  line-height: 1.4; text-align: center; margin-bottom: 44px;
}
.section-title small { font-size: .62em; font-weight: 700; }
.section-title.wave { position: relative; display: block; padding-bottom: 22px; }
.section-title.wave::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, 520px); height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11C60 3 110 3 170 8s120 6 180 0 110-5 166 1' fill='none' stroke='%232a8bc8' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* features */
.features { background: var(--sky); padding-top: 24px; }
.feature-grid { display: grid; gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px 40px; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(6, 33, 62, .06);
}
.feature-num { font-family: var(--font-en); font-weight: 800; color: var(--orange); font-size: 42px; line-height: 1; margin-bottom: 18px; }
.feature-card h3 { font-weight: 900; color: var(--navy); font-size: 24px; line-height: 1.45; margin-bottom: 20px; }
.feature-card picture { display: block; margin: 0 auto 22px; }
.feature-card picture img { height: 200px; width: auto; object-fit: contain; margin: 0 auto; }
.feature-card p { font-size: 16px; }

/* landscape band */
.landscape { background: var(--sky); }
.landscape img { width: 100%; height: clamp(120px, 18vw, 240px); object-fit: cover; object-position: center 60%; }

/* flow */
.flow { background: var(--white); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 44px; }
.section-head .section-title { margin-bottom: 0; }
.hand-note {
  display: flex; flex-direction: column; align-items: center; font-family: var(--font-hand);
  font-size: 18px; color: var(--navy); transform: rotate(-3deg); line-height: 1.6; text-align: center;
}
.hand-note span { background: linear-gradient(transparent 50%, var(--pink) 50%, var(--pink) 94%, transparent 94%); padding: 0 6px; }
.flow-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.flow-card { background: var(--sky); border-radius: var(--radius-md); padding: 28px 24px 30px; display: flex; flex-direction: column; }
.flow-card h3 { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); font-size: 21px; line-height: 1.3; margin-bottom: 18px; }
.step-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: 22px;
}
.flow-img { height: 220px; display: grid; place-items: center; margin-bottom: 20px; background: var(--white); border-radius: 16px; padding: 14px; }
.flow-img picture { display: contents; }
.flow-img img { max-height: 192px; max-width: 100%; width: auto; border-radius: 6px; }
.flow-card p { font-size: 15.5px; }
.flow-card .note { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }

/* safety */
.safety { background: var(--white); padding-top: 24px; padding-bottom: 48px; }
.safety-grid { display: grid; gap: 22px; }
.safety-card { background: var(--sky); border-radius: var(--radius-lg); padding: 32px 30px 34px; }
.safety-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.safety-icon { width: 72px; height: 72px; flex: none; }
.safety-card h3 { display: flex; flex-direction: column; font-weight: 900; color: var(--navy); font-size: 28px; line-height: 1.3; }
.safety-card h3 small { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.safety-card p { font-size: 16px; }

/* join / contact */
.join { background: var(--white); padding-top: 32px; }
.join-box {
  position: relative; background: var(--cream); border-radius: var(--radius-lg);
  padding: 120px 24px 40px; text-align: center;
}
.join-bubble {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 210px; padding: 26px 10px; border-radius: 50%;
  background: var(--bubble); border: 3px solid #8a7268; color: var(--white);
  font-weight: 900; font-size: 17px; line-height: 1.45; text-align: center; text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.join-bubble::after {
  content: ""; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%) rotate(8deg);
  border: 14px solid transparent; border-top: 22px solid #8a7268;
}
.join-title { font-weight: 900; color: var(--navy); font-size: clamp(24px, 6.4vw, 42px); line-height: 1.45; margin-bottom: 22px; }
.join-title span { display: inline-block; background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 92%, transparent 92%); }
.join-body p { font-size: 16.5px; line-height: 1.9; text-align: left; }

.contact { display: grid; gap: 28px; margin-top: 40px; align-items: center; }
.contact-qr { display: none; }
.contact-actions { display: grid; gap: 18px; align-content: center; }
.footer-info { margin: 0; display: grid; gap: 6px; }
.footer-info div { display: flex; gap: 14px; }
.footer-info dt { flex: none; min-width: 7.5em; font-weight: 700; }
.footer-info dd { margin: 0; }

/* footer */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 28px; align-items: center; }
.footer-logo { width: 230px; }
.footer-info { font-size: 15px; }
.footer-info a { color: var(--white); }
.copyright { text-align: center; font-size: 12px; opacity: .7; margin-top: 36px; font-family: var(--font-en); letter-spacing: .08em; }

/* mobile fixed CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 18px rgba(6, 33, 62, .08);
}
.mobile-cta[hidden] { display: none; }
.mobile-cta .btn { width: 100%; }

@media (max-width: 420px) {
  .header-cta { display: none; }
}

@media (min-width: 768px) {
  .pc-only { display: inline; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .feature-card { padding: 32px 22px 36px; }
  .feature-card h3 { font-size: 21px; }
  .feature-card picture img { height: 160px; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-box { padding: 56px 48px 56px 280px; text-align: left; }
  .join-bubble { left: 40px; top: 50%; transform: translateY(-50%); width: 220px; }
  .join-bubble::after { left: auto; right: -30px; bottom: auto; top: 50%; transform: translateY(-50%); border: 12px solid transparent; border-left: 24px solid #8a7268; }
  .join-body p { text-align: left; }
  .contact { grid-template-columns: 260px 1fr; gap: 40px; max-width: 860px; margin: 48px auto 0; }
  .contact-qr {
    display: block; text-align: center; background: var(--white); border-radius: var(--radius-md);
    border: 2px solid var(--sky-2); padding: 18px 18px 14px;
  }
  .contact-qr p { font-weight: 900; color: var(--navy); font-size: 16px; }
  .contact-qr img { width: 180px; margin: 8px auto 6px; }
  .contact-qr .contact-qr-sub { font-size: 12px; font-weight: 500; color: var(--muted); }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: auto 1fr; gap: 56px; }
  .site-footer { padding-bottom: 40px; }
  .mobile-cta { display: none; }
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-cta { margin-left: 8px; }
  .hero { padding: 40px 0 88px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 24px; }
  .hero-title { font-size: clamp(44px, 4.8vw, 66px); }
  .hero-visual { max-width: none; margin-right: -40px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .flow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-head { flex-direction: row; justify-content: center; gap: 28px; }
  .feature-grid, .safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .feature-card { padding: 36px 28px 40px; }
  .feature-card h3 { font-size: 24px; }
  .feature-card picture img { height: 200px; }
  .flow-card { padding: 26px 20px 28px; }
  .flow-card h3 { font-size: 18.5px; gap: 10px; white-space: nowrap; }
  .step-num { width: 38px; height: 38px; font-size: 20px; }
  .flow-img { height: 200px; }
  .flow-img img { max-height: 172px; }
  section { padding: 96px 0; }
  .safety { padding-top: 24px; padding-bottom: 56px; }
  .join { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
