:root {
  --green: #2f7c3b;
  --deep: #145c29;
  --dark: #163a23;
  --soft: #f3faef;
  --cream: #fffaf0;
  --orange: #f39800;
  --pink: #ed4379;
  --blue: #1379d1;
  --ink: #25332a;
  --muted: #657169;
  --white: #fff;
  --max: 1120px;
  --radius: 24px;
  --shadow: 0 14px 38px rgba(30, 91, 48, .12)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: #fff
}

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

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

.inner {
  width: min(calc(100% - 40px), var(--max));
  margin: auto
}

.narrow {
  max-width: 820px
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto
}

.sp-only {
  display: none
}

.first-view {
  background: linear-gradient(180deg, #fff9ec 0%, #fff 100%)
}

.first-view__image-wrap {
  width: min(100%, 1080px);
  margin: 0 auto
}

.first-view__image {
  width: 100%;
  height: auto
}

.first-view__cta {
  text-align: center;
  padding: 32px 20px 56px
}

.first-view__message {
  margin: 0 0 22px;
  font-size: clamp(1.35rem, 3.8vw, 2.15rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--dark)
}

.first-view__message strong {
  color: var(--pink);
  font-size: 1.12em
}

.cta-note {
  margin: 12px 0 0;
  font-size: .9rem;
  color: var(--muted)
}

.button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.35;
  transition: transform .2s, box-shadow .2s
}

.button:hover {
  transform: translateY(-2px)
}

.button span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  margin-top: 3px;
  opacity: .9
}

.button-primary {
  background: linear-gradient(135deg, #f6a400, #f47e16);
  color: #fff;
  box-shadow: 0 10px 24px rgba(244, 126, 22, .3)
}

.button-large {
  min-width: min(100%, 430px);
  font-size: 1.12rem
}

.button-light {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .13)
}

.section {
  padding: 88px 0
}

.section h1,
.section h2,
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.35;
  margin: 0 0 28px;
  color: var(--deep);
  letter-spacing: -.03em
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: .14em;
  font-size: .8rem
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted)
}

.section-soft {
  background: var(--soft)
}

.section-accent {
  background: linear-gradient(135deg, #fff5de, #f0faef)
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green)
}

.feature-card:nth-child(2) {
  border-color: var(--orange)
}

.feature-card:nth-child(3) {
  border-color: var(--pink)
}

.feature-card:nth-child(4) {
  border-color: var(--blue)
}

.feature-number {
  font-size: .8rem;
  font-weight: 900;
  color: var(--green)
}

.feature-card h3 {
  font-size: 1.22rem;
  line-height: 1.55;
  margin: 10px 0
}

.feature-card p {
  margin: 0;
  color: var(--muted)
}

.trial-band {
  text-align: center;
  background: linear-gradient(135deg, var(--green), var(--deep));
  color: #fff
}

.trial-band h2,
.trial-band .section-kicker {
  color: #fff
}

.trial-band__small {
  margin: 0 0 8px;
  font-weight: 900;
  color: #fff2a8
}

.lesson-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.lesson-flow>div {
  padding: 28px 22px;
  background: #fff;
  border-right: 1px solid #e2ece6
}

.lesson-flow>div:last-child {
  border-right: 0
}

.lesson-flow span {
  font-weight: 900;
  color: var(--green);
  font-size: .8rem
}

.lesson-flow strong {
  display: block;
  margin: 8px 0
}

.lesson-flow p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px
}

.event-grid figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.event-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover
}

.event-grid figcaption {
  padding: 15px 18px;
  font-weight: 900;
  text-align: center
}

.result-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 50px
}

.result-image {
  background: var(--soft);
  padding: 28px;
  border-radius: var(--radius)
}

.result-image img {
  width: 100%
}

details {
  background: #fff;
  border: 1px solid #d9e7de;
  border-radius: 14px;
  padding: 0 20px;
  margin: 12px 0
}

