* {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: 'NotoSans', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', Arial, Helvetica, Verdana, sans-serif;
}

p {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  max-height: none;
}

:root {
  --green: #009c84;
  --green-dark: #009380;
  --green-light: #d9f0ec;
  --aqua: #cce8e5;
  --red: #d83a27;
  --blue: #1575b6;
  --pink: #e66295;
  --navy: #123d73;
  --text: #263532;
  --white: #fff;
  --shadow: 0 6px 18px rgba(0, 72, 62, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  /* background: #fff; */
  background-image: url("../img/site-bg.jpg");
  /* background-color: #ffffff; */
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.special-course {
  overflow: hidden;
}

.section-inner {
  box-sizing: border-box;
  width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.section-inner--narrow {
  width: 920px;
}

/* ========================================
   講座ラインアップ PC
======================================== */

.lineup {
  padding: 64px 0 90px;
}

.lineup .section-title {
  margin: 0 0 34px;
  color: #009c84;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
}

.lineup .section-title span {
  font-size: 27px;
  font-weight: inherit;
}

/* ========================================
   エラー表示
======================================== */

.lineup-error {
  box-sizing: border-box;
  width: 800px;
  margin: 0 auto;
  padding: 24px 30px;
  border: 1px solid #d8a5a5;
  border-radius: 8px;
  background-color: #fff5f5;
  color: #a40000;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

/* ========================================
   絞り込みボタン
======================================== */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 8px 20px;
  border: 1px solid #a9c8c3;
  border-radius: 25px;
  background-color: #ffffff;
  color: #29433f;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.filter-tab:hover {
  border-color: #009c84;
  color: #009c84;
}

.filter-tab.is-active {
  border-color: #009c84;
  background-color: #009c84;
  color: #ffffff;
}

.filter-tab.is-active:hover {
  color: #ffffff;
}

.filter-tab:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 3px;
}

/* ========================================
   表示講座数
======================================== */

.lineup-count {
  margin: 0 0 22px;
  color: #49645f;
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
}

/* ========================================
   講座一覧
======================================== */

.course-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.course-card {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow:
    0 7px 18px rgba(0, 82, 69, 0.12);
}

.course-card[hidden] {
  display: none !important;
}

/* ========================================
   カード上部見出し
======================================== */

.course-card__heading {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 16px;
  background-color: #009c84;
  color: #ffffff;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}

/* ========================================
   カード本体
======================================== */

.course-card__body {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  box-sizing: border-box;
  min-height: 176px;
  padding: 18px 20px 22px;
}

/* ========================================
   講師写真
======================================== */

.lecturer-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 78px;
  height: 112px;
  overflow: hidden;
  border: 3px solid #c8e7e2;
  background-color: #eef7f5;
}

.lecturer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.lecturer-photo__fallback {
  color: #6d8c87;
  font-size: 11px;
  font-weight: 700;
}

/* ========================================
   講座情報
======================================== */

.course-card__content {
  min-width: 0;
}

.course-card__category {
  margin: 0 0 4px;
  color: #009c84;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.course-card__title {
  margin: 0 0 8px;
  color: #111111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.course-card__lecturer {
  margin: 0 0 8px;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.course-card__description {
  margin: 0;
  color: #222222;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

/* ========================================
   ワークショップテーマ
======================================== */

.course-card__workshop-theme {
  box-sizing: border-box;
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-left: 4px solid #009c84;
  border-radius: 3px;
  background-color: #eef9f7;
}

.course-card__workshop-theme-label {
  margin: 0 0 3px;
  color: #009c84;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.course-card__workshop-theme-text {
  margin: 0;
  color: #183d37;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* ========================================
   もっと見る・閉じる
======================================== */

.lineup-more {
  margin-top: 40px;
  text-align: center;
}

.lineup-more__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 260px;
  min-height: 58px;
  padding: 12px 55px 12px 35px;
  border: 2px solid #009c84;
  border-radius: 30px;
  background-color: #009c84;
  color: #ffffff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.lineup-more__button::after {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform:
    translateY(-70%)
    rotate(45deg);
  transition: transform 0.2s ease;
}

.lineup-more__button:hover {
  background-color: #ffffff;
  color: #009c84;
  transform: translateY(-2px);
}

.lineup-more__button.is-expanded::after {
  transform:
    translateY(-20%)
    rotate(225deg);
}

.lineup-more__button:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

.lineup-more__button[hidden] {
  display: none !important;
}

/* ========================================
   画面右下固定の閉じるボタン
======================================== */

.lineup-floating-close {
  position: fixed;
  z-index: 10000;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 82px;
  height: 82px;
  padding: 3px 0 5px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background-color: #009c84;
  box-shadow:
    0 8px 24px rgba(0, 72, 62, 0.35);
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lineup-floating-close:hover {
  background-color: #007f6e;
  box-shadow:
    0 10px 28px rgba(0, 72, 62, 0.42);
  transform: translateY(-3px);
}

.lineup-floating-close:active {
  transform: scale(0.95);
}

.lineup-floating-close:focus-visible {
  outline: 4px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

.lineup-floating-close[hidden] {
  display: none !important;
}

.lineup-floating-close__icon {
  display: block;
  height: 36px;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 0.85;
}

.lineup-floating-close__text {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
/* セクション共通の上下余白 */
.section-block {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* セクション共通見出し */
.section-title {
  margin: 0 0 34px;
  color: var(--green-dark);
  font-size: 38px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
}

/* 見出し内の補足テキスト */
.section-title span {
  font-size: 27px;
  font-weight: inherit;
}

/* セクション途中に配置する見出し */
.section-title--spaced {
  margin-top: 58px;
}



.patterned-section {
  position: relative;
  background-color: #ffffff;
  background-image: url("../img/site_bg.jpg");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

.lineup-error {
  box-sizing: border-box;
  width: 800px;
  margin: 0 auto;
  padding: 24px 30px;
  border: 1px solid #d8a5a5;
  border-radius: 8px;
  background-color: #fff5f5;
  color: #a40000;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 20px;
  border: 1px solid #a9c8c3;
  border-radius: 25px;
  background-color: #ffffff;
  color: #29433f;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.filter-tab:hover {
  border-color: #009c84;
  color: #009c84;
}

.filter-tab.is-active {
  border-color: #009c84;
  background-color: #009c84;
  color: #ffffff;
}

.filter-tab:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 3px;
}

/* .lineup-count {
  margin: 0 0 22px;
  color: #49645f;
  font-size: 14px;
  text-align: right;
} */

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.course-card {
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
  min-height: 255px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 7px 18px rgba(0, 82, 69, 0.12);
}

.course-card__heading {
  padding: 11px 20px;
  background-color: #009c84;
  color: #ffffff;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
}

.course-card__body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-sizing: border-box;
  min-height: 205px;
  padding: 26px 25px;
}

.lecturer-photo {
  position: relative;
  display: flex;
  flex: 0 0 86px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100px;
  height: 139px;
  margin-top: 2px;
  border: 4px solid #c6e5df;
  background: linear-gradient(145deg, #a9d2ca, #469889);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.lecturer-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lecturer-photo__fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lecturer-photo.is-error .lecturer-photo__fallback {
  z-index: 3;
}

.course-card__content {
  flex: 1;
  min-width: 0;
}

.course-card__category {
  margin: 0 0 7px;
  color: #009c84;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.course-card__content h3 {
  margin: 0 0 8px;
  color: #152d29;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

.course-card__lecturer {
  margin: 0 0 13px;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.course-card__description {
  margin: 0;
  color: #263a36;
  font-size: 14px;
  line-height: 1.8;
}

.patterned-section {
  position: relative;
  background-color: #fff;
  /* background-image:
      linear-gradient(30deg, rgba(0, 156, 132, 0.055) 12%, transparent 12.5%, transparent 87%, rgba(0, 156, 132, 0.055) 87.5%, rgba(0, 156, 132, 0.055)),
      linear-gradient(150deg, rgba(0, 156, 132, 0.055) 12%, transparent 12.5%, transparent 87%, rgba(0, 156, 132, 0.055) 87.5%, rgba(0, 156, 132, 0.055)),
      linear-gradient(30deg, rgba(0, 156, 132, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(0, 156, 132, 0.04) 87.5%, rgba(0, 156, 132, 0.04));
  background-position: 0 0, 0 0, 42px 73px; */
  background-image: url("../img/site_bg.jpg");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

.main-title{
  margin-top: 20px;
  margin-bottom: 0px;
}

.mv-img-wrapper{
  width: 100%;
}

.mv-img{
  display: flex;
  margin: 0 auto;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 22px 32px;
  background: #fff;
}

.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  min-height: 470px;
  overflow: hidden;
}

.hero__photo {
  display: grid;
  place-items: center;
  min-height: 470px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 700;
  background-size: cover;
  background-position: center;
}

.hero__photo--students {
  background:
      linear-gradient(rgba(7, 62, 53, 0.18), rgba(7, 62, 53, 0.18)),
      linear-gradient(135deg, #496c75, #a3cbc3);
  clip-path: polygon(0 8%, 100% 0, 89% 100%, 0 94%);
}

.hero__photo--speaker {
  background:
      linear-gradient(rgba(7, 62, 53, 0.12), rgba(7, 62, 53, 0.12)),
      linear-gradient(135deg, #d9c3a5, #596a52);
  clip-path: polygon(10% 0, 100% 9%, 100% 94%, 0 100%);
}

.hero__diamond {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  width: 390px;
  height: 390px;
  margin: auto -64px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #20bda5, #007e6c);
  border: 8px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(0, 92, 78, 0.3);
  transform: rotate(45deg);
}

.hero__diamond::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero__diamond h1,
.hero__diamond .hero__ornament {
  transform: rotate(-45deg);
}

.hero__diamond h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(0, 65, 55, 0.22);
}

.hero__ornament {
  margin-top: 20px;
  font-size: 28px;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 800;
}

.hero__bottom p {
  margin: 0;
}

.hero__bottom span {
  color: #cf3124;
  font-size: 1.16em;
}

.intro {
  padding: 65px 0 58px;
}

.intro__message {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.intro__message strong {
  font-size: 1.08em;
}

/* ========================================
   講座内容
======================================== */

.course-types {
  background-color: var(--aqua);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.type-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 250px;
  box-sizing: border-box;
  padding: 36px 32px 62px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: var(--shadow);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 72, 62, 0.2);
}

.type-card:focus-visible {
  outline: 4px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

.type-card__lead {
  display: block;
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.45;
}

.type-card__title {
  display: block;
  margin: 0;
  font-size: 45px;
  line-height: 1.2;
}

.type-card__click {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.type-card--blue {
  color: var(--blue);
}

.type-card--blue .type-card__click {
  background-color: var(--blue);
}

.type-card--pink {
  color: var(--pink);
}

.type-card--pink .type-card__click {
  background-color: var(--pink);
}

/* ========================================
   講座説明モーダル
======================================== */

.course-type-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 40px;
}

.course-type-modal.is-open {
  display: flex;
}

.course-type-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.course-type-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 860px;
  max-height: calc(100vh - 80px);
  padding: 42px 60px 30px;
  overflow-y: auto;
  border: 3px solid #1575b6;
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
}

/* トップリーダー用 */
.course-type-modal__dialog.is-blue {
  border-color: #1575b6;
}

.course-type-modal__dialog.is-blue .course-type-modal__title {
  color: #1575b6;
  border-color: #1575b6;
}

.course-type-modal__dialog.is-blue .course-type-modal__close {
  border-color: #1575b6;
  color: #1575b6;
}

/* 未来発見講座用 */
.course-type-modal__dialog.is-pink {
  border-color: #e66295;
}

.course-type-modal__dialog.is-pink .course-type-modal__title {
  color: #e66295;
  border-color: #e66295;
}

.course-type-modal__dialog.is-pink .course-type-modal__close {
  border-color: #e66295;
  color: #e66295;
}

.course-type-modal__title {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 0 10px 8px;
  border-bottom: 2px dotted currentColor;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.course-type-modal__text {
  color: #222222;
  font-size: 18px;
  line-height: 2;
  text-align: left;
}

.course-type-modal__text p {
  margin: 0 0 20px;
  line-height: 1.5;
}

.course-type-modal__text p:last-child {
  margin-bottom: 0;
}

.course-type-modal__close {
  display: block;
  width: 190px;
  min-height: 38px;
  margin: 34px auto 0;
  padding: 6px 20px;
  border: 1px solid;
  border-radius: 7px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.course-type-modal__dialog.is-blue .course-type-modal__close:hover {
  background-color: #1575b6;
  color: #ffffff;
}

.course-type-modal__dialog.is-pink .course-type-modal__close:hover {
  background-color: #e66295;
  color: #ffffff;
}

.course-type-modal__close:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

body.is-course-type-modal-open {

}

/* ========================================
   offer
======================================== */

.offer {
  position: relative;
}

.offer__headline {
  position: relative;
  margin: 0;
  color: var(--green-dark);
  text-align: left;
}

.offer__main-title {
  margin: 0 0 46px;
  color: var(--green-dark);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.55;
}

.offer__main-title .offer__highlight {
  color: #d14435;
}

.offer__description {
  color: #111111;
}

.offer__description-block {
  margin: 0 0 48px;
}

.offer__description-block:last-child {
  margin-bottom: 0;
}

.offer__description-block .green-attention-text {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
}

.offer__description-block .small-text {
  display: block;
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.7;
}

/*
 * 閉じた状態で430pxまで完全表示
 * 実際の初期高さはJSがdata-collapsed-heightから設定
 */
.top-detail--offer .top-detail__content {
  height: 303px;
}

.offer__summary {
  max-width: 690px;
  margin: 46px auto 38px;
  padding: 28px;
  border-radius: 10px;
  background-color: rgba(204, 232, 229, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.offer__summary h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.offer__summary p {
  margin: 0;
  font-weight: 600;
  line-height: 1.7;
}
.primary-button {
  display: block;
  width: fit-content;
  margin:40px auto 40px auto;
  padding: 17px 34px;
  color: #fff;
  font-size: 35px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(#e14935, #c92e1f);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 5px 0 #9e2116;
  cursor: pointer;
}

.primary-button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #9e2116;
}

.close-button{display: block;
  width: fit-content;
  margin:40px auto 40px auto;
  padding: 17px 34px;
  color: black;
  font-size: 35px;
  font-weight: 450;
  text-align: center;
  text-decoration: none;
  background: white;
  border: 1px solid #000000;
  border-radius: 8px;
  cursor: pointer;
}


/* ========================================
   お申し込み概要
======================================== */

.overview {
  width: 100%;
}

.overview__title {
  margin-top: 58px;
  margin-bottom: 38px;
  color: var(--green-dark);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 40px;
  width: 100%;
  margin: 0 auto;
}

.overview-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 24px 46px;
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 72, 62, 0.16);
  color: #111111;
}

.overview-card--compact {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overview-card--course,
.overview-card--price {
  min-height: 240px;
}

.overview-card__title {
  margin: 0 0 20px;
  color: #111111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.overview-card--compact .overview-card__title {
  margin-bottom: 16px;
}

.overview-card__text {
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.overview-card__lead {
  margin: 0 0 28px;
  color: #111111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

/* 対象講座 */
.overview-course-list {
  width: 100%;
}

.overview-course-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 78px;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.overview-course-list__item:last-child {
  margin-bottom: 0;
}

.overview-course-list__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.overview-course-list__name--blue {
  color: var(--blue);
}

.overview-course-list__name--pink {
  color: var(--pink);
}

.overview-course-list__arrow {
  color: #333333;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.overview-course-list__count {
  color: #111111;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

/* 費用 */
.overview-card__price-description {
  margin: 0 0 20px;
  color: #111111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.overview-card__price-description strong {
  font-size: 17px;
  font-weight: 800;
}

.overview-card__special-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0 0 4px;
  line-height: 1.35;
  white-space: nowrap;
}

.overview-card__special-price strong {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
}

.overview-card__special-price span {
  color: #333333;
  font-size: 19px;
  font-weight: 700;
}

.overview-card__special-price em {
  color: #d24335;
  font-size: 21px;
  font-style: normal;
  font-weight: 800;
}

.overview-card__normal-price {
  margin: 0;
  color: #555555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.overview-card__normal-price del {
  text-decoration-thickness: 1px;
}

.overview-card__note {
  margin: 26px 0 0;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* ========================================
   参加型の学びのサイクル
======================================== */

.cycle {
  background-color: var(--aqua);
}

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.cycle-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  box-sizing: border-box;
  padding: 24px 20px 56px;
  overflow: hidden;
  border-radius: 14px;
  background:#009380;
  box-shadow: var(--shadow);
  color: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cycle-card__click {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 6;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #009c84;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.cycle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 80, 68, 0.25);
}

.cycle-card--lower {
  margin-top: 72px;
}

.cycle-card__number {
  position: absolute;
  top: 15px;
  left: 16px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.cycle-card h3 {
  min-height: 70px;
  margin: 0 0 10px 45px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
}

.cycle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 110px;
  margin: 12px 0;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  background-color: #009380;
}

.cycle-card__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cycle-card p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

/* カード全体をクリック可能にする */
.cycle-card__open {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background-color: transparent;
  cursor: pointer;
}

.cycle-card__open:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: -7px;
}

/* ========================================
   サイクルモーダル
======================================== */

.cycle-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 30px;
}

.cycle-modal.is-open {
  display: flex;
}

/* 背景 */
.cycle-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

/* ========================================
   サイクルモーダル
======================================== */

.cycle-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 30px;
}

.cycle-modal.is-open {
  display: flex;
}

/* 背景 */
.cycle-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

/* ========================================
   モーダル本体
======================================== */

.cycle-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 620px;
  max-height: calc(100vh - 60px);
  padding: 42px 26px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 3px solid #009c84;
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35);
  overscroll-behavior: contain;
}

/* ========================================
   左上の番号・項目名
======================================== */

.cycle-modal__badge {
  position: absolute;
  top: -3px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 54px;
  padding: 4px 16px 4px 10px;
  border-radius: 0 0 6px 6px;
  background-color: #009c84;
  color: #ffffff;
}

.cycle-modal__number {
  margin-right: 9px;
  font-size: 43px;
  font-weight: 900;
  line-height: 1;
}

.cycle-modal__label {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* ========================================
   タイトル
======================================== */

.cycle-modal__title {
  box-sizing: border-box;
  width: 430px;
  margin: 14px auto 28px;
  padding: 0 10px 15px;
  border-bottom: 1px dotted #67aea3;
  color: #111111;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* ========================================
   説明文
======================================== */

.cycle-modal__description {
  width: 100%;
  margin: 0 0 28px;
  color: #111111;
  font-size: 17px;
  font-weight: 600;
  line-height: 0.5;
  text-align: left;
}

.cycle-modal__description p {
  margin: 0 0 24px;
  line-height: 1.5;
}

.cycle-modal__description p:last-child {
  margin-bottom: 0;
  line-height: 1.5;
}
/* ========================================
   画像1枚
======================================== */

.cycle-modal__gallery {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #eeeeee;
}

.cycle-modal__photo {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: #eeeeee;
}

.cycle-modal__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* ========================================
   閉じるボタン
======================================== */

.cycle-modal__close {
  display: block;
  box-sizing: border-box;
  width: 180px;
  min-height: 36px;
  margin: 0 auto;
  padding: 6px 24px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-color: #009c84;
  box-shadow:
    0 0 0 2px #009c84;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.cycle-modal__close:hover {
  background-color: #007f6e;
}

.cycle-modal__close:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

body.is-cycle-modal-open {
  overflow: hidden;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 9px 18px;
  color: #35544e;
  background: #fff;
  border: 1px solid #b8ccc8;
  border-radius: 999px;
  cursor: pointer;
}

.filter-tab.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.course-card {
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.course-card[hidden] {
  display: none;
}

.course-card__heading {
  padding: 10px 18px;
  color: #fff;
  font-size: 18px;
  font-weight: nomal;
  text-align: center;
  background: var(--green);
}

.course-card__body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 24px;
}

.course-card__category {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.course-card h3 {
  margin: 0;
  font-size: 22px;
}

.course-card__lecturer {
  margin: 6px 0 10px;
  font-weight: 800;
}

.course-card__description {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.application {
  min-height: 620px;
  background: #cce8e5;
}

.application-form {
  padding: 34px;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.application-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.application-form input,
.application-form textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #9ebcb6;
  border-radius: 6px;
}

.form-message {
  margin-top: 22px;
}



.primary-button--submit {
  margin-top: 28px;
}

.attention-text{
  color: #d14435;
}



/* ========================================
   講座説明・続きを読む
======================================== */

.course-types__note-wrap {
  text-align: center;
}

.course-types__more-button:hover {
  border: none;
  color: blue;
  transform: translateY(-2px);
}

/* ========================================
   講座説明・続きを読む
======================================== */

.course-types__note-wrap {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

.course-types__note {
  margin: 0;
  color: #111111;
  font-size: 23px;
  font-weight: bold;
  line-height: 2.15;
  text-align: center;
}

.course-types__note-emphasis {
  color: #c92520;
}

.course-types__more-button {
  display: inline;
  margin: 0 0 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font-family: inherit;
  font-size: 18px;
  font-weight: bold;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}

.course-types__more-button:focus-visible {
  outline: 2px solid #009380;
  outline-offset: 4px;
}


.course-types__note-wrap {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

.course-types__note {
  margin: 0;
  color: #111111;
  font-size: 18px;
  font-weight: bold;
  line-height: 2.15;
  text-align: center;
}

.course-types__note-emphasis {
  color: #111111;
}

.course-types__more-button {
  display: inline;
  margin: 0 0 0 20px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #111111;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  line-height: inherit;
  cursor: pointer;
}

.course-types__more-button:hover {
  color: #009380;
  text-decoration: underline;
}

.detail-toggle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 140px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #333;
}

.detail-toggle2 {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 140px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  color: #000;
  background: #fff;
  border: 1px solid #333;
}

/* ========================================
   文章アコーディオン
======================================== */

.top-detail {
  position: relative;
  width: 100%;
  height: auto;
  margin: 28px auto 0;
  padding: 0;
  overflow: visible;
}

/*
 * 以前のグラデーション指定が残っていても
 * 表示されないようにする
 */
.top-detail::before,
.top-detail::after {
  display: none;
  content: none;
}

/* 文章を途中まで表示する領域 */
.top-detail__content {
  position: relative;
  height: 90px;
  overflow: hidden;
  transition: height 0.4s ease;
}

/*
 * 半透明化は行わない
 * 文章は最後まで通常の濃さで表示する
 */
.top-detail__content::before,
.top-detail__content::after {
  display: none;
  content: none;
}

/* ボタンを文章に重ねず、下へ配置 */
.top-detail__actions {
  margin-top: 24px;
  text-align: center;
}

.detail-toggle {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid #333333;
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  transform: none;
}

.detail-toggle:hover {
  border-color: #009c84;
  background-color: #009c84;
  color: #ffffff;
}

.detail-toggle:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 4px;
}

.detail-text {
  margin: 0;
  color: #111111;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.8;
}

.attention-text {
  color: #d14435;
}

.small-text {
  color: #000000;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.65;
}

.green-attention-text {
  color: var(--green-dark);
}

/* ==============================
   左側の紹介カード
============================== */

.pickup-card {
  position: relative;
  width: min(94vw, 50rem);
  padding: 4.3rem 1.6rem 1.5rem;
  background: #ffffff;
  border: 0.22rem solid #009b83;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.2rem rgb(0 0 0 / 8%);
  flex-direction: column;
  margin: 60px auto;
}


.pickup-card__label {
  position: absolute;
  top: -0.15rem;
  left: -0.15rem;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 1.4rem;
  color: #ffffff;
  background: #009b83;
  border-radius: 0.8rem 0 0.8rem 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.pickup-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.pickup-card__profile {
  flex: 1;
}

.pickup-card__name {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 3.7vw, 2.3rem);
  line-height: 1.25;
}

.pickup-card__name span {
  margin-left: 0.25em;
  font-size: 0.7em;
}

.pickup-card__name,
.modal__name {
  font-weight: 800;
}

.pickup-card__name span,
.modal__name span {
  font-weight: inherit;
}

.pickup-card__career {
  margin: 0;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  line-height: 1.55;
}

.pickup-card__visual {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pickup-card__image {
  width: clamp(6.5rem, 16vw, 9rem);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.4rem;
}

.award-badge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: clamp(6rem, 13vw, 7.2rem);
  height: clamp(6rem, 13vw, 7.2rem);
  margin: 0;
  padding: 0.45rem;

  color: #ffffff;
  background: #a50000;
  border-radius: 50%;

  text-align: center;
  font-size: clamp(1rem, 1.7vw, 1rem);
  font-weight: 700;
  line-height: 1.15;
}

.award-badge__year {
  font-size: 2em;
}

.award-badge__prize {
  white-space: nowrap;
  font-size: 3em;
}

.award-badge span {
  font-size: 0.8em;
}

.pickup-card__catch {
  margin: 1.2rem 0;
  color: #009b83;
  font-size: clamp(1.1rem, 2.7vw, 1.55rem);
  line-height: 1.55;
}

.pickup-card__lecture {
  margin: 0 0 1.4rem;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border-radius: 0.4rem;
  box-shadow: 0 0.25rem 0.45rem rgb(0 0 0 / 25%);
  line-height: 1;
}

.pickup-card__lecture p {
  margin: 0;
  font-size: clamp(0.78rem, 1.7vw, 0.95rem);
}

.pickup-card__lecture-label {
  margin-bottom: 0.25rem !important;
  color: #009b83;
  font-weight: 700;
}

.detail-button {
  display: block;
  width: min(80%, 24rem);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  color: #ffffff;
  background: #009b83;
  border: none;
  border-radius: 100vmax;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.detail-button:hover {
  opacity: 0.82;
  transform: translateY(-0.1rem);
}


/* ==============================
   PICK UP講師モーダル PC
============================== */

.teacher-modal[hidden] {
  display: none !important;
}

.teacher-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 30px;
}

.teacher-modal__overlay,
.teacher-modal .modal__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.teacher-modal .modal__content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 800px;
  max-height: calc(100vh - 60px);
  padding: 20px 18px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 3px solid #009b83;
  border-radius: 13px;
  background-color: #ffffff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  overscroll-behavior: contain;
}

.teacher-modal .modal__close-icon {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 0 1px;
  border: 0;
  border-radius: 50%;
  background-color: #009b83;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.teacher-modal .modal__close-icon:hover {
  background-color: #007d6a;
  transform: scale(1.05);
}

.teacher-modal .modal__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 125px 185px;
  gap: 18px;
  align-items: start;
  padding-right: 38px;
}

.teacher-modal .modal__profile {
  min-width: 0;
}

.teacher-modal .modal__name {
  display: inline-flex;
  align-items: baseline;
  margin: 0 0 15px;
  padding: 9px 16px 10px;
  border-radius: 8px;
  background-color: #009b83;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.teacher-modal .modal__name span {
  margin-left: 0.3em;
  font-size: 0.58em;
  font-weight: 800;
}

.teacher-modal .modal__career {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.teacher-modal .award-badge--modal {
  align-self: start;
  width: 118px;
  height: 118px;
  margin: 0 auto;
  padding: 12px 8px;
  background-color: #b00000;
  font-size: 15px;
  line-height: 1.05;
}

.teacher-modal .award-badge--modal .award-badge__year {
  font-size: 0.9em;
}

.teacher-modal .award-badge--modal .award-badge__prize {
  font-size: 0.9em;
  white-space: nowrap;
}

.teacher-modal .modal__image {
  display: block;
  width: 185px;
  height: 205px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}

.teacher-modal .modal__catch {
  margin: -62px 220px 14px 0;
  color: #009b83;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.42;
}

.teacher-modal .modal__article {
  display: grid;
  gap: 10px;
}

.teacher-modal .modal__section {
  margin: 0;
  padding: 10px 12px 11px;
  border: 1px solid #d7e3e0;
  border-radius: 7px;
  background-color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.teacher-modal .modal__section h3 {
  margin: 0 0 4px;
  color: #111111;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.teacher-modal .modal__section p {
  margin: 0;
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.teacher-modal .modal__close-button {
  display: block;
  width: 180px;
  min-height: 34px;
  margin: 16px auto 0;
  padding: 4px 24px;
  border: 0;
  border-radius: 999px;
  background-color: #009b83;
  color: #ffffff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.teacher-modal .modal__close-button:hover {
  background-color: #007d6a;
  transform: translateY(-1px);
}

.teacher-modal .modal__close-icon:focus-visible,
.teacher-modal .modal__close-button:focus-visible {
  outline: 3px solid rgba(0, 156, 132, 0.35);
  outline-offset: 3px;
}

body.is-teacher-modal-open {
  overflow: hidden;
}

