/*
Theme Name: Seralive Landing Page
Theme URI: https://seralive.a-ltruist.com/
Author: Seralive
Description: セラリブ専用の一枚型ランディングページテーマ。
Version: 1.0.0
Text Domain: seralive
*/

:root {
  --ink: #101923;
  --navy: #073b73;
  --blue: #1476cf;
  --blue-bright: #48a4f5;
  --ice: #edf7fc;
  --mist: #f6fafc;
  --line: rgba(10, 54, 95, .16);
  --white: #fff;
  --shadow: 0 22px 70px rgba(10, 48, 78, .14);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-feature-settings: "palt";
  letter-spacing: .035em;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 92px;
  padding: 0 28px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(7,59,115,.08);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 146px; height: 72px; object-fit: contain; }
.global-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 700; }
.global-nav a { position: relative; padding: 10px 0; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 0; height: 1px; background: var(--blue); transition: width .25s ease; }
.global-nav a:hover::after { width: 100%; }
.header-cta {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 160px;
  margin: 0 -28px 0 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
  letter-spacing: .12em;
}
.header-cta small { display: block; margin-top: -18px; font-size: 10px; font-weight: 500; letter-spacing: .08em; opacity: .72; }

.hero {
  position: relative;
  min-height: 790px;
  padding-top: 92px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0 37%, #e6f4fb 37% 100%);
}
.hero-media { position: absolute; inset: 130px 3.5vw 54px 21.5vw; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(237,247,252,.6), transparent 40%, rgba(4,29,54,.05)); }
.hero-frame { position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.62); pointer-events: none; }
.hero-frame::before, .hero-frame::after { content: ""; position: absolute; width: 72px; height: 72px; border-color: rgba(5,42,78,.6); }
.hero-frame::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.hero-frame::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 50vw);
  padding: 207px 0 90px max(5vw, 54px);
}
.eyebrow { margin: 0 0 22px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(41px, 5vw, 76px); font-weight: 600; line-height: 1.28; letter-spacing: .01em; }
.hero h1 .marker { display: inline; background: linear-gradient(transparent 70%, rgba(72,164,245,.28) 70%); }
.hero-lead { width: min(490px, 100%); margin: 28px 0 34px; font-size: 16px; font-weight: 600; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 250px;
  padding: 17px 20px 17px 26px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 14px 30px rgba(10,25,35,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button::after { content: "↗"; display: grid; place-items: center; width: 36px; height: 36px; margin-left: 20px; color: var(--ink); background: #fff; border-radius: 50%; }
.button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(10,25,35,.24); }
.button.blue { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.micro-note { margin: 13px 0 0 12px; color: #556778; font-size: 11px; }
.hero-index { position: absolute; right: 5.4vw; bottom: 85px; z-index: 2; color: #fff; font-size: 18px; letter-spacing: .16em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-index strong { font-size: 44px; font-weight: 300; }
.scroll-guide { position: absolute; left: 20px; bottom: 36px; z-index: 4; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.scroll-guide::after { content: ""; display: block; width: 1px; height: 70px; background: var(--ink); }

.section { padding: 120px 0; }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 58px); font-weight: 600; line-height: 1.4; }
.section-title small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.section-lead { max-width: 670px; margin: 28px 0 0; color: #4c6071; font-size: 15px; }

.intro { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.intro-statement { position: sticky; top: 130px; padding-left: 74px; }
.section-number { position: absolute; left: 0; top: -12px; color: rgba(20,118,207,.2); font-family: var(--serif); font-size: 64px; line-height: 1; }
.feature-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature {
  position: relative;
  min-height: 210px;
  padding: 38px 38px 34px 112px;
  background: #fff;
  overflow: hidden;
}
.feature::before { position: absolute; left: 34px; top: 34px; color: var(--blue); font-family: var(--serif); font-size: 20px; content: attr(data-no); }
.feature h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.feature p { margin: 0; color: #506577; font-size: 14px; }
.feature .line { position: absolute; left: 34px; top: 75px; width: 42px; height: 1px; background: var(--blue); }

.support { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.support::before { content: "SERALIVE"; position: absolute; right: -30px; top: -90px; color: rgba(255,255,255,.04); font-size: 17vw; font-weight: 900; letter-spacing: -.05em; }
.support .section-kicker { color: #8ac9ff; }
.support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: end; }
.support-copy p { color: #d5e7f6; }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-card { min-height: 186px; padding: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.support-card strong { display: block; margin-bottom: 30px; color: #8ac9ff; font-size: 12px; letter-spacing: .18em; }
.support-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; }
.support-card p { margin: 0; color: #c6dced; font-size: 12px; }

.flow { background: var(--ice); }
.flow-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.flow-head .section-lead { max-width: 410px; margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { position: relative; padding: 35px 28px 42px; border-right: 1px solid var(--line); }
.step:first-child { border-left: 1px solid var(--line); }
.step-no { color: var(--blue); font-family: var(--serif); font-size: 13px; letter-spacing: .12em; }
.step h3 { margin: 38px 0 13px; font-family: var(--serif); font-size: 22px; }
.step p { margin: 0; color: #536879; font-size: 13px; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 88px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 58px 26px 44px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 7px; color: var(--blue); font-family: var(--sans); }
.faq-list summary::after { content: "+"; position: absolute; right: 12px; top: 23px; color: var(--blue); font-family: var(--sans); font-size: 24px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 42px 0; padding: 0 16px 25px 3px; color: #526779; font-size: 14px; }

.contact { padding: 115px 0; color: #fff; background: linear-gradient(115deg, #0b1722, #073b73 60%, #1476cf); text-align: center; }
.contact .section-kicker { color: #9ed5ff; }
.contact .section-title { margin-inline: auto; }
.contact p { max-width: 620px; margin: 24px auto 35px; color: #d8ebfa; font-size: 14px; }
.contact-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact .button { min-width: 285px; background: #fff; color: var(--navy); }
.contact .button::after { color: #fff; background: var(--blue); }
.contact .button.placeholder { cursor: not-allowed; opacity: .76; }
.contact-note { display: block; margin-top: 18px; color: #a8c9df; font-size: 11px; }

.site-footer { padding: 54px 0 26px; background: #08131d; color: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; align-items: center; }
.footer-logo img { width: 150px; height: 78px; object-fit: contain; filter: drop-shadow(0 3px 14px rgba(77,163,244,.22)); }
.footer-copy { max-width: 580px; color: #9fb0bd; font-size: 11px; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #718592; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.mobile-menu-label { display: none; }

@media (max-width: 980px) {
  .site-header { height: 78px; padding: 0 18px; }
  .brand img { width: 118px; height: 62px; }
  .global-nav { display: none; }
  .header-cta { width: 128px; margin-left: auto; margin-right: -18px; font-size: 12px; }
  .hero { min-height: 820px; padding-top: 78px; background: var(--ice); }
  .hero-media { inset: 112px 18px 135px 20%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(237,247,252,.8), rgba(237,247,252,.08) 55%, rgba(4,29,54,.05)); }
  .hero-copy { width: 75vw; padding: 195px 0 125px 34px; }
  .hero-index { right: 40px; bottom: 158px; }
  .intro-grid, .support-layout, .faq-grid { grid-template-columns: 1fr; gap: 58px; }
  .intro-statement { position: relative; top: auto; }
  .support-copy { max-width: 700px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 1px solid var(--line); }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 34px, 1160px); }
  .section { padding: 82px 0; }
  .hero { min-height: 760px; }
  .hero-media { inset: 110px 0 0 22%; box-shadow: none; }
  .hero-media img { object-position: 61% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(237,247,252,.98) 0%, rgba(237,247,252,.8) 26%, rgba(237,247,252,.08) 69%); }
  .hero-frame { inset: 18px; }
  .hero-copy { width: 94%; padding: 168px 18px 100px 25px; }
  .hero h1 { font-size: clamp(38px, 12vw, 58px); line-height: 1.35; }
  .hero-lead { max-width: 80%; font-size: 13px; }
  .button { min-width: 230px; }
  .hero-index { right: 23px; bottom: 35px; }
  .scroll-guide { display: none; }
  .intro-statement { padding-left: 54px; }
  .section-number { font-size: 50px; }
  .feature { min-height: auto; padding: 30px 24px 30px 78px; }
  .feature::before { left: 25px; top: 29px; }
  .feature .line { left: 25px; width: 30px; }
  .support-cards { grid-template-columns: 1fr; }
  .flow-head { display: block; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child { border: 0; border-top: 1px solid var(--line); }
  .step:last-child { border-bottom: 1px solid var(--line); }
  .faq-grid { gap: 40px; }
  .faq-list summary { padding-left: 38px; font-size: 16px; }
  .faq-list p { margin-inline: 35px 15px; }
  .footer-top { display: block; }
  .footer-logo { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