summary {
  cursor: pointer;
  font-weight: 900;
  padding: 18px 0
}

details p {
  margin: 0 0 18px;
  color: var(--muted)
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px
}

.area-card {
  border: 1px solid #d9e7de;
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 91, 48, .07)
}

.area-card h3 {
  margin-top: 0;
  color: var(--deep)
}

.area-card a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #edf3ef;
  color: var(--green);
  font-weight: 700
}

.area-card a:last-child {
  border-bottom: 0
}

.area-card a:hover {
  text-decoration: underline
}

.final-cta {
  text-align: center;
  padding: 90px 0;
  background: linear-gradient(135deg, #f26386, #ef8540);
  color: #fff
}

.final-cta h2,
.final-cta .section-kicker {
  color: #fff
}

.site-footer {
  background: #f1f4f2;
  padding: 38px 0 20px;
  border-top: 1px solid #dce6df
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 24px
}

.footer-brand-block>a:first-child img {
  width: 190px
}

.gakken-link img {
  width: 130px
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: .87rem;
  font-weight: 700;
  color: #40564a
}

.footer-links a:hover {
  color: var(--green)
}

.footer-copy {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d7e1da;
  color: #65766b;
  text-align: center
}

.mobile-cta {
  display: none
}

/* 2026-08 夏季休業期間中のお申込み案内 */
.summer-holiday-note {
  max-width: 620px;
  margin: 22px auto 0;
  padding: 16px 20px;
  border: 1px solid #f0c977;
  border-radius: 16px;
  background: #fffaf0;
  color: var(--ink);
  text-align: left;
  font-size: .9rem;
  line-height: 1.75;
}

.summer-holiday-note p {
  margin: 0;
}

.summer-holiday-note__title {
  margin-bottom: 6px !important;
  color: var(--deep);
  font-weight: 900;
}

.holiday-mini-note {
  margin: 12px 0 0;
  font-size: .85rem;
  color: #fff;
  opacity: .9;
}

@media(max-width:900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .lesson-flow {
    grid-template-columns: repeat(2, 1fr)
  }

  .lesson-flow>div:nth-child(2) {
    border-right: 0
  }

  .lesson-flow>div {
    border-bottom: 1px solid #e2ece6
  }

  .lesson-flow>div:nth-child(n+3) {
    border-bottom: 0
  }

  .result-grid {
    grid-template-columns: 1fr
  }

  .area-grid {
    grid-template-columns: 1fr 1fr
  }

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

  .footer-links {
    justify-content: flex-start
  }
}

@media(max-width:620px) {
  body {
    padding-bottom: 64px
  }

  .inner {
    width: min(calc(100% - 28px), var(--max))
  }

  .sp-only {
    display: block
  }

  .first-view__cta {
    padding: 25px 15px 42px
  }

  .first-view__message {
    font-size: 1.32rem
  }

  .button-large {
    min-width: 100%;
    font-size: 1rem
  }

  .section {
    padding: 64px 0
  }

  .section h1,
  .section h2,
  .final-cta h2 {
    font-size: 2rem
  }

  .feature-grid,
  .lesson-flow,
  .event-grid,
  .area-grid {
    grid-template-columns: 1fr
  }

  .lesson-flow>div {
    border-right: 0 !important;
    border-bottom: 1px solid #e2ece6 !important
  }

  .lesson-flow>div:last-child {
    border-bottom: 0 !important
  }

  .event-grid {
    gap: 16px
  }

  .result-grid {
    gap: 28px
  }

  .footer-brand-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px 18px
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .13)
  }

  .mobile-cta a {
    padding: 15px 8px;
    text-align: center;
    font-weight: 900;
    color: var(--deep)
  }

  .mobile-cta a:last-child {
    background: var(--orange);
    color: #fff
  }

  .summer-holiday-note {
    margin-top: 18px;
    padding: 14px 16px;
    font-size: .84rem;
  }
}


