@charset "UTF-8";

/*
 * display を指定した要素（.nrow など）では、ブラウザ標準の
 * [hidden] { display: none } が上書きされて効かなくなる。
 * JS の element.hidden による表示切り替えを確実に効かせるため明示する。
 */
[hidden] {
  display: none !important;
}

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --color-orange: #f35703;
  --color-ink: #1d1d1d;
  --color-white: #fff;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-en: "Geist", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;

  /* 320px〜1024pxの間で滑らかに変化し、PCではデザイン値を上限にする */
  --fs-11: clamp(10px, calc(9.545px + .142vw), 11px);
  --fs-12: clamp(11px, calc(10.545px + .142vw), 12px);
  --fs-12-5: clamp(11.5px, calc(11.045px + .142vw), 12.5px);
  --fs-13: clamp(12px, calc(11.545px + .142vw), 13px);
  --fs-13-5: clamp(12.5px, calc(12.045px + .142vw), 13.5px);
  --fs-14: clamp(12.5px, calc(11.818px + .213vw), 14px);
  --fs-14-5: clamp(13px, calc(12.318px + .213vw), 14.5px);
  --fs-15: clamp(13px, calc(12.091px + .284vw), 15px);
  --fs-15-5: clamp(13.5px, calc(12.591px + .284vw), 15.5px);
  --fs-16: clamp(14px, calc(13.091px + .284vw), 16px);

  /* --------------------------------------------------------
     ヒーローの基準幅（デザイン：1440px アートボード内の 1360px）
     1440px 未満では画面幅に追従し、内部の余白・文字サイズも
     すべてこの値からの比率で算出することでデザイン比率を保つ。
     -------------------------------------------------------- */
  --row: min(1360px, calc(100vw - 80px));

  --hero-gap: calc(var(--row) * 20 / 1360);
  --hero-side: 529px;                          /* 左右にはみ出す写真の原寸幅 */
  --radius-photo: calc(var(--row) * 14 / 1360);
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.7;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, p, figure { margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1200px, calc(100% - 80px));
  margin: 22px auto 14px;
  color: #8a8782;
  font-size: 12px;
}

.breadcrumb [aria-current="page"] { color: var(--color-ink); }

.breadcrumb a:hover { color: var(--color-orange); }

.page-submenu { display: none; }

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-white);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 92px;
  padding: 0 40px 0 32px;
}

.header__logo {
  flex: 0 0 auto;
  display: block;
}

.header__logo img {
  width: 212px;
  height: auto;
}

.gnav { margin-left: auto; }

.gnav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-14-5);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s ease;
}

.gnav__link:hover,
.gnav__link:focus-visible,
.gnav__link[aria-current="page"] {
  color: var(--color-orange);
}

/* 子メニューを持つ項目のプラス記号 */
.gnav__link--has-child::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--color-orange), var(--color-orange)) center / 11px 2.2px no-repeat,
    linear-gradient(var(--color-orange), var(--color-orange)) center / 2.2px 11px no-repeat;
}

.header__sns {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: 22px;
  color: #b5b5b5;
  transition: color .2s ease;
}

.header__sns svg { width: 100%; height: 100%; }
.header__sns:hover { color: var(--color-orange); }

/* =========================================================
   Buttons
   ========================================================= */
a[href],
button:not(:disabled),
[role="button"],
[role="link"],
.btn,
.clickable,
[data-go],
.is-cardlink {
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  font-feature-settings: "palt" 0;
  transition: background-color .2s ease, color .2s ease;
}

