@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400&family=Noto+Sans+JP:wght@200;300;400;500&family=Zen+Old+Mincho:wght@400&display=swap");

:root {
  --page-blue: #216bda;
  --page-text: #212121;
  --page-white: #f7f7f7;
  --page-gray: #a0a8b4;
  --course-mathematics: #216bda;
  --course-english: #ee5456;
  --course-physics-chemistry: #27935d;
  --course-national-language: #e48225;
}

/* 余白の微調整用ユーティリティ */
.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.mt-7 {
  margin-top: 4rem !important;
}

.mt-8 {
  margin-top: 5rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.is-borderless {
  border: 0 !important;
}

.is-hidden {
  display: none !important;
}

/* 表示切り替え用ユーティリティ */
.pc-only {
  display: none;
}

.sp-only {
  display: block;
}

@media (min-width: 768px) {
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
}

.site-page {
  position: relative;
  overflow-x: clip;
  background-color: var(--page-white);
}

.site-page__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
}

.site-page > :not(.site-page__noise) {
  position: relative;
  z-index: 1;
}

/* トップページ・新着情報 */
.top-news {
  padding: 5rem 0;
}

.top-news__list {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

.top-news__item {
  border-top: 1px solid rgba(160, 168, 180, 0.35);
  border-bottom: 1px solid rgba(160, 168, 180, 0.35);
}

.top-news__item + .top-news__item {
  border-top: 0;
}

.top-news__link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--page-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.top-news__link:hover,
.top-news__link:focus-visible {
  color: var(--page-text);
  opacity: 0.75;
  text-decoration: none;
}

.top-news__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-news__date p,
.top-news__category p,
.top-news__title {
  margin: 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
}

.top-news__category {
  order: -1;
  flex: 0 0 4.5rem;
}

.top-news__date {
  flex: 0 0 4.25rem;
}

.top-news__title {
  display: block;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .top-news__link {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 1.25rem 6.5rem;
  }

  .top-news__meta {
    gap: 3rem;
  }

  .top-news__title {
    flex: 1;
    margin-top: 0;
  }
}

/* ページタイトル ここから */
.page-title {
  box-sizing: border-box;
  min-height: 29.5rem;
  padding: 17rem 0 5rem;
  background-image:
    linear-gradient(180deg, #bed6fb 56.73%, rgba(190, 214, 251, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    1440px 734px;
  background-blend-mode: multiply;
}

.page-title__container {
  display: flex;
  justify-content: center;
}

.page-title__heading {
  width: 100%;
}

.page-title .section-heading__title {
  font-size: 1.75rem;
}

/* 生徒専用ページログイン */
.student-login {
  padding-top: 5rem;
}

.student-login__container {
  max-width: 24rem;
}

.student-login__form {
  width: 100%;
}

.student-login__field {
  min-height: 6.5rem;
}

.student-login__field + .student-login__field {
  margin-top: 0;
}

.student-login__field > p {
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.student-login__field input {
  box-sizing: border-box;
  width: 100%;
  height: 2.25rem;
  margin-top: 0.75rem;
  padding: 0 0.75rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.1875rem;
  background-color: #fff;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
}

.student-login__action {
  margin-top: 3.5rem;
  padding-bottom: 8rem;
}

.student-login__action .container {
  display: flex;
  justify-content: center;
}

.student-login__link {
  width: 9.75rem;
  min-height: 2.375rem;
  margin: 0;
  border-radius: 999px;
  font-size: 0.875rem;
}
/* ページタイトル ここまで */

/* 無料説明会・体験授業セクション ここから */
.enrollment-introduction {
  padding: 8rem 0;
}

.enrollment-introduction__container {
  max-width: 64.25rem;
}

.section-introduction__title {
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.section-introduction__text,
.flow__introduction {
  max-width: 51rem;
  margin: 2rem auto 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

/* 代表メッセージセクション ここから */
.about-message {
  padding: 8rem 0 0;
}

.about-message__container {
  max-width: 64.25rem;
}

.about-message__heading {
  text-align: center;
}

.about-message__author {
  margin-top: 0.75rem;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.about-message__author p {
  margin: 0;
}

.about-message__lead {
  margin: 3rem 0 0;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  text-align: center;
}

.about-message__text {
  margin-top: 3rem;
}

.about-message__image {
  position: relative;
  max-width: 100vw;
  margin: 5rem auto 0;
}

.about-message__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 20%;
  background: linear-gradient(
    180deg,
    rgba(247, 247, 247, 0),
    var(--page-white)
  );
  content: "";
  pointer-events: none;
}

.about-message__image::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 20%;
  background: linear-gradient(
    180deg,
    var(--page-white),
    rgba(247, 247, 247, 0)
  );
  content: "";
  pointer-events: none;
}

.about-message__image img {
  display: block;
  width: 100%;
  height: 13.5rem;
  max-height: 13.5rem;
  object-fit: cover;
}

.image-noise-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 1440px 734px;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    transparent 20%,
    transparent 80%,
    #000 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    transparent 20%,
    transparent 80%,
    #000 100%
  );
}
/* 代表メッセージセクション ここまで */

/* 塾長メッセージセクション ここから */
.about-message-profile {
  padding: 8rem 0;
  background-color: #fff;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
  background-blend-mode: multiply;
}

.about-message-profile__container {
  max-width: 64.25rem;
}

.about-message-profile__heading {
  margin: 0 auto;
}

.about-message-profile__content {
  max-width: 51rem;
  margin-top: 5rem;
  margin-right: auto;
  margin-left: auto;
  row-gap: 2rem;
}

@media (min-width: 768px) {
  .about-message__lead {
    font-size: 1.25rem;
  }

  .about-message__image img {
    height: 32.5rem;
    max-height: 32.5rem;
  }

  .about-message-profile__content {
    row-gap: 0;
  }
}

.about-message-profile__image {
  display: block;
  width: 100%;
  height: auto;
}

.about-message-profile__details {
  padding-bottom: 0;
}

.about-message-profile__name {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
}

.about-message-profile__role {
  color: var(--page-blue);
  font-size: 1rem;
  line-height: 1.5;
}

.about-message-profile__name {
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--page-blue);
  color: var(--page-text);
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: right;
}

.about-message-profile__role p,
.about-message-profile__name p {
  margin: 0;
}

.about-message-profile__text {
  margin: 3rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}
/* 塾長メッセージセクション ここまで */

.enrollment-introduction__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  box-sizing: border-box;
  min-height: 0;
  margin-top: 5rem;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background-color: #fff;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.15));
}

