@charset "UTF-8";

/* =========================
共通
========================= */

:root {
  --green: #0e7331;
  --lightgreen: #4cac62;
  --yellow: #f0c51f;
  --orange: #e69c15;
  --black: #000;
  --white: #fff;
  --font-sm: clamp(0.75rem, 0.659rem + 0.39vw, 1.125rem); /* SP14px〜PC18px*/
  --font-md: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem); /* SP15px〜PC20px */
  --font-lg: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem); /* SP18px〜PC25px */
  --font-xl: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem); /* SP22px〜PC30px */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  @media only screen and (max-width: 768px) {
    scroll-padding-top: 55px;
  }
}

body {
  font-size: var(--font-md);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: all ease 0.3s;
}
a:hover {
  opacity: 0.9;
}

li {
  list-style: none;
}

.title-head {
  text-align: center;
  margin-bottom: clamp(30px, 4.17vw, 80px);
}
.sub-title {
  font-size: var(--font-md);
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--black);
}

main {
  overflow: hidden;
}

.inner {
  max-width: 1000px;
  width: 80%;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: var(--white);
  @media only screen and (max-width: 999px) {
    max-width: 90%;
  }
  @media only screen and (max-width: 499px) {
    max-width: 100%;
    width: 90%;
    padding: 0 1rem;
  }
}

.title-image {
  max-width: clamp(250px, 58.3vw, 700px);
  width: 100%;
  margin: 0 auto;
}

.pc-only {
  display: block;
  @media only screen and (max-width: 768px) {
    display: none;
  }
}

.sp-only {
  display: none;
  @media only screen and (max-width: 768px) {
    display: block;
  }
}
/* =========================
ヘッダー
========================= */

.site-header {
  background: var(--yellow);
  height: 100px;
  display: flex;
  position: relative;
  z-index: 1100;
  @media only screen and (max-width: 768px) {
    height: 65px;
  }
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: header-slide-down 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1200;
}

@keyframes header-slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.site-header-inner {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.site-logo {
  display: inline-block;
  img {
    width: clamp(150px, 23.75vw, 600px);
    height: 190px;
    @media only screen and (max-width: 767px) {
      height: auto;
    }
  }
}

.site-nav {
  @media only screen and (max-width: 1099px) {
    display: none;
  }
}

.site-nav-list {
  display: flex;
  justify-content: flex-end;
  gap: clamp(10px, 1.67vw, 40px);
}
.site-nav-link {
  position: relative;
  display: inline-block;
  padding: 0.25em 0;
  transition: color 0.3s ease;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--green);
  transition: width 0.3s ease;
}

.site-nav-link:hover {
  color: var(--green);
}

.site-nav-link:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  appearance: none;
  border: 0;
  background: transparent;
  position: absolute;
  right: clamp(12px, 3.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(28px, 6.5vw, 36px);
  height: clamp(24px, 5.6vw, 30px);
  display: none; /* PCでは非表示 */
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  position: absolute;
  left: 0;
  right: 0;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger-bar:nth-child(1) {
  top: 0;
}
.hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-bar:nth-child(3) {
  bottom: 0;
}

/* 開いたときの×アニメ */
.hamburger.is-active .hamburger-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger-bar:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 1099px) {
  .hamburger {
    display: block;
  }
}

