/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .kotonoha-note-link     - ヘッダーnoteリンク
 * .kotonoha-sp-tel        - SPナビ内電話番号
 * .kotonoha-sns-btn       - フッターSNSボタン
 * .kotonoha-note-banner   - TOPページ塾長noteバナー
 * .kotonoha-menu-card     - コンテンツメニューカード
 * .kotonoha-profile-table - プロフィールテーブル
 * .kotonoha-step-flow     - 入塾の流れ ステップ
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 構造不足：
 *   - noteバナー（画像＋テキスト＋アイコンの横並び特殊デザイン）
 *   - コンテンツメニューカード（バナー型4カラム）
 * 装飾パターン不足：
 *   - SNSボタン（円形グラデーション）
 *   - 自己分析グラフ棒（progressbar風）
 *
 */

/* ==========================================================================
   ヘッダー固有スタイル
   ========================================================================== */

/* noteリンク（ヘッダー） */
.kotonoha-note-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.kotonoha-note-link:hover {
  border-color: #70C908;
  color: #70C908;
  opacity: 1;
}
.kotonoha-note-link i {
  color: #70C908;
}

/* SPナビ電話番号 */
.kotonoha-sp-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Quicksand", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
}
.kotonoha-sp-tel i {
  font-size: 1.4rem;
}

/* ==========================================================================
   フッター固有スタイル
   ========================================================================== */

/* SNSボタン */
.kotonoha-sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #70C908, #00F82D);
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.kotonoha-sns-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(112, 201, 8, 0.4);
  opacity: 1;
}
.kotonoha-sns-btn--note {
  background: linear-gradient(135deg, #1a3d08, #3a7a10);
}

/* フッターのダーク背景 */
.footer.footer-body--dark {
  background: #1a3d08;
  padding: 60px 0 0;
}

/* footer-body__nav - ダーク版 */
.footer.footer-body--dark .footer-body__nav-item a {
  color: rgba(255, 255, 255, 0.75);
}
.footer.footer-body--dark .footer-body__nav-item a:hover {
  color: #fff;
  opacity: 1;
}
.footer.footer-body--dark .footer-body__info {
  color: rgba(255, 255, 255, 0.65);
}
.footer.footer-body--dark .footer-body__logo img {
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   MV（メインビジュアル）固有スタイル
   ========================================================================== */

.kotonoha-mv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}
@media (max-width: 639px) {
  .kotonoha-mv {
    height: 55vw;
    min-height: 280px;
  }
}

.kotonoha-mv .swiper,
.kotonoha-mv .swiper-wrapper,
.kotonoha-mv .swiper-slide {
  width: 100%;
  height: 100%;
}

.kotonoha-mv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
}
.kotonoha-mv__slide.swiper-slide-active img {
  animation: slideshow-zoom 11s ease forwards;
}
@keyframes slideshow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

/* MVオーバーレイ */
.kotonoha-mv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

/* MVキャッチコピーカード */
.kotonoha-mv__card {
  position: absolute;
  bottom: 12%;
  left: 5%;
  z-index: 5;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 800px;
  width: 90%;
  backdrop-filter: none;
}
@media (max-width: 896px) {
  .kotonoha-mv__card {
    padding: 0;
    border-radius: 0;
  }
}
@media (max-width: 639px) {
  .kotonoha-mv__card {
    left: 5%;
    right: 5%;
    width: auto;
    max-width: none;
    bottom: 8%;
    padding: 0;
    border-radius: 0;
    transform: none;
  }
}

.kotonoha-mv__sub {
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #70C908;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.kotonoha-mv__catch {
  font-size: 3rem;
  font-weight: 900;
  color: #333;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
@media (max-width: 896px) {
  .kotonoha-mv__catch {
    font-size: 2.2rem;
  }
}
@media (max-width: 639px) {
  .kotonoha-mv__catch {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   塾長noteバナー
   ========================================================================== */

.kotonoha-note-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 15px;
  padding: 20px 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid #e8f4da;
}
.kotonoha-note-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(112, 201, 8, 0.2);
  border-color: #70C908;
  opacity: 1;
}

.kotonoha-note-banner__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #70C908, #8AD612);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
}

