/* ============================================================
   irohana study ページ専用スタイル
   /so/study
   共通スタイルは page-service-common.css（svc- プレフィックス）を参照
============================================================ */

.page-so-study,
.page-ao-study {
  --color-primary: #558b2f;

  background: #fff;
  padding-top: 72px;
  /* fixed header分 */
}

/* ============================================================
   ヘッダー上書き（study）
============================================================ */

.site-header--study {
  background: #fff;
  border-bottom: 1px solid var(--color-dark-12);
}

.site-header--study .site-header__cta--trial {
  background-color: #558b2f;
}

.site-header__logo--study {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__logo-sub {
  font-size: 10px;
  color: #2a2d2a;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
  border-left: 1px solid rgba(42, 45, 42, 0.2);
  padding-left: 12px;
}

/* ============================================================
   ファーストビュー（セクション固有）
============================================================ */

.study-fv {
  margin: 0 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #acbb78 0%, #98c90d 100%);
}

/* ページ固有のボタン色 */
.study-fv__btn--dark {
  background: #3d6821;
  color: #fff;
}

.study-fv__btn--dark:hover {
  opacity: 0.85;
}


/* figure-number-wrap */
.study-fv__figure-number-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-direction: column;
}

/* study固有：figure colors は白（共通の#ffee9dを上書き） */
.study-fv .svc-fv__figure-label,
.study-fv .svc-fv__figure-number,
.study-fv .svc-fv__figure-unit {
  color: #fff;
}

/* ============================================================
   二カラムレイアウト
============================================================ */

.study-sidebar {
  padding: 20px;
  position: sticky;
  top: 80px;
}

/* ============================================================
   about（irohana studyとは） — study固有セクション
============================================================ */

.study-about {
  padding: 100px 0;
  background: #fff;
}

/* ---- ラベル（study は黒・異なる letter-spacing） ---- */
.study-about .svc-about__label {
  color: #2a2d2a;
  text-align: center;
  margin: 0 0 20px;
}

/* ---- 見出しブロック ---- */
.study-about__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  margin-bottom: 60px;
}