.enrollment-introduction__content {
  flex: 1 1 auto;
}

.enrollment-introduction__card-title {
  margin: 0;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.enrollment-introduction__card-text {
  margin: 1.5rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.enrollment-introduction__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .section-introduction__title {
    font-size: 2.25rem;
  }

  .enrollment-introduction__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    min-height: 20rem;
    padding: 2.5rem 5rem;
  }

  .enrollment-introduction__card-title {
    font-size: 2.25rem;
  }

  .enrollment-introduction__card img {
    flex: 0 0 20rem;
    width: 20rem;
    height: 15rem;
  }
}

.enrollment-introduction__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20rem;
  min-height: 3rem;
  margin: 5rem auto 0;
  border-radius: 0.25rem;
  background-color: var(--page-blue);
  color: var(--page-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.enrollment-introduction__link-content p {
  margin: 0;
}

.enrollment-introduction__link:hover,
.enrollment-introduction__link:focus-visible {
  color: var(--page-white);
  opacity: 0.75;
  text-decoration: none;
}
/* 無料説明会・体験授業セクション ここまで */

/* メッセージセクション ここから */
.message {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem;
}

.message .container {
  position: relative;
  z-index: 1;
  max-width: 64rem;
}

.message p {
  margin: 0;
}

.section-heading {
  color: var(--page-blue);
  text-align: center;
}

.section-heading__eyebrow {
  color: #f9f9f9;
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  text-shadow:
    -1px -1px 0 var(--page-gray),
    1px -1px 0 var(--page-gray),
    -1px 1px 0 var(--page-gray),
    1px 1px 0 var(--page-gray);
}

.section-heading__eyebrow p {
  margin-bottom: 0;
}

.section-heading__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.5;
}

.message .section-heading__title {
  font-size: 1.75rem;
}

.message__content {
  margin-top: 5rem;
  row-gap: 4rem;
}

.message__content .section-link {
  margin-right: auto;
  margin-left: auto;
}

.message__copy {
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.25rem;
  line-height: 2.25;
  /* letter-spacing: 0.1rem; */
}

.message__copy p + p {
  margin-top: 2.5rem;
}

.section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  width: fit-content;
  padding: 0 2rem;
  min-height: 2.5rem;
  margin-top: 3rem;
  border-radius: 2rem;
  background-color: var(--page-blue);
  color: var(--page-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.section-link::after {
  display: block;
  width: 0.625rem;
  height: 0.8125rem;
  margin-left: 0.75rem;
  background: url("/system_panel/uploads/images/20260813020514644878.svg")
    center / contain no-repeat;
  content: "";
}

/* 矢印を左側に置くセクションリンク */
.section-link--arrow-left::after {
  order: -1;
  margin-right: 0.75rem;
  margin-left: 0;
  transform: scaleX(-1);
}

.section-link__content {
  display: block;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--page-white);
  opacity: 0.75 !important;
  text-decoration: none;
}

.section-link__content p {
  margin: 0;
  line-height: 1;
}

.message__visuals {
  display: flex;
  flex-direction: column;
  width: calc(100% + 1.5rem);
  gap: 1.5rem;
  margin-left: 0;
}

.message__image-wrap {
  position: relative;
  z-index: 0;
}

.message__image-wrap::after {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  bottom: -0.5rem;
  left: -0.75rem;
  z-index: -1;
  border-radius: 0.75rem;
  background-image:
    linear-gradient(0deg, #bed6fb 56.73%, rgba(190, 214, 251, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    1440px 734px;
  background-blend-mode: multiply;
  content: "";
}

.message__image-wrap img {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
}

.message__image-wrap--lesson {
  width: 80%;
  max-width: none;
  margin-left: auto;
  margin-right: 0.5rem;
}

.message__image-wrap--teacher {
  width: 52%;
  max-width: none;
  margin-left: 2rem;
}

.message__image-wrap--textbook {
  width: 54%;
  max-width: none;
  align-self: flex-end;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .page-title .section-heading__title {
    font-size: 2.5rem;
  }

  .section-heading__title {
    font-size: 2.25rem;
  }

  .message .section-heading__title {
    font-size: 2.5rem;
  }

  .message__content {
    row-gap: 0;
  }

  .message__content .section-link {
    margin-right: 0;
    margin-left: 0;
  }

  .message__visuals {
    width: calc(100% + 13rem);
    gap: 2.5rem;
    margin-left: 1rem;
  }

  .message__image-wrap--lesson {
    width: 100%;
    max-width: 600px;
    margin-left: 7.25rem;
    margin-right: auto;
  }

  .message__image-wrap--teacher {
    width: 78%;
    max-width: 400px;
    margin-left: 0;
  }

  .message__image-wrap--textbook {
    width: 76%;
    max-width: 400px;
    margin-right: 5rem;
  }

  .message__image-wrap::after {
    top: 0.75rem;
    right: 0.75rem;
    bottom: -0.75rem;
    left: -1rem;
  }
}
/* メッセージセクション ここまで */

/* スクロール出現アニメーション ここから */
.scroll-reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.scroll-reveal.is-pending:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.5rem);
}

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

/* Smoooth管理画面では、編集対象を常時表示する。 */
.scroll-reveal[data-gjs-type] {
  opacity: 1;
  transform: none;
}
/* スクロール出現アニメーション ここまで */

/* 受講生の声セクション ここから */
.voice {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.voice .container {
  position: relative;
  z-index: 1;
  max-width: 64rem;
}

.voice p {
  margin: 0;
}

.voice__layout {
  align-items: flex-start;
  row-gap: 4rem;
}

.voice__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-blue);
}

.voice__heading-text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.voice__eyebrow,
.voice__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  writing-mode: vertical-rl;
}

.voice__eyebrow {
  color: #f9f9f9;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow:
    -1px -1px 0 var(--page-gray),
    1px -1px 0 var(--page-gray),
    -1px 1px 0 var(--page-gray),
    1px 1px 0 var(--page-gray);
}

.voice__bird {
  display: block;
  width: 5rem;
  height: auto;
  margin-top: 2rem;
}

