/**
 * Fixed UI and footer bundle
 */

/* ==========================================================================
   画面右固定ボタン（PC・TB のみ）Figma 313-10026 / 571-4005 / 417-9625 / 800-4330
   ビューポートに対して固定（スクロールしても位置不変）。
   通常は本文より前面(9500)。TB/SP ドロワー展開時はヘッダー(z-index 上げ)配下のメニューが上になる。
   ========================================================================== */
.senmon-school-fixed-side-buttons {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 0;
  padding-right: env(safe-area-inset-right, 0);
  width: max-content;
  max-width: 100%;
  z-index: 9500;
  pointer-events: none;
  transition: transform 0.4s ease;
}

/* ヘッダーが開いた時にサイドメニューも追従して移動 */
body.is-drawer-open .senmon-school-fixed-side-buttons {
  transform: translateY(400px);
}

.senmon-school-fixed-side-buttons__btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 100px;
  padding: 8px 32px;
  background-color: var(--senmon-color-secondary-70);
  border: 3px solid var(--senmon-color-white);
  border-right: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 4px 0 var(--senmon-shadow-secondary-70-20);
  text-decoration: none;
  transition: background-color var(--senmon-transition);
  box-sizing: border-box;
}

.senmon-school-fixed-side-buttons__btn:hover,
.senmon-school-fixed-side-buttons__btn:focus {
  background-color: var(--senmon-color-secondary-90);
}

.senmon-school-fixed-side-buttons__btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.senmon-school-fixed-side-buttons__btn--brochure {
  display: none; /* PC/TB 共通で WhatsApp を表示する（web brochure の誤遷移防止） */
}

.senmon-school-fixed-side-buttons__btn--whatsapp {
  display: flex;
}

.senmon-school-fixed-side-buttons__icon {
  flex-shrink: 0;
  color: var(--senmon-color-white);
}

/* Figma 419-9904: 2個目ボタン用アイコン+文字グラフィック（72×47） */
.senmon-school-fixed-side-buttons__whatsapp-icon {
  display: block;
  width: 72px;
  height: 47px;
  object-fit: contain;
}

.senmon-school-fixed-side-buttons__btn--icon-only .senmon-school-fixed-side-buttons__btn-inner {
  gap: 0;
}

.senmon-school-fixed-side-buttons__btn-text {
  font-family: var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-white);
  text-align: center;
}

/* WhatsApp.svg 内にも文字が入っているため、PC はボタン内テキストを非表示 */
@media (min-width: 960px) {
  .senmon-school-fixed-side-buttons__btn--whatsapp .senmon-school-fixed-side-buttons__btn-text {
    display: none;
  }

  .senmon-school-fixed-side-buttons__whatsapp-text {
    display: none;
  }
}

/* 固定ボタン TB（Figma 800-4330）— PC よりやや上に配置 */
@media (min-width: 601px) and (max-width: 959px) {
  .senmon-school-fixed-side-buttons {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-right: env(safe-area-inset-right, 0);
    transform: translateY(-72px);
  }

  .senmon-school-fixed-side-buttons__whatsapp-text {
    display: none;
  }

  .senmon-school-fixed-side-buttons__btn {
    width: 120px;
    height: 80px;
  }

  /* TBデザイン: 2個目はWhatsApp */
  .senmon-school-fixed-side-buttons__btn--brochure {
    display: none;
  }

  .senmon-school-fixed-side-buttons__btn--whatsapp {
    display: flex;
  }
}

/* 固定ボタン SP では非表示 */
@media (max-width: 600px) {
  .senmon-school-fixed-side-buttons {
    display: none;
  }
}

/* ==========================================================================
   SP: 画面下部固定バー Figma 1877-19270
   601px 以上では非表示
   ========================================================================== */
.senmon-school-fixed-bottom-buttons {
  display: none;
}

