/* ==================================================
   PC表示
================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ==================================================
   Hero
================================================== */
.hero {
  margin-top: 8px;
  padding: 8px 0 0;
  background: transparent;
  border: none;
}

.hero-carousel {
  position: relative;
  display: block;
}

/* スライド表示領域 */
.hero__viewport {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  padding: 10px 14% 18px;
  scroll-padding-inline: 14%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #8dcdf0 #e6f5fd;
  scrollbar-width: thin;
}

.hero__viewport::-webkit-scrollbar {
  height: 10px;
}

.hero__viewport::-webkit-scrollbar-track {
  background: #e6f5fd;
  border-radius: 999px;
}

.hero__viewport::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #65bde7, #8bdbff);
  border-radius: 999px;
}

/* 各スライド */
.hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.hero__slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* バナー本体 */
.hero__visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;

  background: #c9ebfb;
  border-radius: 28px;

  box-shadow: 0 18px 34px rgba(57, 127, 164, 0.18);
}

/* 画像 */
.hero__media {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img,
.hero__ph {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;

  object-fit: cover;
  filter: brightness(0.95) saturate(0.9);
}

/* キャプション */
.hero__panel {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 1;

  max-width: min(420px, calc(100% - 56px));
  padding: 16px 18px;

  background: rgba(10, 41, 58, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__target.hero__target--caption {
  margin: 0 !important;

  color: #fff !important;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800 !important;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

/* 左右の矢印 */
.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  padding: 0;

  color: #36788f;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(40, 110, 140, 0.15);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;

  box-shadow: 0 3px 10px rgba(37, 99, 122, 0.08);

  appearance: none;
  cursor: pointer;
  opacity: 0.58;
  transform: translateY(-50%);

  transition:
    opacity 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hero__nav--prev {
  left: 8px;
}

.hero__nav--next {
  right: 8px;
}

.hero__nav:hover {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 14px rgba(37, 99, 122, 0.14);
  opacity: 1;
}

.hero__nav--prev:hover {
  transform: translate(-2px, -50%);
}

.hero__nav--next:hover {
  transform: translate(2px, -50%);
}

.hero__nav:focus-visible {
  outline: 2px solid rgba(54, 120, 143, 0.4);
  outline-offset: 3px;
}

.hero__nav:disabled {
  cursor: default;
  opacity: 0.2;
}

/* スライド位置のドット */
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;

  padding: 6px 0 2px;
}

.hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;

  background: #d6d6d6;
  border: 0;
  border-radius: 50%;

  appearance: none;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.hero__dots button:hover {
  background: #9ccfe6;
  transform: scale(1.15);
}

.hero__dots button.is-active {
  background: #62bde7;
}

/* ==================================================
   news
================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 10px 0 6px;
  justify-items: center;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 486px;
  width: 100%;
  max-width: 348px;
  --news-card-width: 280px;
  padding: 26px 0 28px;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 255, 0.94) 100%);
  border: 1px solid rgba(83, 178, 233, 0.2);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.13);
}

.news-card__thumb {
  background: linear-gradient(180deg, rgba(232, 245, 255, 0.95) 0%, rgba(214, 237, 249, 0.88) 100%);
  width: var(--news-card-width);
  height: var(--news-card-width);
  border-radius: 16px;
  margin: 0 auto 14px;
  border: 1px solid rgba(83, 178, 233, 0.16);
}

.news-card__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.news-card__thumb-link {
  display: block;
  width: var(--news-card-width);
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 245, 255, 0.95) 0%, rgba(214, 237, 249, 0.88) 100%);
  border: 1px solid rgba(83, 178, 233, 0.16);
  box-shadow: 0 10px 22px rgba(70, 145, 188, 0.1);
}

.news-card__thumb-link:hover .news-card__thumb-img {
  transform: scale(1.08);
}

.news-card h3 {
  margin: 0 auto 10px;
  width: var(--news-card-width);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.news-card__title-link {
  color: #1d6288;
  text-decoration: none;
}

.news-card__title-link:hover {
  color: #2d87ba;
}

.news-card p {
  margin: 0 auto;
  width: calc(var(--news-card-width));
  color: #466474;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0;
}

/* ==================================================
   message
================================================== */
.message .copy > p {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  font-size: 28px;
  line-height: 2.05;
  text-align: center;
}

/* ==================================================
   features
================================================== */
.features-section {
  padding: 0 14px 32px;
  background: transparent;
  border: 0;
}

.features-section .lp-bar {
  margin: 0 -14px 22px;
}

/* 必要なページで使用する補助見出し */
.features-banner {
  width: fit-content;
  max-width: 95%;
  margin: 10px auto 24px;
  padding: 2px 4px 5px;

  color: #285565;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #f0b33b;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;

  box-shadow: none;
}

/* カード一覧 */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 0 8px;
}

/* 各カード */
.reason {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.92),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(243, 251, 255, 0.96) 100%
    );

  border: 1px solid rgba(83, 178, 233, 0.24);
  border-radius: 20px;

  box-shadow: 0 14px 30px rgba(70, 145, 188, 0.12);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reason:hover {
  box-shadow: 0 18px 38px rgba(70, 145, 188, 0.18);
  transform: translateY(-4px);
}

/* カード画像 */
.reason__icon {
  width: calc(100% - 24px);
  aspect-ratio: 16 / 10;
  margin: 12px 12px 0;
  overflow: hidden;

  background: #eaf7fc;
  border: 0;
  border-radius: 14px;
}

.reason__icon img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;

  transition: transform 0.45s ease;
}

