@charset "UTF-8";
/* ============================================================
 * stucomi-pages.css（2026-10-11 全面改修）
 * 複数ページ構成にしたときに増えた部品。stucomi.css の後に読み込む。
 * 色は stucomi.css と同じ（文字 #2b1a33・背景 #faf5fc・紫 #a21caf / #701a75 / #c026d3 / #fdf4ff・薄紫 #e9b6f0）
 * 「傾いた極太の文字」は実績欄と同じ Zen Kaku Gothic New 900 ＋ skewX(-9deg)（.s-skew）
 * 1rem = 10px
 * ============================================================ */

/* ------------------------------------------------
 共通
--------------------------------------------------- */
.s-skew {
  display: inline-block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  transform: skewX(-9deg);
}
.s-record .c-section-title--sub.s-skew {
  display: inline-block;
}

[id] {
  scroll-margin-top: 11rem;
}
@media only screen and (max-width: 767px) {
  [id] {
    scroll-margin-top: 8.5rem;
  }
}

.s-lower {
  overflow-x: hidden;
  overflow-x: clip; /* 流れる文字（s-marquee）が横にはみ出してスクロールが出ないように */
}

.s-inner--narrow {
  max-width: 88rem;
}

.s-lower .s-section {
  padding-block: 9rem;
}
@media only screen and (max-width: 767px) {
  .s-lower .s-section {
    padding-block: 6rem;
  }
}

/* 下層ページの見出し */
.s-h2 {
  position: relative;
  margin: 0;
  padding-left: 2rem;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.55;
}
.s-h2::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 0.6rem;
  height: 1.05em;
  background-color: #a21caf;
  transform: skewX(-9deg);
}
* + .s-h2,
.s-check + .s-h2,
.s-text + .s-h2 {
  margin-top: 6rem;
}
.s-section--dark .s-h2 {
  color: #ffffff;
}
.s-section--dark .s-h2::before {
  background-color: #e9b6f0;
}
@media only screen and (max-width: 767px) {
  .s-h2 {
    padding-left: 1.6rem;
    font-size: 2.1rem;
  }
  * + .s-h2 {
    margin-top: 4.4rem;
  }
}
.s-h3 {
  margin: 4rem 0 0 !important;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
}
.s-h2 + .s-text,
.s-h2 + .s-check,
.s-h2 + .s-table-wrap {
  margin-top: 2.4rem;
}

/* 「〇〇を詳しく見る」 */
.s-more {
  margin-top: 4rem;
  text-align: center;
}
.s-more a {
  position: relative;
  display: inline-block;
  padding: 1.4rem 5.6rem 1.4rem 3.2rem;
  border: 0.15rem solid #701a75;
  color: #701a75;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s;
}
.s-more a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2.4rem;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.s-more a:hover,
.s-more a:focus-visible {
  background-color: #701a75;
  color: #ffffff;
}
.s-more--white a {
  border-color: #e9b6f0;
  color: #ffffff;
}
.s-more--white a:hover,
.s-more--white a:focus-visible {
  background-color: #e9b6f0;
  color: #2b1a33;
}
@media only screen and (max-width: 767px) {
  .s-more a {
    display: block;
    font-size: 1.5rem;
  }
}

/* 管理者だけに見える「差し替え待ち」 */
.s-todo {
  margin: 2.4rem 0 0;
  padding: 1.2rem 1.6rem;
  border: 0.2rem dashed #c026d3;
  background-color: #fffbea;
  color: #6b4b00;
  font-size: 1.3rem;
  line-height: 1.7;
}

/* 表 */
.s-table-wrap {
  margin-top: 3.2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.s-table {
  width: 100%;
  min-width: 60rem;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.7;
}
.s-table th,
.s-table td {
  padding: 1.6rem 1.8rem;
  border: 0.1rem solid #e2d8e8;
  text-align: left;
  vertical-align: top;
}
.s-table thead th {
  background-color: #2b1a33;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}
.s-table tbody th {
  background-color: #faf5fc;
  font-weight: 700;
  white-space: nowrap;
}
.s-table small {
  display: block;
  color: #76687d;
  font-size: 1.3rem;
}
.s-table--center td {
  text-align: center;
  vertical-align: middle;
}
.s-table .is-us {
  background-color: #fdf4ff;
  color: #701a75;
  font-weight: 700;
}
.s-table thead .is-us {
  background-color: #a21caf;
  color: #ffffff;
}
.s-table a {
  color: #701a75;
  text-decoration: underline;
}
@media only screen and (max-width: 767px) {
  .s-table {
    font-size: 1.4rem;
  }
  .s-table th,
  .s-table td {
    padding: 1.2rem;
  }
}

/* チェックつきの箇条書き */
.s-check {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem !important;
}
.s-check li {
  position: relative;
  padding-left: 3rem;
  font-size: 1.6rem;
  line-height: 1.8;
}
.s-check li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0.4rem;
  width: 1.3rem;
  height: 0.7rem;
  border-left: 0.25rem solid #a21caf;
  border-bottom: 0.25rem solid #a21caf;
  transform: rotate(-45deg);
}
.s-check--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 3.2rem;
}
@media only screen and (max-width: 767px) {
  .s-check li {
    font-size: 1.5rem;
  }
  .s-check--2col {
    grid-template-columns: 1fr;
  }
}

/* 用語と説明 */
.s-dl {
  display: grid;
  gap: 0;
  margin: 2.4rem 0 0;
  border-top: 0.1rem solid #e2d8e8;
}
.s-dl > div {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 0.1rem solid #e2d8e8;
}
.s-dl dt {
  font-weight: 900;
  color: #701a75;
  font-size: 1.6rem;
}
.s-dl dd {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.8;
}
@media only screen and (max-width: 767px) {
  .s-dl > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .s-dl dd {
    font-size: 1.5rem;
  }
}

/* 番号つきの手順 */
.s-steps {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem !important;
  counter-reset: step;
}
.s-steps li {
  position: relative;
  padding: 1.8rem 2rem 1.8rem 6.4rem;
  background-color: #faf5fc;
  font-size: 1.6rem;
  line-height: 1.7;
  counter-increment: step;
}
.s-steps li::before {
  content: counter(step);
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%) skewX(-9deg);
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.6rem;
  color: #a21caf;
}