.btn__icon { flex: 0 0 auto; }

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--primary:hover { background: #d84b02; }

.btn--outline {
  background: var(--color-white);
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
}

.btn--outline:hover { background: #fff2eb; }

/* ヘッダー内 CTA */
.btn--header {
  flex: 0 0 auto;
  width: 131px;
  height: 44px;
  margin-left: 32px;
  gap: 8px;
  border-radius: 8px;
  font-size: var(--fs-15-5);
}

.btn--header .btn__icon { width: 13px; height: 13px; }

/* ヒーロー内 CTA */
.btn--hero {
  width: 100%;
  height: calc(var(--row) * 89 / 1360);
  padding-top: calc(var(--row) * 6 / 1360);
  gap: calc(var(--row) * 10 / 1360);
  border-radius: calc(var(--row) * 10 / 1360);
  font-size: calc(var(--row) * 22 / 1360);
}

.btn--hero .btn__icon {
  width: calc(var(--row) * 25 / 1360);
  height: calc(var(--row) * 25 / 1360);
}

.hero__right > .btn--primary.btn--hero .btn__icon,
.hero__right > .btn--primary.btn--hero .btn__label {
  transform: translate(-5px, -3px);
}

.hero__right > .btn--outline.btn--hero .btn__icon,
.hero__right > .btn--outline.btn--hero .btn__label {
  transform: translateY(-2px);
}

.btn--outline.btn--hero { padding-top: calc(var(--row) * 1.5 / 1360); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  overflow: hidden;
  padding: 8px 0 calc(var(--row) * 103 / 1360);
}

.hero__row {
  position: relative;
  width: var(--row);
  margin: 0 auto;
}

/* 左右にはみ出す写真：原寸のまま置き、画面幅が広がるほど多く見える */
.hero__side {
  position: absolute;
  top: 0;
  width: var(--hero-side);
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.hero__side--left  { right: calc(100% + var(--hero-gap)); }
.hero__side--right { left: calc(100% + var(--hero-gap)); }

.hero__side img {
  width: 100%;
  height: auto;
}

.hero__body {
  display: flex;
  gap: var(--hero-gap);
  align-items: flex-start;
}

.hero__left {
  flex: 1 1 auto;
  min-width: 0;
}

.hero__right {
  flex: 0 0 27.058%; /* 368 / 1360 */
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
}

/* --- 写真 --- */
.hero__photo {
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photos {
  display: flex;
  gap: var(--hero-gap);
}

.hero__photo--students,
.hero__photo--campus {
  flex: 1 1 0;
  aspect-ratio: 476 / 340;
}

.hero__photo--consultation { aspect-ratio: 368 / 500; }
.hero__photo--mobile-companion { display: none; }

/* --- 下段：コピー ＋ PCルーム写真 --- */
.hero__lower {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--hero-gap);
  margin-top: var(--hero-gap);
}

.hero__photo--pcroom {
  flex: 0 0 31.584%; /* 307 / 972 */
  aspect-ratio: 307 / 358;
}

.hero__copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: calc(var(--row) * 50 / 1360);
  padding-left: calc(var(--row) * 40 / 1360);
}

.hero__eyebrow {
  margin-bottom: calc(var(--row) * 22 / 1360);
  color: var(--color-orange);
  font-family: var(--font-en);
  font-size: calc(var(--row) * 17.5 / 1360);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.hero__title {
  font-size: calc(var(--row) * 63 / 1360);
  font-weight: 900;
  line-height: 1.3333;
  letter-spacing: .02em;
}

.hero__title-line { display: block; }

.hero__title em {
  font-style: normal;
  color: var(--color-orange);
}

.hero__lead {
  margin-top: calc(var(--row) * 19 / 1360);
  font-size: calc(var(--row) * 19 / 1360);
  font-weight: 500;
  line-height: 1.737;
  letter-spacing: 0;
}

.hero__lead-break-mobile { display: none; }

/* --- 走る学生のイラスト（PCルーム写真に重ねる） --- */
.hero__runners {
  position: absolute;
  left: 45.99%;  /* 447 / 972 */
  bottom: calc(var(--row) * 19 / 1360);
  width: 32.6%;
  height: auto;
  pointer-events: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media screen and (max-width: 1360px) {
  .header__inner { padding: 0 20px 0 24px; }

  .header__logo img { width: 188px; }

  .gnav__list { gap: 13px; }

  .gnav__link {
    gap: 5px;
    font-size: var(--fs-13-5);
  }

  .gnav__link--has-child::after {
    width: 10px;
    height: 10px;
    background-size: 10px 2px, 2px 10px;
  }

  .header__sns {
    width: 20px;
    height: 20px;
    margin-left: 14px;
  }

  .btn--header {
    width: 120px;
    margin-left: 16px;
    font-size: var(--fs-14-5);
  }
}

@media screen and (max-width: 1200px) {
  .header__inner { padding: 0 16px; }
  .header__logo img { width: 176px; }
  .gnav__list { gap: 10px; }
  .gnav__link { font-size: var(--fs-12-5); }
  .btn--header {
    width: 112px;
    margin-left: 12px;
  }
  .header__sns { margin-left: 12px; }
}

@media screen and (max-width: 1023px) {
  .gnav,
  .header__sns { display: none; }

  .header__inner {
    height: 68px;
    padding: 0 20px;
  }

  .header__logo img { width: 172px; }

  .btn--header { margin-left: auto; }
}


/* --- タブレット／スマートフォン：1カラムに積み替え --- */
@media screen and (max-width: 1023px) {
  :root {
    --row: min(680px, calc(100vw - 40px));
    --hero-gap: 12px;
    --radius-photo: 10px;
  }

  .hero { padding: 24px 0 64px; }

  .hero__side { display: none; }

  .hero__body { display: block; }

  .hero__lower {
    display: block;
    margin-top: var(--hero-gap);
  }

  .hero__copy {
    padding-top: 30px;
    padding-left: 0;
  }

  .hero__eyebrow {
    margin-bottom: 12px;
    font-size: clamp(13px, calc(var(--row) * 16 / 680), 16px);
  }

  .hero__title {
    font-size: clamp(29px, calc(var(--row) * 46 / 680), 46px);
    line-height: 1.35;
    letter-spacing: 0;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: clamp(14px, calc(var(--row) * 17 / 680), 17px);
    line-height: 1.9;
  }

  .hero__photo--pcroom {
    width: 62%;
    margin: 16px 0 0 auto;
  }

  .hero__runners {
    left: auto;
    right: 50%;
    bottom: 6px;
    width: 48%;
  }

  .hero__right {
    margin-top: var(--hero-gap);
    gap: var(--hero-gap);
  }

  .hero__photo--consultation { aspect-ratio: 368 / 300; }
  .hero__photo--consultation img { object-position: 50% 15%; }

  .btn--hero {
    height: clamp(58px, calc(var(--row) * 72 / 680), 72px);
    padding-top: 3px;
    gap: 8px;
    border-radius: 8px;
    font-size: clamp(16px, calc(var(--row) * 20 / 680), 20px);
  }

  .btn--hero .btn__icon {
    width: clamp(19px, calc(var(--row) * 23 / 680), 23px);
    height: clamp(19px, calc(var(--row) * 23 / 680), 23px);
  }

  .btn--outline.btn--hero { padding-top: 1px; }
}

/* --- スマートフォン：横長写真2枚、その下にコピー＋縦長写真 --- */
@media screen and (max-width: 599px) {
  :root {
    --row: calc(100vw - 32px);
    --hero-gap: 10px;
    --radius-photo: 9px;
  }

  .hero { padding: 4px 0 28px; }

  .header__logo { margin-left: -10px; }

  .hero__left {
    display: flex;
    flex-direction: column;
  }

  .hero__lower {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 36%);
    align-items: stretch;
    gap: 14px;
    margin-top: 0;
  }

  .hero__copy {
    min-width: 0;
    padding-top: 14px;
  }

  .hero__eyebrow {
    margin-bottom: 13px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero__title {
    font-size: clamp(26px, 7.45vw, 31px);
    line-height: 1.4;
  }

  .hero__lead {
    margin-top: 17px;
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.9;
  }

  .hero__lead-break-mobile { display: block; }

  .hero__photo--pcroom {
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 220px;
    margin: 0;
    aspect-ratio: auto;
  }

  .hero__photo--pcroom img { object-position: 55% center; }

  .hero__runners {
    right: calc(4% + 40px);
    bottom: 0;
    width: 36%;
  }

  .hero__photos {
    order: 1;
    gap: 10px;
    margin: 0 0 16px;
  }

  .hero__photo--students,
  .hero__photo--campus {
    aspect-ratio: 1.42 / 1;
  }

  .hero__right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .hero__photo--consultation,
  .hero__photo--mobile-companion {
    display: block;
    aspect-ratio: 1.42 / 1;
  }

  .hero__photo--consultation img { object-position: 50% 22%; }
  .hero__photo--mobile-companion img { object-position: 50% 42%; }

  .hero__right > .hero__photo { display: none; }
  .hero__right > .btn--hero { grid-column: 1 / -1; }
}

/* =========================================================
   Your Academic Journey セクション
   （デザイン：1440px アートボード／コンテンツ幅 1200px）
   ========================================================= */
.problem {
  --sec: min(1200px, calc(100vw - 80px));
  position: relative;
  padding-bottom: calc(var(--sec) * 89 / 1200);
  background: var(--color-white);
}

/* 背景の大きなベージュパネル（左は画面外まで、右は途中で切れる） */
.problem__panel {
  position: absolute;
  top: 0;
  left: -30px;
  right: calc(50% - 558px);
  bottom: calc(var(--sec) * 184 / 1200);
  background: #f3f2ee;
  border-radius: 0 30px 30px 0;
}

.problem__inner {
  position: relative;
  width: var(--sec);
  margin: 0 auto;
}

/* --- 装飾（角丸スクエア・イラスト） --- */
.problem__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.problem__square {
  position: absolute;
  width: calc(var(--sec) * 85 / 1200);
  height: calc(var(--sec) * 90 / 1200);
  border-radius: calc(var(--sec) * 20 / 1200);
}

.problem__square--1 { left: calc(var(--sec) * -75 / 1200); top: calc(var(--sec) * 164 / 1200); background: #f4e2d6; }
.problem__square--2 { left: calc(var(--sec) * 845 / 1200); top: calc(var(--sec) *  55 / 1200); background: #f4ecd7; }
.problem__square--3 { left: calc(var(--sec) * 1035 / 1200); top: calc(var(--sec) * 248 / 1200); background: #f4e2d6; }
.problem__square--4 { left: calc(var(--sec) *  62 / 1200); top: calc(var(--sec) * 244 / 1200); background: #f4ecd7; }

.problem__figure {
  position: absolute;
  height: auto;
}

.problem__figure--bulb  { left: calc(var(--sec) * 108 / 1200); top: calc(var(--sec) * 124 / 1200); width: calc(var(--sec) *  60 / 1200); }
.problem__figure--left  { left: calc(var(--sec) * 108 / 1200); top: calc(var(--sec) * 188 / 1200); width: calc(var(--sec) * 110 / 1200); }
.problem__figure--right { left: calc(var(--sec) * 976 / 1200); top: calc(var(--sec) * 173 / 1200); width: calc(var(--sec) * 105 / 1200); }

/* --- 見出しブロック --- */
.problem__head {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--sec) * 122 / 1200);
  text-align: center;
}

.problem__eyebrow {
  margin-bottom: calc(var(--sec) * 22 / 1200);
  color: var(--color-orange);
  font-family: var(--font-en);
  font-size: calc(var(--sec) * 16 / 1200);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
}

.problem__title {
  margin: 0;
  font-size: calc(var(--sec) * 44 / 1200);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .01em;
}

.problem__lead {
  margin-top: calc(var(--sec) * 22 / 1200);
  font-size: calc(var(--sec) * 16 / 1200);
  font-weight: 500;
  line-height: 1.7;
}

/* --- カード --- */
.problem__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--sec) * 30 / 1200);
  margin-top: calc(var(--sec) * 46 / 1200);
}

.p-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--sec) * 225 / 1200);
  padding: calc(var(--sec) * 20 / 1200) calc(var(--sec) * 23 / 1200) calc(var(--sec) * 20 / 1200) calc(var(--sec) * 45 / 1200);
  background: var(--color-white);
  border-radius: calc(var(--sec) * 20 / 1200);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .05);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.p-card:hover,
