@charset "utf-8";

:root {
  --ink: #172536;
  --blue: #173f64;
  --blue-hover: #24587f;
  --blue-dark: #0d2943;
  --blue-black: #142638;
  --accent: #8fc5e8;
  --accent-hover: #b8dcf2;
  --paper: #f2f6f9;
  --white: #ffffff;
  --muted: #657585;
  --line: rgba(23, 37, 54, 0.14);
  --content-width: 1180px;
  --font-sans: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.hero-photo {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(242, 246, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 48px));
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 260px;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.global-nav a:not(.nav-contact):hover {
  color: #2e6d9f;
}

.nav-contact {
  padding: 11px 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.nav-contact:hover {
  background: var(--blue-hover);
}

.menu-button {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--blue-black);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: url(../images/2.jpg?v=47258810892c) center / cover no-repeat;
  filter: saturate(0.72) contrast(0.96) brightness(0.92);
  opacity: 0.68;
  /*-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 100%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 100%, transparent 100%);*/
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0d2943 0%,
    #0d2943 36%,
    rgba(13, 41, 67, 0.86) 48%,
    rgba(13, 41, 67, 0.24) 70%,
    rgba(13, 41, 67, 0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 48px));
  margin: auto;
  padding: clamp(64px, 10vh, 96px) 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 4.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.hero h1 small {
  display: inline-block;
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2.55vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: clamp(1.16rem, 1.65vw, 1.38rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 58px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button small {
  font-size: 0.875rem;
  font-weight: 500;
}

.button-primary {
  color: var(--blue-dark);
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Shared section typography */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4f718c;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.section-kicker span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue);
  background: var(--accent);
  border-radius: 50%;
  letter-spacing: 0;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.68);
}

.intro h2,
.about-lead h2,
.access-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.45vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 5px;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Introduction */
.intro {
  padding: 118px 0;
}

.intro-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 92px;
}

.intro-grid p {
  margin: 6px 0 25px;
  color: #506274;
  font-size: 1.03rem;
  line-height: 1.9;
}

/* Services */
.services-section {
  padding: 64px 0;
  color: var(--white);
  background: var(--blue-black);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  row-gap: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.1vw, 3.7rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.03rem;
  line-height: 1.85;
}

.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 18px;
}

.service-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #112f49;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 56, 0.04) 20%, rgba(9, 32, 51, 0.94) 100%);
}

.service-card:hover img {
  transform: scale(1.035);
  opacity: 0.78;
}

.card-content {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
}

.card-no {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-content h3 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.card-content p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.service-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Company */
.about-section {
  padding: 118px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.about-lead h2 {
  margin-top: 28px;
}

.about-lead p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.company-table dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

/* Access */
.access-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--blue-black);
}

.access-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 72px;
}

.access-copy h2 {
  margin-top: 28px;
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  line-height: 1.42;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.access-copy p,
.access-copy address {
  font-size: 1.02rem;
  line-height: 1.9;
}

.access-copy p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.access-copy address {
  margin: 26px 0;
  font-style: normal;
}

.light-link {
  color: var(--accent);
}

.map-frame,
.map-frame iframe {
  min-height: 420px;
}

.map-frame {
  overflow: hidden;
  background: var(--white);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Contact */
.contact-section {
  padding: 118px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 92px;
}

.contact-section h2 {
  margin-top: 28px;
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  line-height: 1.42;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.contact-actions {
  border-top: 1px solid var(--line);
}

.contact-actions a {
  padding: 27px 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contact-actions a:hover {
  background: rgba(23, 63, 100, 0.055);
}

.contact-actions span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-actions strong {
  color: var(--blue);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.45;
}

.contact-actions small {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--blue-dark);
}

.footer-inner {
  width: min(var(--content-width), calc(100% - 48px));
  margin: auto;
  text-align: center;
}

.footer-inner small {
  display: block;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

@media (min-width: 901px) and (max-width: 1728px) and (max-height: 1050px) {
  .hero {
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
  }
}

@media (max-width: 900px) {
  .section-shell,
  .hero-photo,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 36px), var(--content-width));
  }

  .header-inner {
    height: 72px;
  }

  .hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
  }

  .brand img {
    width: 210px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    padding: 11px;
    display: grid;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    height: 2px;
    background: var(--blue);
  }

  .global-nav {
    position: absolute;
    inset: 72px 0 auto;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-contact {
    margin-top: 12px;
    text-align: center;
  }

  .intro-grid,
  .about-section,
  .access-grid,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-section,
  .contact-section {
    padding: 92px 0;
  }

  .access-copy h2,
  .contact-section h2 {
    font-size: clamp(1.55rem, 5.4vw, 2.1rem);
  }

}

@media (max-width: 720px) {
  .hero-photo {
    opacity: 0.64;
  }

  .hero-overlay {
    background: rgba(13, 41, 67, 0.4);
  }

  .hero-inner {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.7vw, 2.05rem);
    line-height: 1.3;
    letter-spacing: -0.035em;
  }

  .hero h1 small {
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1.5;
  }

  .hero-copy {
    font-size: 1.12rem;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
  }

  .intro {
    padding: 86px 0;
  }

  .services-section {
    padding: 64px 0;
  }

  .intro-grid {
    gap: 32px;
  }

  .intro h2,
  .about-lead h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.45rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > span {
    display: none;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 9.8vw, 2.9rem);
  }

  .service-grid {
    margin-top: 44px;
    grid-template-columns: 1fr;
  }

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

  .card-content {
    right: 24px;
    bottom: 25px;
    left: 24px;
  }

  .card-content h3 {
    font-size: 1.4rem;
  }

  .about-section,
  .contact-section {
    padding: 84px 0;
  }

  .company-table div {
    grid-template-columns: 94px 1fr;
    gap: 12px;
  }

  .access-section {
    padding: 84px 0 0;
  }

  .access-copy h2,
  .contact-section h2 {
    font-size: clamp(1.5rem, 7vw, 1.75rem);
    line-height: 1.45;
  }

  .map-frame {
    margin: 0 -18px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
    height: 360px;
  }

  .contact-actions a {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 360px) {
  .access-copy h2,
  .contact-section h2 {
    font-size: 1.42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