@media (max-width: 600px) {
  .senmon-school-fixed-bottom-buttons {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    z-index: 1000;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .senmon-school-fixed-bottom-buttons__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    background-color: var(--senmon-color-secondary-70);
    border-right: 3px solid var(--senmon-color-white);
    text-decoration: none;
    transition: background-color var(--senmon-transition);
    box-sizing: border-box;
    min-width: 0;
  }

  .senmon-school-fixed-bottom-buttons__btn:hover,
  .senmon-school-fixed-bottom-buttons__btn:focus-visible,
  .senmon-school-fixed-bottom-buttons__btn:active {
    background-color: var(--senmon-color-secondary-90);
  }

  .senmon-school-fixed-bottom-buttons__btn:last-child {
    border-right: none;
  }

  .senmon-school-fixed-bottom-buttons__btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .senmon-school-fixed-bottom-buttons__btn-text {
    font-family: var(--senmon-font-nav);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: var(--senmon-color-white);
    text-align: center;
  }

  /* Figma SP: 2 列目はテキストのみ（Contact） */
  .senmon-school-fixed-bottom-buttons__btn--whatsapp .senmon-school-fixed-bottom-buttons__btn-inner {
    gap: 4px;
  }

  .senmon-school-fixed-bottom-buttons__btn:first-child  {
    border-top-left-radius: 16px
  }

  .senmon-school-fixed-bottom-buttons__btn:last-child  {
    border-top-right-radius: 16px
  }

  /* WhatsApp.svg 内にも文字が含まれるため、下のテキストは重複表示を防ぐ */
  .senmon-school-fixed-bottom-buttons__btn--whatsapp .senmon-school-fixed-bottom-buttons__btn-text {
    display: none;
  }

  /* Figma SP_rogo: 旧パンフ列用（将来の差し替えに備え保持） */
  .senmon-school-fixed-bottom-buttons__btn--whatsapp-icon {
    display: block;
    width: 64px;
    height: auto;
    object-fit: contain;
  }
}
/* ==========================================================================
   About ページ Hero 下セクション（背景グラデーション 10%）
   Figma PC 972-8791（本文 p）/ レイアウト PC 1039-7484 / TB 1591-23061 / SP 1594-18734
   ========================================================================== */
.senmon-school-section-about-intro {
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  box-sizing: border-box;
}

.senmon-school-section-about-intro__inner {
  width: 100%;
  max-width: var(--senmon-content-max-width);
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.senmon-school-section-about-intro__block {
  width: 100%;
}

.senmon-school-section-about-intro__block-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
}

.senmon-school-section-about-intro__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-about-intro__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.senmon-school-section-about-intro__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background-color: var(--senmon-color-primary);
  flex-shrink: 0;
}

.senmon-school-section-about-intro__badge-label {
  font-family: 'Zen Maru Gothic', var(--senmon-font-hero);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--senmon-color-primary);
}

.senmon-school-section-about-intro__title {
  font-family: var(--senmon-font-nav);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-intro__lead {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

/* ブロック2（マレーシア校）本文のみ 14px / lh 2 — Figma 972:8791 node 1029:8264 */
.senmon-school-section-about-intro__block:nth-child(2) .senmon-school-section-about-intro__lead {
  font-size: 14px;
  line-height: 2;
}

.senmon-school-section-about-intro__supporters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.senmon-school-section-about-intro__supporters-title {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
  flex-shrink: 0;
}

.senmon-school-section-about-intro__supporters-title br {
  display: none;
}

/* NDS Tokyo Supporters ロゴ — Figma SP 3545-14504 / TB 3545-14561 / PC 3545-14418 */
.senmon-school-section-about-intro__supporters-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 601px) {
  .senmon-school-section-about-intro__supporters-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .senmon-school-section-about-intro__supporters {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .senmon-school-section-about-intro__supporters-title br {
    display: block;
  }

  .senmon-school-section-about-intro__supporters-title {
    text-align: left;
  }

  .senmon-school-section-about-intro__supporters-grid {
    flex: 1;
    min-width: 0;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px 8px;
  }
}

.senmon-school-section-about-intro__supporters-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
}

.senmon-school-section-about-intro__supporters-item img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.senmon-school-section-about-intro__sister-box {
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.senmon-school-section-about-intro__sister-title {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
  flex: 0 0 auto;
  max-width: 155px;
}

.senmon-school-section-about-intro__sister-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.senmon-school-section-about-intro__sister-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  background-color: var(--senmon-color-white);
  border-radius: 100px;
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  text-decoration: none;
  transition: background-color var(--senmon-transition);
}

.senmon-school-section-about-intro__sister-link:hover {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
}

.senmon-school-section-about-intro__sister-link-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

.senmon-school-section-about-intro__image--malaysia {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
}

.senmon-school-section-about-intro__image--malaysia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-about-intro__triangle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.senmon-school-section-about-intro__triangle-image {
  flex: 0 0 282px;
  /* width: 400px; */
  padding: 0 59px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--senmon-color-white);
}