.p-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

.p-card__body {
  flex: 0 1 auto;
  max-width: calc(var(--sec) * 330 / 1200);
  min-width: 0;
}

.p-card__illust {
  flex: 0 0 auto;
  width: calc(var(--sec) * 182 / 1200);
  height: auto;
}

.p-card__title {
  margin: 0;
  font-size: calc(var(--sec) * 21 / 1200);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
}

.p-card__text {
  margin-top: calc(var(--sec) * 20 / 1200);
  font-size: calc(var(--sec) * 15 / 1200);
  font-weight: 500;
  line-height: 1.73;
}

.p-card__link {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--sec) * 10 / 1200);
  margin-top: calc(var(--sec) * 20 / 1200);
  font-size: calc(var(--sec) * 15 / 1200);
  font-weight: 500;
}

.p-card__link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
}

.p-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--sec) * 32 / 1200);
  height: calc(var(--sec) * 32 / 1200);
  border-radius: calc(var(--sec) * 6 / 1200);
  background: var(--color-orange);
  color: var(--color-white);
  transition: background-color .2s ease;
}

.p-card__icon svg {
  width: calc(var(--sec) * 14 / 1200);
  height: auto;
}

.p-card__link-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s ease;
}

.p-card:hover .p-card__link-text,
.p-card:focus-within .p-card__link-text { color: var(--color-orange); }

.p-card:hover .p-card__icon,
.p-card:focus-within .p-card__icon { background: #d84b02; }

/* --- レスポンシブ --- */
@media screen and (max-width: 1023px) {
  .problem {
    --sec: min(680px, calc(100vw - 40px));
    padding-bottom: 56px;
  }

  .problem__panel {
    left: 0;
    right: 0;
    bottom: 110px;
    border-radius: 0 0 20px 20px;
  }

  .problem__head {
    padding: 56px 76px 0;
  }

  .problem__eyebrow {
    margin-bottom: 12px;
    font-size: var(--fs-13);
  }

  .problem__title {
    font-size: clamp(21px, calc(var(--sec) * 31 / 680), 31px);
    line-height: 1.45;
  }

  .problem__lead {
    margin-top: 14px;
    font-size: clamp(12px, calc(var(--sec) * 15 / 680), 15px);
    line-height: 1.8;
  }

  .problem__list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .p-card {
    min-height: 0;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 14px;
  }

  .p-card__body { max-width: none; }

  .p-card__illust { width: clamp(96px, 26vw, 150px); }

  .p-card__title { font-size: clamp(15px, calc(var(--sec) * 19 / 680), 19px); }

  .p-card__text {
    margin-top: 12px;
    font-size: clamp(12.5px, calc(var(--sec) * 14 / 680), 14px);
  }

  .p-card__link {
    gap: 8px;
    margin-top: 14px;
    font-size: clamp(12.5px, calc(var(--sec) * 14 / 680), 14px);
  }

  .p-card__icon {
    width: 26px;
    height: 26px;
    border-radius: 5px;
  }

  .p-card__icon svg { width: 12px; }

  /* 装飾：見出しの左右に小さく配置 */
  .problem__square {
    width: 52px;
    height: 56px;
    border-radius: 12px;
  }

  .problem__square--1 { display: none; }
  .problem__square--2 { left: auto; right: 0; top: 24px; }
  .problem__square--3 { display: none; }
  .problem__square--4 { left: 0; top: 132px; }

  .problem__figure--bulb  { left: 8px;  top: 30px;  width: 34px; }
  .problem__figure--left  { left: 0;    top: 66px;  width: 68px; }
  .problem__figure--right { left: auto; right: 0;   top: 54px;  width: 64px; }
}

@media screen and (max-width: 599px) {
  .problem { padding-bottom: 44px; }

  .problem__panel { bottom: 90px; }

  /* 幅が足りないため人物イラストは非表示（装飾のみ） */
  .problem__figure { display: none; }

  .problem__square { width: 40px; height: 44px; border-radius: 10px; }
  .problem__square--2 { top: 16px; }
  .problem__square--4 { top: 96px; }

  .problem__head { padding: 44px 0 0; }

  .p-card {
    gap: 12px;
    padding: 20px 16px;
  }

  .p-card__illust { width: 88px; align-self: flex-start; margin-top: 4px; }
}

/* =========================================================
   4 Ways to Engage セクション
   （デザイン：1440px アートボード／パネル幅 1400px・カード列 1200px）
   ========================================================= */
.entrance {
  --ent: min(1400px, calc(100vw - 40px));
  padding: 12px 0 36px;
  background: var(--color-white);
}

.entrance__panel {
  position: relative;
  width: var(--ent);
  margin: 0 auto;
  padding-bottom: calc(var(--ent) * 44 / 1400);
  overflow: hidden;
  background: var(--color-orange);
  border-radius: calc(var(--ent) * 30 / 1400);
}

/* --- 見出し --- */
.entrance__head {
  padding-top: calc(var(--ent) * 99 / 1400);
  text-align: center;
  color: var(--color-white);
}

.entrance__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--ent) * 6 / 1400);
  font-size: calc(var(--ent) * 14 / 1400);
  font-weight: 700;
  line-height: 1;
}

