:root {
  --ink: #17223b;
  --navy: #0f2f57;
  --blue: #1d68a7;
  --sky: #dcebf5;
  --paper: #f7f9fb;
  --line: #d9e2ea;
  --muted: #657489;
  --accent: #c8963f;
  --green: #4d7d68;
  --white: #fff;
  --shadow: 0 20px 60px rgba(15, 47, 87, .18);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  background: var(--navy);
  transition: opacity .5s ease, visibility .5s ease;
}

.loading-screen__mark {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  animation: loadingPulse 1.35s ease-in-out infinite;
}

.loading-screen p {
  margin: 0;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body.is-ready .loading-screen {
  opacity: 0;
  visibility: hidden;
}

.split-transition {
  position: fixed;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 50vh;
  background: var(--blue);
  pointer-events: none;
  transition: transform .9s cubic-bezier(.77, 0, .18, 1) .28s;
}

.split-transition--top {
  top: 0;
}

.split-transition--bottom {
  bottom: 0;
}

body.is-ready .split-transition--top {
  transform: translateY(-102%);
}

body.is-ready .split-transition--bottom {
  transform: translateY(102%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 36px rgba(22, 34, 59, .08);
  backdrop-filter: blur(14px);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand__symbol {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .78rem;
  color: var(--accent);
  background: rgba(255, 255, 255, .08);
}

.brand__name {
  font-size: clamp(.92rem, 1.5vw, 1.08rem);
  letter-spacing: .03em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  left: 0;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions > a {
  min-width: 94px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
}

.menu-button {
  display: none;
  position: relative;
  z-index: 45;
  width: 46px;
  aspect-ratio: 1;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.menu-button span:not(.visually-hidden) {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.menu-button span:nth-child(1) {
  top: 15px;
}

.menu-button span:nth-child(2) {
  top: 22px;
}

.menu-button span:nth-child(3) {
  top: 29px;
}

body.nav-open .menu-button span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.nav-open .menu-button span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-button span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.circle-bg {
  position: fixed;
  top: 18px;
  right: 32px;
  z-index: 32;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky);
  transform: scale(0);
  transform-origin: center;
  transition: transform .55s cubic-bezier(.78, 0, .18, 1);
  pointer-events: none;
}

body.nav-open .circle-bg {
  transform: scale(42);
}

.section-anchor {
  scroll-margin-top: 90px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-slide.is-active img {
  animation: heroZoom 7s linear forwards;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(15, 47, 87, .9), rgba(15, 47, 87, .58) 42%, rgba(15, 47, 87, .14)),
    linear-gradient(0deg, rgba(15, 47, 87, .48), transparent 52%);
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 120px);
  padding-top: var(--header-height);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.lead h2,
.section-head h2,
.message h2,
.access h2 {
  margin: 0;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
}

.cover-line {
  position: relative;
  display: block;
  width: fit-content;
  overflow: hidden;
}

.cover-line span {
  display: block;
  transform: translateY(105%);
  transition: transform .8s cubic-bezier(.19, 1, .22, 1) 1.15s;
}

.cover-line::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
}

.cover-line--delay span {
  transition-delay: 1.32s;
}

body.is-ready .cover-line span {
  transform: translateY(0);
}

body.is-ready .cover-line::after {
  animation: textCover .9s cubic-bezier(.77, 0, .18, 1) .88s both;
}

body.is-ready .cover-line--delay::after {
  animation-delay: 1.04s;
}

.hero__lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--primary {
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .68);
}

.message .button--primary {
  color: var(--white);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(70px, 9vw, 120px);
  z-index: 3;
  width: min(320px, calc(100% - 40px));
  padding: 22px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.hero-dots {
  position: absolute;
  left: clamp(20px, 8vw, 120px);
  bottom: 42px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-dot.is-active {
  width: 62px;
  background: var(--white);
}

.lead,
.service,
.message,
.history,
.access {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(76px, 10vw, 128px) 0;
}

.lead__copy h2,
.section-head h2,
.message h2,
.access h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
}

.news-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 47, 87, .08);
}

.news-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1rem;
}

.news-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-card li {
  display: none;
  gap: 14px;
  align-items: baseline;
}

.news-card li.is-active {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  animation: newsFade .55s ease both;
}

.news-card time {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
}

.service {
  padding: clamp(74px, 10vw, 122px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.service-list li {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  overflow: hidden;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(24px) rotate(.4deg);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease, background .25s ease;
}

.service-list li::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease .18s;
}

.service-list li.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.service-list li.is-visible::after {
  transform: scaleX(1);
}

.service-list li:hover {
  background: #f3f8fc;
  border-color: var(--blue);
}

.message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(76px, 10vw, 128px) 0;
}

.cover-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cover-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--navy);
  transform: translateX(0);
  transition: transform .82s cubic-bezier(.77, 0, .18, 1) .12s;
}