.senmon-school-section-about-intro__triangle-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.senmon-school-section-about-intro__triangle-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.senmon-school-section-about-intro__triangle-title {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-intro__triangle-text {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-about-intro__card {
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  text-decoration: none;
}

.senmon-school-section-about-intro__card > * {
  position: relative;
  z-index: 1;
}

.senmon-school-section-about-intro__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--senmon-career-card-hover-bg);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--senmon-transition);
  z-index: 0;
  pointer-events: none;
}

.senmon-school-section-about-intro__card:hover::before,
.senmon-school-section-about-intro__card:focus-visible::before {
  opacity: 1;
}

.senmon-school-section-about-intro__card-title {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-intro__card-text {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-about-intro__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--senmon-color-primary);
  text-decoration: none;
  align-self: flex-start;
  transition: background-color var(--senmon-transition);
}

.senmon-school-section-about-intro__card:hover .senmon-school-section-about-intro__card-btn,
.senmon-school-section-about-intro__card:focus .senmon-school-section-about-intro__card-btn {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
  border-color: var(--senmon-color-primary);
}

.senmon-school-section-about-intro__card-btn-icon {
  flex-shrink: 0;
  width: 6px;
  height: 9px;
}

@media (max-width: 959px) {
  .senmon-school-section-about-intro {
    padding: 40px 0;
    gap: 24px;
  }

  .senmon-school-section-about-intro__inner {
    gap: 24px;
  }

  .senmon-school-section-about-intro__block-content {
    gap: 16px;
    padding: 0 var(--senmon-page-gutter-x);
  }

  .senmon-school-section-about-intro__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-about-intro__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-about-intro__title {
    font-size: 32px;
  }

  .senmon-school-section-about-intro__lead {
    font-size: 14px;
  }

  .senmon-school-section-about-intro__supporters {
    gap: 8px;
  }

  .senmon-school-section-about-intro__sister-box {
    flex-direction: row;
    gap: 16px;
    padding: 24px;
    border-radius: 8px;
  }

  .senmon-school-section-about-intro__sister-title {
    font-size: 18px;
    max-width: 120px;
  }

  .senmon-school-section-about-intro__sister-links {
    gap: 8px;
  }

  .senmon-school-section-about-intro__sister-link {
    font-size: 12px;
  }

  .senmon-school-section-about-intro__image--malaysia {
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-about-intro__triangle {
    gap: 8px;
  }

  .senmon-school-section-about-intro__triangle-image {
    flex: 0 0 200px;
    width: 300px;
    padding: 0 50px;
    border-radius: 8px;
  }

  .senmon-school-section-about-intro__triangle-title {
    font-size: 18px;
  }

  .senmon-school-section-about-intro__card {
    padding: 24px;
    gap: 8px;
  }

  .senmon-school-section-about-intro__card-title {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .senmon-school-section-about-intro__supporters-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .senmon-school-section-about-intro__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .senmon-school-section-about-intro__sister-box {
    flex-direction: column;
    border-radius: 8px;
  }

  .senmon-school-section-about-intro__sister-title {
    max-width: none;
  }


  .senmon-school-section-about-intro__image--malaysia {
    height: 200px;
    border-radius: 8px;
  }

  .senmon-school-section-about-intro__triangle {
    flex-direction: column;
  }

  .senmon-school-section-about-intro__triangle-image {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    padding: 0;
  }

  .senmon-school-section-about-intro__triangle-image img {
    height: 200px;
    object-fit: contain;
  }

  .senmon-school-section-about-intro__card-btn {
    justify-content: center;
    background-color: var(--senmon-color-primary);
    color: var(--senmon-color-white);
  }

  .senmon-school-section-about-intro__card:hover .senmon-school-section-about-intro__card-btn,
  .senmon-school-section-about-intro__card:focus-visible .senmon-school-section-about-intro__card-btn {
    color: var(--senmon-color-primary);
    background-color: var(--senmon-color-white);
  }

  .senmon-school-section-about-intro__supporters-item {
    min-height: 44px;
  }

  .senmon-school-section-about-intro__supporters-item img {
    max-height: 40px;
  }
}

/* ==========================================================================
   About ページ「マレーシア校について」直下セクション（Figma MCP 取得）
   PC 1039-7484 / TB 1591-23061 / SP 1594-18734
   背景: グラデーション 10% + タイルパターン（node 419:10035）
   ========================================================================== */
.senmon-school-section-about-below-malaysia {
  padding: 80px 0;
  box-sizing: border-box;
  background-color: var(--senmon-below-hero-bg, #f9f9f9);
  background-image: url('../../images/news-section-pattern.png'), linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 16px 16px, 100% 100%;
  background-position: left top, 0 0;
}

.senmon-school-section-about-below-malaysia__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}

.senmon-school-section-about-below-malaysia__row {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: center;
  gap: 0;
}

.senmon-school-section-about-below-malaysia__image-wrap {
  flex: 0 0 50%;
  width: 50%;
  max-width: 480px;
  height: 180px;
  border-radius: 0;
  overflow: hidden;
  background-color: transparent;
}

.senmon-school-section-about-below-malaysia__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-about-below-malaysia__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-about-below-malaysia__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-about-below-malaysia__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.senmon-school-section-about-below-malaysia__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background-color: var(--senmon-color-primary);
  flex-shrink: 0;
}

.senmon-school-section-about-below-malaysia__badge-label {
  font-family: 'Zen Maru Gothic', var(--senmon-font-hero);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--senmon-color-primary);
}

