@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Konkhmer+Sleokchher&display=swap");

:root {
  --red: #cb0715;
  --blue: #0071bc;
  --black: #222;
  --gray: #555;
  --light-red: #fff8f8;
  --light-blue: #f4fbff;
  --white: #fff;
  --font-ja: "Kosugi Maru", sans-serif;
  --font-en: "Konkhmer Sleokchher", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  color: var(--black);
  background: var(--white);
  font-feature-settings: "palt";
}

body.is-lock {
  overflow: hidden;
}

.page--sotsugyousei {
  --theme-color: #cb0715;
  --theme-light: #fffcfc;
}

.page--zaigakusei {
  --theme-color: #0067c8;
  --theme-light: #f4fbff;
}

.site-wrap {
  max-width: 1440px;
  margin: 0 auto;
  overflow: visible;
}

/* header */
.header {
  padding-top: 42px;
}

.header__inner {
  width: calc(100% - 100px);
  max-width: 1340px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  width: 400px;
  height: 50px;
  object-fit: contain;
}

.header__nav {
  width: 1000px;
  height: 68px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.header__nav a {
  color: #111;
}

.header__nav a:not(:last-child)::after {
  content: "|";
  color: #111;
  margin-left: 16px;
}

.header__nav a[href*="case"],
.header__nav .is-current {
  color: var(--theme-color);
}

.header__nav .is-current-blue {
  color: var(--blue);
}

.header__nav .is-current-red {
  color: var(--red);
}

/* lower hero */
.lower-hero {
  padding-top: 88px;
  padding-bottom: 10px;
}

.lower-hero__inner {
  width: min(1205px, calc(100% - 100px));
  margin: 0 auto;
  text-align: center;
}

.lower-hero__title {
  width: 813px;
  margin: 0 auto 28px;
}

.lower-hero__label {
  margin-bottom: 48px;
  color: var(--theme-color);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.28em;
}

.lower-hero__cards {
  width: min(1205px, calc(100% - 100px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.lower-hero__title,
.lower-hero__label,
.lower-hero__cards {
  position: relative;
  z-index: 2;
}

.case-link {
  display: block;
  width: 359px;
}

.case-link__inner {
  width: 359px;
  min-height: 600px;
  padding: 32px 17px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.case-link__inner:hover {
  transform: translateY(-4px);
}

.case-link__title {
  width: auto;
  height: auto;
  margin: 0 auto 8px;
  color: var(--theme-color);
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.11em;
}

.case-link__badge {
  width: 290px;
  height: 51px;
  margin: 0 auto 24px;
  padding: 0;
  border-radius: 999px;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.case-link__text {
  width: 300px;
  min-height: 58px;
  margin: 0 auto 20px;
  color: var(--theme-color);
  font-size: 18px;
  line-height: 1.44;
  letter-spacing: 0.03em;
  text-align: center;
}

.case-link__photo {
  width: 323px;
  height: 214px;
  margin: 0 auto 18px;
  border-radius: 10px;
  object-fit: cover;
}

.case-link__profile {
  width: 323px;
  min-height: 64px;
  margin: 0 auto;
  color: var(--theme-color);
  font-size: 18px;
  line-height: 1.62;
  letter-spacing: 0.11em;
  text-align: center;
}

.case-link__arrow {
  width: 35px;
  height: 35px;
  margin: 10px auto 0;
}

/* 在学生編：上部CASEカード */
.page--zaigakusei .case-link__inner {
  min-height: 470px;
  padding: 38px 34px 20px;
}

.page--zaigakusei .case-link__text {
  margin-bottom: 40px;
}

.page--zaigakusei .case-link__photo {
  margin-bottom: 10px;
}

.page--zaigakusei .case-link__profile {
  min-height: auto;
  margin-bottom: 20px;
  font-size: 18px;
}

/* case section */
.case-area {
  margin: 150px 0 150px;
  padding: 40px 0 150px;
  background: var(--theme-light);
}

.case-section {
  margin-bottom: 120px;
}

.case-section:last-child {
  margin-bottom: 0;
}

.case-section__inner {
  width: min(1206px, calc(100% - 100px));
  margin: 0 auto;
  position: relative;
}

.case-heading {
  display: grid;
  grid-template-columns: 581px 596px;
  grid-template-rows: auto auto;
  column-gap: 29px;
  align-items: start;
  margin-bottom: 46px;
}

.case-heading__num {
  width: 355px;
  height: auto;
  margin-bottom: 10px;
}

.case-heading__title {
  width: 581px;
  margin-bottom: 32px;
  color: var(--theme-color);
  font-size: 41px;
  line-height: 1.59;
  letter-spacing: 0.16em;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

.case-heading__text {
  grid-column: 1;
  grid-row: 1;
}

.case-heading__profile {
  width: 580px;
  color: var(--theme-color);
  font-size: 34px;
  line-height: 1.62;
  letter-spacing: 0.05em;
  grid-column: 1;
  grid-row: 3;
  margin-top: 0;
}

.profile-small {
  font-size: 28px;
}

.case-heading__visual {
  position: relative;
  width: 596px;
  margin-top: 43px;
  grid-column: 2;
  grid-row: 1 / span 3;
}

.case-heading__visual img {
  display: block;
  width: 596px;
  height: 397px;
  border: 8px solid #fff;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.08);
}

.case-heading__badge {
  position: absolute;
  left: -69px;
  top: -40px;
  z-index: 2;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-align: center;
}

/* article */
.case-article {
  border-top: 2px solid var(--theme-color);
  padding-top: 48px;
}

.case-article__block {
  margin-bottom: 34px;
}

.case-article__block h3 {
  margin-bottom: 16px;
  color: var(--theme-color);
  font-size: 29px;
  line-height: 2.41;
  letter-spacing: 0.08em;
}

.case-article__block p {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-align: justify;
}

.case-article__block--image {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  align-items: start;
}

.case-article__block--image > div {
  display: block;
}

.case-article__block--image figure {
  grid-column: 2;
  grid-row: 1;
  margin: 80px 0 0;
}

.case-article__block--image p {
  grid-column: 1;
}

.case-article__block--image figure img {
  width: 100%;
  border-radius: 6px;
}

/* learning */
.learning-box {
  margin-top: 58px;
  text-align: center;
}

.learning-box__label {
  width: 350px;
  margin: 0 auto 22px;
}

.learning-box__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learning-card {
  min-height: 200px;
  border: 1.7px solid var(--theme-color);
  border-radius: 10px;
  background: var(--white);
  color: var(--theme-color);
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s ease;
}

.learning-card:hover {
  transform: translateY(-3px);
  box-shadow: 3px 5px 10px rgba(105, 76, 78, 0.25);
}

.learning-card__num {
  font-family: "Konkhmer Sleokchher", sans-serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.learning-card__title {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.learning-card__click {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* growth */

/* 在学生編：グラレコ */
.growth-article {
  position: relative;
  z-index: 2;
  border-top: none;
  padding-top: 0;
}

.growth-article__image {
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}

.growth-article__image img {
  display: block;
  width: 100%;
  height: auto;
}

.grarec-zoom {
  display: none;
}

/* グラレコ拡大モーダル：PC/SP共通 */
.grarec-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.grarec-modal.is-open {
  display: block;
}

.grarec-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.grarec-modal__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 80px));
  max-height: 92vh;
  margin: 4vh auto 0;
  overflow: auto;
  background: transparent;
}

.grarec-modal__close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 2;
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
}

.grarec-modal__image {
  display: block;
  width: 100%;
  height: auto;
}

/* 成長POINT */
.growth-box {
  margin-top: 58px;
  text-align: center;
}

.growth-box__label {
  width: 350px;
  margin: 0 auto 22px;
}

.growth-box__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.growth-card {
  min-height: 200px;
  border: 1.7px solid var(--theme-color);
  border-radius: 10px;
  background: var(--white);
  color: var(--theme-color);
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 20px 20px 18px;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.growth-card:hover {
  transform: translateY(-3px);
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.25);
}

.growth-card__num {
  margin: 0;
  font-family: var(--font-en);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.growth-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.growth-card__click {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* CTA */
.cta {
  margin-top: 0;
  margin-bottom: 42px;
}

.cta__inner {
  width: min(1248px, calc(100% - 100px));
  margin: 0 auto;
}

.cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 25px;
  border: 1.6px solid var(--red);
  border-radius: 12px;
  color: var(--red);
  font-size: 30px;
  letter-spacing: 0.08em;
  box-shadow: 2px 3px 4px rgba(105, 76, 78, 0.18);
}

/* 最後のCTAだけ余白なし */
.cta__button:last-child {
  margin-bottom: 0;
}

.cta__button img {
  margin-right: 44px;
}

/* 右側の ＞ */
.cta__button::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-top: 4px solid var(--red);
  border-right: 4px solid var(--red);
  transform: translateY(-50%) rotate(45deg);
}

/* 帽子アイコン */
.cta__button:first-child img {
  width: 80px;
}

/* 資料アイコン */
.cta__button:nth-child(2) img {
  width: 42px;
}

/* SNS */
.sns {
  margin-top: 0;
  text-align: center;
}

.sns__heading {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
  font-size: 30px;
  font-weight: 590;
  line-height: 1.6;
  letter-spacing: 0.11em;
}

.sns__heading::before,
.sns__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 39px;
  height: 48px;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

.sns__heading::before {
  left: -58px;
  background-image: url("../images/common/speech-bubble-left.webp");
}

.sns__heading::after {
  right: -58px;
  background-image: url("../images/common/speech-bubble-right.webp");
}

.sns__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
}

.sns__list li:not(:last-child) {
  position: relative;
}

.sns__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 2px;
  height: 48px;
  background: #ccc;
  transform: translateY(-50%);
}

.sns__list img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* footer */
.footer {
  position: relative;
  margin-top: 40px;
  padding: 30px 0 28px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
  width: 2900px;
  height: 290px;
  background: var(--red);
  border-radius: 50%;
}

.footer p {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.modal__inner {
  position: relative;
  width: 750px;
  max-height: 98vh;
  margin: 5vh auto 0;
  padding: 0;
  overflow-y: auto;
  background: #fff;
  border-radius: 4px;
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 42px;
  height: 42px;
  color: var(--theme-color);
  font-size: 34px;
  line-height: 1;
}

.modal__content {
  padding: 0;
}

/* learning modal */

.modal-learning {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 24px;
  padding: 40px 0;
}

.modal-learning-card {
  width: 100%;
  min-height: 640px;
  padding: 56px 60px 40px;
  background: #fff;
  border-radius: 8px;
}

.modal-learning-card__label {
  width: 250px;
  margin-bottom: 18px;
}

.modal-learning-card__title {
  display: flex;
  align-items: baseline;
  margin-bottom: 88px;
  color: var(--theme-color);
  line-height: 1.1;
  letter-spacing: 0.11em;
}

.modal-learning-card__num {
  margin-right: 14px;
  font-family: var(--font-en);
  font-size: 60px;
  line-height: 1;
}

.modal-learning-card__text-title {
  font-family: var(--font-ja);
  font-size: 42.5px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.modal-learning-card__text {
  width: 100%;
  margin-bottom: 110px;
  font-size: 20px;
  line-height: 1.82;
  letter-spacing: 0.05em;
}

.modal-learning-card__point {
  display: grid;
  grid-template-columns: 230px 1fr;
  width: 100%;
  height: 78px;
  border: 1.5px solid var(--theme-color);
  border-radius: 6px;
  color: var(--theme-color);
  background: rgba(203, 7, 21, 0.03);
}

.modal-learning-card__point-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  font-size: 16px;
}

.modal-learning-card__point-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: var(--theme-color);
}

.modal-learning-card__point-label img {
  width: 52px;
}

.modal-learning-card__point-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.modal-learning__point-label img {
  width: 34px;
}

/* 在学生編：成長POINTモーダル */
.page--zaigakusei .modal__inner {
  width: 880px;
  max-height: 96vh;
  margin: 2vh auto 0;
  background: #fff;
}

.page--zaigakusei .modal__content {
  padding: 0;
}

.modal-learning-card--growth {
  min-height: auto;
  padding: 42px 64px 72px;
}

.modal-learning-card--growth .modal-learning-card__label {
  width: 300px;
  margin-bottom: 52px;
}

.modal-learning-card--growth .modal-learning-card__title {
  margin-bottom: 120px;
}

.modal-learning-card--growth .modal-learning-card__num {
  font-size: 72px;
}

.modal-learning-card--growth .modal-learning-card__text-title {
  font-size: 50px;
  letter-spacing: 0.06em;
}

.modal-learning-card__image {
  margin: 0 auto 70px;
  text-align: center;
}

.modal-learning-card__image img {
  width: 100%;
  max-width: 760px;
  height: auto;
}

.modal-learning-card--growth .modal-learning-card__text {
  margin-bottom: 70px;
  font-size: 25px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.modal-learning-card--growth .modal-learning-card__point {
  height: 88px;
  grid-template-columns: 260px 1fr;
}

.modal-learning-card--growth .modal-learning-card__point-label {
  font-size: 20px;
}

.modal-learning-card--growth .modal-learning-card__point-label img {
  width: 60px;
}

.modal-learning-card--growth .modal-learning-card__point-text {
  font-size: 34px;
}

/* 在学生編：モーダル下部ポイント */
.page--zaigakusei .modal-learning-card__point {
  background: var(--light-blue);
}

/* 在学生編：成長POINTモーダル PC版を約80％に縮小 */
@media (min-width: 768px) {
  .page--zaigakusei .modal__inner {
    width: 704px; /* 元の880px × 0.8 */
    max-height: 96vh;
  }

  .page--zaigakusei .modal__close {
    top: 19px;
    right: 22px;
    width: 34px;
    height: 34px;
    font-size: 27px;
  }

  .page--zaigakusei .modal-learning-card--growth {
    padding: 34px 51px 58px;
  }

  .page--zaigakusei .modal-learning-card--growth .modal-learning-card__label {
    width: 240px;
    margin-bottom: 42px;
  }

  .page--zaigakusei .modal-learning-card--growth .modal-learning-card__title {
    margin-bottom: 70px;
  }

  .page--zaigakusei .modal-learning-card--growth .modal-learning-card__num {
    font-size: 58px;
  }

  .page--zaigakusei
    .modal-learning-card--growth
    .modal-learning-card__text-title {
    font-size: 40px;
  }

  .page--zaigakusei .modal-learning-card__image {
    margin-bottom: 45px;
  }

  .page--zaigakusei .modal-learning-card__image img {
    max-width: 608px;
  }

  .page--zaigakusei .modal-learning-card--growth .modal-learning-card__text {
    margin-bottom: 45px;
    font-size: 20px;
    line-height: 1.8;
  }

  .page--zaigakusei .modal-learning-card--growth .modal-learning-card__point {
    height: 70px;
    grid-template-columns: 208px 1fr;
  }

  .page--zaigakusei
    .modal-learning-card--growth
    .modal-learning-card__point-label {
    font-size: 16px;
  }

  .page--zaigakusei
    .modal-learning-card--growth
    .modal-learning-card__point-label
    img {
    width: 48px;
  }

  .page--zaigakusei
    .modal-learning-card--growth
    .modal-learning-card__point-text {
    font-size: 27px;
  }
}

/* =========================
  decoration
========================= */

.lower-hero__inner,
.case-section__inner {
  position: relative;
  z-index: 0;
}

.deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.case-heading,
.case-article,
.learning-box {
  position: relative;
  z-index: 2;
}

/* hero deco */

.hero-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-deco--dot-blue {
  left: -270px;
  width: 250px;
}

.hero-deco--dot-red01 {
  top: 200px;
  right: -160px;
  width: 120px;
}

.hero-deco--dot-red02 {
  top: 510px;
  left: -90px;
  width: 90px;
}

.hero-deco--dot-red03 {
  top: -80px;
  right: -20px;
  width: 150px;
}

.hero-deco--dot-yellow {
  top: 680px;
  right: -120px;
  width: 220px;
  z-index: 0;
}

.hero-deco--syringe {
  width: 90px;
}

.hero-deco--pill {
  top: -30px;
  right: 50px;
  width: 85px;
}

.hero-deco--capsule {
  top: 130px;
  right: 50px;
  width: 75px;
}

.hero-deco--mouse {
  top: 170px;
  width: 65px;
}

/* 在学生編 Hero：卒業生編と同じ装飾4つ追加 */
.page--zaigakusei .hero-deco--syringe {
  top: 1px;
  left: 50px;
  width: 75px;
}

.page--zaigakusei .hero-deco--pill {
  top: -26px;
  right: 87px;
  width: 72px;
}

.page--zaigakusei .hero-deco--capsule {
  top: 130px;
  right: 90px;
  width: 58px;
}

.page--zaigakusei .hero-deco--mouse {
  top: 145px;
  left: 74px;
  width: 53px;
}

/* 卒業生編 CASE01 */
.page--sotsugyousei .case01 .case-deco--01 {
  top: 150px;
  left: 500px;
  width: 100px;
}

.page--sotsugyousei .case01 .case-deco--02 {
  right: -250px;
  width: 300px;
  opacity: 0.45;
}

/* 卒業生編 CASE02 */
.page--sotsugyousei .case02 .case-deco--01 {
  top: 130px;
  left: 460px;
  width: 110px;
}

.page--sotsugyousei .case02 .case-deco--02 {
  top: 320px;
  right: -200px;
  width: 330px;
}

.page--sotsugyousei .case02 .case-deco--03 {
  top: 70px;
  left: -170px;
  width: 200px;
  opacity: 0.75;
}

/* 卒業生編 CASE03 */
.page--sotsugyousei .case03 .case-deco--01 {
  top: 200px;
  left: 520px;
  width: 78px;
}

.page--sotsugyousei .case03 .case-deco--02 {
  top: 400px;
  right: -195px;
  width: 235px;
  opacity: 0.55;
}

.page--sotsugyousei .case03 .case-deco--03 {
  top: 100px;
  left: -270px;
  width: 300px;
  opacity: 0.55;
}

/* ==========================
   在学生編 Hero
========================== */

.page--zaigakusei .hero-deco--dot-blue {
  top: -40px;
  left: -180px;
  width: 180px;
}

.page--zaigakusei .hero-deco--dot-blue-left {
  display: none;
}

.page--zaigakusei .hero-deco--dot-red01 {
  top: -10px;
  right: -180px;
  width: 130px;
}

.page--zaigakusei .hero-deco--dot-red02 {
  top: 470px;
  left: -9px;
  width: 90px;
}

.page--zaigakusei .hero-deco--dot-yellow {
  top: 197px;
  right: -1px;
  width: 110px;
}

/* 在学生編 CASE01 */
.page--zaigakusei .case01 .case-deco--01 {
  top: 45px;
  left: 400px;
  width: 90px;
}

.page--zaigakusei .case01 .case-deco--02 {
  top: -20px;
  left: -90px;
  width: 70px;
  z-index: 1;
}

.page--zaigakusei .case01 .case-deco--03 {
  top: 30px;
  left: 430px;
  width: 80px;
  opacity: 0.55;
}

.page--zaigakusei .case01 .case-deco--04 {
  top: 250px;
  right: -75px;
  width: 280px;
  opacity: 0.55;
}

.page--zaigakusei .case01 .case-deco--05 {
  top: -80px;
  left: -195px;
  width: 230px;
  opacity: 0.9;
  z-index: 0;
}

.page--zaigakusei .case01 .case-deco--06 {
  top: 1150px;
  right: -140px;
  width: 200px;
  opacity: 0.85;
}

.page--zaigakusei .case01 .case-deco--07 {
  top: 350px;
  right: -65px;
  width: 60px;
}

/* 在学生編 CASE02 */
.page--zaigakusei .case02 .case-deco--01 {
  top: 120px;
  left: -90px;
  width: 78px;
}

.page--zaigakusei .case02 .case-deco--02 {
  left: 410px;
  width: 60px;
}

.page--zaigakusei .case02 .case-deco--03 {
  bottom: 350px;
  right: -70px;
  width: 90px;
  z-index: 3;
}

.page--zaigakusei .case02 .case-deco--04 {
  top: 250px;
  right: -70px;
  width: 300px;
  opacity: 0.45;
}

.page--zaigakusei .case02 .case-deco--05 {
  top: 600px;
  left: -150px;
  width: 210px;
  opacity: 0.45;
}

.page--zaigakusei .case02 .case-deco--06 {
  top: 1050px;
  right: -120px;
  width: 200px;
  opacity: 0.85;
}

.page--zaigakusei .case02 .case-deco--07 {
  top: 350px;
  right: -60px;
  width: 54px;
}

/* 在学生編 CASE03 */
.page--zaigakusei .case03 .case-deco--01 {
  top: 245px;
  left: -110px;
  width: 90px;
}

.page--zaigakusei .case03 .case-deco--02 {
  top: 32px;
  left: 420px;
  width: 60px;
}

.page--zaigakusei .case03 .case-deco--03 {
  top: 930px;
  left: -95px;
  width: 140px;
  opacity: 0.75;
}

.page--zaigakusei .case03 .case-deco--04 {
  top: 1050px;
  right: -140px;
  width: 190px;
  opacity: 0.75;
}

.page--zaigakusei .case03 .case-deco--05 {
  top: -120px;
  left: -150px;
  width: 210px;
  opacity: 0.45;
}

.page--zaigakusei .case03 .case-deco--06 {
  top: 250px;
  right: -100px;
  width: 300px;
  opacity: 0.45;
}

.page--zaigakusei .case03 .case-deco--07 {
  top: 400px;
  right: -60px;
  width: 52px;
}

/* =========================
  TOP page PC
========================= */

.page--top {
  --theme-color: var(--red);
  --theme-light: #fff;
}

.page--top .top-hero {
  margin-top: 95px;
  overflow: visible;
}

.page--top .top-hero__inner {
  position: relative;
  width: 1600px;
  max-width: none;
  height: 1046px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.page--top .top-hero__bg {
  display: block;
  width: 1440px;
}

.page--top .top-hero__bg img {
  display: block;
  width: 1600px;
  max-width: none;
  height: auto;
}

.page--top .top-hero__catch {
  position: absolute;
  left: 50%;
  top: 114px;
  z-index: 2;
  width: 584px;
  transform: translateX(-50%);
}

.page--top .top-hero__lead {
  position: absolute;
  left: 50%;
  top: 640px;
  bottom: auto;
  z-index: 3;
  width: 495px;
  transform: translateX(-50%);
}

/* TOP banners */
.top-links {
  margin-bottom: 80px;
}

.top-links__inner {
  width: min(1135px, calc(100% - 100px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 38px;
}

.top-link {
  display: block;
  width: 548px;
  transition: transform 0.2s ease;
}

.top-link:hover {
  transform: translateY(-4px);
}

.top-link img {
  display: block;
  width: 100%;
  height: auto;
}

.header__menu {
  display: none;
}

/* =========================
   SP
========================= */

@media (max-width: 767px) {
  .site-wrap {
    position: relative;
    overflow-x: clip;
  }

  /* TOPだけSPでも通常ナビ */
  .page--top .header__menu {
    display: none;
  }

  .page--top .header__nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .page--top .header__nav a {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .page--top .header__nav a:not(:last-child)::after {
    display: inline;
    content: "|";
    margin-left: 8px;
    color: #111;
  }

  .page--top .header__logo img {
    width: 120px;
  }

  .page--top .header__inner {
    align-items: center;
  }

  /* TOP SP */
  .page--top .top-hero {
    margin-top: 72px;
    overflow: hidden;
  }

  .page--top .top-hero__inner {
    position: relative;
    width: 100%;
    height: 540px;
    left: auto;
    transform: none;
  }

  .page--top .top-hero__bg {
    display: block;
    width: 100%;
  }

  .page--top .top-hero__bg img {
    display: block;
    width: 760px;
    max-width: none;
    height: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .page--top .top-hero__catch {
    position: absolute;
    left: 50%;
    top: 55px;
    width: 348px;
    max-width: none;
    transform: translateX(-50%);
  }

  .page--top .top-hero__lead {
    position: absolute;
    left: 50%;
    top: 330px;
    bottom: auto;
    width: 330px;
    max-width: none;
    transform: translateX(-50%);
  }

  .page--top .top-links {
    margin-top: 0;
    margin-bottom: 48px;
  }

  .page--top .top-links__inner {
    width: calc(100% - 56px);
    flex-direction: column;
    gap: 48px;
  }

  .page--top .top-link {
    width: 100%;
  }

  .page--top .top-link img {
    display: block;
    width: 100%;
    height: auto;
  }

  .header__menu {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff2f2;
    cursor: pointer;
  }

  .header__menu span {
    width: 26px;
    height: 2px;
    margin: 0 auto;

    background: var(--red);
    border-radius: 999px;
    transition: 0.3s;
  }

  /* ×に変形 */

  .header__menu.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .header__menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__menu.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* SPナビ */

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 72%;
    max-width: 300px;
    height: 100vh;
    padding: 90px 30px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    font-size: 18px;
    transform: translateX(100%);
    transition: 0.35s;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 20px;
  }

  .header__nav a::after {
    display: none;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
  }

  .menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header {
    padding-top: 30px;
  }

  .header__inner {
    width: calc(100% - 28px);
  }

  .header__logo img {
    width: 137px;
    height: auto;
  }

  .cta__inner {
    width: calc(100% - 56px);
  }

  .cta__button {
    justify-content: flex-start;
    padding: 0 38px 0 24px;
    height: 48px;
    margin-bottom: 16px;
    font-size: 16px;
    border-radius: 5px;
  }

  .cta__button:first-child img {
    width: 27px;
  }

  .cta__button:nth-child(2) img {
    width: 18px;
  }

  .cta__button:nth-child(2) {
    padding-left: 80px;
  }

  .cta__button img {
    margin-right: 14px;
  }

  .cta__button span {
    font-size: 15px;
    margin-right: auto;
  }

  .cta__button::after {
    right: 17px;
    width: 10px;
    height: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .sns__heading {
    width: 220px;
    font-size: 20px;
    line-height: 1.3;
  }

  .sns__list {
    gap: 18px;
  }

  .sns__list img {
    width: 50px;
    height: 37px;
  }

  .sns__heading::before {
    left: -44px;
  }

  .sns__heading::after {
    right: -44px;
  }

  .sns__list li:not(:last-child)::after {
    right: -10px;
    height: 24px;
    width: 1px;
  }

  .footer {
    padding: 20px 0 18px;
  }

  .footer::before {
    width: 760px;
    height: 88px;
    top: 0;
  }

  .footer p {
    font-size: 15px;
  }

  /* =========================
  在学生編 SP
========================= */

  .page--zaigakusei .lower-hero {
    padding-top: 38px;
    padding-bottom: 0;
  }

  .page--zaigakusei .lower-hero__inner {
    width: calc(100% - 28px);
  }

  .page--zaigakusei .lower-hero__title {
    width: 100%;
    margin: 0 auto 18px;
  }

  .page--zaigakusei .lower-hero__title picture {
    display: block;
    width: 100%;
  }

  .page--zaigakusei .lower-hero__title img {
    margin: 0 auto;
    width: 293px;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .page--zaigakusei .lower-hero__label {
    margin-bottom: 22px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .page--zaigakusei .lower-hero__cards {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .page--zaigakusei .case-link,
  .page--zaigakusei .case-link__inner {
    width: 93%;
    margin: 0 auto;
  }

  .page--zaigakusei .case-link__inner {
    min-height: auto;
    padding: 24px 18px 10px;
    border-radius: 6px;
  }

  .page--zaigakusei .case-link__title {
    font-size: 38px;
    margin: 15px 0 8px;
    letter-spacing: 0.01em;
    font-weight: 400;
  }

  .page--zaigakusei .case-link__text {
    width: 100%;
    min-height: auto;
    margin-bottom: 33px;
    font-size: 15px;
    line-height: 1.5;
  }

  .page--zaigakusei .case-link__photo {
    width: 95%;
    height: auto;
    margin-bottom: 10px;
  }

  .page--zaigakusei .case-link__profile {
    width: 100%;
    margin-bottom: 14px;
    font-size: 16px;
  }

  .page--zaigakusei .case-link__arrow {
    width: 20px;
    height: 20px;
    margin: 0 auto 7px;
  }

  .page--zaigakusei .case-area {
    position: relative;
    overflow-x: clip;
  }

  .page--zaigakusei .case-area {
    margin: 48px 0 46px;
    padding: 0;
    background: #fff;
  }

  .page--zaigakusei .case-section {
    margin-bottom: 52px;
  }

  .page--zaigakusei .case-section__inner {
    width: calc(100% - 28px);
  }

  .page--zaigakusei .case-heading__text,
  .page--zaigakusei .case-heading__visual,
  .page--zaigakusei .case-heading__profile {
    grid-column: auto;
    grid-row: auto;
  }

  .page--zaigakusei .case-heading {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
  }

  .page--zaigakusei .case-heading__num {
    width: 52%;
    margin-bottom: 8px;
    padding-left: 10px;
    order: 1;
  }

  .page--zaigakusei .case-heading__title {
    width: 100%;
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.5;
    padding-left: 10px;
    letter-spacing: 0.12em;
    order: 2;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .page--zaigakusei .case-heading__profile {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.5;
    order: 4;
  }

  .page--zaigakusei .profile-small {
    font-size: 17px;
    padding-left: 20px;
  }

  .page--zaigakusei .case-heading__visual {
    width: 100%;
    margin-top: 0;
  }

  .page--zaigakusei .case-heading__visual img {
    width: 90%;
    margin: 0 auto;
    height: auto;
    border: 4px solid #fff;
    border-radius: 10px;
    order: 3;
  }

  .page--zaigakusei .growth-article__image img {
    width: 100%;
  }

  .growth-article__image {
    cursor: default;
  }

  .grarec-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 220px;
    height: 45px;
    margin: 5px auto 18px;
    border: none;
    border-radius: 8px;
    background: #55bfd4;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: 0.2s;
  }

  .grarec-zoom:hover {
    background: #46b1c8;
  }

  .grarec-zoom::after {
    content: "";
    width: 28px;
    height: 28px;
    background: url("../images/common/lens.png") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
  }

  .page--zaigakusei .growth-box {
    margin-top: 0;
  }

  .page--zaigakusei .growth-box__label {
    width: 150px;
    margin-bottom: 8px;
  }

  .page--zaigakusei .growth-box__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 8px;
    height: auto;
    width: 317px;
    margin: 0 auto;
  }

  .page--zaigakusei .growth-card:first-child {
    grid-column: 1 / -1;
    width: 48%;
    height: 90px;
    margin: 0 auto;
  }

  .page--zaigakusei .growth-card {
    height: 90px;
    min-height: 0;
    padding: 8px 6px 7px;
    box-sizing: border-box;

    display: grid;
    grid-template-rows: 24px 1fr 14px;
    align-items: center;
    justify-items: center;
    gap: 0;
  }

  .page--zaigakusei .growth-card__num {
    margin: 0;
    font-family: var(--font-en);
    font-weight: 400;
    font-size: 23px;
    line-height: 1;
  }

  .page--zaigakusei .growth-card__title {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .page--zaigakusei .growth-card__click {
    margin: 0;
    font-size: 11px;
    line-height: 1;
  }

  .grarec-modal__inner {
    width: calc(100% - 24px);
  }

  .grarec-modal__image {
    width: 760px;
    max-width: none;
  }

  /* =========================
   成長POINT モーダル（SP）
========================= */

  .page--zaigakusei .modal__inner {
    width: calc(100% - 24px);
    max-width: 375px;
    max-height: 92vh;
    margin: 4vh auto;
    padding: 0;
    overflow-y: auto;
    border-radius: 6px;
  }

  .page--zaigakusei .modal-learning-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 24px 18px 28px;
    box-sizing: border-box;
  }

  /* ---------- タイトル ---------- */

  .page--zaigakusei .modal-learning-card__label {
    width: 170px;
    margin: 0 165px 26px auto;
  }

  .page--zaigakusei .modal-learning-card__title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .page--zaigakusei .modal-learning-card__num {
    font-family: var(--font-en);
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 5px;
  }

  .page--zaigakusei .modal-learning-card__text-title {
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  /* ---------- イラスト ---------- */

  .page--zaigakusei .modal-learning-card__image {
    margin-bottom: 20px;
  }

  .page--zaigakusei .modal-learning-card__image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ---------- 本文 ---------- */

  .page--zaigakusei .modal-learning-card__text {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.03em;
  }

  /* ---------- POINT ---------- */

  .page--zaigakusei .modal-learning-card__point {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    min-height: 52px;
    height: 20px;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
  }

  .page--zaigakusei .modal-learning-card__point-label {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    white-space: nowrap;

    border-right: none;

    font-size: 12px;
    line-height: 1.3;
  }

  .page--zaigakusei .modal-learning-card__point-label::after {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;

    width: 1px;
    background: var(--theme-color);
  }

  .page--zaigakusei .modal-learning-card__point-label img {
    width: 24px;
    height: auto;
  }

  .page--zaigakusei .modal-learning-card__point-text {
    padding: 0 12px;
    font-size: 15px;
    line-height: 1.4;
  }

  /* ---------- 閉じる ---------- */

  .page--zaigakusei .modal__close {
    top: 12px;
    right: 12px;
    font-size: 28px;
  }

  /* ==========================
   在学生編 SP イラスト位置
========================== */

  /* Hero */
  .page--zaigakusei .hero-deco--dot-blue {
    top: -9px;
    left: -77px;
    width: 115px;
  }

  .page--zaigakusei .hero-deco--dot-blue-left {
    display: block;
    position: absolute;
    left: -70px;
    top: 229px;
    width: 172px;
    height: auto;
    z-index: 0;
  }

  .page--zaigakusei .hero-deco--dot-red01 {
    top: 54px;
    right: -61px;
    width: 96px;
  }

  .page--zaigakusei .hero-deco--dot-red02 {
    top: 1157px;
    left: -58px;
    width: 155px;
  }

  .page--zaigakusei .hero-deco--dot-yellow {
    top: 645px;
    right: -71px;
    width: 196px;
  }

  /* CASE01 */

  .page--zaigakusei .case01 .case-deco--01 {
    top: 34px;
    right: 74px;
    left: auto;
    width: 44px;
  }

  .page--zaigakusei .case01 .case-deco--02 {
    display: none;
  }

  .page--zaigakusei .case01 .case-deco--03 {
    top: 139px;
    right: -166px;
    left: auto;
    width: 265px;
  }

  .page--zaigakusei .case01 .case-deco--04 {
    display: block;
    top: 5px;
    right: 27px;
    width: 73px;
    height: auto;
    opacity: 0.9;
    z-index: 0;
  }

  .page--zaigakusei .case01 .case-deco--05 {
    display: block;
    top: 73px;
    left: -70px;
    width: 130px;
    opacity: 0.9;
    z-index: 0;
  }

  .page--zaigakusei .case01 .case-deco--06 {
    display: none;
  }

  .page--zaigakusei .case01 .case-deco--07 {
    top: 400px;
    right: 5px;
    width: 28px;
  }

  /* CASE02 */

  .page--zaigakusei .case02 .case-deco--01 {
    display: block;
    top: 70px;
    right: 26px;
    left: auto;
    width: 27px;
    z-index: 2;
  }

  .page--zaigakusei .case02 .case-deco--02 {
    top: 24px;
    right: 95px;
    left: auto;
    width: 24px;
  }

  .page--zaigakusei .case02 .case-deco--03 {
    display: none;
  }

  .page--zaigakusei .case02 .case-deco--04 {
    top: 210px;
    right: -12px;
    width: 140px;
  }

  .page--zaigakusei .case02 .case-deco--05 {
    display: none;
  }

  .page--zaigakusei .case02 .case-deco--06 {
    display: block;
    top: -20px;
    right: -4px;
    left: auto;
    width: 142px;
    opacity: 0.85;
    z-index: 0;
  }

  .page--zaigakusei .case02 .case-deco--07 {
    top: 400px;
    right: 1px;
    width: 34px;
  }

  /* CASE03 */

  .page--zaigakusei .case03 .case-deco--01 {
    top: 36px;
    right: 86px;
    left: auto;
    width: 28px;
  }

  .page--zaigakusei .case03 .case-deco--02 {
    display: block;
    top: 108px;
    right: 8px;
    left: auto;
    width: 22px;
    height: auto;
    z-index: 2;
  }

  .page--zaigakusei .case03 .case-deco--03 {
    display: block;
    top: -6px;
    right: -6px;
    left: auto;
    width: 124px;
    height: auto;
    opacity: 0.9;
    z-index: 0;
  }

  .page--zaigakusei .case03 .case-deco--04 {
    display: none;
  }

  .page--zaigakusei .case03 .case-deco--05 {
    display: block;
    top: 134px;
    left: -69px;
    width: 112px;
    height: auto;
    opacity: 0.9;
    z-index: 0;
  }

  .page--zaigakusei .case03 .case-deco--06 {
    top: 250px;
    right: -39px;
    width: 120px;
  }

  .page--zaigakusei .case03 .case-deco--07 {
    top: 400px;
    right: 2px;
    width: 30px;
  }

  /* CTA付近 */

  .page--zaigakusei .cta {
    position: relative;
  }

  /* =========================
  卒業生編 SP
========================= */

  .page--sotsugyousei .site-wrap {
    position: relative;
    overflow-x: clip;
  }

  .page--sotsugyousei .lower-hero {
    padding-top: 34px;
    padding-bottom: 0;
  }

  .page--sotsugyousei .lower-hero__inner {
    width: calc(100% - 28px);
  }

  .page--sotsugyousei .lower-hero__title {
    width: 100%;
    margin: 0 auto 14px;
  }

  .page--sotsugyousei .lower-hero__title picture {
    display: block;
    width: 100%;
  }

  .page--sotsugyousei .lower-hero__title img {
    display: block;
    margin: 0 auto;
    width: 318px;
    max-width: 100%;
    height: auto;
  }

  .page--sotsugyousei .lower-hero__label {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .page--sotsugyousei .lower-hero__cards {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .page--sotsugyousei .case-link,
  .page--sotsugyousei .case-link__inner {
    width: 93%;
    margin: 0 auto;
  }

  .page--sotsugyousei .case-link__inner {
    min-height: auto;
    padding: 22px 16px 10px;
    border-radius: 7px;
  }

  .page--sotsugyousei .case-link__title {
    margin-bottom: 8px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .page--sotsugyousei .case-link__badge {
    width: 210px;
    height: 36px;
    margin-bottom: 14px;
    font-size: 18px;
  }

  .page--sotsugyousei .case-link__text {
    width: 100%;
    min-height: auto;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.04em;
  }

  .page--sotsugyousei .case-link__photo {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 6px;
  }

  .page--sotsugyousei .case-link__profile {
    width: 100%;
    min-height: auto;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .page--sotsugyousei .case-link__arrow {
    width: 20px;
    height: 20px;
    margin: 4px auto 6px;
  }

  .page--sotsugyousei .case-area {
    margin: 48px 0 46px;
    padding: 10px 0 10px;
    background: var(--theme-light);
    overflow-x: clip;
  }

  .page--sotsugyousei .case-section {
    margin-bottom: 54px;
  }

  .page--sotsugyousei .case-section__inner {
    width: calc(100% - 28px);
  }

  .page--sotsugyousei .case-heading {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .page--sotsugyousei .case-heading__text,
  .page--sotsugyousei .case-heading__visual,
  .page--sotsugyousei .case-heading__profile {
    grid-column: auto;
    grid-row: auto;
  }

  .page--sotsugyousei .case-heading__num {
    width: 52%;
    margin-bottom: 8px;
    padding-left: 18px;
  }

  /* CASE01：PC用3行タイトルをSPでは2行にする */
  .page--sotsugyousei .case01 .case-heading__title br:first-of-type,
  .page--sotsugyousei .case02 .case-heading__title br:first-of-type,
  .page--sotsugyousei .case03 .case-heading__title br:first-of-type {
    display: none;
  }

  .page--sotsugyousei .case-heading__title {
    width: 100%;
    margin-bottom: 10px;
    padding-left: 18px;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0.08em;
  }

  .page--sotsugyousei .case-heading__visual {
    position: static;
    width: 100%;
    margin-top: 0;
  }

  .page--sotsugyousei .case-heading__visual img {
    width: 90%;
    height: auto;
    margin: 0 auto;
    border: 4px solid #fff;
    border-radius: 10px;
  }

  .page--sotsugyousei .case-heading__badge {
    left: auto;
    right: 17px;
    top: 0;
    width: 71px;
    height: 71px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0.04em;
    z-index: 3;
  }

  .page--sotsugyousei .case01 .case-heading__badge {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .page--sotsugyousei .case-heading__profile {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.05em;
  }

  .page--sotsugyousei .profile-small {
    font-size: 12px;
  }

  .page--sotsugyousei .case-article {
    padding-top: 18px;
    border-top: 1.5px solid var(--theme-color);
  }

  .page--sotsugyousei .case-article__block {
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
  }

  .page--sotsugyousei .case-article__block h3,
  .page--sotsugyousei .case-article__block p {
    width: 100%;
  }

  .page--sotsugyousei .case-article__block h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.11em;
  }

  .page--sotsugyousei .case-article__block p {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.07em;
    text-align: justify;
  }

  .page--sotsugyousei .case-article__block--image {
    display: block;
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  .page--sotsugyousei .case-article__block--image figure {
    width: 100%;
    margin: 16px auto 0;
  }

  .page--sotsugyousei .case-article__block--image figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .page--sotsugyousei .case-article__block:not(:first-child) {
    position: relative;
    padding-top: 22px;
  }

  .page--sotsugyousei .case-article__block:not(:first-child)::before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    margin-bottom: 20px;
    background-image: radial-gradient(
      circle,
      var(--theme-color) 2px,
      transparent 2.2px
    );
    background-size: 12px 6px;
    background-position: left center;
    background-repeat: repeat-x;
  }

  .page--sotsugyousei .learning-box {
    margin-top: 22px;
  }

  .page--sotsugyousei .learning-box__label {
    width: 221px;
    margin-bottom: 8px;
  }

  .page--sotsugyousei .learning-box__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 8px;
    width: 317px;
    margin: 0 auto;
  }

  .page--sotsugyousei .learning-card:first-child {
    grid-column: 1 / -1;
    width: 48%;
    margin: 0 auto;
  }

  .page--sotsugyousei .learning-card {
    display: grid;
    grid-template-rows: 24px 1fr 18px;
    align-items: center;
    justify-items: center;
    min-height: 90px;
    padding: 8px 6px 9px;
    gap: 0;
  }

  .page--sotsugyousei .learning-card__num {
    align-self: start;
    font-size: 23px;
    line-height: 1;
  }

  .page--sotsugyousei .learning-card__title {
    align-self: center;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .page--sotsugyousei .learning-card__click {
    align-self: end;
    font-size: 11px;
    line-height: 1;
  }

  /* =========================
  卒業生編 モーダル SP
========================= */

  .page--sotsugyousei .modal__inner {
    width: calc(100% - 24px);
    max-width: 390px;
    max-height: 92vh;
    margin: 4vh auto;
    padding: 0;
    overflow-y: auto;
    border-radius: 0;
    background: #fff;
  }

  .page--sotsugyousei .modal__content {
    padding: 0;
  }

  .page--sotsugyousei .modal-learning-card {
    width: 100%;
    min-height: auto;
    padding: 25px 24px 32px;
    box-sizing: border-box;
    border-radius: 0;
    background: #fff;
  }

  /* 閉じるボタン */
  .page--sotsugyousei .modal__close {
    top: 8px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    font-size: 28px;
    line-height: 1;
  }

  /* 「今に生きる学び」ラベル */
  .page--sotsugyousei .modal-learning-card__label {
    display: block;
    width: 184px;
    margin: 0 0 30px;
  }

  /* 01 卒業研究 */
  .page--sotsugyousei .modal-learning-card__title {
    display: flex;
    align-items: baseline;
    margin-bottom: 62px;
    color: var(--theme-color);
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  .page--sotsugyousei .modal-learning-card__num {
    margin-right: 8px;
    font-family: var(--font-en);
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .page--sotsugyousei .modal-learning-card__text-title {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }

  /* 本文 */
  .page--sotsugyousei .modal-learning-card__text {
    margin-bottom: 36px;
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 0.06em;
    text-align: justify;
  }

  /* 下部POINT枠 */
  .page--sotsugyousei .modal-learning-card__point {
    display: grid;
    grid-template-columns: 120px 1fr;
    width: 100%;
    min-height: 49px;
    height: auto;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    color: var(--theme-color);
    background: rgba(203, 7, 21, 0.03);
  }

  .page--sotsugyousei .modal-learning-card__point-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    height: 100%;
    padding: 8px 6px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .page--sotsugyousei .modal-learning-card__point-label::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 7px;
    width: 1px;
    background: var(--theme-color);
  }

  .page--sotsugyousei .modal-learning-card__point-label img {
    width: 24px;
    height: auto;
  }

  .page--sotsugyousei .modal-learning-card__point-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-align: center;
  }

  /* 02：プレゼンテーション能力 */
  .page--sotsugyousei
    .modal-learning-card--sotsu03-02
    .modal-learning-card__point-text {
    font-size: 14px;
  }

  /* 03：職業（将来）につながる知識 */
  .page--sotsugyousei
    .modal-learning-card--sotsu03-03
    .modal-learning-card__point-text {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  /* =========================
    卒業生編 SP イラスト表示切替
  ========================= */

  /* ---------- Hero ---------- */

  /* 青ドット：CASE01左側 */
  .page--sotsugyousei .hero-deco--dot-blue {
    display: block;
    top: 314px;
    left: -82px;
    width: 140px;
    opacity: 0.55;
  }

  /* 右側 赤ドット */
  .page--sotsugyousei .hero-deco--dot-red01 {
    top: 67px;
    right: -92px;
    width: 150px;
    opacity: 0.55;
  }

  /* 左側 赤ドット */
  .page--sotsugyousei .hero-deco--dot-red02 {
    top: 28px;
    left: -97px;
    width: 132px;
    opacity: 0.55;
  }

  /* 赤ドット：CASE02〜CASE03左側 */
  .page--sotsugyousei .hero-deco--dot-red03 {
    display: block;
    top: 1095px;
    left: -72px;
    right: auto;
    width: 135px;
    opacity: 0.55;
  }

  /* 黄ドット：CASE01〜CASE02右側 */
  .page--sotsugyousei .hero-deco--dot-yellow {
    display: block;
    top: 621px;
    right: -88px;
    width: 170px;
    opacity: 0.55;
  }

  /* 左上 注射器 */
  .page--sotsugyousei .hero-deco--syringe {
    top: 1px;
    left: 17px;
    width: 42px;
  }

  /* 右下 カプセル */
  .page--sotsugyousei .hero-deco--pill {
    top: -14px;
    right: 18px;
    width: 37px;
  }

  /* 右上 試験管 */
  .page--sotsugyousei .hero-deco--capsule {
    top: 144px;
    right: 28px;
    width: 35px;
  }

  /* 左下 マウス */
  .page--sotsugyousei .hero-deco--mouse {
    top: 148px;
    left: 0;
    width: 37px;
  }

  /* 在学生編 Hero：追加4装飾 SP */
  .page--zaigakusei .hero-deco--syringe {
    display: block;
    top: -27px;
    left: 27px;
    width: 42px;
  }

  .page--zaigakusei .hero-deco--pill {
    display: block;
    top: -14px;
    right: 18px;
    width: 37px;
  }

  .page--zaigakusei .hero-deco--capsule {
    display: block;
    top: 131px;
    right: 28px;
    width: 35px;
  }

  .page--zaigakusei .hero-deco--mouse {
    display: block;
    top: 136px;
    left: 0;
    width: 28px;
  }

  /* ---------- CASE01 ---------- */

  /* CASE01 カプセル */
  .page--sotsugyousei .case01 .case-deco--01 {
    display: block;
    top: 43px;
    right: 66px;
    left: auto;
    width: 42px;
    z-index: 3;
  }

  /* CASE01 右下 赤ドット */
  .page--sotsugyousei .case01 .case-deco--02 {
    display: block;
    top: 262px;
    right: -73px;
    left: auto;
    width: 145px;
    opacity: 0.45;
    z-index: 0;
  }

  /* ---------- CASE02 ---------- */

  /* CASE02 分子 */
  .page--sotsugyousei .case02 .case-deco--01 {
    display: block;
    top: 33px;
    right: 96px;
    left: auto;
    width: 34px;
    z-index: 3;
  }

  /* CASE02 黄色ドット */
  .page--sotsugyousei .case02 .case-deco--02 {
    display: block;
    top: 225px;
    right: -91px;
    left: auto;
    width: 177px;
    opacity: 0.55;
    z-index: 0;
  }

  .page--sotsugyousei .case02 .case-deco--03 {
    display: none;
  }

  /* ---------- CASE03 ---------- */

  /* CASE03 カプセル */
  .page--sotsugyousei .case03 .case-deco--01 {
    display: block;
    top: 38px;
    right: 79px;
    left: auto;
    width: 28px;
    z-index: 3;
  }

  /* CASE03 青丸 */
  .page--sotsugyousei .case03 .case-deco--02 {
    display: block;
    top: 289px;
    right: -78px;
    left: auto;
    width: 145px;
    opacity: 0.45;
    z-index: 0;
  }

  /* CASE03 青ドット */
  .page--sotsugyousei .case03 .case-deco--03 {
    display: block;
    top: 65px;
    left: -97px;
    right: auto;
    width: 160px;
    opacity: 0.5;
    z-index: 0;
  }
}

/* @media (max-width: 767px) */
