@charset "UTF-8";

:root {
  --navy: #172b4d;
  --navy-dark: #0c1b32;
  --yellow: #f4c400;
  --orange: #f09a00;
  --red: #d9483b;
  --cream: #fffaf0;
  --soft: #f7f4ec;
  --white: #fff;
  --text: #20242b;
  --muted: #69717d;
  --line: #ddd7c9;
  --shadow: 0 18px 45px rgba(17, 37, 64, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999;
  transform: translateY(-140%); padding: 10px 16px;
  background: var(--navy); color: #fff; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(23,43,77,.1);
  backdrop-filter: blur(12px);
}
.header-top { background: var(--navy); color: #fff; font-size: .86rem; }
.header-top__inner {
  min-height: 34px; display: flex; justify-content: space-between; align-items: center;
}
.issue { margin: 0; }
.member-login { color: #fff; text-decoration: none; font-weight: 700; }
.member-login::after { content: " →"; color: var(--yellow); }

.brand-row {
  min-height: 92px; display: flex; align-items: center; gap: 32px;
}
.brand { display: block; flex: 0 1 400px; }
.brand img { display: block; width: min(400px, 52vw); }
.global-nav { margin-left: auto; display: flex; gap: clamp(14px, 2vw, 28px); }
.global-nav a {
  position: relative; text-decoration: none; color: var(--navy);
  font-size: .94rem; font-weight: 700; white-space: nowrap;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 3px; background: var(--yellow); transition: right .2s ease;
}
.global-nav a:hover::after { right: 0; }
.menu-button {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.menu-button span:not(.sr-only) {
  display: block; width: 26px; height: 2px; margin: 6px auto; background: var(--navy);
}

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(244,196,0,.35), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff9e5 58%, #f9edbc 100%);
}
.hero::before {
  content: ""; position: absolute; inset: auto -8% -38% auto;
  width: 520px; height: 520px; border: 80px solid rgba(240,154,0,.08); border-radius: 50%;
}
.hero__grid {
  min-height: 620px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  align-items: center; gap: 40px; padding-block: 70px 45px;
}
.kicker {
  display: inline-flex; margin: 0 0 18px; padding: 7px 14px;
  color: var(--navy); background: var(--yellow); border-radius: 999px;
  font-weight: 800; font-size: .94rem;
}
.hero h1 {
  margin: 0; color: var(--navy); font-size: clamp(2.25rem, 4.5vw, 4.2rem);
  line-height: 1.22; letter-spacing: -.04em;
}
.hero h1 .hero-title-line {
  display: block; width: max-content; max-width: 100%; white-space: nowrap;
}
.hero h1 .hero-title-line--accent {
  margin-top: 8px;
  background: linear-gradient(transparent 68%, rgba(244,196,0,.8) 0);
}
.hero__lead { max-width: 720px; margin: 26px 0 0; font-size: 1.13rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 28px 0 0; list-style: none;
  color: var(--navy); font-weight: 700; font-size: .92rem;
}
.hero__points li::before { content: "●"; margin-right: 8px; color: var(--orange); font-size: .72rem; }
.hero__visual { position: relative; align-self: end; min-height: 510px; }
.hero__visual img {
  position: absolute; z-index: 2; right: 0; bottom: -18px;
  height: 500px; width: auto; max-width: none;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.12));
}
.hero__sun {
  position: absolute; right: 2%; top: 8%; width: 360px; height: 360px;
  border-radius: 50%; background: var(--yellow);
}
.hero__speech {
  position: absolute; z-index: 3; top: 14%; left: -10%; margin: 0; padding: 18px 22px;
  background: #fff; border: 3px solid var(--navy); border-radius: 18px;
  color: var(--navy); font-weight: 900; line-height: 1.45; transform: rotate(-3deg);
  box-shadow: var(--shadow);
}
.hero__speech::after {
  content: ""; position: absolute; right: -18px; bottom: 16px;
  border-width: 12px 0 12px 20px; border-style: solid;
  border-color: transparent transparent transparent var(--navy);
}

.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--navy {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(244,196,0,.08), transparent 35%),
    var(--navy);
}
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading__en {
  margin: 0 0 8px; color: var(--orange); font-size: .82rem; font-weight: 900; letter-spacing: .22em;
}
.section-heading__en--light { color: var(--yellow); text-align: left; }
.section-heading h2, .ai-content h2, .cta h2 {
  margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.35;
}
.section-heading p:last-child { margin: 14px 0 0; color: var(--muted); }

