:root {
  --header-height: 78px;
  --navy: #082f68;
  --deep: #021d40;
  --ink: #10213b;
  --paper: #fff3db;
  --paper-edge: #edd6ad;
  --red: #d93a22;
  --red-dark: #8f1f17;
  --gold: #b98a42;
  --line: rgba(11, 45, 90, 0.18);
  --shadow: 0 18px 42px rgba(0, 28, 60, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 10px clamp(24px, 4vw, 64px);
  color: #fff;
  background: linear-gradient(90deg, #001a38, #073366);
  box-shadow: 0 8px 28px rgba(0, 19, 45, 0.25);
}

.brand {
  display: inline-flex;
}

.brand-mark,
.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

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

.menu-button {
  display: none;
  width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 34px;
  height: 4px;
  margin: 5px auto;
  border-radius: 10px;
  background: currentColor;
}

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

h2 {
  margin-bottom: clamp(28px, 4vw, 42px);
  color: var(--navy);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.25;
  text-align: center;
}

.section-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(44px, 5vw, 72px) clamp(28px, 6vw, 86px);
}

.hero,
.paper-section,
.water-section,
.voices-section {
  min-height: calc(100svh - var(--header-height));
}

.hero {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 53, 95, 0.1) 62%, rgba(0, 39, 80, 0.4)),
    url("assets/hf_20260701_152607_87f29a32-de76-4b38-b0dc-1e7e8d20eea0.png") center / cover no-repeat;
}

.straw-hat {
  position: absolute;
  right: clamp(-22px, 3vw, 42px);
  bottom: clamp(0px, 3vw, 30px);
  width: 450px;
  height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(0, 25, 55, 0.24));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: clamp(36px, 5vw, 60px) 24px clamp(54px, 6vw, 76px);
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.14;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 span {
  margin-bottom: 8px;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 0.42em;
}

.hero h1 em {
  font-style: normal;
  line-height: 0.95;
}

.hero p {
  margin-bottom: 22px;
  color: #0b2444;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 400;
  line-height: 1.45;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 430px);
  min-height: 70px;
  padding: 14px 34px;
  border-radius: 10px;
  color: #fff;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.24), 0 12px 0 var(--red-dark),
    0 18px 30px rgba(67, 23, 14, 0.25);
}

.button-primary {
  border: 2px solid #7f1c13;
  background: linear-gradient(#ea4d2d, var(--red));
}

.paper-section {
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08)),
    url("assets/AZ8eILVlQO9nkZ4KgaNVhg-AZ8eIN_fQhi43GIg8cyfQA.png") center / cover repeat-y,
    var(--paper);
  border-top: 1px solid rgba(132, 86, 32, 0.22);
  border-bottom: 1px solid rgba(132, 86, 32, 0.22);
}

.section-icon {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
}

.anchor-icon {
  color: var(--navy);
  font-size: 70px;
  line-height: 1;
  text-align: center;
}

.copy-block {
  width: min(100%, 1020px);
  margin: 0 auto;
  text-align: center;
}

.copy-block p {
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 900;
  line-height: 1.9;
}

.struggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

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

.struggle-icon {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.struggle-grid p {
  margin-bottom: 0;
  color: #112542;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.55;
}

.struggle-grid p span {
  color: #d93a22;
  font-weight: 700;
}

.water-section {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  margin-top: -18px;
  padding: clamp(54px, 7vw, 86px) clamp(18px, 4vw, 44px);
  background:
    url("assets/water.png") center / cover no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(224, 247, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.water-section::before,
.water-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  background: radial-gradient(ellipse at 50% 100%, transparent 0 48%, rgba(83, 188, 224, 0.55) 49% 51%, transparent 52%);
  pointer-events: none;
}

.water-section::before {
  top: 0;
}

.water-section::after {
  bottom: 0;
  transform: rotate(180deg);
}

.water-panel {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 38px) clamp(18px, 3vw, 42px);
}

.feature-list,
.check-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: min(100%, 1280px);
}

.feature-list li {
  position: relative;
  padding: 52px 18px 16px;
  color: #122541;
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  border-bottom: 0;
}

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

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-family: system-ui, sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

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

.flow-icon {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  background: #fff8e8;
  font-size: 52px;
  font-weight: 900;
}

.flow-icon img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.flow-grid h3 {
  margin-bottom: 10px;
  color: #17233a;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 900;
  line-height: 1.25;
}

.flow-grid p {
  margin-bottom: 0;
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 400;
  line-height: 1.45;
}

.curriculum-layout {
  position: relative;
  display: block;
  min-height: 520px;
  padding-top: clamp(10px, 2vw, 30px);
  padding-right: 0;
}

.curriculum-layout > div:first-child {
  position: relative;
  z-index: 2;
  width: min(100%, 1220px);
  margin: 0 auto;
}

.curriculum-layout h2 {
  text-align: center;
}

.learn-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  width: min(100%, 1220px);
  margin: 0 auto;
}

.learn-card {
  min-height: 250px;
  padding: 22px 18px 20px;
  border: 2px solid rgba(8, 47, 104, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  box-shadow: 0 10px 22px rgba(18, 50, 86, 0.08);
}

.learn-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  object-fit: contain;
}

.learn-card h3 {
  margin-bottom: 12px;
  color: var(--deep);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.18;
}