/* ページ内の目次 */
.s-toc {
  padding-block: 2.4rem;
  background-color: #ffffff;
  border-bottom: 0.1rem solid #eadcef;
}
.s-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.s-toc a {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 0.1rem solid #c026d3;
  background-color: #fdf4ff;
  color: #701a75;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ------------------------------------------------
 ヘッダー
--------------------------------------------------- */
.p-header__right {
  position: relative;
}
.s-header-school {
  position: absolute;
  bottom: 0.4rem;
  right: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  text-decoration: underline;
  white-space: nowrap;
}
.s-header-school:hover {
  color: #ffffff;
}
.p-header-join__btn {
  list-style: none;
}
/* ドロップダウン（こんなお子さまに） */
.p-header-nav__list.s-has-sub {
  position: relative;
}
.s-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 26rem;
  margin: 0;
  padding: 0.8rem 0;
  list-style: none;
  background-color: #ffffff;
  box-shadow: 0 1.2rem 3rem rgba(43, 26, 51, 0.25);
  transform: translate(-50%, 0.8rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.s-has-sub:hover .s-sub,
.s-has-sub:focus-within .s-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.p-header-nav .s-sub a {
  display: block;
  height: auto;
  padding: 1.2rem 2.4rem;
  color: #2b1a33;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: none;
  text-align: left;
  white-space: nowrap;
}
.p-header-nav .s-sub a:hover,
.p-header-nav .s-sub a:focus-visible {
  background-color: #fdf4ff;
  color: #701a75;
}
/* ハンバーガー（div → button にしたので見た目をリセット） */
button.c-hamburger {
  border: 0;
  padding: 0;
  cursor: pointer;
}
/* ドロワーの子メニュー */
.s-drawer-sub {
  margin: -0.4rem 0 0.8rem;
  padding: 0;
  list-style: none;
}
.s-drawer-sub a {
  display: block;
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
}
.s-drawer-school {
  margin-top: 2.4rem;
  list-style: none;
  text-align: center;
}
.s-drawer-school a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  text-decoration: underline;
}

/* 固定ボタン（全ページ）。団体向けページは色を変える */
.s-floating-btn--school {
  background-color: #2b1a33;
  border: 0.15rem solid #e9b6f0;
}
@media only screen and (max-width: 767px) {
  body .p-footer {
    padding-bottom: 7rem;
  }
}

/* ------------------------------------------------
 フッター
--------------------------------------------------- */
.s-footer-contents {
  display: grid !important;
  grid-template-columns: 26rem 1fr;
  gap: 4.8rem;
  align-items: start;
}
.s-footer-catch {
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  line-height: 1.7;
}
.s-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.2rem;
}
.s-footer-nav__label {
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
  color: #e9b6f0;
  font-size: 1.3rem;
  font-weight: 700;
}
.s-footer-nav ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.s-footer-nav a {
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.6;
}
.s-footer-nav a:hover {
  text-decoration: underline;
}
.s-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.s-footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  text-decoration: underline;
}
@media only screen and (max-width: 1000px) {
  .s-footer-contents {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
  .s-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}
@media only screen and (max-width: 480px) {
  .s-footer-nav {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------
 トップ: ファーストビュー
--------------------------------------------------- */
.s-fv__title {
  margin: 0;
  color: #ffffff;
}
.s-fv__kw {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: #a21caf;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.s-fv__msg {
  display: block;
  margin-top: 2rem;
  font-size: 4.6rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  transform-origin: left bottom;
}
.s-fv__more {
  margin-top: 1.6rem;
}
.s-fv__more a {
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: underline;
}
@media only screen and (max-width: 767px) {
  .s-fv__kw {
    font-size: 1.3rem;
  }
  .s-fv__msg {
    margin-top: 1.4rem;
    font-size: 2.6rem;
  }
}

/* ------------------------------------------------
 4つのターゲット
--------------------------------------------------- */
.s-targets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem !important;
}
.s-target a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.6rem 3.2rem 3.2rem;
  border: 0.1rem solid #8e5aa8;
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
}
.s-target a:hover,
.s-target a:focus-visible {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 3rem -1.4rem rgba(112, 26, 117, 0.4);
}
.s-target__en {
  position: absolute;
  top: 0.4rem;
  right: 1.2rem;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 1;
  color: rgba(162, 28, 175, 0.08);
}
.s-target__title {
  align-self: flex-start;
  font-size: 2.4rem;
  line-height: 1.5;
  color: #2b1a33;
}
.s-target__text {
  margin-top: 1.2rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #2b1a33;
}
.s-target__go {
  position: relative;
  margin-top: auto;
  padding-top: 2rem;
  align-self: flex-end;
  padding-right: 2.4rem;
  color: #a21caf;
  font-size: 1.4rem;
  font-weight: 700;
}
.s-target__go::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  bottom: 0.6rem;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  transform: rotate(45deg);
}
@media only screen and (max-width: 767px) {
  .s-targets {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.8rem !important;
  }
  .s-target a {
    padding: 2.4rem 2.2rem;
  }
  .s-target__title {
    font-size: 1.9rem;
  }
  .s-target__text {
    font-size: 1.5rem;
  }
}

/* ------------------------------------------------
 スタコミの約束
--------------------------------------------------- */
.s-promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 4rem !important;
}
.s-promise__item {
  padding: 3.2rem 2.4rem;
  background-color: #ffffff;
  border-top: 0.4rem solid #a21caf;
}
.s-promise__num {
  display: block;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
  color: #a21caf;
}
.s-promise__title {
  margin-top: 1.6rem !important;
  font-size: 2rem;
  line-height: 1.5;
}
.s-promise__text {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media only screen and (max-width: 1000px) {
  .s-promise {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  .s-promise {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .s-promise__item {
    padding: 2.4rem 2rem;
  }
}
/* 小さい版（最後のCTAの上） */
.s-promise--compact {
  display: block;
  margin: 0 auto 4.8rem !important;
  padding-bottom: 4rem;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
  text-align: center;
}
.s-promise__label {
  padding: 0.4rem 1.6rem;
  background-color: #e9b6f0;
  color: #2b1a33;
  font-size: 1.6rem;
}
.s-promise__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: 2rem !important;
}
.s-promise__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
  font-weight: 700;
}
.s-promise__list li span {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  color: #e9b6f0;
}

/* ------------------------------------------------
 料金カード3種
--------------------------------------------------- */
.s-plans {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 4rem !important;
}
.s-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3.6rem 2.8rem 3.2rem;
  background-color: #ffffff;
  border: 0.1rem solid #8e5aa8;
}
.s-plan--main {
  border: 0.3rem solid #a21caf;
  box-shadow: 0 2rem 4rem -2rem rgba(112, 26, 117, 0.35);
}
.s-plan__tag {
  align-self: flex-start;
  padding: 0.3rem 1rem;
  background-color: #fdf4ff;
  color: #701a75;
  font-size: 1.3rem;
  font-weight: 700;
}
.s-plan--main .s-plan__tag {
  background-color: #a21caf;
  color: #ffffff;
}
.s-plan__name {
  margin-top: 1.6rem !important;
  align-self: flex-start;
  font-size: 2.6rem;
  line-height: 1.4;
}
.s-plan__price {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.s-plan__price span {
  margin-right: 0.4rem;
  font-family: "Poppins", sans-serif;
  font-size: 4.4rem;
  color: #a21caf;
  line-height: 1.1;
}
.s-plan__price small {
  font-size: 1.2rem;
}
.s-plan__lead {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.8;
}
.s-plan__points {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0 !important;
  padding-top: 2rem !important;
  border-top: 0.1rem solid #eadcef;
}
.s-plan__points li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.5rem;
  line-height: 1.6;
}
.s-plan__points li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0.2rem;
  width: 1.2rem;
  height: 0.7rem;
  border-left: 0.2rem solid #a21caf;
  border-bottom: 0.2rem solid #a21caf;
  transform: rotate(-45deg);
}
.s-plan__link {
  margin-top: auto;
  padding-top: 2.4rem;
  color: #701a75;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: underline;
}
/* カードのどこを押しても「詳しく見る」へ（2026-10-18 真央さん） */
.s-plan__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.s-plan:has(.s-plan__link) {
  transition: box-shadow 0.2s, transform 0.2s;
}
.s-plan:has(.s-plan__link):hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 2rem 4rem -2rem rgba(112, 26, 117, 0.45);
}
@media only screen and (max-width: 1000px) {
  .s-plans {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 767px) {
  .s-plan {
    padding: 2.8rem 2.2rem;
  }
  .s-plan__price span {
    font-size: 3.6rem;
  }
}

/* ------------------------------------------------
 よくある質問（アコーディオン）
--------------------------------------------------- */
.s-faq {
  margin-top: 3.2rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.25);
}
.s-faq__item {
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.25);
}
.s-faq__q {
  position: relative;
  padding: 2.4rem 5.6rem 2.4rem 4rem;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.s-faq__q::-webkit-details-marker {
  display: none;
}
.s-faq__q::before {
  content: "Q.";
  position: absolute;
  top: 2.4rem;
  left: 0;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #e9b6f0;
}
.s-faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  border-right: 0.2rem solid #e9b6f0;
  border-bottom: 0.2rem solid #e9b6f0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.s-faq__item[open] .s-faq__q::after {
  transform: translateY(-30%) rotate(-135deg);
}
.s-faq__q:focus-visible {
  outline: 0.2rem solid #e9b6f0;
  outline-offset: 0.4rem;
}
.s-faq__a {
  position: relative;
  margin: 0;
  padding: 0 1.2rem 2.8rem 4rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 2;
}
.s-faq__a::before {
  content: "A.";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #c4b2cf;
}
.s-faq-group + .s-faq-group {
  margin-top: 6.4rem;
}
@media only screen and (max-width: 767px) {
  .s-faq__q {
    padding: 2rem 4rem 2rem 3rem;
    font-size: 1.6rem;
  }
  .s-faq__q::before {
    top: 2rem;
  }
  .s-faq__a {
    padding-left: 3rem;
    font-size: 1.5rem;
  }
}