.sp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  background: var(--yellow);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  padding: clamp(12px, 3vw, 24px) clamp(16px, 4vw, 28px) clamp(24px, 6vw, 40px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.sp-nav.is-open {
  transform: translateY(0);
}

.sp-nav-list {
  list-style: none;
  margin: 0;
  padding-top: 75px;
  display: grid;
  gap: clamp(12px, 3.5vw, 18px);
}

.sp-nav-list a {
  display: block;
  font-size: var(--font-md);
  font-weight: bold;
  padding: clamp(12px, 3vw, 16px) 0;
  text-decoration: none;
  color: var(--green);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.html-lock,
.body-lock {
  overflow: hidden;
}

.hero {
  position: relative;

  & .hero-badge {
    & img {
      width: clamp(120px, 20vw, 360px);
      height: auto;
      position: absolute;
      top: 4%;
      right: 10%;
      bottom: 0;
      margin: auto 0;
      z-index: 99;
      @media only screen and (max-width: 768px) {
        top: 10%;
      }
    }
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(80 / 1200 * 100vw);
  max-width: 100px; /* 上限値 */
  min-width: 40px; /* 下限値 */
  background-image: url("../images/fv-side.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none; /* クリック妨げ防止 */
  z-index: 20;
}

.hero::before {
  left: 0;
}
.hero::after {
  right: 0;
}

.hero-clip {
  background-color: rgba(255, 255, 255, 0.5);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
  padding-top: clamp(80px, 13.3vw, 240px);
  padding-bottom: 2rem;
  font-size: clamp(18px, 2.08vw, 36px);
  line-height: 2;
  color: var(--green);
  z-index: 10;

  @media only screen and (max-width: 768px) {
    padding-top: 8rem;
    padding-bottom: 1rem;
  }

  span {
    font-size: calc(20 / 1200 * 100vw);
  }
}

.hero-catch {
  font-size: clamp(12px, 2.08vw, 40px);

  span {
    font-size: clamp(12px, 1.67vw, 32px);
  }

  @media only screen and (max-width: 768px) {
    max-width: 70%;
    margin: 0 auto;
    text-align: left;
    padding-left: 1em;
  }
}

/* ==== FVスライドショー ==== */

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  z-index: 1;
  @media only screen and (max-width: 768px) {
    width: 100%;
    height: 500px;
  }
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade-fv 16s infinite;
  animation-timing-function: ease-in-out;
}

.hero-media img:nth-child(1) {
  animation-delay: 0s;
}
.hero-media img:nth-child(2) {
  animation-delay: 4s;
}
.hero-media img:nth-child(3) {
  animation-delay: 8s;
}
.hero-media img:nth-child(4) {
  animation-delay: 12s;
}

@keyframes fade-fv {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  29% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =========================
NEWSセクション
========================= */

.news {
  padding-block: clamp(60px, 8.33vw, 150px);
  color: var(--black);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--green);
}
.news-item:last-child {
  border-bottom: 1px solid var(--green);
}

/* 日付 */
.news-date {
  font-size: var(--font-md);
  font-weight: bold;
  white-space: nowrap;
}

/* ラベル */
.news-label {
  font-size: var(--font-sm);
  display: inline-block;
  padding: 12px 40px;
  background: var(--green);
  color: #fff;
  white-space: nowrap;
}

/* 本文 */
.news-text {
  font-size: var(--font-md);
  font-weight: normal;
  color: var(--black);
  flex: 1;
}

.news-space {
  height: 150px;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  padding: 2%;
  @media only screen and (max-width: 499px) {
    height: 100px;
  }
}

/* ===== 一覧ボタン ===== */
.news-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 4.17vw, 80px);
}

.news-more-btn {
  font-size: var(--font-lg);
  display: inline-block;
  min-width: 500px;
  padding: 20px 40px;
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  transition: all ease 0.3s;
}
.news-more-btn:hover {
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green);
}

/* レスボンシブ */
@media (max-width: 767px) {
  .news-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    row-gap: 8px;
    column-gap: 0;
    align-items: center;
    padding: 20px 0;
  }
  .news-date {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }
  .news-label {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    width: 45%;
    margin: 0 auto;
    padding: 6px 24px;
  }
  .news-text {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .news-more-btn {
    min-width: 300px;
    padding: 12px 24px;
  }
}
@media only screen and (max-width: 499px) {
  .news-item {
    grid-template-columns: 120px 1fr;
    row-gap: 0;
    column-gap: 16px;
  }
  .news-label {
    width: 80%;
  }
}
@media only screen and (max-width: 399px) {
  .news-item {
    grid-template-columns: 100px 1fr;
  }
  .news-label {
    width: 100%;
  }
}