.kotonoha-note-banner__body {
  flex: 1;
}
.kotonoha-note-banner__label {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  color: #70C908;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}
.kotonoha-note-banner__name {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.kotonoha-note-banner__desc {
  font-size: 1.2rem;
  color: #888;
  margin-top: 4px;
}

.kotonoha-note-banner__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f0f7e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #70C908;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.kotonoha-note-banner:hover .kotonoha-note-banner__arrow {
  background: #70C908;
  color: #fff;
}

/* ==========================================================================
   コンテンツメニューカード
   ========================================================================== */

.kotonoha-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 896px) {
  .kotonoha-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .kotonoha-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.kotonoha-menu-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  background: #1a3d08;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}
.kotonoha-menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.kotonoha-menu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.kotonoha-menu-card:hover .kotonoha-menu-card__img {
  transform: scale(1.08);
}

.kotonoha-menu-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 61, 8, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.kotonoha-menu-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
}
.kotonoha-menu-card__en {
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
  display: block;
}
.kotonoha-menu-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 639px) {
  .kotonoha-menu-card__title {
    font-size: 1.4rem;
  }
  .kotonoha-menu-card__body {
    padding: 12px;
  }
}

.kotonoha-menu-card__arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(112, 201, 8, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
}
.kotonoha-menu-card:hover .kotonoha-menu-card__arrow {
  background: #70C908;
  transform: scale(1.1);
}

/* ==========================================================================
   aboutページ プロフィールテーブル
   ========================================================================== */

.kotonoha-profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.kotonoha-profile-table th {
  width: 130px;
  background: #dedede;
  padding: 12px 15px;
  border: 1px solid #d4e8b0;
  font-weight: 600;
  color: #1a3d08;
  white-space: nowrap;
  vertical-align: top;
}
.kotonoha-profile-table td {
  padding: 12px 15px;
  border: 1px solid #d4e8b0;
  background: #fff;
  line-height: 1.7;
  vertical-align: top;
}
@media (max-width: 639px) {
  .kotonoha-profile-table,
  .kotonoha-profile-table tbody,
  .kotonoha-profile-table tr,
  .kotonoha-profile-table th,
  .kotonoha-profile-table td {
    display: block;
    width: 100%;
  }
  .kotonoha-profile-table th {
    white-space: normal;
    background: #dedede;
    border-bottom: none;
  }
  .kotonoha-profile-table td {
    border-top: none;
  }
}

