﻿:root {
  --ink: #15263e;
  --muted-ink: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.16);
  --paper: #15263e;
  --soft: #1d324f;
  --blue: #15263e;
  --blue-dark: #0f1b2d;
  --blue-mid: #1d324f;
  --blue-light: #263f63;
  --accent: #FFC000;
  --accent-soft: rgba(255, 192, 0, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url("assets/MaterialIcons-Regular.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(21, 38, 62, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.menu-toggle {
  position: fixed;
  top: 16px;
  left: min(324px, calc(100vw - 66px));
  z-index: 42;
  width: 46px;
  height: 46px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.menu-button {
  position: fixed;
  top: 16px;
  left: min(324px, calc(100vw - 66px));
  z-index: 41;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(21, 38, 62, 0.72);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  grid-area: 1 / 1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-button span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle:checked + .menu-button span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle:checked + .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .menu-button span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu-panel {
  position: fixed;
  top: 80px;
  right: 0;
  left: 0;
  z-index: 40;
  display: none;
  gap: 0;
  padding: 10px 20px 22px;
  background: rgba(21, 38, 62, 0.98);
  border-bottom: 1px solid rgba(255, 192, 0, 0.45);
  box-shadow: 0 18px 32px rgba(21, 38, 62, 0.24);
}

.menu-toggle:checked ~ .mobile-menu-panel {
  display: grid;
}

.mobile-menu-panel a {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu-panel a[aria-current="page"] {
  color: var(--accent);
}

@media (min-width: 1200px) {
  .menu-toggle,
  .menu-button,
  .mobile-menu-panel {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 42px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 96px clamp(22px, 14vw, 228px);
  background: var(--blue);
  border-bottom-right-radius: clamp(42px, 8vw, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 27, 45, 0.78) 0%, rgba(15, 27, 45, 0.52) 48%, rgba(15, 27, 45, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 27, 45, 0.18) 0%, rgba(15, 27, 45, 0.52) 100%),
    url("assets/team-work.png") center 45% / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  min-width: 0;
}

.hero-message h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

.hero-brand {
  display: none;
}

.hero-brand img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.45;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-support {
  display: flex;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
  padding: 34px clamp(22px, 7vw, 96px) 42px;
  background: var(--blue);
  border-bottom: 1px solid var(--line);
}

.hero-support p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-support .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: var(--blue);
  box-shadow: var(--shadow);
}

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

.button.secondary {
  background: rgba(15, 27, 45, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(4px);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 108px clamp(18px, 5vw, 40px);
}

.section.muted {
  max-width: none;
  padding-right: clamp(18px, 7vw, 96px);
  padding-left: clamp(18px, 7vw, 96px);
  background: var(--blue-mid);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.intro p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card,
.flow article,
.service-detail article {
  background: var(--blue-mid);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 30px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.service-card {
  border-top: 0;
  border-left: 0;
}

.service-card p,
.flow p,
.service-detail p {
  margin: 0;
  color: var(--muted-ink);
  overflow-wrap: anywhere;
}

.card-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.service-icon {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-family: "Material Icons";
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.section-action {
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: ">";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
}

.split p {
  color: var(--muted-ink);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.faq details p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.news-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.news-list a {
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
}

.news-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 clamp(18px, 7vw, 96px) 92px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--blue);
  color: #fff;
  border-radius: 0;
}

.contact-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .eyebrow {
  color: var(--accent);
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-actions .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-actions p {
  flex-basis: 100%;
  text-align: right;
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted-ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 116px clamp(22px, 12vw, 180px) 90px;
  background: var(--blue);
  border-bottom: 1px solid var(--line);
  border-bottom-right-radius: clamp(36px, 7vw, 84px);
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 27, 45, 0.86) 0%, rgba(15, 27, 45, 0.68) 48%, rgba(15, 27, 45, 0.42) 100%),
    linear-gradient(180deg, rgba(15, 27, 45, 0.08) 0%, rgba(15, 27, 45, 0.5) 100%),
    url("assets/team-work.png") center 44% / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.page-hero > :not(.page-hero-bg) {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  color: #fff;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.page-hero .eyebrow {
  color: var(--accent);
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  overflow: hidden;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #fff;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "\2713";
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow article {
  border-top: 0;
  border-left: 0;
}

.flow span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 32px;
}

.signature {
  margin-top: 28px;
  font-weight: 700;
}

.office-list {
  max-width: 880px;
  margin: 0;
}

.office-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.office-list dt {
  color: var(--muted-ink);
  font-weight: 700;
}

.office-list dd {
  margin: 0;
}

.policy {
  max-width: 880px;
}

.policy h2 {
  margin-top: 42px;
  font-size: 24px;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy p {
  color: var(--muted-ink);
}

@media (max-width: 1199px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 560px;
    background: var(--blue);
  }

  .section,
  .section.muted {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(15, 27, 45, 0.82) 0%, rgba(15, 27, 45, 0.58) 56%, rgba(15, 27, 45, 0.42) 100%),
      linear-gradient(180deg, rgba(15, 27, 45, 0.12) 0%, rgba(15, 27, 45, 0.58) 100%),
      url("assets/team-work.png") center 48% / cover no-repeat;
    opacity: 1;
  }

  .hero-support {
    display: grid;
    justify-content: stretch;
  }

  .intro,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero p:last-child,
  .service-card p,
  .service-detail p,
  .flow p {
    max-width: 34em;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-actions p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 64px);
    white-space: normal;
  }

  .brand span {
    font-size: 14px;
    line-height: 1.35;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
  }

  .hero {
    min-height: 520px;
    padding: 92px 24px 78px;
    gap: 32px;
    width: 100%;
    border-bottom-right-radius: 54px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(15, 27, 45, 0.78) 0%, rgba(15, 27, 45, 0.5) 48%, rgba(15, 27, 45, 0.8) 100%),
      url("assets/team-work.png") center center / cover no-repeat;
  }

  .hero-message h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.45;
  }

  .hero-copy,
  .lead,
  .intro p,
  .section h2 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .lead {
    font-size: 16px;
    line-height: 2;
  }

  .hero-brand {
    display: none;
  }

  .hero-brand img {
    max-width: 100%;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-support {
    padding: 26px 24px 34px;
  }

  .button {
    width: 100%;
  }

  .section,
  .section.muted {
    padding-right: 24px;
    padding-left: 24px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-hero {
    padding: 74px 24px 58px;
  }

  .page-hero-bg {
    background:
      linear-gradient(180deg, rgba(15, 27, 45, 0.82) 0%, rgba(15, 27, 45, 0.58) 48%, rgba(15, 27, 45, 0.84) 100%),
      url("assets/team-work.png") center center / cover no-repeat;
    opacity: 1;
  }

  .service-grid,
  .service-detail,
  .flow {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .page-hero p,
  .service-card p,
  .service-detail p,
  .flow p,
  .check-list li {
    word-break: break-all;
    line-break: anywhere;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .office-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }
}