.service-grid, .plan-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
}
.service-card, .plan-card {
  position: relative; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-card--featured { border: 3px solid var(--yellow); transform: translateY(-10px); }
.service-card__badge {
  position: absolute; top: -14px; right: 22px; padding: 5px 14px;
  color: var(--navy); background: var(--yellow); border-radius: 999px; font-weight: 900;
}
.service-card__number {
  color: rgba(23,43,77,.16); font-family: Georgia, serif; font-size: 3rem; font-weight: 700; line-height: 1;
}
.service-card__label { margin: 14px 0 0; color: var(--orange); font-weight: 800; }
.service-card h3, .plan-card h3 { margin: 4px 0 10px; color: var(--navy); font-size: 1.65rem; }
.service-card ul { padding-left: 1.25rem; }
.text-link { color: var(--navy); font-weight: 900; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }

.ai-grid { max-width: 920px; }
.ai-content h2 { color: #fff; }
.ai-content > p { color: rgba(255,255,255,.84); }
.consultation-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.consultation-list span {
  padding: 7px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(255,255,255,.08); font-weight: 700; font-size: .9rem;
}
.chat-sample { margin: 26px 0; padding: 24px; color: var(--text); background: #fff; border-radius: 18px; }
.chat-sample__question {
  margin: 0 0 14px auto; width: fit-content; max-width: 88%; padding: 11px 15px;
  background: #eaf0f8; border-radius: 14px 14px 2px 14px;
}
.chat-sample__answer {
  position: relative; margin: 0; padding-left: 36px;
}
.chat-sample__answer::before {
  content: "AI"; position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 27px; height: 27px; color: var(--navy); background: var(--yellow);
  border-radius: 50%; font-size: .7rem; font-weight: 900;
}

.plan-card { text-align: center; }
.plan-card--recommended { border: 3px solid var(--yellow); transform: translateY(-12px); }
.plan-card__recommend {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  margin: 0; padding: 5px 18px; color: var(--navy); background: var(--yellow);
  border-radius: 999px; white-space: nowrap; font-weight: 900;
}
.plan-card__type { margin: 0; color: var(--orange); font-weight: 900; }
.plan-card__price { margin: 24px 0 10px; color: var(--navy); font-size: 2rem; font-weight: 900; }
.plan-card__note { min-height: 58px; color: var(--muted); }
.plan-caution { margin-top: 24px; text-align: center; color: var(--muted); font-size: .88rem; }

.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  padding: 12px 24px; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; font-weight: 900; transition: transform .18s, box-shadow .18s, opacity .18s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,37,64,.18); }
.button--primary { color: #fff; background: var(--navy); }
.button--outline { color: var(--navy); background: #fff; border-color: var(--navy); }
.button--yellow { color: var(--navy-dark); background: var(--yellow); }
.button[aria-disabled="true"] { opacity: .52; cursor: not-allowed; pointer-events: none; }

.flow-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding: 0; list-style: none; }
.flow-list li {
  position: relative; padding: 26px 20px; border-top: 5px solid var(--yellow);
  background: #fff; border-radius: 0 0 16px 16px; box-shadow: var(--shadow);
}
.flow-list span {
  display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 14px;
  color: #fff; background: var(--navy); border-radius: 50%; font-weight: 900;
}
.flow-list h3 { margin: 0; color: var(--navy); }
.flow-list p { margin-bottom: 0; color: var(--muted); }

details {
  margin: 12px 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 8px 24px rgba(17,37,64,.06);
}
summary { position: relative; padding: 20px 52px 20px 22px; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 1.6rem;
}
details[open] summary::after { content: "−"; }
details > p, details > .legal-table { padding: 0 22px 22px; margin: 0; color: var(--muted); }

.cta { padding: 70px 0; color: #fff; background: var(--navy-dark); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta__sub { margin: 0 0 4px; color: var(--yellow); font-weight: 900; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }

.legal { padding-top: 60px; }
.legal-table p {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px;
  margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line);
}
.legal-table strong { color: var(--navy); }

.site-footer { padding: 55px 0 28px; color: rgba(255,255,255,.82); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 40px; }
.footer-logo { width: 330px; padding: 10px; background: #fff; border-radius: 8px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: #fff; text-decoration: none; }
.copyright { margin: 40px 0 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.56); }

.mobile-cta { display: none; }

@media (max-width: 960px) {
  .brand-row { min-height: 78px; }
  .global-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 18px 20px 26px; background: #fff; border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: grid; gap: 0; }
  .global-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-button { display: block; }
  .hero__grid { grid-template-columns: 1fr .7fr; }
  .service-grid, .plan-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .service-card--featured, .plan-card--recommended { transform: none; }

  .flow-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .header-top { display: none; }
  .brand-row { min-height: 68px; }
  .brand img { width: 250px; max-width: 72vw; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; padding: 52px 0 0; }
  .hero h1 { font-size: clamp(1.65rem, 6.8vw, 3rem); }
  .hero__visual { min-height: 390px; margin-top: 10px; }
  .hero__visual img { right: 4%; bottom: -8px; height: 390px; }
  .hero__sun { right: 0; width: 280px; height: 280px; }
  .hero__speech { top: 30%; left: 4%; font-size: .88rem; }
  .section { padding: 70px 0; }
  .service-card, .plan-card { padding: 26px 22px; }
  .flow-list { grid-template-columns: 1fr; }
  .cta__inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-table p { grid-template-columns: 1fr; gap: 4px; }
  .mobile-cta {
    position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; min-height: 62px;
    box-shadow: 0 -8px 24px rgba(0,0,0,.14);
  }
  .mobile-cta a {
    display: grid; place-items: center; color: #fff; background: var(--navy);
    text-decoration: none; font-weight: 900;
  }
  .mobile-cta a:last-child { color: var(--navy); background: var(--yellow); }
}

@media (max-width: 480px) {
  .hero__visual img { right: 0; }
  .hero__speech { left: 0; }
}
