/**
 * Final components bundle (migrated from components.css)
 */

/* ===================================================================
   About - 講師紹介 (Lecturer Introduction)
   Figma: PC 1021-4314 / TB 1591-23083 / SP 1573-29540（写真・バッジ・氏名下レイアウト）
   =================================================================== */

.senmon-school-section-about-lecturer {
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  padding: 120px 0;
  box-sizing: border-box;
}

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

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

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

.senmon-school-section-about-lecturer__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-about-lecturer__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-lecturer__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-lecturer__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, 0.2s ease);
  flex-shrink: 0;
}
.senmon-school-section-about-lecturer__top-btn-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

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

.senmon-school-section-about-lecturer__cards {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

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

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

.senmon-school-section-about-lecturer__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-lecturer__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease-out;
}

.senmon-school-section-about-lecturer__card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

.senmon-school-section-about-lecturer__card-name {
  transition: var(--senmon-transition);
}

.senmon-school-section-about-lecturer__card:hover .senmon-school-section-about-lecturer__card-name,
.senmon-school-section-about-lecturer__card:focus .senmon-school-section-about-lecturer__card-name {
  color: var(--senmon-color-primary);
}


/* Figma SP: Martin Yong カードのトリミング近似（1573-29540） */
.senmon-school-section-about-lecturer__card-image--martin-crop img {
  object-position: 40% 18%;
  transform: scale(1.1);
}

.senmon-school-section-about-lecturer__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.senmon-school-section-about-lecturer__card-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  align-self: flex-start;
}

.senmon-school-section-about-lecturer__card-name {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

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

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

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

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

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

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

  .senmon-school-section-about-lecturer__cards {
    flex-wrap: wrap;
  }

  .senmon-school-section-about-lecturer__card {
    flex: 0 0 calc(50% - 12px);
  }

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

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

/* SP (max-width: 600px) */
@media (max-width: 600px) {
  .senmon-school-section-about-lecturer__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

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

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

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

  .senmon-school-section-about-lecturer__card {
    flex: none;
    width: 100%;
  }
}

/* ===================================================================
   About - 設備 (Facilities) + Student Benefits
   Figma: PC 1591-23102 / TB 1591-23102 / SP 1594-18768
   =================================================================== */

.senmon-school-section-about-facilities {
  padding: 120px 0;
  box-sizing: border-box;
}

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

.senmon-school-section-about-facilities__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.senmon-school-section-about-facilities__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-about-facilities__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-facilities__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-facilities__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, 0.2s ease);
  flex-shrink: 0;
}

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

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

.senmon-school-section-about-facilities__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-about-facilities__image {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

/* TB (max-width: 959px) */
@media (max-width: 959px) {
  .senmon-school-section-about-facilities__inner {
    gap: 24px;
  }


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

/* --- Student Benefits カード --- */

.senmon-school-section-about-facilities__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background-color: var(--senmon-color-primary);
  border-radius: 8px;
  box-sizing: border-box;
  position: relative;
  transition: background-color var(--senmon-transition);
  text-decoration: none;
}

.senmon-school-section-about-facilities__benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(245, 251, 90, 1) 0%, rgba(7, 189, 123, 1) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 300ms ease-out;
}

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

.senmon-school-section-about-facilities__benefits:focus-visible {
  outline: 2px solid var(--senmon-color-white);
  outline-offset: 3px;
}



.senmon-school-section-about-facilities__benefits-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.senmon-school-section-about-facilities__benefits-title {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-white);
}

.senmon-school-section-about-facilities__benefits-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border: 1px solid var(--senmon-color-white);
  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-white);
  text-decoration: none;
  transition: background-color var(--senmon-transition);
  flex-shrink: 0;
}

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

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

.senmon-school-section-about-facilities__benefits-text {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-white);
  margin: 0;
  z-index: 1;
}

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

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

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

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

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

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

/* SP (max-width: 600px) */
@media (max-width: 600px) {
  .senmon-school-section-about-facilities__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

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

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

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

  .senmon-school-section-about-facilities__benefits {
    padding: 16px;
    gap: 8px;
    align-items: stretch;
  }

  /* Figma SP 1594-18777: 見出し → リード → View More（左寄せ・白ピル） */
  .senmon-school-section-about-facilities__benefits-header {
    display: contents;
  }

  .senmon-school-section-about-facilities__benefits-title {
    font-size: 22px;
    order: 1;
    z-index: 1;
  }

  .senmon-school-section-about-facilities__benefits-text {
    order: 2;
  }

  .senmon-school-section-about-facilities__benefits-btn {
    order: 3;
    align-self: flex-start;
    width: auto;
    justify-content: flex-start;
    padding: 8px 28px;
    background-color: var(--senmon-color-white);
    color: var(--senmon-color-primary);
    border-color: var(--senmon-color-white);
    z-index: 1;
  }

  .senmon-school-section-about-facilities__benefits-btn::after {
    border-color: var(--senmon-color-primary);
  }
}

/* ===================================================================
   +JAPAN Page
   Figma: PC 972-8918 / TB 1573-29823 / SP 1573-29798
   =================================================================== */

/* --- Intro --- */

.senmon-school-section-pj-intro {
  padding: 120px 0;
  box-sizing: border-box;
}

.senmon-school-section-pj-intro__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.senmon-school-section-pj-intro__image {
  width: 100%;
  height: 360px;
  overflow: hidden;
}

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

