:root {
  --indigo: #060a5a;
  --indigo-2: #1a1f7a;
  --mint: #0cc9a9;
  --mint-ink: #079a82;
  --mint-soft: #e3f8f4;
  --text: #1a1d3a;
  --muted: #5d6280;
  --line: #e4e6f0;
  --tint: #f5f6fb;
  --white: #ffffff;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(6, 10, 90, 0.08);
  --header-h: 76px;
  --font-en: "Jost", "Noto Sans JP", system-ui, sans-serif;
  --font-ja: "Noto Sans JP", "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16.5px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="ja"] body { font-family: var(--font-ja); font-size: 15.5px; line-height: 1.9; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--indigo); font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; }
html[data-lang="ja"] h1, html[data-lang="ja"] h2, html[data-lang="ja"] h3 { font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
p { margin: 0; }

/* Language toggle */
html[data-lang="ja"] .en,
html[data-lang="en"] .ja { display: none !important; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(6,10,90,.04); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--indigo); }
.logo__mark { width: 46px; height: 32px; flex: none; }
.logo__text { font-family: "Jost", sans-serif; font-weight: 500; font-size: 19px; letter-spacing: .2em; line-height: 1; }
.logo--light { color: var(--white); --mark-main: #ffffff; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: var(--text); transition: color .2s; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 9px 22px; border-radius: 999px;
  background: var(--indigo); color: var(--white) !important;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--indigo-2); transform: translateY(-1px); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: var(--tint); border-radius: 999px; padding: 4px; }
.lang-switch button {
  border: 0; background: none; cursor: pointer;
  font: 500 12.5px "Jost", sans-serif; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px; color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--indigo); box-shadow: 0 2px 8px rgba(6,10,90,.1); }

.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: var(--indigo); transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 24px; right: 16px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; right: 10px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 30px; border-radius: 999px; font-weight: 500; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: all .22s;
  font-family: inherit; letter-spacing: .02em;
}
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,10,90,.18); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: var(--white); }
.btn--block { width: 100%; }
.btn__arrow {
  width: 26px; height: 26px; border-radius: 50%; background: var(--mint); position: relative; flex: none;
  transition: transform .22s;
}
.btn__arrow::before {
  content: ""; position: absolute; left: 7px; top: 9px; width: 7px; height: 7px;
  border-top: 2.5px solid var(--indigo); border-right: 2.5px solid var(--indigo); border-radius: 1px;
  transform: rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Jost", sans-serif; font-size: 13.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mint-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--mint); }
.eyebrow--light { color: var(--mint); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 96px;
  background:
    radial-gradient(900px 500px at 100% 0%, var(--mint-soft), transparent 60%),
    linear-gradient(180deg, #fbfcff, #f3f4fb);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__title { font-size: clamp(42px, 5.6vw, 74px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 28px; }
html[data-lang="ja"] .hero__title { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.3; letter-spacing: .02em; }
.hero__title em { font-style: normal; color: var(--mint-ink); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; border-radius: 99px;
  background: var(--mint); opacity: .35; z-index: -1;
}
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 40px; }
html[data-lang="ja"] .hero__lead { font-size: 16px; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { position: relative; }
.hero__photo {
  border-radius: 200px 200px 36px 200px; overflow: hidden; aspect-ratio: 5 / 4;
  box-shadow: 0 30px 70px rgba(6,10,90,.16);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__stroke {
  position: absolute; width: 190px; left: -70px; bottom: -40px; overflow: visible;
}
.hero__stroke path { fill: none; stroke: var(--mint); stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.hero__badge {
  position: absolute; right: -10px; bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 20px; padding: 14px 20px 14px 16px;
  box-shadow: 0 16px 40px rgba(6,10,90,.14);
}
.hero__badge svg { width: 44px; height: 31px; }
.hero__badge strong { display: block; font-weight: 600; color: var(--indigo); line-height: 1.2; }
.hero__badge span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 48px); }
html[data-lang="ja"] .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head--center { text-align: center; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__photo {
  border-radius: 36px 200px 200px 200px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about__body h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 24px; }
html[data-lang="ja"] .about__body h2 { font-size: clamp(26px, 2.8vw, 36px); }
.about__body > p { color: var(--muted); margin-bottom: 36px; }
.about__body em { font-style: normal; color: var(--mint-ink); font-weight: 500; }
.mvv { display: grid; gap: 14px; margin: 0; }
.mvv div { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 16px; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--tint); }
.mvv dt { font: 500 13px "Jost", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--mint-ink); }
.mvv dd { margin: 0; font-weight: 500; color: var(--indigo); }

/* Business */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.biz-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(6,10,90,.12); }
.biz-card__photo { aspect-ratio: 16 / 9; overflow: hidden; }
.biz-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.biz-card:hover .biz-card__photo img { transform: scale(1.04); }
.biz-card__body { position: relative; padding: 40px 40px 44px; }
.biz-card__num {
  position: absolute; top: -30px; right: 32px;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--indigo); font: 600 18px "Jost", sans-serif;
  box-shadow: 0 10px 24px rgba(12,201,169,.35);
}
.biz-card h3 { font-size: 26px; margin-bottom: 14px; }
html[data-lang="ja"] .biz-card h3 { font-size: 22px; }
.biz-card__body > p { color: var(--muted); margin-bottom: 26px; }
.biz-card__list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.biz-card__list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.biz-card__list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint-soft);
}
.biz-card__list li::after {
  content: ""; position: absolute; left: 5px; top: calc(.42em + 5px); width: 8px; height: 4px;
  border-left: 2px solid var(--mint-ink); border-bottom: 2px solid var(--mint-ink); transform: rotate(-45deg);
}

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  position: relative; padding: 40px 34px 38px; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.strength:hover { border-color: var(--mint); transform: translateY(-4px); }
.strength::after {
  content: ""; position: absolute; right: -36px; top: -36px; width: 110px; height: 110px; border-radius: 50%;
  border: 14px solid var(--mint-soft);
}
.strength__num { display: block; font: 500 44px/1 "Jost", sans-serif; color: var(--mint); margin-bottom: 24px; }
.strength h3 { font-size: 22px; margin-bottom: 12px; }
html[data-lang="ja"] .strength h3 { font-size: 19px; }
.strength p { color: var(--muted); font-size: 15.5px; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.profile { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile th, .profile td { padding: 22px 30px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.profile tr:last-child th, .profile tr:last-child td { border-bottom: 0; }
.profile th { width: 32%; color: var(--indigo); font-weight: 500; }
.link { color: var(--indigo); font-weight: 500; border-bottom: 2px solid var(--mint); }
.link:hover { color: var(--mint-ink); }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--indigo); color: var(--white); }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,10,90,.94) 30%, rgba(6,10,90,.78)), url("images/contact.jpg") center / cover no-repeat;
}
.contact__deco { position: absolute; width: 560px; right: -120px; bottom: -110px; opacity: .1; --mark-main: #ffffff; --mark-accent: #0cc9a9; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact .section-head h2 { color: var(--white); }
.contact__lead { color: rgba(255,255,255,.75); margin-top: 20px; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  padding: 14px 24px; border-radius: 999px; background: rgba(255,255,255,.1);
  font: 500 17px "Jost", sans-serif; letter-spacing: .02em; transition: background .2s;
}
.contact__mail svg { width: 22px; height: 22px; color: var(--mint); }
.contact__mail:hover { background: rgba(255,255,255,.18); }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 44px; display: grid; gap: 20px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; }
.form__label { display: block; font-size: 14px; font-weight: 500; color: var(--indigo); margin-bottom: 7px; }
.form__label em { color: #d64545; font-style: normal; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid transparent; border-radius: 14px;
  font: inherit; font-size: 15.5px; color: var(--text); background: var(--tint);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--mint); background: var(--white); box-shadow: 0 0 0 4px var(--mint-soft); }