/* 自己分析グラフ */
.kotonoha-analysis {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kotonoha-analysis__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kotonoha-analysis__label {
  font-size: 1.2rem;
  min-width: 120px;
  color: #555;
}
.kotonoha-analysis__bar-wrap {
  flex: 1;
  height: 10px;
  background: #e8f4da;
  border-radius: 9999px;
  overflow: hidden;
}
.kotonoha-analysis__bar {
  height: 100%;
  background: linear-gradient(to right, #70C908, #8AD612);
  border-radius: 9999px;
}
.kotonoha-analysis__pct {
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #70C908;
  min-width: 36px;
  text-align: right;
}

/* ==========================================================================
   入塾の流れ（admission）
   ========================================================================== */

.kotonoha-step-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kotonoha-step-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 50px;
}
.kotonoha-step-item:last-child {
  padding-bottom: 0;
}
@media (max-width: 639px) {
  .kotonoha-step-item {
    gap: 15px;
  }
}

/* 縦線（最後以外） */
.kotonoha-step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 70px;
  width: 2px;
  height: calc(100% - 70px);
  background: linear-gradient(to bottom, #70C908, rgba(112, 201, 8, 0.1));
}
@media (max-width: 639px) {
  .kotonoha-step-item:not(:last-child)::before {
    left: 24px;
    top: 55px;
  }
}

.kotonoha-step-item__num-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.kotonoha-step-item__step-label {
  font-family: "Quicksand", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #70C908;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kotonoha-step-item__num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #70C908, #8AD612);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(112, 201, 8, 0.4);
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .kotonoha-step-item__num {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

.kotonoha-step-item__body {
  flex: 1;
  background: #fff;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #70C908;
}
@media (max-width: 639px) {
  .kotonoha-step-item__body {
    padding: 18px 20px;
  }
}

.kotonoha-step-item__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a3d08;
  margin-bottom: 10px;
}
.kotonoha-step-item__text {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555;
}

/* ==========================================================================
   料金表
   ========================================================================== */

.kotonoha-price-section {
  margin-bottom: 50px;
}
.kotonoha-price-section:last-child {
  margin-bottom: 0;
}

.kotonoha-price-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: #70C908;
  padding: 12px 20px;
  border-radius: 9999px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kotonoha-price-title::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0a9";
  font-size: 1.4rem;
  flex-shrink: 0;
}

.kotonoha-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.kotonoha-price-table th {
  background: #f0f0f0;
  color: #333;
  padding: 12px 15px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #d4e8b0;
}
.kotonoha-price-table td {
  padding: 12px 15px;
  border: 1px solid #d4e8b0;
  text-align: center;
  background: #fff;
}
.kotonoha-price-table tr:nth-child(even) td {
  background: #f8fdf2;
}
.kotonoha-price-table tbody tr:hover td {
  background: #f0f7e6;
}
.kotonoha-price-table .price-highlight {
  font-family: "Quicksand", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3d08;
}

.kotonoha-price-note {
  font-size: 1.2rem;
  color: #888;
  margin-top: 8px;
  padding-left: 1em;
  text-indent: -1em;
}
.kotonoha-price-note::before {
  content: "※";
}

/* ==========================================================================
   ページヒーロー（下層ページ共通）
   ========================================================================== */

.kotonoha-page-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 639px) {
  .kotonoha-page-hero {
    height: 200px;
  }
}

.kotonoha-page-hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27932/page-hero.jpg') center / cover no-repeat;
}
.kotonoha-page-hero__deco {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.kotonoha-page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.kotonoha-page-hero__en {
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
  display: block;
}
.kotonoha-page-hero__title {
  font-size: 3.2rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.1em;
}
@media (max-width: 639px) {
  .kotonoha-page-hero__title {
    font-size: 2.2rem;
  }
}

/* 波型下境界 */
.kotonoha-page-hero::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fafcf7;
  clip-path: ellipse(55% 70% at 50% 100%);
}
@media (max-width: 639px) {
  .kotonoha-page-hero::after {
    height: 35px;
  }
}

/* ==========================================================================
   塾生列伝（about）
   ========================================================================== */

.kotonoha-graduate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 896px) {
  .kotonoha-graduate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .kotonoha-graduate-grid {
    grid-template-columns: 1fr;
  }
}

.kotonoha-graduate-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #70C908;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.kotonoha-graduate-card--new .kotonoha-graduate-card__new-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 52px;
  height: 52px;
  background: #70C908;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}
.kotonoha-graduate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.kotonoha-graduate-card__nickname {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3d08;
  margin-bottom: 5px;
}
.kotonoha-graduate-card__univ {
  font-size: 1.3rem;
  font-weight: 600;
  color: #70C908;
  background: #f0f7e6;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
}
.kotonoha-graduate-card__text {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* ==========================================================================
   塾情報（about）
   ========================================================================== */

.kotonoha-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.kotonoha-info-table th {
  width: 160px;
  background: #f0f7e6;
  padding: 15px 20px;
  border: 1px solid #d4e8b0;
  font-weight: 600;
  color: #1a3d08;
  vertical-align: top;
}
.kotonoha-info-table td {
  padding: 15px 20px;
  border: 1px solid #d4e8b0;
  background: #fff;
  line-height: 1.7;
}
@media (max-width: 639px) {
  .kotonoha-info-table,
  .kotonoha-info-table tbody,
  .kotonoha-info-table tr,
  .kotonoha-info-table th,
  .kotonoha-info-table td {
    display: block;
    width: 100%;
  }
  .kotonoha-info-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }
  .kotonoha-info-table td {
    border-top: none;
  }
}