/* =========================
アバウトセクション
========================= */

#about {
  padding-block: 100px;
  background: var(--yellow);
}

.about-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: content-box;
}

.about-lead {
  text-align: center;
  margin-bottom: 90px;
  @media only screen and (max-width: 499px) {
    margin-bottom: 50px;
  }
}

.about-lead-text {
  font-size: clamp(1.563rem, 1.183rem + 1.62vw, 3.125rem);
  font-weight: bold;
  line-height: 2;
  color: var(--white);
}

.about-num {
  font-size: clamp(1.875rem, 1.268rem + 2.59vw, 4.375rem);
}

.about-content {
  background: var(--white);
  border-radius: 0 0 0 100px;
}

.about-box {
  display: flex;
  padding-bottom: clamp(60px, 8.33vw, 140px);
}
.about-box:first-of-type {
  position: relative;
  padding-top: clamp(30px, 8.33vw, 140px);
}
.about-box:first-of-type::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(80 / 1200 * 100vw);
  max-width: 100px;
  min-width: 40px;
  background-image: url(../images/fv-side.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none;
  z-index: 20;
}

.about-box-reverse {
  position: relative;
  flex-direction: row-reverse;
  margin-top: -22rem;
  padding-top: 22rem;
}
.about-box-reverse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(80 / 1200 * 100vw);
  max-width: 100px;
  min-width: 40px;
  background-image: url(../images/fv-side.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none;
  z-index: 20;
}

.about-box__content {
  width: 40%;
  padding: 0;
  padding-right: 4rem;
  margin-right: 4rem;
  margin-left: clamp(30px, 5.42vw, 90px);
}
.about-box-reverse .about-box__content {
  padding-left: 10rem;
  margin-left: 2rem;
  margin-right: clamp(30px, 5.42vw, 90px);
}

.about-box__title {
  font-size: var(--font-lg);
  font-weight: bold;
  color: var(--yellow);
  margin-bottom: clamp(30px, 4.17vw, 64px);
}

.about-box__img {
  position: relative;
  z-index: 99;
  width: 55%;
  margin-left: calc(50% - 50vw);
  img {
    border-radius: 0 50px 50px 0;
  }
}

.about-box-reverse .about-box__img {
  margin-right: calc(50% - 50vw);
  img {
    border-radius: 50px 0 0 50px;
  }
}

.about-box__detail {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  margin-bottom: clamp(30px, 4.17vw, 50px);
}

.about-note {
  position: relative;
  text-align: center;
  padding-bottom: clamp(40px, 5.83vw, 100px);
}

.about-note::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(80 / 1200 * 100vw);
  max-width: 100px;
  min-width: 40px;
  background-image: url(../images/fv-side.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none;
  z-index: 20;
}
.about-note-text {
  display: inline-block;
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  text-align: left;
}

.about-box-last {
  position: relative;
  margin-top: -20rem;
  padding-top: 20rem;
}
.about-box-last::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(80 / 1200 * 100vw);
  max-width: 100px;
  min-width: 40px;
  background-image: url(../images/fv-side.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none;
  z-index: 20;
}

/* レスポンシブ */