/* 2026-07-31 lesson and footer update */
.lesson-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf7 0%, #f7fcf2 100%)
}

.lesson-section::before,
.lesson-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55
}

.lesson-section::before {
  width: 260px;
  height: 260px;
  left: -120px;
  top: 70px;
  background: radial-gradient(circle, #ffe070 0 3px, transparent 4px);
  background-size: 22px 22px
}

.lesson-section::after {
  width: 220px;
  height: 220px;
  right: -95px;
  bottom: 25px;
  background: radial-gradient(circle, #9ddff5 0 3px, transparent 4px);
  background-size: 24px 24px
}

.lesson-section .inner {
  position: relative;
  z-index: 1
}

.lesson-target {
  width: max-content;
  margin: 0 auto 16px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #f5aa25;
  color: var(--deep);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(243, 152, 0, .14)
}

.lesson-target span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f5aa25;
  color: #fff;
  font-size: .72rem;
  vertical-align: 2px
}

.lesson-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none
}

.lesson-step {
  position: relative;
  min-height: 300px;
  padding: 28px 20px 25px !important;
  border: 3px solid transparent !important;
  border-radius: 26px;
  background: #fff !important;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 91, 48, .10);
  transition: transform .2s ease, box-shadow .2s ease
}

.lesson-step:hover {
  transform: translateY(-5px) rotate(-.3deg);
  box-shadow: 0 20px 36px rgba(30, 91, 48, .16)
}

.lesson-step:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -18px;
  top: 50%;
  z-index: 2;
  transform: translate(50%, -50%);
  font-size: 1.45rem;
  color: #f5aa25;
  text-shadow: 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff
}

.lesson-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 15px;
  border-radius: 50%;
  font-size: 2.35rem;
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .05)
}

.lesson-step span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff !important;
  font-size: .75rem !important;
  letter-spacing: .08em
}

.lesson-step strong {
  display: block;
  margin: 12px 0 9px !important;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--dark)
}

.lesson-step p {
  font-size: .9rem !important;
  line-height: 1.75;
  color: var(--muted) !important;
  margin: 0 !important
}

.lesson-step--pink {
  border-color: #f6a5bd !important
}

.lesson-step--pink .lesson-icon {
  background: #fff0f5
}

.lesson-step--pink span {
  background: #ed5f89
}

.lesson-step--blue {
  border-color: #94cff2 !important
}

.lesson-step--blue .lesson-icon {
  background: #ebf7ff
}

.lesson-step--blue span {
  background: #268fd0
}

.lesson-step--orange {
  border-color: #ffc66b !important
}

.lesson-step--orange .lesson-icon {
  background: #fff5df
}

.lesson-step--orange span {
  background: #f39800
}

.lesson-step--green {
  border-color: #92d29b !important
}

.lesson-step--green .lesson-icon {
  background: #eef9ef
}

.lesson-step--green span {
  background: #3e9a4b
}

.lesson-message {
  width: max-content;
  max-width: 100%;
  margin-top: 34px;
  padding: 12px 26px;
  border-radius: 18px;
  background: #fff;
  color: var(--deep);
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(30, 91, 48, .10)
}

.site-footer {
  background: #fff;
  padding: 42px 0 30px;
  border-top: 1px solid #e5eee8;
  text-align: center
}

.footer-inner {
  display: flex;
  flex-direction: column !important;
  justify-content: center;
  align-items: center !important;
  gap: 13px
}

.footer-bunri img {
  width: 215px
}

.gakken-link img {
  width: 132px
}

.footer-inner small {
  margin-top: 13px;
  color: #65766b;
  font-size: .76rem
}

.footer-links,
.footer-copy,
.footer-brand-block {
  display: none !important
}

@media(max-width:900px) {
  .lesson-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .lesson-step:not(:last-child)::after {
    display: none
  }

  .lesson-step {
    min-height: 275px
  }
}

