/* =====================================================
 * clever テーマ共通ベーススタイル
 * 独自 CSS カスタムプロパティ定義から始まる。
 * ===================================================== */

/* 管理バーによる html margin-top を打ち消す（show_admin_bar フィルターの保険） */
html.admin-bar {
  margin-top: 0 !important;
}

/* ─── CSS カスタムプロパティ ──────────────────────────────── */
:root {
  /* Color */
  --clever-color-primary:    #1c4660;
  --clever-color-bg-light:   #f1f8fa;
  --clever-color-border:     #e5e5e5;
  --clever-color-text-muted: #888;
  --clever-color-white:      #fff;

  /* Font */
  --clever-font-sans:  'Noto Sans JP', sans-serif;
  --clever-font-serif: 'Noto Serif JP', serif;
  --clever-font-en:    'Oooh Baby', cursive;
  --clever-font-zen:   'Zen Antique', serif;

  /* Layout */
  --clever-container-width:       1160px;
  --clever-container-padding:     32px;
  --clever-container-padding-sp:  16px;
  --clever-header-height:         72px;
  --clever-header-height-sp:      60px;

  /* レガシー互換変数 (旧テーマ由来テンプレートが参照する CSS 変数の固定値定義) */
  --color_main:       #1c4660;
  --color_main_text:  #fff;
  --color_link:       #1c4660;
  --container_size:   1160px;
}

/* ─── リセット ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--clever-font-sans);
  color: var(--clever-color-primary);
  background: var(--clever-color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ─── コンテナ ─────────────────────────────────────────── */
.clever-container {
  max-width: var(--clever-container-width);
  margin-inline: auto;
  padding-inline: var(--clever-container-padding);
}

@media (max-width: 599px) {
  .clever-container {
    padding-inline: var(--clever-container-padding-sp);
  }
}

/* ─── レガシー .l-container 互換 ──────────────────────────── */
/* front-page.php 等で .l-container クラスが残っているため、
 * 同等のコンテナスタイルを独自定義として提供する */
.l-container {
  max-width: var(--clever-container-width);
  margin-inline: auto;
  padding-inline: var(--clever-container-padding);
}

@media (max-width: 599px) {
  .l-container {
    padding-inline: var(--clever-container-padding-sp);
  }
}

/* ─── ページ全体ラッパー (ヘッダー→フッター 単一グラデーション) ─── */
/* document 全長に渡って 1 本のグラデーションを敷く。
   background-attachment は default (scroll) のままにし、ドキュメント全高で
   #f1f8fa → #ffffff が単調に流れる状態を作る。
   background-attachment: fixed にするとビューポート相対になり、l-container
   周辺で「セクション境界で色が切れて見える」現象が起きる。 */
html {
  background: linear-gradient(180deg, #f1f8fa 0%, #ffffff 100%);
  min-height: 100%;
}
body {
  background: transparent;
  min-height: 100vh;
}

.clever-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ─── メインコンテンツ ─────────────────────────────────── */
#clever-content {
  flex: 1;
  overflow-x: clip;
}

/* ─── フローティングボタン ─────────────────────────────── */
.floating-buttons-wrap {
  position: fixed;
  right: 0;
  top: 240px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 90;
}