.learn-card p {
  margin-bottom: 0;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 400;
  line-height: 1.35;
}

.learn-arrow {
  color: #1b75bb;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.treasure-art {
  position: absolute;
  top: clamp(160px, 18vw, 220px);
  right: -150px;
  z-index: 1;
  width: min(40vw, 475px);
  min-height: 380px;
  margin: 0 auto;
}

.map-art {
  width: min(100%, 420px);
  transform: rotate(2deg);
}

.compass-art {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(48%, 215px);
  filter: drop-shadow(0 12px 12px rgba(63, 39, 10, 0.16));
}

.voices-section {
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 100px) 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28)),
    url("assets/hf_20260605_160803_1ca01d00-93fb-4397-a624-475a1edd4e82.png") center / cover no-repeat;
}

.voice-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 54px) clamp(36px, 5vw, 64px);
  border: 2px solid rgba(8, 45, 98, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.testimonial-carousel {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0 58px 34px;
}

.learner-icons {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: -10px auto 18px;
}

.learner-icons img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(8, 45, 98, 0.12));
}

.rating-stars {
  margin-bottom: 20px;
  color: #f3b439;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(88, 54, 8, 0.16);
}

.voice-card p {
  margin-bottom: 20px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400 !important;
  line-height: 1.45;
}

.testimonial-meta {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400 !important;
  line-height: 1.35;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 47, 104, 0.78);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.carousel-dots .is-active {
  background: #fff;
}

.site-footer {
  padding: 48px 24px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 30, 65, 0.2), rgba(0, 13, 34, 0.82)),
    url("assets/hf_20260702_011629_c3201b0f-30a9-4339-aa2b-7994cb51a2e2.png") center / cover no-repeat;
  background-position:
    center,
    center calc(50% - 80px);
}

.footer-title {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 900;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 900;
}

.footer-nav a {
  text-decoration: none;
}

.social-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 4px auto 22px;
}

.social-nav a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition:
    transform 160ms ease;
}

.social-nav a:hover {
  transform: translateY(-2px);
}

.social-nav svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-nav a[aria-label="YouTube"] svg path {
  fill: currentColor;
  stroke: none;
}

.copyright {
  margin-bottom: 0;
  font-size: 13px;
  opacity: 0.86;
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 8px 18px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-weight: 400;
    background: #062b5e;
  }

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

  .site-nav a {
    padding: 14px 22px;
    font-weight: 400;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - var(--header-height));
  }

  .straw-hat {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 220px;
    height: 220px;
    margin: 18px auto 0;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 48px;
  }

  .hero .straw-hat {
    order: 3;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero p {
    font-size: 17px;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .button {
    min-width: 0;
    width: min(100%, 310px);
    min-height: 66px;
    padding: 12px 18px;
    font-size: 17px;
    white-space: normal;
  }

  .section-inner {
    padding: 46px 28px;
  }

  h2 {
    font-size: 34px;
  }

  .paper-section,
  .water-section,
  .voices-section {
    min-height: auto;
  }

  .copy-block p {
    text-align: left;
  }

  .struggle-grid {
    width: min(100%, 360px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .struggle-grid article {
    display: block;
    text-align: center;
  }

  .struggle-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
  }

  .struggle-grid p {
    font-size: 17px;
  }

  .water-section {
    padding: 42px 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12)),
      url("assets/mobile-water.png") center / cover no-repeat;
  }

  .water-panel {
    width: 100%;
    padding: 28px 6px;
  }

  .feature-list li {
    padding: 12px 8px 12px 42px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
  }

  .feature-list {
    width: min(100%, 335px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-list li::before {
    left: 8px;
    top: 12px;
    transform: none;
  }

  .voice-card p,
  .testimonial-meta {
    font-weight: 400 !important;
  }

  .voice-card p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.32;
  }

  .flow-grid {
    width: min(100%, 360px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-grid article {
    display: block;
    text-align: center;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .flow-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    font-size: 32px;
  }

  .flow-icon img {
    width: 52px;
    height: 52px;
  }

  .flow-grid h3,
  .flow-grid p {
    grid-column: auto;
  }

  .flow-grid h3 {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .flow-grid p {
    margin-top: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.28;
  }

  .curriculum-layout {
    min-height: 0;
    padding-top: 54px;
    padding-right: 28px;
  }

  .curriculum-layout > div:first-child {
    width: 100%;
  }

  .curriculum-layout h2 {
    text-align: center;
  }

  .learn-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 340px);
  }

  .learn-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .learn-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
  }

  .learn-card h3 {
    font-size: 18px;
  }

  .learn-card p {
    font-size: 15px;
    font-weight: 400;
  }

  .learn-arrow {
    display: none;
  }

  .treasure-art {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 320px);
    min-height: 260px;
    transform: none;
  }

  .map-art {
    width: 280px;
  }

  .compass-art {
    width: 110px;
  }

  .voice-card {
    padding: 24px 18px;
  }

  .testimonial-carousel {
    padding: 0 28px 28px;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .site-footer {
    padding: 64px 24px 58px;
    background-position:
      center,
      center;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 280px);
    margin: 0 auto 24px;
    font-weight: 400;
  }

  .footer-nav a {
    display: block;
    font-weight: 400;
    line-height: 1.35;
  }

  .social-nav {
    gap: 16px;
    margin-bottom: 26px;
  }
}