.reason:hover .reason__icon img {
  transform: scale(1.035);
}

/* カード見出し */
.reason h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;

  min-height: 92px;
  margin: 0;
  padding: 20px 18px 22px;

  color: #285565;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  text-align: center;
}

/* 説明文がある場合 */
.reason p {
  margin: -8px 0 0;
  padding: 0 20px 24px;

  color: #536b76;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

/* セクション下部の締め文 */
.features-closing {
  margin: 34px auto 0;

  color: #285565;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

/* カード内を漂う淡い光 */
.features-section .reason {
  position: relative;
  isolation: isolate;
}

.features-section .reason::before {
  position: absolute;
  top: -30%;
  left: -25%;
  z-index: 0;

  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(151, 222, 248, 0.34) 0%,
    rgba(202, 239, 252, 0.18) 45%,
    transparent 72%
  );

  filter: blur(14px);
  content: "";
  pointer-events: none;

  animation: reason-soft-light 6s ease-in-out infinite alternate;
}

/* 内容を光より手前にする */
.features-section .reason__icon,
.features-section .reason h3,
.features-section .reason p {
  position: relative;
  z-index: 1;
}

@keyframes reason-soft-light {
  0% {
    opacity: 0.6;
    transform: translate(-8%, -5%) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translate(45%, 25%) scale(1.15);
  }

  100% {
    opacity: 0.7;
    transform: translate(80%, 65%) scale(0.95);
  }
}

.features-section .reason {
  animation: reason-soft-shadow 4s ease-in-out infinite alternate;
}

@keyframes reason-soft-shadow {
  from {
    box-shadow: 0 14px 30px rgba(70, 145, 188, 0.1);
  }

  to {
    box-shadow:
      0 18px 38px rgba(70, 145, 188, 0.17),
      0 0 24px rgba(130, 213, 245, 0.12);
  }
}
/* ==================================================
   classes
================================================== */
.classes-section {
  position: relative;
  overflow: hidden;
  padding: 38px 36px 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.95), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 251, 255, 0.94) 100%);
  border: 1px solid rgba(83, 178, 233, 0.18);
  box-shadow: 0 22px 42px rgba(70, 145, 188, 0.12);
}

.classes-section__lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.classes-section__lead p {
  margin: 0;
  color: #45697d;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
  font-weight: 600;
}

.class-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.class-link-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  text-decoration: none;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 255, 0.94) 100%);
  border: 1px solid rgba(83, 178, 233, 0.16);
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.class-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(83, 178, 233, 0.28);
  box-shadow: 0 22px 38px rgba(70, 145, 188, 0.16);
}

