/* ============================================================
   ASKS株式会社 コーポレートサイト
   style.css — やわらかいブルー×ホワイト基調（Soft & Trust）
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #2b4a75;
  --navy-dark: #21395c;
  --navy-light: #3a6ea5;
  --blue: #4a7fe0;
  --blue-bright: #6b9bee;
  --blue-light: #e9f1fd;
  --blue-pale: #f6f9fd;
  --gold: #e8b86d;
  --white: #ffffff;
  --gray: #64748c;
  --gray-light: #eef3f9;
  --text: #33445c;
  --radius: 20px;
  --shadow-sm: 0 3px 14px rgba(43, 74, 117, .07);
  --shadow-md: 0 10px 32px rgba(43, 74, 117, .12);
  --shadow-lg: 0 20px 50px rgba(43, 74, 117, .16);
  --grad-navy: linear-gradient(135deg, #2b4a75 0%, #3a6ea5 55%, #6b9bee 130%);
  --grad-blue: linear-gradient(135deg, #4a7fe0 0%, #7fb0f5 100%);
  --grad-soft: linear-gradient(180deg, #f6f9fd 0%, #e9f1fd 100%);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.9;
  background: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, .logo-text, .btn, .stat__num, .reason__num, .flow__label { font-family: var(--font-round); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .8; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 74, 117, .08);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; width: min(1240px, 94%); margin-inline: auto;
}

.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo a { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--grad-blue);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
}
.logo-text { font-weight: 800; font-size: 21px; letter-spacing: .06em; color: var(--navy); }
.logo-text small { display: block; font-size: 10px; font-weight: 600; color: var(--gray); letter-spacing: .18em; line-height: 1.2; }
.logo-svg { width: 46px; height: 46px; flex-shrink: 0; }
.logo-img { height: 50px; width: auto; border-radius: 10px; display: block; box-shadow: var(--shadow-sm); }
.header__logo .logo-text {
  background: linear-gradient(180deg, #1fc2e8 0%, #16407e 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.header__logo .logo-text small { background: none; -webkit-text-fill-color: var(--gray); color: var(--gray); }

.gnav__list { display: flex; align-items: center; gap: 28px; }
.gnav__list > li > a {
  color: var(--navy); font-weight: 600; font-size: 15px; position: relative; padding: 8px 0;
}
.gnav__list > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
  background: var(--grad-blue); transition: width .3s; border-radius: 3px;
}
.gnav__list > li > a:hover::after, .gnav__list > li > a[aria-current="page"]::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__tel { text-align: right; line-height: 1.3; }
.header__tel a { color: var(--navy); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.header__tel span { display: block; font-size: 11px; color: var(--gray); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; transition: transform .25s, box-shadow .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 20px rgba(74, 127, 224, .32); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(74, 127, 224, .42); opacity: 1; }
.btn--outline { background: #fff; color: var(--blue); border: 2px solid var(--blue-bright); }
.btn--white { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn--lg { padding: 18px 44px; font-size: 17px; }
.header__cta .btn { padding: 12px 24px; font-size: 14px; }

/* Hamburger */
.nav-toggle {
  display: none; width: 48px; height: 48px; background: transparent; border: none;
  position: relative; z-index: 1101;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--navy);
  transition: transform .3s, opacity .3s; border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  color: var(--navy);
  padding: 160px 0 120px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero::before { width: 560px; height: 560px; background: #cfe2fb; top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #dceafc; bottom: -160px; left: -100px; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--blue-light);
  color: var(--blue);
  padding: 8px 20px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.hero__title {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.4; letter-spacing: .02em;
  margin-bottom: 22px; color: var(--navy);
}
.hero__title .accent { color: var(--blue); }
.hero__lead { font-size: clamp(15px, 1.5vw, 17.5px); color: var(--gray); margin-bottom: 38px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__tel { line-height: 1.4; }
.hero__tel a { color: var(--navy); font-size: 28px; font-weight: 800; letter-spacing: .03em; font-family: var(--font-round); }
.hero__tel span { display: block; font-size: 12px; color: var(--gray); }

/* Hero photo */
.hero__photo { position: relative; }
.hero__photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  background: var(--grad-blue); border-radius: 32px; opacity: .18;
}
.hero__photo img {
  position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 32px; box-shadow: var(--shadow-lg);
}
.hero__photo .photo-note {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 10px 22px; font-size: 13.5px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
}
.hero__photo .photo-note svg { width: 18px; height: 18px; color: var(--blue); }

/* Stats strip (hero下) */
.stats-strip {
  position: relative; z-index: 5; margin-top: -56px;
}
.stats-strip .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-md);
  overflow: hidden; border: 1px solid rgba(43,74,117,.06);
}
.stat { text-align: center; padding: 30px 14px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--gray-light);
}
.stat__num { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.stat__num small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.stat__label { font-size: 12.5px; color: var(--gray); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--blue-pale); }
.section--navy { background: var(--grad-navy); color: #fff; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .en {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .28em;
  color: var(--blue-bright); text-transform: uppercase; margin-bottom: 12px;
}
.section--navy .section-head .en { color: #cfe2fb; }
.section-head h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: .04em; line-height: 1.5; }
.section--navy .section-head h2 { color: #fff; }
.section-head p { margin-top: 18px; color: var(--gray); max-width: 720px; margin-inline: auto; }
.section--navy .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Split（写真＋テキスト） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split--reverse .split__img { order: 2; }
.split__img { position: relative; }
.split__img::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  background: var(--blue-light); border-radius: 28px;
}
.split--reverse .split__img::before { inset: 20px 20px -20px -20px; }
.split__img img {
  position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-md);
}
.split__body .en { display: block; font-size: 13px; font-weight: 800; letter-spacing: .28em; color: var(--blue-bright); text-transform: uppercase; margin-bottom: 12px; }
.split__body h2 { font-size: clamp(23px, 2.8vw, 32px); font-weight: 800; color: var(--navy); line-height: 1.5; margin-bottom: 18px; }
.split__body p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.split__body .btn { margin-top: 14px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }

.card {
  background: #fff; border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06);
  transition: transform .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-blue); opacity: 0; transition: opacity .35s;
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 66px; height: 66px; border-radius: 20px;
  background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: .03em; }
.card p { font-size: 14.5px; color: var(--gray); }
.card .card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14px; }

/* Reason cards */
.reason { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.reason__item {
  background: #fff; border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06);
  transition: transform .35s, box-shadow .35s;
}
.reason__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.reason__num {
  font-size: 38px; font-weight: 800; line-height: 1;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 16px; letter-spacing: .02em;
}
.reason__item h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.reason__item p { font-size: 14.5px; color: var(--gray); }

/* ---------- Flow timeline ---------- */
.flow { position: relative; max-width: 860px; margin-inline: auto; }
.flow::before {
  content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 4px;
  background: linear-gradient(180deg, var(--blue-bright) 0%, var(--navy-light) 100%); border-radius: 4px; opacity: .5;
}
.flow__step {
  position: relative; display: flex; gap: 30px; padding: 0 0 44px 0; align-items: flex-start;
}
.flow__step:last-child { padding-bottom: 0; }
.flow__icon {
  flex: 0 0 80px; width: 80px; height: 80px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue-bright);
  display: grid; place-items: center; color: var(--blue);
  position: relative; z-index: 2; box-shadow: var(--shadow-sm);
}
.flow__icon svg { width: 36px; height: 36px; }
.flow__body {
  flex: 1; background: #fff; border-radius: var(--radius); padding: 26px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06);
}
.flow__label { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .2em; }
.flow__body h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 4px 0 8px; }
.flow__body p { font-size: 14.5px; color: var(--gray); }
.flow__time {
  display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700;
  background: var(--blue-light); color: var(--blue); padding: 4px 14px; border-radius: 999px;
}