.cover-media.is-visible::after {
  transform: translateX(102%);
}

.cover-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s ease;
}

.cover-media.is-visible img {
  transform: scale(1);
}

.message__body p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.message__body .button {
  margin-top: 28px;
}

.history {
  padding: clamp(78px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.history__grid {
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  margin-top: 42px;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.history-step {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 48px;
  min-height: 160px;
  padding: 0 0 36px 0;
  --line-progress: 0;
}

.history-step::before {
  position: absolute;
  top: 7px;
  left: 102px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 16px;
  aspect-ratio: 1;
  content: "";
  background: var(--paper);
  border: 3px solid var(--blue);
  border-radius: 50%;
  transition: background .25s ease, transform .25s ease;
}

.history-step.is-active::before {
  background: var(--accent);
  transform: scale(1.12);
}

.history-line {
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 109px;
  width: 2px;
  overflow: hidden;
  background: var(--line);
}

.history-line::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--blue);
  transform: scaleY(var(--line-progress));
  transform-origin: top;
}

.history-step:last-child .history-line {
  display: none;
}

.history-year {
  color: var(--blue);
  font-size: .88rem;
  font-weight: 900;
}

.history-step h3 {
  margin: 0;
  font-size: 1.2rem;
}

.history-step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding: clamp(74px, 10vw, 124px) 0;
}

.access__body p:not(.eyebrow) {
  color: var(--muted);
}

.access-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.access-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.access-list dt {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.access-list dd {
  margin: 0;
}

.map-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 24%, rgba(29, 104, 167, .11) 24%, rgba(29, 104, 167, .11) 25%, transparent 25%),
    linear-gradient(0deg, transparent 18%, rgba(29, 104, 167, .11) 18%, rgba(29, 104, 167, .11) 19%, transparent 19%),
    #e9f1f6;
  background-size: 88px 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-road {
  position: absolute;
  display: block;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(29, 104, 167, .12);
}

.map-road--main {
  top: 45%;
  left: -10%;
  width: 120%;
  height: 34px;
  transform: rotate(-12deg);
}

.map-road--sub {
  top: -10%;
  left: 52%;
  width: 30px;
  height: 130%;
  transform: rotate(18deg);
}

.map-road--cross {
  top: 65%;
  left: 4%;
  width: 80%;
  height: 24px;
  transform: rotate(15deg);
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 52%;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--navy);
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 14px 28px rgba(15, 47, 87, .25);
  font-size: .78rem;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 12px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(29, 104, 167, .38);
  animation: pinPulse 1.8s ease-out infinite;
}

.map-pin {
  color: transparent;
}

.map-pin::before {
  content: "BB";
  color: var(--white);
  transform: rotate(45deg);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 70px);
  color: var(--white);
  background: var(--navy);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.page-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(15, 47, 87, .25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.page-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.19, 1, .22, 1);
}

.reveal--from-left {
  transform: translateX(-42px);
}

.reveal--from-right {
  transform: translateX(42px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes loadingPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: .75;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes textCover {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  45% {
    transform: scaleX(1);
    transform-origin: left;
  }
  46% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes newsFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pinPulse {
  to {
    box-shadow: 0 0 0 22px rgba(29, 104, 167, 0);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 12px 18px;
  }

  .brand__name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-button {
    display: block;
  }

  .header-actions > a {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 34;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    color: var(--ink);
    font-size: clamp(1.3rem, 7vw, 2.6rem);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    pointer-events: none;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__content {
    width: min(100% - 36px, 680px);
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 4rem);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    align-self: end;
    width: calc(100% - 36px);
    margin: 0 auto 74px;
  }

  .hero-dots {
    left: 18px;
    bottom: 26px;
  }

  .lead,
  .message,
  .history__grid,
  .access {
    grid-template-columns: 1fr;
  }

  .history__media {
    order: -1;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lead,
  .service,
  .message,
  .history,
  .access {
    width: min(100% - 28px, 1120px);
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .news-card li.is-active {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .history-step {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 36px;
  }

  .history-step::before {
    left: 80px;
  }

  .history-line {
    left: 87px;
  }

  .map-card {
    min-height: 300px;
  }

  .site-footer {
    display: grid;
  }
}

h1 span, h1 p, h2 span, h2 p { font-size: inherit; }

/* eyebrow: hero内はアンバー維持、白背景セクションではネイビーに変更（視認性確保） */
.lead .eyebrow,
.service .eyebrow,
.message .eyebrow,
.history .eyebrow,
.access .eyebrow {
  color: var(--navy);
}