.class-link-card.blue {
  border-color: rgba(83, 178, 233, 0.38);
  box-shadow: 0 14px 30px rgba(83, 178, 233, 0.12);
}

.class-link-card.green {
  border-color: rgba(61, 164, 61, 0.34);
  box-shadow: 0 14px 30px rgba(61, 164, 61, 0.1);
}

.class-link-card.yellow {
  border-color: rgba(225, 191, 51, 0.42);
  box-shadow: 0 14px 30px rgba(225, 191, 51, 0.11);
}

.class-link-card.pink {
  border-color: rgba(217, 111, 179, 0.36);
  box-shadow: 0 14px 30px rgba(217, 111, 179, 0.11);
}

.class-link-card h3 {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 0 22px;
  border-radius: 10px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.35;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(70, 145, 188, 0.12);
}

.class-link-card.blue h3 {
  background: linear-gradient(135deg, #7ed0ff 0%, #53b2e9 50%, #318fca 100%);
}

.class-link-card.pink h3 {
  background: linear-gradient(135deg, #ed9ad0 0%, #d96fb3 52%, #bf5399 100%);
}

.class-link-card.green h3 {
  background: linear-gradient(135deg, #66cb63 0%, #3da43d 52%, #2f8731 100%);
}

.class-link-card.yellow h3 {
  background: linear-gradient(135deg, #ffe277 0%, #e1bf33 52%, #c79e15 100%);
  color: #3f3400;
}

.class-link-card__media {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(70, 145, 188, 0.1);
}

.class-link-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.class-link-card p {
  margin: 0;
  color: #345669;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.85;
  font-weight: 500;
}

/* ==================================================
   courses
================================================== */
.courses {
  position: relative;
  overflow: hidden;

  margin: 10px 0 22px;
  padding: 46px 54px 38px;

  color: #17384d;
  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.96),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #eef9ff 0%,
      #d9f0ff 48%,
      #c8e8fb 100%
    );

  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.14);
}

.courses__heading {
  margin: 0 0 30px;
  color: #1d6288;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
}

.courses__viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.courses__viewport::-webkit-scrollbar {
  display: none;
}

.course-card {
  display: block;
  flex: 0 0 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 456px;

  padding: 44px 48px;

  color: #17384d;
  text-decoration: none;

  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.92),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(243, 251, 255, 0.94) 100%
    );

  border: 1px solid rgba(83, 178, 233, 0.2);
  border-radius: 22px;

  box-shadow: 0 14px 30px rgba(70, 145, 188, 0.12);

  scroll-snap-align: start;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

a.course-card:hover {
  border-color: rgba(83, 178, 233, 0.38);
  box-shadow: 0 18px 38px rgba(70, 145, 188, 0.17);
}

/* クラス種別 */
.course-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  min-height: 30px;
  padding: 0 12px;

  color: #fff;
  background: #53b2e9;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.course-card__tag--blue {
  background: #53b2e9;
}

.course-card__tag--green {
  background: #3da43d;
}

.course-card__tag--yellow {
  color: #3f3400;
  background: #e1bf33;
}

.course-card__tag--pink {
  background: #d96fb3;
}