/* ==========================================================================
   お知らせセクション
   ========================================================================== */

.kotonoha-news-wrap {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 896px) {
  .kotonoha-news-wrap {
    flex-direction: column;
    gap: 30px;
  }
}

.kotonoha-news-header {
  flex-shrink: 0;
  width: 200px;
}
@media (max-width: 896px) {
  .kotonoha-news-header {
    width: 100%;
  }
}

.kotonoha-news-body {
  flex: 1;
}

/* ==========================================================================
   ことのはベースについて（TOP）
   ========================================================================== */

.kotonoha-about-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
@media (max-width: 896px) {
  .kotonoha-about-wrap {
    flex-direction: column;
    gap: 40px;
  }
}

.kotonoha-about-img {
  flex-shrink: 0;
  width: 45%;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 896px) {
  .kotonoha-about-img {
    width: 100%;
  }
}

.kotonoha-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.kotonoha-about-body {
  flex: 1;
}

/* 自己分析 円グラフ */
.kotonoha-pie-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.kotonoha-pie {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kotonoha-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1.8;
}
.kotonoha-pie-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kotonoha-pie-legend__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   教育方針
   ========================================================================== */
.kotonoha-philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.kotonoha-philosophy-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.kotonoha-philosophy-item__num {
  font-family: 'Quicksand', sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: #70C908;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.kotonoha-philosophy-item__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a3d08;
  margin-bottom: 10px;
}
.kotonoha-philosophy-item__text {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.8;
}
@media (max-width: 639px) {
  .kotonoha-philosophy-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .kotonoha-philosophy-item__num { font-size: 2.8rem; }
  .kotonoha-philosophy-item__title { font-size: 1.6rem; }
}

/* ==========================================================================
   3つの特徴
   ========================================================================== */
.kotonoha-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 896px) {
  .kotonoha-features-grid { grid-template-columns: 1fr; }
}
.kotonoha-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.kotonoha-feature-card__icon {
  width: 64px;
  height: 64px;
  background: #f0f7e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2.4rem;
  color: #70C908;
}
.kotonoha-feature-card__num {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #70C908;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.kotonoha-feature-card__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a3d08;
  margin-bottom: 14px;
  line-height: 1.4;
}
.kotonoha-feature-card__text {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
}

/* ==========================================================================
   FAQ アコーディオン
   ========================================================================== */