/* ---- study about アクセント（緑・下線） ---- */
.study-about .svc-about__headline-accent {
  color: #558b2f;
  text-decoration: underline;
  text-decoration-color: #558b2f;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

/* ---- コンテンツ（画像＋リスト） ---- */
.study-about__body {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* ---- 左：ビジュアル ---- */
.study-about__visual {
  flex: 0 0 58%;
  position: relative;
}

.study-about__hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ---- 右：チェックリスト ---- */
.study-about__list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.study-about__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(210, 204, 163, 0.3);
  border: 1px solid #d2cca3;
  border-radius: 4px;
  padding: 8px 11px;
}

.study-about__check {
  flex-shrink: 0;
}

.study-about__item-text {
  font-size: 16px;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
  white-space: nowrap;
}

.study-about__item-text strong {
  font-weight: 700;
}

/* ============================================================
   特徴（svc-about パターンに相当するカードグリッド）
============================================================ */

.study-feature {
  padding: 100px 0;
  background: #fff;
}

/* ヘッダー固有要素 */
.study-feature__label {
  font-weight: 700;
  font-size: 14px;
  color: #558b2f;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ---- study feature アクセント（緑・下線） ---- */
.study-feature .svc-feature__headline-accent {
  color: #558b2f;
  text-decoration: underline;
  text-decoration-color: #558b2f;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* カード背景色 */
.study-feature .svc-about__card {
  background: #afc666;
}

/* ============================================================
   中間CTA（カード背景グラデーション上書き）
============================================================ */

.study-cta-mid {
  padding: 0 0 80px;
  background: #fff;
}

.study-cta-mid .svc-cta-mid__card {
  background: linear-gradient(90deg, #98c90d 0%, #558b2f 100%);
}

/* ============================================================
   課題と解決
============================================================ */

.study-sol {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, #f2f5ed 31%);
}


/* アイテム固有要素 */
.study-sol .svc-sol__item {
  border: 1px solid rgba(85, 139, 47, 0.1);
  border-top: 3px solid #558b2f;
}

.study-sol__item-label {
  display: flex;
  align-items: center;
  gap: 10px;
}


.study-sol .svc-sol__item-img img {
  border: 1px solid rgba(85, 139, 47, 0.1);
}

.study-sol .svc-sol__badge {
  border: 1px solid rgba(85, 139, 47, 0.5);
}

/* ============================================================
   機能（svc-feature パターンに相当するアイコンカードグリッド）
============================================================ */

.study-func {
  padding: 100px 0;
  background: #fff;
}

/* ============================================================
   オンラインレッスン — study固有セクション
============================================================ */

.study-lesson {
  padding: 100px 0;
  background: #fff;
}

/* ---- ヘッダー ---- */
.study-lesson__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 60px;
}

/* ---- 全体レイアウト ---- */
.study-lesson__layout {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* ---- 左カード（アプリのみ） ---- */
.study-lesson__main-card {
  flex: 0 0 340px;
  border: 2px solid #558b2f;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* ---- プラスアイコン ---- */
.study-lesson__plus {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- 右：オプション破線ボックス ---- */
.study-lesson__options {
  flex: 1;
  border: 1px dashed #558b2f;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0;
  gap: 0;
}

/* ---- オプションカード並び ---- */
.study-lesson__options-cards {
  flex: 1;
  display: flex;
  gap: 16px;
}

.study-lesson__option-card {
  flex: 1;
  background: #f6f6f6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- カードタブ（ヘッダー） ---- */
.study-lesson__card-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
}

.study-lesson__card-tab--active {
  background: rgba(85, 139, 47, 0.1);
  border-bottom: 2px solid #558b2f;
  color: #558b2f;
}

.study-lesson__card-tab--grey {
  background: #888e91;
  color: #fff;
}

/* ---- カード本体 ---- */
.study-lesson__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 24px 20px;
  text-align: center;
}

.study-lesson__app-icon {
  width: 80px;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.study-lesson__app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.study-lesson__plan-name {
  font-weight: 700;
  font-size: 26px;
  color: #2a2d2a;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0;
}

/* 月N回 / 週N回 テキスト */
.study-lesson__freq {
  font-weight: 700;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
}

.study-lesson__freq-unit {
  font-size: 20px;
}

.study-lesson__freq-num {
  font-size: 30px;
}

.study-lesson__freq-label {
  font-weight: 700;
  font-size: 20px;
  color: #2a2d2a;
  letter-spacing: 0.06em;
  margin: 0;
}

/* タグピル */
.study-lesson__tag {
  display: inline-block;
  border: 1px solid rgba(42, 45, 42, 0.2);
  border-radius: 50px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 11px;
  color: rgba(42, 45, 42, 0.7);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---- 区切り線 ---- */
.study-lesson__divider {
  border: none;
  border-top: 1px solid rgba(42, 45, 42, 0.12);
  margin: 0;
}

/* ---- フィーチャーリスト ---- */
.study-lesson__features {
  list-style: none;
  padding: 20px 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.study-lesson__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2a2d2a;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.study-lesson__feature svg {
  flex-shrink: 0;
}

.study-lesson__feature--inactive {
  opacity: 0.3;
}

/* ---- 吹き出しバナー ---- */
.study-lesson__banner {
  position: relative;
  background: #558b2f;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px 20px;
  border-radius: 20px;
  margin: 20px auto 0;
  width: fit-content;
  align-self: center;
  margin-bottom: -1px;
}

.study-lesson__banner::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 9px solid #558b2f;
}

/* ============================================================
   講師紹介 — study固有セクション
============================================================ */

.study-instructor {
  padding: 100px 0;
  background: #fff;
}

.study-instructor .svc-section__headline {
  text-align: center;
  margin-bottom: 40px;
}

.study-instructor__rule {
  border: none;
  border-top: 1px solid rgba(42, 45, 42, 0.12);
  margin: 0 0 60px;
}

/* ---- 2カラムレイアウト ---- */
.study-instructor__layout {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

/* ---- 左：プロフィール ---- */
.study-instructor__profile {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.study-instructor__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eee2;
  flex-shrink: 0;
}

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

.study-instructor__name {
  font-weight: 700;
  font-size: 18px;
  color: #2a2d2a;
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.study-instructor__role {
  font-size: 13px;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ---- 右：詳細 ---- */
.study-instructor__detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.study-instructor__catch {
  font-weight: 700;
  font-size: 24px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.study-instructor__catch-green {
  color: #558b2f;
}

/* ---- ブロック（経歴・資格 / レッスン実績） ---- */
.study-instructor__block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.study-instructor__block-label {
  font-weight: 700;
  font-size: 13px;
  color: #2a2d2a;
  letter-spacing: 0.06em;
  margin: 0;
}

.study-instructor__card {
  background: #f2f5ed;
  border-radius: 10px;
  padding: 30px;
}

/* ---- チェックリスト ---- */
.study-instructor__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.study-instructor__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #2a2d2a;
  line-height: 1.4;
  letter-spacing: 0.06em;
  font-feature-settings: "palt" 1;
}

.study-instructor__item svg {
  flex-shrink: 0;
}

/* ---- 国籍テキスト ---- */
.study-instructor__nationalities {
  font-size: 14px;
  color: #2a2d2a;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ============================================================
   受験生の声 — study固有セクション
============================================================ */

.study-testimonial {
  padding: 100px 0;
  background: #fff;
}

/* ---- ヘッダー ---- */
.study-testimonial__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  margin-bottom: 60px;
}

.study-testimonial__desc {
  max-width: 576px;
}

/* ---- カードグリッド ---- */
.study-testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.study-testimonial__card {
  background: #fff;
  border: 1px solid rgba(42, 45, 42, 0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---- カード上部（アバター＋名前＋タグ） ---- */
.study-testimonial__card-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.study-testimonial__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
  background: #eef0ee;
}

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

.study-testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 4px;
}

.study-testimonial__name {
  font-weight: 700;
  font-size: 14px;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

.study-testimonial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.study-testimonial__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0ee;
  border: 1px solid #e2e3e2;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 12px;
  color: #2a2d2a;
  letter-spacing: 0.05em;
  line-height: 1.75;
  font-feature-settings: "palt" 1;
  white-space: nowrap;
}

/* ---- 引用テキスト ---- */
.study-testimonial__quote {
  flex: 1;
  font-weight: 700;
  font-size: 18px;
  color: #2a2d2a;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ---- もっとみるボタン ---- */
.study-testimonial__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 50px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid #558b2f;
  border-radius: 5px;
  font-weight: 500;
  font-size: 15px;
  color: #558b2f;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  transition: var(--transition-opacity);
}

.study-testimonial__btn:hover {
  opacity: 0.75;
}

/* ============================================================
   よくある質問（study カラー上書き）
============================================================ */

.study-faq .biz-faq__q-label {
  color: #558b2f;
}

.study-faq .biz-faq__toggle {
  background: #558b2f;
}

/* ============================================================
   受験生の声 ポップアップ
============================================================ */

.study-voice-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.study-voice-modal[hidden] {
  display: none;
}

.study-voice-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 45, 42, 0.6);
  cursor: pointer;
}

.study-voice-modal__box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: min(680px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.study-voice-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-opacity);
  z-index: 1;
}

.study-voice-modal__close:hover {
  opacity: 0.7;
}

.study-voice-modal__inner {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* モーダル内ヘッダー（写真＋名前＋タグ） */
.study-voice-modal__head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.study-voice-modal__photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  background: #eef0ee;
}

.study-voice-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.study-voice-modal__profile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.study-voice-modal__name {
  font-weight: 700;
  font-size: 16px;
  color: #2a2d2a;
  letter-spacing: 0.05em;
  margin: 0;
}

/* 引用テキスト */
.study-voice-modal__quote {
  font-weight: 700;
  font-size: 18px;
  color: #2a2d2a;
  line-height: 1.6;
  letter-spacing: 0.05em;
  padding: 20px;
  background: #f2f5ed;
  border-left: 3px solid #558b2f;
  border-radius: 0 5px 5px 0;
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* 本文 */
.study-voice-modal__content {
  font-size: 15px;
  color: #2a2d2a;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
}

.study-voice-modal__content p {
  margin: 0 0 1em;
}

.study-voice-modal__content p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CTA（study カラー上書き）
============================================================ */

.study-cta .biz-cta__download {
  background: linear-gradient(90deg, #98c90d 0%, #558b2f 100%);
}

.study-cta .biz-cta__col {
  background: linear-gradient(135deg, #558b2f 0%, #3d6821 100%);
}

/* ============================================================
   フッター（study カラー上書き）
============================================================ */

.site-footer--study {
  background: #e8eee2;
}

.footer__cta-btn--study-primary {
  background: #558b2f;
}

/* ============================================================
   Tablet  (max-width: 1199px)
============================================================ */
@media (max-width: 1199px) {
  .study-testimonial__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .study-lesson__layout {
    flex-direction: column;
  }

  .study-lesson__main-card {
    flex: none;
    width: 100%;
  }

  .study-lesson__plus {
    flex: none;
    height: 40px;
    transform: rotate(90deg);
  }

  .study-lesson__options {
    width: 100%;
  }

  .study-about__body {
    flex-direction: column;
  }

  .study-about__visual {
    flex: none;
    width: 70%;
    margin: 0 auto;
  }

  .study-about__item-text {
    font-size: 15px;
  }
}

/* ============================================================
   Mobile  (max-width: 767px)
============================================================ */
@media (max-width: 767px) {

  .page-so-study,
  .page-ao-study {
    padding-top: 72px;
  }

  /* FV */
  .study-fv {
    margin: 0 12px;
  }


  /* Sol */
  .study-sol {
    padding: 60px 0;
  }

  /* About */
  .study-about {
    padding: 60px 0;
  }

  .study-about__head {
    margin-bottom: 40px;
  }

  .study-about__body {
    flex-direction: column;
    font-size: 14px;
  }

  .study-about__visual {
    flex: none;
    width: 100%;
  }

  /* Feature (card grid) */
  .study-feature {
    padding: 60px 0;
  }

  /* CTA mid */
  .study-cta-mid .svc-cta-mid__headline {
    font-size: 22px;
  }

  /* Func (icon card grid) */
  .study-func {
    padding: 60px 0;
  }

  /* Lesson */
  .study-lesson {
    padding: 60px 0;
  }

  .study-lesson__layout {
    flex-direction: column;
  }

  .study-lesson__main-card {
    flex: none;
    width: 100%;
  }

  .study-lesson__plus {
    flex: none;
    height: 32px;
    transform: rotate(90deg);
  }

  /* Instructor */
  .study-instructor {
    padding: 60px 0;
  }

  .study-instructor__layout {
    flex-direction: column;
    gap: 40px;
  }

  .study-instructor__profile {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  /* Testimonial */
  .study-testimonial {
    padding: 60px 0;
  }

  .study-testimonial__grid {
    grid-template-columns: 1fr;
  }

  /* Layout sidebar */
  .study-layout {
    flex-direction: column;
  }

  .study-layout__sidebar {
    display: none;
  }

  /* FAQ */
  .so-faq {
    padding: 60px 0;
  }

  .biz-faq__toggle {
    width: 20px;
    height: 20px;
  }

  .biz-faq__toggle::before {
    width: 10px;
  }

  .biz-faq__toggle::after {
    height: 10px;
  }

  .biz-faq__q-text {
    font-size: 14px;
  }
}