.entrance__marker {
  width: calc(var(--ent) * 10 / 1400);
  height: calc(var(--ent) * 10 / 1400);
  background: #f7d804;
}

.entrance__title {
  margin: calc(var(--ent) * 16 / 1400) 0 0;
  font-family: var(--font-en);
  font-size: calc(var(--ent) * 65 / 1400);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
}

/* --- カード --- */
.entrance__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--ent) * 30 / 1400);
  width: calc(var(--ent) * 1200 / 1400);
  margin: calc(var(--ent) * 42 / 1400) auto 0;
}

.e-card {
  background: var(--color-white);
  border-radius: calc(var(--ent) * 16 / 1400);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.e-card--accent { background: #f9edd7; }

.e-card:hover,
.e-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

.e-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: calc(var(--ent) * 22 / 1400) calc(var(--ent) * 20 / 1400) calc(var(--ent) * 31 / 1400);
  cursor: pointer;
  text-align: center;
}

.e-card__illust {
  width: calc(var(--ent) * 201 / 1400);
  height: auto;
}

.e-card__title {
  margin: calc(var(--ent) * 4 / 1400) 0 0;
  font-size: calc(var(--ent) * 21 / 1400);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
}

.e-card__note {
  margin-top: calc(var(--ent) * 11 / 1400);
  color: #a7a3a0;
  font-size: calc(var(--ent) * 14 / 1400);
  font-weight: 500;
  line-height: 1.4;
}

.e-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--ent) * 32 / 1400);
  height: calc(var(--ent) * 32 / 1400);
  margin-top: calc(var(--ent) * 20 / 1400);
  border-radius: calc(var(--ent) * 6 / 1400);
  background: var(--color-orange);
  color: var(--color-white);
  transition: background-color .2s ease;
}

.e-card__arrow svg {
  width: calc(var(--ent) * 14 / 1400);
  height: auto;
}

.e-card:hover .e-card__arrow,
.e-card:focus-within .e-card__arrow { background: #d84b02; }

/* --- 流れる装飾テキスト --- */
.marquee {
  margin-top: calc(var(--ent) * 41 / 1400);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: calc(var(--ent) * 26 / 1400);
  padding-right: calc(var(--ent) * 26 / 1400);
}

.marquee__text {
  color: transparent;
  font-family: var(--font-en);
  font-size: calc(var(--ent) * 66 / 1400);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}

.marquee__avatar {
  flex: 0 0 auto;
  width: calc(var(--ent) * 82 / 1400);
  height: auto;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* --- レスポンシブ --- */
@media screen and (max-width: 1023px) {
  .entrance {
    --ent: calc(100vw - 32px);
    padding: 8px 0 24px;
  }

  .entrance__panel {
    padding-bottom: 32px;
    border-radius: 20px;
  }

  .entrance__head { padding-top: 48px; }

  .entrance__eyebrow {
    gap: 6px;
    font-size: var(--fs-13);
  }

  .entrance__marker { width: 9px; height: 9px; }

  .entrance__title {
    margin-top: 14px;
    font-size: clamp(34px, 7vw, 56px);
  }

  .entrance__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: calc(100% - 40px);
    margin-top: 32px;
  }

  .e-card { border-radius: 14px; }

  .e-card__link { padding: 20px 14px 24px; }

  .e-card__illust { width: min(100%, 180px); }

  .e-card__title {
    margin-top: 12px;
    font-size: clamp(15px, 3.4vw, 19px);
  }

  .e-card__note {
    margin-top: 8px;
    font-size: clamp(12px, 2.6vw, 14px);
  }

  .e-card__arrow {
    width: 28px;
    height: 28px;
    margin-top: 16px;
    border-radius: 5px;
  }

  .e-card__arrow svg { width: 12px; }

  .marquee { margin-top: 32px; }

  .marquee__group { gap: 18px; padding-right: 18px; }

  .marquee__text {
    font-size: clamp(30px, 7vw, 52px);
    -webkit-text-stroke-width: 1.2px;
  }

  .marquee__avatar { width: 56px; }
}

@media screen and (max-width: 599px) {
  .entrance__list {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 12px;
  }

  .e-card__link {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    grid-template-areas:
      "img title arrow"
      "img note  arrow";
    align-items: center;
    column-gap: 14px;
    padding: 14px 16px;
    text-align: left;
  }

  .e-card__illust { grid-area: img; width: 96px; }

  .e-card__title {
    grid-area: title;
    align-self: end;
    margin: 0;
    font-size: var(--fs-16);
  }

  .e-card__note {
    grid-area: note;
    align-self: start;
    margin-top: 4px;
    font-size: var(--fs-12);
  }

  .e-card__arrow {
    grid-area: arrow;
    margin: 0;
  }
}

/* =========================================================
   News ／ Youtube セクション
   （デザイン：1440px アートボード／コンテンツ幅 1200px）
   ========================================================= */
/* =========================================================
   Study Skills／スタディ・スキル講座 新着
   ========================================================= */
.study-news {
  --study: min(1200px, calc(100vw - 80px));
  padding: calc(var(--study) * 72 / 1200) 0 calc(var(--study) * 60 / 1200);
  background: #f7f5f1;
}

.study-news__inner {
  width: var(--study);
  margin: 0 auto;
}

.study-news__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.study-news__head-link {
  flex: 0 0 auto;
  margin-top: 2px;
  transform: translateY(70px);
}

.study-news__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--study) * 6 / 1200);
  margin: 0;
  font-size: calc(var(--study) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
}

