/* SEIS corporate site */
:root {
  --navy: #1B2A5A;
  --red: #D0213A;
  --red-text: #C41E36;
  --ink: #11152A;
  --muted: #4F5670;
  --pale: #F3F5FA;
  --line: #DDE2EE;
  --line-strong: #C9D0E0;
  --white: #FFFFFF;
  --radius: 16px;
  --max: 1200px;
  --font-en: 'Manrope', 'Zen Kaku Gothic New', sans-serif;
  --font-ja: 'Zen Kaku Gothic New', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: var(--white); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { display: block; }
.site-logo img { height: 40px; width: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.site-nav a.btn { border-bottom: 0; }
.site-nav a.btn--primary, .site-nav a.btn--primary:hover { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: #142048; color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); font-weight: 800; min-height: 56px; padding: 0 36px; }
.btn--white:hover { background: var(--pale); color: var(--navy); }
.site-nav .btn { min-height: 44px; padding: 0 22px; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Typography */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--red-text); }
.eyebrow--muted { color: var(--muted); letter-spacing: 0.18em; }
.h1, .h2, .h3 { font-family: var(--font-ja); margin: 0; font-weight: 700; }
.h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.25; letter-spacing: 0.02em; }
.h1--page { font-size: clamp(32px, 4vw, 48px); line-height: 1.4; }
.h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.5; }
.h3 { font-size: 22px; line-height: 1.5; }
.lead { margin: 0; font-size: 17px; line-height: 2; color: var(--muted); max-width: 680px; }
.text-muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 28px; }

/* Layout helpers */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; }
.split--center { align-items: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
@media (min-width: 1100px) { .cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } .cards--5 .card { padding: 32px 24px; } .cards--5 .card__title { font-size: 19px; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }

/* Hero */
.hero { background: var(--pale); padding: 96px 0 104px; }
.hero__mark { display: flex; justify-content: center; }
.hero__mark img { width: min(100%, 380px); height: auto; }
.page-hero { background: var(--pale); padding: 80px 0; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
a.card:hover { color: var(--ink); box-shadow: 0 8px 24px rgba(17, 21, 42, .08); transform: translateY(-2px); }
.card__icon { width: 40px; height: 40px; color: var(--navy); }
.card__title { font-family: var(--font-ja); font-size: 22px; font-weight: 700; line-height: 1.5; }
.card__body { font-size: 15px; line-height: 1.9; color: var(--muted); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--ink); }
.arrow-link svg { width: 18px; height: 18px; }

/* CTA band */
.cta { padding: 88px 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta p { margin: 0; opacity: .9; }

/* Service detail */
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.service + .service { padding-top: 72px; }
.service__no { font-weight: 800; font-size: 15px; letter-spacing: .1em; color: var(--red-text); }
.service__en { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.service__box { background: var(--pale); border-radius: 14px; padding: 24px 28px; }
.service__box p { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.service__box ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.9; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.flow li { background: var(--white); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.flow__no { font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1; }
.flow__title { font-size: 18px; font-weight: 700; }
.flow__body { font-size: 14px; line-height: 1.8; color: var(--muted); }

/* Company */
.profile { margin: 0; display: grid; grid-template-columns: minmax(96px, 160px) minmax(0, 1fr); font-size: 16px; line-height: 1.8; background: var(--white); border-radius: var(--radius); padding: 8px 32px; }
.profile dt, .profile dd { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.profile dt { font-weight: 700; padding-right: 16px; }
.profile dt:first-of-type, .profile dt:first-of-type + dd { border-top: 0; }
.map { height: 360px; border-radius: var(--radius); background: var(--pale); border: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Form */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 16px; min-height: 52px; width: 100%; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 180px; }
.field input:focus, .field textarea:focus, .choice input:focus-visible + span { outline: 3px solid rgba(27, 42, 90, .25); outline-offset: 1px; border-color: var(--navy); }
.req { color: var(--red-text); font-size: 13px; margin-left: 6px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { padding: 0 0 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 400; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--pale); }
.agree { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.agree input { width: 20px; height: 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 14px 18px; border-radius: 10px; background: #FDECEE; color: #9A1024; font-size: 15px; }
.form-done { text-align: center; padding: 48px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.form-done svg { width: 64px; height: 64px; color: var(--navy); }
.privacy { margin-top: 64px; padding: 28px; border-radius: 14px; background: var(--pale); font-size: 14px; line-height: 1.9; color: var(--muted); }
.privacy h2 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.privacy p { margin: 0 0 8px; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
.site-footer img { height: 28px; width: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .page-hero { padding: 56px 0; }
  .site-logo img { height: 34px; }
  .hero__mark img { width: 200px; }
  .site-nav ul { gap: 0 18px; font-size: 14px; }
  .profile { grid-template-columns: 1fr; padding: 8px 24px; }
  .profile dt { padding-bottom: 0; }
  .profile dd { border-top: 0; padding-top: 4px; }
  .card { padding: 28px 24px; }
}