@media(max-width:620px) {

  .lesson-section::before,
  .lesson-section::after {
    opacity: .35
  }

  .lesson-target {
    font-size: .98rem
  }

  .lesson-flow {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px
  }

  .lesson-step {
    min-height: 0;
    padding: 22px 20px 23px !important;
    border-bottom-width: 3px !important
  }

  .lesson-icon {
    width: 68px;
    height: 68px;
    font-size: 2rem;
    margin-bottom: 12px
  }

  .lesson-message {
    width: 100%;
    font-size: .94rem;
    line-height: 1.65;
    padding: 12px 16px
  }

  .site-footer {
    padding: 34px 0 24px
  }

  .footer-bunri img {
    width: 185px
  }

  .gakken-link img {
    width: 120px
  }
}


/* 2026-07-31 v3 target and annual events update */
.first-view__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px auto 0
}

.first-view__meta p {
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dcebdd;
  color: var(--deep);
  font-size: .9rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(30, 91, 48, .07)
}

.events-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff8e7 0%, #fff 42%, #f3fbf0 100%)
}

.events-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#f8cf4b 2px, transparent 2px), radial-gradient(#8fd9f3 2px, transparent 2px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: .16;
  pointer-events: none
}

.events-section .inner {
  position: relative;
  z-index: 1
}

.event-photo-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr 1.15fr;
  grid-template-rows: 1fr;
  gap: 18px;
  margin-top: 42px
}

.event-photo {
  position: relative;
  margin: 0;
  min-height: 300px;
  border: 6px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(41, 81, 49, .16);
  background: #fff
}

.event-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover
}

.event-photo--tall img {
  object-position: center 22%
}

.event-photo:nth-child(2) img {
  object-position: center 42%
}

.event-photo:nth-child(3) img {
  object-position: center 42%
}

.event-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  text-align: center;
  color: var(--deep);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12)
}

.event-photo figcaption span {
  font-size: .8rem;
  color: var(--muted)
}

.annual-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px
}

.event-month {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 2px solid #dcebdd;
  box-shadow: 0 10px 26px rgba(30, 91, 48, .08)
}

.month-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  border-radius: 20px;
  color: #fff;
  line-height: 1;
  background: var(--green)
}

.month-badge strong {
  font-size: 2rem
}

.month-badge span {
  margin-top: 7px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em
}

.event-month h3 {
  margin: 2px 0 9px;
  color: var(--deep);
  font-size: 1.16rem
}

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

.event-month li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-top: 1px dashed #dfe9e2;
  line-height: 1.45
}

.event-month li:first-child {
  border-top: 0
}

.event-month li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 9px;
  color: #f6aa25;
  font-size: .75rem
}

.event-month li b {
  display: block;
  font-size: .94rem;
  color: var(--ink)
}

.event-month li span {
  display: block;
  font-size: .78rem;
  color: var(--muted)
}

.event-month--spring {
  border-color: #f4a8bf
}

.event-month--spring .month-badge {
  background: #ed6b94
}

.event-month--summer {
  border-color: #8ed8ef
}

.event-month--summer .month-badge {
  background: #258fc4
}

.event-month--autumn {
  border-color: #ffc36d
}

.event-month--autumn .month-badge {
  background: #f39800
}

.event-month--winter {
  border-color: #9fc7e9
}

.event-month--winter .month-badge {
  background: #527fb3
}

@media(max-width:900px) {
  .event-photo-grid {
    grid-template-columns: 1fr 1fr
  }

  .event-photo--tall {
    grid-row: span 2
  }

  .event-photo {
    min-height: 260px
  }

  .event-photo img {
    min-height: 260px
  }
}

