:root {
  color-scheme: light;
  --bg: #f4f7f5;
  --ink: #101817;
  --muted: #5b6966;
  --line: #d8e1de;
  --panel: #ffffff;
  --teal: #36e0c0;
  --teal-dark: #007d6c;
  --mint: #dff8f1;
  --charcoal: #0c1211;
  --soft: #eaf0ed;
  --danger: #a33a32;
  --success: #087c65;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(16, 24, 23, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}
.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--teal);
  color: #031614;
  font-size: 14px;
  font-weight: 900;
}
.top-nav { display: flex; justify-content: center; gap: 28px; font-size: 14px; }
.top-nav a { opacity: 0.82; }
.top-nav a:hover, .top-nav a:focus-visible { opacity: 1; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.nav-cta { min-height: 42px; background: var(--teal); color: #031614; font-size: 14px; }
.button.primary { background: var(--teal); color: #031614; box-shadow: 0 12px 34px rgba(54, 224, 192, 0.2); }
.button.secondary { border: 1px solid rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); color: #fff; backdrop-filter: blur(8px); }
.button:hover, .nav-cta:hover, .text-button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-cta:focus-visible, .text-button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(54, 224, 192, 0.55);
  outline-offset: 3px;
}
.button:disabled { cursor: not-allowed; opacity: 0.5; transform: none; box-shadow: none; }

.hero { position: relative; min-height: min(920px, 100svh); display: grid; align-items: end; overflow: hidden; background: var(--charcoal); }
.hero-picture, .hero-media, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: 55% 50%; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 10, 9, 0.88) 0%, rgba(4, 10, 9, 0.62) 47%, rgba(4, 10, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(4, 10, 9, 0.15) 0%, rgba(4, 10, 9, 0.82) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(1050px, 100%); padding: 148px clamp(20px, 5vw, 72px) 54px; color: #fff; }
.eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .eyebrow, .split-section .eyebrow { color: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(48px, 7.2vw, 92px); line-height: 0.96; letter-spacing: -0.045em; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.hero-copy { max-width: 720px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.84); font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-proof span, .tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
}

.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px); }
.section-heading { max-width: 1020px; margin-bottom: 42px; }
.section-heading.compact { max-width: 850px; }
.section-heading p { max-width: 760px; color: var(--muted); font-size: 18px; }
.about-section { background: #fff; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.about-copy { max-width: 780px; color: var(--muted); font-size: 18px; }
.about-copy .lead { color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
.about-note { padding: 28px; border-radius: var(--radius); background: var(--charcoal); color: #fff; box-shadow: var(--shadow); }
.about-note p { color: rgba(255, 255, 255, 0.73); }
.about-note a { color: var(--teal); font-weight: 800; }
.note-label { display: block; margin-bottom: 18px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

.feature-grid, .option-grid, .visual-grid { display: grid; gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .option-card, .visual-grid article, .faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.feature { min-height: 240px; padding: 26px; }
.feature-number { display: inline-block; margin-bottom: 50px; color: var(--teal-dark); font-weight: 900; }
.feature p, .option-card p, .visual-grid p, .site-footer p, .option-note { color: var(--muted); }

.split-section { display: grid; grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr); align-items: center; gap: clamp(34px, 6vw, 88px); padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 72px); background: var(--charcoal); color: #fff; }
.split-media { display: grid; min-height: 520px; place-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); background: radial-gradient(circle at 50% 52%, rgba(54, 224, 192, 0.24), transparent 35%), #050807; }
.split-media img { width: min(380px, 72%); filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.52)); }
.split-copy { max-width: 760px; }
.split-copy > p { color: rgba(255, 255, 255, 0.74); font-size: 18px; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 30px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.12); }
.fact-list div { padding: 18px; background: #131b19; }
.fact-list dt { margin-bottom: 7px; color: rgba(255, 255, 255, 0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.fact-list dd { margin: 0; font-weight: 800; }

.option-section, .faq-section { background: var(--soft); }
.option-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.option-card { display: flex; flex-direction: column; min-height: 405px; padding: 20px; overflow: hidden; }
.option-card img { align-self: center; height: 168px; margin-bottom: 24px; object-fit: contain; }
.option-card > div { display: flex; flex: 1; flex-direction: column; }
.option-card.featured-option { border-color: rgba(0, 125, 108, 0.45); box-shadow: var(--shadow); }
.tag { width: fit-content; margin-bottom: 14px; background: var(--mint); color: var(--teal-dark); }
.tag.muted { background: #edf1ef; color: #52605d; }
.text-button { align-self: flex-start; margin-top: auto; padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--teal-dark); font-weight: 800; cursor: pointer; }
.option-note { margin: 24px 0 0; }

.application-section { background: #fff; }
.visual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.visual-grid article { overflow: hidden; }
.visual-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.visual-grid article > div { padding: 22px; }
.visual-grid p { margin-bottom: 0; }

.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(52px, 7vw, 82px) clamp(20px, 5vw, 72px); background: var(--mint); }
.cta-band h2 { max-width: 920px; }
.cta-band p { max-width: 760px; color: var(--muted); }

.form-section { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr); gap: clamp(34px, 6vw, 88px); align-items: start; background: #fff; }
.form-intro { position: sticky; top: 104px; }
.form-intro > p { color: var(--muted); font-size: 18px; }
.contact-card { display: grid; gap: 6px; margin-top: 30px; padding: 20px; border-radius: 14px; background: var(--soft); }
.contact-card span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-card a { color: var(--teal-dark); font-weight: 850; overflow-wrap: anywhere; }
.inquiry-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 8px; color: #263230; font-size: 14px; font-weight: 780; }
.inquiry-form label:not(.checkbox) { display: block; }
.inquiry-form label:not(.checkbox) > input,
.inquiry-form label:not(.checkbox) > select,
.inquiry-form label:not(.checkbox) > textarea { display: block; margin-top: 8px; }
.optional { color: var(--muted); font-size: 12px; font-weight: 550; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd6d2; border-radius: 11px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); }
textarea { resize: vertical; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; font-weight: 540; color: var(--muted); }
.checkbox input { width: 18px; min-height: 18px; margin-top: 3px; }
.checkbox a { color: var(--teal-dark); font-weight: 800; text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.verification-block { min-height: 76px; }
.verification-status { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.form-disclaimer { margin: 0; padding: 14px; border-radius: 10px; background: #edf2ef; color: var(--muted); font-size: 13px; }
.submit-button { width: 100%; }
.form-message { min-height: 24px; margin: 0; font-weight: 760; }
.form-message.is-success { color: var(--success); }
.form-message.is-error { color: var(--danger); }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 20px 22px; }
.faq-list summary { cursor: pointer; font-size: 18px; font-weight: 800; }
.faq-list p { max-width: 820px; margin: 12px 0 0; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 0.9fr auto 1.2fr; gap: 36px; align-items: start; padding: 48px clamp(20px, 5vw, 72px); background: #0c1211; color: #fff; }
.footer-brand { font-size: 20px; font-weight: 900; }
.footer-links { display: grid; gap: 10px; color: var(--teal); font-weight: 760; }
.footer-legal { margin: 0; font-size: 13px; }

.legal-page { background: #fff; }
.legal-header { position: static; background: var(--charcoal); color: #fff; }
.legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.legal-main h1 { max-width: none; color: var(--ink); font-size: clamp(44px, 7vw, 72px); }
.legal-main h2 { margin-top: 46px; font-size: 28px; letter-spacing: -0.02em; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-updated { color: var(--teal-dark) !important; font-weight: 800; }

@media (max-width: 1080px) {
  .top-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout, .form-section, .split-section, .site-footer { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .site-footer { gap: 22px; }
}

@media (max-width: 760px) {
  .site-header { padding: 13px 16px; }
  .nav-cta { min-height: 38px; padding: 0 13px; font-size: 12px; }
  .hero { min-height: 760px; }
  .hero-media { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(4, 10, 9, 0.38) 0%, rgba(4, 10, 9, 0.88) 66%, rgba(4, 10, 9, 0.97) 100%); }
  .hero-content { padding: 118px 18px 34px; }
  h1 { font-size: clamp(45px, 13vw, 62px); }
  h2 { font-size: 36px; }
  .button { width: 100%; }
  .feature-grid, .option-grid, .visual-grid, .fact-list, .field-row { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature-number { margin-bottom: 28px; }
  .split-media { min-height: 380px; }
  .option-card { min-height: auto; }
  .option-card > div { min-height: 210px; }
  .cta-band { grid-template-columns: 1fr; }
  .section { padding: 66px 18px; }
  .about-note, .inquiry-form { padding: 20px; }
}

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

/* ── 语言切换（2026-10-03 加日文版） ── */
.site-header { grid-template-columns: auto 1fr auto auto; }
.lang-switch { justify-self: end; padding: 7px 13px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 800; opacity: 0.85; white-space: nowrap; }
.lang-switch:hover, .lang-switch:focus-visible { opacity: 1; }
.legal-header { grid-template-columns: auto 1fr auto; }

/* ── 日文排版：日文字体、放宽行距、取消负字距、按词组断行 ── */
html:lang(ja) body { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, Inter, sans-serif; line-height: 1.8; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { letter-spacing: 0; word-break: auto-phrase; line-break: strict; }
html:lang(ja) h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.22; }
.hero-content { min-width: 0; max-width: 100%; }
html:lang(ja) h1, html:lang(ja) h2 { overflow-wrap: anywhere; }
html:lang(ja) h2 { font-size: clamp(27px, 3.3vw, 44px); line-height: 1.35; }
html:lang(ja) h3 { font-size: 20px; line-height: 1.45; }
html:lang(ja) .eyebrow, html:lang(ja) .note-label { letter-spacing: 0.06em; }
html:lang(ja) .about-copy .lead { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.65; }
html:lang(ja) .hero-copy { line-height: 1.75; }
html:lang(ja) .legal-main h1 { font-size: clamp(32px, 5vw, 52px); }
html:lang(ja) .legal-main h2 { font-size: 24px; }
html:lang(ja) .nav-cta, html:lang(ja) .button { letter-spacing: 0; }

@media (max-width: 760px) {
  .site-header { gap: 10px; }
  .lang-switch { padding: 6px 10px; font-size: 12px; }
  html:lang(ja) h1 { font-size: clamp(31px, 8.6vw, 42px); }
  html:lang(ja) h2 { font-size: 26px; }
}
@media (max-width: 430px) {
  .brand span:last-child { display: none; }
}