.kotonoha-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kotonoha-faq-item {
  border: 1px solid #d4e8b0;
  border-radius: 10px;
  overflow: hidden;
}
.kotonoha-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0f7e6;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a3d08;
  line-height: 1.5;
}
.kotonoha-faq-q__label {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #70C908;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.kotonoha-faq-q__icon {
  margin-left: auto;
  flex-shrink: 0;
  color: #70C908;
  transition: transform 0.3s ease;
}
.kotonoha-faq-item.is-open .kotonoha-faq-q__icon {
  transform: rotate(180deg);
}
.kotonoha-faq-a {
  display: none;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  font-size: 1.4rem;
  color: #555;
  line-height: 1.8;
}
.kotonoha-faq-item.is-open .kotonoha-faq-a {
  display: flex;
  align-items: flex-start;
}
.kotonoha-faq-a__label {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #55412a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ==========================================================================
   塾生列伝（リスト形式）
   ========================================================================== */
.kotonoha-alumni-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #d4e8b0;
}
.kotonoha-alumni-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid #d4e8b0;
  background: #fff;
  transition: background 0.2s;
}
.kotonoha-alumni-item:hover { background: #f8fbf4; }
.kotonoha-alumni-item__univ {
  flex-shrink: 0;
  width: 180px;
  padding: 18px 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #70C908;
  background: #f0f7e6;
  display: flex;
  align-items: center;
}
.kotonoha-alumni-item__body {
  flex: 1;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kotonoha-alumni-item__nickname {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3d08;
}
.kotonoha-alumni-item__text {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.7;
}
@media (max-width: 639px) {
  .kotonoha-alumni-item { flex-direction: column; }
  .kotonoha-alumni-item__univ { width: 100%; padding: 12px 16px; }
  .kotonoha-alumni-item__body { padding: 12px 16px; }
}

/* 教育方針 デコ画像 */
.kotonoha-philosophy-section {
  position: relative;
  overflow: hidden;
}
.kotonoha-philosophy-deco {
  position: absolute;
  top: 20px;
  right: 0;
  width: 400px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.kotonoha-philosophy-section .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 896px) {
  .kotonoha-philosophy-deco { width: 240px; }
}
@media (max-width: 639px) {
  .kotonoha-philosophy-deco { width: 160px; top: 10px; }
}

/* よくある質問 デコ画像 */
.kotonoha-faq-section {
  position: relative;
  overflow: hidden;
}
.kotonoha-faq-deco {
  position: absolute;
  top: 20px;
  left: 0;
  width: 400px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.kotonoha-faq-section .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 896px) {
  .kotonoha-faq-deco { width: 240px; }
}
@media (max-width: 639px) {
  .kotonoha-faq-deco { width: 160px; top: 10px; }
}

/* 塾長あいさつ リスのイラスト */
.kotonoha-message-box {
  position: relative;
  overflow: visible;
}
.kotonoha-message-risu {
  position: absolute;
  top: -78px;
  right: -10px;
  width: 100px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 896px) {
  .kotonoha-message-risu { width: 110px; top: -70px; right: 0; }
}
@media (max-width: 639px) {
  .kotonoha-message-risu { width: 80px; top: -55px; right: 0; }
}

/* 塾情報 2カラムレイアウト */
.kotonoha-info-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.kotonoha-info-img {
  flex: 0 0 320px;
}
.kotonoha-info-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.kotonoha-info-body {
  flex: 1;
}
@media (max-width: 767px) {
  .kotonoha-info-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .kotonoha-info-img {
    flex: none;
    width: 100%;
  }
}

/* ドットライン */
.kotonoha-dot-line {
  width: 100%;
  height: 72px;
  background: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27932/dot_line.png') center / 1600px 72px repeat-x;
}
@media (max-width: 639px) {
  .kotonoha-dot-line {
    height: 36px;
    background-size: 800px 36px;
  }
}

/* コースカード（2カラム：緑カード＋写真）*/
.kotonoha-course-card {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.kotonoha-course-card__left {
  flex: 0 0 55%;
  background: #70C908;
  padding: 60px 50px;
}
.kotonoha-course-card__heading {
  text-align: center;
  margin-bottom: 30px;
}
.kotonoha-course-card__icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 8px;
  filter: brightness(0) invert(1);
}
.kotonoha-course-card__en {
  display: block;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.kotonoha-course-card__ja {
  display: block;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
}
.kotonoha-course-card__text {
  color: #fff;
  font-size: 1.5rem;
  line-height: 2;
}
.kotonoha-course-card__right {
  flex: 1;
}
.kotonoha-course-card__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .kotonoha-course-card {
    flex-direction: column;
  }
  .kotonoha-course-card__left {
    padding: 40px 30px;
  }
  .kotonoha-course-card__right img {
    height: 220px;
  }
}

/* 料金表ボタン 3カラムグリッド */
.kotonoha-price-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.kotonoha-price-btn-grid .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 767px) {
  .kotonoha-price-btn-grid {
    grid-template-columns: 1fr;
  }
}

/* お問い合わせ誘導ボックス */
.kotonoha-contact-box {
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid #70C908;
  border-radius: 16px;
  padding: 40px 50px;
  text-align: center;
}
.kotonoha-contact-box__text {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 30px;
}
.kotonoha-contact-box__btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.kotonoha-contact-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  min-width: 220px;
  justify-content: center;
}
.kotonoha-contact-box__btn:hover {
  opacity: 0.8;
}
.kotonoha-contact-box__btn--tel {
  background: #a8c98a;
  color: #fff;
  border: 2px solid #a8c98a;
}
.kotonoha-contact-box__btn--mail {
  background: #fff;
  color: #444;
  border: 2px solid #ccc;
}
@media (max-width: 639px) {
  .kotonoha-contact-box {
    padding: 30px 20px;
  }
  .kotonoha-contact-box__btn {
    min-width: 100%;
  }
}