@media only screen and (max-width: 1023px) {
  .about-box {
    flex-direction: column-reverse;
    padding-bottom: 0;
  }
  .about-box__img {
    width: 100%;
    margin-left: 0;
    img {
      border-radius: 0;
    }
  }
  .about-box__content,
  .about-box-reverse .about-box__content {
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .about-content {
    border-radius: 0 0 100px 0;
  }

  .about-box-reverse .about-box__img {
    img {
      border-radius: 0;
    }
  }

  .about-box-reverse,
  .about-box-last {
    margin-top: 0;
    padding-top: clamp(30px, 8.33vw, 140px);
  }
  .about-note {
    padding: 4rem;
    padding-left: 7rem;
  }
  .about-note::after {
    display: none;
  }
  .about-note::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(80 / 1200 * 100vw);
    max-width: 100px;
    min-width: 40px;
    background-image: url(../images/fv-side.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
    pointer-events: none;
    z-index: 20;
  }
}

@media only screen and (max-width: 767px) {
  #about {
    padding-block: 60px;
  }
  .about-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: content-box;
  }

  .about-box:first-of-type::after,
  .about-box-reverse::before,
  .about-box-last::after,
  .about-note::before {
    max-width: 30px;
    min-width: 20px;
  }
  .about-lead-text {
    font-size: 24px;
    line-height: 1.6;
  }
  .about-box__title {
    font-size: 18px;
  }
  .about-box__detail {
    font-size: 15px;
    line-height: 1.8;
    padding: 0 3rem;
    max-width: 70%;
    margin: 0 auto;
    margin-bottom: clamp(30px, 4.17vw, 50px);
  }

  .about-note {
    padding: 2rem;
    padding-left: 4rem;
  }
  .about-note-text {
    font-size: 13px;
  }
}

@media only screen and (max-width: 399px) {
  .about-box__detail {
    font-size: 14px;
    padding: 0 2rem;
  }
  .about-box:first-of-type::after,
  .about-box-reverse::before,
  .about-box-last::after,
  .about-note::before {
    max-width: 20px;
    min-width: 15px;
  }
}

/* =========================
身につく力
========================= */

#skills {
  padding-top: clamp(80px, 12.5vw, 200px);
}

.skills-box:first-of-type {
  margin-top: clamp(60px, 12.5vw, 120px);
}

.skills-txt {
  max-width: 1000px;
  margin: 0 auto;
  margin-block: clamp(60px, 12.5vw, 100px);
}
.skills-txt-first {
  margin-top: 70px;
}

.skills-image {
  position: relative;
  img {
    @media only screen and (min-width: 1099px) {
      max-height: 550px;
    }
  }
}

.flag-image {
  width: 420px;
  height: auto;
  position: absolute;
  left: 2%;
  bottom: -15%;
}

.moon-image {
  width: 360px;
  height: auto;
  position: absolute;
  right: 4%;
  bottom: 0;
}
.heart-image,
.star-image {
  width: 360px;
  height: auto;
  position: absolute;
  top: -25%;
  left: 2%;
}

.skills-text {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  margin-bottom: clamp(30px, 4.17vw, 50px);
  text-align: left;
}

@media only screen and (max-width: 1024px) {
  .skills-txt {
    max-width: 90%;
    margin-top: 0;
    padding: 0 2rem;
  }
}

@media only screen and (max-width: 1099px) {
  .flag-image.pc-only,
  .moon-image.pc-only,
  .heart-image.pc-only,
  .star-image.pc-only {
    display: none;
  }
}
@media only screen and (max-width: 499px) {
  .skills-txt {
    max-width: 100%;
  }
}

/* =========================
プログラム
========================= */

.programs {
  background: var(--yellow);
  padding-block: clamp(100px, 12.5vw, 200px);
}
.programs-inner {
  background: none;
  @media only screen and (max-width: 999px) {
    width: 100%;
  }
}

.programs-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.programs-tab {
  appearance: none;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
  border-radius: 25px 25px 0 0;
  padding: 3%;
  text-align: center;
  cursor: pointer;
}

.programs-tab.tab-option {
  background: #fe5558;
}

.programs-tab small {
  font-size: var(--font-md);
  display: block;
  margin-top: 4px;
}

.programs-tab.is-active {
  text-align: center;
}

.programs-panel {
  background: var(--white);
  max-width: 1000px;
  margin: 0 auto;
  border: 8px solid var(--green);
  padding-block: clamp(75px, 12.5vw, 150px);
  padding-inline: 5%;
  @media only screen and (max-width: 499px) {
    border: 5px solid var(--green);
  }
}