/* カード見出し */
.course-card h3 {
  margin: 30px 0 24px;

  color: #1d6288;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

/* カード本文 */
.course-card p {
  margin: 0;

  color: #345669;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 左右の矢印 */
.courses__nav {
  position: absolute;
  top: 50%;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  padding: 0;

  color: #36788f;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(40, 110, 140, 0.15);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;

  box-shadow: 0 3px 10px rgba(37, 99, 122, 0.08);

  appearance: none;
  cursor: pointer;
  opacity: 0.58;
  transform: translateY(-50%);

  transition:
    opacity 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.courses__nav--prev {
  left: 10px;
}

.courses__nav--next {
  right: 10px;
}

.courses__nav:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 14px rgba(37, 99, 122, 0.14);
  opacity: 1;
}

.courses__nav--prev:hover {
  transform: translate(-2px, -50%);
}

.courses__nav--next:hover {
  transform: translate(2px, -50%);
}

.courses__nav:focus-visible {
  outline: 2px solid rgba(54, 120, 143, 0.4);
  outline-offset: 3px;
}

.courses__nav:disabled {
  cursor: default;
  opacity: 0.2;
}

/* スライド位置 */
.courses__dots {
  display: flex;
  justify-content: center;
  gap: 8px;

  margin-top: 22px;
}

.courses__dots button {
  width: 10px;
  height: 10px;
  padding: 0;

  background: #b8d9ea;
  border: 0;
  border-radius: 50%;

  appearance: none;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.courses__dots button:hover {
  background: #8dc8e5;
  transform: scale(1.15);
}

.courses__dots button.is-active {
  background: #53b2e9;
}


/* ==================================================
   speakers
================================================== */
/* ----- index:  ----- */
/* ----- index: speakers ----- */
/* ----- index: speakers ----- */
.speakers__heading {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  color: #1d6288;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
}

.speakers {
  margin: 20px 0 28px;
  padding: 34px 30px 38px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.96), transparent 32%),
    linear-gradient(135deg, #eef9ff 0%, #d9f0ff 48%, #c8e8fb 100%);
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.14);
}

.speaker-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 255, 0.94) 100%);
  border: 1px solid rgba(83, 178, 233, 0.2);
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.13);
  color: #17384d;
}

.speaker-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 245, 255, 0.95) 0%, rgba(214, 237, 249, 0.88) 100%);
}

.speaker-card__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 40%;
  bottom: 0;
  height: 10px;
  background: #53b2e9;
}

.speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-card__body {
  padding-top: 14px;
}

.speaker-card h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 800;
  color: #1d6288;
}

.speaker-card p {
  margin: 0 0 4px;
  font-size: clamp(11px, 1.5vw, 14px);
  line-height: 1.45;
  font-weight: 700;
  color: #345669;
}

.speaker-card p:last-child {
  margin-bottom: 0;
}



/* ==================================================
   results
================================================== */
.results {
  padding: 24px 24px 26px;
  font-size: 12px;
  line-height: 1.85;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(233, 247, 255, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 255, 0.94) 100%);
  border: 1px solid rgba(83, 178, 233, 0.2);
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.13);
}

.results-section {
  background: transparent;
  border: none;
  padding: 0 14px 16px;
}

.results-section .lp-bar {
  margin: 0 -14px 14px;
}

.lp-bar.lp-bar--hero-title {
  font-size: 32px;
  line-height: 1.25;
  padding: 14px 20px;
}

.results-section .results {
  padding: 24px 24px 26px;
  font-size: 18px;
  line-height: 1.7;
}