/* ---------- Merit ---------- */
.merit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.merit {
  display: flex; gap: 18px; background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06);
}
.merit__check {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-blue); color: #fff; display: grid; place-items: center;
}
.merit__check svg { width: 22px; height: 22px; }
.merit h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.merit p { font-size: 14px; color: var(--gray); }

/* ---------- Voice ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.voice {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06);
  display: flex; flex-direction: column;
}
.voice__stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.voice__text { font-size: 14.5px; color: var(--text); flex: 1; }
.voice__meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-light); display: flex; align-items: center; gap: 14px; }
.voice__avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--grad-blue);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px;
  overflow: hidden; flex-shrink: 0;
}
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice__meta strong { display: block; font-size: 14px; color: var(--navy); }
.voice__meta span { font-size: 12.5px; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  background: #fff; border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06); overflow: hidden;
}
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  background: transparent; border: none; padding: 22px 24px;
  font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.6;
}
.faq__q .q-mark {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-blue); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; font-family: var(--font-round);
}
.faq__q .faq__toggle {
  margin-left: auto; flex: 0 0 24px; position: relative; width: 24px; height: 24px;
}
.faq__q .faq__toggle::before, .faq__q .faq__toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue);
  transition: transform .3s; border-radius: 2px;
}
.faq__q .faq__toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__q .faq__toggle::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq__a-inner { padding: 0 24px 24px 74px; font-size: 14.5px; color: var(--gray); }

/* ---------- Company table ---------- */
.company-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.company-table th, .company-table td { padding: 22px 26px; text-align: left; border-bottom: 1px solid var(--gray-light); font-size: 15px; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 200px; background: var(--blue-pale); color: var(--navy); font-weight: 700; white-space: nowrap; }
.company-table td { color: var(--text); }

.map-wrap { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-navy); color: #fff; text-align: center;
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(127, 176, 245, .35); filter: blur(90px); top: -200px; right: -100px;
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(23px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; letter-spacing: .04em; line-height: 1.6; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.cta-band__tel { line-height: 1.4; }
.cta-band__tel a { color: #fff; font-size: 30px; font-weight: 800; font-family: var(--font-round); }
.cta-band__tel span { display: block; font-size: 12px; color: rgba(255,255,255,.75); }

/* ---------- Contact form ---------- */
.contact-photo { max-width: 760px; margin: 0 auto 36px; position: relative; }
.contact-photo img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md);
}
.form-wrap {
  max-width: 760px; margin-inline: auto; background: #fff;
  border-radius: 28px; padding: 50px 46px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(43,74,117,.06);
}
.form-group { margin-bottom: 26px; }
.form-group label { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; }
.required {
  display: inline-block; background: #e2695c; color: #fff; font-size: 11px;
  font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: 2px;
}
.optional {
  display: inline-block; background: #9aa8bc; color: #fff; font-size: 11px;
  font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: 2px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 15px 18px; border: 1.5px solid #d9e3f0; border-radius: 14px;
  font-size: 15.5px; font-family: inherit; background: var(--blue-pale);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue-bright); background: #fff;
  box-shadow: 0 0 0 4px rgba(74, 127, 224, .12);
}
.form-group textarea { min-height: 170px; resize: vertical; }
.form-privacy { font-size: 13px; color: var(--gray); text-align: center; margin-bottom: 26px; }
.form-submit { text-align: center; }
.form-note { margin-top: 22px; font-size: 13px; color: var(--gray); text-align: center; }
.form-status { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 700; text-align: center; }
.form-status.is-ok { display: block; background: #e8f6ec; color: #2e7d4f; }
.form-status.is-ng { display: block; background: #fdefed; color: #c8564a; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--blue-pale); padding: 14px 0; margin-top: 76px; border-bottom: 1px solid rgba(43,74,117,.05); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--gray); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #aebccd; }
.breadcrumb a { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--gray); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--grad-soft); color: var(--navy); padding: 80px 0 70px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: #cfe2fb; filter: blur(90px); top: -180px; right: -80px; opacity: .7;
}
.page-hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: #e3eefc; filter: blur(80px); bottom: -160px; left: -80px; opacity: .8;
}
.page-hero .en { display: block; font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--blue-bright); margin-bottom: 10px; text-transform: uppercase; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: .05em; position: relative; z-index: 1; }
.page-hero p { margin-top: 14px; color: var(--gray); font-size: 15px; position: relative; z-index: 1; }