.senmon-school-section-about-below-malaysia__title {
  font-family: 'Quicksand', var(--senmon-font-nav);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-below-malaysia__text {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-about-below-malaysia__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--senmon-color-primary);
  text-decoration: none;
  transition: background-color var(--senmon-transition, 0.2s ease);
  align-self: flex-start;
}

.senmon-school-section-about-below-malaysia__btn-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

.senmon-school-section-about-below-malaysia__btn:hover {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
}

@media (max-width: 959px) {
  .senmon-school-section-about-below-malaysia {
    padding: 40px 0;
  }

  .senmon-school-section-about-below-malaysia__inner {
    padding: 0 var(--senmon-page-gutter-x);
  }

  .senmon-school-section-about-below-malaysia__row {
    flex-direction: row;
    align-items: center;
  }

  .senmon-school-section-about-below-malaysia__image-wrap {
    height: 134px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .senmon-school-section-about-below-malaysia__image-wrap .senmon-school-section-about-below-malaysia__image {
    width: auto;
    max-width: min(100%, 320px);
    height: 100%;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
  }

  .senmon-school-section-about-below-malaysia__content {
    gap: 8px;
    padding-left: var(--senmon-page-gutter-x);
  }

  .senmon-school-section-about-below-malaysia__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-about-below-malaysia__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-about-below-malaysia__title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .senmon-school-section-about-below-malaysia__row {
    flex-direction: column;
    align-items: center;
  }

  .senmon-school-section-about-below-malaysia__image-wrap {
    width: 100%;
    height: 129px;
  }

  .senmon-school-section-about-below-malaysia__content {
    width: 100%;
    padding-left: 0;
    gap: 8px;
  }

  .senmon-school-section-about-below-malaysia__btn {
    justify-content: center;
    color: var(--senmon-color-white);
    background-color: var(--senmon-color-primary);
  }

  .senmon-school-section-about-below-malaysia__btn:hover,
  .senmon-school-section-about-below-malaysia__btn:focus-visible {
    color: var(--senmon-color-primary);
    background-color: var(--senmon-color-white);
  }

}

/* ==========================================================================
   About ページ「学校生活の様子・生徒の声」セクション
   Figma PC 1021-4241 / TB 1591-23071 / SP 1594-18744
   ========================================================================== */
.senmon-school-section-about-school-life {
  padding: 120px 0;
  box-sizing: border-box;
}

.senmon-school-section-about-school-life__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.senmon-school-section-about-school-life__header-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.senmon-school-section-about-school-life__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-about-school-life__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.senmon-school-section-about-school-life__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background-color: var(--senmon-color-primary);
  flex-shrink: 0;
}