.voice-slider {
  position: relative;
  padding: 0 0 2.5rem;
}

.voice-slider__frame {
  overflow: hidden;
  width: 100vw;
}

.voice-slider__track {
  display: flex;
  gap: 1.5rem;
  transform: translateX(0);
  transition: transform 0.5s ease;
}

.voice-card {
  display: flex;
  box-sizing: border-box;
  flex: 0 0 18rem;
  min-height: 26rem;
  flex-direction: column;
  padding: 3rem 2.5rem 2.5rem;
  border-radius: 0.75rem;
  background-color: #f9f9f9;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.voice-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

.voice-card__text {
  margin: 1.5rem 0 0 !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.voice-card__author {
  margin-top: auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: right;
}

.voice-slider__button {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--page-text);
  border-radius: 50%;
  background-color: #f9f9f9;
  cursor: pointer;
  transform: translateY(-100%);
  transition: opacity 0.3s ease;
}

.voice-slider__button:hover,
.voice-slider__button:focus-visible {
  opacity: 0.75;
}

.voice-slider__button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 1px solid var(--page-text);
  border-right: 1px solid var(--page-text);
  content: "";
}

.voice-slider__button--previous {
  left: -1.25rem;
}

.voice-slider__button--previous::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.voice-slider__button--next {
  right: auto;
  left: 51.25rem;
}

.voice-slider__button--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.voice-slider__pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.voice-slider__pagination > * {
  display: block;
  width: 1.75rem;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background-color: var(--page-gray);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.voice-slider__pagination > *.is-active {
  background-color: var(--page-blue);
}

.voice-slider__pagination > *:hover,
.voice-slider__pagination > *:focus-visible {
  background-color: var(--page-blue);
}

/* スマホ用の受講生の声 */
.voice:not(.voice--course) .voice-card {
  flex-basis: calc(100vw - 4rem);
  min-height: 22rem;
  padding: 2rem 1.5rem;
}

.voice:not(.voice--course) .voice-slider__button {
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
}

.voice:not(.voice--course) .voice-slider__button--next {
  left: calc(100vw - 5.25rem);
}

.voice:not(.voice--course) .voice-slider__pagination {
  justify-content: center;
}

@media (min-width: 768px) {
  .voice__layout {
    row-gap: 0;
  }

  .voice:not(.voice--course) .voice-card {
    flex-basis: 18rem;
    min-height: 26rem;
    padding: 3rem 2.5rem 2.5rem;
  }

  .voice:not(.voice--course) .voice-slider__button {
    top: 50%;
    transform: translateY(-100%);
  }

  .voice:not(.voice--course) .voice-slider__button--next {
    left: 51.25rem;
  }

  .voice:not(.voice--course) .voice-slider__pagination {
    justify-content: flex-start;
  }
}
/* 受講生の声セクション ここまで */

/* Smoooth管理画面では、受講生の声カードを2カラムで全件編集できるようにする。 */
.voice-slider[data-gjs-type] .voice-slider__frame {
  width: 100%;
  overflow: visible;
}

.voice-slider[data-gjs-type] .voice-slider__track {
  flex-wrap: wrap;
  transform: none !important;
}

.voice-slider[data-gjs-type] .voice-card {
  flex-basis: calc((100% - 1.5rem) / 2);
}

.voice-slider[data-gjs-type] .voice-slider__button,
.voice-slider[data-gjs-type] .voice-slider__pagination {
  display: none;
}

/* コースページの受講生の声 */
.voice--course .voice-card {
  flex-basis: calc(100vw - 4rem);
  min-height: 22rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .voice--course .voice-card {
    flex-basis: 24.5rem;
    min-height: 16rem;
    padding: 3rem 2.5rem 2.5rem;
  }
}

.voice--course .voice-card__author {
  font-size: 1rem;
}

.voice--course .voice-slider__button {
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  transform: translateY(-100%);
}

.voice--course .voice-slider__button::before {
  width: 0.8rem;
  height: 0.8rem;
}

.voice--course .voice-slider__button--previous {
  left: -1.25rem;
}

.voice--course .voice-slider__button--next {
  left: 49.25rem;
}

.voice--course .voice-slider__pagination {
  margin-top: 1.5rem;
}

/* 青鴻会がお役に立てる方セクション ここから */
.for-you {
  padding: 5rem 0;
}

.for-you .container {
  width: auto;
  max-width: none;
}

.for-you__panel {
  position: relative;
  box-sizing: border-box;
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding: 3rem 1.5rem 12rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.75rem;
  background-color: rgba(249, 249, 249, 0.85);
  background-image:
    linear-gradient(rgba(160, 168, 180, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 168, 180, 0.3) 1px, transparent 1px);
  background-size: 2.875rem 2.875rem;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.15));
}

.for-you__heading {
  color: var(--page-blue);
  text-align: center;
}

.for-you__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}

.for-you__list {
  margin-top: 3rem;
}

.for-you__item {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.for-you__item::before {
  position: absolute;
  top: 0.375rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid var(--page-text);
  content: "";
}

.for-you__item + .for-you__item {
  margin-top: 1.5rem;
}

.for-you__item strong {
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(33, 107, 218, 0.7);
  text-decoration-thickness: 0.25rem;
  text-underline-offset: -0.1rem;
}

.for-you__image {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  display: block;
  width: 10rem;
  height: auto;
}

@media (min-width: 768px) {
  .for-you {
    padding: 6rem 0;
  }

  .for-you .container {
    width: 64.25rem;
    max-width: 64.25rem;
  }

  .for-you__panel {
    max-width: 64.25rem;
    min-height: 43rem;
    padding: 5rem 12rem;
  }

  .for-you__title {
    font-size: 2.25rem;
    white-space: nowrap;
  }

  .for-you__list {
    margin-top: 4rem;
  }

  .for-you__item {
    padding-left: 2rem;
    font-size: 1.25rem;
  }

  .for-you__item::before {
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
  }

  .for-you__item + .for-you__item {
    margin-top: 2rem;
  }

  .for-you__item strong {
    text-decoration-thickness: 0.35rem;
  }

  .for-you__image {
    right: -1.75rem;
    bottom: -1.75rem;
    width: 15.5rem;
  }
}
/* 青鴻会がお役に立てる方セクション ここまで */

/* 校舎の様子スライダー ここから */
.infinite-slider {
  padding: 2rem 0;
  overflow: hidden;
}

.infinite-slider__frame {
  overflow: hidden;
}

.infinite-slider__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: infinite-slider-scroll var(--infinite-slider-duration, 40s) linear infinite;
  will-change: transform;
}