/* お問い合わせボックス キツネ画像 */
.kotonoha-contact-box {
  position: relative;
  overflow: visible;
}
.kotonoha-contact-box__kitsune {
  position: absolute;
  top: -140px;
  right: 10px;
  width: 120px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 639px) {
  .kotonoha-contact-box__kitsune {
    width: 80px;
    top: -90px;
    right: 5px;
  }
}

/* ブログ一覧レイアウト */
.kotonoha-blog-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.kotonoha-blog-main {
  flex: 1;
}
.kotonoha-blog-side {
  flex: 0 0 220px;
}

/* 記事一覧（タグ2出力: .top-info-dl） */
.top-info-dl {
  margin: 0;
  padding: 0;
}
.top-info-dl .info-inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed #c8e6a0;
}
.top-info-dl .info-inner:first-child {
  border-top: 1px dashed #c8e6a0;
}
.top-info-dl dt {
  flex: 0 0 auto;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #70C908;
  white-space: nowrap;
}
.top-info-dl dt span {
  display: none;
}
.top-info-dl dd {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}
.top-info-dl dd a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.top-info-dl dd a:hover {
  color: #70C908;
}

/* サイドバー */
.kotonoha-blog-side__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a3d08;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kotonoha-blog-side__title i {
  color: #70C908;
}
.kotonoha-blog-side__archive a {
  display: inline-block;
  background: #f0ebe0;
  color: #555;
  font-size: 1.3rem;
  padding: 5px 14px;
  border-radius: 9999px;
  margin: 0 5px 8px 0;
  text-decoration: none;
  transition: background 0.2s;
}
.kotonoha-blog-side__archive a:hover {
  background: #d4e8b0;
  color: #1a3d08;
}

@media (max-width: 767px) {
  .kotonoha-blog-layout {
    flex-direction: column;
    gap: 40px;
  }
  .kotonoha-blog-side {
    flex: none;
    width: 100%;
  }
}

/* bg-w：白背景カードブロック */
.bg-w {
  background: #fff;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 50px;
}
@media (max-width: 639px) {
  .bg-w {
    padding: 30px 20px;
    margin: 20px 15px;
    border-radius: 10px;
  }
}

/* 記事詳細 */
.kotonoha-entry__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a3d08;
  padding-left: 14px;
  border-left: 4px solid #70C908;
  margin-bottom: 16px;
  line-height: 1.5;
}
.kotonoha-entry__meta {
  margin-bottom: 24px;
}
.kotonoha-entry__date {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #70C908;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kotonoha-entry__date::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f017";
}
.kotonoha-entry__body {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #333;
  border-top: 1px dashed #c8e6a0;
  padding-top: 24px;
}
.kotonoha-entry__body p {
  margin-bottom: 1em;
}
.kotonoha-entry__pager {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #c8e6a0;
}