.senmon-school-section-pj-intro__text {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

/* --- Connection with Japan --- */

.senmon-school-section-pj-connection {
  padding: 120px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
}

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

.senmon-school-section-pj-connection__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-pj-connection__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-pj-connection__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-pj-connection__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-pj-connection__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.senmon-school-section-pj-connection__card {
  flex: 0 0 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.senmon-school-section-pj-connection__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-pj-connection__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.senmon-school-section-pj-connection__card-title {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-pj-connection__card-text {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}


/* --- Special Guest from Japan --- */

.senmon-school-section-pj-guest {
  padding: 120px 0;
  box-sizing: border-box;
}

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

.senmon-school-section-pj-guest__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-pj-guest__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-pj-guest__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-pj-guest__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-pj-guest__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-pj-guest__desc {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-pj-guest__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.senmon-school-section-pj-guest__card {
  flex: 0 0 calc(25% - 18px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senmon-school-section-pj-guest__card-image {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
  flex-shrink: 0;
}

.senmon-school-section-pj-guest__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-pj-guest__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.senmon-school-section-pj-guest__card-name {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-pj-guest__card-bio {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

/* --- Career Support --- */

.senmon-school-section-pj-career {
  padding: 80px 0;
  box-sizing: border-box;
  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-size: 16px 16px, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-position: left top, 0 0;
}

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

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

.senmon-school-section-pj-career__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-pj-career__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-pj-career__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-pj-career__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-pj-career__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-pj-career-btn-icon {
    flex-shrink: 0;
    width: 6px;
    height: 9px;
}

.senmon-school-section-pj-career__btn:hover {
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
}

.senmon-school-section-pj-career__text {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}



/* --- Transfer to Japan --- */

.senmon-school-section-pj-transfer {
  padding: 120px 0;
  box-sizing: border-box;
}

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

.senmon-school-section-pj-transfer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-pj-transfer__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-pj-transfer__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-pj-transfer__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-pj-transfer__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-pj-transfer__hero-image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-pj-transfer__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-pj-transfer__desc {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-pj-transfer__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.senmon-school-section-pj-transfer__card {
  flex: 0 0 calc(50% - 12px);
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senmon-school-section-pj-transfer__card-title {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-pj-transfer__card-divider {
  width: 100%;
  height: 1px;
  background-color: var(--senmon-color-primary);
}

.senmon-school-section-pj-transfer__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senmon-school-section-pj-transfer__card-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.senmon-school-section-pj-transfer__card-num {
  width: 30px;
  height: 30px;
  border-radius: 100px;
  background-color: var(--senmon-color-primary);
  color: var(--senmon-color-white);
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.senmon-school-section-pj-transfer__card-item-text {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
}

.senmon-school-section-pj-transfer__card-body {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-pj-transfer__card-note {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

/* --- +JAPAN TB (max-width: 959px) --- */
@media (max-width: 959px) {
  .senmon-school-section-pj-intro {
    padding: 40px 0;
  }

  .senmon-school-section-pj-intro__inner {
    padding: 0 var(--senmon-page-gutter-x);
  }

  .senmon-school-section-pj-intro__image {
    height: 267px;
  }

  .senmon-school-section-pj-intro__text {
    font-size: 14px;
  }

  .senmon-school-section-pj-connection {
    padding: 40px 0;
  }

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

  .senmon-school-section-pj-connection__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-pj-connection__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-pj-connection__title {
    font-size: 32px;
  }

  .senmon-school-section-pj-connection__cards {
    gap: 24px;
  }

  .senmon-school-section-pj-connection__card {
    flex: 0 0 calc(50% - 12px);
  }

  .senmon-school-section-pj-connection__card-image {
    height: 200px;
    border-radius: 8px;
  }

  .senmon-school-section-pj-connection__card-title {
    font-size: 18px;
  }

  .senmon-school-section-pj-guest {
    padding: 40px 0;
  }

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

  .senmon-school-section-pj-guest__top {
    gap: 8px;
  }


  .senmon-school-section-pj-guest__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-pj-guest__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-pj-guest__title {
    font-size: 32px;
  }

  .senmon-school-section-pj-guest__card {
    flex: 0 0 calc(50% - 12px);
  }

  .senmon-school-section-pj-guest__card-image {
    height: 200px;
  }

  .senmon-school-section-pj-career {
    padding: 40px 0;
  }

  .senmon-school-section-pj-career__inner {
    padding: 0 var(--senmon-page-gutter-x);
  }

  .senmon-school-section-pj-career__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-pj-career__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-pj-career__title {
    font-size: 32px;
  }

  .senmon-school-section-pj-transfer {
    padding: 40px 0;
  }

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

   .senmon-school-section-pj-transfer__top {
    gap: 8px;
  }

  .senmon-school-section-pj-transfer__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-pj-transfer__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-pj-transfer__title {
    font-size: 32px;
  }

  .senmon-school-section-pj-transfer__hero-image {
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-pj-transfer__cards {
    gap: 16px;
  }

  .senmon-school-section-pj-transfer__card {
    padding: 16px;
  }

  .senmon-school-section-pj-transfer__card-title {
    font-size: 18px;
  }

  .senmon-school-section-pj-transfer__card-num {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .senmon-school-section-pj-transfer__card-item-text {
    font-size: 14px;
  }

  .senmon-school-section-pj-transfer__card-body {
    font-size: 14px;
  }
}

/* --- +JAPAN SP (max-width: 600px) --- */
@media (max-width: 600px) {
  .senmon-school-section-pj-intro__image {
    height: 129px;
  }

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

  .senmon-school-section-pj-connection__card {
    flex: none;
    width: 100%;
  }

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

  .senmon-school-section-pj-guest__card {
    flex: none;
    width: 100%;
  }

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

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

  .senmon-school-section-pj-career__btn {
    background-color: var(--senmon-color-primary);
    color: var(--senmon-color-white);
    border-color: var(--senmon-color-primary);
  }

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

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

  .senmon-school-section-pj-transfer__hero-image {
    height: 122px;
  }

  .senmon-school-section-pj-transfer__card {
    flex: none;
    width: 100%;
  }
}

/* =====================================================
   School History / Education Philosophy / Message
   Figma PC 972-9049 / TB 1573-30081 / SP 1573-30056
   ===================================================== */

/* CTA 直上の区切り線（Figma 972-9130） */
.senmon-school-main__rule--school-history {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background-color: rgba(27, 27, 27, 0.12);
}

/* --- Hero SH（Figma 977-10991）3 行バッジ・高さ 500px --- */

.senmon-school-hero--sh.senmon-school-hero--courses {
	min-height: 500px;
	padding-top: 40px;
	padding-bottom: 40px;
	box-sizing: border-box;
}

/* --- Hero SH tabs --- */

.senmon-school-hero--sh__tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senmon-school-hero--sh__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  background-color: var(--senmon-color-white);
  align-self: flex-start;
}

.senmon-school-hero--sh__tab-text {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  background-image: var(--senmon-courses-hero-title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  margin: 0;
}

/* --- School History section --- */

.senmon-school-section-sh-history {
  padding: 120px 0;
  box-sizing: border-box;
}

.senmon-school-section-sh-history__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--senmon-page-gutter-x);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.senmon-school-section-sh-history__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.senmon-school-section-sh-history__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sh-history__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sh-history__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-sh-history__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-sh-history__hero-image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sh-history__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sh-history__desc {
  font-family: 'Barlow', 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;
}

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

.senmon-school-section-sh-history__card-image {
  flex: 0 0 400px;
  height: 282px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sh-history__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sh-history__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senmon-school-section-sh-history__card-title {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-sh-history__card-text {
  font-family: 'Barlow', 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;
}

/* --- First Principal section --- */

.senmon-school-section-sh-principal {
  padding: 120px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
}

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

.senmon-school-section-sh-principal__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sh-principal__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sh-principal__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-sh-principal__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-sh-principal__card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.senmon-school-section-sh-principal__card-image {
  flex: 0 0 300px;
  height: 300px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sh-principal__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sh-principal__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.senmon-school-section-sh-principal__card-school {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sh-principal__card-school-name {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
}

.senmon-school-section-sh-principal__card-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.senmon-school-section-sh-principal__card-name-en {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
}

.senmon-school-section-sh-principal__card-name-ja {
  font-family: var(--senmon-font-badge);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
}

.senmon-school-section-sh-principal__card-bio {
  font-family: 'Barlow', 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;
  padding-top: 16px;
}

/* --- Education Philosophy section --- */

.senmon-school-section-sh-philosophy {
  padding: 120px 0;
  box-sizing: border-box;
}

.senmon-school-section-sh-philosophy__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.senmon-school-section-sh-philosophy__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sh-philosophy__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sh-philosophy__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-sh-philosophy__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-sh-philosophy__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  border-radius: 16px;
  overflow: hidden;
}

.senmon-school-section-sh-philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sh-philosophy__body {
  font-family: 'Barlow', 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;
}

/* --- Message section --- */

.senmon-school-section-sh-message {
  padding: 120px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
}

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

.senmon-school-section-sh-message__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sh-message__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sh-message__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-sh-message__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-sh-message__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-sh-message__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  padding: 40px;
  background-color: var(--senmon-color-white);
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 6px 6px 0px 0px rgba(3,56,37,0.25);
}

.senmon-school-section-sh-message__card-intro {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.senmon-school-section-sh-message__card-image {
  flex: 0 0 400px;
  width: 400px;
  height: 300px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
  position: relative;
  grid-column: 1;
  grid-row: 1;
}

.senmon-school-section-sh-message__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + 50px);
  display: block;
}

.senmon-school-section-sh-message__card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.senmon-school-section-sh-message__card-placeholder-label {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 4px 16px;
  border: 3px solid #ef0000;
  background-color: var(--senmon-color-white);
  font-family: 'Barlow', 'Noto Sans JP', var(--senmon-font-base);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #ef0000;
  white-space: nowrap;
}

.senmon-school-section-sh-message__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
}

.senmon-school-section-sh-message__card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: start;
}

.senmon-school-section-sh-message__card-names {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.senmon-school-section-sh-message__card-name-ja {
  font-family: 'Zen Maru Gothic', var(--senmon-font-hero);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-sh-message__card-name-en {
  font-family: 'Barlow', 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-sh-message__card-role-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sh-message__card-role-line {
  font-family: 'Barlow', 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-sh-message__card-text {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
  margin-top: 0;
  white-space: normal;
}

.senmon-school-section-sh-message__card-text-paragraph {
  margin: 0;
}

.senmon-school-section-sh-message__card-text-paragraph--gap {
  /* '' 区切り用の空行：見た目の段落間隔を一定にする */
  height: 2em;
  line-height: 1;
  overflow: hidden;
}

/* --- School History TB (max-width: 959px) Figma 1573-30081 --- */
@media (max-width: 959px) {
  .senmon-school-hero--sh.senmon-school-hero--courses {
    min-height: 400px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .senmon-school-hero--sh__tabs {
    gap: 16px;
  }

  .senmon-school-hero--sh__tab {
    padding: 4px 16px;
  }

  .senmon-school-hero--sh__tab-text {
    font-size: 26px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-history {
    padding: 40px 0;
  }

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

  .senmon-school-section-sh-history__top {
    gap: 8px;
  }

  .senmon-school-section-sh-history__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sh-history__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sh-history__title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-history__hero-image {
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-sh-history__desc {
    font-size: 14px;
  }

  .senmon-school-section-sh-history__card {
    gap: 16px;
    align-items: stretch;
  }

  .senmon-school-section-sh-history__card-image {
    flex: 0 0 240px;
    height: unset;
    border-radius: 8px;
  }

  .senmon-school-section-sh-history__card-title {
    font-size: 18px;
  }

  .senmon-school-section-sh-principal {
    padding: 40px 0;
  }

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

  .senmon-school-section-sh-principal__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sh-principal__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sh-principal__title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-principal__card {
    align-items: stretch;
    gap: 16px;
  }

  .senmon-school-section-sh-principal__card-image {
    flex: 0 0 300px;
    width: 300px;
    height: auto;
    border-radius: 8px;
  }

  .senmon-school-section-sh-principal__card-body {
    gap: 8px;
  }

  .senmon-school-section-sh-principal__card-name-en {
    font-size: 24px;
  }

  .senmon-school-section-sh-principal__card-name-ja {
    font-size: 14px;
  }

  .senmon-school-section-sh-principal__card-bio {
    padding-top: 0px;
  }

  .senmon-school-section-sh-philosophy {
    padding: 40px 0;
  }

  .senmon-school-section-sh-philosophy__inner {
    padding: 0 var(--senmon-page-gutter-x);
    gap: 8px;
  }

  .senmon-school-section-sh-philosophy__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sh-philosophy__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sh-philosophy__title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-philosophy__image {
    aspect-ratio: 1600 / 600;
    height: auto;
    border-radius: 8px;
  }

  .senmon-school-section-sh-philosophy__body {
    font-size: 14px;
  }
}

/* Message — Tablet only Figma 972-9102（PC のベース指定は変更しない） */
@media (max-width: 959px) and (min-width: 601px) {
  .senmon-school-section-sh-message {
    padding: 40px 0;
  }

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

  .senmon-school-section-sh-message__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sh-message__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sh-message__title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-message__cards {
    gap: 24px;
  }

  .senmon-school-section-sh-message__card {
    gap: 16px;
    padding: 24px 16px;
  }

  .senmon-school-section-sh-message__card-top {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .senmon-school-section-sh-message__card-image {
    flex: 0 0 300px;
    width: 300px;
    height: 240px;
    border-radius: 8px;
  }

  .senmon-school-section-sh-message__card-body {
    gap: 8px;
  }

  .senmon-school-section-sh-message__card-name-ja {
    font-size: 14px;
  }

  .senmon-school-section-sh-message__card-name-en {
    font-size: 18px;
  }

  .senmon-school-section-sh-message__card-role-line {
    font-size: 12px;
  }

  .senmon-school-section-sh-message__card-text {
    font-size: 14px;
  }

  .senmon-school-section-sh-message__card-placeholder-label {
    font-size: 18px;
    padding: 4px 12px;
  }
}

/* --- School History SP (max-width: 600px) Figma 1573-30056 --- */
@media (max-width: 600px) {
  .senmon-school-hero--sh.senmon-school-hero--courses {
    min-height: 247px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .senmon-school-hero--sh__tabs {
    gap: 8px;
  }

  .senmon-school-hero--sh__tab {
    padding: 4px 16px;
  }

  .senmon-school-hero--sh__tab-text {
    font-size: 26px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sh-history__inner {
    gap: 24px;
  }

  .senmon-school-section-sh-history__top {
    gap: 8px;
  }

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

  .senmon-school-section-sh-history__hero-image {
    height: 200px;
    border-radius: 8px;
  }

  .senmon-school-section-sh-history__card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .senmon-school-section-sh-history__card-image {
    flex: none;
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }

  .senmon-school-section-sh-history__card-title {
    font-size: 18px;
  }

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

  .senmon-school-section-sh-principal__card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .senmon-school-section-sh-principal__card-image {
    flex: none;
    width: 100%;
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-sh-principal__card-body {
    gap: 8px;
  }

  .senmon-school-section-sh-principal__card-name-en {
    font-size: 24px;
  }

  .senmon-school-section-sh-principal__card-name-ja {
    font-size: 14px;
  }

  .senmon-school-section-sh-philosophy__inner {
    gap: 8px;
  }

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

  .senmon-school-section-sh-philosophy__image {
    aspect-ratio: 1600 / 600;
    height: auto;
    border-radius: 8px;
  }

  /* Message — Figma SP 1605-14857（PC / TB には影響しない） */
  .senmon-school-section-sh-message {
    padding: 40px 0;
  }

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

  .senmon-school-section-sh-message__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sh-message__badge-label {
    font-size: 14px;
  }

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

  .senmon-school-section-sh-message__cards {
    gap: 24px;
  }

  .senmon-school-section-sh-message__card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 16px;
  }

  .senmon-school-section-sh-message__card-intro {
    flex-direction: column;
  }

  .senmon-school-section-sh-message__card-image {
    flex: none;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    grid-column: auto;
    grid-row: auto;
  }

  .senmon-school-section-sh-message__card-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .senmon-school-section-sh-message__card-body {
    gap: 8px;
    flex: none;
    grid-column: auto;
    grid-row: auto;
  }

  .senmon-school-section-sh-message__card-text {
    grid-column: auto;
    grid-row: auto;
  }

  .senmon-school-section-sh-message__card-name-ja {
    font-size: 14px;
  }

  .senmon-school-section-sh-message__card-name-en {
    font-size: 18px;
  }

  .senmon-school-section-sh-message__card-role-line {
    font-size: 12px;
  }

  .senmon-school-section-sh-message__card-text {
    font-size: 14px;
  }

  .senmon-school-section-sh-message__card-placeholder-label {
    font-size: 14px;
    padding: 4px 10px;
  }
}

/* =====================================================
   School Life — Student Feedback / Student Testimonial
   （別ページ: page-templates/page-school-life.php と
    page-templates/page-school-life-and-student-testimonial.php）
   ===================================================== */

/* クラブ活動と一週間の過ごし方のあいだ Figma PC 972-9173 */
.senmon-school-main__rule--school-life {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background-color: rgba(27, 27, 27, 0.12);
}

/* --- School Life section --- */

.senmon-school-section-sl-school-life {
  padding: 120px 0;
  box-sizing: border-box;
}

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

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

.senmon-school-section-sl-school-life__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sl-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-sl-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-sl-school-life__image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
}

.senmon-school-section-sl-school-life__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-school-life__desc {
  font-family: 'Barlow', 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;
}

/* --- Club Activities section --- */

.senmon-school-section-sl-clubs {
  padding: 120px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
}

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

.senmon-school-section-sl-clubs__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sl-clubs__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sl-clubs__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-sl-clubs__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-sl-clubs__featured {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-sl-clubs__featured-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}

.senmon-school-section-sl-clubs__featured-card-image {
  flex: 1;
  height: 240px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sl-clubs__featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-clubs__featured-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.senmon-school-section-sl-clubs__featured-card-name {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  margin: 0;
}

.senmon-school-section-sl-clubs__featured-card-desc {
  font-family: 'Barlow', 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-sl-clubs__small {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.senmon-school-section-sl-clubs__small-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.senmon-school-section-sl-clubs__small-card-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sl-clubs__small-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-clubs__small-card-name {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
}

/* --- How to Spend a Week section --- */

.senmon-school-section-sl-week {
  padding: 120px 0;
  box-sizing: border-box;
}

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

.senmon-school-section-sl-week__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.senmon-school-section-sl-week__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sl-week__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sl-week__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-sl-week__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-sl-week__desc {
  font-family: 'Barlow', 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;
}

.senmon-school-section-sl-week__cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.senmon-school-section-sl-week__card {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-self: stretch;
  gap: 24px;
  background-color: var(--senmon-color-white);
}

.senmon-school-section-sl-week__card-avatar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 300px;
  height: 272px;
}

.senmon-school-section-sl-week__card-avatar-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 1000px;
  background: linear-gradient(180deg, rgba(245, 251, 90, 1) 0%, rgba(7, 189, 123, 1) 100%);
  opacity: 0.4;
}

.senmon-school-section-sl-week__card-avatar-image {
  position: relative;
  width: 300px;
  height: 272px;
  overflow: hidden;
}

.senmon-school-section-sl-week__card-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-week__card-schedule {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.senmon-school-section-sl-week__card-timeline {
  position: absolute;
  left: 3px;
  /* 正確な位置は school-life-week-timeline.js がドット中心に合わせる（フォールバックのみ下記） */
  top: 40px;
  height: calc(100% - 80px);
  bottom: auto;
  width: 1px;
  background-color: var(--senmon-color-primary);
}

.senmon-school-section-sl-week__card-day {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.senmon-school-section-sl-week__card-day-label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100px;
  flex-shrink: 0;
}

.senmon-school-section-sl-week__card-day-dot {
  width: 7px;
  height: 7px;
  border-radius: 100px;
  background-color: var(--senmon-color-primary);
  flex-shrink: 0;
}

.senmon-school-section-sl-week__card-day-name {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
}

.senmon-school-section-sl-week__card-day-text {
  font-family: 'Barlow', 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;
  flex: 1;
  min-width: 0;
}

/* --- Student Testimonial section --- */

.senmon-school-section-sl-testimonial {
  padding: 120px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  scroll-margin-top: 90px;
}

.senmon-school-section-sl-testimonial__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
}

.senmon-school-section-sl-testimonial__content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 24px;
}

.senmon-school-section-sl-testimonial__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.senmon-school-section-sl-testimonial__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 790px;
  width: 100%;
  box-sizing: border-box;
}

.senmon-school-section-sl-testimonial__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-sl-testimonial__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-sl-testimonial__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-sl-testimonial__hero-image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
}

.senmon-school-section-sl-testimonial__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.senmon-school-section-sl-testimonial__desc {
  font-family: 'Barlow', 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;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* PC: 2 列グリッド。登録順が 1→左上、2→右上、3→左下…と行方向に並ぶ */
.senmon-school-section-sl-testimonial__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  gap: 24px;
  align-items: start;
}

/* Figma PC 1084:10231 — 写真+名前行の下に本文。本文の左端＝写真の左端 */
.senmon-school-section-sl-testimonial__card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  /* grid-template-columns: 200px 1fr; */
  grid-template-rows: 200px auto;
  /* grid-template-rows: auto auto; */
  gap: 16px;
  align-items: start;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.senmon-school-section-sl-testimonial__card-photo {
  grid-column: 1;
  grid-row: 1;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  background-color: var(--senmon-color-gray-10, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-sl-testimonial__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-testimonial__card-content {
  display: contents;
}

.senmon-school-section-sl-testimonial__card-info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
  min-width: 0;
}

.senmon-school-section-sl-testimonial__card-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  align-self: flex-start;
}

.senmon-school-section-sl-testimonial__card-name {
  font-family: 'Barlow', var(--senmon-font-nav);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-sl-testimonial__card-text {
  grid-column: 1 / -1;
  /* grid-column: 1 / 3; */
  grid-row: 2;
  font-family: 'Barlow', 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;
  width: 100%;
  box-sizing: border-box;
}

.senmon-school-section-sl-testimonial__video {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 40px;
}

.senmon-school-section-sl-testimonial__video-header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sl-testimonial__video-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-sl-testimonial__video-thumbnails {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}

.senmon-school-section-sl-testimonial__video-thumb {
  flex: 1;
  min-width: 0;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  position: relative;
}

.senmon-school-section-sl-testimonial__video-thumb::after {
  content: "";
  position: absolute;
  background-color: rgba(27, 27, 27, 0.5);
  opacity: 0;
  pointer-events: none;
  inset: 0px;
  transition: opacity 300ms ease-out;
}

.senmon-school-section-sl-testimonial__video-thumb img {
  width: 120%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.senmon-school-section-sl-testimonial__video-thumb:hover::after,
.senmon-school-section-sl-testimonial__video-thumb:focus::after {
  opacity: 1;
}

/* --- Open Campus CTA banner --- */

.senmon-school-section-sl-oc-cta {
  padding: 80px 0;
  box-sizing: border-box;
  background-color: #FFA816;
}

.senmon-school-section-sl-oc-cta__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--senmon-page-gutter-x);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.senmon-school-section-sl-oc-cta__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.senmon-school-section-sl-oc-cta__header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.senmon-school-section-sl-oc-cta__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.senmon-school-section-sl-oc-cta__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background-color: var(--senmon-color-white);
  flex-shrink: 0;
}

.senmon-school-section-sl-oc-cta__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;
  color: var(--senmon-color-white);
}

.senmon-school-section-sl-oc-cta__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-white);
  margin: 0;
}

.senmon-school-section-sl-oc-cta__desc {
  font-family: 'Barlow', var(--senmon-font-hero);
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--senmon-color-white);
  margin: 0;
}

.senmon-school-section-sl-oc-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  background-color: #FFA816;
  border: 1px solid var(--senmon-color-white);
  border-radius: 100px;
  font-family: 'Quicksand', var(--senmon-font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.senmon-school-section-sl-oc-cta__btn-arrow {
  display: inline-block;
  width: 6px;
  height: 9px;
  border-right: 1.5px solid var(--senmon-color-white);
  border-bottom: 1.5px solid var(--senmon-color-white);
  transform: rotate(-45deg);
}

/* --- School Life TB (max-width: 959px) Figma 1573-30339 --- */
@media (max-width: 959px) {
  .senmon-school-section-sl-school-life {
    padding: 40px 0;
  }

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

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

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

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

  .senmon-school-section-sl-school-life__image {
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-sl-school-life__desc {
    font-size: 14px;
  }

  .senmon-school-section-sl-clubs {
    padding: 40px 0;
  }

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

  .senmon-school-section-sl-clubs__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sl-clubs__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sl-clubs__title {
    font-size: 32px;
  }

  .senmon-school-section-sl-clubs__featured {
    gap: 16px;
  }

  .senmon-school-section-sl-clubs__featured-card {
    gap: 16px;
  }

  .senmon-school-section-sl-clubs__featured-card-image {
    height: 240px;
    border-radius: 8px;
  }

  .senmon-school-section-sl-clubs__featured-card-name {
    font-size: 18px;
  }

  .senmon-school-section-sl-clubs__small {
    gap: 16px;
  }

  .senmon-school-section-sl-clubs__small-card-image {
    height: 200px;
  }

  .senmon-school-section-sl-clubs__small-card-name {
    font-size: 14px;
  }

  .senmon-school-section-sl-week {
    padding: 40px 0;
  }

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

  .senmon-school-section-sl-week__top {
    gap: 8px;
  }

  .senmon-school-section-sl-week__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sl-week__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sl-week__title {
    font-size: 32px;
  }

  .senmon-school-section-sl-week__cards {
    gap: 24px;
  }

  .senmon-school-section-sl-week__card {
    gap: 16px;
  }

  .senmon-school-section-sl-testimonial {
    padding: 40px 0;
  }

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

  .senmon-school-section-sl-testimonial__content {
    display: contents;
  }

  .senmon-school-section-sl-testimonial__top {
    gap: 8px;
  }

  .senmon-school-section-sl-testimonial__badge-dot {
    width: 4px;
    height: 4px;
  }

  .senmon-school-section-sl-testimonial__badge-label {
    font-size: 14px;
  }

  .senmon-school-section-sl-testimonial__title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  /* Figma 1605:15023 — 見出しはコンテンツ幅いっぱい */
  .senmon-school-section-sl-testimonial__header {
    max-width: none;
  }

  .senmon-school-section-sl-testimonial__hero-image {
    height: 300px;
    border-radius: 8px;
  }

  .senmon-school-section-sl-testimonial__desc {
    font-size: 14px;
    line-height: 2;
  }

  .senmon-school-section-sl-testimonial__row {
    /* display: contents; */
    display: flex;
    flex-direction: column;
  }

  .senmon-school-section-sl-testimonial__row > .senmon-school-section-sl-testimonial__card:first-child {
    flex: none;
  }

  /* TB Figma 1605:15023 — 写真|テキスト列間 16px、右カラム内（バッジ〜本文）行間 8px */
  .senmon-school-section-sl-testimonial__card {
    /* display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-rows: auto auto; */
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto;
    /* display: flex; */
    row-gap: 8px;
    column-gap: 16px;
    align-items: stretch;
    /* min-height: 200px; */
    width: 100%;
  }

  .senmon-school-section-sl-testimonial__card-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column; 
  }

  .senmon-school-section-sl-testimonial__card-info {
    align-self: start;
  }

  .senmon-school-section-sl-testimonial__card-text {
    grid-column: unset;
    grid-row: unset; 
    margin: auto 0;
  }

  .senmon-school-section-sl-testimonial__card-photo {
    width: 200px;
    flex-shrink: 0;
    align-self: stretch;
    height: auto;
    grid-column: 1;
    grid-row: 1;
  }

  .senmon-school-section-sl-testimonial__card:nth-child(2) .senmon-school-section-sl-testimonial__card-photo {
    height: 200px;
  }

  .senmon-school-section-sl-testimonial__card:nth-child(3) .senmon-school-section-sl-testimonial__card-photo {
    height: 250px;
  }

   .senmon-school-section-sl-testimonial__card:nth-child(3) .senmon-school-section-sl-testimonial__card-photo img {
    height: 250px;
  }

  .senmon-school-section-sl-testimonial__video {
    gap: 8px;
  }

  .senmon-school-section-sl-testimonial__video-title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sl-testimonial__video-thumbnails {
    gap: 16px;
  }

  .senmon-school-section-sl-testimonial__video-thumb {
    height: 140px;
    border-radius: 8px;
  }

  .senmon-school-section-sl-testimonial__video-thumb img {
    width: 110%;
  }

  .senmon-school-section-sl-oc-cta {
    padding: 24px 0;
  }

  .senmon-school-section-sl-oc-cta__inner {
    padding: 0 var(--senmon-page-gutter-x);
    flex-direction: column;
    gap: 16px;
  }

  .senmon-school-section-sl-oc-cta__title {
    font-size: 26px;
  }
}

/* --- School Life SP (max-width: 600px) Figma 1573-30314 --- */
@media (max-width: 600px) {
  .senmon-school-section-sl-school-life__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .senmon-school-section-sl-school-life__image {
    height: 200px;
  }

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

  .senmon-school-section-sl-clubs__featured-card {
    flex-direction: column;
    gap: 8px;
  }

  .senmon-school-section-sl-clubs__featured-card-image {
    height: 200px;
    flex: none;

  }

  .senmon-school-section-sl-clubs__small {
    flex-direction: column;
    gap: 16px;
  }

  /* Figma SP 1605-15179 — 画像と名称テキストを横並び、画像サイズを揃えて縦にスタック */
  .senmon-school-section-sl-clubs__small-card {
    flex: 0 1 auto;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .senmon-school-section-sl-clubs__small-card-image {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .senmon-school-section-sl-clubs__small-card-name {
    flex: 1;
    min-width: 0;
  }

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

  .senmon-school-section-sl-week__cards {
    gap: 24px;
  }

  .senmon-school-section-sl-week__card {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .senmon-school-section-sl-week__card-schedule {
    align-self: stretch;
  }

  .senmon-school-section-sl-week__card-day-name {
    white-space: nowrap;
  }

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

  .senmon-school-section-sl-testimonial__hero-image {
    height: 200px;
    border-radius: 8px;
  }

  /* Figma SP: 写真下 16px → バッジ〜氏名（内側 8px）→ 本文（上段との間 8px） */
  .senmon-school-section-sl-testimonial__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .senmon-school-section-sl-testimonial__card:nth-child(1) .senmon-school-section-sl-testimonial__card-photo img {
    object-position: top;
  }

  .senmon-school-section-sl-testimonial__card:nth-child(3) .senmon-school-section-sl-testimonial__card-photo  {
    height: 200px;
  }

  .senmon-school-section-sl-testimonial__card:nth-child(4) .senmon-school-section-sl-testimonial__card-photo img {
    object-position: 50% 25%;
  }

  .senmon-school-section-sl-testimonial__card-photo {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    height: 200px;
    min-height: unset;
    align-self: stretch;
    margin-bottom: 8px;
  }

  .senmon-school-section-sl-testimonial__card-info {
    grid-column: unset;
    grid-row: unset;
    align-self: flex-start;
    width: 100%;
  }

  .senmon-school-section-sl-testimonial__card-name {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sl-testimonial__card-text {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
  }

  .senmon-school-section-sl-testimonial__video {
    gap: 8px;
  }

  .senmon-school-section-sl-testimonial__video-title {
    font-size: 32px;
    letter-spacing: 0.05em;
  }

  .senmon-school-section-sl-testimonial__video-thumbnails {
    flex-direction: column;
    gap: 16px;
  }

  .senmon-school-section-sl-testimonial__video-thumb {
    flex: none;
    height: 200px;
    border-radius: 8px;
  }

  .senmon-school-section-sl-oc-cta__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }
}

/* =====================================================
   Lecturer Introduction — Intro
   Figma: PC 972-9249 / TB 1605-15336 / SP 1606-15458
   ===================================================== */

.senmon-school-section-li-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
}

.senmon-school-section-li-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 960px;
  max-width: 100%;
  box-sizing: border-box;
}

.senmon-school-section-li-intro__header {
  display: flex;
  flex-direction: column;
}

.senmon-school-section-li-intro__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.senmon-school-section-li-intro__badge-label {
  font-family: var(--senmon-font-badge);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
}

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

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

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

.senmon-school-section-li-intro__desc {
  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;
}

/* Lecturer Introduction Intro — TB */
@media (max-width: 959px) {
  .senmon-school-section-li-intro {
    padding: 40px var(--senmon-page-gutter-x);

  }

  .senmon-school-section-li-intro__inner {
    width: 100%;
    gap: 8px;
  }

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

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

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

  .senmon-school-section-li-intro__image {
    border-radius: 8px;
  }

  .senmon-school-section-li-intro__desc {
    font-size: 14px;
  }
}

/* Lecturer Introduction Intro — SP */
@media (max-width: 600px) {
  .senmon-school-section-li-intro__title {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .senmon-school-section-li-intro__image {
    height: 200px;
  }
}

/* =====================================================
   Lecturer Introduction — Lecturer Cards List
   Figma: PC 1286-5484
   ===================================================== */
.senmon-school-section-lecturer-introduction-list {
  background: linear-gradient(180deg, rgba(245, 251, 90, 0.1) 0%, rgba(7, 189, 123, 0.1) 100%);
  padding: 120px 0;
  box-sizing: border-box;
}

.senmon-school-section-lecturer-introduction-list__inner {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  box-sizing: border-box;
}

.senmon-school-section-lecturer-introduction-list__big-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  scroll-margin-top: 120px;
}

.senmon-school-section-lecturer-introduction-list__big-image {
  flex: 1;
  height: 420px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-40, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-lecturer-introduction-list__big-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.senmon-school-section-lecturer-introduction-list__big-position {
  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);
  margin: 0;
}

.senmon-school-section-lecturer-introduction-list__big-name {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-lecturer-introduction-list__divider {
  height: 1px;
  width: 100%;
  background-color: var(--senmon-color-gray-90);
  flex-shrink: 0;
}

.senmon-school-section-lecturer-introduction-list__big-description {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-lecturer-introduction-list__small-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 40px;
  box-sizing: border-box;
}

.senmon-school-section-lecturer-introduction-list__small-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  scroll-margin-top: 120px;
}

.senmon-school-section-lecturer-introduction-list__small-image {
  flex: 1;
  height: 300px;
  border-radius: 16px;
  background-color: var(--senmon-color-gray-40, #c4c4c4);
  overflow: hidden;
}

.senmon-school-section-lecturer-introduction-list__small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.senmon-school-section-lecturer-introduction-list__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border: 1px solid var(--senmon-color-primary);
  border-radius: 100px;
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-primary);
  width: fit-content;
  box-sizing: border-box;
}

.senmon-school-section-lecturer-introduction-list__small-name {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-lecturer-introduction-list__small-tag {
  font-family: var(--senmon-font-hero);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--senmon-color-gray-90);
  margin: 0;
}

.senmon-school-section-lecturer-introduction-list__small-description {
  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);
  margin: 0;
}

@media (max-width: 959px) {
  .senmon-school-section-lecturer-introduction-list__inner {
    padding: 0 var(--senmon-page-gutter-x);
    gap: 24px;
  }

  .senmon-school-section-lecturer-introduction-list {
    padding: 40px 0;
  }

  .senmon-school-section-lecturer-introduction-list__big-card {
    flex-direction: column;
    align-items: flex-start;
  }

   .senmon-school-section-lecturer-introduction-list__big-image {
    height: 400px;
    width: 100%;
    flex: none;
    display: block;
  }

  .senmon-school-section-lecturer-introduction-list__small-grid {
    grid-template-columns: 1fr;
  }

  .senmon-school-section-lecturer-introduction-list__small-card {
    align-items: center;
  }

  .senmon-school-section-lecturer-introduction-list__small-image {
    height: 200px;
  }
}

/* Lecturer Introduction — Lecturer Cards List SP */
@media (max-width: 600px) {
  .senmon-school-section-lecturer-introduction-list__inner {
    gap: 40px;
    align-items: stretch;
  }

  .senmon-school-section-lecturer-introduction-list__big-card {
    gap: 16px;
    align-items: stretch;
  }

  .senmon-school-section-lecturer-introduction-list__big-image {
    flex: 0 0 auto;
    height: 240px;
  }

  .senmon-school-section-lecturer-introduction-list__big-name {
    font-size: 20px;
  }

  .senmon-school-section-lecturer-introduction-list__big-description {
    font-size: 14px;
    line-height: 2;
  }

  .senmon-school-section-lecturer-introduction-list__small-grid {
    row-gap: 32px;
  }

  .senmon-school-section-lecturer-introduction-list__small-card {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .senmon-school-section-lecturer-introduction-list__small-image {
    flex: 0 0 auto;
    width: 100%;
    height: 200px;
  }

  /* SP: 指定カードのみ上側を多めにトリミング */
  .senmon-school-section-lecturer-introduction-list__small-grid > .senmon-school-section-lecturer-introduction-list__small-card:nth-child(2) .senmon-school-section-lecturer-introduction-list__small-image img,
  .senmon-school-section-lecturer-introduction-list__small-grid > .senmon-school-section-lecturer-introduction-list__small-card:nth-child(5) .senmon-school-section-lecturer-introduction-list__small-image img {
    object-position: center 15%;
  }

  .senmon-school-section-lecturer-introduction-list__small-grid > .senmon-school-section-lecturer-introduction-list__small-card:nth-child(1) .senmon-school-section-lecturer-introduction-list__small-image img {
    object-position: center 35%;
  }

  .senmon-school-section-lecturer-introduction-list__small-grid > .senmon-school-section-lecturer-introduction-list__small-card:nth-child(6) .senmon-school-section-lecturer-introduction-list__small-image img {
    object-position: center 25%;
    object-fit: cover;
  }

}

.senmon-school-showcase-modal-open {
  overflow: hidden;
}

.senmon-school-showcase-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.senmon-school-showcase-modal.is-open {
  display: block;
}

.senmon-school-showcase-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.82);
}

.senmon-school-showcase-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 56px 24px 24px;
  box-sizing: border-box;
}

.senmon-school-showcase-modal__image {
  display: block;
  max-width: min(92vw, 1120px);
  max-height: min(84vh, 900px);
  width: auto;
  height: auto;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.senmon-school-showcase-modal__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.senmon-school-showcase-modal__nav::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.senmon-school-showcase-modal__nav--prev {
  left: 16px;
}

.senmon-school-showcase-modal__nav--prev::before {
  transform: rotate(-135deg);
}

.senmon-school-showcase-modal__nav--next {
  right: 16px;
}

.senmon-school-showcase-modal__nav--next::before {
  transform: rotate(45deg);
}

.senmon-school-showcase-modal__nav:hover,
.senmon-school-showcase-modal__nav:focus-visible {
  background: transparent;
}

.senmon-school-showcase-modal__nav[aria-disabled='true'],
.senmon-school-showcase-modal__nav:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.senmon-school-showcase-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border: 4px solid var(--senmon-color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.95;
}

.senmon-school-showcase-modal__close:hover,
.senmon-school-showcase-modal__close:focus-visible {
  opacity: 1;
}

@media (max-width: 600px) {
  .senmon-school-showcase-modal__nav {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 9999px;
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
  }

  .senmon-school-showcase-modal__nav--prev {
    left: 14px;
  }

  .senmon-school-showcase-modal__nav--next {
    right: 14px;
  }

  .senmon-school-showcase-modal__nav--prev::before {
    transform: translateX(2px) rotate(-135deg);
  }

  .senmon-school-showcase-modal__nav--next::before {
    transform: translateX(-2px) rotate(45deg);
  }

  .senmon-school-showcase-modal__nav:hover,
  .senmon-school-showcase-modal__nav:focus-visible {
    background: rgba(0, 0, 0, 0.72);
  }
}

