:root {
  --blue: #006bd6;
  --blue-dark: #0055b4;
  --navy: #001f45;
  --ink: #07162f;
  --muted: #52627a;
  --line: #d8e2ef;
  --sky: #eaf5ff;
  --soft: #f5f9fe;
  --warm: #fffaf3;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(0, 39, 85, 0.14);
  --soft-shadow: 0 6px 18px rgba(0, 32, 72, 0.11);
  --radius: 8px;
  --container: 1026px;
  --content: 1000px;
  --company: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 16px rgba(0, 24, 58, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--container), calc(100% - 96px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr 132px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--navy);
}

.brand-main {
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 800;
}

.brand-main strong {
  color: var(--blue);
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
}

.nav-link {
  min-width: 70px;
  padding: 18px 4px 15px;
  display: grid;
  gap: 5px;
  text-align: center;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  font-weight: 800;
}

.nav-link small {
  font-size: 0.7rem;
  color: var(--ink);
  font-weight: 700;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.language-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 122px;
  height: 30px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
  justify-self: end;
  background: var(--white);
}

.language-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.language-button.active {
  background: var(--blue);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  justify-self: end;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  background: var(--warm);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 32%, rgba(255, 255, 255, 0.64) 45%, rgba(255, 255, 255, 0) 66%);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  background-image: url("images/hero-tour.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 96px));
  min-height: 356px;
  margin: 0 auto;
  padding: 34px 0 30px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
}

.hero h1 {
  width: 520px;
  max-width: 54%;
  margin: 0;
  color: var(--navy);
  font-size: 3.72rem;
  line-height: 0.98;
  font-weight: 900;
}

.hero-lead {
  margin: 12px 0 17px;
  color: var(--blue-dark);
  font-size: 1.23rem;
  font-weight: 600;
}

.hero-jp {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
}

.hero-copy {
  width: 340px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.42;
  font-weight: 600;
}

.hero-features {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 58px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.hero-feature {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 151px;
  padding: 10px 16px;
  border-right: 1px solid rgba(0, 83, 180, 0.12);
}

.hero-feature:last-child {
  border-right: 0;
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
}

.feature-icon img {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
}

.hero-feature strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.1;
}

.hero-feature small {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
}

.service-section,
.why-section,
.operator-section,
.contact-section {
  width: min(var(--content), calc(100% - 220px));
  margin: 0 auto;
}

.company-section {
  width: min(var(--company), calc(100% - 140px));
  margin: 0 auto;
}

.service-section {
  padding: 36px 0 28px;
}

.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
}

.section-kicker,
.section-heading h2 span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-kicker {
  margin: 0 0 8px;
}

.section-kicker span,
.section-heading h2 span {
  font-size: 0.72rem;
}

.section-intro h2,
.section-heading h2,
.company-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.06;
  font-weight: 900;
}

.section-intro p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
}

.jp-copy {
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.small-link {
  margin-top: 0;
}

.text-link img {
  width: 18px;
  height: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 176px;
  padding: 6px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-item img,
.why-grid img {
  margin-bottom: 20px;
}

.service-item h3,
.why-grid h3,
.tour-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 900;
}

.service-jp,
.tour-sub {
  margin: 5px 0 8px;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
}

.service-item p:last-child,
.why-grid p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.45;
}

.tours-section {
  padding: 15px 0 34px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.tours-section > * {
  width: min(var(--content), calc(100% - 220px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

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

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tour-card {
  overflow: hidden;
  border: 1px solid #cdd8e7;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tour-card img {
  width: 100%;
  height: 108px;
  object-fit: cover;
}

.tour-body {
  padding: 9px 12px 14px;
}

.tour-card p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.36;
}

.tour-facts {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}

.tour-facts div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: start;
}

.tour-facts dt,
.tour-facts dd {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
}

.tour-facts dt {
  color: var(--muted);
  font-weight: 900;
}

.tour-facts dd {
  color: var(--ink);
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tags span {
  min-width: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e9edf2;
  color: var(--ink);
  text-align: center;
  font-size: 0.66rem;
  font-weight: 700;
}

.why-section {
  padding: 26px 0 30px;
  background-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(240,248,255,0.7) 100%);
}

.operator-section {
  padding: 32px 0 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.trust-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 32, 72, 0.06);
}

.trust-grid article {
  padding: 18px;
}

.trust-grid h3,
.contact-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 900;
}

.trust-grid p,
.contact-card p,
.contact-note {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.48;
}

.trust-grid p {
  margin: 9px 0 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 22px;
}

.why-grid article {
  text-align: center;
}

.why-grid img {
  margin-left: auto;
  margin-right: auto;
}

.company-section {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  padding: 14px 0 10px;
}

.company-title {
  color: var(--navy);
  text-align: center;
}