.infinite-slider__item {
  flex: 0 0 13.75rem;
}

.infinite-slider__item img {
  display: block;
  width: 100%;
  height: 10rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

@keyframes infinite-slider-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--infinite-slider-scroll-distance, -50%));
  }
}
/* 校舎の様子スライダー ここまで */

/* Smoooth管理画面では、複製・自動スクロールを止めて各画像を編集しやすくする。 */
.infinite-slider[data-gjs-type] .infinite-slider__track,
.infinite-slider.is-editor .infinite-slider__track {
  width: auto;
  flex-wrap: wrap;
  animation: none;
  transform: none;
}

.infinite-slider[data-gjs-type] .infinite-slider__item,
.infinite-slider.is-editor .infinite-slider__item {
  flex-basis: calc((100% - 3.75rem) / 6);
}

.infinite-slider[data-gjs-type] [data-infinite-slider-clone],
.infinite-slider.is-editor [data-infinite-slider-clone] {
  display: none;
}

/* 特長セクション ここから */
.feature {
  padding: 6rem 0;
  background-color: transparent;
}

/* 共通のノイズ背景・グラデーション ここから */
/* 青背景＋ノイズを敷く共通セクション */
.section--blue-noise {
  background-color: #bed6fb;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
  background-blend-mode: multiply;
}

/* 真っ白背景＋ノイズを敷く共通セクション */
.section--white-noise {
  background-color: #fff;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
}