.programs-panel.options-panel {
  border: 8px solid #fe5558;
  @media only screen and (max-width: 499px) {
    border: 5px solid #fe5558;
  }
}

.programs-panel.is-active {
  display: block;
}
.programs-panel[hidden] {
  display: none !important;
}

.program-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: clamp(50px, 8.33vw, 100px);
}

.program-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50px;
}

.program-title {
  font-size: var(--font-lg);
  font-weight: bold;
  margin-bottom: 1rem;
}

.program-text {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  margin: 0;
}

.program-more {
  min-width: 100%;
  margin: clamp(-20px, -3.33vw, -50px) 0 clamp(60px, 8.33vw, 140px);
  text-align: center;
}

.program-more-btn {
  display: block;
  background: var(--lightgreen);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: var(--font-md);
  font-weight: 500;
  transition: all 0.3s ease;
}
.program-more-btn:hover {
  background: var(--white);
  color: var(--lightgreen);
  border: 1px solid var(--lightgreen);
}

.lesson-inner {
  text-align: center;
}

.lesson-title {
  font-size: var(--font-lg);
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--black);
  display: block;
  padding-bottom: 4px;
}

.lesson-text {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  text-align: left;
  margin-bottom: 40px;
}

.lesson-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 2rem;
  column-gap: 3rem;
  margin-left: 3em;
}

.lesson-item {
  display: inline-block;
  font-size: var(--font-md);
  font-weight: normal;
  white-space: nowrap;
  background-color: var(--lightgreen);
  color: #fff;
  padding: 12px 48px;
  border-radius: 20px;
}
.program-text.options-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  border: 1px solid;
  margin-top: 1rem;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .program-card {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .programs-tab {
    padding: 2%;
    text-align: center;
  }
  .program-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .program-thumb img {
    max-height: 350px;
    border-radius: 30px;
  }
  .lesson-list {
    justify-content: start;
    gap: 1rem;
    margin-left: 0;
  }
}

@media only screen and (max-width: 499px) {
  .program-thumb img {
    max-height: 320px;
    border-radius: 30px;
  }
  .lesson-item {
    padding: 6px 24px;
  }
}
/* =========================
できること
========================= */

.capabilities {
  padding-block: clamp(50px, 12.5vw, 200px);
}

.capability-card {
  margin-block: clamp(60px, 8.33vw, 140px);
}

.capability-card-inner {
  position: relative;
  border: 11px solid var(--yellow);
  border-radius: 50px;
  padding: 3% 6%;
  max-width: 100%;
  width: 100%;
  @media only screen and (max-width: 499px) {
    max-width: 95%;
  }
}

/* 番号バッジを上辺中央に重ねる */
.capability-card-badge {
  position: absolute;
  left: 50%;
  top: calc(clamp(48px, 6.33vw, 100px) / -2);
  transform: translateX(-50%);
  width: clamp(48px, 6.33vw, 100px);
  height: clamp(48px, 6.33vw, 100px);
}

.capability-card-badge img {
  width: 100%;
  height: auto;
  display: block;
}

/* 見出し */
.capability-card-title {
  margin-top: 1rem;
  margin-bottom: 30px;
  text-align: center;
  font-size: var(--font-xl);
  font-weight: bold;
  color: var(--yellow);
  line-height: 2;
}

.capability-card-text p {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  margin-bottom: clamp(30px, 4.17vw, 40px);
  text-align: left;
}
@media only screen and (max-width: 767px) {
  .capability-card-title {
    margin-block: 20px;
  }

  .capability-card-inner {
    border: 5px solid var(--yellow);
    padding: 4%;
  }
}
@media only screen and (max-width: 499px) {
  .capabilities-title.title-image {
    max-width: 330px;
  }
  .capabilities-inner {
    width: 100%;
  }
}

/* =========================
1日の過ごし方
========================= */

.daily-schedule {
  background-color: var(--yellow);
  padding-top: clamp(100px, 12.5vw, 200px);
  padding-bottom: clamp(50px, 12.5vw, 200px);
}