.study-news__marker {
  width: calc(var(--study) * 10 / 1200);
  height: calc(var(--study) * 10 / 1200);
  background: var(--color-orange);
}

.study-news__title {
  margin: calc(var(--study) * 10 / 1200) 0 0;
  font-family: var(--font-en);
  font-size: calc(var(--study) * 48 / 1200);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.study-news__lead {
  margin: calc(var(--study) * 10 / 1200) 0 0;
  color: #66615b;
  font-size: calc(var(--study) * 14 / 1200);
  font-weight: 500;
  line-height: 1.8;
}

.study-news__all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #ded9d1;
  border-radius: 8px;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s ease, color .2s ease;
}

.study-news__all svg {
  width: 14px;
  height: auto;
}

.study-news__all:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.study-news__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: calc(var(--study) * 26 / 1200) 0 0;
}

.study-news__list--count-1 { grid-template-columns: minmax(0, calc((100% - 14px) / 2)); }
.study-news__list--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.study-news__item { min-width: 0; }

.study-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  height: 100%;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid #e8e3dc;
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(63, 55, 44, .06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.study-card:hover {
  border-color: rgba(241, 90, 36, .45);
  box-shadow: 0 18px 42px rgba(63, 55, 44, .11);
  transform: translateY(-4px);
}

.study-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 164px;
  overflow: hidden;
  background: #eeece7;
}

.study-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.study-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #aaa39b;
}

.study-card__placeholder svg { width: 42px; height: 42px; }

.study-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 17px 24px 16px;
}

.study-card__label {
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.study-card__title {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.study-card__meta {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  color: #625e58;
  font-size: 12px;
  line-height: 1.55;
}

.study-card__meta > span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  min-width: min(100%, 260px);
}

.study-card__meta strong {
  color: #393632;
  font-size: 12px;
}

.study-card__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 13px;
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 700;
}

.study-card__more svg { width: 14px; height: auto; }

.study-news__empty {
  margin-top: 32px;
  padding: 24px;
  border-radius: 14px;
  background: var(--color-white);
  color: #68635d;
  text-align: center;
}

@media screen and (max-width: 1023px) {
  .study-news {
    --study: min(680px, calc(100vw - 40px));
    padding: 52px 0 46px;
  }

  .study-news__eyebrow { gap: 6px; font-size: var(--fs-13); }
  .study-news__marker { width: 9px; height: 9px; }
  .study-news__title { margin-top: 8px; font-size: clamp(34px, 7vw, 44px); }
  .study-news__lead { margin-top: 9px; font-size: var(--fs-13); }
  .study-news__list { grid-template-columns: 1fr; gap: 13px; margin-top: 24px; }
  .study-news__list--count-1,
  .study-news__list--count-2 { grid-template-columns: 1fr; }
  .study-card { grid-template-columns: 170px minmax(0, 1fr); }
}

@media screen and (max-width: 599px) {
  .study-news {
    --study: calc(100vw - 32px);
    padding: 44px 0 38px;
  }

  .study-news__inner {
    display: flex;
    flex-direction: column;
  }

  .study-news__head { display: contents; }
  .study-news__head > div { order: 1; }
  .study-news__head-link {
    order: 3;
    display: flex;
    width: max-content;
    margin: 16px 0 0 auto;
    transform: none;
  }
  .study-news__list { order: 2; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .study-news__list--count-1,
  .study-news__list--count-2 { grid-template-columns: 1fr; }
  .study-card { grid-template-columns: 108px minmax(0, 1fr); min-height: 176px; border-radius: 18px; }
  .study-card__visual { min-height: 176px; }
  .study-card__body { padding: 15px 15px 14px; }
  .study-card__label { font-size: 10px; }
  .study-card__title { font-size: 16px; line-height: 1.5; }
  .study-card__meta { display: grid; gap: 4px; margin-top: 9px; font-size: 11px; }
  .study-card__meta > span { grid-template-columns: 34px minmax(0, 1fr); gap: 5px; min-width: 0; }
  .study-card__meta strong { font-size: 10px; }
  .study-card__more { padding-top: 9px; font-size: 11px; }
}

.newsyt {
  --nyt: min(1200px, calc(100vw - 80px));
  padding: 70px 0 calc(var(--nyt) * 56 / 1200);
  background: var(--color-white);
}

.newsyt__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--nyt) * 50 / 1200);
  width: var(--nyt);
  margin: 0 auto;
}

/* --- 共通の見出し --- */
.newsyt__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--nyt) * 6 / 1200);
  font-size: calc(var(--nyt) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
}

.newsyt__marker {
  width: calc(var(--nyt) * 10 / 1200);
  height: calc(var(--nyt) * 10 / 1200);
  background: var(--color-orange);
}

.newsyt__title {
  margin: calc(var(--nyt) * 17 / 1200) 0 0;
  font-family: var(--font-en);
  font-size: calc(var(--nyt) * 48 / 1200);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

/* --- News：絞り込みタブ --- */
.news__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--nyt) * 7 / 1200);
  margin-top: calc(var(--nyt) * 30 / 1200);
}

