:root {
  --paper: #f8f7f2;
  --surface: #fff;
  --ink: #34423f;
  --muted: #6f7d78;
  --green: #287d6d;
  --green-dark: #1f5f54;
  --green-soft: #dff1eb;
  --blue: #dcecf2;
  --peach: #f7ddd0;
  --line: #e4e6df;
  --shadow: 0 28px 70px rgba(43, 79, 71, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; border-radius: 12px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(52,66,63,.08); background: rgba(248,247,242,.9); backdrop-filter: blur(18px); }
.nav { width: min(1120px, calc(100% - 40px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.brand-icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; }
.brand-wordmark { width: 92px; height: auto; flex: 0 0 auto; }
.brand-label { min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.2; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.nav-links a { text-decoration: none; }
.nav-cta { padding: 9px 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; }

.hero { overflow: hidden; position: relative; padding: 74px 0 90px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero::before { width: 380px; height: 380px; left: -190px; top: 80px; background: var(--green-soft); }
.hero::after { width: 310px; height: 310px; right: -160px; bottom: 0; background: var(--peach); }
.hero-grid { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: clamp(43px, 6vw, 76px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
h1 em { color: var(--green); font-style: normal; }
.lead { max-width: 620px; margin: 27px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 2; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; padding: 12px 21px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; }
.button.primary { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(40,125,109,.22); }
.release-note { margin-top: 18px; color: var(--muted); font-size: 11px; }

.phone-wrap { position: relative; min-height: 620px; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 999px; border: 1px solid rgba(40,125,109,.16); }
.orbit.one { width: 560px; height: 560px; }
.orbit.two { width: 440px; height: 440px; }
.phone { position: relative; width: 300px; padding: 14px; border-radius: 45px; background: #24302e; box-shadow: var(--shadow); transform: rotate(2.5deg); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 88px; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #24302e; z-index: 2; }
.phone-screen { min-height: 585px; padding: 43px 17px 22px; border-radius: 34px; background: var(--paper); overflow: hidden; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.app-icon { width: 30px; height: 30px; border-radius: 9px; }
.app-wordmark { width: 68px; height: auto; }
.app-family { padding: 7px 10px; border-radius: 999px; background: #fff; font-size: 9px; }
.app-date { margin: 28px 0 0; color: var(--muted); font-size: 9px; }
.app-heading { margin: 3px 0 14px; font-size: 20px; font-weight: 800; line-height: 1.5; }
.departure-card { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 20px; background: var(--blue); font-size: 10px; line-height: 1.65; }
.squirrel { font-size: 42px; }
.mini-button { display: inline-block; margin-top: 9px; padding: 7px 10px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; }
.record-card { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.record-title { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; }
.optional { color: var(--muted); font-size: 8px; font-weight: 500; }
.record-label { margin: 12px 0 5px; color: var(--muted); font-size: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 5px; }
.choice { padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 8px; }
.choice.selected { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
.save { margin-top: 14px; padding: 9px; border-radius: 12px; background: var(--green); color: white; text-align: center; font-size: 9px; font-weight: 800; }

.section { padding: 98px 0; }
.section.white { background: #fff; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }
.section-head { max-width: 740px; }
h2 { margin: 0; font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.42; letter-spacing: -.015em; }
.section-copy { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 2; }
.feature-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 270px; padding: 27px; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 17px; background: var(--green-soft); font-size: 21px; }
.feature:nth-child(2) .feature-icon { background: var(--blue); }
.feature:nth-child(3) .feature-icon { background: var(--peach); }
.feature h3 { margin: 24px 0 10px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; }

.morning-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 21px; background: #fff; border: 1px solid var(--line); }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--green-soft); color: var(--green); font-weight: 900; }
.step strong { display: block; font-size: 14px; }
.step span { color: var(--muted); font-size: 11px; }

.principles { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle { padding: 22px; border-radius: 22px; background: var(--paper); }
.principle strong { display: block; margin-bottom: 6px; }
.principle p { margin: 0; color: var(--muted); font-size: 12px; }
.notice { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--green); background: var(--green-soft); font-size: 12px; color: var(--green-dark); }

.data-note-section { padding: 54px 0; background: var(--green-soft); }
.data-note-card { display: grid; grid-template-columns: 1.4fr .6fr; gap: 54px; align-items: center; padding: 42px; border: 1px solid rgba(40,125,109,.14); border-radius: 32px; background: rgba(255,255,255,.78); }
.data-note-card h2 { font-size: clamp(30px, 4vw, 46px); }
.data-note-action { display: grid; gap: 20px; justify-items: stretch; }
.data-note-number { display: block; color: var(--green-dark); font-size: clamp(31px, 4vw, 46px); font-weight: 800; line-height: 1.2; text-align: center; }
.data-note-number small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 600; }

.article-page { padding: 74px 0 110px; }
.article { width: min(860px, calc(100% - 40px)); margin: auto; }
.article-header { margin-bottom: 54px; }
.article-header h1 { max-width: 820px; font-size: clamp(37px, 6vw, 62px); line-height: 1.38; }
.article-lead { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 2; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.article-section { margin-top: 58px; }
.article-section h2 { font-family: inherit; font-size: clamp(27px, 4vw, 38px); font-weight: 800; }
.article-section h3 { margin-top: 34px; font-size: 19px; }
.article-section p, .article-section li { color: var(--muted); font-size: 14px; }
.stat-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 34px 0; }
.stat-box { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.stat-box strong { display: block; color: var(--green-dark); font-size: 25px; line-height: 1.25; }
.stat-box span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.table-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 12px; }
.data-table th, .data-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data-table th { background: var(--green-soft); color: var(--green-dark); font-size: 11px; }
.data-table th:nth-child(1), .data-table th:nth-child(2), .data-table td:nth-child(1), .data-table td:nth-child(2) { text-align: left; }
.data-table tr:last-child td { border-bottom: 0; }
.method-note, .source-note { margin-top: 28px; padding: 20px; border-radius: 20px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; }
.source-note a { color: var(--green-dark); font-weight: 700; }
.article-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.cta { padding: 92px 0; background: var(--green-dark); color: #fff; text-align: center; }
.cta h2 { max-width: 800px; margin: auto; }
.cta p { max-width: 680px; margin: 20px auto 0; color: rgba(255,255,255,.72); }
.cta .button { margin-top: 28px; border-color: #fff; color: var(--green-dark); }

.site-footer { padding: 54px 0 30px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer-copy { max-width: 430px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; align-content: start; font-size: 12px; }
.footer-links a { text-decoration: none; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

.legal { min-height: 70vh; padding: 76px 0 100px; }
.legal article { width: min(760px, calc(100% - 40px)); margin: auto; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); }
.legal h2 { margin-top: 42px; font-family: inherit; font-size: 21px; font-weight: 800; }
.legal h3 { margin-top: 28px; font-size: 15px; }
.legal p, .legal li { color: var(--muted); font-size: 13px; }
.legal time { color: var(--muted); font-size: 11px; }
.legal-nav { margin-bottom: 34px; }
.legal-nav a { color: var(--green); font-size: 12px; text-decoration: none; }
.support-cards { margin-top: 35px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-decoration: none; }
.support-card strong { display: block; }
.support-card span { color: var(--muted); font-size: 11px; }

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid, .morning-grid { grid-template-columns: 1fr; gap: 44px; }
  .data-note-card { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone-wrap { min-height: 610px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}

@media (max-width: 560px) {
  .nav { width: min(100% - 28px, 1120px); min-height: 64px; }
  .brand-wordmark { width: 82px; }
  .brand-icon { width: 34px; height: 34px; }
  .brand { gap: 8px; }
  .brand-label { gap: 2px; font-size: 12px; }
  .brand small { font-size: 8px; letter-spacing: .04em; }
  .nav-cta { padding: 8px 12px; font-size: 11px; }
  .hero { padding: 42px 0 68px; }
  .hero-grid, .container { width: min(100% - 30px, 1120px); }
  h1 { font-size: clamp(39px, 12vw, 57px); }
  .lead { font-size: 15px; }
  .button { width: 100%; }
  .phone-wrap { min-height: 580px; overflow: hidden; }
  .phone { width: 280px; }
  .phone-screen { min-height: 545px; }
  .orbit.one { width: 460px; height: 460px; }
  .orbit.two { width: 360px; height: 360px; }
  .section { padding: 72px 0; }
  .feature-grid { margin-top: 34px; }
  .principles, .footer-grid, .support-cards { grid-template-columns: 1fr; }
  .data-note-card { padding: 26px 20px; }
  .stat-summary { grid-template-columns: 1fr; }
  .article { width: min(100% - 30px, 860px); }
  .article-page { padding-top: 48px; }
  .article-lead { font-size: 15px; }
  .footer-links { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 374px) {
  .brand-wordmark { width: 72px; }
  .brand small { display: none; }
}
