@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  --blue: #14397a;
  --blue-light: #1d57b5;
  --orange: #f0791a;
  --orange-light: #ffb066;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --bg-soft: #f6f7f9;
  --white: #ffffff;
  --border: #e3e5e9;
  --shadow: 0 10px 30px rgba(20, 39, 80, 0.08);
  --radius-lg: 32px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Section heading ===== */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head__en {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-head__jp {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: var(--blue);
}

.section-head__lead {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 15px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(20, 57, 122, 0.3);
}

.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(20, 57, 122, 0.35);
}

.btn--outline {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 4%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.header.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

.header__navItem a {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.header__navItem a:hover,
.header__navItem a.is-active {
  background: var(--bg-soft);
  color: var(--blue);
}

.header__cta a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(240, 121, 26, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.header__cta a:hover {
  background: #d8650f;
  transform: translateY(-3px);
}

.header__toggle {
  display: none;
}

.header__drawer {
  display: none;
}

@media screen and (max-width: 860px) {
  .header__nav {
    display: none;
  }

  .header__inner {
    justify-content: space-between;
  }

  .header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
  }

  .header__toggle span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .header__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78%, 320px);
    height: 100%;
    background: var(--blue);
    z-index: 999;
    padding: 100px 32px 32px;
    transition: right 0.35s ease;
  }

  .header__drawer.is-open {
    right: 0;
  }

  .header__drawer ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .header__drawer ul li a {
    display: block;
    padding: 16px 4px;
    color: var(--white);
    font-weight: 700;
  }

  .header__drawer .header__cta {
    margin-top: 24px;
  }

  .header__drawer .header__cta a {
    justify-content: center;
    background: var(--white);
    color: var(--blue);
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 64px 4% 32px;
  margin-top: 120px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer__company {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--orange-light);
}

.footer__copy {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Page header (sub pages) ===== */
.pageHero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  padding: 120px 4% 64px;
  text-align: center;
  margin-bottom: 80px;
}

.pageHero__en {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange-light);
  font-weight: 700;
}

.pageHero__jp {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  margin-top: 8px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Generic page content blocks ===== */
.content-block {
  max-width: 880px;
  margin: 0 auto 100px;
  padding: 0 4%;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  margin: 40px 0 16px;
}

.content-block p {
  color: var(--text-light);
}

.infoTable {
  width: 100%;
  border-collapse: collapse;
}

.infoTable th,
.infoTable td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.infoTable th {
  width: 9em;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.addressRow {
  display: flex;
}

.addressRow + .addressRow {
  margin-top: 6px;
}

.addressRow__label {
  flex-shrink: 0;
  width: 5.5em;
}

@media screen and (max-width: 600px) {
  .infoTable th,
  .infoTable td {
    display: block;
    width: 100%;
    padding: 6px 0;
    border-bottom: none;
  }

  .infoTable tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ===== Contact CTA (used on multiple pages) ===== */
.ctaBlock {
  margin: 0 4% 100px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 5%;
  text-align: center;
  color: var(--white);
}

.ctaBlock__title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
}

.ctaBlock__lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.ctaBlock__btns {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ctaBlock .btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.ctaBlock .btn--outline:hover {
  background: var(--white);
  color: var(--blue);
}