@media(max-width:620px) {
  .first-view__meta {
    display: grid;
    gap: 7px
  }

  .first-view__meta p {
    font-size: .82rem;
    padding: 7px 11px
  }

  .event-photo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px
  }

  .event-photo--tall {
    grid-row: auto
  }

  .event-photo {
    min-height: 0;
    border-width: 4px;
    border-radius: 22px
  }

  .event-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3
  }

  .event-photo--tall img {
    aspect-ratio: 3/4;
    object-position: center 15%
  }

  .annual-events {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 32px
  }

  .event-month {
    grid-template-columns: 68px 1fr;
    gap: 13px;
    padding: 15px;
    border-radius: 18px
  }

  .month-badge {
    min-height: 70px;
    border-radius: 16px
  }

  .month-badge strong {
    font-size: 1.65rem
  }

  .event-month h3 {
    font-size: 1.05rem
  }

  .event-month li b {
    font-size: .88rem
  }
}

/* 2026-07-31 v4 compact event highlights */
.event-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px auto 0;
  max-width: 1000px
}

.event-highlight {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(41, 81, 49, .12);
  border: 3px solid #e5eee8;
  transition: transform .2s ease, box-shadow .2s ease
}

.event-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(41, 81, 49, .17)
}

.event-highlight__photo {
  padding: 10px 10px 0
}

.event-highlight__photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 17px
}

.event-highlight--summer .event-highlight__photo img {
  object-position: center 45%
}

.event-highlight--recitation .event-highlight__photo img {
  object-position: center 48%
}

.event-highlight--halloween .event-highlight__photo img {
  object-position: center 42%
}

.event-highlight__body {
  position: relative;
  padding: 22px 20px 24px;
  text-align: center
}

.event-highlight__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -48px auto 10px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff5d8;
  font-size: 1.65rem;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .10)
}

.event-highlight h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 1.15rem;
  line-height: 1.45
}

.event-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7
}

.event-highlight--summer {
  border-color: #ffd67f
}

.event-highlight--summer .event-highlight__icon {
  background: #fff1bf
}

.event-highlight--recitation {
  border-color: #9ed8f0
}

.event-highlight--recitation .event-highlight__icon {
  background: #eaf8ff
}

.event-highlight--halloween {
  border-color: #f4a0c4
}

.event-highlight--halloween .event-highlight__icon {
  background: #fff0f7
}

.event-photo-grid {
  display: none !important
}

@media(max-width:800px) {
  .event-highlight-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .event-highlight:last-child {
    grid-column: 1/-1;
    max-width: 490px;
    width: 100%;
    justify-self: center
  }
}

@media(max-width:620px) {
  .event-highlight-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px
  }

  .event-highlight:last-child {
    grid-column: auto;
    max-width: none
  }

  .event-highlight__photo img {
    height: auto;
    aspect-ratio: 16/10
  }

  .event-highlight__body {
    padding: 20px 18px 22px
  }

  .event-highlight__icon {
    width: 48px;
    height: 48px;
    margin-top: -44px;
    font-size: 1.5rem
  }

  .event-highlight h3 {
    font-size: 1.08rem
  }

  .event-highlight p {
    font-size: .86rem
  }
}


/* 2026-07-31 v5 CTA, EIKEN results and non-clickable footer logos */
.button-large {
  min-width: min(100%, 470px);
  font-size: 1.32rem;
  padding: 16px 38px;
  min-height: 68px
}

.button-large span {
  font-size: .76rem;
  margin-top: 4px
}

.result-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff4f8 0%, #eef9ff 100%);
  border: 3px solid #fff;
  box-shadow: 0 16px 38px rgba(30, 91, 48, .12);
  text-align: center
}

.result-panel::before,
.result-panel::after {
  content: "★";
  position: absolute;
  color: #f6bf27;
  opacity: .75;
  font-size: 2rem;
  transform: rotate(12deg)
}

.result-panel::before {
  left: 22px;
  top: 18px
}

.result-panel::after {
  right: 22px;
  bottom: 16px;
  color: #74b7e5;
  transform: rotate(-14deg)
}