/* 青から透過へ変化するノイズ付きセクション背景 */
.section-background--blue-transparent-noise {
  background-image:
    linear-gradient(180deg, #bed6fb 64.78%, rgba(190, 214, 251, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
}

/* セクション背景を青から白へつなぐノイズ付きグラデーション */
.section-gradient--blue-white-noise {
  height: 10rem;
  background-image:
    linear-gradient(180deg, #bed6fb 0%, #fff 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
  pointer-events: none;
}

/* 白から透過へつなぐノイズ付きグラデーション */
.section-gradient--white-transparent-noise {
  height: 10rem;
  background-image:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
  pointer-events: none;
}

/* 透過から白へつなぐノイズ付きグラデーション */
.section-gradient--transparent-white-noise {
  height: 10rem;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
  pointer-events: none;
}

/* 青から透過へつなぐノイズ付きグラデーション */
.section-gradient--blue-transparent-noise {
  height: 10rem;
  background-image:
    linear-gradient(180deg, #bed6fb 0%, rgba(190, 214, 251, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
  pointer-events: none;
}

/* 透過から青へつなぐノイズ付きグラデーション */
.section-gradient--transparent-blue-noise {
  height: 10rem;
  background-image:
    linear-gradient(180deg, rgba(190, 214, 251, 0) 0%, #bed6fb 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    90rem 45.875rem;
  background-blend-mode: multiply;
}

/* 共通のノイズ背景・グラデーション ここまで */

/* 採用情報 ここから */
.recruit-details-section {
  padding-bottom: 8rem;
}

.recruit-details__container {
  max-width: 64.25rem;
}

.recruit-details {
  max-width: 51rem;
  margin: 2.5rem auto 0;
  background-color: var(--page-white);
  padding: 1.5rem 2.5rem;
}

.recruit-details__row {
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  padding: 1.5rem 0;
  min-height: 4.75rem;
  margin: 0;
  border-top: 1px solid #d9d9d9;
  align-items: center;
}

.recruit-details__row:first-child {
  border-top: 0;
}

.recruit-details__row > .col-md-4,
.recruit-details__row > .col-md-8 {
  width: auto;
  max-width: none;
  padding: 0;
}

.recruit-details__label,
.recruit-details__value {
  margin: 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.recruit-details__label {
  font-weight: 400;
}

.recruit-details__value {
  font-weight: 300;
}

.recruit-details__telephone {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.recruit-details__telephone:hover,
.recruit-details__telephone:focus {
  color: inherit;
}
/* 採用情報 ここまで */

.feature__container {
  max-width: 77.5rem;
}

.feature__container .row {
  row-gap: 2rem;
}

.course .row:has(> .col-md-4 > .feature-card) {
  row-gap: 2rem;
}

.feature__heading {
  position: relative;
  min-height: 0;
  padding-bottom: 4rem;
}

.feature__heading-icon {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0;
  left: 50%;
  display: block;
  width: 4.25rem;
  height: auto;
  transform: translateX(-50%);
}

.feature__heading-text {
  position: relative;
  top: auto;
  left: auto;
  text-align: center;
  transform: none;
}

.feature-card__label p,
.feature-card__index p {
  margin: 0;
}

.feature__cards {
  margin-top: 5rem;
  row-gap: 2rem;
}

.feature-card {
  box-sizing: border-box;
  height: 100%;
  min-height: 28.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
  background-color: var(--page-white);
}

.feature-card__number {
  color: var(--page-blue);
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 200;
  line-height: 1;
  text-align: center;
}

.feature-card__label {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-card__title {
  margin: 1.5rem 0 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--page-blue);
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.feature-card__text,
.feature-card__points {
  margin: 1.25rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.feature-card__points p {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
}

.feature-card__points p::before {
  position: absolute;
  top: 0;
  left: 0;
  content: counter(feature-point) ".";
  counter-increment: feature-point;
}

.feature-card__points {
  counter-reset: feature-point;
}

.feature-card__points p + p {
  margin-top: 0.25rem;
}

.feature__link {
  display: flex;
  margin: 5rem auto 0;
}
/* 特長セクション ここまで */

/* 講座案内セクション ここから */
.course {
  padding: 8rem 0 10rem;
  background-color: #bed6fb;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 1440px 734px;
  background-blend-mode: multiply;
}

/* 背景を敷かないコースセクション */
.course--transparent {
  background-color: transparent;
  background-image: none;
}

.course__container {
  max-width: 51rem;
}

.course__heading {
  position: relative;
  min-height: 0;
  padding-bottom: 4rem;
}

.course__heading .section-heading {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

.course__heading-icon {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -0.5rem;
  left: 50%;
  display: block;
  width: 4rem;
  height: auto;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .feature__heading {
    min-height: 6rem;
    padding-bottom: 0;
  }

  .feature__heading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .feature__heading-icon {
    top: 40%;
    right: calc(50% + 12rem);
    bottom: auto;
    left: auto;
    width: 6rem;
    transform: none;
  }

  .course__heading {
    min-height: 6rem;
    padding-bottom: 0;
  }

  .course__heading .section-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .course__heading-icon {
    top: 50%;
    bottom: auto;
    left: calc(50% + 5rem);
    width: 5.5rem;
    transform: translateY(-50%);
  }
}

.course__group {
  width: 51rem;
  max-width: 100%;
  margin-top: 5rem;
  margin-right: auto;
  margin-left: auto;
}

.course__group + .message {
  padding-top: 10rem;
}

.course__group-title {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.course__group-title::before,
.course__group-title::after {
  width: 100%;
  height: 1px;
  background-color: rgba(33, 33, 33, 0.35);
  content: "";
}

.course__grade-list,
.course__subject-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.course__grade-list {
  flex-direction: column;
}

.course__subject-list {
  position: relative;
  box-sizing: border-box;
  left: auto;
  width: 100%;
  max-width: 100%;
  gap: 1rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
  transform: none;
}

.course-grade-card {
  box-sizing: border-box;
  flex: 1 1 0;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--page-white);
}

.course-grade-card__title {
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--page-blue);
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.course-grade-card__lead {
  margin: 0.75rem 0 0;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  letter-spacing: -0.01em;
}

.course-grade-card__text {
  margin: 2rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.course-grade-card__text strong {
  font-weight: 300;
  text-decoration: underline;
  text-decoration-color: rgba(33, 107, 218, 0.7);
  text-decoration-thickness: 0.25rem;
  text-underline-offset: 0;
}

.course__group--subjects {
  margin-top: 5rem;
}

.course__group--other-subjects {
  margin-top: 10rem;
}

.course__group--other-subjects .course__group--subjects {
  margin-top: 2rem;
}

.course__subject-list > .course-subject {
  flex: 0 0 100%;
  margin: 0;
}

.course__subject-list--three-columns > .course-subject {
  flex-basis: 100%;
}

.course__subject-list--three-columns {
  justify-content: center;
}

.course-subject {
  position: relative;
  box-sizing: border-box;
  min-height: 20rem;
  padding: 2.5rem;
  border-radius: 0.75rem;
  color: var(--page-text);
  background-color: rgba(247, 247, 247, 0.95);
  transition: background-color 0.3s ease;
}

.course-subject:hover {
  background-color: #eaf3ff;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 1440px 734px;
  background-blend-mode: multiply;
}

.course-subject__header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--page-blue);
  text-align: center;
}

.course-subject__english p,
.course-subject__note p,
.course-subject__catch p,
.course-subject__more-content p {
  margin: 0;
}

.course-subject__english {
  color: var(--page-blue);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
}

.course-subject__title {
  margin: 0.25rem 0 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.course-subject__note {
  margin-top: 0.125rem;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.625rem;
}

.course-subject__image {
  display: block;
  width: 6rem;
  height: 6rem;
  margin: 2rem auto 0;
  object-fit: contain;
  transition:
    height 0.3s ease,
    margin 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.course-subject__detail {
  position: absolute;
  right: 2.5rem;
  top: 8.5rem;
  left: 2.5rem;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.course-subject:has(.course-subject__note) .course-subject__detail {
  top: 9.5rem;
}

.course-subject__catch {
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.course-subject__description {
  margin: 1rem 0 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.course-subject__more {
  position: relative;
  display: block;
  width: max-content;
  margin: 1rem 0 0 auto;
  padding-right: 1rem;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.course-subject__more:hover,
.course-subject__more:focus-visible {
  color: var(--page-text);
  opacity: 0.75;
  text-decoration: none;
}

.course-subject__more-content::after {
  position: absolute;
  top: 50%;
  right: 0.1rem;
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.course-subject:hover .course-subject__image {
  visibility: hidden;
  opacity: 0;
}

.course-subject:hover .course-subject__detail {
  visibility: visible;
  opacity: 1;
}

/* トップページの講座カードは、科目ごとのテーマカラーで展開する。 */
.course__group--subjects:not(.course-page) .course-subject {
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.course__group--subjects:not(.course-page) .course-subject:hover {
  color: #fff;
  background-image: none;
}

.course__group--subjects:not(.course-page) .course-subject--mathematics:hover {
  background-color: var(--course-mathematics);
}

.course__group--subjects:not(.course-page) .course-subject--english:hover {
  background-color: var(--course-english);
}

.course__group--subjects:not(.course-page) .course-subject--physics-chemistry:hover {
  background-color: var(--course-physics-chemistry);
}

.course__group--subjects:not(.course-page) .course-subject--national-language:hover {
  background-color: var(--course-national-language);
}

.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__header {
  border-color: rgba(255, 255, 255, 0.85);
}

.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__english,
.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__title,
.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__note,
.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__catch,
.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__description,
.course__group--subjects:not(.course-page) .course-subject:hover .course-subject__more {
  color: inherit;
}

/* コースページの講座メニュー ここから */
.course-page .course__group--subjects.course-page .course__subject-list {
  align-items: flex-start;
}

.course-page .course-subject {
  align-self: flex-start;
  min-height: 0;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 0.75rem;
  background-color: var(--page-white);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
  transition:
    height 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.course-page .course-subject > a {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  height: 100%;
  padding: 3rem 2.5rem 2rem;
  color: inherit;
  text-decoration: none;
}

.course-page .course-subject__header {
  padding-bottom: 1.5rem;
  border-color: var(--page-gray);
}

.course-page .course-subject__detail {
  position: static;
  visibility: visible;
  margin-top: 1.5rem;
  opacity: 1;
}

.course-page .course-subject__description {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
}

.course-page .course-subject__image {
  display: none;
}

.course-page .course-subject:hover,
.course-page .course-subject.current {
  height: 24.375rem;
  min-height: 24.375rem;
  border-color: transparent;
  color: #fff;
  background-image: none;
  box-shadow: none;
}

.course-page .course-subject--mathematics:hover,
.course-page .course-subject--mathematics.current {
  background-color: var(--course-mathematics);
}

.course-page .course-subject--english:hover,
.course-page .course-subject--english.current {
  background-color: var(--course-english);
}

.course-page .course-subject--physics-chemistry:hover,
.course-page .course-subject--physics-chemistry.current {
  background-color: var(--course-physics-chemistry);
}

.course-page .course-subject--national-language:hover,
.course-page .course-subject--national-language.current {
  background-color: var(--course-national-language);
}

.course-page .course-subject:hover .course-subject__header,
.course-page .course-subject.current .course-subject__header {
  border-color: rgba(255, 255, 255, 0.85);
}

.course-page .course-subject:hover .course-subject__english,
.course-page .course-subject:hover .course-subject__title,
.course-page .course-subject:hover .course-subject__note,
.course-page .course-subject:hover .course-subject__description,
.course-page .course-subject.current .course-subject__english,
.course-page .course-subject.current .course-subject__title,
.course-page .course-subject.current .course-subject__note,
.course-page .course-subject.current .course-subject__description {
  color: inherit;
}

.course-page .course-subject:hover .course-subject__image,
.course-page .course-subject.current .course-subject__image {
  display: block;
  flex: 0 0 8rem;
  width: 7rem;
  height: 6rem;
  margin: 1.25rem auto 0;
  object-fit: contain;
  visibility: visible;
  opacity: 1;
}
/* コースページの講座メニュー ここまで */

/* コースページの教材・授業方針パネル ここから */
.course-policy {
  box-sizing: border-box;
  margin-top: 5rem;
  padding: 3rem 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--page-white);
}

.course-policy__title {
  margin: 0;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.course-policy__list {
  margin-top: 3rem;
  row-gap: 3rem;
}

.course-policy__item {
  height: 100%;
}

.course-policy__list > .col-md-6 + .col-md-6 .course-policy__item {
  padding-left: 0;
  border-left: 0;
}

.course-policy__list > .col-md-6:first-child .course-policy__item {
  padding-right: 0;
}

.course-policy__heading {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
}

.course-policy__heading::before {
  display: block;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin-right: 0.625rem;
  background-color: var(--page-blue);
  content: "";
}

.course-policy__heading--without-marker::before {
  display: none;
}

.course-policy__text {
  margin: 1.25rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}
.course-policy__text strong {
  font-weight: 300;
  text-decoration: underline;
  text-decoration-color: rgba(33, 107, 218, 0.7);
  text-decoration-thickness: 0.25rem;
  text-underline-offset: 0;
}
.course-policy__schedule {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--page-gray);
}

.course-policy__schedule .course-policy__text {
  margin-top: 0;
  font-weight: 400;
}

.course-policy__qualification {
  box-sizing: border-box;
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  border: 2px solid var(--page-blue);
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.3);
}

.course-policy__qualification-title {
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.course-policy__qualification-text {
  margin: 1.5rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.course-page-message__content {
  row-gap: 4rem;
}

@media (min-width: 768px) {
  /* .feature__container .row {
    row-gap: 0;
  } */

  .course .row:has(> .col-md-4 > .feature-card) {
    row-gap: 0;
  }

  .course-policy {
    padding: 5rem;
  }

  .course-policy__heading {
    font-size: 1.5rem;
  }

  .course-policy__list {
    margin-top: 5rem;
    row-gap: 0;
  }

  .course-policy__list > .col-md-6 + .col-md-6 .course-policy__item {
    padding-left: 2.5rem;
    border-left: 1px solid var(--page-gray);
  }

  .course-policy__list > .col-md-6:first-child .course-policy__item {
    padding-right: 2.5rem;
  }

  .course-policy__schedule {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2.5rem;
  }

  .course-policy__qualification {
    padding: 3rem 5rem;
  }

  .course-page-message__content {
    row-gap: 0;
  }
}

.course-policy-sub {
  box-sizing: border-box;
  margin-top: 5rem;
  padding: 5rem;
  border-radius: 0.75rem;
  background-color: var(--page-white);
}

/* コースページのカリキュラムパネル */
.course-curriculum__row > .col-md-6 {
  display: flex;
}

.course-curriculum__row {
  row-gap: 2rem;
}

.course-curriculum-panel {
  box-sizing: border-box;
  width: 100%;
  margin-top: 2rem;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--page-white);
}

.course-curriculum__row > .col-md-6:not(:first-child) .course-curriculum-panel {
  margin-top: 0;
}

@media (min-width: 768px) {
  .course-curriculum__row {
    row-gap: 0;
  }

  .course-curriculum__row > .col-md-6:not(:first-child) .course-curriculum-panel {
    margin-top: 2rem;
  }
}

.course-curriculum-panel__heading {
  margin: 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.course-curriculum-panel__text,
.course-curriculum__text {
  margin: 4rem 2.5rem 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.course-curriculum__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 5rem 0 0;
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.course-curriculum__heading::before {
  display: block;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--page-text);
  content: "";
}

.course-curriculum__heading + .flow__content {
  margin-top: 2.5rem !important;
}

.hr-border {
  height: 1px;
  margin: 5rem 0;
  background-color: var(--page-gray);
}

.hr-border + .course-curriculum__heading {
  margin-top: 0;
}

/* コースページの教材・授業方針パネル ここまで */

.course__link {
  display: flex;
  margin: 5rem auto 0;
}
/* 講座案内セクション ここまで */

/* 合格実績セクション ここから */
.pass-record {
  padding: 8rem 0;
  background-color: #fff;
}

.pass-record__heading {
  margin: 0 auto;
}

.pass-record__list {
  margin-top: 2rem;
  row-gap: 2rem;
}

@media (min-width: 768px) {
  .voice__title {
    font-size: 2.25rem;
  }

  .feature-card__title,
  .course-grade-card__title {
    font-size: 1.5rem;
  }

  .course__grade-list {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .course__subject-list {
    left: 50%;
    width: 77.5rem;
    max-width: calc(100vw - 1.5rem);
    flex-wrap: nowrap;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    transform: translateX(-50%);
  }

  .course__subject-list > .course-subject {
    flex: 0 0 calc((100% - 3rem) / 4);
    margin: 0;
  }

  .course__subject-list--three-columns > .course-subject {
    flex-basis: calc((100% - 2rem) / 3);
  }

  .pass-record__list {
    row-gap: 0;
  }
}

.pass-record__item {
  padding: 0 1.5rem;
}

.pass-record__year {
  margin: 0;
  color: var(--page-blue);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

.pass-record__text,
.pass-record__note {
  margin: 1.5rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.8;
}

.pass-record__note {
  margin-left: 1.5rem;
}
/* 合格実績セクション ここまで */

/* 入塾までの流れセクション ここから */
.flow {
  padding: 10rem 0;
}

.section--blue-gradient {
  background-image:
    linear-gradient(180deg, #bed6fb 0%, rgba(190, 214, 251, 0) 100%),
    url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: no-repeat, repeat;
  background-size:
    100% 100%,
    1440px 734px;
  background-blend-mode: multiply;
}

.flow__container {
  max-width: 64.25rem;
}

.flow__heading {
  margin: 0 auto;
}

.flow__content {
  display: block;
  margin-top: 4rem;
  font-family: "Noto Sans JP", sans-serif;
}

.flow__navigation {
  display: none;
}

.flow__navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 1.5;
}

.flow__navigation-item.is-current {
  font-weight: 400;
}

.flow__navigation > .flow__navigation-item .flow__navigation-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
}

.flow__navigation-number p,
.flow__navigation-label p,
.flow-step__number p {
  margin: 0;
}

.flow__navigation-item + .flow__navigation-item {
  margin-top: 2.25rem;
}

.flow__navigation-item + .flow__navigation-item::before {
  position: absolute;
  bottom: 100%;
  left: calc(1rem - 1px);
  width: 2px;
  height: 2.25rem;
  background-color: #d9d9d9;
  transition: background-color 0.3s ease;
  content: "";
}

.flow__navigation-number,
.flow-step__number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--page-blue);
  border-radius: 50%;
  color: var(--page-blue);
  background-color: #f9f9f9;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.flow__navigation-item.is-current .flow__navigation-number,
.flow__navigation-item.is-complete .flow__navigation-number,
.flow-step__number {
  color: #f9f9f9;
  background-color: var(--page-blue);
}

.flow__navigation-item.is-complete + .flow__navigation-item::before {
  background-color: var(--page-blue);
}

.flow__steps {
  width: 100%;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  min-height: 0;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--page-white);
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.flow-step + .flow-step {
  margin-top: 1.5rem;
}

.flow-step__body {
  flex: 1 1 auto;
}

.flow-step > .flow-step__body:first-child:not(:only-child) {
  flex: 1 1 auto;
  max-width: none;
}

.flow-step > .flow-step__body:last-child:not(:only-child) {
  flex: 1 1 auto;
}

.flow__steps--text-only .flow-step__body {
  flex: 1 1 100%;
  max-width: none;
}

.flow-step__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--page-blue);
}

.flow-step__heading .flow__navigation-label {
  margin: 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
}

.flow-step__number {
  flex: 0 0 auto;
  margin: 0;
}

.flow-step__text {
  margin: 1rem 0 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.8;
}

.flow-step img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.flow__link {
  display: flex;
  margin: 4rem auto 0;
}

@media (min-width: 768px) {
  .flow__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }

  .flow__navigation {
    position: sticky;
    top: 10rem;
    display: block;
    flex: 0 0 18rem;
  }

  .flow__steps {
    flex: 1 1 auto;
    width: auto;
  }

  .flow-step {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    min-height: 12rem;
    padding: 2rem 2.5rem;
  }

  .flow-step > .flow-step__body:first-child:not(:only-child) {
    flex: 0 1 25.625rem;
    max-width: 25.625rem;
  }

  .flow-step > .flow-step__body:last-child:not(:only-child) {
    flex: 0 0 11.75rem;
  }

  .flow-step img {
    flex: 0 0 11.75rem;
    width: 11.75rem;
    height: 8.8125rem;
  }
}

/* コースページのカリキュラム ここから */
.flow--curriculum .flow__content {
  gap: 2.5rem;
  margin-top: 5rem;
}

.flow--curriculum .flow__navigation {
  flex-basis: 17rem;
}

.flow--curriculum .flow__navigation-item {
  gap: 1rem;
}

.flow--curriculum .flow__navigation-item + .flow__navigation-item {
  margin-top: 2.75rem;
}

.flow--curriculum .flow__navigation-item + .flow__navigation-item::before {
  left: calc(0.5rem - 0.5px);
  width: 1px;
  height: 2.75rem;
}

.flow--curriculum .flow__navigation-number {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--page-blue);
  background-color: #fff;
}

.flow--curriculum .flow__navigation-number p {
  display: none;
}

.flow--curriculum .flow__navigation-item.is-current .flow__navigation-number,
.flow--curriculum .flow__navigation-item.is-complete .flow__navigation-number {
  background-color: var(--page-blue);
}

.flow--curriculum .flow-step {
  min-height: 13rem;
  padding: 1.5rem;
  background-color: var(--page-white);
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
}

.flow--curriculum .flow-step + .flow-step {
  margin-top: 2rem;
}

.flow--curriculum .flow-step__heading {
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-color: var(--page-gray);
}

.flow-step__title p,
.flow-step__target {
  margin: 0;
}

.flow-step__title {
  padding: 0.5rem 1rem;
  border: 1px solid var(--page-blue);
  border-radius: 0.1875rem;
  color: var(--page-blue);
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.flow-step__title__fix {
  background-color: var(--page-blue);
  color: #fff;
}

.flow-step--final .flow-step__title {
  color: #fff;
  background-color: var(--page-blue);
}

.flow-step__target {
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
}

.flow--curriculum .flow-step__text {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .flow--curriculum .flow-step {
    padding: 2.5rem;
  }

  .flow-step__title {
    font-size: 1.25rem;
  }
}

.course-curriculum__notice {
  max-width: 55rem;
  margin: 5rem auto 0;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
}

.course-curriculum__notice-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.course-curriculum__notice-text {
  position: relative;
  margin: 0.375rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
}

.course-curriculum__notice-text::before {
  position: absolute;
  left: 0;
  content: "•";
}

.flow--curriculum .course-curriculum-guide {
  max-width: 64.25rem;
  margin-top: 5rem;
}

.course-curriculum-guide__list {
  align-items: stretch;
  row-gap: 2rem;
}

.course-curriculum-guide__card {
  box-sizing: border-box;
  height: 100%;
  /* min-height: 35rem; */
  padding: 3rem 2.5rem;
  border: 1px solid var(--page-gray);
  border-radius: 0.75rem;
  background-color: #fff;
}

@media (min-width: 768px) {
  .course-curriculum-guide__list {
    row-gap: 0;
  }

  .course-curriculum-guide__card {
    padding: 2.75rem 4.5rem;
  }
}

.course-curriculum-guide__title {
  margin: 0;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--page-blue);
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.course-curriculum-guide__lead p,
.course-curriculum-guide__label,
.course-curriculum-guide__points,
.course-curriculum-guide__text {
  margin: 0;
}

.course-curriculum-guide__lead {
  margin-top: 0.5rem;
  color: var(--page-blue);
  font-family: "Zen Old Mincho", serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.course-curriculum-guide__content {
  margin-top: 1.75rem;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

.course-curriculum-guide__label,
.course-curriculum-guide__text {
  font-size: 0.9375rem;
}

.course-curriculum-guide__points {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 2;
}

.course-curriculum-guide__points + .course-curriculum-guide__text {
  margin-top: 1.5rem;
}

/* 共通テスト対策 ここから */
.common-test {
  padding: 10rem 0;
  background-color: #13458d;
  background-image: url("/system_panel/uploads/images/20260812231129447475.svg");
  background-repeat: repeat;
  background-size: 90rem 45.875rem;
  background-blend-mode: multiply;
}

.common-test .container {
  max-width: 77.5rem;
}

.common-test__heading {
  margin: 0 auto;
}

.common-test .section-heading__eyebrow,
.common-test .section-heading__title {
  color: #fff;
}

.common-test .section-heading__eyebrow {
  text-shadow: none;
}

.common-test__introduction {
  max-width: 51rem;
  margin: 2rem auto 0;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.common-test__list {
  margin-top: 2.5rem;
}

.common-test__list > .col-md-6 {
  margin-bottom: 2rem;
}

.common-test-card {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  min-height: 11rem;
  padding: 2rem 3rem;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 768px) {
  .common-test-card {
    padding: 2.5rem 5rem;
  }
}

.common-test-card__title p {
  margin: 0;
}

.common-test-card__title {
  color: var(--page-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.common-test-card__content {
  width: 100%;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--page-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
}

.common-test-card__toggle {
  display: grid;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 1.5rem auto 0;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.common-test-card__toggle-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.common-test-card.is-open {
  align-items: stretch;
}

.common-test-card.is-open .common-test-card__content {
  max-height: 32rem;
  margin-top: 1.5rem;
  opacity: 1;
  text-align: left;
}

.common-test-card.is-open .common-test-card__toggle {
  align-self: center;
  transform: rotate(180deg);
}
/* 共通テスト対策 ここまで */
/* コースページのカリキュラム ここまで */
/* 入塾までの流れセクション ここまで */

/* Smoooth管理画面では、科目カードの詳細を常時表示して編集できるようにする。 */
.course[data-gjs-type] .course-subject__image,
.course-subject[data-gjs-type] .course-subject__image,
.course-subject:has([data-gjs-type]) .course-subject__image {
  height: 6rem;
  margin-top: 2rem;
  visibility: visible;
  opacity: 1;
}

.course[data-gjs-type] .course-subject__detail,
.course-subject[data-gjs-type] .course-subject__detail,
.course-subject:has([data-gjs-type]) .course-subject__detail {
  position: static;
  visibility: visible;
  margin-top: 2rem;
  opacity: 1;
}

/* Smoooth管理画面では、コースメニューのホバー演出を停止して編集しやすくする。 */
.course-page[data-gjs-type] .course-subject:not(.current):hover,
.course-page:has([data-gjs-type]) .course-subject:not(.current):hover {
  min-height: 15.125rem;
  border-color: #d9d9d9;
  color: var(--page-text);
  background-color: var(--page-white);
  background-image: none;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
}

.course-page[data-gjs-type]
  .course-subject:not(.current):hover
  .course-subject__header,
.course-page:has([data-gjs-type])
  .course-subject:not(.current):hover
  .course-subject__header {
  border-color: var(--page-gray);
}

.course-page[data-gjs-type]
  .course-subject:not(.current):hover
  .course-subject__english,
.course-page:has([data-gjs-type])
  .course-subject:not(.current):hover
  .course-subject__english {
  color: var(--page-blue);
}

.course-page[data-gjs-type]
  .course-subject:not(.current):hover
  .course-subject__title,
.course-page[data-gjs-type]
  .course-subject:not(.current):hover
  .course-subject__note,
.course-page[data-gjs-type]
  .course-subject:not(.current):hover
  .course-subject__description,
.course-page:has([data-gjs-type])
  .course-subject:not(.current):hover
  .course-subject__title,
.course-page:has([data-gjs-type])
  .course-subject:not(.current):hover
  .course-subject__note,
.course-page:has([data-gjs-type])
  .course-subject:not(.current):hover
  .course-subject__description {
  color: var(--page-text);
}

/* Smoooth管理画面では、コースメニューを展開・画像表示した状態で編集できるようにする。 */
.course-page[data-gjs-type] .course-subject,
.course-page:has([data-gjs-type]) .course-subject {
  height: 24.375rem;
  min-height: 24.375rem;
}

.course-page[data-gjs-type] .course-subject__image,
.course-page:has([data-gjs-type]) .course-subject__image {
  display: block;
  flex: 0 0 8rem;
  width: 9rem;
  height: 8rem;
  margin: 1.25rem auto 0;
  object-fit: contain;
}

/* Smoooth管理画面では、共通テスト対策の本文を常時表示して編集できるようにする。 */
.common-test[data-gjs-type] .common-test-card__content,
.common-test:has([data-gjs-type]) .common-test-card__content {
  max-height: none;
  margin-top: 1.5rem;
  opacity: 1;
}

/* Smoooth管理画面では、PC・スマホ用の表示切り替え要素を両方編集できるようにする。 */
[data-gjs-type] .pc-only,
[data-gjs-type] .sp-only,
.pc-only[data-gjs-type],
.sp-only[data-gjs-type],
.pc-only:has([data-gjs-type]),
.sp-only:has([data-gjs-type]) {
  display: block !important;
}