.daily-schedule-inner {
  padding: 0 4%;
  padding-block: clamp(50px, 12.5vw, 100px);
  border-radius: 100px;
  @media only screen and (max-width: 767px) {
    border-radius: 50px;
    padding: 0 5%;
    padding-block: clamp(50px, 12.5vw, 200px);
  }
}

.daily-schedule-title {
  margin-bottom: clamp(50px, 12.5vw, 100px);
}

.schedule-item {
  display: grid;
  grid-template-columns: 40% 1fr;
  border: 6px solid var(--yellow);
  border-radius: 30px;
  padding: 4% 5%;
  background-color: #ffffff;
  margin-bottom: clamp(40px, 8.33vw, 90px);
  @media only screen and (max-width: 767px) {
    border: 4px solid var(--yellow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 8%;
  }
}
.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-time {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  @media only screen and (max-width: 767px) {
    justify-content: center;
  }
}

.schedule-time img {
  width: clamp(50px, 9.5vw, 114px);
  height: auto;
}

.schedule-time-label {
  font-size: var(--font-md);
  font-weight: bold;
  line-height: 2;
}

.schedule-title {
  font-size: var(--font-lg);
  font-weight: bold;
  margin-bottom: 1rem;
}

.schedule-desc {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
}

/* =========================
1週間のコマ表・時間割
========================= */
.time-table {
  background-color: var(--yellow);
  padding-bottom: clamp(50px, 12.5vw, 200px);
}
.time-table-inner {
  padding-block: clamp(50px, 12.5vw, 100px);
  border-radius: 100px;
  @media only screen and (max-width: 767px) {
    border-radius: 50px;
  }
}

.time-table-title {
  margin-bottom: clamp(15px, 2.08vw, 40px);
}

.btn-wrap {
  max-width: 70%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn {
  font-size: var(--font-lg);
  background: var(--yellow);
  color: var(--white);
  width: 100%;
  padding: 4%;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--yellow);
  border: 1px solid var(--yellow);
}
/* =========================
料金表
========================= */
.price-table {
  background-color: var(--yellow);
  padding-bottom: clamp(50px, 12.5vw, 200px);
}

.price-table-inner {
  padding: 0 4%;
  padding-top: clamp(50px, 12.5vw, 100px);
  padding-bottom: clamp(50px, 12.5vw, 200px);
  border-radius: 100px;
  text-align: center;
  @media only screen and (max-width: 767px) {
    border-radius: 50px;
  }
}

.price-table-title {
  margin-bottom: clamp(30px, 2.08vw, 80px);
}

.price-table-text {
  font-size: var(--font-md);
}

/* =========================
ご利用の流れ
========================= */
.flow-step {
  background-color: var(--yellow);
  padding-bottom: clamp(50px, 12.5vw, 200px);
}
.step-inner {
  padding-inline: 0;
  padding-top: clamp(30px, 6.3vw, 60px);
  border-radius: 100px;
  background: none;
}

.step-item {
  background-color: var(--yellow);
  border: 7px solid var(--white);
  border-radius: 30px;
  padding: clamp(30px, 5vw, 90px) clamp(20px, 3vw, 60px) clamp(40px, 7vw, 110px);
  position: relative;
  margin-bottom: clamp(50px, 8.33vw, 100px);
  @media only screen and (max-width: 767px) {
    border: 4px solid var(--white);
  }
}

.step-head {
  position: relative;
  @media only screen and (max-width: 767px) {
    left: 10px;
  }
}

.step-title {
  background: var(--white);
  color: var(--yellow);
  font-size: clamp(18px, 2vw, 32px);
  font-weight: bold;
  text-align: center;
  padding: 15px 30px;
  border-radius: 30px;
  width: 100%;
  margin-bottom: clamp(16px, 2vw, 28px);
  position: relative;
}

/* アイコン */
.step-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(64px, 10vw, 144px);
  height: auto;
  z-index: 2;
  left: clamp(-20px, -3vw, -40px);
}

