@charset "UTF-8";

:root {
  --blue: #006bd8;
  --blue-strong: #102d8a;
  --blue-deep: #061a4f;
  --blue-dark: #061536;
  --cyan: #00b7ff;
  --sky: #eaf7ff;
  --text: #172033;
  --muted: #506078;
  --line: rgba(16, 45, 138, 0.16);
  --glass: rgba(255, 255, 255, 0.76);
  --serif: "Noto Serif CJK JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "MS PMincho", serif;
  --sans: "Noto Sans CJK JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --shadow-soft: 0 24px 70px rgba(6, 21, 54, 0.15);
  --shadow-blue: 0 24px 70px rgba(16, 45, 138, 0.22);
  --ease-out: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
#about { scroll-margin-top: 104px; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 183, 255, 0.08), transparent 32%),
    radial-gradient(circle at 90% 2%, rgba(16, 45, 138, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f8fbff 100%);
}

/* ==============================
   Scroll reveal
   ============================== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(10px);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out),
    filter .9s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.expert-card__row[data-reveal]:nth-child(1) { transition-delay: .06s; }
.expert-card__row[data-reveal]:nth-child(2) { transition-delay: .14s; }
.expert-card__row[data-reveal]:nth-child(3) { transition-delay: .22s; }

/* ==============================
   Shared background / parallax
   ============================== */
.hero,
.expert,
.about {
  --parallax-scale: 1.16;
  --parallax-y: 0px;
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #eef7ff;
}
.hero::before,
.expert::before,
.about::before {
  content: "";
  position: absolute;
  inset: -190px -110px;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-y), 0) scale(var(--parallax-scale));
  transform-origin: center center;
  will-change: transform;
}
.hero::before { background-image: url("../images/bg-hero.jpg"); }
.expert::before { background-image: url("../images/bg-expert.jpg"); }
.about::before { background-image: url("../images/bg-about.jpg"); }

.hero::after,
.expert::after,
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__inner,
.section-grid,
.about__inner {
  position: relative;
  z-index: 2;
}

/* ==============================
   Header
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 96px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(16, 45, 138, 0.10);
  box-shadow: 0 10px 30px rgba(6, 21, 54, 0.05);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: height .32s var(--ease-out), box-shadow .32s var(--ease-out), background .32s var(--ease-out);
}
body.is-scrolled .site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 55px rgba(6, 21, 54, 0.12);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 183, 255, .72), rgba(16, 45, 138, .46), transparent);
  transform: scaleX(.55);
  opacity: .68;
}
.header-inner {
  width: min(100%, 1120px);
  height: 100%;
  margin: 0 auto;
  padding: 14px 42px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  letter-spacing: 0.035em;
  padding-top: 4px;
}
.brand__lead {
  margin-bottom: 5px;
  color: #33517f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
}
.brand__name {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.06em;
}
.tel-box {
  position: relative;
  width: 292px;
  height: 66px;
  margin-top: 0;
  padding: 10px 18px 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 183, 255, .95) 0%, rgba(16, 45, 138, 1) 48%, rgba(6, 21, 54, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(16, 45, 138, 0.22);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.tel-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(16, 45, 138, 0.30);
}
.tel-box::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, .34), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(0, 183, 255, .38), transparent 34%);
  mix-blend-mode: screen;
  opacity: .65;
}
.tel-box > * {
  position: relative;
  z-index: 1;
}
.tel-box__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--blue-strong);
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(16,45,138,.08);
}
.tel-box__small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.tel-box__number {
  display: block;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ==============================
   Hero
   ============================== */
.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  margin-top: -1px;
}
.hero::before {
  background-position: center center;
}
.hero::after {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 183, 255, 0.18), transparent 24%),
    linear-gradient(105deg, rgba(6, 21, 54, .58) 0%, rgba(16, 45, 138, .28) 28%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.03) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.18));
}
.hero__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 60px 42px 86px;
}
.hero__inner::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 34px;
  width: min(520px, calc(100% - 84px));
  height: calc(100% - 70px);
  z-index: -1;
  border-left: 1px solid rgba(255,255,255,.52);
  border-top: 1px solid rgba(255,255,255,.34);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  backdrop-filter: blur(1px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .22em;
  text-shadow: 0 5px 20px rgba(6, 21, 54, .45);
}
.hero__eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,183,255,.95), rgba(255,255,255,.58));
}
.hero h1 {
  max-width: 700px;
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(38px, 5.1vw, 52px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.08em;
  text-shadow: 0 16px 38px rgba(6, 21, 54, 0.46);
}
.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.94);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.08em;
  text-shadow: 0 10px 30px rgba(6, 21, 54, 0.42);
}
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.button {
  position: relative;
  min-width: 214px;
  min-height: 52px;
  padding: 0 26px 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.07em;
  white-space: nowrap;
  border-radius: 999px;
  overflow: hidden;
  transition: transform .36s var(--ease-out), box-shadow .36s var(--ease-out), opacity .25s ease;
}
.button:hover {
  opacity: .96;
  transform: translateY(-3px);
}
.button span {
  position: relative;
  z-index: 1;
  font-size: 25px;
  line-height: 0;
  transform: translateY(-1px);
}
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue-strong) 54%, var(--blue-dark));
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 20px 45px rgba(0, 72, 183, .32);
}
.button--outline {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 45, 138, .22);
  box-shadow: 0 14px 35px rgba(6, 21, 54, 0.08);
}