.news__tab {
  height: calc(var(--nyt) * 35 / 1200);
  padding: 0 calc(var(--nyt) * 14 / 1200);
  border: 1px solid #d9d7d4;
  border-radius: calc(var(--nyt) * 6 / 1200);
  background: var(--color-white);
  color: var(--color-ink);
  font-family: inherit;
  font-size: calc(var(--nyt) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.news__tab:hover { border-color: var(--color-orange); color: var(--color-orange); }

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

/* --- News：一覧 --- */
.news__list { margin-top: calc(var(--nyt) * 13 / 1200); }

.news__item { border-bottom: 1px dashed #c9c7c4; }

.news__link {
  display: block;
  padding: calc(var(--nyt) * 31 / 1200) 0 calc(var(--nyt) * 32 / 1200);
}

.news__meta {
  display: flex;
  align-items: center;
  gap: calc(var(--nyt) * 8 / 1200);
}

.news__date {
  color: var(--color-ink);
  font-size: calc(var(--nyt) * 14 / 1200);
  font-weight: 500;
  line-height: 1;
}

.news__tag {
  display: inline-flex;
  align-items: center;
  height: calc(var(--nyt) * 20 / 1200);
  padding: 0 calc(var(--nyt) * 12 / 1200);
  border: 1px solid #d9d7d4;
  border-radius: calc(var(--nyt) * 4 / 1200);
  font-size: calc(var(--nyt) * 12 / 1200);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.news__title {
  margin-top: calc(var(--nyt) * 10 / 1200);
  font-size: calc(var(--nyt) * 15 / 1200);
  font-weight: 700;
  line-height: 1.6;
  transition: color .2s ease;
}

.news__link:hover .news__title { color: var(--color-orange); }

/* --- Youtube：一覧 --- */
.youtube__list { margin-top: calc(var(--nyt) * 42 / 1200); }

.yt-item + .yt-item { margin-top: calc(var(--nyt) * 22 / 1200); }

.yt-item__link {
  display: flex;
  gap: calc(var(--nyt) * 25 / 1200);
}

.yt-item__thumb {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--nyt) * 192 / 1200);
  aspect-ratio: 16 / 9;
  background: #d9d9d9;
  border-radius: calc(var(--nyt) * 4 / 1200);
  overflow: hidden;
}

/* Youtubeのサムネイル画像。再生アイコンSVGはこの上に重ねる。 */
.yt-item__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-item__thumb svg {
  position: relative;
  width: calc(var(--nyt) * 40 / 1200);
  height: auto;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, .35));
}

.yt-item__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: calc(var(--nyt) * 6 / 1200);
}

.yt-item__date {
  display: block;
  font-size: calc(var(--nyt) * 14 / 1200);
  font-weight: 500;
  line-height: 1;
}

.yt-item__title {
  /* デザイン指定：2行までの表示 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: calc(var(--nyt) * 12 / 1200);
  font-size: calc(var(--nyt) * 15 / 1200);
  font-weight: 700;
  line-height: 1.6;
  transition: color .2s ease;
}

.yt-item__channel {
  display: block;
  margin-top: calc(var(--nyt) * 12 / 1200);
  color: #aaa6a3;
  font-size: calc(var(--nyt) * 14 / 1200);
  font-weight: 500;
  line-height: 1;
}

.yt-item__link:hover .yt-item__title { color: var(--color-orange); }

.youtube__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: calc(var(--nyt) * 32 / 1200);
  padding-top: calc(var(--nyt) * 31 / 1200);
  border-top: 1px solid #f1f1f1;
}

/* --- 矢印付きテキストリンク（共通） --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--nyt, 1200px) * 10 / 1200);
  font-size: calc(var(--nyt, 1200px) * 14 / 1200);
  font-weight: 500;
}

.text-link__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--nyt, 1200px) * 32 / 1200);
  height: calc(var(--nyt, 1200px) * 32 / 1200);
  border-radius: calc(var(--nyt, 1200px) * 6 / 1200);
  background: var(--color-orange);
  color: var(--color-white);
  transition: background-color .2s ease;
}

.text-link__icon svg { width: calc(var(--nyt, 1200px) * 14 / 1200); height: auto; }

.text-link__text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s ease;
}

.text-link:hover .text-link__icon { background: #d84b02; }
.text-link:hover .text-link__text { color: var(--color-orange); }

/* --- レスポンシブ --- */
@media screen and (max-width: 1023px) {
  .newsyt {
    --nyt: min(680px, calc(100vw - 40px));
    padding: 48px 0 40px;
  }

  .newsyt__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .newsyt__eyebrow { font-size: var(--fs-13); }
  .newsyt__marker { width: 9px; height: 9px; }

  .newsyt__title {
    margin-top: 12px;
    font-size: clamp(34px, 7vw, 44px);
  }

  .news__tabs { margin-top: 20px; gap: 6px; }

  .news__tab {
    height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: var(--fs-13);
  }

  .news__list { margin-top: 8px; }

  .news__link { padding: 20px 0 22px; }

  .news__meta { gap: 8px; }
  .news__date { font-size: var(--fs-13); }

  .news__tag {
    height: 19px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: var(--fs-11);
  }

  .news__title {
    margin-top: 8px;
    font-size: var(--fs-14);
  }

  .youtube__list { margin-top: 24px; }

  .yt-item + .yt-item { margin-top: 16px; }

  .yt-item__link { gap: 14px; }

  .yt-item__thumb {
    width: clamp(120px, 34%, 192px);
    border-radius: 4px;
  }

  .yt-item__thumb svg { width: 32px; }

  .yt-item__body { padding-top: 2px; }

  .yt-item__date { font-size: var(--fs-12); }

  .yt-item__title {
    margin-top: 8px;
    font-size: var(--fs-14);
  }

  .yt-item__channel {
    margin-top: 8px;
    font-size: var(--fs-12);
  }

  .youtube__foot {
    margin-top: 20px;
    padding-top: 20px;
  }

  .text-link { gap: 8px; font-size: var(--fs-13); }

  .text-link__icon {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .text-link__icon svg { width: 12px; }
}

@media screen and (max-width: 599px) {
  .newsyt {
    --nyt: calc(100vw - 32px);
    padding: 40px 0 32px;
  }

  .yt-item__title { line-height: 1.55; }
}

/* =========================================================
   Success Stories／サクセスコモンズの成果
   （デザイン：1440px アートボード／パネル 1200×431）
   ========================================================= */
.result {
  --res: min(1200px, calc(100vw - 80px));
  padding: 24px 0 calc(var(--res) * 68 / 1200);
  background: var(--color-white);
}

.result__panel {
  position: relative;
  display: flex;
  gap: calc(var(--res) * 40 / 1200);
  width: var(--res);
  min-height: calc(var(--res) * 431 / 1200);
  margin: 0 auto;
  padding: calc(var(--res) * 71 / 1200) calc(var(--res) * 72 / 1200) calc(var(--res) * 40 / 1200) calc(var(--res) * 70 / 1200);
  overflow: hidden;
  background: #f3f2ee;
  border-radius: calc(var(--res) * 30 / 1200);
}

/* --- 左：見出しとリード --- */
.result__intro {
  position: relative;
  top: calc(var(--res) * -10 / 1200);
  flex: 0 0 calc(var(--res) * 410 / 1200);
}

.result__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--res) * 6 / 1200);
  font-size: calc(var(--res) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
}