.company-title p {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.company-title .official-copy {
  color: var(--blue);
  font-size: 0.76rem;
  line-height: 1.35;
}

.company-table {
  border: 1px solid #c6d2e2;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.company-row {
  display: grid;
  grid-template-columns: 108px 2fr 126px 1.35fr;
  min-height: 44px;
  border-bottom: 1px solid #c6d2e2;
}

.company-row-wide {
  grid-template-columns: 144px 1fr;
}

.company-row:last-child {
  border-bottom: 0;
}

.company-row > div {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid #c6d2e2;
  line-height: 1.35;
}

.company-row > div:nth-child(odd) {
  color: var(--navy);
  background: #f0f6fc;
  font-weight: 800;
}

.company-row > div:last-child {
  border-right: 0;
}

.contact-section {
  padding: 24px 0 38px;
}

.contact-section .section-heading {
  align-items: flex-start;
  gap: 28px;
}

.contact-note {
  width: min(480px, 100%);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-card {
  min-height: 102px;
  padding: 16px;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-card a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: linear-gradient(90deg, #002a5f, #003c7c);
  color: var(--white);
}

.footer-inner {
  width: min(var(--container), calc(100% - 72px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr 390px;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.footer-brand {
  display: grid;
  gap: 2px;
  font-weight: 900;
}

.footer-brand span {
  font-size: 1rem;
}

.footer-brand small {
  font-size: 0.62rem;
}

.footer-inner p {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.28;
  font-weight: 700;
}

.footer-inner > small {
  justify-self: end;
  font-size: 0.68rem;
  display: grid;
  gap: 4px;
  text-align: right;
  line-height: 1.35;
}

.footer-inner > small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.credits-page,
.policy-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.credits-page h1,
.policy-page h1 {
  margin: 24px 0 12px;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
}

.credits-page p,
.policy-page p,
.policy-page li {
  color: var(--ink);
  line-height: 1.65;
}

.policy-page h2 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 1.2rem;
}

.policy-page ul {
  padding-left: 1.25rem;
}

.policy-contact {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.policy-contact h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
}

.policy-contact p {
  margin: 8px 0 0;
}

.policy-contact a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credits-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.credits-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.credits-list h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.credits-list a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .header-inner {
    width: min(var(--container), calc(100% - 36px));
    grid-template-columns: 1fr 42px 110px;
    min-height: 72px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0 18px 14px;
    background: var(--white);
    box-shadow: 0 18px 24px rgba(0, 24, 58, 0.1);
  }

  .primary-nav.open {
    display: grid;
  }

  .nav-link {
    min-width: 0;
  }

  .hero-content,
  .service-section,
  .why-section,
  .operator-section,
  .contact-section,
  .company-section,
  .tours-section > *,
  .footer-inner {
    width: min(var(--container), calc(100% - 36px));
  }

  .hero h1 {
    max-width: 64%;
    font-size: 3rem;
  }

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

  .service-list,
  .tour-grid,
  .why-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-list {
    border-left: 0;
    gap: 18px;
  }

  .service-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
  }

  .company-title {
    text-align: left;
  }

  .company-table {
    font-size: 0.76rem;
  }

  .company-row {
    grid-template-columns: 112px 1fr;
  }

  .company-row-wide {
    grid-template-columns: 112px 1fr;
  }

  .company-row > div:nth-child(2) {
    border-right: 0;
  }

  .company-row > div:nth-child(3) {
    border-top: 1px solid #c6d2e2;
  }

  .company-row > div:nth-child(4) {
    border-right: 0;
    border-top: 1px solid #c6d2e2;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 18px 0;
    text-align: center;
  }

  .footer-inner > small {
    justify-self: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .header-inner {
    grid-template-columns: 1fr 42px;
  }

  .language-toggle {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    margin-bottom: 12px;
  }

  .primary-nav {
    top: 114px;
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    display: none;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 230px;
    background-position: center top;
  }

  .hero-content {
    min-height: 0;
    padding: 30px 0 20px;
  }

  .hero h1 {
    width: auto;
    max-width: 100%;
    font-size: 2.36rem;
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-copy {
    width: auto;
    max-width: 340px;
  }

  .hero-features,
  .service-list,
  .tour-grid,
  .why-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-features {
    width: 100%;
  }

  .hero-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 83, 180, 0.12);
  }

  .hero-feature:last-child {
    border-bottom: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tour-card img {
    height: 150px;
  }

  .company-row {
    grid-template-columns: 1fr;
  }

  .company-row-wide {
    grid-template-columns: 1fr;
  }

  .company-row > div {
    border-right: 0;
  }

  .company-row > div:nth-child(2),
  .company-row > div:nth-child(3),
  .company-row > div:nth-child(4) {
    border-top: 1px solid #c6d2e2;
  }
}
