@charset "UTF-8";
/* ==========================================
   オンライン英会話「講師」ページ 専用スタイル
   設置場所：/assets/aeon-managed/style/online-teacher.css
   講師ページ改修（261118）
   ========================================== */

/* ---------- ページ共通（.aeon-lp-container 配下） ---------- */
/* 「イーオン講師のここがすごい」配下の追加スタイル */
.aeon-lp-container .m-link--down::after {
  transform: rotate(90deg);
}
/* 口コミの「すべて表示」（チェックボックス＋CSSで開閉） */
.aeon-lp-container .u-panel-profile__moreCheckbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.aeon-lp-container .u-panel-profile__moreSummary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--COLOR_BRAND_PRIMARY,#2b5686);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 0 4px;
  position: relative;
  z-index: 1;
}
.aeon-lp-container .u-panel-profile__moreSummary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.aeon-lp-container .u-voice-simple {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px 20px;
  background: #fff;
  box-shadow: none;
}
.aeon-lp-container .u-voice-simple__meta {
  font-size: .8125rem;
  color: #6b7280;
  margin-top: 8px;
}
.aeon-lp-container .u-review-more:not(:has(.u-panel-profile__moreCheckbox:checked)) .m-card-list > .m-card:nth-child(n+2) {
  display: none;
}
.aeon-lp-container .u-review-more .u-more__open {
  display: none;
}
.aeon-lp-container .u-review-more:has(.u-panel-profile__moreCheckbox:checked) .u-more__open {
  display: inline;
}
.aeon-lp-container .u-review-more:has(.u-panel-profile__moreCheckbox:checked) .u-more__closed {
  display: none;
}
.aeon-lp-container .u-review-more:has(.u-panel-profile__moreCheckbox:checked) .u-panel-profile__moreSummary::after {
  transform: rotate(-135deg);
}

/* ---------- 講師紹介（もっと見る・日本人講師・余白調整） ---------- */
/* 講師ページ改修（261116）：「もっと見る」共通。表示件数は data-* 属性で制御
   data-init-pc / data-init-sp：最初に表示する人数（all＝全員）
   data-step-pc / data-step-sp：「もっと見る」1回で追加する人数
   data-max-pc  / data-max-sp ：表示できる上限（省略時は全員） */