.result__marker {
  width: calc(var(--res) * 10 / 1200);
  height: calc(var(--res) * 10 / 1200);
  background: var(--color-orange);
}

.result__heading {
  margin: calc(var(--res) * 17 / 1200) 0 0;
  font-family: var(--font-en);
  font-size: calc(var(--res) * 46 / 1200);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.result__lead {
  max-width: calc(var(--res) * 274 / 1200);
  margin-top: calc(var(--res) * 20 / 1200);
  font-size: calc(var(--res) * 13 / 1200);
  letter-spacing: .012em;
  font-weight: 500;
  line-height: 1.69;
}

/* パネル下端で切れる装飾イラスト */
.result__illust {
  position: absolute;
  left: calc(var(--res) * 49 / 1200);
  top: calc(var(--res) * 212 / 1200);
  width: calc(var(--res) * 310 / 1200);
  height: auto;
  pointer-events: none;
}

/* --- 右：成果一覧 --- */
.result__list {
  flex: 1 1 auto;
  min-width: 0;
}

.result__item + .result__item { border-top: 1px dashed #c9c7c4; }

.result__link {
  display: flex;
  align-items: center;
  gap: calc(var(--res) * 24 / 1200);
  padding: calc(var(--res) * 35 / 1200) 0 calc(var(--res) * 33 / 1200);
}

.result__item:first-child .result__link { padding-top: 0; }

.result__body {
  flex: 1 1 auto;
  min-width: 0;
}

.result__date {
  display: block;
  font-size: calc(var(--res) * 14 / 1200);
  font-weight: 500;
  line-height: 1;
}

.result__title {
  display: block;
  margin-top: calc(var(--res) * 6 / 1200);
  font-size: calc(var(--res) * 18 / 1200);
  font-weight: 700;
  line-height: 1.6;
  transition: color .2s ease;
}

.result__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--res) * 32 / 1200);
  height: calc(var(--res) * 32 / 1200);
  border-radius: calc(var(--res) * 5 / 1200);
  background: #ada5a2;
  color: var(--color-white);
  transition: background-color .2s ease;
}

.result__arrow svg { width: calc(var(--res) * 14 / 1200); height: auto; }

.result__link:hover .result__title { color: var(--color-orange); }
.result__link:hover .result__arrow { background: var(--color-orange); }

/* 一覧の最後にも破線を引く */
.result__list { border-bottom: 1px dashed #c9c7c4; }

/* --- レスポンシブ --- */
@media screen and (max-width: 1023px) {
  .result {
    --res: min(680px, calc(100vw - 40px));
    padding: 16px 0 48px;
  }

  .result__panel {
    display: block;
    min-height: 0;
    padding: 40px 24px 0;
    border-radius: 20px;
  }

  .result__intro { top: auto; padding-bottom: 24px; }

  .result__eyebrow { font-size: var(--fs-13); }
  .result__marker { width: 9px; height: 9px; }

  .result__heading {
    margin-top: 10px;
    font-size: clamp(36px, 8vw, 52px);
  }

  .result__lead {
    max-width: none;
    margin-top: 14px;
    font-size: var(--fs-13);
    line-height: 1.85;
    letter-spacing: 0;
  }

  /* イラストはリストの下に回り込ませる */
  .result__illust {
    position: static;
    display: block;
    width: min(320px, 76%);
    margin: 4px auto 0;
  }

  .result__list { border-bottom: none; }

  .result__link {
    gap: 14px;
    padding: 18px 0;
  }

  .result__date { font-size: var(--fs-12); }

  .result__title {
    margin-top: 6px;
    font-size: var(--fs-15);
  }

  .result__arrow {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .result__arrow svg { width: 12px; }
}

@media screen and (max-width: 599px) {
  .result {
    --res: calc(100vw - 32px);
    padding: 12px 0 40px;
  }

  .result__panel { padding: 32px 18px 0; }

  .result__heading { font-size: clamp(30px, 9vw, 36px); }

  .result__illust { width: 80%; }
}

/* =========================================================
   Instagram
   （デザイン：1440px アートボード／コンテンツ幅 1200px）
   ========================================================= */
.instagram {
  --ig: min(1200px, calc(100vw - 80px));
  padding: 15px 0 calc(var(--ig) * 81 / 1200);
  background: var(--color-white);
}

.instagram__inner {
  width: var(--ig);
  margin: 0 auto;
}

.instagram__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--ig) * 6 / 1200);
  font-size: calc(var(--ig) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
}

.instagram__marker {
  width: calc(var(--ig) * 10 / 1200);
  height: calc(var(--ig) * 10 / 1200);
  background: var(--color-orange);
}

.instagram__head {
  display: flex;
  align-items: baseline;
  gap: calc(var(--ig) * 15 / 1200);
  margin-top: calc(var(--ig) * 14 / 1200);
}

.instagram__title {
  margin: 0;
  font-family: var(--font-en);
  font-size: calc(var(--ig) * 60 / 1200);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.instagram__handle {
  font-family: var(--font-en);
  font-size: calc(var(--ig) * 18 / 1200);
  font-weight: 500;
  line-height: 1;
}

.instagram__follow {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--ig) * 42 / 1200);
  margin-left: calc(var(--ig) * 5 / 1200);
  padding: 0 calc(var(--ig) * 18 / 1200);
  border: 1px solid #dddddd;
  border-radius: calc(var(--ig) * 8 / 1200);
  background: var(--color-white);
  font-size: calc(var(--ig) * 14 / 1200);
  font-weight: 700;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease;
}

.instagram__follow:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.instagram__feed {
  margin-top: calc(var(--ig) * 31 / 1200);
}

.instagram__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(var(--ig) * 10 / 1200);
  margin-top: calc(var(--ig) * 31 / 1200);
}

.instagram__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #d9d9d9;
  transition: opacity .2s ease;
}

.instagram__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram__thumb:hover { opacity: .8; }

.instagram__item--mobile-only { display: none; }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  --ft: min(1400px, calc(100vw - 40px));
  background: var(--color-white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--ft);
  min-height: calc(var(--ft) * 100 / 1400);
  margin: 0 auto;
  padding: calc(var(--ft) * 20 / 1400) calc(var(--ft) * 54 / 1400);
  background: #3e3a39;
  border-radius: calc(var(--ft) * 30 / 1400) calc(var(--ft) * 30 / 1400) 0 0;
}

.footer__copy {
  color: #969291;
  font-size: calc(var(--ft) * 13 / 1400);
  font-weight: 500;
  line-height: 1.6;
}

