/* =========================================================
   つくばキッズ空港 LP — Styles
   Brand: やさしい / あたたかい / 頼れる / つくば愛
   ジブリ的あたたかみ × 洗練された現代アプリ感
   ========================================================= */

:root {
  /* Brand palette */
  --blue:   #4A7BC8;
  --blue-d: #3A66AC;
  --orange: #EA9D3F;
  --cyan:   #45B4E0;
  --pink:   #F39BB6;
  --green:  #7BC4A4;

  --cream:  #FFFBF3;
  --ink:    #2E3A59;
  --ink-60: rgba(46, 58, 89, 0.6);
  --ink-45: rgba(46, 58, 89, 0.45);

  /* Soft surface tints derived from brand */
  --surf-blue:  #EAF1FA;
  --surf-cyan:  #E6F5FB;
  --surf-orange:#FCF1E0;
  --surf-pink:  #FDEDF1;
  --surf-green: #ECF7F1;
  --card:       #FFFFFF;

  /* Sky gradient */
  --sky-top:    #BFE6F5;
  --sky-mid:    #DCF1F8;
  --sky-bot:    var(--cream);

  /* Type */
  --jp: "M PLUS Rounded 1c", system-ui, sans-serif;
  --en: "Baloo 2", "M PLUS Rounded 1c", system-ui, sans-serif;

  /* Geometry */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Shadows — warm, soft */
  --sh-sm: 0 4px 14px rgba(46, 58, 89, 0.08);
  --sh-md: 0 14px 36px rgba(46, 58, 89, 0.12);
  --sh-lg: 0 26px 60px rgba(46, 58, 89, 0.16);

  --maxw: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--jp);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 800; letter-spacing: 0.01em; }

p { margin: 0; }

.en { font-family: var(--en); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  font-family: var(--en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--ink-60); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--jp);
  font-weight: 800;
  font-size: 17px;
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(74, 123, 200, 0.34);
}
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(74,123,200,0.42); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-disabled {
  background: #EDEAE2;
  color: var(--ink-45);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-sm { padding: 12px 22px; font-size: 15px; }
.btn-lg { padding: 20px 40px; font-size: 19px; }

.btn-note { font-size: 13px; color: var(--ink-45); margin-top: 12px; }
.os-tag { font-family: var(--en); font-weight: 700; font-size: 12px; opacity: .9; }

/* ---------- Free badge ---------- */
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  padding: 9px 18px 9px 10px;
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}
.free-badge .yen {
  background: var(--green); color: #fff;
  font-family: var(--en); font-weight: 800; font-size: 15px;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .02em;
}
.free-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(123,196,164,.25); }

/* ---------- Hero pills (3 pillars + age) ---------- */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-pills span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; box-shadow: var(--sh-sm);
  font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 9px 16px; border-radius: 999px;
}
.hero-pills i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hero-pills .d-blue { background: var(--blue); }
.hero-pills .d-orange { background: var(--orange); }
.hero-pills .d-cyan { background: var(--cyan); }
.hero-pills .d-pink { background: var(--pink); }
.age-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); color: var(--blue);
  font-weight: 800; font-size: 14px; padding: 7px 15px; border-radius: 999px;
}
.hero-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: #fff;
  font-family: var(--jp); font-weight: 800; font-size: 17px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(46,58,89,.18);
  transition: transform .3s ease;
  text-decoration: none;
}
.mobile-cta svg { width: 20px; height: 20px; flex: none; }
.mobile-cta.hide { transform: translateY(110%); }

@media (max-width: 880px) {
  .mobile-cta { display: flex; }
}

/* ---------- About / operator ---------- */
.about { background: linear-gradient(180deg, var(--surf-green), var(--cream)); }
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.about-mascot { display: grid; place-items: center; }
.about-mascot img { width: 220px; filter: drop-shadow(0 14px 20px rgba(46,58,89,.16)); }
.about-text { max-width: 620px; }
.about-text h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.about-text p { font-size: 17px; color: var(--ink-60); text-wrap: pretty; }
.about-text p + p { margin-top: 14px; }
.about-note { margin-top: 18px; font-size: 13px; color: var(--ink-45); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { background: rgba(255,251,243,.86); backdrop-filter: blur(12px); box-shadow: 0 2px 16px rgba(46,58,89,.07); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-weight: 700; font-size: 16px; color: var(--ink);
  position: relative; padding: 4px 0; transition: color .15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--orange); border-radius: 3px; transition: width .22s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* mobile menu panel */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--cream);
  box-shadow: 0 18px 30px rgba(46,58,89,.12);
  padding: 18px 24px 28px;
  display: none; flex-direction: column; gap: 6px;
  z-index: 99;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-weight: 700; font-size: 18px; padding: 14px 6px; border-bottom: 1px solid rgba(46,58,89,.08); }
