:root {
  --orange: #e85010;
  --orange-hover: #d0460e;
  --navy: #084070;
  --navy-deep: #003156;
  --navy-mid: #0a5088;
  --mountain: #2e6a96;
  --sky: #7eb8d4;
  --ice: #e8f4fa;
  --bg: #f7fafc;
  --text: #1a2c3a;
  --muted: #5a6e7d;
  --line: #d5e2ea;
  --white: #fff;
  --header-h: 80px;
  --radius: 6px;
  --shadow: 0 16px 40px rgba(8, 64, 112, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--navy {
  background: var(--navy-deep);
  color: var(--white);
}

.section--ice {
  background: var(--ice);
}

.section__en {
  margin: 0 0 8px;
  color: var(--orange);
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.section__en--light {
  color: #f0a070;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.section__head {
  margin-bottom: 48px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
}

.btn--orange:hover {
  background: var(--orange-hover);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.btn--facebook {
  background: #1877f2;
  color: var(--white);
}

.btn--facebook:hover {
  background: #0d65d9;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  border-bottom: 3px solid var(--orange);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
}

.header__logo {
  display: block;
  flex: 0 0 auto;
  width: 124px;
  height: 100%;
  padding: 10px 0;
  overflow: hidden;
}

.header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: 0.2s ease;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gnav__list {
  display: flex;
  gap: 22px;
  list-style: none;
}

.gnav__list a {
  position: relative;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.gnav__list a:hover::after,
.gnav__list a.is-active::after {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: var(--navy-deep) center / cover no-repeat;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 49, 86, 0.88) 0%, rgba(8, 64, 112, 0.62) 48%, rgba(8, 64, 112, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 49, 86, 0.15), rgba(0, 49, 86, 0.45));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 48px;
  padding: 72px 0;
}

.hero__en {
  margin: 0 0 16px;
  color: #ffb089;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__mountains {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 110px;
  background: url("../img/bg-mountain.svg") center bottom / 100% 100% no-repeat;
}

.about__grid,
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img,
.course-card__media img,
.voice-card__photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.about__media img {
  height: 460px;
  border: 4px solid var(--navy);
  box-shadow: 16px 16px 0 var(--orange);
}

.about__badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 16px 18px;
  background: var(--orange);
  color: var(--white);
}

.about__badge-en {
  font-family: Outfit, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.about__badge strong {
  font-size: 22px;
  line-height: 1.2;
}

.about__badge span:last-child {
  font-size: 13px;
}

.about__body p {
  margin: 0 0 16px;
}

.about__points {
  margin-top: 24px;
  list-style: none;
}

.about__points li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--orange);
}

.feature-grid,
.course-grid,
.voice-grid,
.flow-list {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 28px 24px 32px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 4px solid var(--orange);
}

.feature-card__num {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: Outfit, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card h3,
.course-card h3,
.voice-card h3,
.flow-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.feature-card p,
.course-card p,
.voice-card p,
.flow-item p {
  margin: 0;
  color: inherit;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.course-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.course-card:hover {
  transform: translateY(-6px);
}

.course-card__media img {
  height: 220px;
}

.course-card__body {
  padding: 24px 24px 28px;
}

.course-card__en {
  margin: 0 0 6px;
  color: var(--orange);
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.course-card__meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.course-card__meta div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.course-card__meta dt {
  color: var(--navy);
  font-weight: 700;
}

.course-card__meta dd {
  margin: 0;
}

.voice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.voice-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-left: 4px solid var(--orange);
}

.voice-card__photo {
  width: 84px;
  height: 84px;
  border: 2px solid var(--navy);
  object-fit: cover;
}

.voice-card__name {
  margin: 0 0 6px;
  font-weight: 800;
}

.voice-card__name span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.voice-card p:last-child {
  color: var(--muted);
}

.flow-list {
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  counter-reset: none;
}

.flow-item {
  position: relative;
  padding: 8px 8px 8px 0;
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.flow-item__num {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--navy);
  color: var(--white);
  font-family: Outfit, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.access__name {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.access__dl {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.access__dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}

.access__dl dt {
  color: var(--orange);
  font-weight: 800;
}

.access__dl dd {
  margin: 0;
}

.note {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}

.access__map {
  overflow: hidden;
  min-height: 360px;
  border: 4px solid var(--navy);
  box-shadow: 12px 12px 0 var(--orange);
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact__wrap {
  max-width: 1120px;
}

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

.contact-box__actions .btn {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  font-size: 16px;
  white-space: nowrap;
}

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

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form label span {
  color: var(--orange);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

.contact-form .btn {
  justify-self: start;
  border: 0;
}

.contact-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-form__thanks {
  margin: 0;
  padding: 14px 16px;
  background: var(--ice);
  border-left: 4px solid var(--orange);
  font-weight: 700;
}

.footer {
  padding: 48px 0 24px;
  background: var(--navy-deep);
  color: var(--white);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__logo img {
  width: auto;
  height: 86px;
  background: var(--white);
  padding: 8px;
}

.footer__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.footer__nav a:hover {
  color: #ffb089;
}

.footer__copy {
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

@media (max-width: 980px) {
  .header__cta {
    display: none;
  }

  .feature-grid,
  .course-grid,
  .voice-grid,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .flow-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .header__logo {
    width: 100px;
  }

  .header__logo img {
    width: 100%;
    height: 100%;
  }

  .header__toggle {
    display: block;
    z-index: 60;
  }

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

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

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

  .gnav {
    position: fixed;
    inset: 0 0 auto auto;
    display: none;
    width: min(320px, 86vw);
    height: 100dvh;
    padding: 88px 28px 32px;
    background: var(--white);
    box-shadow: -16px 0 40px rgba(8, 64, 112, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .header.is-open .gnav {
    display: flex;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .gnav__list {
    flex-direction: column;
    gap: 0;
  }

  .gnav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .header__cta {
    display: inline-flex;
    width: 100%;
  }

  .hero__content {
    padding: 56px 0 80px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .about__grid,
  .access__grid,
  .contact-form__row,
  .contact-box__actions,
  .feature-grid,
  .course-grid,
  .voice-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .about__media img {
    height: 280px;
    box-shadow: 10px 10px 0 var(--orange);
  }

  .about__badge {
    left: 8px;
    bottom: 12px;
  }

  .flow-item:not(:last-child)::after {
    display: none;
  }

  .access__map,
  .access__map iframe {
    min-height: 280px;
    height: 280px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