/* 合格実績の桜バッジ */
.results__badge {
    position: relative;
    width: fit-content;
    margin: 0 auto 40px;
    padding: 16px 52px;
    color: #8f4358;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.08em;
    background:
        linear-gradient(135deg, #fff 0%, #fff5f7 50%, #ffe9ef 100%);
    border: 2px solid #e9a9ba;
    border-radius: 50px;
    box-shadow:
        0 8px 20px rgba(183, 92, 117, 0.15),
        inset 0 0 0 4px rgba(255, 255, 255, 0.75);
}

.results__badge span {
    display: block;
    margin-bottom: 2px;
    color: #b75c75;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

/* 左右の桜 */
.results__badge::before,
.results__badge::after {
    position: absolute;
    top: 50%;
    color: #e8a1b4;
    font-size: 27px;
    line-height: 1;
    content: "✿";
    transform: translateY(-50%);
}

.results__badge::before {
    left: 17px;
    transform: translateY(-50%) rotate(-15deg);
}

.results__badge::after {
    right: 17px;
    transform: translateY(-50%) rotate(15deg);
}

/* 小学校・幼稚園の横並び */
.results__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各実績ボックス */
.results__box {
    padding: 30px 34px;
    background: #fff;
    border: 1px solid #efc4cf;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(112, 63, 76, 0.09);
}

.results__title {
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #9f5066;
    font-size: 23px;
    text-align: center;
    border-bottom: 2px solid #f2ced7;
}

.results__title::before {
    margin-right: 8px;
    color: #e6a0b3;
    content: "✿";
}

.results__title::after {
    margin-left: 8px;
    color: #e6a0b3;
    content: "✿";
}

.results__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
}

.results__list li {
    position: relative;
    padding: 9px 0 9px 20px;
    line-height: 1.65;
    border-bottom: 1px dashed #efd9df;
}

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

.results__list li::before {
    position: absolute;
    top: 15px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #e5a1b3;
    border-radius: 50% 0 50% 50%;
    content: "";
    transform: rotate(-35deg);
}

/* 締めの文章を中央揃え */
.lp-section .results__closing {
  margin: 40px auto 30px;

  color: #e86f8d;
  background: linear-gradient(
    90deg,
    #f29aae 0%,
    #eb6f92 50%,
    #f2a46f 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  /* transform: rotate(-2deg); */
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}
/* ==================================================
   voice
================================================== */
.voice-slider {
  position: relative;

  margin: 18px 0 12px;
  padding: 48px 28px 42px;
  overflow: hidden;

  color: #17384d;
  text-align: center;

  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.96),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #eef9ff 0%,
      #d9f0ff 48%,
      #c8e8fb 100%
    );

  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(70, 145, 188, 0.14);
}

/* 左右ナビゲーション */
.voice-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;
  padding: 0;

  color: rgba(29, 98, 136, 0.72);
  background: rgba(255, 255, 255, 0.52);

  border: 1px solid rgba(83, 178, 233, 0.2);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;

  box-shadow:
    0 6px 18px rgba(45, 121, 160, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  cursor: pointer;
  opacity: 0.7;
  transform: translateY(-50%);

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.voice-slider__nav--prev {
  left: 18px;
}

.voice-slider__nav--next {
  right: 18px;
}

.voice-slider__nav:hover {
  color: #1d789f;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(83, 178, 233, 0.38);

  box-shadow:
    0 8px 22px rgba(45, 121, 160, 0.16),
    inset 0 1px 0 #fff;

  opacity: 1;
}

.voice-slider__nav--prev:hover {
  transform: translate(-2px, -50%);
}

.voice-slider__nav--next:hover {
  transform: translate(2px, -50%);
}

.voice-slider__nav:focus-visible {
  outline: 2px solid rgba(29, 120, 159, 0.32);
  outline-offset: 3px;
}

/* 見出し */
.voice-slider__heading {
  margin: 0 0 28px;

  color: #1d6288;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.2;
}


/* スライド表示領域 */
.voice-slider__viewport {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr);

  width: 100%;
  min-height: 248px;
}

/* 非表示のスライド */
.voice-slide {
  grid-area: 1 / 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  width: 100%;
  min-width: 0;
  min-height: 248px;
  box-sizing: border-box;
  padding: 34px 72px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0s linear 0.45s;
}

/* 表示中のスライド */
.voice-slide.is-active {
  z-index: 1;

  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0s linear 0s;
}

/* 本文 */
.voice-slide blockquote {
  position: relative;

  width: min(100%, 920px);
  box-sizing: border-box;
  margin: 0;
  padding: 0 48px;

  color: #345669;
  font-size: clamp(18px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;

  overflow-wrap: anywhere;
  word-break: normal;
}


/* 保護者名など */
.voice-slide cite {
  display: block;

  margin: 0;

  color: #5f7f92;
  font-size: clamp(15px, 1.35vw, 20px);
  font-style: normal;
  line-height: 1.5;
}


/* ドット */
.voice-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;

  margin-top: 18px;
}

.voice-slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;

  background: #b8d9ea;
  border: none;
  border-radius: 50%;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.voice-slider__dots button:hover {
  background: #8dc8e5;
  transform: scale(1.15);
}

.voice-slider__dots button.is-active {
  background: #53b2e9;
}


/* セクション全体 */
.voices-section {
  padding: 0 14px 14px;

  background: transparent;
  border: none;
}

