:root {
  --background: #f4f8ff;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #596579;
  --blue: #0753b7;
  --blue-dark: #003c92;
  --blue-soft: #eaf3ff;
  --orange: #ff8a00;
  --green: #4f8f35;
  --line: #dfe8f5;
  --shadow: 0 20px 50px rgba(30, 64, 120, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 94px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(7, 83, 183, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(7, 83, 183, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 0.96rem;
  font-weight: 900;
  cursor: pointer;
}

.brand-logo {
  width: 68px;
  height: 56px;
  object-fit: contain;
}

.split-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.25vw, 18px);
  white-space: nowrap;
}

.nav-direct,
.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #101827;
  font-size: 0.9rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: 160ms ease;
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-direct:hover,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(7, 83, 183, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(12, 35, 78, 0.16);
}

.nav-submenu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1f2937;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.nav-submenu button:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

.hero.page-section.is-active {
  display: flex;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(820px, calc(100vh + 80px));
  padding: clamp(64px, 9vw, 118px) clamp(24px, 5vw, 72px);
  background: var(--paper);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0 43%, rgba(255, 255, 255, 0.72) 57%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(244, 248, 255, 0.2));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 1;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 540px;
  margin-bottom: 34px;
  color: #0b1020;
  font-size: clamp(3rem, 5.2vw, 5.1rem);
  font-weight: 900;
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  color: #0b1020;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
}

h3 {
  color: #0b1020;
  font-size: 1.24rem;
  font-weight: 900;
  line-height: 1.45;
}

.hero-actions,
.country-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: 180ms ease;
}

.primary-action {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 30px rgba(7, 83, 183, 0.22);
  cursor: pointer;
}

.secondary-action {
  border: 1px solid rgba(7, 83, 183, 0.18);
  background: #fff;
  color: var(--blue-dark);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.page-view,
.site-footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.page-view {
  min-height: calc(100vh - 174px);
  padding: clamp(54px, 7vw, 92px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.centered {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.compact {
  max-width: 440px;
  margin-bottom: 0;
}

.section-heading p,
.text-panel p,
.document-card p {
  color: var(--muted);
}

.text-panel,
.document-card,
.profile-table,
.flow-list li {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(30, 64, 120, 0.08);
}

.text-panel {
  padding: 34px;
  border-radius: 16px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #273244;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.country-box {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 22px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.country-box span {
  color: var(--blue-dark);
  font-weight: 900;
}

.country-box strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(7, 83, 183, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.document-card {
  display: grid;
  gap: 12px;
  min-height: 196px;
  padding: 24px;
  border-radius: 16px;
}

.document-card span {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.flow-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  border-radius: 16px;
}

.flow-step-no {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
}

.flow-step-body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.page-two-column,
.two-column-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.field-table-wrap {
  overflow-x: auto;
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(30, 64, 120, 0.08);
}

.field-table td {
  min-width: 180px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.profile-table {
  display: grid;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
}

.profile-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.profile-table div:last-child {
  border-bottom: 0;
}

.profile-table dt,
.profile-table dd {
  margin: 0;
  padding: 18px 20px;
}

.profile-table dt {
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
}

.contact-note {
  color: #a33;
  font-weight: 800;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(30, 64, 120, 0.08);
}

.contact-direct a {
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(30, 64, 120, 0.08);
}

.inquiry-types {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
}

.inquiry-types label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: #273244;
  font-weight: 800;
}

.field-label strong {
  color: #b42318;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd6e4;
  border-radius: 12px;
  background: #fff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 40px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .split-nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-photo {
    left: 0;
    opacity: 0.25;
  }

  .hero::after {
    background: rgba(255, 255, 255, 0.8);
  }

  .document-grid,
  .contact-page,
  .page-two-column,
  .two-column-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 16px;
  }

  .page-view,
  .site-footer {
    width: min(100% - 28px, 1320px);
  }

  h1 {
    font-size: 2.7rem;
  }

  .flow-list li,
  .profile-table div {
    grid-template-columns: 1fr;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }
}