/* ==============================
   Expert
   ============================== */
.expert {
  min-height: 590px;
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.78);
}
.expert::after {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 183, 255, 0.13), transparent 25%),
    linear-gradient(105deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.74) 42%, rgba(235,248,255,.32) 65%, rgba(255,255,255,.12) 100%);
}
.section-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
}
.section-grid--expert {
  min-height: 590px;
  padding: 84px 42px 76px;
  display: grid;
  grid-template-columns: minmax(230px, 310px) 1fr;
  gap: 64px;
  align-items: center;
}
.section-heading__en {
  display: block;
  color: var(--blue-strong);
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: 0.035em;
}
.section-heading--expert {
  width: 100%;
}
.section-heading--expert .section-heading__jp {
  margin: 20px 0 22px;
  color: #253044;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.055em;
}
.heading-line {
  position: relative;
  display: block;
  width: 76px;
  height: 2px;
  overflow: hidden;
  background: rgba(16, 45, 138, 0.16);
}
.heading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue-strong), var(--cyan));
  transform-origin: left;
  animation: lineSweep 2.7s var(--ease-out) infinite;
}
.expert-card {
  position: relative;
  width: 100%;
  padding: 34px 34px 36px;
  overflow: hidden;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(1.25);
}
.expert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0,183,255,.16), transparent 38%),
    linear-gradient(315deg, rgba(16,45,138,.12), transparent 42%);
  opacity: .9;
}
.expert-card__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 0 28px;
}
.expert-card__row + .expert-card__row {
  padding-top: 28px;
  border-top: 1px solid rgba(16, 45, 138, 0.12);
}
.expert-card__row:last-child { padding-bottom: 0; }
.round-icon {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--blue-strong);
  background: linear-gradient(180deg, #fff, #eff8ff);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 45, 138, 0.16);
}
.round-icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,183,255,.75), rgba(16,45,138,.72));
}
.expert-card p {
  margin: 0;
  color: #1d2735;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 0.035em;
}
.round-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

/* ==============================
   About
   ============================== */