.voices-section .lp-bar {
  margin: 0 -14px 12px;
}

.voices-section .notes {
  padding: 10px 0 18px;
}

/* ==================================================
   flow-card
================================================== */
/* ==================================================
   入塾の流れ：外側セクション
================================================== */

.flow-section {
  padding: 0 14px 14px;

  background: transparent;
  border: none;
}

/* lp-barを白い箱の外側いっぱいに表示 */
.flow-section > .lp-bar {
  margin: 0 -14px 12px;
}


/* ==================================================
   入塾の流れ：白い外枠
================================================== */

.flow-card {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;

  margin: 18px auto 0;
  padding: 34px 30px 28px;

  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.95),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(243, 251, 255, 0.94) 100%
    );

  border: 1px solid rgba(83, 178, 233, 0.18);
  border-radius: 30px;

  box-shadow: 0 22px 42px rgba(70, 145, 188, 0.12);
}


/* ==================================================
   装飾用の短いライン
================================================== */

.flow-rule {
  width: min(180px, 100%);
  height: 6px;

  margin: 14px auto 10px;

  background: linear-gradient(
    90deg,
    #5cb8e4 0%,
    #228cc0 100%
  );

  border-radius: 999px;
}


/* ==================================================
   ステップ一覧
================================================== */

.flow-list {
  position: relative;

  margin: 0;
  padding: 18px 0 0;

  list-style: none;
}

/* 縦方向のライン */
.flow-list::before {
  position: absolute;
  top: 20px;
  bottom: 14px;
  left: 128px;

  width: 20px;

  background: linear-gradient(
    180deg,
    rgba(196, 231, 248, 0.9),
    rgba(220, 241, 251, 0.6)
  );

  border-radius: 999px;

  content: "";
}


/* ==================================================
   各ステップ
================================================== */

.flow-item {
  display: grid;
  grid-template-columns: 108px 34px minmax(0, 1fr);
  align-items: start;
  column-gap: 18px;

  min-height: 220px;
  margin: 0;
}

/* 最後のステップ */
.flow-item.tight {
  min-height: 150px;
}


/* ==================================================
   STEP.01など
================================================== */

.flow-step {
  position: relative;

  margin-top: 4px;
  padding: 12px 8px;

  color: #0f4f73;
  background: linear-gradient(
    135deg,
    #bde8ff 0%,
    #7fd0f7 52%,
    #53b2e9 100%
  );

  border-radius: 12px;

  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-align: center;
}

/* STEPラベル右側の三角形 */
.flow-step::after {
  position: absolute;
  top: 50%;
  right: -10px;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #53b2e9;

  content: "";
  transform: translateY(-50%);
}


/* ==================================================
   丸と横方向の点線
================================================== */

.flow-dot {
  position: relative;
  height: 100%;
}

.flow-dot::before {
  position: absolute;
  top: 12px;
  left: 0;

  width: 10px;
  height: 10px;

  background: #228cc0;
  border-radius: 50%;

  box-shadow: 0 0 0 6px rgba(165, 224, 248, 0.38);

  content: "";
}

.flow-dot::after {
  position: absolute;
  top: 16px;
  left: 10px;

  width: 52px;

  border-top: 2px dotted rgba(83, 178, 233, 0.52);

  content: "";
}


/* ==================================================
   各ステップの白い内容枠
================================================== */

.flow-content {
  min-width: 0;
  box-sizing: border-box;

  padding: 20px 22px 18px;

  background:
    radial-gradient(
      circle at top left,
      rgba(233, 247, 255, 0.92),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(243, 251, 255, 0.94) 100%
    );

  border: 1px solid rgba(83, 178, 233, 0.16);
  border-radius: 22px;

  box-shadow: 0 14px 30px rgba(70, 145, 188, 0.08);
}

.flow-content h3 {
  margin: 0;

  color: #1d6288;
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.5;
}

.flow-content p {
  margin: 16px 0 0;

  color: #45697d;
  font-size: 1rem;
  line-height: 1.85;

  overflow-wrap: break-word;
}