.result-year {
  margin: 0;
  color: var(--pink);
  font-weight: 900;
  font-size: 1rem
}

.result-total-label {
  margin: 5px 0 0;
  color: var(--deep);
  font-weight: 900;
  font-size: 1.3rem
}

.result-total {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin: 4px 0 22px;
  color: #1593cf;
  line-height: 1
}

.result-total strong {
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  letter-spacing: -.04em
}

.result-total span {
  padding-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 900
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left
}

.result-list>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(32, 139, 190, .16)
}

.result-list span {
  font-weight: 800;
  color: var(--ink)
}

.result-list strong {
  white-space: nowrap;
  color: #168fc7;
  font-size: 1.05rem
}

.result-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .78rem
}

.footer-bunri,
.gakken-link {
  display: block;
  cursor: default
}

@media(max-width:620px) {
  .button-large {
    font-size: 1.16rem;
    min-height: 64px;
    padding: 15px 20px
  }

  .button-large span {
    font-size: .72rem
  }

  .result-panel {
    padding: 26px 18px
  }

  .result-list {
    grid-template-columns: 1fr
  }

  .result-total {
    margin-bottom: 18px
  }
}


/* 2026-07-31 CTA motion and school grouping update v3 */
@keyframes cta-poyopoyo {

  0%,
  72%,
  100% {
    transform: translateY(0) scale(1, 1);
  }

  77% {
    transform: translateY(-5px) scale(1.018, .985);
  }

  81% {
    transform: translateY(1px) scale(.992, 1.012);
  }

  85% {
    transform: translateY(-2px) scale(1.01, .994);
  }

  90% {
    transform: translateY(0) scale(1, 1);
  }
}

.button-large {
  animation: cta-poyopoyo 5.8s cubic-bezier(.36, .07, .19, .97) infinite;
  will-change: transform
}

.button-large:hover {
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(244, 126, 22, .34)
}

.button-light.button-large:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, .20)
}

.prefecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px
}

.prefecture-card {
  border: 1px solid #d9e7de;
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 91, 48, .07)
}

.prefecture-card--yamanashi {
  border-top: 6px solid #58a66b
}

.prefecture-card--shizuoka {
  border-top: 6px solid #58a9d8
}

.prefecture-heading {
  display: flex;
  align-items: center;
  margin-bottom: 20px
}

.prefecture-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em
}

.prefecture-heading h3 {
  margin: 1px 0 0;
  color: var(--deep);
  font-size: 1.5rem
}

.prefecture-card--shizuoka .prefecture-heading h3 {
  color: #17699f
}

.school-list--vertical {
  display: block;
  border-top: 1px solid #edf3ef
}

.school-list--vertical .school-name {
  display: block;
  padding: 11px 4px;
  border-bottom: 1px solid #edf3ef;
  color: var(--deep);
  font-weight: 800
}

.prefecture-card--shizuoka .school-list--vertical .school-name {
  color: #17699f
}

.mobile-cta {
  grid-template-columns: 1fr !important
}

.mobile-cta a {
  background: var(--orange) !important;
  color: #fff !important;
  font-size: 1rem;
  letter-spacing: .02em
}

@media(max-width:780px) {
  .prefecture-grid {
    grid-template-columns: 1fr
  }

  .prefecture-card {
    padding: 24px
  }
}

@media(prefers-reduced-motion:reduce) {
  .button-large {
    animation: none !important;
    transition: none
  }

  .button-large:hover {
    transform: none
  }
}

/* 2026-07-31 v9: new hero image and CTA motion refinement */
/* Keep in-page CTA buttons calm; only the mobile sticky CTA moves. */
.button-large {
  animation: none !important;
  will-change: auto
}

.button-large:hover {
  animation: none;
  transform: translateY(-3px)
}