/* MV キャッチコピー画像 */
.kotonoha-mv__catch-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
}
@media (max-width: 639px) {
  .kotonoha-mv__catch-img {
    max-width: 320px;
  }
}

/* SP固定フッターボタン リデザイン */
.sp-fixed-bar {
  display: flex;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #fff;
  border-top: 2px solid #70C908;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.sp-fixed-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  text-decoration: none;
  color: #3a2a1a;
  gap: 4px;
  border-right: 1px solid #70C908;
  transition: background 0.2s;
}
.sp-fixed-bar__btn:last-child {
  border-right: none;
}
.sp-fixed-bar__btn:hover {
  background: #f5fbec;
}
.sp-fixed-bar__icon {
  font-size: 1.8rem;
}
.sp-fixed-bar__label {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
}
@media (min-width: 897px) {
  .sp-fixed-bar {
    display: none;
  }
}

/* SP時フッターナビ非表示 */
@media (max-width: 896px) {
  .footer-body__nav {
    display: none;
  }
}

/* SP時フッター左カラム中央揃え */
@media (max-width: 896px) {
  .footer-body__left {
    text-align: center;
  }
  .footer-body__logo img {
    margin: 0 auto;
  }
  .footer-body__sns {
    justify-content: center;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* SP時ヘッダーロゴサイズ */
@media (max-width: 639px) {
  .header__logo img {
    height: 55px;
  }
}

/* SP時 tree_line 表示調整 */
@media (max-width: 896px) {
  .kotonoha-footer__tree {
    height: 110px;
    margin-bottom: 70px;
  }
}

/* SP時フッター電話番号色 */
@media (max-width: 896px) {
  .kotonoha-footer__sky .footer-body__info a {
    color: #333 !important;
  }
}

/* お問い合わせCTAボックス ボーダー */
.kotonoha-contact-cta-box {
  background: #fff;
  border: 2px solid #e8f4da;
  border-radius: 15px;
  padding: 50px 40px;
}
@media (max-width: 639px) {
  .kotonoha-contact-cta-box {
    padding: 30px 20px;
  }
}

/* 木の枝デコ ラッパー */
.kotonoha-contact-deco-wrap {
  position: relative;
  overflow: visible;
}
.kotonoha-contact-deco {
  position: absolute;
  top: 0;
  width: 400px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.kotonoha-contact-deco--left {
  left: 0;
}
.kotonoha-contact-deco--right {
  right: 0;
}
.kotonoha-contact-deco-wrap .container,
.kotonoha-contact-deco-wrap > section {
  position: relative;
  z-index: 1;
}
@media (max-width: 896px) {
  .kotonoha-contact-deco { width: 240px; }
}
@media (max-width: 639px) {
  .kotonoha-contact-deco { width: 150px; }
}

/* SP時 自己分析グラフ 中央配置 */
@media (max-width: 639px) {
  .kotonoha-pie-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .kotonoha-pie-legend {
    text-align: left;
  }
}

/* SP時 塾情報テーブル 中央配置 */
@media (max-width: 767px) {
  .kotonoha-info-body {
    width: 100%;
  }
  .kotonoha-info-table {
    width: 100%;
  }
}

/* SPナビ EN文字サイズ */
.sp-nav__en {
  font-size: 1.5rem;
}

/* SP時 横スクロール防止 */
@media (max-width: 896px) {
  body {
    overflow-x: hidden;
  }
}

/* サンクスページ */
.kotonoha-thanks-box {
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid #e8f4da;
  border-radius: 15px;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
}
.kotonoha-thanks-box__text {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  margin-bottom: 40px;
}
.kotonoha-thanks-box__btn {
  display: inline-flex;
  min-width: 200px;
  justify-content: center;
}
@media (max-width: 639px) {
  .kotonoha-thanks-box {
    padding: 40px 20px;
  }
  .kotonoha-thanks-box__btn {
    width: 100%;
  }
}