/* ==================================================
   お問い合わせボタン
================================================== */



/* ==================================================
   learning
================================================== */
.learning {
  position: relative;
  margin: 18px 0 26px;
  padding: 28px 54px 26px;
}

.learning__heading {
  width: fit-content;
  margin: 0 auto 24px;
  color: #285565;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

.learning__heading::after {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #65c8e8, #3a91bc);
  content: "";
}

.learning__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;

  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(72, 181, 222, 0.42);
  border-radius: 18px;

  box-shadow:
    0 16px 40px rgba(54, 143, 176, 0.12),
    0 4px 12px rgba(54, 143, 176, 0.08);
}

.learning__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 48px;
}


/* パネル内の見出し */
.learning__body h3 {
  margin: 0 0 24px;
  color: #285565;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

/* 本文 */
.learning__body p {
  margin: 0 0 28px;
  color: #3f5963;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.035em;
}

/* 「心」だけ少し上品に見せる */
.learning__body p {
  text-align: justify;
}



.learning__visual {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-left: 1px solid rgba(72, 181, 222, 0.2);
}

.learning__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

/* 少しだけ高級感のある写真アニメーション */
.learning__panel:hover .learning__visual img {
  transform: scale(1.025);
}

/* ==================================================
   contact
================================================== */
.contact {
  padding: 70px 24px;
}

.contact__box {
  margin: 0 auto;
  padding: 36px 44px;

  text-align: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(72, 181, 222, 0.3);
  border-radius: 18px;

  box-shadow:
    0 14px 36px rgba(54, 143, 176, 0.1),
    0 3px 10px rgba(54, 143, 176, 0.06);
}

.contact__box h2 {
  margin: 0 0 24px;
  color: #285565;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* 電話・FAX */
.contact__box .phone,
.contact__box .fax,
.contact__box .email {
  margin: 8px 0;
  color: #237da9;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

/* 住所 */
.contact__box p:last-child {
  margin: 24px 0 0;
  padding-top: 20px;
  color: #647984;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(72, 181, 222, 0.2);
}

/* ========================================
   CTA共通デザイン
======================================== */

:is(
  .class-link-card__more,
  .speakers__cta a,
  .flow-button,
  .learning__cta
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  min-width: 190px;
  min-height: 48px;
  padding: 0 22px;

  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.38) 0%,
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #8be5ff 0%,
      #46c8ef 42%,
      #249ed6 72%,
      #1785ba 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;

  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;

  box-shadow:
    0 9px 18px rgba(35, 157, 211, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

/* 丸い矢印 */
:is(
  .class-link-card__more,
  .speakers__cta a,
  .flow-button,
  .learning__cta
)::after {
  content: "›";

  display: grid;
  flex-shrink: 0;
  place-items: center;

  width: 28px;
  height: 28px;
  margin-left: 14px;

  color: #228cc0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

/* ホバー */
.class-link-card:hover .class-link-card__more,
:is(
  .speakers__cta a,
  .flow-button,
  .learning__cta
):hover {
  filter: brightness(1.05);

  box-shadow:
    0 12px 24px rgba(35, 157, 211, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  transform: translateY(-2px);
}

/* 押したとき */
:is(
  .speakers__cta a,
  .flow-button,
  .learning__cta
):active {
  filter: brightness(0.98);
  transform: translateY(0);
}

/* キーボード操作 */
:is(
  .speakers__cta a,
  .flow-button,
  .learning__cta
):focus-visible {
  outline: 3px solid rgba(35, 157, 211, 0.35);
  outline-offset: 4px;
}

.class-link-card__more {
  align-self: flex-end;
  margin-top: auto;
}

.speakers__cta {
  margin-top: 30px;
  text-align: center;
}

.courses .speakers__cta {
  margin-top: 28px;
}

.flow-card .flow-button {
  display: flex;
  width: fit-content;
  min-width: 250px;

  margin-top: 32px;
  margin-right: auto;
  margin-left: auto;

  align-self: center;
}

.learning__cta {
  align-self: flex-start;
}