.mobile-menu .btn { margin-top: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 90px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-bot) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 560px; }
.hero-logo { height: 56px; width: auto; margin-bottom: 2px; }
.hero-tagline { font-size: 16px; font-weight: 700; color: var(--blue); letter-spacing: 0.05em; margin-top: 0; margin-bottom: 28px; opacity: .85; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.18;
  letter-spacing: 0.005em;
}
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 28%;
  background: rgba(234, 157, 63, .32); border-radius: 8px; z-index: -1;
}
.hero-sub { margin-top: 0; margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--blue); opacity: .85; max-width: 500px; text-wrap: pretty; letter-spacing: 0.03em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-free { display: flex; gap: 16px; margin-top: 14px; justify-content: center; }
.hero-free span { font-size: 13px; font-weight: 800; color: var(--blue); background: rgba(74,123,200,.1); padding: 4px 12px; border-radius: 999px; }
.hero-meta { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta .sep { width: 1px; height: 18px; background: rgba(46,58,89,.18); }
.hero-meta span { font-size: 14px; font-weight: 700; color: var(--ink-60); }

/* phone + mascot stage */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-mascot {
  position: absolute;
  width: 290px;
  top: -8px; right: -18px;
  z-index: 3;
  filter: drop-shadow(0 16px 22px rgba(46,58,89,.18));
  animation: floaty 6s ease-in-out infinite;
}

/* clouds */
.cloud { position: absolute; background: #fff; border-radius: 100px; opacity: .92; z-index: 1; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 150px; height: 46px; top: 16%; left: 6%; animation: drift 26s linear infinite; }
.cloud.c1::before { width: 64px; height: 64px; top: -28px; left: 24px; }
.cloud.c1::after  { width: 46px; height: 46px; top: -18px; left: 80px; }
.cloud.c2 { width: 110px; height: 36px; top: 30%; right: 10%; opacity: .8; animation: drift 34s linear infinite reverse; }
.cloud.c2::before { width: 48px; height: 48px; top: -22px; left: 18px; }
.cloud.c2::after  { width: 34px; height: 34px; top: -12px; left: 58px; }
.cloud.c3 { width: 90px; height: 30px; bottom: 16%; left: 14%; opacity: .7; animation: drift 30s linear infinite; }
.cloud.c3::before { width: 40px; height: 40px; top: -18px; left: 14px; }
.cloud.c3::after  { width: 28px; height: 28px; top: -10px; left: 48px; }

@keyframes floaty { 0%,100%{ transform: translateY(0) rotate(-1deg);} 50%{ transform: translateY(-16px) rotate(1.5deg);} }
@keyframes drift { from { transform: translateX(0);} to { transform: translateX(40px);} }

/* soft hill at bottom of hero */
.hero-hill {
  position: absolute; left: -5%; right: -5%; bottom: -2px; height: 120px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

/* =========================================================
   PHONE MOCKUP
   ========================================================= */
.phone {
  position: relative;
  width: 300px;
  background: var(--ink);
  border-radius: 44px;
  padding: 7px;
  box-shadow: var(--sh-lg);
  z-index: 2;
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: var(--ink); border-radius: 999px; z-index: 4;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 660 / 1435; /* iPhone 17 比率・実スクショと一致 */
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  background: var(--surf-cyan);
}
.phone-screen img.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone.shot::before { display: none; }

/* placeholder screen content (swap with real screenshots) */
.screen-ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(74,123,200,.05) 0 12px, rgba(74,123,200,0) 12px 24px),
    linear-gradient(180deg, var(--surf-cyan), #fff 60%);
  display: flex; flex-direction: column;
}
.screen-ph .ph-top { height: 96px; background: linear-gradient(180deg, var(--cyan), var(--blue)); display: flex; align-items: flex-end; padding: 14px; }
.screen-ph .ph-top .pill { background: rgba(255,255,255,.85); height: 34px; border-radius: 999px; flex: 1; }
.screen-ph .ph-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.screen-ph .ph-card { background: #fff; border-radius: 16px; height: 64px; box-shadow: var(--sh-sm); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.screen-ph .ph-card i { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.screen-ph .ph-card .lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.screen-ph .ph-card .lines b { height: 9px; width: 70%; background: rgba(46,58,89,.16); border-radius: 4px; }
.screen-ph .ph-card .lines s { height: 7px; width: 45%; background: rgba(46,58,89,.10); border-radius: 4px; }
.screen-label {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px; letter-spacing: .04em;
  color: var(--ink-45);
  background: rgba(255,255,255,.82);
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features { background: var(--cream); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 32px 26px 30px;
  box-shadow: var(--sh-sm);
  border: 1.5px solid rgba(46,58,89,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.feat-ic {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.feat-ic svg { width: 30px; height: 30px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feat-ic.f-blue  { background: var(--blue); }
.feat-ic.f-orange{ background: var(--orange); }
.feat-ic.f-cyan  { background: var(--cyan); }
.feat-ic.f-green { background: var(--green); }
.feat-ic.f-pink  { background: var(--pink); }
.feat-card h3 { font-size: 20px; margin-bottom: 10px; }
.feat-card p { font-size: 15px; color: var(--ink-60); text-wrap: pretty; }

/* =========================================================
   SCREENSHOTS
   ========================================================= */
.screens { background: linear-gradient(180deg, var(--surf-blue), var(--cream)); }
.screen-rail {
  display: flex; gap: 30px; justify-content: center; align-items: flex-start;
  flex-wrap: wrap;
}
.screen-item { width: 240px; text-align: center; }
.screen-item .phone { width: 240px; margin: 0 auto 18px; border-radius: 38px; padding: 6px; }
.screen-item .phone::before { width: 76px; height: 20px; top: 18px; }
.screen-item .phone-screen { border-radius: 33px; }
.screen-item h3 { font-size: 17px; margin-bottom: 4px; }
.screen-item p { font-size: 14px; color: var(--ink-60); }
.screen-item:nth-child(even) { transform: none; }

/* divider between the two rails */
.rail-divider { text-align: center; max-width: 620px; margin: 64px auto 40px; }
.rail-divider .eyebrow { color: var(--orange); }
.rail-divider .eyebrow::before { background: var(--cyan); }
.rail-divider h3 { font-size: clamp(24px, 3vw, 32px); }
.rail-divider p { margin-top: 12px; font-size: 16px; color: var(--ink-60); }

/* ---- 3-pillar showcase (overview + detail) ---- */
.pillars { display: flex; flex-direction: column; gap: 96px; }
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pillar.rev .pillar-media { order: 2; }
.pillar-media {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 580px;
}
.pillar-blob {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  filter: blur(8px); opacity: .5; z-index: 0;
}
.pillar.p-blue   .pillar-blob { background: var(--surf-blue); }
.pillar.p-orange .pillar-blob { background: var(--surf-orange); }
.pillar.p-cyan   .pillar-blob { background: var(--surf-cyan); }
.pillar-media .phone { position: absolute; width: 246px; }
.pillar-media .phone.back  { transform: rotate(-6deg) translate(-78px, 18px); z-index: 1; }
.pillar-media .phone.front { transform: rotate(5deg) translate(78px, -10px); z-index: 2; }

.pillar-text { max-width: 460px; }
.pillar.rev .pillar-text { margin-left: auto; }
.pillar-num {
  font-family: var(--en); font-weight: 800; font-size: 16px; letter-spacing: .12em;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.pillar-num .badge {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  color: #fff;
}
.pillar-num .badge svg { width: 19px; height: 19px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-blue   .pillar-num { color: var(--blue); }   .p-blue   .badge { background: var(--blue); }
.p-orange .pillar-num { color: var(--orange); } .p-orange .badge { background: var(--orange); }
.p-cyan   .pillar-num { color: var(--cyan); }   .p-cyan   .badge { background: var(--cyan); }
.pillar-text h3 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.pillar-text p { font-size: 17px; color: var(--ink-60); text-wrap: pretty; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pillar-tags span {
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: #fff; box-shadow: var(--sh-sm);
  padding: 9px 16px; border-radius: 999px;
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { background: linear-gradient(180deg, var(--surf-pink) 0%, var(--cream) 70%); }
.timeline-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.timeline-feed { order: 1; }
.timeline-phone { order: 2; }
.timeline-phone { position: relative; display: flex; justify-content: center; }
.timeline-phone .phone { width: 280px; }
.timeline-phone .tl-plane {
  position: absolute; width: 120px; top: -26px; right: 2%;
  filter: drop-shadow(0 10px 16px rgba(46,58,89,.16));
  animation: floaty 6s ease-in-out infinite; z-index: 3;
}
.timeline-feed { display: flex; flex-direction: column; gap: 16px; max-width: 540px; }
.feed-card {
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-sm); padding: 22px 24px;
  border: 1.5px solid rgba(46,58,89,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feed-card:hover { transform: translateX(4px); box-shadow: var(--sh-md); }
.feed-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.feed-tag {
  font-size: 13px; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}
.feed-tag.t-pink  { background: var(--surf-pink);  color: #D86A8A; }
.feed-tag.t-blue  { background: var(--surf-blue);  color: var(--blue); }
.feed-tag.t-green { background: var(--surf-green); color: #4FA07E; }
.feed-time { font-size: 13px; font-weight: 700; color: var(--ink-45); }
.feed-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.45; }
.feed-card p { font-size: 15px; color: var(--ink-60); text-wrap: pretty; }
.feed-foot {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue);
}
.feed-foot svg { width: 15px; height: 15px; fill: currentColor; }

/* =========================================================
   PERSONA
   ========================================================= */
.persona { background: var(--cream); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona-card {
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-sm);
}
.persona-card.p-pink  { background: var(--surf-pink); }
.persona-card.p-cyan  { background: var(--surf-cyan); }
.persona-card.p-orange{ background: var(--surf-orange); }
.persona-emoji {
  width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--sh-sm); margin-bottom: 20px;
}
.persona-emoji svg { width: 34px; height: 34px; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-pink .persona-emoji svg { stroke: var(--pink); }
.p-cyan .persona-emoji svg { stroke: var(--cyan); }
.p-orange .persona-emoji svg { stroke: var(--orange); }
.persona-card h3 { font-size: 20px; margin-bottom: 10px; }
.persona-card p { font-size: 15px; color: var(--ink-60); text-wrap: pretty; }
.persona-card .tag { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ink); opacity: .55; margin-bottom: 14px; font-family: var(--en); letter-spacing: .04em; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: linear-gradient(180deg, var(--cream), var(--surf-green)); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-sm); overflow: hidden;
  border: 1.5px solid rgba(46,58,89,.05);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--jp); font-weight: 800; font-size: 17px; color: var(--ink);
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .plus { position: relative; width: 22px; height: 22px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 3px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 16px; height: 3px; }
.faq-q .plus::after  { width: 3px; height: 16px; transition: transform .25s ease; }
.faq-item.open .faq-q .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-60); font-size: 15px; text-wrap: pretty; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  text-align: center;
  padding: 96px 0;
}
.final .cloud { opacity: .35; }
.final-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.final h2 { font-size: clamp(30px, 4.4vw, 46px); }
.final p { margin-top: 16px; font-size: 18px; opacity: .92; }
.final .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.final .btn-primary:hover { background: #fff; color: var(--blue-d); }
.final .btn-disabled { background: rgba(255,255,255,.16); color: rgba(255,255,255,.72); box-shadow: none; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.final .btn-note { color: rgba(255,255,255,.8); }
.final-mascot { width: 150px; margin: 0 auto 8px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.2)); animation: floaty 6s ease-in-out infinite; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--cream); padding: 56px 0 40px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo img { height: 34px; }
.footer-logo p { margin-top: 12px; font-size: 13px; color: var(--ink-45); }
.footer-powered { margin-top: 4px !important; font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .02em; color: var(--ink-45); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 700; color: var(--ink-60); }
.footer-links a:hover { color: var(--blue); }
.footer-copy { width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(46,58,89,.1); font-size: 13px; color: var(--ink-45); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .hero-mascot, .final-mascot, .cloud { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-mascot { width: 230px; }
}

@media (max-width: 880px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: block; }
  .mobile-menu { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 18px; text-align: center; max-width: 560px; margin: 0 auto; }
  .about-mascot img { width: 150px; }
  .about-text { margin: 0 auto; }

  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-top, .hero-pills { justify-content: center; }
  .hero-stage { min-height: 480px; margin-top: 8px; }
  .hero-mascot { width: 180px; top: -6px; right: 4%; }

  .persona-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .screen-item:nth-child(even) { transform: none; }

  .timeline-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline-feed { order: 2; max-width: 100%; }
  .timeline-phone { order: 1; }
  .timeline-phone .phone { width: 240px; }
  .timeline-phone .tl-plane { width: 92px; top: -18px; }

  .pillar { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .pillar.rev .pillar-media { order: 0; }
  .pillar-media { min-height: 470px; }
  .pillar-media .phone { width: 200px; }
  .pillar-media .phone.back  { transform: rotate(-6deg) translate(-62px, 14px); }
  .pillar-media .phone.front { transform: rotate(5deg) translate(62px, -8px); }
  .pillar-text { max-width: 100%; margin: 0 auto !important; }
  .pillar-num { justify-content: center; }
  .pillar-tags { justify-content: center; }
  .pillars { gap: 56px; }
}

@media (max-width: 560px) {
  body { line-height: 1.7; }
  .nav-logo img { height: 26px; }
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: clamp(21px, 5.4vw, 25px); }
  .section-head p { font-size: 14.5px; margin-top: 13px; line-height: 1.75; }
  .eyebrow { font-size: 12px; margin-bottom: 11px; }

  /* hero compression */
  .hero { padding-top: calc(var(--nav-h) + 26px); padding-bottom: 56px; }
  .hero h1 { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.3; }
  .hero-logo { height: 40px; margin-bottom: 2px; }
  .hero-sub { font-size: 14.5px; margin-top: 16px; line-height: 1.75; }
  .hero-pills { margin-top: 18px; gap: 6px; flex-wrap: nowrap; justify-content: center; }
  .hero-pills span { font-size: 11px; padding: 6px 9px; gap: 5px; white-space: nowrap; }
  .hero-pills i { width: 7px; height: 7px; }
  .free-badge { font-size: 13px; padding: 7px 14px 7px 7px; }
  .free-badge .yen { font-size: 13px; padding: 3px 10px; }
  .age-chip { font-size: 12px; padding: 6px 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; margin-top: 26px; gap: 11px; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { margin-top: 18px; gap: 12px; }
  .hero-meta span { font-size: 12px; }
  .hero-stage { min-height: 440px; margin-top: 10px; }
  .phone { width: 256px; }

  /* buttons */
  .btn-lg { padding: 15px 26px; font-size: 15.5px; }
  /* hero/final CTA: both buttons share the same (content-fit) width, centered */
  .final-cta { flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .final-cta .btn { width: 100%; }
  .hero-cta .btn-disabled, .final-cta .btn-disabled { font-size: 14px; }

  /* feature cards — 2x2 grid on mobile */
  .feat-grid { grid-template-columns: 1fr 1fr; max-width: 100%; margin: 0; gap: 10px; }
  .feat-card { padding: 14px 10px; text-align: center; }
  .feat-ic { width: 34px; height: 34px; border-radius: 10px; margin: 0 auto 8px; }
  .feat-ic svg { width: 18px; height: 18px; }
  .feat-card h3 { font-size: 13px; margin-bottom: 0; }
  .feat-card p { display: none; }

  /* timeline */
  .timeline-grid { gap: 32px; }
  .feed-card { padding: 18px 18px; border-radius: var(--r-sm); }
  .feed-card h3 { font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
  .feed-card p { font-size: 13px; line-height: 1.65; }
  .feed-tag { font-size: 12px; padding: 4px 11px; }
  .feed-time { font-size: 12px; }
  .timeline-phone .phone { width: 220px; }

  /* screens rail — 2-up on mobile */
  .screen-rail { gap: 16px; padding: 0 16px; }
  .screen-item { width: calc(50% - 8px); }
  .screen-item .phone { width: 100%; }
  .screen-item h3 { font-size: 14.5px; margin-top: 4px; }
  .screen-item p { font-size: 12px; }

  /* persona */
  .persona-grid { gap: 12px; }
  .persona-card { padding: 20px 20px; }
  .persona-card .tag { font-size: 11.5px; margin-bottom: 8px; }
  .persona-card h3 { font-size: 16px; margin-bottom: 7px; }
  .persona-card p { font-size: 13px; line-height: 1.65; }

  /* faq */
  .faq-list { gap: 11px; }
  .faq-q { font-size: 14.5px; padding: 18px 20px; }
  .faq-a-inner { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.7; }

  /* about */
  .about-grid { gap: 22px; }
  .about-text p { font-size: 14px; line-height: 1.75; }

  /* final */
  .final { padding: 70px 0; }
  .final h2 { font-size: clamp(21px, 6vw, 26px); line-height: 1.35; }
  .final p { font-size: 14.5px; line-height: 1.7; }
  .final-mascot { width: 108px; }

  /* hide content-overlapping clouds on mobile for a cleaner hero */
  .hero .cloud.c2, .hero .cloud.c3,
  .final .cloud.c2, .final .cloud.c3 { display: none; }

  .footer-grid { flex-direction: column; align-items: flex-start; }

  /* pillars (kept for safety) */
  .pillar-media { min-height: 410px; }
  .pillar-media .phone { width: 172px; }
  .pillar-media .phone.back  { transform: rotate(-6deg) translate(-52px, 12px); }
  .pillar-media .phone.front { transform: rotate(5deg) translate(52px, -6px); }
  .pillar-blob { width: 300px; height: 300px; }
}

/* SP専用改行 */
.sp-br { display: none; }
@media (max-width: 560px) {
  .sp-br { display: block; }
}