.floating-button {
  width: 160px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.floating-button:hover {
  opacity: 0.85;
}

.floating-siryou {
  background: linear-gradient(to left, #ff9e42, #ffc943);
}

.floating-otoiawase {
  background: linear-gradient(to left, #848cff, #1a9def);
}

.floating-button i {
  font-size: 22px;
  display: block;
}

@media (max-width: 599px) {
  body:has(.floating-buttons-wrap) {
    padding-bottom: 84px;
  }
  .floating-buttons-wrap {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 12px;
    padding: 8px 12px;
    background: transparent;
    box-shadow: none;
  }
  .floating-button {
    width: auto;
    flex: 1 1 0;
    height: 56px;
    gap: 6px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: none;
  }
  .floating-button i {
    font-size: 16px;
  }
}

@media (min-width: 600px) and (max-width: 1100px) {
  body:has(.floating-buttons-wrap) {
    padding-bottom: 96px;
  }
  .floating-buttons-wrap {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 12px;
    padding: 10px 20px;
    background: transparent;
    box-shadow: none;
  }
  .floating-button {
    width: auto;
    flex: 1 1 0;
    height: 68px;
    flex-direction: row;
    gap: 10px;
    border-radius: 12px;
    box-shadow: none;
    font-size: 16px;
  }
}

/* ─── フレックスカラム ─────────────────────────────────── */
.clever-cols {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.clever-col {
  min-width: 0;
  width: var(--col-w-pc, auto);
}

@media (max-width: 767px) {
  .clever-cols {
    flex-direction: column;
    gap: 24px;
  }
  .clever-col {
    width: 100% !important;
  }
}

/* ─── ユーティリティ ─────────────────────────────────── */
.clever-pc-only { display: block; }
.clever-sp-only { display: none; }

@media (max-width: 767px) {
  .clever-pc-only { display: none; }
  .clever-sp-only { display: block; }
}

/* ─── セクション見出し (en-title) ────────────────────── */
.aoi-section-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--clever-color-primary);
  margin-top: 50px;
  margin-bottom: 60px;
  line-height: 1.5;
  position: relative;
  padding-top: 48px;
}

.aoi-section-heading::before {
  content: '';
  display: block;
  font-family: var(--clever-font-en);
  font-size: 36px;
  font-weight: 400;
  color: #17bfbd;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1.2;
}

.aoi-section-heading--left {
  text-align: left;
  padding-top: 48px;
}

.aoi-section-heading--left::before {
  left: 0;
  transform: none;
}

/* 各セクションの英語タイトル */
.en-title-start-your-story::before { content: 'Start your story'; }
.en-title-feature::before          { content: 'Feature'; }
.en-title-lesson::before           { content: 'Lesson'; }
.en-title-teachers::before         { content: 'Teachers'; }
.en-title-voice::before            { content: 'Voice'; }
.en-title-news::before             { content: 'News'; }

/* ─── 丸画像 ─────────────────────────────────────────── */
.aoi-image-round img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* ─── 白いカード (.aoi-white-box) ────────────────────── */
.aoi-white-box {
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
}

.aoi-white-box__body {
  padding: 24px;
  flex: 1;
}

/* ─── セクションタイトル (.aoi-section-title-wrap) ────── */
.aoi-section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
  margin: 70px 0;
}

.aoi-section-title {
  margin: 0;
  padding: 0;
  color: #1c4660;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
}

/* 英語サブタイトル (Oooh Baby / #17bfbd) */
.aoi-section-en {
  font-family: 'Oooh Baby', cursive;
  font-size: 24px;
  color: #17bfbd;
  line-height: 1;
  margin: 0;
  font-style: italic;
}

/* ─── フレックスカラム (.aoi-cols / .aoi-col) ────────── */
.aoi-cols {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.aoi-col {
  min-width: 0;
}

@media (max-width: 599px) {
  .aoi-cols {
    flex-direction: column;
    gap: 24px;
  }
}

/* ─── PC スペーサー ────────────────────────────────────── */
.aoi-spacer-pc {
  height: 80px;
}

@media (max-width: 599px) {
  .aoi-spacer-pc {
    display: none;
  }
}

/* ─── テキスト装飾 ─────────────────────────────────────── */
/* 筆記体フォント (Yuji Mai) */
.aoi-pilgi-font {
  font-family: 'Yuji Mai', 'Klee One', serif;
  font-weight: 400;
  color: #17bfbd;
}

/* 大きな数字 */
.aoi-num {
  font-size: 40px;
  line-height: 1;
}

/* ─── 受講生ページ共通 (.aoi-page-mypage) ───────────────────────────────── */

.aoi-page-mypage {
  background: #f1f8fa;
}

/* ─── ログイン・ログイン済みリダイレクト (jukousei-login) ──────────────── */

.aoi-page-mypage .aoi-mypage-body {
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  justify-content: center;
}

.aoi-page-mypage .aoi-mypage-body .aoi-login-card,
.aoi-page-mypage .aoi-mypage-body .aoi-mypage-welcome {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 40px 36px;
}

.aoi-page-mypage .aoi-mypage-body .aoi-mypage-welcome,
.aoi-page-mypage .aoi-mypage-body .aoi-mypage-welcome.aoi-white-box {
  text-align: center;
}

.aoi-page-mypage .aoi-login-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1c4660;
  text-align: center;
  margin: 0 0 8px;
}

.aoi-page-mypage .aoi-login-card__desc {
  font-size: 13px;
  color: #797979;
  text-align: center;
  margin: 0 0 24px;
}

.aoi-page-mypage .aoi-login-card__error {
  font-size: 13px;
  color: #c0392b;
  background: #fdf0ee;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  text-align: center;
}

.aoi-page-mypage .aoi-login-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.aoi-page-mypage .aoi-login-form__row label {
  font-size: 13px;
  font-weight: 500;
  color: #1c4660;
}

.aoi-page-mypage .aoi-login-form__row input[type="text"],
.aoi-page-mypage .aoi-login-form__row input[type="password"] {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d0e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1c4660;
  font-family: inherit;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.aoi-page-mypage .aoi-login-form__row--remember {
  flex-direction: row;
  align-items: center;
}

.aoi-page-mypage .aoi-login-form__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.aoi-page-mypage .aoi-login-form__submit {
  margin-top: 8px;
}

.aoi-page-mypage .aoi-login-form__submit button {
  width: 100%;
  height: 48px;
  background: #1c4660;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.1em;
}

.aoi-page-mypage .aoi-login-card__forgot {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.aoi-page-mypage .aoi-login-card__forgot a {
  color: #1c4660;
}

@media (max-width: 599px) {
  .aoi-page-mypage .aoi-mypage-body .aoi-login-card,
  .aoi-page-mypage .aoi-mypage-body .aoi-mypage-welcome {
    padding: 24px 20px;
  }
}

/* ─── マイページ: インフォメーション (Figma 1620:9392) ──────────────── */
.aoi-mypage-information {
  background: #f1f8fa;
  display: flex;
  justify-content: center;
  padding: 74px 20px;
}

.aoi-mypage-information__inner {
  width: 100%;
  max-width: 832px;
}

.aoi-mypage-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.aoi-mypage-card__heading {
  font-size: 20px;
  font-weight: 700;
  color: #1c4660;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #17bfbd;
  line-height: 1.8;
  min-height: 60px;
  display: flex;
  align-items: center;
  margin: 0;
}

.aoi-mypage-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aoi-mypage-news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 30px;
}

.aoi-mypage-news-item__date {
  font-size: 12px;
  font-weight: 500;
  color: #1c4660;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.aoi-mypage-news-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1c4660;
  color: #fff;
  border-radius: 24px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.aoi-mypage-news-item__text {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.76;
}

.aoi-mypage-news-item__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 10px;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2010'%3E%3Cpath%20d='M0%205h18M13%200l5%205-5%205'%20stroke='%231c4660'%20stroke-width='1.5'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.aoi-mypage-goal {
  background: #f1f8fa;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aoi-mypage-goal__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aoi-mypage-goal__header i {
  color: #17bfbd;
  font-size: 24px;
}

.aoi-mypage-goal__title {
  font-size: 18px;
  font-weight: 700;
  color: #17bfbd;
  letter-spacing: 0.1em;
  margin: 0;
}

.aoi-mypage-goal__text {
  font-size: 14px;
  font-weight: 500;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 599px) {
  .aoi-mypage-information {
    padding: 40px 16px;
  }
  .aoi-mypage-card {
    padding: 24px 20px;
  }
  .aoi-mypage-news-item {
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 8px;
  }
  .aoi-mypage-news-item__text {
    font-size: 14px;
    width: 100%;
  }
  .aoi-mypage-news-item__arrow {
    display: none;
  }
  .aoi-mypage-goal {
    padding: 20px;
  }
}

/* ─── マイページ: 共通セクション見出し ─────────────────────────────── */
.aoi-mypage-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.aoi-mypage-section-heading__ja {
  font-size: 26px;
  font-weight: 700;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.aoi-mypage-section-heading__en {
  font-family: 'Oooh Baby', cursive;
  font-size: 24px;
  color: #17bfbd;
  line-height: 1;
  margin: 0;
}

/* ─── マイページ: 動画講義 (Figma 1620:9409) ──────────────────────── */
.aoi-mypage-video {
  background: linear-gradient(168.36deg, #f1f8fa 40.8%, #ffffff 134.9%);
  padding: 74px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 74px;
}

.aoi-mypage-video__inner {
  width: 100%;
  max-width: 1212px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.aoi-mypage-tabs {
  background: #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.aoi-mypage-tab {
  flex: 1 1 0;
  min-width: 0;
  height: 76px;
  background: #e5e5e5;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #1c4660;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  line-height: 1.4;
  padding: 8px 16px;
  transition: background 0.2s;
}

@media (min-width: 600px) and (max-width: 900px) {
  .aoi-mypage-tabs {
    flex-wrap: wrap;
  }
  .aoi-mypage-tab {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

.aoi-mypage-tab.is-active,
.aoi-mypage-tab:hover {
  background: #fff;
}

.aoi-mypage-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.aoi-mypage-tab-panel[hidden] {
  display: none;
}

.aoi-mypage-course {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.aoi-mypage-course__header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.aoi-mypage-course__accent {
  background: #17bfbd;
  width: 8px;
  height: 66px;
  flex-shrink: 0;
}

.aoi-mypage-course__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aoi-mypage-course__name {
  font-size: 22px;
  font-weight: 700;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.aoi-mypage-course__desc {
  font-size: 12px;
  font-weight: 500;
  color: #797979;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.aoi-mypage-article-grid {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.aoi-mypage-article-card {
  width: 380px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.aoi-mypage-article-card__thumb {
  height: 226px;
  background: #1e293b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aoi-mypage-article-card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.aoi-mypage-article-card__duration {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  z-index: 1;
}

.aoi-mypage-article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.aoi-mypage-article-card__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.aoi-mypage-article-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.aoi-mypage-article-card__desc {
  font-size: 12px;
  font-weight: 500;
  color: #797979;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.aoi-mypage-article-card__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.aoi-mypage-article-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: 1px solid #1c4660;
  border-radius: 10px;
  color: #1c4660;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.aoi-mypage-article-card__btn:hover {
  background: #1c4660;
  color: #fff;
}

.aoi-mypage-article-card__note {
  font-size: 12px;
  color: #797979;
  text-align: center;
  margin: 0;
}

/* ─── 動画カード play ボタン ────────────────────────────────────────────────── */
.aoi-mypage-article-card__thumb {
  cursor: pointer;
}
.aoi-mypage-article-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.aoi-mypage-article-card__play:hover {
  background: rgba(0,0,0,0.25);
}
.aoi-mypage-article-card__play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.15s, background 0.15s;
  padding-left: 3px; /* fa-play 光学調整 */
}
.aoi-mypage-article-card__play:hover .aoi-mypage-article-card__play-icon {
  transform: scale(1.1);
  background: #fff;
}

/* ─── 動画モーダル ─────────────────────────────────────────────────────────── */
.aoi-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.aoi-video-modal.is-open {
  display: flex;
}
.aoi-video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}
.aoi-video-modal__box {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,0.7);
  animation: aoi-modal-in 0.22s cubic-bezier(0.22,1,0.36,1);
}
@keyframes aoi-modal-in {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.aoi-video-modal__header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.aoi-video-modal__title {
  flex: 1;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0;
  word-break: break-all;
}
.aoi-video-modal__close {
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  margin-top: -2px;
}
.aoi-video-modal__close:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.aoi-video-modal__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 28px;
}
.aoi-video-modal__player {
  padding: 20px;
}
.aoi-video-modal__player-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.aoi-video-modal__player-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.aoi-video-modal__no-video {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

@media (max-width: 599px) {
  .aoi-video-modal {
    padding: 12px;
  }
  .aoi-video-modal__header {
    padding: 20px 20px 16px;
  }
  .aoi-video-modal__player {
    padding: 12px;
  }
}

@media (max-width: 599px) {
  .aoi-mypage-video {
    padding: 40px 16px;
    gap: 40px;
  }
  .aoi-mypage-tabs {
    flex-direction: column;
    gap: 4px;
  }
  .aoi-mypage-tab {
    height: 56px;
    font-size: 14px;
    width: 100%;
  }
  .aoi-mypage-article-grid {
    flex-direction: column;
    gap: 20px;
  }
  .aoi-mypage-article-card {
    width: 100%;
  }
}

/* ─── マイページ: サポート (Figma 1620:9453) ──────────────────────── */
.aoi-mypage-support {
  background: linear-gradient(-18.94deg, #f1f8fa 32.8%, #ffffff 118.4%);
  padding: 64px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.aoi-mypage-support__inner {
  width: 100%;
  max-width: 832px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.aoi-mypage-support-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
  position: relative;
}

.aoi-mypage-support-card__topbar {
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.aoi-mypage-support-card--blue .aoi-mypage-support-card__topbar {
  background: linear-gradient(to right, #bfdbfe, #60a5fa, #bfdbfe);
}

.aoi-mypage-support-card--orange .aoi-mypage-support-card__topbar {
  background: linear-gradient(to left, #ff9e42, #ffc943);
}

.aoi-mypage-support-card__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.aoi-mypage-support-card__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.aoi-mypage-support-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1c4660;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin: 0;
}

.aoi-mypage-support-card__desc {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

/* 送信ボタン */
.aoi-mypage-support-card__form input[type="submit"],
.aoi-mypage-support-card__form .wpcf7-submit {
  width: 243px;
  height: 50px;
  background: #1c4660;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.05em;
}

/* FAQ ブロック */
.aoi-mypage-support-faq {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.aoi-mypage-support-faq__title {
  font-size: 14px;
  font-weight: 700;
  color: #1c4660;
  margin: 0;
}

.aoi-mypage-support-faq__link {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  background: linear-gradient(to left, #848cff, #1a9def);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aoi-mypage-support-faq__link i {
  background: linear-gradient(to left, #848cff, #1a9def);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SP */
@media (max-width: 599px) {
  .aoi-mypage-support {
    padding: 40px 16px 32px;
    gap: 40px;
  }
  .aoi-mypage-support-card__content {
    padding: 28px 20px;
  }
}