/* ------------------------------------------------
 スタッフのカード（両立レコード型）
--------------------------------------------------- */
.s-staff-box {
  margin-top: 4rem;
}
.s-staff-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.8rem;
}
.s-staff-filter button {
  padding: 0.6rem 1.8rem;
  border: 0.15rem solid #e4d2ec;
  border-radius: 10rem;
  background-color: #ffffff;
  color: #4a3b54;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}
.s-staff-filter button[aria-pressed="true"] {
  background-color: #a21caf;
  border-color: #a21caf;
  color: #ffffff;
}
.s-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.s-staff-card[hidden] {
  display: none;
}
.s-staff-card__btn {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* <button> は中身を縦中央に寄せるので上にそろえる */
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0.1rem solid #efe4f3;
  background-color: #ffffff;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
}
.s-staff-card__btn:hover,
.s-staff-card__btn:focus-visible {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3rem -1.2rem rgba(112, 26, 117, 0.35);
}
.s-staff-card__btn:focus-visible {
  outline: 0.2rem solid #5c14bc;
  outline-offset: 0.2rem;
}
.s-staff-card__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 1.2rem; /* 2026-11-01 真央さん: 写真の四つ角を丸める（カードの中で少し内側に置く） */
  background: linear-gradient(160deg, #c026d3 0%, #5c14bc 100%);
  overflow: hidden;
}
.s-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.s-staff-card__initial {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 6.4rem;
  color: rgba(255, 255, 255, 0.92);
}
.s-staff-card__univ {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.3rem 1rem;
  background-color: #ffffff;
  color: #701a75;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  transform: skewX(-9deg);
}
.s-staff-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem 2rem 2.2rem;
}
.s-staff-card__name {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
.s-staff-card__name small {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #9a8aa3;
}
.s-staff-rec {
  display: grid;
  gap: 0.9rem; /* 部活・受験・経歴の間を少し空ける（2026-11-01 真央さん） */
  margin: 0;
}
.s-staff-rec div {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
}
.s-staff-rec dt {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #a21caf;
  transform: skewX(-9deg);
}
/* 部活・受験・経歴の中身は傾いた極太の文字（2026-11-01 真央さん「やっぱり斜めに」）。
   欄ごと skewX で傾けると下の行ほど左にずれるので、傾けるのは言葉ごとの箱（下の .s-ph） */
.s-staff-rec dd {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.6;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
/* 傾いた文字の言葉ごとの箱（assets/js/stucomi-slant.js が作る・サイト全体で共通）。
   要素ごと傾けると2行目以降が左にずれるので、要素の傾きは外して（.is-ph）箱を1つずつ傾ける。行の始まりがそろう */
.is-ph {
  transform: none !important;
}
.is-ph .s-ph {
  display: inline-block;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
.s-staff-subj {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.s-staff-subj span {
  padding: 0.2rem 0.8rem;
  background-color: #fdf4ff;
  color: #701a75;
  font-size: 1.2rem;
  font-weight: 700;
}
@media only screen and (max-width: 1000px) {
  .s-staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  .s-staff-grid {
    grid-template-columns: 1fr;
  }
}
.s-staff-card__btn > .s-staff-card__photo,
.s-staff-loop__item .s-staff-card__photo {
  margin: 1.2rem 1.2rem 0;
}
/* トップ：右から左へ流れる1列（2026-11-01）
   流すのは inc/staff.php のスクリプト（列ごと translate で動かす。iPhone で端に止まらないよう横スクロールは使わない）。
   指・トラックパッド・マウスのドラッグで自分でも動かせ、離すとまた流れ続ける（じりつLABOのお客様の声と同じ作り・速さ） */
.s-staff-loop {
  margin: 3.2rem calc(50% - 50vw) 0;
  overflow: hidden;
  touch-action: pan-y; /* 縦のスワイプはページのスクロール・横は列を動かす（スクリプト） */
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.s-staff-loop.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.s-staff-loop.is-dragging a {
  pointer-events: none;
}
.s-staff-loop img {
  -webkit-user-drag: none;
}
.s-staff-loop__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.s-staff-loop__list {
  display: flex;
  gap: 2rem;
  padding: 0.8rem 1rem 1.6rem 1rem;
  margin: 0;
  list-style: none;
}
.s-staff-loop__item {
  flex: 0 0 30rem;
}
.s-staff-loop__item a {
  display: block;
  height: 100%;
  border: 0.1rem solid #efe4f3;
  background-color: #ffffff;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
}
.s-staff-loop__item a:hover,
.s-staff-loop__item a:focus-visible {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3rem -1.2rem rgba(112, 26, 117, 0.35);
}
.s-staff-loop__name {
  display: block;
  padding: 1.2rem 1.6rem 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
.s-staff-loop__univ {
  display: block;
  padding: 0.4rem 1.6rem 1.4rem;
  color: #a21caf;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}
.s-staff-loop__rec {
  display: grid;
  gap: 1.2rem;
  margin: 0 1.6rem 1.6rem;
  padding-top: 1.2rem;
  border-top: 0.1rem solid #efe4f3;
}
.s-staff-loop__row {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
  color: #2b1a33;
  font-size: 1.25rem;
  font-weight: 400; /* 中身は「ひとこと」と同じ普通の文字（2026-11-01 真央さん） */
  line-height: 1.7;
}
.s-staff-loop__row b {
  color: #a21caf;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  transform: skewX(-9deg);
}
@media only screen and (max-width: 767px) {
  /* スマホは小さめ（2026-11-01 真央さん） */
  .s-staff-loop__item {
    flex-basis: 19rem;
  }
  .s-staff-loop__item .s-staff-card__photo {
    margin: 0.8rem 0.8rem 0;
    border-radius: 0.8rem;
  }
  .s-staff-loop__name {
    padding: 0.8rem 1rem 0;
    font-size: 1.4rem;
  }
  .s-staff-loop__univ {
    padding: 0.2rem 1rem 1rem;
    font-size: 1.05rem;
  }
  .s-staff-loop__rec {
    gap: 0.8rem;
    margin: 0 1rem 1rem;
    padding-top: 0.8rem;
  }
  .s-staff-loop__row {
    grid-template-columns: 2.8rem 1fr;
    gap: 0.4rem;
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .s-staff-loop__row b {
    font-size: 1rem;
  }
  .s-staff-loop__list {
    gap: 1.2rem;
    padding-left: 0.6rem; /* 左右の余白の合計＝カードの間隔（1.2rem）にして、つなぎ目の間隔をそろえる */
    padding-right: 0.6rem;
  }
  .s-staff-loop__name {
    font-size: 1.5rem;
  }
}
/* 動きを減らす設定の人には自動で流さない（手で横に動かすだけ・inc/staff.php のスクリプト） */
/* 楕円のボタン（スタッフ一覧はこちら） */
.s-more--pill a {
  border-radius: 10rem;
}
/* 下にスクロールできる印（/staff/ の最初・スマホだけ・2026-11-01） */
.s-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 2.4rem auto 0;
  color: #a21caf;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}
.s-scroll-cue::after {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border-right: 0.2rem solid currentColor;
  border-bottom: 0.2rem solid currentColor;
  transform: rotate(45deg);
  animation: s-scroll-cue 1.6s ease-in-out infinite;
}
@keyframes s-scroll-cue {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 1; }
  50% { transform: translateY(0.8rem) rotate(45deg); opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .s-scroll-cue::after { animation: none; }
}
@media only screen and (min-width: 768px) {
  .s-scroll-cue { display: none; } /* PCは一覧が一目で見えるので出さない（真央さん: PC版は完璧） */
}
/* 「メインスタッフ」見出しと注記 */
.s-staff-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 3.2rem 0 1.6rem;
  color: #a21caf;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  transform: skewX(-9deg);
}
.s-staff-label::after {
  content: "";
  flex: 1;
  height: 0.1rem;
  background-color: #e4d2ec;
}
.s-staff-note {
  margin-top: 1.6rem;
  color: #6b5a75;
  font-size: 1.3rem;
}
/* カードのひとこと（4行まで・続きは詳細で） */
/* ひとことは常に4行分の高さでカードの下にそろえる（横に並んだカードで始まり・終わり・「続きを読む」の位置が一致する） */
.s-staff-card__msg {
  display: block;
  margin-top: auto;
  padding: 1.2rem 1.4rem;
  background-color: #fdf4ff;
  color: #2b1a33;
  font-size: 1.35rem;
  line-height: 1.8;
}
.s-staff-card__msg > span {
  height: calc(1.8em * 4);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.s-staff-card__more {
  align-self: flex-end;
  color: #a21caf;
  font-size: 1.2rem;
  font-weight: 700;
}
.s-staff-card__more::after {
  content: " →";
}
/* 詳細（カードを押したとき）: 左上=写真（一覧と同じ4:3）／右上=プロフィール／下=ひとこと */
/* 枠の四つ角は少しだけ丸める。スクロールは上下だけ（中身が横にはみ出しても斜めに動かない）（2026-11-01 真央さん） */
.s-staff-dialog {
  width: min(80rem, calc(100% - 3.2rem));
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 1.2rem;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.s-staff-dialog::backdrop {
  background: rgba(22, 11, 28, 0.6);
}
.s-staff-dialog__box {
  position: relative;
  border-radius: 1.2rem;
  overflow-x: hidden;
  background-color: #ffffff;
  color: #2b1a33;
}
.s-staff-dialog__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "photo info" "msg msg";
  gap: 2.4rem 2.8rem;
  padding: 2.8rem;
}
.s-staff-dialog__photo {
  grid-area: photo;
  align-self: start;
}
.s-staff-dialog__in {
  grid-area: info;
  display: grid;
  gap: 1.2rem;
  align-content: start;
  padding-top: 2.4rem;
}
.s-staff-dialog__univ {
  color: #a21caf;
  font-size: 1.3rem;
  font-weight: 700;
}
.s-staff-dialog__name {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
.s-staff-dialog__msg {
  grid-area: msg;
  padding: 2rem 2.4rem;
  background-color: #fdf4ff;
  font-size: 1.5rem;
  line-height: 1.9;
}
.s-staff-dialog__msg-label {
  margin-bottom: 0.6rem;
  color: #a21caf;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  transform: skewX(-9deg);
}
.s-staff-dialog__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 1;
  padding: 0.4rem 1.4rem;
  border: 0.1rem solid #e4d2ec;
  border-radius: 10rem;
  background-color: #ffffff;
  color: #4a3b54;
  font-family: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  /* スマホ（2026-11-01 真央さん: 写真と閉じるボタンが切れないように）
     ・高さは「実際に見えている画面」（dvh・ブラウザのバーを除く）に収め、上下に1.2remずつ空ける
     ・スクロールするのは白い箱の中だけ。閉じるボタンは箱の上に貼りつけて、スクロールしても消えない
     ・写真は閉じるボタンの下から始まるので重ならない */
  .s-staff-dialog {
    margin: auto;
    max-height: calc(100vh - 2.4rem);
    max-height: calc(100dvh - 2.4rem);
    overflow: hidden;
  }
  .s-staff-dialog__box {
    max-height: calc(100vh - 2.4rem);
    max-height: calc(100dvh - 2.4rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  .s-staff-dialog__close {
    position: sticky;
    top: 0;
    display: block;
    margin: 0 0 0 auto;
    border-width: 0 0 0.1rem 0.1rem;
    border-radius: 0 0 0 1.2rem;
    padding: 0.8rem 1.6rem;
  }
}
@media only screen and (max-width: 600px) {
  .s-staff-dialog__body {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "info" "msg";
    gap: 1.6rem;
    padding: 0.4rem 1.6rem 1.6rem;
  }
  .s-staff-dialog__in {
    padding-top: 0;
  }
  .s-staff-dialog__msg {
    padding: 1.6rem;
  }
}

/* ------------------------------------------------
 最後のCTA・関連リンク・団体向けバナー
--------------------------------------------------- */
.s-final {
  padding-block: 10rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(192, 38, 211, 0.35) 0%, rgba(192, 38, 211, 0) 45%),
    linear-gradient(135deg, #2b1a33 0%, #2a1630 55%, #701a75 100%);
  color: #ffffff;
  text-align: center;
}
.s-final__title {
  max-width: 80rem;
  margin: 0 auto;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.6;
}
.s-final__text {
  max-width: 72rem;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 2;
}
.s-final__sub {
  margin-top: 2.4rem;
}
.s-final__sub a {
  color: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: underline;
}
.s-final__sub--small a {
  font-size: 1.3rem;
  font-weight: 500;
}
.s-final .s-cta {
  margin-top: 4rem;
}
@media only screen and (max-width: 767px) {
  .s-final {
    padding-block: 6.4rem;
  }
  .s-final__title {
    font-size: 2.1rem;
    text-align: left;
  }
  .s-final__text {
    font-size: 1.5rem;
    text-align: left;
  }
}
.s-related {
  padding-block: 4.8rem;
  background-color: #ffffff;
  border-top: 0.1rem solid #eadcef;
}
.s-related__label {
  font-size: 1.5rem;
  font-weight: 900;
  color: #701a75;
}
.s-related__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.s-related__list a {
  display: block;
  height: 100%;
  padding: 1.6rem 3.2rem 1.6rem 1.8rem;
  position: relative;
  border: 0.1rem solid #e2d8e8;
  background-color: #faf5fc;
  color: #2b1a33;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
}
.s-related__list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 0.2rem solid #a21caf;
  border-right: 0.2rem solid #a21caf;
  transform: translateY(-50%) rotate(45deg);
}
.s-related__list a:hover {
  border-color: #a21caf;
}
@media only screen and (max-width: 900px) {
  .s-related__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 480px) {
  .s-related__list {
    grid-template-columns: 1fr;
  }
}
.s-school-banner {
  padding-block: 4.8rem 6.4rem;
  background-color: #faf5fc;
}
.s-school-banner__box {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 3.2rem 4rem;
  border: 0.1rem solid #2b1a33;
  background-color: #ffffff;
}
.s-school-banner__text {
  flex: 1;
  min-width: 0;
}
.s-school-banner__label {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.s-school-banner__body {
  margin-top: 0.8rem;
  color: #4a3b54;
  font-size: 1.4rem;
  line-height: 1.9;
}
.s-school-banner__btn,
.s-school-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 1.6rem 2.8rem;
  background-color: #2b1a33;
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  transition: opacity 0.2s;
}
.s-school-banner__btn:hover,
.s-school-btn:hover {
  opacity: 0.85;
}
@media only screen and (max-width: 767px) {
  .s-school-banner__box {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2.4rem 2rem;
  }
  .s-school-banner__label {
    font-size: 1.6rem;
  }
  .s-school-banner__btn {
    text-align: center;
  }
}

/* ------------------------------------------------
 下層ページの最初（h1）
--------------------------------------------------- */
.s-hero {
  padding: 7.2rem 0 6.4rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(192, 38, 211, 0.3) 0%, rgba(192, 38, 211, 0) 45%),
    linear-gradient(135deg, #2b1a33 0%, #2a1630 60%, #701a75 100%);
  color: #ffffff;
  overflow: hidden;
}
.s-hero__en {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9b6f0;
}
.s-hero__title {
  margin: 1.2rem 0 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 1.5;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
.s-hero__lead {
  max-width: 84rem;
  margin-top: 2.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.7rem;
  line-height: 2;
}
@media only screen and (max-width: 767px) {
  .s-hero {
    padding: 4.8rem 0 4.4rem;
  }
  .s-hero__en {
    font-size: 1.3rem;
  }
  .s-hero__title {
    font-size: 2.6rem;
  }
  .s-hero__lead {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.9;
  }
}
/* 団体・学校向け: 落ち着いたトーン（傾けない・グラデーションなし） */
.s-hero--school {
  background: #241829;
  border-bottom: 0.4rem solid #8e5aa8;
}
.s-hero--school .s-hero__title {
  font-weight: 700;
  transform: none;
}
.s-hero--school .s-hero__en {
  font-style: normal;
  color: #c4b2cf;
}
.s-final--school {
  background: #241829;
}

/* ------------------------------------------------
 ページ固有の部品
--------------------------------------------------- */
/* つまずく3つの壁・負担がゼロに近い理由 */
.s-walls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem !important;
}
.s-wall {
  padding: 3.2rem 2.8rem;
  border: 0.1rem solid #8e5aa8;
  background-color: #ffffff;
}
.s-wall__num {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
  color: #a21caf;
}
.s-wall__title {
  display: block;
  margin-top: 1.6rem !important;
  font-size: 2rem;
  line-height: 1.55;
  transform-origin: left bottom;
}
.s-wall__text {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.9;
}
@media only screen and (max-width: 900px) {
  .s-walls {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .s-wall {
    padding: 2.4rem 2.2rem;
  }
  .s-wall__title {
    font-size: 1.8rem;
  }
}

/* 引退までのスケジュール */
.s-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: 4rem !important;
  padding-left: 3.2rem !important;
}
.s-timeline::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 0.6rem;
  width: 0.2rem;
  background: linear-gradient(180deg, #c026d3, #701a75);
}
.s-timeline li {
  position: relative;
}
.s-timeline li::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: -3.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: #a21caf;
  box-shadow: 0 0 0 0.4rem #fdf4ff;
}
.s-timeline__when {
  font-size: 2rem;
  color: #701a75;
}
.s-timeline p {
  margin-top: 0.4rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* 画像＋文章 */
.s-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.2rem;
}
.s-media__img img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.1rem solid #eadcef;
}
.s-media__body .s-text:first-child {
  margin-top: 0;
}
@media only screen and (max-width: 900px) {
  .s-media {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* 団体向け: 連携メニュー・導入の段階 */
.s-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}
.s-menu {
  padding: 3.2rem 3rem;
  border: 0.1rem solid #d9cce0;
  background-color: #faf5fc;
}
.s-menu__for {
  color: #701a75;
  font-size: 1.3rem;
  font-weight: 700;
}
.s-menu__title {
  margin: 0.8rem 0 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
}
.s-menu__text {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.9;
}
@media only screen and (max-width: 900px) {
  .s-menu-grid {
    grid-template-columns: 1fr;
  }
  .s-menu {
    padding: 2.4rem 2.2rem;
  }
  .s-menu__title {
    font-size: 1.9rem;
  }
}
.s-phase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem !important;
}
.s-phase--6 {
  grid-template-columns: repeat(3, 1fr);
}
.s-phase li {
  padding: 2.8rem 2.4rem;
  background-color: #ffffff;
  border: 0.1rem solid #d9cce0;
  border-top: 0.4rem solid #2b1a33;
}
.s-phase__step {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #8e5aa8;
}
.s-phase h3 {
  margin: 0.8rem 0 0 !important;
  font-size: 1.9rem;
  font-weight: 700;
}
.s-phase p {
  margin-top: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media only screen and (max-width: 900px) {
  .s-phase,
  .s-phase--6 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* 申込みページ */
.s-entry__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 72rem;
  margin: 0 auto !important;
}
.s-entry__steps li {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 2rem 1.2rem;
  background-color: #faf5fc;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
.s-entry__steps span {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-size: 2.4rem;
  color: #a21caf;
  line-height: 1;
}
.s-entry__steps small {
  color: #76687d;
  font-size: 1.2rem;
  font-weight: 500;
}
@media only screen and (max-width: 600px) {
  .s-entry__steps {
    grid-template-columns: 1fr;
  }
}
.s-entry__line {
  max-width: 72rem;
  margin: 4rem auto 0;
  text-align: center;
  font-size: 1.5rem;
}
.s-line-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 1.4rem 3.2rem;
  border-radius: 10rem;
  background-color: #06c755;
  color: #ffffff !important;
  font-weight: 700;
}
.s-entry__menu {
  max-width: 72rem;
  margin: 5.6rem auto 0 !important;
}
.s-entry .s-note {
  max-width: 72rem;
  margin-inline: auto;
}
.s-entry .s-note a {
  color: #701a75;
  text-decoration: underline;
}
#proposal-form .s-h2,
#proposal-form > .s-inner > .s-text {
  max-width: 72rem;
  margin-inline: auto;
}

/* ------------------------------------------------
 コラム記事: 執筆者・監修者／関連ページのカード
--------------------------------------------------- */
.s-updated {
  margin-left: 1.2rem;
  color: #76687d;
  font-size: 1.3rem;
}
.s-author {
  display: grid;
  gap: 1.6rem;
  margin-top: 6.4rem;
  padding: 2.4rem 2.8rem;
  border: 0.1rem solid #e2d8e8;
  background-color: #faf5fc;
}
.s-author__row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.6rem;
}
.s-author__label {
  align-self: start;
  padding: 0.2rem 0;
  background-color: #2b1a33;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}
.s-author__name {
  font-size: 1.6rem;
  font-weight: 700;
}
.s-author__bio {
  margin-top: 0.4rem;
  color: #4a3b54;
  font-size: 1.4rem;
  line-height: 1.8;
}
.s-lp-card {
  margin-top: 3.2rem;
}
.s-lp-card__label {
  font-size: 1.3rem;
  font-weight: 700;
  color: #76687d;
}
.s-lp-card__link {
  display: block;
  margin-top: 0.8rem;
  padding: 2.8rem 3.2rem;
  background: linear-gradient(135deg, #2b1a33 0%, #701a75 100%);
  color: #ffffff !important;
  transition: opacity 0.2s;
}
.s-lp-card__link:hover {
  opacity: 0.92;
}
.s-lp-card__title {
  font-size: 2.2rem;
}
.s-lp-card__text {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  line-height: 1.8;
}
.s-lp-card__sub {
  margin-top: 1.2rem;
  font-size: 1.4rem;
}
.s-lp-card__sub a {
  color: #701a75;
  text-decoration: underline;
}

/* コラム一覧のカテゴリ別カードの色（2026-10-11 カテゴリ変更） */
.p-popular__card--bukatsu      { background-image: linear-gradient(135deg, #8e5aa8 0%, #2b1a33 100%); }
.p-popular__card--teiki-test   { background-image: linear-gradient(135deg, #a21caf 0%, #2b1a33 100%); }
.p-popular__card--koukou-juken { background-image: linear-gradient(135deg, #701a75 0%, #2b1a33 100%); }
.p-popular__card--benkyouhou   { background-image: linear-gradient(135deg, #c026d3 0%, #2b1a33 100%); }
.p-popular__card--hogosha      { background-image: linear-gradient(135deg, #5c14bc 0%, #2b1a33 100%); }

@media (prefers-reduced-motion: reduce) {
  .s-target a,
  .s-staff-card__btn,
  .s-sub {
    transition: none;
  }
}

/* フォームのチェックボックス（団体向けの「関心のあるメニュー」など）も、ラジオと同じく間をあけて並べる */
.s-entry__form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.4rem;
  margin-top: 0.8rem;
}
.s-entry .s-final__sub {
  text-align: center;
}

/* 下層ページの見出しを英字だけにする（/staff/ の「STAFF」） */
.s-hero--en .s-hero__title {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 8rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  transform: none;
}
@media only screen and (max-width: 767px) {
  .s-hero--en .s-hero__title {
    font-size: 5.2rem;
  }
}
/* 画面には出さず、読み上げと検索エンジンにだけ伝える文字 */
.s-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .s-fv__msg {
    font-size: 2.6rem;
  }
}

/* 冒頭（2026-10-11 真央さん調整）
   キャッチ画像（h1）は少し小さめにして、すぐ下のメッセージを大きく見せる（刺さる一文を主役に） */
.s-fv h1.s-fv__catch {
  max-width: 60rem; /* 実際の大きさは「外観 → カスタマイズ → トップのキャッチ画像」の値（inc/customizer.php）が優先 */
}
.s-fv__lead {
  display: inline-block;
  margin: 0.8rem 0 2rem;
  color: #ffffff;
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  transform-origin: left bottom;
}
@media only screen and (max-width: 767px) {
  .s-fv h1.s-fv__catch {
    max-width: 30rem;
  }
  .s-fv__lead {
    margin-bottom: 1.6rem;
    font-size: 2.3rem;
  }
}

/* 実績の文（2026-10-11）
   段落ごと skewX で傾けると、2行目以降が階段状に左へずれる（スマホで目立つ）。
   文と注意書きは1文字ずつ傾ける斜体にして、行の頭をそろえる（学年ラベル・見出しは今までどおり skewX） */
.s-record .p-record__text.s-skew,
.s-record .p-record__note.s-skew {
  display: block;
  transform: none;
}
/* 斜体（italic）は約20度で見出しより傾きが強いので、1文字ずつ見出しと同じ9度に（inc/template-tags.php stucomi_slant） */
.s-ch {
  display: inline-block;
  transform: skewX(-9deg);
}
@media only screen and (max-width: 767px) {
  /* スマホ: 枠の余白を詰め、学年ラベルを文の上に置いて文の幅を広く取る */
  .s-record .p-record__inner {
    padding: 0 1.6rem;
  }
  .s-record .p-record__box {
    padding: 3.2rem 2rem 2.4rem;
  }
  .s-record .p-record__item {
    flex-direction: column;
    gap: 0.6rem;
  }
  .s-record .p-record__grade {
    min-width: 0;
  }
  .s-record .p-record__text {
    font-size: 1.6rem;
    line-height: 1.7;
  }
}

/* 画像に width/height を付けたので、CSSで縦横比を決めている画像は高さを自動に（2026-10-11） */
.s-step__img,
.s-media__img img {
  height: auto;
}

/* ------------------------------------------------
 ヘッダー: 1200px以上ならメニューを横に全部出す（2026-10-11 真央さん）
 本家は1500px未満でハンバーガーになるが、ノートPCでもメニューが見えるようにする
--------------------------------------------------- */
@media only screen and (min-width: 1200px) and (max-width: 1499px) {
  .p-header .u-header-pc {
    display: block !important;
  }
  .p-header .u-header-sp,
  .p-header .p-drawer {
    display: none !important;
  }
  .p-header {
    padding-inline: 2.4rem !important;
  }
  .p-header-nav__list a {
    padding-inline: 0.8rem;
    font-size: 1.5rem;
  }
  .p-header-nav__list span {
    font-size: 1.1rem;
  }
  .s-header-btn {
    width: 18rem;
  }
  .p-header-join__btn {
    padding-left: 0.8rem;
  }
}

/* スマホ: 横にはみ出す表（他社比較など）に「横にスクロールできます」の案内を出す（2026-10-11） */
@media only screen and (max-width: 767px) {
  .s-compare__scroll::before,
  .s-table-wrap::before {
    content: "横にスクロールできます →";
    position: sticky;
    left: 0;
    display: block;
    margin-bottom: 0.6rem;
    color: #8e5aa8;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
  }
}

/* スマホでもメッセージは2行（1行16文字）に収める。画面幅に合わせて文字の大きさを変える（2026-10-11 真央さん） */
.s-fv__lead span {
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .s-fv__lead {
    font-size: min(2.6rem, 5.4vw);
  }
}

/* ヘッダーからトップページ内の場所へ移動するとき、なめらかにスクロール（2026-10-11） */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* メニューが10項目になったので、1200〜1499pxはさらに詰める */
@media only screen and (min-width: 1200px) and (max-width: 1499px) {
  .p-header-nav__list a {
    padding-inline: 0.6rem;
    font-size: 1.4rem;
  }
}

/* 部活ページ: タイムラインの下に受験学年のロードマップを続けて出す（2026-10-11） */
.s-roadmap-in {
  margin-top: 6rem;
}

/* ------------------------------------------------
 写真（2026-10-11 各ページの最初・お子さま別カード・団体向けの各セクション）
--------------------------------------------------- */
/* ページの最初: 写真の上に、左が濃い紫の幕を重ねて文字を読みやすくする */
.s-hero--img {
  position: relative;
  padding: 10.4rem 0 9.6rem;
  background:
    linear-gradient(90deg, rgba(43, 26, 51, 0.94) 0%, rgba(43, 26, 51, 0.82) 42%, rgba(43, 26, 51, 0.35) 100%),
    var(--hero-img) center / cover no-repeat;
}
.s-hero--img.s-hero--school {
  background:
    linear-gradient(90deg, rgba(36, 24, 41, 0.95) 0%, rgba(36, 24, 41, 0.84) 42%, rgba(36, 24, 41, 0.4) 100%),
    var(--hero-img) center / cover no-repeat;
}
.s-hero--img .s-hero__lead {
  max-width: 72rem;
}
@media only screen and (max-width: 767px) {
  /* スマホは文字が写真全体にかかるので、幕を全体に濃く */
  .s-hero--img,
  .s-hero--img.s-hero--school {
    padding: 6.4rem 0 5.6rem;
    background:
      linear-gradient(180deg, rgba(43, 26, 51, 0.78) 0%, rgba(43, 26, 51, 0.9) 100%),
      var(--hero-img) center / cover no-repeat;
  }
}

/* お子さま別カード: 上に写真、文はその下 */
.s-target a {
  padding: 0;
}
.s-target__img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.s-target__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.s-target a:hover .s-target__img img,
.s-target a:focus-visible .s-target__img img {
  transform: scale(1.04);
}
.s-target__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 3.2rem 3.2rem 3.2rem;
}
@media only screen and (max-width: 767px) {
  .s-target a {
    padding: 0;
  }
  .s-target__body {
    padding: 2.4rem 2.2rem;
  }
}

/* セクションの見出しの下に置く横長の写真 */
.s-photo {
  margin: 3.2rem 0 4rem;
  overflow: hidden;
}
.s-photo img {
  display: block;
  width: 100%;
  max-height: 44rem;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .s-photo {
    margin: 2.4rem 0 2.8rem;
  }
  .s-photo img {
    max-height: 22rem;
  }
}

/* ヘッダー: メニューが10項目＋ボタン2つになったので、1200〜1365px は少し詰める（2026-10-11） */
@media only screen and (min-width: 1200px) and (max-width: 1365px) {
  .p-header {
    padding-inline: 1.6rem !important;
  }
  .s-header-logo img {
    width: 15rem;
  }
  .p-header-nav__list a {
    padding-inline: 0.5rem;
    font-size: 1.4rem;
  }
  .p-header-nav__list span {
    font-size: 1rem;
  }
  .s-header-btn {
    width: 15.5rem;
  }
  .c-header__btn span:last-child {
    font-size: 1.1rem;
  }
}

/* ================================================================
 スマホでトップが長すぎるので、全体をコンパクトに（2026-10-11 真央さん）
 縦1列に並べていた枠を2列にし、余白・見出し・表の文字を小さくする。PCの見た目は変えない
================================================================ */
@media only screen and (max-width: 767px) {
  /* 余白と見出し */
  .s-section,
  .s-lower .s-section {
    padding-block: 4.8rem !important;
  }
  .s-heading,
  .s-heading-white {
    margin-bottom: 0 !important;
  }
  .c-section-title,
  .c-section-title--white {
    font-size: 3.4rem !important;
  }
  .s-lead,
  .s-grit__lead,
  .s-text {
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
  }

  /* 2列にする枠 */
  .s-targets,
  .s-promise__list,
  .s-reason,
  .s-grit,
  .s-grit.s-grit--4,
  .s-science,
  .s-step,
  .s-flow,
  .s-practice {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 2.4rem !important;
  }
  /* スタッフ一覧（/staff/）はスマホでも2列（2026-11-01 真央さん）。
     狭いので、項目名を上・中身を下に積み、文字を小さく、ひとことは3行まで（全文は押して詳細で） */
  .s-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 0 !important;
  }
  .s-staff-card__btn > .s-staff-card__photo {
    margin: 0.6rem 0.6rem 0;
    border-radius: 0.8rem;
  }
  .s-staff-grid .s-staff-card__univ {
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.2rem 0.6rem;
    font-size: 1rem;
  }
  .s-staff-grid .s-staff-card__body {
    gap: 0.6rem;
    padding: 0.8rem 0.8rem 1rem !important;
  }
  .s-staff-grid .s-staff-card__name {
    flex-wrap: wrap;
    gap: 0 0.6rem;
    font-size: 1.4rem !important;
  }
  .s-staff-grid .s-staff-card__name small {
    font-size: 0.9rem;
  }
  .s-staff-grid .s-staff-rec div {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .s-staff-grid .s-staff-rec dt {
    font-size: 1rem;
  }
  .s-staff-grid .s-staff-rec dd {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .s-staff-grid .s-staff-subj span {
    padding: 0.1rem 0.5rem;
    font-size: 1rem;
  }
  .s-staff-grid .s-staff-card__msg {
    padding: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .s-staff-grid .s-staff-card__msg > span {
    height: calc(1.6em * 3);
    -webkit-line-clamp: 3;
  }
  .s-staff-grid .s-staff-card__more {
    font-size: 1.05rem;
  }
  /* 枠の中を詰める */
  .s-promise__item,
  .s-reason__item,
  .s-grit__item,
  .s-science__item,
  .s-step__item,
  .s-follow__item,
  .s-flow__item {
    padding: 1.6rem 1.4rem !important;
  }
  .s-promise__num,
  .s-reason__num,
  .s-grit__num {
    font-size: 2.4rem !important;
    line-height: 1.2 !important;
  }
  .s-promise__title,
  .s-reason__title,
  .s-grit__title,
  .s-science__title,
  .s-step__title,
  .s-follow__title,
  .s-target__title {
    margin-top: 0.6rem !important;
    font-size: 1.45rem !important;
    line-height: 1.5 !important;
  }
  .s-promise__text,
  .s-reason__text,
  .s-grit__text,
  .s-science__text,
  .s-step__text,
  .s-follow__text,
  .s-target__text,
  .s-practice__text {
    margin-top: 0.6rem !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
  }
  .s-science__source,
  .s-reason__tags {
    margin-top: 0.6rem !important;
    font-size: 1rem !important;
  }
  /* 科学的根拠の丸 */
  .s-science__point {
    width: 6.4rem !important;
    height: 6.4rem !important;
    font-size: 1.1rem !important;
  }
  /* 丸の中の文字（「テスト」など3文字でもはみ出さない大きさ） */
  .s-science__point span {
    font-size: 1.5rem !important;
  }
  /* お子さま別カード */
  .s-target__body {
    padding: 1.4rem 1.2rem !important;
  }
  .s-target__en {
    display: none;
  }
  .s-target__go {
    padding-top: 1rem !important;
    font-size: 1.2rem !important;
  }
  .s-target__img {
    aspect-ratio: 4 / 3;
  }
  /* お悩み: 2列のチップ */
  .s-worry {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem !important;
  }
  .s-worry li {
    margin: 0 !important;
    padding: 1rem 1rem 1rem 3rem !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
  }
  .s-worry li::before {
    left: 1rem !important;
  }
  /* 実績 */
  .s-record .p-record__item {
    padding-block: 1.2rem !important;
  }
  .s-record .p-record__text {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
  }
  /* 比較表・ふつうの表 */
  .s-compare,
  .s-table {
    font-size: 1.1rem !important;
  }
  .s-compare th,
  .s-compare td,
  .s-table th,
  .s-table td {
    padding: 0.8rem 0.6rem !important;
    line-height: 1.5 !important;
  }
  /* 特長: 写真を小さく */
  .s-feature-intro img,
  .s-feature-intro__img img {
    max-height: 20rem;
    object-fit: cover;
  }
  .s-practice__label {
    font-size: 1.1rem !important;
  }
  /* 料金カード */
  .s-plan {
    padding: 2rem 1.8rem !important;
  }
  .s-plan__points li {
    font-size: 1.25rem !important;
    padding-block: 0.2rem !important;
  }
  /* スタッフ */
  .s-staff-card__body {
    padding: 1.2rem !important;
  }
  .s-staff-card__name {
    font-size: 1.5rem !important;
  }
  /* よくある質問 */
  .s-faq-group + .s-faq-group {
    margin-top: 2.4rem !important;
  }
}
@media only screen and (max-width: 767px) {
  /* 約束（ol.s-promise）も2列 */
  ol.s-promise {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 2.4rem !important;
  }
  ol.s-promise > li {
    margin: 0 !important;
  }
  /* はじめるまでの流れ: STEPの札を上、文を下に */
  .s-flow__item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  .s-flow__item p {
    margin: 0 !important;
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
  }
  .s-flow__item small {
    font-size: 1.1rem !important;
  }
  /* 料金: 3枚を横にスワイプ */
  .s-plans {
    display: flex !important;
    gap: 1.2rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -2rem !important;
    padding: 0.4rem 2rem 1.6rem !important;
    -webkit-overflow-scrolling: touch;
  }
  .s-plans > * {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  /* 特長の写真は横長に小さく */
  .s-feature-intro__img {
    margin: 2.4rem 1rem 0 0 !important;
  }
  .s-feature-intro__img .s-para__inner {
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  .s-feature-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .s-feature-intro__text p {
    font-size: 1.35rem !important;
    line-height: 1.85 !important;
  }
  /* よくある質問の行を詰める */
  .s-faq__q {
    padding-block: 1.2rem !important;
    font-size: 1.3rem !important;
  }
  .s-faq__a {
    font-size: 1.25rem !important;
  }
}
.s-plans__hint {
  margin-top: 2rem;
  text-align: right;
  color: #a21caf;
  font-size: 1.15rem;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  /* スタッフの大学タグ: 縦1列 → 横に流して折り返す */
  .s-staff.p-career__tag-box {
    padding: 1.8rem 1.6rem !important;
  }
  .s-staff .s-staff__list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem !important;
  }
  .s-staff .p-career__tag {
    margin: 0 !important;
    font-size: 1.3rem !important;
  }
}
@media only screen and (max-width: 767px) {
  /* GRIT（数字にコミットする伴走）の3つは縦に1列（2026-10-11 真央さん） */
  .s-grit:not(.s-grit--4) {
    grid-template-columns: 1fr !important;
  }
  /* 「さぁ、やろう。」を真ん中に */
  .s-feature-close__go {
    display: block !important;
    width: fit-content;
    margin-inline: auto !important;
  }
}

/* 部活・受験・経歴などは言葉の切れ目で改行し、行頭の「（」の余白を詰めて行の始まりをそろえる（2026-11-01 真央さん）
   改行位置は <budoux-ja>（assets/js/budoux-ja.min.js）が決める */
budoux-ja {
  display: inline;
}
.s-staff-rec dd,
.s-staff-loop__row > span {
  line-break: strict;
  text-spacing-trim: trim-start;
}

/* スマホ: 特長の写真の下の肩書き「事業責任者 堀内真央」を小さく（下の見出しとかぶらないように・2026-11-01 真央さん） */
@media only screen and (max-width: 767px) {
  .s-para__caption {
    margin-top: 1.4rem;
    font-size: 1.5rem;
  }
  .s-para__caption span {
    margin-right: 0.8rem;
    font-size: 1.05rem;
  }
  .s-para:has(.s-para__caption) {
    margin-bottom: 4rem;
  }
}

/* 実績の文・注意書きは1文字ずつ傾けている（.s-ch）ので、欄ごとの傾きは確実に外す
   （stucomi.css の #result の指定が強く、欄ごとにも傾いて2行目以降がずれていた・2026-11-01） */
#result .p-record__text.s-skew,
#result .p-record__note.s-skew {
  transform: none;
}

/* ------------------------------------------------
 ヘッダー: ニュースを足して11項目になった（2026-11-03 真央さん）
 1200〜1919px は画面幅に合わせて文字・余白・ボタン幅を伸び縮みさせる。
 これまでも 1500〜1680px あたりで右端の「団体・学校の方へ」が最大175px はみ出していたので、ここでまとめて直す。
 本番のトップに項目を足して 1201〜1921px で測り、どの幅でもはみ出さないことを確認済み（2026-11-03）
--------------------------------------------------- */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
  .p-header {
    padding-inline: clamp(1.2rem, 1.2vw, 3rem) !important;
  }
  .s-header-logo img {
    width: clamp(12.5rem, 10vw, 19rem);
  }
  .p-header-nav__list a {
    padding-inline: clamp(0.3rem, 0.45vw, 1rem);
    font-size: clamp(1.2rem, 0.9vw, 1.6rem);
  }
  .p-header-nav__list span {
    font-size: clamp(0.95rem, 0.68vw, 1.2rem);
  }
  .s-header-btn {
    width: clamp(13.5rem, 10vw, 19rem);
  }
  .c-header__btn span:last-child {
    font-size: clamp(1rem, 0.75vw, 1.3rem);
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1259px) {
  .p-header-nav__list a {
    padding-inline: 0.5rem;
    font-size: 1.15rem;
  }
  .s-header-btn {
    width: 12.5rem;
  }
}

/* ------------------------------------------------
 コラムの問い合わせ導線（2026-11-03・inc/column.php）
 .s-col-cta     … 本文の途中（3つ目のh2の前）の無料相談の案内
 .s-col-contact … 記事の最後の「お問い合わせ・お申し込み」
--------------------------------------------------- */
.p-news-detail__content .s-col-cta {
  margin: 4.8rem 0 1.6rem;
  padding: 2.8rem 3.2rem;
  border: 0.2rem solid #8e5aa8;
  border-radius: 1.2rem;
  background: #faf6fc;
}
.p-news-detail__content .s-col-cta__lead {
  margin: 0;
  color: #2b1a33;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
}
.p-news-detail__content .s-col-cta__text {
  margin: 1rem 0 0;
  color: #4a3a52;
  font-size: 1.5rem;
  line-height: 1.8;
}
.p-news-detail__content .s-col-cta__btn,
.s-col-contact__item.is-main {
  background: linear-gradient(135deg, #a21caf 0%, #701a75 100%);
  color: #fff;
}
.p-news-detail__content .s-col-cta__btn {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 1.2rem 3.2rem;
  border-radius: 99rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s;
}
.p-news-detail__content .s-col-cta__btn:hover {
  opacity: 0.8;
}

.s-col-contact {
  margin-top: 3.2rem;
  padding: 3.2rem;
  border-radius: 1.2rem;
  background: #2b1a33;
  color: #fff;
}
.s-col-contact__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}
.s-col-contact__text {
  margin: 1rem 0 0;
  font-size: 1.4rem;
  line-height: 1.8;
  opacity: 0.9;
}
.s-col-contact__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.s-col-contact__item {
  display: block;
  height: 100%;
  padding: 1.4rem 1.8rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.35);
  border-radius: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, opacity 0.3s;
}
.s-col-contact__item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.s-col-contact__item.is-main {
  border-color: transparent;
}
.s-col-contact__item.is-main:hover {
  opacity: 0.85;
}
.s-col-contact__name {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}
.s-col-contact__name::after {
  content: " →";
}
.s-col-contact__desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.85;
}
@media only screen and (max-width: 767px) {
  .p-news-detail__content .s-col-cta {
    padding: 2rem;
  }
  .p-news-detail__content .s-col-cta__lead {
    font-size: 1.6rem;
  }
  .p-news-detail__content .s-col-cta__text {
    font-size: 1.4rem;
  }
  .p-news-detail__content .s-col-cta__btn {
    display: block;
    text-align: center;
  }
  .s-col-contact {
    padding: 2.4rem 2rem;
  }
  .s-col-contact__list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
 * 記事ページ: 見出し・目次・関連記事（2026-11-08 真央さん）
 * ・見出しは 大（h2）＞ 中（h3）＞ 小（h4）がひと目で分かるように
 *   h2 = 左に太い色の帯／h3 = 下線／h4 = 小さな四角の印
 * ・目次は inc/article-toc.php、関連記事は inc/related-posts.php が出す
 * ・入稿スクリプトが見出しの頭に入れている <br>（余白づくり用）は、見出しに余白を付けたので消す
 * ============================================================ */
.p-news-detail {
  --art-accent: #a21caf;
  --art-line: #eadcf0;
  --art-soft: #ffffff; /* 目次・大見出しの地（ページの地が色付きなので白） */
  --art-text: #2b1a33;
  --art-sub: #76687d;
}
.p-news-detail__content h2,
.p-news-detail__content h3,
.p-news-detail__content h4 {
  color: var(--art-text);
  font-weight: 700;
  line-height: 1.6;
  scroll-margin-top: 12rem;
}
.p-news-detail__content h2 br,
.p-news-detail__content h3 br,
.p-news-detail__content h4 br {
  display: none;
}
/* 大見出し */
.p-news-detail__content h2 {
  position: relative;
  margin-top: 9rem;
  padding: 1.4rem 1.6rem 1.4rem 2.4rem;
  font-size: 3rem;
  background: var(--art-soft);
  border: 1px solid var(--art-line);
  border-radius: 0.6rem;
}
.p-news-detail__content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.8rem;
  border-radius: 0.6rem 0 0 0.6rem;
  background: var(--art-accent);
}
/* 中見出し */
.p-news-detail__content h3 {
  margin-top: 6rem;
  padding-bottom: 1.2rem;
  font-size: 2.5rem;
  border-bottom: 2px solid var(--art-line);
}
/* 小見出し */
.p-news-detail__content h4 {
  position: relative;
  margin-top: 4.5rem;
  padding-left: 2rem;
  font-size: 2.2rem;
}
.p-news-detail__content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--art-accent);
}
.p-news-detail__content h2 + h3 {
  margin-top: 4rem;
}
@media only screen and (max-width: 767px) {
  .p-news-detail__content h2,
  .p-news-detail__content h3,
  .p-news-detail__content h4 {
    scroll-margin-top: 8rem;
  }
  .p-news-detail__content h2 {
    margin-top: 6rem;
    padding: 1.1rem 0 1.1rem 1.8rem;
    font-size: 2rem;
  }
  .p-news-detail__content h2::before {
    width: 0.6rem;
  }
  .p-news-detail__content h3 {
    margin-top: 4.5rem;
    padding-bottom: 0.9rem;
    font-size: 1.75rem;
  }
  .p-news-detail__content h4 {
    margin-top: 3.5rem;
    padding-left: 1.5rem;
    font-size: 1.55rem;
  }
  .p-news-detail__content h4::before {
    width: 0.7rem;
    height: 0.7rem;
  }
  .p-news-detail__content h2 + h3 {
    margin-top: 3rem;
  }
}

/* ---------- 目次（導入文のすぐ後） ---------- */
.c-toc {
  margin-top: 5rem;
  padding: 3rem 3.6rem;
  background: var(--art-soft);
  border: 1px solid var(--art-line);
  border-radius: 1rem;
}
.p-news-detail__content .c-toc__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--art-text);
}
.c-toc__list {
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}
.c-toc__item + .c-toc__item {
  margin-top: 0.8rem;
}
.c-toc__item a {
  display: flex;
  gap: 0.8rem;
  font-size: 1.7rem;
  line-height: 1.7;
  color: var(--art-accent-text, var(--art-accent));
  text-decoration: none;
}
.c-toc__item a:hover {
  text-decoration: underline;
}
.c-toc__num {
  flex-shrink: 0;
  min-width: 2.2rem;
}
@media only screen and (max-width: 767px) {
  .c-toc {
    margin-top: 4rem;
    padding: 2rem 2rem;
  }
  .p-news-detail__content .c-toc__title {
    font-size: 1.6rem;
  }
  .c-toc__item a {
    font-size: 1.4rem;
    line-height: 1.6;
  }
  .c-toc__num {
    min-width: 1.8rem;
  }
}

/* ---------- 関連記事（記事の最後・このサイトのコラムだけ） ---------- */
.c-relpost {
  margin-top: 10rem;
}
.c-relpost__heading {
  position: relative;
  padding-left: 1.8rem;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--art-text);
}
.c-relpost__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 0.6rem;
  border-radius: 9999px;
  background: var(--art-accent);
}
.c-relpost__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
}
.c-relpost__link {
  display: flex;
  gap: 1.6rem;
  height: 100%;
  padding: 1.4rem;
  background: #ffffff;
  border: 1px solid var(--art-line);
  border-radius: 1rem;
  color: var(--art-text);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.c-relpost__link:hover {
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.c-relpost__thumb {
  flex-shrink: 0;
  align-self: flex-start;
  width: 42%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.6rem;
  background: var(--art-soft);
}
.c-relpost__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-relpost__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--art-sub);
}
.c-relpost__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}
.c-relpost__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
}
.c-relpost__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.8rem;
  margin-top: auto;
}
.c-relpost__date {
  font-size: 1.3rem;
  color: var(--art-sub);
}
.c-relpost__tag {
  padding: 0.3rem 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--art-accent-text, var(--art-accent));
  border: 1px solid currentColor;
  border-radius: 9999px;
}
@media only screen and (max-width: 767px) {
  .c-relpost {
    margin-top: 7rem;
  }
  .c-relpost__heading {
    padding-left: 1.4rem;
    font-size: 1.9rem;
  }
  .c-relpost__list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.8rem;
  }
  .c-relpost__link {
    gap: 1.2rem;
    padding: 1rem;
  }
  .c-relpost__title {
    font-size: 1.4rem;
    -webkit-line-clamp: 3;
  }
  .c-relpost__date {
    font-size: 1.15rem;
  }
  .c-relpost__tag {
    font-size: 1.05rem;
    padding: 0.2rem 0.6rem;
  }
}