.senmon-school-section-about-school-life__badge-label {
  font-family: 'Zen Maru Gothic', var(--senmon-font-hero);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--senmon-color-primary);
}

.senmon-school-section-about-school-life__title {
  font-family: 'Quicksand', var(--senmon-font-nav);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-school-life__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: 'Quicksand', var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--senmon-color-primary);
  text-decoration: none;
  transition: background-color var(--senmon-transition);
  flex-shrink: 0;
}

.senmon-school-section-about-school-life__top-btn-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

.senmon-school-section-about-school-life__top-btn:hover {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
}

.senmon-school-section-about-school-life__cards {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;
  gap: 40px;
}

.senmon-school-section-about-school-life__card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--senmon-color-white);
  text-decoration: none;
}

.senmon-school-section-about-school-life__card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--senmon-color-gray-10, #f2f2f2);
  border-radius: 16px;
  position: relative;
}


.senmon-school-section-about-school-life__card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(27, 27, 27, 0.5);
  opacity: 0;
  transition: opacity 300ms ease-out;
  pointer-events: none;
}

.senmon-school-section-about-school-life__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: var(--senmon-transition);
}

.senmon-school-section-about-school-life__card:hover .senmon-school-section-about-school-life__card-image::after,
.senmon-school-section-about-school-life__card:focus .senmon-school-section-about-school-life__card-image::after {
  opacity: 1;
}

.senmon-school-section-about-school-life__card-body {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.senmon-school-section-about-school-life__card-title {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 24px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-about-school-life__card-text {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0 0 16px;
}

.senmon-school-section-about-school-life__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: 'Quicksand', var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--senmon-color-primary);
  text-decoration: none;
  transition: background-color var(--senmon-transition, 0.2s ease);
  align-self: flex-start;
}

.senmon-school-section-about-school-life__card-btn-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

.senmon-school-section-about-school-life__card:hover .senmon-school-section-about-school-life__card-btn,
.senmon-school-section-about-school-life__card:focus .senmon-school-section-about-school-life__card-btn {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
}

@media (max-width: 959px) {
  .senmon-school-section-about-school-life {
    padding: 40px 0;
  }

  .senmon-school-section-about-school-life__inner {
    gap: 24px;
    padding: 0 var(--senmon-page-gutter-x);
  }

  .senmon-school-section-about-school-life__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .senmon-school-section-about-school-life__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-about-school-life__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-about-school-life__title {
    font-size: 32px;
  }

  .senmon-school-section-about-school-life__cards {
    gap: 24px;
  }

  .senmon-school-section-about-school-life__card {
    border-radius: 8px;
  }

  .senmon-school-section-about-school-life__card-image {
    height: 200px;
  }

  .senmon-school-section-about-school-life__card-body {
    padding: 0;
    gap: 8px;
  }

  .senmon-school-section-about-school-life__card-title {
    font-size: 18px;
    line-height: 1.5;
  }

  .senmon-school-section-about-school-life__card-text {
    margin: 0;
  }
}
  
@media (max-width: 600px) {
  .senmon-school-section-about-school-life__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .senmon-school-section-about-school-life__top-btn {
    background-color: var(--senmon-color-primary);
    color: var(--senmon-color-white);
    border-color: var(--senmon-color-primary);
  }

  .senmon-school-section-about-school-life__top-btn:hover,
  .senmon-school-section-about-school-life__top-btn:focus-visible {
    color: var(--senmon-color-primary);
    background-color: var(--senmon-color-white);
  }

  .senmon-school-section-about-school-life__cards {
    flex-direction: column;
  }

  /* Figma SP 1594-18753: カード内 View More は左寄せ・内容幅のピル（全幅に伸ばさない） */
  .senmon-school-section-about-school-life__card-btn {
    align-self: flex-start;
    width: auto;
    justify-content: flex-start;
    padding: 8px 28px;
    background-color: var(--senmon-color-primary);
    color: var(--senmon-color-white);
    border-color: var(--senmon-color-primary);
  }

  .senmon-school-section-about-school-life__card:hover .senmon-school-section-about-school-life__card-btn,
  .senmon-school-section-about-school-life__card:focus-visible .senmon-school-section-about-school-life__card-btn {
    color: var(--senmon-color-primary);
    background-color: var(--senmon-color-white);
  }

}