.js-teacherMore .u-panel-profile__item[hidden]{display:none !important;}
.u-teacherMore__button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;max-width:320px;margin:24px auto 0;padding:12px 16px;border:2px solid var(--COLOR_BRAND_PRIMARY,#2b5686);border-radius:999px;background:#fff;color:var(--COLOR_BRAND_PRIMARY,#2b5686);font-family:inherit;font-weight:700;font-size:1rem;line-height:1.5;cursor:pointer;transition:background .2s,color .2s;}
.u-teacherMore__button::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);}
.u-teacherMore__button.is-close::after{transform:translateY(2px) rotate(-135deg);}
.u-teacherMore__button:hover{background:var(--COLOR_BRAND_PRIMARY,#2b5686);color:#fff;}
.u-teacherMore__button[hidden]{display:none !important;}
/* 「イーオンの講師紹介」見出し〜説明文の余白を「日本人講師も在籍」と同じにそろえる（261117） */
.u-heading-type2+.u-teacherIntro-lead{margin-top:24px !important;}
@media (min-width:768px){.u-heading-type2+.u-teacherIntro-lead{margin-top:40px !important;}}
/* JSが動く前・動かない環境でも初期表示数になるようCSSでも制御 */
@media (max-width:767px){
.u-teacherMore:not(.is-ready) .u-panel-profile__item:nth-child(n+3),
.u-jpTeacher-list:not(.is-ready) .u-panel-profile__item:nth-child(n+3){display:none !important;}
.u-jpTeacher-list .u-panel-profile__item:nth-child(n+6){display:none !important;}
}
@media (min-width:768px){
.u-teacherMore:not(.is-ready) .u-panel-profile__item:nth-child(n+6){display:none !important;}
.u-jpTeacher-list .js-teacherMore-button{display:none !important;}
}

/* ---------- 講師の強みサマリー（MV下・4ブロック） ---------- */
/* 講師ページ改修（261124）：「イーオン講師のここがすごい！」の要約（リンクなしの表示のみ） */
.u-teacherSummary{margin:32px 0 0;}
.u-teacherSummary__heading{margin:0 0 16px;text-align:center;font-weight:700;font-size:1.125rem;line-height:1.5;color:var(--COLOR_BRAND_PRIMARY,#2b5686);}
.u-teacherSummary__list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0;padding:0;list-style:none;}
.u-teacherSummary__item{margin:0;padding:0;}
.u-teacherSummary__card{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:16px 8px;border:1px solid #e3e6ea;border-radius:8px;background:#fff;text-align:center;}
.u-teacherSummary__label{font-size:.8125rem;font-weight:700;line-height:1.4;}
.u-teacherSummary__value{margin:4px 0;font-weight:700;font-size:1.125rem;line-height:1.2;color:var(--COLOR_BRAND_PRIMARY,#2b5686);}
.u-teacherSummary__num{font-size:2.25rem;line-height:1;}
.u-teacherSummary__value--text{display:flex;align-items:center;min-height:2.25rem;font-size:1.25rem;}
.u-teacherSummary__text{font-size:.75rem;line-height:1.5;}
.u-teacherSummary__note{margin-top:2px;font-size:.625rem;line-height:1.4;color:#6b7280;}
/* MV直下のサマリーの次に来る「イーオンの講師紹介」見出しは上余白を通常に戻す */
.u-teacherSummary+.u-heading-type2--top{margin-top:48px;}
@media (min-width:768px){
.u-teacherSummary{margin-top:48px;}
.u-teacherSummary__heading{margin-bottom:20px;font-size:1.375rem;}
.u-teacherSummary__list{grid-template-columns:repeat(4,1fr);gap:16px;}
.u-teacherSummary__card{padding:20px 12px;}
.u-teacherSummary__label{font-size:.875rem;}
.u-teacherSummary__num{font-size:2.75rem;}
.u-teacherSummary__value--text{min-height:2.75rem;font-size:1.5rem;}
.u-teacherSummary__text{font-size:.8125rem;}
.u-teacherSummary__note{font-size:.6875rem;}
.u-teacherSummary+.u-heading-type2--top{margin-top:64px;}
}

/* ---------- 講師ページ フェーズ2（261126）：講師4名固定＋講師紹介ページへのボタン ---------- */
/* PC：4名でも写真サイズは5カラムの頃と同じにして中央寄せ（SPは2カラムのまま） */
.u-panel-profile.u-teacherFixed{column-gap:24px;}
@media (min-width:768px){
.u-panel-profile.u-teacherFixed{grid-template-columns:repeat(4,calc((100% - 96px) / 5));justify-content:center;}
}
/* 講師紹介ページ（/online/teacher-list.html）へのボタン：紺ベタで無料体験ボタンと並ぶ存在感に */
.u-teacherListLink{display:flex;justify-content:center;margin-top:32px;}
.u-teacherListLink .u-teacherListLink__button,
.u-teacherListLink .u-teacherListLink__button:link,
.u-teacherListLink .u-teacherListLink__button:visited,
.u-teacherListLink .u-teacherListLink__button:hover,
.u-teacherListLink .u-teacherListLink__button:focus{text-decoration:none !important;}
.u-teacherListLink__button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:400px;min-height:64px;padding:10px 48px;border:2px solid var(--COLOR_BRAND_PRIMARY,#2b5686);border-radius:999px;background:var(--COLOR_BRAND_PRIMARY,#2b5686);color:#fff !important;font-weight:700;font-size:1.0625rem;line-height:1.4;box-shadow:0 3px 0 #1d3c5e;transition:background .2s,color .2s,transform .1s,box-shadow .1s;}
.u-teacherListLink__sub{font-size:.75rem;font-weight:700;opacity:.9;}
.u-teacherListLink__button::after{content:"";position:absolute;right:24px;top:50%;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateY(-50%) rotate(45deg);}
.u-teacherListLink__button:active{transform:translateY(2px);box-shadow:0 1px 0 #1d3c5e;}
@media (hover:hover){
.u-teacherListLink__button:hover{background:#fff;color:var(--COLOR_BRAND_PRIMARY,#2b5686) !important;}
}

/* ---------- 講師カード（261126）：teacher-list.html と同じ「プロフィールを見る」デザイン ----------
   ※フェーズ2の新しいHTML（.u-teacherFixed）にだけ効くよう限定。旧HTMLの見た目には影響しない
   ・写真／名前／「プロフィールを見る」どこを押しても詳細ダイアログが開く
     （名前ボタンの ::after をカード全面に広げてクリック範囲にしている）
   ・ホバーで「プロフィールを見る」が塗りに変わる（写真は動かさない） */
.u-teacherFixed .u-panel-profile__item {
  position: relative;
}
.u-teacherFixed .u-panel-profile__title {
  text-align: center;
}
.u-teacherFixed .u-panel-profile__title-item {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
/* 既存の別窓風アイコンは非表示 */
.u-teacherFixed .u-panel-profile__title-item::before {
  display: none;
}
/* カード全体をクリック範囲にする */
.u-teacherFixed .u-panel-profile__title-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 8px;
}
/* サイト共通のホバー下線（::after）が写真の上に線として出るのを打ち消す */
.u-teacherFixed .u-panel-profile__title-item::after,
.u-teacherFixed .u-panel-profile__title-item:hover::after {
  width: auto !important;
  height: auto !important;
  background: none !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}
.u-teacherFixed .u-panel-profile__title-item:focus-visible {
  outline: none;
}
.u-teacherFixed .u-panel-profile__title-item:focus-visible::after {
  outline: 3px solid var(--COLOR_BRAND_PRIMARY, #2b5686);
  outline-offset: 4px;
}
.u-profileCard__name {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}
.u-profileCard__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 14px 5px 16px;
  border: 1px solid var(--COLOR_BRAND_PRIMARY, #2b5686);
  border-radius: 999px;
  background: #fff;
  color: var(--COLOR_BRAND_PRIMARY, #2b5686);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background .2s, color .2s;
}
.u-profileCard__more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.u-teacherFixed .u-panel-profile__media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.u-teacherFixed .u-panel-profile__media img {
  display: block;
}
@media (hover: hover) {
  .u-teacherFixed .u-panel-profile__item:hover .u-profileCard__more {
    background: var(--COLOR_BRAND_PRIMARY, #2b5686);
    color: #fff;
  }
}
@media (min-width: 768px) {
  .u-profileCard__more {
    font-size: .8125rem;
  }
}