.form textarea { resize: vertical; }
.form .is-invalid { border-color: #d64545; }
.form__note { font-size: 14px; text-align: center; min-height: 1.5em; }
.form__note.is-error { color: #d64545; }
.form__note.is-success { color: var(--mint-ink); }

/* Footer */
.footer { background: #04073f; color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 14.5px; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 28px; margin-left: auto; }
.footer__nav a:hover { color: var(--mint); }
.footer__bottom { width: 100%; padding-top: 28px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }
  .header__actions { margin-left: auto; }

  .section { padding: 88px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero__inner, .about, .company, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__stroke { width: 130px; left: -24px; bottom: -36px; }
  .hero__badge { right: 12px; }
  .about__photo { aspect-ratio: 4 / 3; max-width: 640px; }
  .section-head { margin-bottom: 40px; }
  .biz-grid { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .logo__text { font-size: 16px; letter-spacing: .16em; }
  .logo__mark { width: 40px; height: 28px; }
  .hero__lead { font-size: 16px; }
  .hero__photo { border-radius: 120px 120px 28px 120px; }
  .hero__badge { padding: 10px 14px 10px 12px; bottom: 20px; }
  .biz-card__body { padding: 36px 24px 32px; }
  .biz-card__num { width: 52px; height: 52px; top: -26px; right: 22px; font-size: 16px; }
  .mvv div { grid-template-columns: 1fr; gap: 2px; }
  .profile th, .profile td { display: block; width: 100%; padding: 14px 22px; }
  .profile th { border-bottom: 0; padding-bottom: 2px; font-size: 13px; color: var(--mint-ink); }
  .form { padding: 28px 20px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .contact__mail { font-size: 15px; padding: 12px 18px; }
  .footer__nav { margin-left: 0; flex-wrap: wrap; gap: 16px; }
}