.step-body {
  max-width: 70%;
  margin: 0 auto;
  @media only screen and (max-width: 767px) {
    max-width: 100%;
  }
}

.step-text {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
}

/* =========================
よくある質問
========================= */

.faq {
  background-color: var(--yellow);
  padding-bottom: clamp(50px, 12.5vw, 200px);
}
.faq-inner {
  padding: 0 4%;
  padding-block: clamp(50px, 12.5vw, 100px);
  border-radius: 100px;
  @media only screen and (max-width: 767px) {
    border-radius: 50px;
  }
}

.faq-item {
  margin-bottom: 3rem;
}

/* ── 質問（緑バー） ── */
.faq-question {
  background-color: var(--lightgreen);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3% 2%;
  @media only screen and (max-width: 767px) {
    gap: 1rem;
  }
}

.faq-q {
  display: block;
  font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
  font-family: "Pacifico", cursive;
  font-weight: normal;
  line-height: 1.8;
  font-weight: 700;
  text-align: center;
}

.faq-question-text {
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1.8;
  @media only screen and (max-width: 499px) {
    line-height: 1.4;
  }
}

/* ── 回答（下段） ── */
.faq-answer {
  font-weight: normal;
  line-height: 1.8;
  display: flex;
  align-items: start;
  gap: 2rem;
  padding: 3% 2%;
  padding-left: 4%;
  @media only screen and (max-width: 767px) {
    gap: 1rem;
  }
}

.faq-a {
  display: inline-block;
  font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
  font-family: "Pacifico", cursive;
  line-height: 1;
  font-weight: 700;
  color: var(--orange);
}

.faq-answer-text {
  margin: 18px 0 0 0;
  font-size: var(--font-md);
  line-height: 1.8;
  @media only screen and (max-width: 499px) {
    margin: 10px 0 0 0;
    line-height: 1.4;
  }
}

/* =========================
教室案内・運営法人概要
========================= */

.classroom {
  padding-block: clamp(100px, 12.5vw, 200px);
}

.classroom-title {
  margin-bottom: 4rem;
  @media only screen and (max-width: 767px) {
    margin-bottom: 2rem;
  }
}

.classroom-title .title-image {
  max-width: 800px;
}
.classroom-map {
  height: 450px;
  @media only screen and (max-width: 767px) {
    height: 275px;
  }
}

figure.classroom-logo {
  text-align: center;
}
.classroom-info {
  font-size: var(--font-md);
  color: #151515;
  line-height: 1.8;
  text-align: center;
}
.mail-address {
  max-width: 500px;
  margin-block: 1rem;
  @media only screen and (max-width: 499px) {
    max-width: 360px;
    margin-block: 0.5rem;
  }
}
.operator-title .title-image {
  max-width: 800px;
}
.operator-table-wrap {
  margin-top: clamp(50px, 8.33vw, 100px);
  text-align: center;
}

.operator-table {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-md);
}

.operator-table th,
.operator-table td {
  font-weight: normal;
  padding: 3rem 1.5rem;
  text-align: left;
  @media only screen and (max-width: 767px) {
    padding: 2rem 0.5rem;
  }
}

.operator-table th {
  width: 25%;
  @media only screen and (max-width: 767px) {
    width: 32%;
    text-align: center;
  }
}

.operator-table tr:nth-child(odd) {
  background-color: rgba(240, 197, 31, 0.3);
}

.operator-table tr:nth-child(even) {
  background-color: var(--white);
}

