@charset "UTF-8";

html { scroll-behavior: smooth; }

/* overflow-x:hidden は iOS Safari の position:sticky を阻害するため clip を使う。 */
body { overflow-x: clip; }

.page-head {
  position: relative;
  width: calc(100% - 80px);
  min-height: 370px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background: #f5f4f1;
}

/* WordPress ビジュアルエディター：公開ページの本文カードと同じ文字組み。 */
body#tinymce.wp-editor,
body.mce-content-body {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 840px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 52px) !important;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #3f3c38;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

body#tinymce.wp-editor *,
body.mce-content-body * { box-sizing: border-box; }

body#tinymce.wp-editor p,
body.mce-content-body p { margin: 0 0 18px; }

body#tinymce.wp-editor p:last-child,
body.mce-content-body p:last-child { margin-bottom: 0; }

body#tinymce.wp-editor h2,
body.mce-content-body h2 {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f15a24;
  color: #26231f;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.55;
}

body#tinymce.wp-editor h3,
body.mce-content-body h3 {
  margin: 34px 0 14px;
  color: #26231f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

body#tinymce.wp-editor ul,
body.mce-content-body ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

body#tinymce.wp-editor li,
body.mce-content-body li {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  background: #f7f5f1;
  color: #3f3c38;
  font-size: 15px;
  line-height: 1.75;
}

body#tinymce.wp-editor li::before,
body.mce-content-body li::before {
  position: absolute;
  top: 17px;
  left: 17px;
  display: block;
  width: 14px;
  height: 14px;
  border: 4px solid #f15a24;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  content: "";
  font-size: 0;
}

body#tinymce.wp-editor a,
body.mce-content-body a {
  color: #d94812;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

body#tinymce.wp-editor img,
body.mce-content-body img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 680px) {
  body#tinymce.wp-editor,
  body.mce-content-body {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 26px 20px !important;
    border-radius: 0;
  }
}

/* =========================================================
   ページヘッダーの背景装飾
   ページ下部の飾り（.page-decoration__item）と同じ言語――
   淡いブランドカラーの丸角スクエアとドット――で、
   見出しの可読性を落とさない範囲の控えめなあしらいにする。
   ========================================================= */

/* 全面：ごく薄いドットのテクスチャ。右へ向かってフェードさせ、
   イラストのある側では消えるようにする。 */
.page-head::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(rgba(29, 29, 29, .055) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(102deg, #000 0%, rgba(0, 0, 0, .45) 44%, transparent 72%);
  mask-image: linear-gradient(102deg, #000 0%, rgba(0, 0, 0, .45) 44%, transparent 72%);
  pointer-events: none;
  content: "";
}

/* 右上：イラストの背後に回る大きな淡い円。 */
.page-head::after {
  position: absolute;
  z-index: 0;
  top: -150px;
  right: -70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #fff0e8;
  opacity: .55;
  pointer-events: none;
  content: "";
}

.page-head__inner {
  position: relative;
  width: calc(100% - 120px);
  min-height: 370px;
  margin: 0 auto;
}

/* 見出しの右上あたりに小さなアクセント。 */
.page-head__inner::after {
  position: absolute;
  z-index: 0;
  top: 132px;
  right: 27%;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffeec4;
  opacity: .55;
  pointer-events: none;
  content: "";
}

/* サブメニューが無いページはヘッダーが低いので、飾りも小さく。 */
/* サブメニューが無いページ（最新情報・Q&A など）はヘッダーが低く、
   飾りを入れると窮屈になるため背景装飾は出さない。 */
.page-head--no-tabs::before,
.page-head--no-tabs::after,
.page-head--no-tabs .page-head__inner::after {
  display: none;
}

/*
 * サブメニュー（.page-tabs）を持たないページ（Q&A・最新情報・関連リンク等）は、
 * タブ1段分の余白が空いて間延びするため、ヘッダーを大幅に低くする（370px → 240px）。
 * 見出しが上下ほぼ中央に来るよう .page-head__content の top も詰める。
 */
.page-head--no-tabs,
.page-head--no-tabs .page-head__inner {
  min-height: 240px;
}

.page-head--no-tabs .page-head__content {
  top: 80px;
}

.page-head--no-tabs .page-head__content--child {
  top: 58px;
}

.page-head__content {
  position: absolute;
  /* 全下層ページで、タイトルとサブメニューを右側イラストより前面に保つ。 */
  z-index: 2;
  top: 124px;
  left: 0;
}

.page-head__content--child {
  top: 82px;
}

.page-head__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #5f5b56;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.page-head__category::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-orange);
  content: "";
}

.page-head__category:hover,
.page-head__category:focus-visible {
  color: var(--color-orange);
}

.page-head__title-row {
  display: flex;
  align-items: flex-end;
}

.page-head__title {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(50px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

/* 「Success Stories」は文字数が多く横に伸びすぎるため、少し小さく組む。 */
body[data-page="results"] .page-head__title {
  font-size: clamp(40px, 4vw, 58px);
}

/* 見出し中の中黒（TA・SA・GSI など）は、そのままだと粒が大きすぎるので小さく組む。 */
.page-head__nakaguro {
  margin: 0 .05em;
  font-size: .42em;
  vertical-align: .36em;
  letter-spacing: 0;
}

.page-head__divider {
  width: 22px;
  height: 2px;
  margin: 0 18px 13px 32px;
  background: var(--color-orange);
}

.page-head__label {
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.page-head__illust {
  position: absolute;
  z-index: 1; /* 背景装飾より前面に。 */
  top: 52px;
  right: 12px;
  width: 400px;
  height: auto;
}

body:is(
  [data-page="assistant"],
  [data-page="advisor"],
  [data-page="tasa"]
) .page-head__illust {
  top: auto;
  bottom: 0;
  width: 350px;
}

body:is(
  [data-page="advising"],
  [data-page="learning"],
  [data-page="room"],
  [data-page="career_advising"],
  [data-page="support"],
  [data-page="reservation"]
) .page-head__illust {
  top: auto;
  right: -20px;
  bottom: 0;
}

body:is(
  [data-page="programs"],
  [data-page="proglearning"],
  [data-page="progdetail"],
  [data-page="progcareer"]
) .page-head__illust {
  top: auto;
  right: -50px;
  bottom: 0;
  width: 500px;
}

body:is(
  [data-page="resources"],
  [data-page="tools"]
) .page-head__illust {
  top: auto;
  right: -20px;
  bottom: 0;
}

body:is(
  [data-page="about"],
  [data-page="staff"],
  [data-page="results"],
  [data-page="history"]
) .page-head__illust {
  top: auto;
  right: -50px;
  bottom: 0;
  width: 500px;
}

/* サブメニュー無しページは枠が低いので、イラストも収まるサイズに縮める。 */
.page-head--no-tabs .page-head__illust {
  top: 30px;
  width: 340px;
}

/* 下端揃えのイラスト（講座詳細）は上端が切れないよう別途調整。 */
body[data-page="progdetail"] .page-head--no-tabs .page-head__illust {
  top: auto;
  bottom: 0;
  width: 350px;
}

/*
 * 絵柄が四辺いっぱいのイラスト（Q&A・最新情報など）用。
 * 既定の配置は絵の周囲に透明余白があることを前提に枠外へはみ出させているため、
 * そのままでは人物が切れてしまう。下端に揃え、枠内に収める。
 */
.page-head .page-head__illust.page-head__illust--fit {
  top: auto;
  right: 12px;
  bottom: 0;
  width: 330px;
}

/* 一回り小さく見せたいイラスト（最新情報など）。 */
.page-head .page-head__illust.page-head__illust--fit-sm {
  width: 285px;
}

.page-tabs { margin-top: 40px; }

.page-tabs__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 103px;
  height: 40px;
  padding: 0 13px 0 16px;
  border: 1px solid #d9d7d3;
  border-radius: 6px;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

/* ボタンだと分かるように、ラベル右へ小さな矢印（シェブロン）を添える。 */
.page-tabs__link::after {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #b3aea6;
  border-right: 1.5px solid #b3aea6;
  transform: translateX(-1px) rotate(45deg);
  transition: border-color .2s ease, transform .2s ease;
}

.page-tabs__link:hover,
.page-tabs__link:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.page-tabs__link:hover::after,
.page-tabs__link:focus-visible::after {
  border-top-color: currentColor;
  border-right-color: currentColor;
  transform: translateX(1px) rotate(45deg);
}

.page-tabs__link.is-current {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: var(--color-white);
}

/* 開いているページのタブは「今ここ」を示すため矢印を下向きにする。 */
.page-tabs__link.is-current::after,
.page-tabs__link.is-current:hover::after,
.page-tabs__link.is-current:focus-visible::after {
  border-top-color: currentColor;
  border-right-color: currentColor;
  transform: translateY(-1px) rotate(135deg);
}

.page-content {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding-bottom: 24px;
}

.footer {
  margin-top: 72px;
}

/* 装飾は本文・カード・セクション背景より下の専用レイヤーに集約 */
.page-decoration {
  --page-edge-1: calc((100vw - 100%) / -2 - var(--edge-1-extra, 16px));
  --page-edge-2: calc((100vw - 100%) / -2 - var(--edge-2-extra, 38px));
  --page-edge-3: calc((100vw - 100%) / -2 - var(--edge-3-extra, 6px));
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.page-decoration__item {
  position: absolute;
  width: 85px;
  height: 90px;
  border-radius: 22px;
  background: #fff0e8;
}

.page-decoration__item--1 { top: var(--deco-1-top, 4%); right: var(--page-edge-1); }
.page-decoration__item--2 { top: var(--deco-2-top, 46%); left: var(--page-edge-2); background: #edf3e9; }
.page-decoration__item--3 { top: var(--deco-3-top, 82%); right: var(--page-edge-3); background: #fff8e5; }
.page-decoration__item--4 { display: none; }

body:is(
  [data-page="results"],
  [data-page="career_advising"],
  [data-page="progcareer"],
  [data-page="tools"],
  [data-page="news"]
) .page-decoration__item--1 { right: auto; left: var(--page-edge-1); }
body:is(
  [data-page="results"],
  [data-page="career_advising"],
  [data-page="progcareer"],
  [data-page="tools"],
  [data-page="news"]
) .page-decoration__item--2 { right: var(--page-edge-2); left: auto; }
body:is(
  [data-page="results"],
  [data-page="career_advising"],
  [data-page="progcareer"],
  [data-page="tools"],
  [data-page="news"]
) .page-decoration__item--3 { right: auto; left: var(--page-edge-3); }
body:is(
  [data-page="results"],
  [data-page="career_advising"],
  [data-page="progcareer"],
  [data-page="tools"],
  [data-page="news"]
) .page-decoration__item--4 { display: none; }

body:is(
  [data-page="history"],
  [data-page="room"],
  [data-page="progdetail"],
  [data-page="advisor"],
  [data-page="tasa"],
  [data-page="links"]
) .page-decoration__item--1 { right: var(--page-edge-2); left: auto; background: #edf3e9; }
body:is(
  [data-page="history"],
  [data-page="room"],
  [data-page="progdetail"],
  [data-page="advisor"],
  [data-page="tasa"],
  [data-page="links"]
) .page-decoration__item--2 { right: auto; left: var(--page-edge-3); background: #fff0e8; }
body:is(
  [data-page="history"],
  [data-page="room"],
  [data-page="progdetail"],
  [data-page="advisor"],
  [data-page="tasa"],
  [data-page="links"]
) .page-decoration__item--3 { right: var(--page-edge-1); }
body:is(
  [data-page="history"],
  [data-page="room"],
  [data-page="progdetail"],
  [data-page="advisor"],
  [data-page="tasa"],
  [data-page="links"]
) .page-decoration__item--4 { display: none; }

/* ページごとに上下位置とはみ出し量を個別設定（同一配置なし） */
body[data-page="staff"] { --deco-1-top: 3%; --deco-2-top: 41%; --deco-3-top: 79%; --edge-1-extra: 12px; --edge-2-extra: 34px; --edge-3-extra: 8px; }
body[data-page="results"] { --deco-1-top: 8%; --deco-2-top: 48%; --deco-3-top: 83%; --edge-1-extra: 22px; --edge-2-extra: 41px; --edge-3-extra: 5px; }
body[data-page="history"] { --deco-1-top: 5%; --deco-2-top: 54%; --deco-3-top: 86%; --edge-1-extra: 31px; --edge-2-extra: 9px; --edge-3-extra: 18px; }
body[data-page="advising"] { --deco-1-top: 7%; --deco-2-top: 43%; --deco-3-top: 81%; --edge-1-extra: 15px; --edge-2-extra: 44px; --edge-3-extra: 3px; }
body[data-page="learning"] { --deco-1-top: 2%; --deco-2-top: 47%; --deco-3-top: 84%; --edge-1-extra: 26px; --edge-2-extra: 12px; --edge-3-extra: 37px; }
body[data-page="reservation"] { --deco-1-top: 5%; --deco-2-top: 48%; --deco-3-top: 87%; --edge-1-extra: 24px; --edge-2-extra: 13px; --edge-3-extra: 40px; }
body[data-page="room"] { --deco-1-top: 9%; --deco-2-top: 39%; --deco-3-top: 77%; --edge-1-extra: 36px; --edge-2-extra: 6px; --edge-3-extra: 21px; }
body[data-page="career_advising"] { --deco-1-top: 4%; --deco-2-top: 51%; --deco-3-top: 88%; --edge-1-extra: 8px; --edge-2-extra: 29px; --edge-3-extra: 43px; }
body[data-page="support"] { --deco-1-top: 6%; --deco-2-top: 45%; --deco-3-top: 80%; --edge-1-extra: 19px; --edge-2-extra: 39px; --edge-3-extra: 11px; }
body[data-page="programs"] { --deco-1-top: 11%; --deco-2-top: 49%; --deco-3-top: 85%; --edge-1-extra: 40px; --edge-2-extra: 14px; --edge-3-extra: 25px; }
body[data-page="proglearning"] { --deco-1-top: 1%; --deco-2-top: 42%; --deco-3-top: 78%; --edge-1-extra: 17px; --edge-2-extra: 46px; --edge-3-extra: 7px; }
body[data-page="progdetail"] { --deco-1-top: 10%; --deco-2-top: 56%; --deco-3-top: 87%; --edge-1-extra: 28px; --edge-2-extra: 5px; --edge-3-extra: 35px; }
body[data-page="progcareer"] { --deco-1-top: 5%; --deco-2-top: 40%; --deco-3-top: 82%; --edge-1-extra: 6px; --edge-2-extra: 32px; --edge-3-extra: 24px; }
body[data-page="resources"] { --deco-1-top: 12%; --deco-2-top: 46%; --deco-3-top: 76%; --edge-1-extra: 33px; --edge-2-extra: 18px; --edge-3-extra: 4px; }
body[data-page="tools"] { --deco-1-top: 3%; --deco-2-top: 53%; --deco-3-top: 89%; --edge-1-extra: 13px; --edge-2-extra: 42px; --edge-3-extra: 27px; }
body[data-page="assistant"] { --deco-1-top: 8%; --deco-2-top: 44%; --deco-3-top: 75%; --edge-1-extra: 45px; --edge-2-extra: 10px; --edge-3-extra: 20px; }
body[data-page="advisor"] { --deco-1-top: 4%; --deco-2-top: 50%; --deco-3-top: 81%; --edge-1-extra: 23px; --edge-2-extra: 37px; --edge-3-extra: 9px; }
body[data-page="tasa"] { --deco-1-top: 7%; --deco-2-top: 38%; --deco-3-top: 85%; --edge-1-extra: 38px; --edge-2-extra: 16px; --edge-3-extra: 30px; }
body[data-page="faq"] { --deco-1-top: 2%; --deco-2-top: 52%; --deco-3-top: 90%; --edge-1-extra: 11px; --edge-2-extra: 35px; --edge-3-extra: 47px; }
body[data-page="news"] { --deco-1-top: 9%; --deco-2-top: 46%; --deco-3-top: 80%; --edge-1-extra: 29px; --edge-2-extra: 7px; --edge-3-extra: 39px; }
body[data-page="links"] { --deco-1-top: 6%; --deco-2-top: 55%; --deco-3-top: 84%; --edge-1-extra: 43px; --edge-2-extra: 21px; --edge-3-extra: 14px; }

/* 旧セクション単位の装飾は無効化し、重なり順を一本化する */
.page-content .sec::before,
.page-content .sec::after { display: none; }

.page-content .sec {
  --deco-a-width: 85px;
  --deco-a-height: 90px;
  --deco-a-top: 8%;
  --deco-a-right: auto;
  --deco-a-bottom: auto;
  --deco-a-left: -96px;
  --deco-a-color: #fff0e8;
  --deco-b-width: 89px;
  --deco-b-height: 90px;
  --deco-b-top: auto;
  --deco-b-right: -106px;
  --deco-b-bottom: 12%;
  --deco-b-left: auto;
  --deco-b-color: #fff8e5;
  position: relative;
  padding: 78px 0;
  border-bottom: 1px solid #e7e3dc;
  scroll-margin-top: 120px;
}

.page-content .sec::before,
.page-content .sec::after {
  position: absolute;
  z-index: -1;
  border-radius: 22px;
  content: "";
  pointer-events: none;
}

.page-content .sec::before {
  top: var(--deco-a-top);
  right: var(--deco-a-right);
  bottom: var(--deco-a-bottom);
  left: var(--deco-a-left);
  width: var(--deco-a-width);
  height: var(--deco-a-height);
  background: var(--deco-a-color);
}

.page-content .sec::after {
  top: var(--deco-b-top);
  right: var(--deco-b-right);
  bottom: var(--deco-b-bottom);
  left: var(--deco-b-left);
  width: var(--deco-b-width);
  height: var(--deco-b-height);
  background: var(--deco-b-color);
}

.page-content .sec:nth-child(2n) {
  --deco-a-top: 16%;
  --deco-a-right: -102px;
  --deco-a-left: auto;
  --deco-a-color: #edf3e9;
  --deco-b-right: auto;
  --deco-b-bottom: 8%;
  --deco-b-left: -92px;
  --deco-b-color: #fff0e8;
}

.page-content .sec:nth-child(3n) {
  --deco-a-top: -42px;
  --deco-a-right: auto;
  --deco-a-left: 18%;
  --deco-a-color: #fff8e5;
  --deco-b-right: -100px;
  --deco-b-bottom: 28%;
  --deco-b-left: auto;
  --deco-b-color: #fff0e8;
}

body:is(
  [data-page="results"],
  [data-page="career_advising"],
  [data-page="progcareer"],
  [data-page="tools"],
  [data-page="news"]
) .page-content > .sec:first-child {
  --deco-a-top: -44px;
  --deco-a-right: 18%;
  --deco-a-left: auto;
  --deco-a-color: #fff0e8;
  --deco-b-right: -108px;
  --deco-b-bottom: 20%;
  --deco-b-left: auto;
  --deco-b-color: #fff8e5;
}

body:is(
  [data-page="history"],
  [data-page="room"],
  [data-page="progdetail"],
  [data-page="advisor"],
  [data-page="tasa"],
  [data-page="links"]
) .page-content > .sec:first-child {
  --deco-a-top: 12%;
  --deco-a-right: auto;
  --deco-a-left: -104px;
  --deco-a-color: #edf3e9;
  --deco-b-right: auto;
  --deco-b-bottom: -34px;
  --deco-b-left: 14%;
  --deco-b-color: #fff0e8;
}

body:is(
  [data-page="staff"],
  [data-page="programs"],
  [data-page="resources"],
  [data-page="assistant"],
  [data-page="faq"]
) .page-content > .sec:first-child {
  --deco-a-top: -40px;
  --deco-a-right: 22%;
  --deco-a-left: auto;
  --deco-a-color: #fff0e8;
  --deco-b-right: -110px;
  --deco-b-bottom: 30%;
  --deco-b-left: auto;
  --deco-b-color: #edf3e9;
}

.page-content .sec:first-child { padding-top: 28px; }
.page-content .sec:last-child { border-bottom: 0; }
.page-content .sec.band {
  width: calc(100% + 80px);
  margin-left: -40px;
  padding-right: 40px;
  padding-left: 40px;
  border-radius: 30px;
  background: #f7f3ed;
}

.page-content > .sec:first-child > .sec-head:first-child { display: none; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.sec-head::before {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--color-orange);
  content: "";
}

.sec-h {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

.lead,
.prose {
  max-width: 920px;
  margin: 0;
  color: #373737;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .035em;
}

.page-content > .page-decoration + .sec > .lead {
  width: 100%;
  max-width: none;
}

.page-content > .page-decoration + .sec > .lead + * {
  margin-top: 52px;
}

.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.dm { margin-top: 12px; color: #8f8b85; font-size: 12px; }

body[data-page="faq"] .lead {
  width: 100%;
  max-width: none;
}

body[data-page="learning"] .page-decoration + .sec .split {
  display: block;
}

body[data-page="learning"] .page-decoration + .sec .split > .imgph {
  display: none;
}

body[data-page="learning"] .page-decoration + .sec .cards.c1 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="learning"] .page-decoration + .sec .cards.c1 > .card2:last-child {
  grid-column: auto;
}

body[data-page="learning"] .learning-capabilities {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  align-items: center;
  gap: 42px;
  min-height: 280px;
  padding: 26px 42px;
}

body[data-page="learning"] .learning-capabilities .bd {
  margin-top: 18px;
  font-size: 16px;
  line-height: 2;
}

.learning-capabilities__visual {
  align-self: end;
  margin: 0;
}

.learning-capabilities__visual img {
  width: 100%;
  max-width: 330px;
  margin: 0 auto -26px;
}

body[data-page="learning"] .card2 .ct + .kv {
  margin-top: 28px;
}

body[data-page="learning"] .card2 .kv {
  grid-template-columns: 120px minmax(0, 1fr);
}

body[data-page="learning"] .card2 .ct + ul {
  margin-top: 28px !important;
}

.page-content .card2 .kv {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
}

.page-content .card2 .kv .k {
  font-size: 15px;
}

.page-content .card2 .kv .v {
  font-size: 16px;
  line-height: 1.8;
}

.page-content .card2 .kv .k .ic {
  display: none;
}

body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec {
  padding-top: 40px;
  padding-bottom: 40px;
}

body[data-page="learning"] .page-content > .page-decoration + .sec {
  padding-bottom: 20px;
}

body[data-page="learning"] .page-content > .page-decoration + .sec + .sec {
  padding-top: 28px;
}

body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec .sec-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  padding: 0 0 18px;
  border-bottom: 1px solid #ddd8d1;
}

body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec .sec-head::before {
  display: block;
}

body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec .sec-h {
  font-size: clamp(24px, 2vw, 30px);
}

.page-content .flow .ar .ic {
  display: none;
}

.page-content .flow .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  font-size: 17px;
  font-weight: 700;
}

body[data-page="learning"] .learning-reservation-cta {
  padding-top: 22px !important;
  padding-bottom: 52px !important;
}

.learning-reservation-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  padding: 22px 32px;
  border-radius: 20px;
  background: linear-gradient(120deg, #f35703 0%, #ff7918 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(243,87,3,.14);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.learning-reservation-link:hover,
.learning-reservation-link:focus-visible {
  background: linear-gradient(120deg, #dc4d00 0%, #f6670b 100%);
  box-shadow: 0 20px 42px rgba(243,87,3,.2);
  transform: translateY(-3px);
}

.learning-reservation-link__lead {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.learning-reservation-link__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
}

.learning-reservation-link__icon svg {
  width: 44px;
  height: 44px;
}

.learning-reservation-link__text {
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
}

.learning-reservation-link__arrow {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--color-orange);
  transition: transform .2s ease;
}

.learning-reservation-link:hover .learning-reservation-link__arrow,
.learning-reservation-link:focus-visible .learning-reservation-link__arrow {
  transform: translateX(4px);
}

.learning-reservation-link__arrow svg {
  width: 25px;
  height: 25px;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--color-orange);
}

.step-icon .ic {
  width: 42px;
  height: 42px;
}

.cards { display: grid; gap: 22px; margin-top: 34px; }
.c1 { grid-template-columns: 1fr; }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card2,
.iconcard,
.lnkitem,
.dlrow,
.acc,
.slot,
.advcard {
  border: 1px solid #e5e0d9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(45, 38, 31, .045);
}

.card2 { padding: 28px; }
.card2.dash { border-style: dashed; background: #faf8f4; box-shadow: none; }
.card2 .ct,
.iconcard .ll {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}
.card2 .to { margin-top: 8px; color: #77736e; font-size: 13px; }
.card2 .bd,
.iconcard .ss { margin-top: 12px; color: #5d5a56; font-size: 14px; line-height: 1.9; }

.hero-h { font-family: var(--font-en); font-size: 28px; font-weight: 600; line-height: 1.45; }
.center { text-align: center; }
.center .lead { margin-right: auto; margin-left: auto; }
.center .small { margin-top: 12px; color: #7c7771; font-size: 13px; }
.center .btnwrap { margin-top: 18px; }

.waitbox {
  display: grid;
  min-height: 260px;
  padding: 40px;
  place-items: center;
  border: 2px dashed #ddd6ce;
  border-radius: 20px;
  background: #faf8f4;
  color: #817c76;
  text-align: center;
}
.waitbox .wt { font-size: 19px; font-weight: 700; }
.waitbox .ws { margin-top: 7px; font-size: 13px; }
.qcard2 { display: flex; align-items: center; gap: 18px; }
.qill2 { flex: 0 0 96px; min-height: 96px; margin: 0; }

.clickable,
[data-go],
.is-cardlink { cursor: pointer; }
.card2.clickable,
.lnkitem.clickable,
.card2.is-cardlink,
.dlrow.is-cardlink { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card2.clickable:hover,
.lnkitem.clickable:hover,
.card2.is-cardlink:hover,
.dlrow.is-cardlink:hover {
  border-color: rgba(243, 87, 3, .38);
  box-shadow: 0 16px 34px rgba(45, 38, 31, .09);
  transform: translateY(-4px);
}

.imgph {
  min-height: 180px;
  margin-bottom: 22px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 35%, rgba(243,87,3,.18) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #f7e7dd, #f3f0e9 60%, #e8eee8);
  color: #8d8780;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.imgph .ic { opacity: .55; }
.cardimg { min-height: 210px; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 99px;
  background: #f5eee8;
  color: #a44816;
  font-size: 11px;
  font-weight: 700;
}
.tag.ext::before { content: "外部リンク"; }
.tag.resv::before { content: "予約"; }
.tag.form::before { content: "フォーム"; }

.btn.sm,
.btn.fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid #d7d1c8;
  border-radius: 99px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.btn.fill { border-color: var(--color-orange); background: var(--color-orange); color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; }
.chiprow { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.chip {
  padding: 8px 16px;
  border: 1px solid #ded9d2;
  border-radius: 99px;
  background: #fff;
  color: #5d5954;
  font-size: 13px;
}
.chip.on { border-color: var(--color-orange); background: var(--color-orange); color: #fff; font-weight: 700; }

.rows { border-top: 1px solid #e2ddd6; }
.nrow { display: flex; align-items: baseline; gap: 24px; padding: 21px 4px; border-bottom: 1px solid #e2ddd6; }
.nrow .dt { flex: 0 0 110px; color: #88837d; font-family: var(--font-en); font-size: 13px; }
.nrow .ti2 { flex: 1; font-size: 15px; line-height: 1.7; }

.lnklist,
.dllist { display: grid; gap: 13px; margin-top: 26px; }
.lnkitem,
.dlrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
.lk-t,
.dl-n { font-size: 16px; font-weight: 700; }
.lk-u,
.dl-d { margin-top: 5px; color: #85817b; font-size: 12px; }
.lk-r,
.dl-r { flex: 0 0 auto; color: var(--color-orange); }
.dl-l { display: flex; align-items: flex-start; gap: 14px; }
.dl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.tl { margin-top: 30px; }
.tlrow { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid #e5e0d9; }
.tly .y1 { font-family: var(--font-en); font-size: 22px; font-weight: 600; }
.tly .y2 { color: #8b8781; font-size: 12px; }
.tlb { padding-left: 26px; border-left: 3px solid #e8ded5; }
.tlb ul { margin: 0; padding: 0; list-style: none; }
.tlb li { position: relative; margin-bottom: 8px; padding-left: 18px; line-height: 1.8; }
.tlb li::before { position: absolute; top: .75em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--color-orange); content: ""; }

.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid #e7e2db; }
.kv .k { color: #77726c; font-size: 13px; font-weight: 700; }
.kv .v { font-size: 15px; }
.flow { display: flex; align-items: stretch; gap: 12px; margin-top: 28px; }
.flow .step { flex: 1; padding: 20px 16px; border-radius: 14px; background: #f7f3ed; text-align: center; font-weight: 700; }
.flow-label--mobile { display: none; }
.flow .stepd { margin-top: 8px; color: #77726c; font-size: 12px; font-weight: 500; }
.flow .ar { align-self: center; color: var(--color-orange); }

.slotgrid,
.advgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.slot { padding: 18px; }
.slot .d { margin-bottom: 8px; font-weight: 700; }
.slot .s { padding: 6px 0; border-top: 1px solid #eeeae4; color: #69655f; font-size: 12px; }
.advcard { position: relative; display: flex; gap: 14px; align-items: center; padding: 15px; cursor: pointer; }
.advcard.sel { border: 2px solid var(--color-orange); }
.advcard .aphoto { width: 84px; min-height: 84px; margin: 0; }
.advcard .aname { font-weight: 700; }
.advcard .aprof { margin-top: 4px; color: #77726c; font-size: 12px; }
.advcard .achk { position: absolute; top: 10px; right: 10px; }
.advsel-bar { margin: 22px 0 14px; color: #6f6b65; font-size: 13px; }

.faqbar { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.acc { margin-bottom: 12px; overflow: hidden; box-shadow: none; }
.accq { display: flex; align-items: flex-start; gap: 13px; padding: 20px 22px; cursor: pointer; }
.qi {
  flex: 0 0 auto;
  color: var(--color-orange);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}
.qt { flex: 1; font-size: 15px; font-weight: 700; }
.qm::after { color: var(--color-orange); content: "+"; font-size: 20px; }
.acc.open .qm::after { content: "−"; }
.acca { display: none; padding: 20px 58px 24px; border-top: 1px solid #ece7e0; background: #faf8f4; line-height: 1.9; }
.acc.open .acca { display: block; }

/* 回答は管理画面のエディターで入力するため、段落・リンクの体裁を整えておく。 */
.acca > p { margin: 0 0 1em; }
.acca > p:last-child { margin-bottom: 0; }
.acca > ul:first-child,
.acca > ol:first-child { margin-top: 0; }
.acca a { color: var(--color-orange); text-decoration: underline; text-underline-offset: 3px; }
.acca a:hover,
.acca a:focus-visible { text-decoration-thickness: 2px; }

/* リード文も固定ページ本文から差し替えられるようにしている。 */
.lead > p { margin: 0 0 1em; }
.lead > p:last-child { margin-bottom: 0; }

.iconcard { padding: 28px; text-align: center; }
.iconcard.soft { background: #f7f3ed; }
.horizcard { display: flex; align-items: center; gap: 22px; }
.cicon { display: grid; flex: 0 0 70px; width: 70px; height: 70px; place-items: center; border-radius: 18px; background: #f5e6dd; color: var(--color-orange); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-l { display: flex; align-items: flex-start; gap: 16px; }
.cta-t { font-weight: 700; }
.cta-d { margin-top: 5px; color: #6c6862; font-size: 13px; }

/* =========================================================
   下層ページ共通：トップ／Aboutのトーンに合わせた仕上げ
   ========================================================= */
.page-content .sec {
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 0;
}

.breadcrumb { margin-bottom: 0; }
.page-content > .page-decoration + .sec {
  padding-top: 44px;
  padding-bottom: 24px;
}

.page-content > .page-decoration + .sec + .sec {
  padding-top: 36px;
}

.page-content .sec + .sec:not(.band) {
  position: relative;
}

.sec-head {
  gap: 18px;
  margin-bottom: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd8d1;
}

.sec-head::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.page-content .sec:has(> .sec-head + .prose) > .sec-head,
.page-content .sec:has(> .sec-head + .card2 > .prose) > .sec-head {
  margin-bottom: 24px;
}

.sec-h {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.35;
  letter-spacing: .01em;
}

.lead,
.prose {
  color: #2f2f2d;
  line-height: 1.95;
}

.page-content ul:not(.page-tabs__list) {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding-left: 0 !important;
  list-style: none;
}

.page-content ul:not(.page-tabs__list) > li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.page-content ul:not(.page-tabs__list) > li::before {
  position: absolute;
  top: .33em;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  content: "✓";
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.cards {
  gap: 28px;
  margin-top: 42px;
}

.card2,
.iconcard,
.lnkitem,
.dlrow,
.acc,
.slot,
.advcard {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #f3f2ee;
  box-shadow: none;
}

.cards > :nth-child(3n + 2) { background: #f8f5e9; }
.cards > :nth-child(3n + 3) { background: #f8eee8; }

.card2 {
  position: relative;
  padding: 34px;
}

.card2.dash {
  border: 0;
  border-left: 5px solid var(--color-orange);
  background: #f3f2ee;
}

.card2 .ct,
.iconcard .ll {
  font-size: 20px;
  line-height: 1.5;
}

.card2 .bd,
.iconcard .ss {
  color: #55524e;
  font-size: 14px;
  line-height: 1.95;
}

.card2.clickable,
.lnkitem.clickable,
.card2.is-cardlink,
.dlrow.is-cardlink {
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.card2.clickable:hover,
.lnkitem.clickable:hover,
.card2.is-cardlink:hover,
.dlrow.is-cardlink:hover {
  border-color: transparent;
  background: #ebe9e4;
  box-shadow: 0 18px 40px rgba(45, 38, 31, .08);
  transform: translateY(-5px);
}

.imgph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background: #e8e6e0;
  color: var(--color-orange);
  font-size: 0;
}

.imgph::before,
.imgph::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.imgph::before {
  top: -38px;
  right: -18px;
  width: 150px;
  height: 150px;
  background: #f4ded1;
}

.imgph::after {
  bottom: -56px;
  left: -22px;
  width: 172px;
  height: 172px;
  background: #dde6d9;
}

.imgph > .ic {
  box-sizing: content-box;
  width: 32px;
  height: 32px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(45,38,31,.08);
  opacity: 1;
}

.imgph > :not(svg) { display: none !important; }

.cardimg {
  min-height: 232px;
  margin: -34px -34px 28px;
  border-radius: 22px 22px 0 0;
}

.cardimg--photo {
  height: 232px;
  background: none;
}

.cardimg--photo::before,
.cardimg--photo::after {
  display: none;
}

.imgph.cardimg--photo > img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardimg .ic,
.qill2 .ic {
  box-sizing: content-box;
  width: 38px;
  height: 38px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(45,38,31,.08);
  opacity: 1;
}

.card2 .ct > .ic,
.kv .k > .ic {
  margin-right: 8px;
  color: var(--color-orange);
  vertical-align: -3px;
}

body[data-page="room"] .room-feature-cards .ct {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="room"] .room-feature-cards .ct > .ic {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 0;
  vertical-align: 0;
}

body[data-page="programs"] .program-entry-cards .ct {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="programs"] .program-entry-cards .ct > .ic {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 0;
  vertical-align: 0;
}

body[data-page="support"] .page-content .sec > .card2 {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="support"] .page-content .card2 .kv {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
}

.page-content > .page-decoration + .sec > .card2:has(> .prose) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-content > .page-decoration + .sec > .card2:has(> .prose) > .prose {
  width: 100%;
  max-width: none;
}

.tag {
  min-height: 25px;
  padding: 4px 10px;
  background: #fff;
  color: #b5480e;
}

.btn.sm,
.btn.fill {
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  background: #e9e7e2;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.card2 .btn.sm,
.btn.fill {
  background: var(--color-orange);
  color: #fff;
}

.btn.sm:hover,
.btn.sm:focus-visible,
.btn.fill:hover,
.btn.fill:focus-visible {
  background: #d84b02;
  color: #fff;
  transform: translateY(-2px);
}

/* カード全体がクリックできる場合は、カードにマウスを乗せた時点で
   中のボタンもホバー時の見た目にする。 */
.is-cardlink:hover .btn.sm,
.is-cardlink:hover .btn.fill,
.card2.clickable:hover .btn.sm,
.lnkitem.clickable:hover .btn.sm {
  background: #d84b02;
  color: #fff;
  transform: translateY(-2px);
}

.chiprow { gap: 10px; }
.chip {
  padding: 11px 20px;
  border: 0;
  border-radius: 10px;
  background: #f3f2ee;
  font-weight: 600;
}

.rows { border-top: 0; }
.nrow {
  gap: 30px;
  margin-bottom: 10px;
  padding: 22px 26px;
  border-bottom: 0;
  border-radius: 14px;
  background: #f5f4f1;
}
.nrow:nth-child(even) { background: #faf6ec; }
.nrow .dt { color: var(--color-orange); font-weight: 600; }

/* 「成果」＋「外部リンク」など、タグを並べるときはひとまとまりに見せる。 */
.nrow .tagset { display: flex; align-items: center; gap: 8px; }

/* 詳細ページへ飛ぶ行（成果ページなど）はカードと同じ手触りにする。 */
a.nrow.clickable { transition: box-shadow .25s ease, transform .25s ease; }
a.nrow.clickable:hover,
a.nrow.clickable:focus-visible { box-shadow: 0 12px 26px rgba(45, 38, 31, .09); transform: translateY(-2px); }
a.nrow.clickable:hover .ti2,
a.nrow.clickable:focus-visible .ti2 { color: var(--color-orange); }

/* 成果一覧は1行1件で読ませるため、タイトルを太字にする。 */
body[data-page="results"] .nrow { align-items: center; }
body[data-page="results"] .nrow .ti2 { font-weight: 700; transition: color .2s ease; }

/* --- 一覧行の「詳細」ボタン（最新情報／成果） --- */
/* .btn.sm 共通の margin-top で下寄りになるため打ち消し、枠を小さくして縦中央に置く。 */
body:is([data-page="news"], [data-page="results"]) .nrow .btn.sm {
  align-self: center;
  min-height: 36px;
  margin-top: 0;
  padding: 0 16px;
}

/* 最新情報 詳細ページ（旧インラインスタイルをクラス化したもの） */
.newsdetail__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.newsdetail__figure { margin-top: 20px; }
.newsdetail__body { margin-top: 20px; }

/* 成果 詳細ページ */
.result-detail__meta { display: flex; align-items: center; gap: 14px; }
.result-detail__date { color: var(--color-orange); font-family: var(--font-en); font-size: 14px; font-weight: 600; }
.result-detail__title { margin: 14px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.6; }
.result-detail__body { margin-top: 22px; }
.result-detail__actions { margin-top: 26px; }

/* PC版のみ、記事タイトルの下を広めに取る（スマホは上の値のまま）。 */
@media screen and (min-width: 681px) {
  .newsdetail__figure,
  .newsdetail__body,
  .result-detail__body { margin-top: 44px; }
}

.lnklist,
.dllist {
  gap: 14px;
  margin-top: 32px;
}

.lnkitem,
.dlrow {
  min-height: 88px;
  padding: 22px 26px;
  background: #f3f2ee;
}

.lnkitem:nth-child(even),
.dlrow:nth-child(even) { background: #faf6ec; }

/* ベージュの行はホバー時もベージュ系のまま濃くする。 */
.lnkitem.clickable:nth-child(even):hover,
.dlrow.is-cardlink:nth-child(even):hover { background: #f3ecda; }

.lk-u,
.dl-d {
  margin-top: 7px;
  color: #6c6862;
  font-size: 13px;
  line-height: 1.75;
}

/* ダウンロード一覧は説明文が主役なので、カード本文（14px）より一段大きくする。 */
.dl-d {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.9;
}

.lk-r {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
}

/* アイコンは行の中央ではなく、タイトルの高さに合わせて上端に置く。 */
.dl-l { align-items: flex-start; gap: 16px; }

/* タイトルはカード見出し（.card2 .ct）と同じ 20px に揃える。 */
.dl-n { font-size: 20px; line-height: 1.5; }

/* 白丸の台座は付けず、アイコン単体を大きく見せる。 */
.dl-l > .ic {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--color-orange);
}

.tl { margin-top: 40px; }
.tlrow {
  grid-template-columns: 170px 1fr;
  gap: 24px;
  margin-bottom: 14px;
  padding: 30px 34px;
  border-bottom: 0;
  border-radius: 20px;
  background: #f3f2ee;
}
.tlrow:nth-child(even) { background: #faf6ec; }
.tly .y1 { color: var(--color-orange); font-size: 25px; }
.tly .y2 { margin-top: 4px; color: #6f6b65; }
.tlb { border-left: 2px solid rgba(243,87,3,.22); }

.kv {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 8px;
  padding: 18px 22px;
  border-bottom: 0;
  border-radius: 12px;
  background: #f5f4f1;
}
.kv:nth-child(even) { background: #faf6ec; }
.kv .k { color: var(--color-orange); }

.page-content .card2:has(.kv) {
  background: #faf9f7;
}

.flow { gap: 16px; margin-top: 34px; }
.flow .step {
  position: relative;
  min-height: 120px;
  padding: 28px 20px;
  border-radius: 18px;
  background: #f3f2ee;
}
.flow .step:nth-of-type(even) { background: #faf6ec; }
.flow .ar { font-size: 0; }
.flow .ar::after { content: "→"; font-size: 22px; }

.slotgrid,
.advgrid { gap: 20px; }
.slot { padding: 24px; }
.slot .d { color: var(--color-orange); font-size: 17px; }
.slot .s { padding: 9px 0; border-top-color: rgba(0,0,0,.07); }

/* 講師選択カード（人数が増えても列数が自動で伸びる） */
.advgrid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.advcard {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  background: #f3f2ee;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.advcard:nth-child(even) { background: #f3f2ee; }
.advcard:hover { box-shadow: 0 16px 34px rgba(45,38,31,.07); transform: translateY(-3px); }
.advcard:focus-visible { outline: 2px solid var(--color-orange); outline-offset: 3px; }
.advcard.sel { border: 0; background: #fff8f3; box-shadow: inset 0 0 0 2px var(--color-orange); }

.advcard .aphoto {
  width: 78px;
  height: 78px;
  min-height: 0;
  border-radius: 50%;
  object-fit: cover;
}

.advcard .atx { display: block; min-width: 0; }
.advcard .arole {
  display: block;
  margin-bottom: 3px;
  color: var(--color-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.advcard .aname {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 17px;
  font-weight: 700;
}
.advcard .aname-en {
  color: #8d8880;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.advcard .aprof {
  display: block;
  margin-top: 7px;
  color: #77726c;
  font-size: 12px;
  line-height: 1.75;
}

.advcard .achk {
  display: grid;
  position: absolute;
  top: 12px;
  right: 12px;
  place-items: center;
  width: 22px;
  height: 22px;
  transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease;
  border-radius: 50%;
  opacity: 0;
  background: var(--color-orange);
  color: #fff;
}
.advcard.sel .achk { transform: scale(1); opacity: 1; }

.faqbar {
  align-items: flex-end;
  margin-bottom: 30px;
}
.faqbar .chiprow { margin-bottom: 0; }
.faqbar .btn.sm { margin-top: 0; background: #f3f2ee; }
.faqbar .btn.sm:hover,
.faqbar .btn.sm:focus-visible { background: var(--color-orange); }
.acc {
  margin-bottom: 14px;
  border-radius: 16px;
  background: #f5f4f1;
  transition: background-color .2s ease;
}
.acc.open { background: #fff8f3; }
.accq { align-items: center; min-height: 86px; padding: 22px 26px; }
.qi { font-size: 25px; }
.qt { font-size: 16px; line-height: 1.75; }
.qm {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}
.qm::after { font-size: 22px; line-height: 1; }
.acca {
  padding: 24px 82px 28px;
  border-top: 0;
  background: transparent;
  font-size: 15px;
}

.acc.open .acca {
  background: #fef7e7;
}

.iconcard { padding: 36px 30px; }
.iconcard.soft { background: #f8eee8; }
body[data-page="assistant"] .iconcard.soft { padding: 28px 30px !important; }
.horizcard { gap: 26px; }
.cicon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #fff;
  color: var(--color-orange);
  box-shadow: 0 10px 24px rgba(45,38,31,.06);
}

body[data-page="resources"] .horizcard {
  align-items: flex-start;
  gap: 20px;
}

body[data-page="resources"] .cicon {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-8px);
}

body[data-page="resources"] .cicon .ic {
  width: 52px;
  height: 52px;
}

.waitbox {
  min-height: 280px;
  border: 0;
  border-radius: 24px;
  background: #f3f2ee;
}

.cta {
  min-height: 150px;
  padding: 30px 36px;
  border-radius: 22px;
  background: #f3f2ee;
}
.cta-t { font-size: 19px; }
.cta-d { margin-top: 8px; font-size: 14px; line-height: 1.8; }

body[data-page="room"] .room-consultation-card {
  padding: 0;
}

body[data-page="room"] .room-consultation-card .cta {
  min-height: 0;
  padding: 32px 42px;
}

body[data-page="room"] .room-consultation-card .cta-l > .ic {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-top: 0;
}

body[data-page="room"] .room-consultation-card .btn.sm {
  min-height: 58px;
  margin-top: 0;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
}

/* 沿革のみ、従来の端正な年表レイアウトを維持 */
body[data-page="history"] .card2 {
  padding: 12px 28px;
  border: 1px solid #e5e0d9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(45, 38, 31, .045);
}

body[data-page="history"] .tl { margin-top: 0; }

body[data-page="history"] .tlrow,
body[data-page="history"] .tlrow:nth-child(even) {
  grid-template-columns: 180px 1fr;
  gap: 32px;
  margin-bottom: 0;
  padding: 20px 0;
  border-bottom: 1px solid #e5e0d9;
  border-radius: 0;
  background: transparent;
}

body[data-page="history"] .tlrow:last-child { border-bottom: 0; }
body[data-page="history"] .tly .y1 { color: inherit; font-size: 22px; }
body[data-page="history"] .tly .y2 { margin-top: 0; color: #8b8781; }
body[data-page="history"] .tlb { padding-left: 26px; border-left: 3px solid #e8ded5; }

body[data-page="history"] .page-content .tlb ul {
  display: block;
  margin: 0;
  padding: 0 !important;
}

body[data-page="history"] .page-content .tlb li {
  margin-bottom: 8px;
  padding-left: 18px;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.8;
}

body[data-page="history"] .page-content .tlb li::before {
  top: .75em;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  color: transparent;
  content: "";
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* スタディ・スキル講座：講座一覧 */
body[data-page="proglearning"] .proglearning-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 46%);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
}

body[data-page="proglearning"] .proglearning-intro__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f1ed;
}

body[data-page="proglearning"] .proglearning-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* 一覧ページの画像を、対応する詳細ページの説明文横にも表示する。 */
.detail-photo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 46%);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
}

.detail-photo-intro > .lead,
.detail-photo-intro > .prose {
  max-width: none;
}

.detail-photo-intro__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f1ed;
}

.detail-photo-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.imgph.detail-photo-intro__placeholder {
  min-height: 0;
  margin: 0;
  aspect-ratio: 1100 / 470;
  border-radius: 16px;
}

body[data-page="learning"] .detail-photo-intro + .split {
  margin-top: 52px;
}

body[data-page="proglearning"] .lead__next-line {
  display: block;
}

body[data-page="proglearning"] .course-year-nav {
  align-items: center;
  margin-bottom: 0;
}

body[data-page="proglearning"] .course-year-nav[hidden] {
  display: none !important;
}

body[data-page="proglearning"] .course-year-nav .chip {
  appearance: none;
  min-width: 94px;
  border: 1px solid #ded9d2;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body[data-page="proglearning"] .course-year-nav .chip:hover,
body[data-page="proglearning"] .course-year-nav .chip:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(234, 75, 16, .1);
}

body[data-page="proglearning"] .course-year-nav .chip.on,
body[data-page="proglearning"] .course-year-nav .chip.on:hover,
body[data-page="proglearning"] .course-year-nav .chip.on:focus-visible {
  color: #fff;
  background: var(--color-orange);
}

body[data-page="proglearning"] .page-content > .page-decoration + .sec {
  padding-bottom: 12px;
}

body[data-page="proglearning"] .page-content > .page-decoration + .sec + .sec {
  padding-top: 20px;
}

body[data-page="proglearning"] .course-card {
  display: block;
  margin-bottom: 22px;
  padding: 24px;
  overflow: hidden;
  border-color: #e4ddd4;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(45, 38, 31, .07);
}

body[data-page="proglearning"] .course-card__inner {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 30px;
}

body[data-page="proglearning"] .course-card__thumb {
  display: block;
  width: 188px;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  border: 1px solid #e4ddd4;
  border-radius: 12px;
  background: #f7f4ef;
}

body[data-page="proglearning"] .course-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="proglearning"] .course-card__thumb-placeholder {
  display: grid;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 10px;
  color: #8d8780;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="proglearning"] .course-card__thumb-placeholder .ic {
  width: 34px;
  height: 34px;
}

body[data-page="proglearning"] .course-card__content {
  display: flex;
  align-self: center;
  flex-direction: column;
  min-width: 0;
}

body[data-page="proglearning"] .course-card__eyebrow {
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

body[data-page="proglearning"] .course-card__title {
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
}

body[data-page="proglearning"] .course-card__meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

body[data-page="proglearning"] .course-card__meta-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

body[data-page="proglearning"] .course-card__meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 5px;
  background: #f6eee8;
  color: #a44816;
  font-size: 11px;
  font-weight: 700;
}

body[data-page="proglearning"] .course-card__meta-value {
  color: #4f4b47;
  font-size: 14px;
  line-height: 1.65;
}

body[data-page="proglearning"] .course-card__excerpt {
  margin-top: 16px;
  color: #77716b;
  font-size: 13px;
  line-height: 1.8;
}

body[data-page="proglearning"] .course-card__more {
  display: inline-flex;
  align-items: center;
  align-self: end;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--color-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}

body[data-page="proglearning"] .course-card:hover .course-card__more,
body[data-page="proglearning"] .course-card:focus-visible .course-card__more {
  background: #d9430b;
  transform: translateX(3px);
}

/* 講座詳細：概要・チラシ・本文を独立させ、長い本文が画像へ重ならない構成にする。 */
body[data-page="progdetail"] .program-detail {
  max-width: 1120px;
  margin-inline: auto;
}

body[data-page="progdetail"] .program-detail__overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

body[data-page="progdetail"] .program-detail__summary {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid #e9e5de;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(63, 55, 44, .08);
}

body[data-page="progdetail"] .program-detail__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 700;
}

body[data-page="progdetail"] .program-detail__eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

body[data-page="progdetail"] .program-detail__title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.45;
  letter-spacing: .02em;
}

body[data-page="progdetail"] .program-detail__lead {
  margin: 18px 0 0;
  color: #625e58;
  font-size: 15px;
  line-height: 1.9;
}

body[data-page="progdetail"] .program-detail__meta {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid #ebe7e0;
}

body[data-page="progdetail"] .program-detail__meta > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ebe7e0;
}

body[data-page="progdetail"] .program-detail__meta dt {
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 700;
}

body[data-page="progdetail"] .program-detail__meta dd {
  margin: 0;
  color: #3f3c38;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

body[data-page="progdetail"] .program-detail__apply {
  margin-top: 28px;
}

body[data-page="progdetail"] .program-detail__visual {
  min-width: 0;
}

body[data-page="progdetail"] .program-detail__flyer {
  margin: 0;
  padding: 14px;
  border: 1px solid #e7e3dc;
  border-radius: 24px;
  background: #f7f5f1;
  box-shadow: 0 18px 44px rgba(63, 55, 44, .08);
}

body[data-page="progdetail"] .program-detail__flyer a,
body[data-page="progdetail"] .program-detail__flyer-image {
  display: block;
  width: 100%;
}

body[data-page="progdetail"] .program-detail__flyer-image {
  height: auto;
  aspect-ratio: auto;
  border-radius: 14px;
  object-fit: contain;
}

body[data-page="progdetail"] .program-detail__flyer figcaption {
  padding: 12px 4px 2px;
  color: #77716a;
  font-size: 12px;
  text-align: center;
}

body[data-page="progdetail"] .program-detail__placeholder {
  min-height: 320px;
  margin: 0;
}

body[data-page="progdetail"] .program-detail__body {
  max-width: 840px;
  margin: clamp(36px, 5vw, 60px) auto 0;
  padding: clamp(30px, 4vw, 52px);
}

body[data-page="progdetail"] .program-detail__body .prose {
  max-width: 720px;
  margin-inline: auto;
}

body[data-page="progdetail"] .program-detail__body .prose h2 {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f15a24;
  font-size: clamp(21px, 2vw, 26px);
}

body[data-page="progdetail"] .program-detail__body .prose h3 {
  margin: 34px 0 14px;
  font-size: 18px;
}

body[data-page="progdetail"] .program-detail__body .prose ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

body[data-page="progdetail"] .program-detail__body .prose li {
  position: relative;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  background: #f7f5f1;
}

body[data-page="progdetail"] .program-detail__body .prose li::before {
  position: absolute;
  top: 19px;
  left: 17px;
  display: block;
  width: 14px;
  height: 14px;
  border: 4px solid #f15a24;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  content: "";
  font-size: 0;
}

body[data-page="progdetail"] .program-detail__body .prose a {
  overflow-wrap: anywhere;
}

body[data-page="progdetail"] .program-detail__back {
  margin-top: 30px;
  text-align: center;
}

/* 最新情報：操作できる絞り込みとコンパクトな記事一覧 */
/* パンくずとの間隔は他ページの1つ目のセクション（44px）に合わせる。 */
body[data-page="news"] .newsblock > .sec:first-child {
  padding-top: 44px;
  padding-bottom: 14px;
}

body[data-page="news"] .newsblock > .sec:nth-child(2) {
  padding-top: 18px;
}

body[data-page="news"] .newstabs {
  align-items: center;
  margin-bottom: 0;
}

/* 絞り込みボタンは他のボタンより一回り小さく、上下の余白を詰める。 */
body[data-page="news"] .newstabs .chip {
  appearance: none;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body[data-page="news"] .newstabs .chip:hover,
body[data-page="news"] .newstabs .chip:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(234, 75, 16, .1);
}

body[data-page="news"] .newstabs .chip.on,
body[data-page="news"] .newstabs .chip.on:hover,
body[data-page="news"] .newstabs .chip.on:focus-visible {
  color: #fff;
  background: var(--color-orange);
}

body[data-page="news"] .news-month,
body[data-page="news"] .news-category-select {
  position: relative;
  margin-left: 8px;
}

body[data-page="news"] .news-category-select { display: none; }

body[data-page="news"] .news-month::after,
body[data-page="news"] .news-category-select::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  content: "";
}

body[data-page="news"] .news-month select,
body[data-page="news"] .news-category-select select {
  appearance: none;
  min-height: 38px;
  padding: 0 38px 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f3f2ee;
  color: #5d5954;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

body[data-page="news"] .news-month select:hover,
body[data-page="news"] .news-month select:focus-visible,
body[data-page="news"] .news-category-select select:hover,
body[data-page="news"] .news-category-select select:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange);
  outline: none;
}

body[data-page="news"] .nrow {
  align-items: center;
  min-height: 86px;
  margin-bottom: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: background-color .2s ease;
}

body[data-page="news"] .nrow .ti2 {
  display: flex;
  align-items: center;
  align-self: stretch;
  font-weight: 700;
}

/* --- 記事カード全体のホバー効果 --- */
/* 影も動きも付けず、背景がわずかに濃くなるだけのシンプルな反応にする。 */
body[data-page="news"] .nrow:hover,
body[data-page="news"] .nrow:focus-visible {
  background: #ecebe6;
  outline: none;
}

body[data-page="news"] .nrow:nth-child(even):hover,
body[data-page="news"] .nrow:nth-child(even):focus-visible {
  background: #f3ecda;
}

body[data-page="assistant"] .page-content > .page-decoration + .sec > .lead + .cards {
  margin-top: 44px !important;
}

body[data-page="tasa"] .cards.c1 .card2 .ct:has(> .ic) {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="tasa"] .cards.c1 .card2 .ct > .ic {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-right: 0;
}

body[data-page="tasa"] .section-intro-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* --- 学習支援ルーム：開室時間・場所の地図 --- */
/* 左の情報表と地図を同じ幅にそろえる。 */
.split.room-location {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
}

/* 学生シフト表への導線。開室情報の続きとして、表の下に置く。 */
.room-location .room-shift {
  margin-top: 20px;
}

.room-map {
  overflow: hidden;
  border-radius: 14px;
  background: #eceae5;
}

.room-map__frame {
  display: block;
  width: 100%;
  min-height: 340px;
  height: 100%;
  border: 0;
}

body[data-page="tasa"] .section-intro-plain .prose p {
  margin: 0;
}

body[data-page="tasa"] .page-content .card2 .kv {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
}

/* Staff profiles */
body[data-page="staff"] .staff-profile-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 2.6vw, 40px);
  margin-top: 12px;
}

/* スタッフ・講師が未登録のときの案内文。 */
.staff-profile-list__empty,
.advgrid__empty {
  grid-column: 1 / -1;
  padding: 40px 24px;
  border-radius: 16px;
  background: #f5f4f1;
  color: #77726c;
  font-size: 14px;
  text-align: center;
}

body[data-page="staff"] .staff-profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: #f4f3f0;
}

body[data-page="staff"] .staff-profile-card__photo {
  min-height: 420px;
  margin: 0;
}

body[data-page="staff"] .staff-profile-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(-45deg, #eceae5 0 12px, #e6e3dd 12px 24px);
  color: #a8a29a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}

body[data-page="staff"] .staff-profile-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="staff"] .staff-profile-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4vw, 60px) clamp(34px, 3.6vw, 56px);
}

body[data-page="staff"] .staff-profile-card__role {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--color-orange);
  font-size: 15px;
  font-weight: 700;
}

body[data-page="staff"] .staff-profile-card__role::before {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

body[data-page="staff"] .staff-profile-card__name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 26px;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.35;
  letter-spacing: .05em;
}

body[data-page="staff"] .staff-profile-card__name-en {
  color: #8d8880;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}

body[data-page="staff"] .staff-profile-card__message {
  margin: 0;
  color: #4f4c48;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}

body[data-page="staff"] .staff-profile-card__toggle { display: none; }

@media screen and (max-width: 1023px) {
  .breadcrumb,
  .page-head,
  .page-content { width: calc(100% - 40px); }
  .page-head { min-height: 300px; margin-bottom: 38px; border-radius: 22px; }
  .page-head__inner { width: calc(100% - 48px); min-height: 300px; }
  .page-head::after { top: -130px; right: -80px; width: 280px; height: 280px; }
  .page-head__inner::after { top: 30px; right: 34%; width: 40px; height: 40px; border-radius: 12px; }
  .page-head--no-tabs,
  .page-head--no-tabs .page-head__inner { min-height: 190px; }
  .page-head--no-tabs .page-head__content { top: 64px; }
  .page-head--no-tabs .page-head__content--child { top: 46px; }
  .page-head__content { top: 82px; width: 100%; }
  .page-head__content--child { top: 42px; }
  .page-head__title { max-width: 65vw; font-size: clamp(41px, 6.5vw, 63px); }
  body[data-page="results"] .page-head__title { font-size: clamp(34px, 5.2vw, 50px); }
  .page-head__illust { top: 64px; right: -72px; width: 330px; opacity: .6; }
  body:is([data-page="assistant"], [data-page="advisor"], [data-page="tasa"]) .page-head__illust { top: auto; right: -40px; bottom: 0; width: 290px; }
  body:is([data-page="advising"], [data-page="learning"], [data-page="room"], [data-page="career_advising"], [data-page="support"], [data-page="reservation"]) .page-head__illust { top: auto; right: -92px; bottom: 0; }
  body:is([data-page="programs"], [data-page="proglearning"], [data-page="progdetail"], [data-page="progcareer"]) .page-head__illust { top: auto; right: -100px; bottom: 0; width: 380px; }
  body:is([data-page="resources"], [data-page="tools"]) .page-head__illust { top: auto; right: -90px; bottom: 0; }
  body:is([data-page="about"], [data-page="staff"], [data-page="results"], [data-page="history"]) .page-head__illust { top: auto; right: -100px; bottom: 0; width: 380px; }
  .page-head--no-tabs .page-head__illust { top: 26px; width: 260px; }
  body[data-page="progdetail"] .page-head--no-tabs .page-head__illust { top: auto; bottom: 0; width: 280px; }
  .page-head .page-head__illust.page-head__illust--fit { top: auto; right: 12px; bottom: 0; width: 255px; }
  .page-head .page-head__illust.page-head__illust--fit-sm { width: 220px; }
  .page-tabs { position: relative; z-index: 2; overflow-x: auto; scrollbar-width: none; }
  .page-tabs::-webkit-scrollbar { display: none; }
  .page-tabs__list { width: max-content; }
  .page-decoration__item { width: 72px; height: 76px; border-radius: 19px; }
  .page-content .sec { padding: 44px 0; scroll-margin-top: 92px; }

  body[data-page="progdetail"] .program-detail__overview {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
    gap: 30px;
  }

  body[data-page="progdetail"] .program-detail__summary {
    padding: 30px;
  }
  .page-content .sec::before,
  .page-content .sec::after {
    width: 72px;
    height: 76px;
    border-radius: 19px;
  }
  .page-content .sec.band { width: calc(100% + 32px); margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  .c3,.c4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media screen and (max-width: 680px) {
  .js .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .breadcrumb { margin-top: 14px; }
  .page-head { min-height: 140px; margin-bottom: 18px; border-radius: 14px; }
  .page-head__inner { min-height: 140px; }
  .page-head::before { background-size: 18px 18px; }
  .page-head::after { top: -110px; right: -90px; width: 230px; height: 230px; }
  /* 画面が狭いと見出しに重なるため、小さなアクセントは非表示にする。 */
  .page-head__inner::after { display: none; }
  /*
   * スマホは見出しが2行に折り返す場合があるため、高さのみ詰めて top は通常時と同じにする。
   * （タブレット指定 max-width:1023px がここにも及ぶので、明示的に打ち消す）
   */
  .page-head--no-tabs,
  .page-head--no-tabs .page-head__inner { min-height: 140px; }
  .page-head__content,
  .page-head__content--child,
  .page-head--no-tabs .page-head__content,
  .page-head--no-tabs .page-head__content--child {
    top: 50%;
    transform: translateY(-50%);
  }
  .page-head__category { gap: 8px; margin-bottom: 12px; font-size: 12px; }
  .page-head__title-row { display: block; }
  .page-head__title { max-width: 60%; font-size: 26px; line-height: 1.08; }
  body[data-page="results"] .page-head__title { font-size: 24px; }
  .page-head__divider {
    display: inline-block;
    width: 16px;
    margin: 12px 7px 3px 0;
  }
  .page-head__label {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
  }
  .page-tabs { display: none; }
  body[data-page="reservation"] .page-submenu { display: none; }
  .page-tabs__link { gap: 7px; min-width: 88px; height: 36px; padding: 0 11px 0 13px; font-size: 12px; }
  .page-tabs__link::after { width: 4px; height: 4px; }
  .page-head__illust { top: 45px; right: -24px; width: 160px; opacity: .38; }
  body:is([data-page="assistant"], [data-page="advisor"], [data-page="tasa"]) .page-head__illust { top: auto; right: -24px; bottom: 0; width: 150px; }
  body:is([data-page="advising"], [data-page="learning"], [data-page="room"], [data-page="career_advising"], [data-page="support"], [data-page="reservation"]) .page-head__illust { top: auto; right: -24px; bottom: 0; width: 155px; }
  body:is([data-page="programs"], [data-page="proglearning"], [data-page="progdetail"], [data-page="progcareer"]) .page-head__illust { top: auto; right: -24px; bottom: 0; width: 165px; }
  body:is([data-page="resources"], [data-page="tools"]) .page-head__illust { top: auto; right: -24px; bottom: 0; width: 155px; }
  body:is([data-page="about"], [data-page="staff"], [data-page="results"], [data-page="history"]) .page-head__illust { top: auto; right: -24px; bottom: 0; width: 165px; }
  .page-head--no-tabs .page-head__illust { top: 18px; right: -24px; width: 150px; }
  body[data-page="progdetail"] .page-head--no-tabs .page-head__illust { top: auto; bottom: 0; width: 155px; }
  .page-head .page-head__illust.page-head__illust--fit { top: auto; right: -16px; bottom: 0; width: 135px; }
  .page-head .page-head__illust.page-head__illust--fit-sm { width: 120px; }
  .page-content {
    padding-bottom: 16px;
    overflow-x: clip;
  }
  .footer { margin-top: 24px; }
  .page-decoration__item { width: 58px; height: 62px; border-radius: 16px; opacity: .62; }
  .page-decoration__item--4 { display: none; }
  body[data-page="news"] .page-decoration,
  body[data-page="news"] .page-content .sec::before,
  body[data-page="news"] .page-content .sec::after {
    display: none;
  }
  .page-content .sec { padding: 34px 0; }
  .page-content > .sec:first-of-type,
  .page-content > .page-decoration + .sec { padding-top: 18px; }

  body[data-page="progdetail"] .program-detail__overview {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body[data-page="progdetail"] .program-detail__summary {
    padding: 24px 20px;
    border-radius: 20px;
  }

  body[data-page="progdetail"] .program-detail__title {
    font-size: clamp(18px, 5.2vw, 20px);
    line-height: 1.5;
  }

  body[data-page="progdetail"] .program-detail__meta > div {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  body[data-page="progdetail"] .program-detail__apply {
    width: 100%;
  }

  body[data-page="progdetail"] .program-detail__visual {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  body[data-page="progdetail"] .program-detail__flyer {
    padding: 10px;
    border-radius: 18px;
  }

  body[data-page="progdetail"] .program-detail__body {
    margin-top: 32px;
    padding: 26px 20px;
  }
  .page-content > .page-decoration + .sec { padding-bottom: 20px; }
  .page-content > .page-decoration + .sec + .sec { padding-top: 28px; }
  .page-content .sec::before,
  .page-content .sec::after {
    width: 58px;
    height: 62px;
    border-radius: 16px;
    opacity: .62;
  }
  .page-content .sec:nth-child(odd)::after { display: none; }
  .sec-head { align-items: flex-start; margin-bottom: 24px; }
  .page-content .sec:has(> .sec-head + .prose) > .sec-head,
  .page-content .sec:has(> .sec-head + .card2 > .prose) > .sec-head { margin-bottom: 18px; }
  .sec-head::before { flex: 0 0 auto; margin-top: 10px; }
  .sec-h,
  body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec .sec-h {
    font-size: 20px;
    line-height: 1.4;
  }
  .lead,.prose { font-size: 14px; line-height: 2; }
  .page-content > .page-decoration + .sec > .lead + * { margin-top: 38px; }
  .page-content ul:not(.page-tabs__list) > li { font-size: 15px; }
  .c2,.c3,.c4,.slotgrid,.split { grid-template-columns: 1fr; }
  body[data-page="proglearning"] .proglearning-intro { grid-template-columns: 1fr; gap: 24px; }
  .detail-photo-intro { grid-template-columns: 1fr; gap: 24px; }
  body[data-page="learning"] .detail-photo-intro + .split { margin-top: 38px; }
  .split.room-location { grid-template-columns: 1fr; }
  .room-map__frame { min-height: 280px; }
  .advgrid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .advcard { padding: 16px; }
  body[data-page="learning"] .page-decoration + .sec .cards.c1 { grid-template-columns: 1fr; }
  body[data-page="learning"] .page-decoration + .sec .cards.c1 > .card2:last-child { grid-column: auto; }
  body[data-page="learning"] .learning-capabilities {
    display: block;
    min-height: 0;
    padding: 28px 24px 0;
  }
  body[data-page="learning"] .learning-capabilities .bd { font-size: 15px; }
  .learning-capabilities__visual img { max-width: 260px; margin: 22px auto 0; }
  .page-content .card2 .kv { grid-template-columns: 1fr; gap: 6px; }
  body[data-page="learning"] .page-content .card2 .kv {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  body[data-page="support"] .page-content .card2 .kv { grid-template-columns: 1fr; gap: 6px; }
  body[data-page="faq"] [data-accall] {
    display: none;
  }
  body[data-page="learning"] .flow-label--desktop { display: none; }
  body[data-page="learning"] .flow-label--mobile { display: inline; }
  body[data-page] .page-content .kv .k {
    font-size: 13px;
  }
  body[data-page] .page-content .kv .v {
    font-size: 14px;
    line-height: 1.75;
  }
  .cards { gap: 18px; margin-top: 32px; }
  .card2 { padding: 22px; }
  .card2 .ct,
  .iconcard .ll {
    font-size: 17px;
    line-height: 1.45;
  }
  .card2 .bd,
  .iconcard .ss {
    font-size: 13px;
    line-height: 1.8;
  }
  .page-content .card2 div:not(.cta):has(> .btn.sm) {
    display: flex;
    justify-content: flex-end;
  }
  .page-content .room-consultation-card .cta > .btn.sm { align-self: flex-end; }
  body[data-page="room"] .room-feature-cards .ct,
  body[data-page="programs"] .program-entry-cards .ct,
  body[data-page="tasa"] .cards.c1 .card2 .ct:has(> .ic) {
    gap: 8px;
  }
  body[data-page="room"] .room-feature-cards .ct > .ic,
  body[data-page="programs"] .program-entry-cards .ct > .ic,
  body[data-page="tasa"] .cards.c1 .card2 .ct > .ic {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  body[data-page="proglearning"] .course-year-nav { gap: 8px; }
  body[data-page="proglearning"] .course-year-nav > span[style] { display: none; }
  body[data-page="proglearning"] .course-year-nav .btn { width: 100%; margin-top: 8px; }
  body[data-page="proglearning"] .course-card { padding: 18px; }
  body[data-page="proglearning"] .course-card__inner { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; }
  body[data-page="proglearning"] .course-card__thumb { width: 104px; }
  body[data-page="proglearning"] .course-card__eyebrow { font-size: 10px; }
  body[data-page="proglearning"] .course-card__title { margin-top: 5px; font-size: 17px; }
  body[data-page="proglearning"] .course-card__meta { gap: 6px; margin-top: 12px; }
  body[data-page="proglearning"] .course-card__meta-row { grid-template-columns: 42px minmax(0, 1fr); gap: 8px; }
  body[data-page="proglearning"] .course-card__meta-label { min-height: 21px; font-size: 10px; }
  body[data-page="proglearning"] .course-card__meta-value { font-size: 12px; line-height: 1.55; }
  body[data-page="proglearning"] .course-card__excerpt { display: none; }
  body[data-page="proglearning"] .course-card__more { grid-column: 1 / -1; width: 100%; min-height: 44px; margin-top: 2px; }
  body[data-page="news"] .newstabs > [data-newscat] { display: none; }
  body[data-page="news"] .news-month,
  body[data-page="news"] .news-category-select {
    display: block;
    flex: 1 1 140px;
    margin-left: 0;
  }
  body[data-page="news"] .news-month label { display: block; }
  body[data-page="news"] .news-month select,
  body[data-page="news"] .news-category-select select { width: 100%; }

  /* --- スマホ：日付／タイトルの下に、カテゴリー（左）と詳細ボタン（右下）を並べる --- */
  body:is([data-page="news"], [data-page="results"]) .nrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 18px 20px;
  }

  body:is([data-page="news"], [data-page="results"]) .nrow .dt,
  body:is([data-page="news"], [data-page="results"]) .nrow .ti2 {
    grid-column: 1 / -1;
  }

  body:is([data-page="news"], [data-page="results"]) .nrow .tag {
    grid-column: 1;
    justify-self: start;
    margin-top: 12px;
  }

  /* 枠は小さく、位置は右下へ。文字サイズは変えない。 */
  body:is([data-page="news"], [data-page="results"]) .nrow .btn.sm {
    grid-column: 2;
    justify-self: end;
    gap: 6px;
    min-height: 32px;
    margin-top: 12px;
    padding: 0 12px;
  }
  body[data-page="assistant"] .page-content > .page-decoration + .sec > .lead + .cards { margin-top: 34px !important; }
  body[data-page="tasa"] .cards.c1 .card2 .ct > .ic { flex-basis: 30px; width: 30px; height: 30px; }
  body[data-page="tasa"] .page-content .card2 .kv { grid-template-columns: 1fr; gap: 6px; }
  body[data-page="staff"] .staff-profile-list { gap: 22px; margin-top: 4px; }
  body[data-page="staff"] .staff-profile-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px 16px;
    padding: 16px;
    border-radius: 18px;
  }
  body[data-page="staff"] .staff-profile-card__photo {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    min-height: 0;
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
  }
  body[data-page="staff"] .staff-profile-card__content { display: contents; }
  body[data-page="staff"] .staff-profile-card__identity {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0;
  }
  body[data-page="staff"] .staff-profile-card__role { margin-bottom: 8px; font-size: 12px; }
  body[data-page="staff"] .staff-profile-card__name { margin-bottom: 0; font-size: 19px; }
  body[data-page="staff"] .staff-profile-card__name-en { font-size: 12px; }
  body[data-page="staff"] .staff-profile-card__toggle {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #ded9d1;
    border-radius: 9px;
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
  }
  body[data-page="staff"] .staff-profile-card__toggle-icon {
    position: relative;
    width: 12px;
    height: 12px;
  }
  body[data-page="staff"] .staff-profile-card__toggle-icon::before,
  body[data-page="staff"] .staff-profile-card__toggle-icon::after {
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-orange);
    content: "";
  }
  body[data-page="staff"] .staff-profile-card__toggle-icon::after {
    transform: rotate(90deg);
    transition: transform .2s ease;
  }
  body[data-page="staff"] .staff-profile-card__toggle[aria-expanded="true"] .staff-profile-card__toggle-icon::after { transform: rotate(0); }
  body[data-page="staff"] .staff-profile-card__message {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    margin: 0;
    padding: 16px;
    border-radius: 10px;
    background: var(--color-white);
    font-size: 14px;
    line-height: 1.9;
  }
  body[data-page="staff"] .staff-profile-card__message.is-open { display: block; }
  .cardimg { min-height: 180px; margin: -22px -22px 22px; border-radius: 20px 20px 0 0; }
  .cardimg--photo { height: 180px; }
  .cardimg .ic,.qill2 .ic { width: 30px; height: 30px; padding: 13px; }
  .lnkitem,.dlrow { align-items: flex-start; padding: 20px; }
  .dlrow { flex-direction: column; }
  .dl-r { width: 100%; }
  .dl-r .btn.sm { width: 100%; }
  .nrow { display: block; }
  .nrow .dt { display: block; margin-bottom: 7px; }
  .tlrow { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .tlb { margin-left: 5px; padding-left: 20px; }
  body[data-page="history"] .tlrow,
  body[data-page="history"] .tlrow:nth-child(even) { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  body[data-page="history"] .tlb { margin-left: 5px; padding-left: 20px; }
  body[data-page="history"] .tly .y1 { font-size: 18px; line-height: 1.35; }
  body[data-page="history"] .tly .y2 { font-size: 11px; line-height: 1.5; }
  body[data-page="history"] .page-content .tlb li { font-size: 13px; line-height: 1.75; }
  body[data-page] .page-content .kv,
  body[data-page] .page-content .card2 .kv {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  body[data-page] .page-content .kv > .k,
  body[data-page] .page-content .kv > .v {
    display: block;
    min-width: 0;
  }
  .flow { flex-direction: column; }
  .flow .ar { transform: rotate(90deg); }
  body[data-page="learning"] .flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 4px;
    align-items: stretch;
  }
  body[data-page="learning"] .flow .step {
    min-height: 118px;
    padding: 14px 3px;
    border-radius: 14px;
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.45;
  }
  body[data-page="learning"] .flow .ar {
    display: block;
    transform: none;
  }
  body[data-page="learning"] .flow .ar::after { font-size: 14px; }
  body[data-page="learning"] .flow .step-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  body[data-page="learning"] .flow .step-icon .ic {
    width: 28px;
    height: 28px;
  }
  body[data-page="learning"] .page-content > .page-decoration + .sec { padding-bottom: 18px; }
  body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec { padding-top: 30px; padding-bottom: 30px; }
  body[data-page="learning"] .page-content > .page-decoration + .sec + .sec { padding-top: 20px; }
  body[data-page="learning"] .page-content > .page-decoration + .sec ~ .sec .sec-head { margin-bottom: 26px; padding: 0 0 15px; }
  .page-content .flow .step { min-height: 140px; font-size: 16px; }
  body[data-page="learning"] .learning-reservation-cta { padding-top: 18px !important; padding-bottom: 38px !important; }
  .learning-reservation-link { gap: 12px; min-height: 88px; padding: 16px; border-radius: 18px; }
  .learning-reservation-link__lead { gap: 12px; }
  .learning-reservation-link__icon { flex-basis: 36px; width: 36px; height: 36px; }
  .learning-reservation-link__icon svg { width: 34px; height: 34px; }
  .learning-reservation-link__text { font-size: 18px; letter-spacing: 0; white-space: nowrap; }
  .learning-reservation-link__arrow { flex-basis: 38px; width: 38px; height: 38px; }
  .faqbar,.cta { align-items: stretch; flex-direction: column; }
  .faqbar > div:last-child { flex-wrap: wrap; }
  .accq { min-height: 76px; padding: 18px; }
  .qi { font-size: 22px; }
  .qt { font-size: 14px; }
  .qm { width: 36px; height: 36px; }
  .acca { padding: 18px 22px; }
  .horizcard { align-items: flex-start; }
  .cicon { width: 62px; height: 62px; border-radius: 18px; }
  body[data-page="resources"] .cicon { flex-basis: 54px; width: 54px; height: 54px; border-radius: 0; transform: translateY(-4px); }
  body[data-page="resources"] .cicon .ic { width: 46px; height: 46px; }
  .cta { min-height: 0; padding: 26px 22px; }
  body[data-page="room"] .room-consultation-card .cta { padding: 24px; }
  body[data-page="room"] .room-consultation-card .cta-l { gap: 10px; }
  body[data-page="room"] .room-consultation-card .cta-l > .ic { flex-basis: 28px; width: 28px; height: 28px; }
  body[data-page="room"] .room-consultation-card .cta-t { font-size: 16px; line-height: 1.55; }
}

@media screen and (max-width: 480px) {
  .header .btn--header { display: none; }
  .header__menu-toggle { margin-left: auto; }
}
