:root {
  --ink: #101d2f;
  --muted: #5c6676;
  --line: #d7e3ef;
  --paper: #fbfcfb;
  --field: #eaf2fb;
  --green: #155aa8;
  --green-dark: #0b2d5c;
  --blue: #11427d;
  --yellow: #f0bd2f;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(16, 29, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 252, 251, 0.96);
  box-shadow: 0 10px 28px rgba(20, 33, 29, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 11px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-button span {
  position: absolute;
  left: 11px;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: opacity 160ms ease, transform 160ms ease, top 160ms ease;
}

.menu-button span:nth-child(1) {
  top: 14px;
}

.menu-button span:nth-child(2) {
  top: 21px;
}

.menu-button span:nth-child(3) {
  top: 28px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/top-image.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 19, 14, 0.86) 0%, rgba(5, 19, 14, 0.58) 44%, rgba(5, 19, 14, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 19, 14, 0.84) 0%, rgba(5, 19, 14, 0) 44%);
}

.hero-content {
  position: relative;
  width: min(880px, calc(100% - 40px));
  padding: 150px 0 clamp(78px, 13vh, 132px);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(50px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.quote-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.button-outline {
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.section,
.section-band {
  padding: clamp(70px, 10vw, 128px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-band {
  background: var(--green-dark);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.intro-grid p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.profile-layout,
.schedule-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.portrait-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-copy p,
.section-heading p,
.lesson-card p,
.link-card p {
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.section-tint {
  background: var(--field);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

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

.lesson-card,
.link-card {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(20, 33, 29, 0.07);
}

.lesson-number,
.link-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.schedule-hero {
  margin-bottom: clamp(34px, 6vw, 64px);
}

.schedule-hero h2 {
  display: grid;
  gap: 2px;
  margin-bottom: 28px;
}

.schedule-hero h2 span {
  display: block;
}

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

.featured-schedules article {
  min-width: 0;
  padding: clamp(26px, 5vw, 48px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 106, 60, 0.94), rgba(29, 81, 108, 0.92)),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1200&q=80") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-schedules time,
.featured-schedules strong {
  display: block;
}

.featured-schedules time {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.featured-schedules strong {
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1;
}

.schedule-contact {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.schedule-contact a {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.schedule-contact span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.schedule-copy {
  max-width: 820px;
}

.quote-band {
  padding: clamp(54px, 8vw, 86px) 0;
  background: var(--blue);
  color: var(--white);
}

.quote-layout {
  justify-content: space-between;
  gap: 28px;
}

blockquote {
  max-width: 760px;
  margin: 0;
  font-size: clamp(23px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.contact-layout {
  align-items: start;
}

.contact-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel .check-list {
  margin-top: 18px;
}

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

.contact-mail {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-mail a {
  color: var(--green);
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.link-card {
  display: block;
  min-height: 220px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-3px);
}

.link-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.45;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.75);
  background: var(--green-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 840px) {
  .site-header {
    padding: 12px 20px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 19, 14, 0.84), rgba(5, 19, 14, 0.38)),
      linear-gradient(0deg, rgba(5, 19, 14, 0.88), rgba(5, 19, 14, 0.14));
  }

  .intro-grid,
  .profile-layout,
  .schedule-layout,
  .contact-layout,
  .lesson-grid,
  .link-grid,
  .featured-schedules {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .hero-content {
    width: min(100% - 32px, 880px);
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(44px, 17vw, 68px);
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .footer-inner {
    flex-direction: column;
  }
}