.about {
  min-height: 660px;
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.9);
}
.about::after {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 183, 255, 0.12), transparent 27%),
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 36%, rgba(255,255,255,0.28) 67%, rgba(255,255,255,0.08) 100%);
}
.about__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 82px 42px 86px;
}
.section-heading--about .section-heading__en {
  margin-bottom: 8px;
}
.section-heading--about h2 {
  margin: 0 0 18px;
  color: #202a37;
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.055em;
}
.about__copy {
  max-width: 570px;
  margin: 34px 0 24px;
  color: #233047;
  font-size: 15px;
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: 0.045em;
}
.about__copy p { margin: 0 0 16px; }
.office-card {
  position: relative;
  width: min(100%, 420px);
  min-height: 238px;
  padding: 30px 28px 26px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  color: #1d2733;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.90);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(1.25);
  overflow: hidden;
}
.office-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0,183,255,.12), transparent 42%),
    linear-gradient(315deg, rgba(16,45,138,.10), transparent 44%);
}
.office-card__icon {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  color: var(--blue-strong);
  filter: drop-shadow(0 10px 20px rgba(16,45,138,.16));
}
.office-card__body {
  position: relative;
  z-index: 1;
}
.office-card h3 {
  margin: 0 0 14px;
  color: var(--blue-strong);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.045em;
  white-space: nowrap;
}
.office-card p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.office-card hr {
  height: 1px;
  margin: 17px 0 15px;
  background: linear-gradient(90deg, rgba(16,45,138,.22), transparent);
  border: 0;
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  position: relative;
  min-height: 132px;
  background: linear-gradient(135deg, #061536, #102d8a 62%, #05245d);
  color: #fff;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(0,183,255,.28), transparent 35%),
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 45%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  min-height: 132px;
  margin: 0 auto;
  padding: 34px 42px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.055em;
}
.footer-address,
.copyright {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.035em;
}
.copyright {
  align-self: center;
  white-space: nowrap;
}

/* ==============================
   Motion
   ============================== */
@keyframes lineSweep {
  0% { transform: scaleX(0); opacity: .35; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero,
  .expert,
  .about {
    --parallax-scale: 1;
    --parallax-y: 0px;
  }
  .hero::before,
  .expert::before,
  .about::before {
    transform: none;
    inset: 0;
  }
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 920px) {
  .header-inner {
    padding-inline: 28px;
  }
  .tel-box {
    width: 274px;
  }
  .section-grid--expert {
    gap: 38px;
    grid-template-columns: minmax(210px, 270px) 1fr;
  }
  .expert-card p br { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  #about { scroll-margin-top: 74px; }
  .site-header {
    position: relative;
    height: auto;
  }
  body.is-scrolled .site-header { height: auto; }
  .header-inner {
    width: 100%;
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  .brand__lead { font-size: 12px; }
  .brand__name { font-size: clamp(24px, 7vw, 31px); }
  .tel-box {
    width: 100%;
    max-width: 330px;
    height: 64px;
  }
  .hero {
    min-height: 560px;
  }
  .hero::before {
    inset: -220px -140px;
    background-position: 63% center;
  }
  .hero::after {
    background:
      linear-gradient(105deg, rgba(6, 21, 54, .72) 0%, rgba(16, 45, 138, .44) 48%, rgba(255,255,255,.20) 100%);
  }
  .hero__inner {
    padding: 54px 22px 66px;
  }
  .hero__inner::before {
    left: 14px;
    right: 20px;
    width: auto;
    height: calc(100% - 70px);
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  }
  .hero h1 {
    font-size: clamp(31px, 9.2vw, 45px);
    line-height: 1.42;
    letter-spacing: .06em;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: .055em;
  }
  .hero p br,
  .about__copy br { display: none; }
  .hero__buttons { flex-direction: column; align-items: flex-start; }
  .button,
  .button--outline { width: min(100%, 300px); }

  .expert {
    min-height: 0;
  }
  .expert::before {
    inset: -260px -150px;
    background-position: center center;
  }
  .section-grid--expert {
    min-height: 0;
    padding: 56px 22px 58px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading__en { font-size: clamp(50px, 16vw, 64px); }
  .section-heading--expert .section-heading__jp {
    font-size: 14.5px;
  }
  .expert-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .expert-card__row {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
  }
  .expert-card__row + .expert-card__row {
    padding-top: 24px;
  }
  .round-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
  .round-icon img {
    width: 30px;
    height: 30px;
  }
  .expert-card p {
    font-size: 13.3px;
    line-height: 1.85;
  }

  .about {
    min-height: 0;
  }
  .about::before {
    inset: -220px -140px;
    background-position: 58% center;
  }
  .about::after {
    background: rgba(255,255,255,0.88);
  }
  .about__inner {
    padding: 58px 22px 62px;
  }
  .section-heading--about .section-heading__en { font-size: clamp(46px, 14vw, 56px); }
  .about__copy {
    font-size: 14px;
    line-height: 1.9;
  }
  .office-card {
    width: 100%;
    max-width: 430px;
    grid-template-columns: 48px 1fr;
    padding: 26px 22px;
    border-radius: 20px;
  }
  .office-card h3,
  .office-card p { white-space: normal; }
  .footer-inner {
    min-height: 0;
    padding: 30px 22px 32px;
    flex-direction: column;
    gap: 20px;
  }
  .copyright { align-self: flex-start; white-space: normal; }
}

@media (max-width: 520px) {
  .tel-box__number { font-size: 23px; }
  .hero::before { background-position: 67% center; }
  .expert::before {
    inset: -285px -160px;
    background-position: center center;
  }
  .about::before {
    inset: -230px -150px;
    background-position: 60% center;
  }
}

@media (max-width: 390px) {
  .brand__name { letter-spacing: .035em; }
  .tel-box__number { font-size: 21px; }
  .expert-card__row {
    grid-template-columns: 1fr;
  }
  .expert::before {
    inset: -305px -180px;
  }
  .about::before {
    inset: -240px -160px;
    background-position: 62% center;
  }
}