@media only screen and (max-width: 999px) {
  .classroom-inner {
    max-width: 100%;
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .operator-title {
    margin-bottom: 2rem;
  }
}

/* =========================
採用情報
========================= */
.recruit {
  background-color: var(--yellow);
  padding-block: clamp(100px, 12.5vw, 200px);
}

.recruit-inner {
  background: none;
}

.recruit-txt {
  text-align: center;
}
.recruit-text {
  font-size: var(--font-lg);
  color: var(--white);
  line-height: 2.5;
}
.recruit-btn-wrap {
  margin-top: clamp(50px, 8.33vw, 100px);
  text-align: center;
}
.recruit-btn {
  display: inline-block;
  min-width: 500px;
  font-size: var(--font-lg);
  background: var(--white);
  color: var(--lightgreen);
  padding: 3% 6%;
  border-radius: 100px;
  transition: all 0.3s ease;
  @media only screen and (max-width: 767px) {
    min-width: 100%;
  }
}

.recruit-btn:hover {
  background: var(--lightgreen);
  color: var(--white);
}
@media only screen and (max-width: 999px) {
  .recruit-inner {
    max-width: 100%;
  }
}

/* =========================
お問い合わせ
========================= */

.contact-head {
  font-size: var(--font-xl);
  position: relative;
  background-color: var(--lightgreen);
  padding: 2%;
  text-align: center;
  color: var(--white);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
}

.contact-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 22px solid var(--lightgreen);
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.1));
}

.contact-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-inner {
  max-width: 960px;
  width: 92%;
  margin: 56px auto 80px;
  text-align: center;
  color: #222222;
}

.contact-lead {
  font-size: var(--font-md);
  font-weight: normal;
  line-height: 2;
  margin-bottom: 2rem;
}

.contact-tel {
  margin: 0 0 12px;
}

.contact-tel a {
  font-size: clamp(2.5rem, 1.591rem + 4.55vw, 5rem);
  font-family: "Pacifico", cursive;
  color: #ff0000;
}

/* 受付時間 */
.contact-hours {
  margin: 0 0 36px;
  font-size: var(--font-sm);
  font-weight: normal;
}
.contact-mail {
  font-size: var(--font-xl);
  color: #7a7a7a;
}

.contact-mail {
  max-width: 700px;
  margin: 0 auto;
}

.contact-mail a {
  color: inherit;
}

/* =========================
フッター
========================= */

/* フッター全体 */
.site-footer {
  position: relative;
  background-color: var(--yellow);
  color: var(--white);
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  @media only screen and (max-width: 499px) {
    padding-top: 30px;
    padding-bottom: 20px;
  }
}
.footer-top-btn {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 154px;
  height: 154px;
  @media only screen and (max-width: 768px) {
    width: 120px;
    height: 120px;
  }
  @media only screen and (max-width: 499px) {
    width: 90px;
    height: 90px;
  }
}

/* 内側幅制御 */
.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-leaf img {
  max-width: 600px;
  width: 100%;
  height: auto;
  @media only screen and (max-width: 767px) {
    max-width: 70%;
  }
}

/* 白枠バッジ */
.footer-badge {
  display: inline-block;
  font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
  font-weight: 900;
  margin-top: -5rem;
  margin-bottom: 3rem;
  padding: 2%;
  border: 8px solid var(--white);
  border-radius: 30px;
  @media only screen and (max-width: 767px) {
    padding: 2% 4%;
    border: 4px solid var(--white);
  }
}

/* 学校名・住所 */
.footer-label {
  font-size: var(--font-md);
  font-weight: normal;
  opacity: 0.95;
}
.footer-name {
  margin: 0 0 18px;
  font-size: clamp(1.563rem, 0.994rem + 2.84vw, 3.125rem);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
}
.footer-address {
  margin-bottom: 4rem;
  font-size: var(--font-md);
  font-weight: normal;
}

/* 法人リンク */
.footer-corp {
  margin-bottom: 2rem;
  font-size: var(--font-md);
  font-weight: normal;
}
.footer-corp a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}

/* ブランドロゴ */
.footer-brand img {
  width: 100%;
  max-width: 350px;
  height: auto;

  @media only screen and (max-width: 499px) {
    max-width: 200px;
  }
}
.program-more-btn[aria-disabled="true"] {
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}