.footer__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--ft) * 42 / 1400);
  padding: 0 calc(var(--ft) * 18 / 1400);
  border-radius: calc(var(--ft) * 8 / 1400);
  background: var(--color-white);
  color: var(--color-ink);
  font-size: calc(var(--ft) * 14 / 1400);
  font-weight: 500;
  line-height: 1;
  transition: color .2s ease;
}

.footer__link:hover { color: var(--color-orange); }

.mobile-footer-nav { display: none; }

/* --- レスポンシブ --- */
@media screen and (max-width: 1023px) {
  .instagram {
    --ig: min(680px, calc(100vw - 40px));
    padding: 8px 0 48px;
  }

  .instagram__eyebrow { font-size: var(--fs-13); }
  .instagram__marker { width: 9px; height: 9px; }

  .instagram__head {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .instagram__title { font-size: clamp(36px, 8vw, 52px); }

  .instagram__handle { font-size: clamp(13px, 3vw, 16px); }

  .instagram__follow {
    height: 36px;
    margin-left: 0;
    padding: 0 14px;
    border-radius: 6px;
    font-size: var(--fs-13);
  }

  .instagram__feed { margin-top: 22px; }

  .instagram__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .footer {
    --ft: calc(100vw - 32px);
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 28px 20px;
    border-radius: 20px 20px 0 0;
  }

  .footer__copy { font-size: var(--fs-12); }

  .footer__link {
    height: 38px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: var(--fs-13);
  }
}

@media screen and (max-width: 680px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-footer-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #f0c7b0;
    background: linear-gradient(180deg, rgba(255, 248, 243, .98), rgba(255, 238, 228, .98));
    box-shadow: 0 -8px 24px rgba(184, 72, 14, .14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility .35s ease;
  }

  .mobile-footer-nav--reveal:not(.is-visible) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }

  .mobile-footer-nav--reveal.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  body.is-menu-open .mobile-footer-nav { display: none; }

  .mobile-footer-nav__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .mobile-footer-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 64px;
    padding: 6px 2px 5px;
    color: #5d5954;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-footer-nav__link + .mobile-footer-nav__link::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 1px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(157, 111, 86, .28) 0 2px,
      transparent 2px 6px
    );
    content: "";
    pointer-events: none;
  }

  .mobile-footer-nav__link.is-current,
  .mobile-footer-nav__link:focus-visible {
    margin: 5px 3px;
    min-height: 54px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .82);
    color: var(--color-orange);
    box-shadow: 0 3px 10px rgba(184, 72, 14, .1);
  }

  .mobile-footer-nav__link.is-current::before,
  .mobile-footer-nav__link:focus-visible::before {
    top: 7px;
    bottom: 7px;
    left: -3px;
  }

  .mobile-footer-nav__icon {
    width: 23px;
    height: 23px;
    color: var(--color-orange);
  }

}

@media screen and (max-width: 599px) {

  .instagram {
    --ig: calc(100vw - 32px);
    padding: 4px 0 36px;
  }

  .instagram__list { gap: 6px; }
  .instagram__item--mobile-only { display: block; }

  .instagram__feed #sb_instagram .sbi_item {
    padding: 3px !important;
  }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.js .reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1),
    transform .85s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.js .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-footer-nav { transition: none; }
}

/* =========================================================
   Global navigation dropdown / mobile menu
   ========================================================= */
.gnav__item--dropdown { position: relative; }

.gnav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 20;
  width: max-content;
  min-width: 220px;
  padding: 10px;
  border: 1px solid #e8e2da;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 18px 42px rgba(32, 27, 22, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.gnav__dropdown::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
  content: "";
}

.gnav__item--dropdown:hover .gnav__dropdown,
.gnav__item--dropdown:focus-within .gnav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gnav__dropdown-link {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  transition: color .2s ease, background-color .2s ease;
}

.gnav__dropdown-link:hover,
.gnav__dropdown-link:focus-visible,
.gnav__dropdown-link[aria-current="page"] {
  background: #fff1e9;
  color: var(--color-orange);
}

.gnav__dropdown-top { display: none; }

.header__menu-toggle { display: none; }

@media screen and (max-width: 1023px) {
  html.is-menu-open,
  body.is-menu-open {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.is-menu-open .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .header__menu-toggle {
    order: 4;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: #f5f2ee;
    color: var(--color-ink);
    cursor: pointer;
  }

  .header__menu-toggle > span:not(.u-visually-hidden) {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .header__menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .header__menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(255,255,255,.98);
  }

  .gnav.is-open { display: block; }

  .gnav__list {
    display: block;
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 50px;
  }

  .gnav__item { border-bottom: 1px solid #ebe6df; }

  .gnav__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 17px 4px;
    font-size: 15px;
  }

  .gnav__dropdown {
    position: static;
    left: auto;
    display: none;
    width: auto;
    min-width: 0;
    padding: 0 0 14px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnav__item--dropdown.is-submenu-open > .gnav__dropdown { display: block; }

  .gnav__item--dropdown:hover > .gnav__dropdown,
  .gnav__item--dropdown:focus-within > .gnav__dropdown {
    transform: none;
  }

  .gnav__item--dropdown.is-submenu-open > .gnav__link--has-child::after {
    background-size: 11px 2.2px, 0 0;
  }

  .gnav__dropdown::before { display: none; }
  .gnav__dropdown-link { padding: 9px 12px; color: #595651; font-size: 13px; }

  .gnav__dropdown-top {
    display: block;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ded9d1;
  }

  .gnav__dropdown-link--parent {
    color: var(--color-orange);
    font-weight: 700;
  }

  .breadcrumb { width: calc(100% - 40px); }
}

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

@media screen and (max-width: 599px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .header__inner { height: 60px; }

  .header__menu-toggle {
    width: 40px;
    height: 40px;
    transform: translateY(-1px);
  }

  .gnav { top: 60px; }

  .page-submenu {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 9;
    display: block;
    width: 100%;
    margin: 6px 0 0;
    padding: 8px 20px;
    background: rgba(255, 255, 255, .98);
  }

  .page-submenu__control {
    position: relative;
    display: block;
  }

  .page-submenu__control::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
  }

  .page-submenu__select {
    width: 100%;
    height: 48px;
    padding: 0 46px 0 16px;
    border: 1px solid #ded9d1;
    border-radius: 8px;
    appearance: none;
    background: var(--color-white);
    color: var(--color-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
  }

  .entrance__title,
  .study-news__title,
  .newsyt__title,
  .result__heading,
  .instagram__title {
    font-size: 27px;
  }
}