@keyframes sticky-cta-poyopoyo {

  0%,
  76%,
  100% {
    transform: translateY(0) scale(1, 1)
  }

  80% {
    transform: translateY(-4px) scale(1.012, .988)
  }

  84% {
    transform: translateY(1px) scale(.994, 1.008)
  }

  88% {
    transform: translateY(-2px) scale(1.006, .996)
  }

  92% {
    transform: translateY(0) scale(1, 1)
  }
}

@media(max-width:620px) {
  .mobile-cta {
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, .14);
  }

  .mobile-cta a {
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    gap: 6px;
    min-height: 58px;
    padding: 9px 12px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #f6a400, #f47e16) !important;
    box-shadow: 0 9px 20px rgba(244, 126, 22, .34), inset 0 1px 0 rgba(255, 255, 255, .32);
    animation: sticky-cta-poyopoyo 6.2s cubic-bezier(.36, .07, .19, .97) infinite;
    will-change: transform;
  }

  .mobile-cta__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: 1rem;
  }

  .mobile-cta__label {
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center
  }

  .mobile-cta__arrow {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    transform: translateY(-1px)
  }
}

@media(prefers-reduced-motion:reduce) {
  .mobile-cta a {
    animation: none !important
  }
}

/* 2026-07-31 v10 final polish: compact events and EIKEN results */
.event-highlight__photo {
  padding: 16px 16px 0;
  display: flex;
  justify-content: center
}

.event-highlight__photo img {
  width: 78%;
  height: 132px;
  border-radius: 15px
}

.event-highlight__body {
  padding-top: 20px
}

.result-intro {
  text-align: center
}

.result-intro>p:last-child {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto
}

.result-panel {
  padding: 36px 34px
}

.result-year {
  font-size: 1.08rem;
  color: var(--deep)
}

.result-total {
  align-items: baseline;
  margin: 8px 0 24px;
  gap: 8px
}

.result-total strong {
  font-size: clamp(3.6rem, 7vw, 5.4rem)
}

.result-total span {
  padding-bottom: 0;
  color: var(--pink);
  font-size: 1.35rem
}

.result-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 390px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(32, 139, 190, .16);
  border-radius: 18px;
  overflow: hidden
}

.result-list>div {
  display: grid;
  grid-template-columns: 145px 82px;
  justify-content: center;
  align-items: center;
  column-gap: 22px;
  padding: 11px 18px;
  border: 0;
  border-bottom: 1px solid rgba(32, 139, 190, .13);
  border-radius: 0;
  background: transparent
}

.result-list>div:last-child {
  border-bottom: 0
}

.result-list span {
  font-weight: 800
}

.result-list strong {
  text-align: right;
  font-size: 1.08rem
}

@media(max-width:620px) {
  .event-highlight__photo {
    padding: 14px 14px 0
  }

  .event-highlight__photo img {
    width: 74%;
    height: auto;
    aspect-ratio: 16/10
  }

  .result-panel {
    padding: 28px 16px
  }

  .result-total {
    display: block;
    margin: 8px 0 20px
  }

  .result-total strong {
    display: block
  }

  .result-total span {
    display: block;
    margin-top: 6px;
    font-size: 1.2rem
  }

  .result-list {
    max-width: 310px
  }

  .result-list>div {
    grid-template-columns: 128px 72px;
    column-gap: 14px;
    padding: 10px 12px
  }
}


/* 2026-07-31 Ver1.0 final mobile result wrapping and CTA metadata polish */
.result-total strong {
  white-space: nowrap
}

.first-view__meta p {
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 999px;
  background: #f4fbf4;
  border-color: #cfe5d2
}

@media(max-width:620px) {
  .result-total {
    display: block
  }

  .result-total strong {
    display: block;
    white-space: nowrap
  }

  .result-total span {
    display: block;
    margin-top: 6px
  }

  .first-view__meta {
    padding: 0 6px
  }

  .first-view__meta p {
    padding: 8px 15px
  }
}