/* ---------- Service page ---------- */
.service-block {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,74,117,.06); padding: 50px 46px; margin-bottom: 44px;
}
.service-block__photo { margin: -50px -46px 34px; }
.service-block__photo img {
  width: 100%; height: 300px; object-fit: cover;
  border-radius: 28px 28px 0 0;
}
.service-block__head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.service-block__icon {
  width: 68px; height: 68px; border-radius: 22px; background: var(--grad-blue);
  color: #fff; display: grid; place-items: center; flex-shrink: 0;
}
.service-block__icon svg { width: 34px; height: 34px; }
.service-block__head h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; color: var(--navy); }
.service-block__head .tag {
  background: var(--blue-light); color: var(--blue); font-size: 12.5px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
}
.service-block > p.lead { color: var(--gray); margin-bottom: 30px; font-size: 15px; }

.md-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.md-box { border-radius: var(--radius); padding: 28px; }
.md-box--merit { background: #eef6ff; border: 1px solid #d6e7fc; }
.md-box--demerit { background: #fdf5ef; border: 1px solid #f3e0d0; }
.md-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.md-box--merit h3 { color: var(--blue); }
.md-box--demerit h3 { color: #c07a45; }
.md-box ul li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); margin-bottom: 9px; line-height: 1.7; }
.md-box--merit ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.md-box--demerit ul li::before { content: "•"; position: absolute; left: 4px; color: #c07a45; font-weight: 800; }

.case-box { background: var(--blue-pale); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.case-box h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.case-box p { font-size: 14.5px; color: var(--gray); }

.speed-bar { display: flex; align-items: center; gap: 14px; background: var(--grad-blue); color: #fff; border-radius: var(--radius); padding: 20px 28px; }
.speed-bar svg { width: 30px; height: 30px; flex-shrink: 0; }
.speed-bar strong { font-size: 19px; font-weight: 800; }
.speed-bar span { font-size: 13.5px; opacity: .92; }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 18px 20px; border: 1px solid var(--gray-light); font-size: 14.5px; text-align: center; }
.compare-table thead th { background: var(--navy-light); color: #fff; font-weight: 700; }
.compare-table tbody th { background: var(--blue-pale); color: var(--navy); font-weight: 700; text-align: left; width: 190px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare-table { min-width: 640px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 44px 0 14px; padding-left: 16px; border-left: 5px solid var(--blue-bright); border-radius: 2px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.legal ol, .legal ul { margin: 0 0 14px 4px; }
.legal ol { counter-reset: num; }
.legal ol li { counter-increment: num; position: relative; padding-left: 30px; font-size: 14.5px; margin-bottom: 8px; }
.legal ol li::before { content: counter(num) "."; position: absolute; left: 4px; font-weight: 700; color: var(--blue); }
.legal ul li { position: relative; padding-left: 22px; font-size: 14.5px; margin-bottom: 8px; }
.legal ul li::before { content: "・"; position: absolute; left: 0; color: var(--blue); }
.legal .date { text-align: right; color: var(--gray); font-size: 13.5px; margin-top: 40px; }

/* ---------- Sitemap page ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 900px; margin-inline: auto; }
.sitemap-group { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid rgba(43,74,117,.06); }
.sitemap-group h2 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-light); }
.sitemap-group li { margin-bottom: 10px; }
.sitemap-group a { font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.sitemap-group a::before { content: "›"; color: var(--blue); font-weight: 800; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 140px 0 120px; }
.notfound .code {
  font-size: clamp(80px, 14vw, 150px); font-weight: 800; line-height: 1;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-family: var(--font-round);
}
.notfound h1 { font-size: clamp(20px, 2.8vw, 28px); color: var(--navy); margin: 18px 0 14px; font-weight: 800; }
.notfound p { color: var(--gray); margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 70px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.footer__brand .logo-text { color: #fff; }
.footer__brand .logo-text small { color: rgba(255,255,255,.55); }
.footer__brand p { margin-top: 18px; font-size: 13.5px; line-height: 2; }
.footer h3 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .12em; margin-bottom: 18px; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(255,255,255,.8); font-size: 13.5px; }
.footer a:hover { color: #fff; opacity: 1; }
.footer__tel { font-size: 24px; font-weight: 800; color: #fff !important; font-family: var(--font-round); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ---------- Fixed buttons ---------- */
.fixed-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: flex; flex-direction: column; gap: 12px;
}
.fixed-cta a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-lg); transition: transform .25s;
}
.fixed-cta a:hover { transform: translateY(-3px); opacity: 1; }
.fixed-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.fixed-cta .cta-tel { background: var(--navy); color: #fff; }
.fixed-cta .cta-mail { background: var(--grad-blue); color: #fff; }

/* Mobile bottom bar */
.sp-bar { display: none; }

/* Page top */
.pagetop {
  position: fixed; right: 20px; bottom: 150px; z-index: 890;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(43,74,117,.85); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .25s;
  display: grid; place-items: center;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop:hover { transform: translateY(-3px); }
.pagetop svg { width: 20px; height: 20px; }

/* ---------- Scroll animation ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo { max-width: 620px; }
  .header__tel { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}

@media (max-width: 820px) {
  .gnav {
    position: fixed; inset: 0; background: var(--grad-navy);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
    z-index: 1100;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 10px; text-align: center; }
  .gnav__list > li > a { color: #fff; font-size: 19px; padding: 12px 20px; display: block; }
  .gnav__list > li > a::after { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span { background: #fff; }
  .header__cta .btn { display: none; }

  .section { padding: 70px 0; }
  .hero { padding: 120px 0 90px; }
  .stats-strip { margin-top: -40px; }
  .stats-strip .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
  .md-grid { grid-template-columns: 1fr; }
  .service-block { padding: 34px 24px; }
  .service-block__photo { margin: -34px -24px 26px; }
  .service-block__photo img { height: 200px; border-radius: 28px 28px 0 0; }
  .form-wrap { padding: 36px 24px; }
  .contact-photo img { height: 180px; }
  .company-table th { width: 130px; padding: 18px 14px; font-size: 13.5px; }
  .company-table td { padding: 18px 16px; font-size: 14px; }
  .flow::before { left: 29px; }
  .flow__icon { flex: 0 0 60px; width: 60px; height: 60px; }
  .flow__icon svg { width: 26px; height: 26px; }
  .flow__step { gap: 18px; }
  .faq__a-inner { padding-left: 24px; }

  .fixed-cta { display: none; }
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: rgba(255,255,255,.4);
    box-shadow: 0 -6px 20px rgba(43,74,117,.15);
  }
  .sp-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 8px; font-weight: 800; font-size: 14.5px; color: #fff;
  }
  .sp-bar svg { width: 20px; height: 20px; }
  .sp-bar .sp-tel { background: var(--navy); }
  .sp-bar .sp-mail { background: var(--grad-blue); }
  body { padding-bottom: 58px; }
  .pagetop { bottom: 80px; }
  .footer { padding-bottom: 10px; }
}

@media (max-width: 560px) {
  .stat__num { font-size: 24px; }
  .stat { padding: 22px 8px; }
  .hero__tel a { font-size: 24px; }
  .cta-band__tel a { font-size: 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__actions .btn--lg { width: 100%; }
  .cta-band__actions { flex-direction: column; }
}
