@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* クラスページのスタイル */
.class-page-container {
  width: 75vw;
  min-width: 880px;
  margin: 0 auto;
  padding: 40px 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: var(--black);
}

.takamatsu-classrooms-page {
  background-color: var(--white);
  padding-bottom: 100px;
}
.takamatsu-classrooms-page h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.contact-link {
  font-weight: 400;
  text-decoration: underline;
  color: #2b6ca4 !important;
}
.contact-link:hover {
  opacity: 0.8;
}

.section-title {
  margin-bottom: 30px;
}

.section-title-en {
  margin-bottom: 40px;
}

.classrooms-sp-only {
  display: none;
}

table {
  width: 80%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0 auto;
  background: white;
  overflow: hidden;
}
table thead th {
  color: white;
  padding: 15px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 0.75rem + 0.42vw, 1.25rem); /* 20~16px */
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
}
table thead th:not(:last-child) {
  border-right: 1px solid white;
}
table tbody td {
  border: 1px solid var(--black);
  padding: 15px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 0.75rem + 0.42vw, 1.25rem); /* 20~16px */
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  background: white;
}
table tbody .grade-cell {
  font-weight: 700;
  vertical-align: middle;
}

/* ヘッダー部分 */
.class-header {
  text-align: center;
  margin: 60px 0;
  margin-bottom: 180px;
}

/* ヘッダー部分 */
.class-header {
  text-align: center;
  margin-bottom: 60px;
}
.class-header .class-title {
  font-size: 42px;
  font-weight: bold;
  color: #005fb3;
  letter-spacing: 1px;
  margin: 10px 0;
}
.class-header .class-subtitle {
  font-size: 30px;
  color: #005fb3;
  font-family: "Anuphan";
  margin-bottom: 25px;
  font-weight: normal;
  font-weight: bold;
  margin: 10px 0;
}
.class-header .class-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 5%;
  text-align: center;
}

/* タブナビゲーション */
.class-tabs {
  width: 100%;
}
.class-tabs .tab-buttons {
  display: flex;
  background: #f5f5f5;
  margin-bottom: 0;
}
.class-tabs .tab-buttons .tab-button {
  flex: 1;
  padding: 15px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: clamp(1rem, 0.625rem + 0.63vw, 1.375rem); /* 22~16px */
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  color: white;
}
.class-tabs .tab-buttons .tab-button:first-child {
  background: var(--pink);
}
.class-tabs .tab-buttons .tab-button:first-child:not(.active) {
  background: var(--pink);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(2) {
  background: var(--green);
}
.class-tabs .tab-buttons .tab-button:nth-child(2):not(.active) {
  background: var(--green);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(3) {
  background: var(--yellow);
}
.class-tabs .tab-buttons .tab-button:nth-child(3):not(.active) {
  background: var(--yellow);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(4) {
  background: var(--navy);
}
.class-tabs .tab-buttons .tab-button:nth-child(4):not(.active) {
  background: var(--navy);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(5) {
  background: var(--purple);
}
.class-tabs .tab-buttons .tab-button:nth-child(5):not(.active) {
  background: var(--purple);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button.active {
  opacity: 1;
}
.class-tabs .tab-buttons .tab-button:hover {
  opacity: 0.8;
}
.class-tabs .tab-content {
  background: white;
  min-height: 600px;
}
.class-tabs .tab-content .tab-panel {
  display: none;
  padding: 60px 80px;
}
.class-tabs .tab-content .tab-panel.active {
  display: block;
}

.class-content {
  width: 100%;
  margin: 0 auto;
}
.class-content .class-content-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 40px;
}

/* 画像セクション */
.class-image-section {
  text-align: center;
  margin: 30px 0;
  width: 100%;
}
.class-image-section .class-image {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* テキストコンテンツ */
.class-text-content {
  margin: 40px 0;
}
.class-text-content .class-intro-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: left;
}

/* お知らせセクション */
.notice-section {
  background: white;
  padding: 25px;
  margin: 40px 0;
  text-align: center;
}
.notice-section .notice-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}
.notice-section .notice-content {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: left;
}

/* スケジュールテーブル */
.schedule-section {
  margin: 60px 0;
}
.schedule-section .schedule-title {
  color: var(--pink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 30px;
}
.schedule-section .schedule-notes {
  padding: 20px 0;
  font-size: 18px;
  color: var(--black);
  text-align: left;
  width: 80%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.schedule-section .schedule-notes .schedule-notes-content {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: left;
  padding: 0;
  margin: 0px;
}
.schedule-section .schedule-notes .schedule-notes-remarks {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0%;
  padding: 0;
  margin: 0px;
}
.schedule-section .schedule-notes p {
  padding: 0;
  margin: 0;
  font-size: 18px;
}

/* 入試までの流れ */
.flow-section {
  margin: 40px 0;
}
.flow-section .flow-title {
  font-size: 30px;
  color: var(--pink);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}
.flow-section .flow-image-container {
  text-align: left;
  margin: 20px 0;
  background: #fafafa;
  border-radius: 10px;
}
.flow-section .flow-image-container .flow-image {
  width: 100%;
  height: auto;
}

/* メッセージセクション */
.message-section {
  margin: 40px 0;
  background: white;
  padding: 30px;
  border-radius: 5px;
}
.message-section .message-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.message-section .message-content {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.625rem + 0.42vw, 1.125rem); /*1920px~960pxで18px~14px*/
  line-height: 140%;
  letter-spacing: 5%;
  color: var(--black);
  text-align: left;
  margin-bottom: 20px;
}
.message-section .message-content p {
  margin: 0;
  padding: 0;
}
.message-section .message-content-2 {
  border-top: 1px solid black;
  padding-top: 40px;
}
.message-section .message-signature {
  text-align: right;
}
.message-section .message-signature .class-name {
  margin-top: 10px;
  margin-bottom: 3px;
}

/* 情報セクション */
.info-sections {
  margin: 30px 0;
}
.info-sections .info-section {
  margin: 6px 2px;
  border-bottom: 1px solid #000000;
  padding-bottom: 10px;
}
.info-sections .info-section .info-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  padding: 2px 2px;
}
.info-sections .info-section p {
  font-size: 18px;
  color: var(--black);
  margin: 0;
  padding: 0;
}
.info-sections .info-section p:last-child {
  margin-bottom: 0;
}
.info-sections .info-section .info-section-remark {
  font-size: 14px;
}

/* 各タブ用の色設定 */
#fuzoku-shogaku-juken {
  background: #FFF7FB;
}
#fuzoku-shogaku-juken .class-content-title,
#fuzoku-shogaku-juken .notice-title,
#fuzoku-shogaku-juken .schedule-title,
#fuzoku-shogaku-juken .flow-title,
#fuzoku-shogaku-juken .message-title,
#fuzoku-shogaku-juken .info-title {
  color: var(--pink);
}
#fuzoku-shogaku-juken table {
  border: solid 1.5px var(--pink);
}
#fuzoku-shogaku-juken table th {
  background: var(--pink);
}
#fuzoku-shogaku-juken table tbody td {
  border: 1px solid var(--pink);
}
#fuzoku-shogaku-juken table tbody .grade-cell {
  color: var(--pink);
}

/* 2番目のタブ */
#fuzoku-shogaku-senmon {
  background: #F3F9F7;
}
#fuzoku-shogaku-senmon .class-content-title,
#fuzoku-shogaku-senmon .notice-title,
#fuzoku-shogaku-senmon .schedule-title,
#fuzoku-shogaku-senmon .elective-title,
#fuzoku-shogaku-senmon .message-title,
#fuzoku-shogaku-senmon .enrollment-title {
  color: var(--green);
}
#fuzoku-shogaku-senmon .notice-section {
  background: white;
}
#fuzoku-shogaku-senmon table {
  border: solid 1.5px var(--green);
  font-size: 20px;
}
#fuzoku-shogaku-senmon table th {
  background: var(--green);
}
#fuzoku-shogaku-senmon table tbody td {
  border: 1px solid var(--green);
}
#fuzoku-shogaku-senmon table tbody .grade-cell {
  color: var(--green);
}

/* 3番目のタブ */
#public-shogaku {
  background: #fffdf6;
}
#public-shogaku .class-content-title,
#public-shogaku .notice-title,
#public-shogaku .course-title,
#public-shogaku .exam-course-title,
#public-shogaku .message-title,
#public-shogaku .enrollment-title {
  color: var(--yellow-text);
}
#public-shogaku .notice-section {
  background: white;
}
#public-shogaku table {
  border: solid 1.5px var(--yellow-text);
}
#public-shogaku table th {
  background: var(--yellow-text);
}
#public-shogaku table tbody td {
  border: 1px solid var(--yellow-text);
}
#public-shogaku table tbody .grade-cell {
  color: var(--yellow-text);
}

/* 4番目のタブ */
#fuzoku-takamatsu-chugaku {
  background-color: #f6fcff;
}
#fuzoku-takamatsu-chugaku .class-content-title,
#fuzoku-takamatsu-chugaku .notice-title,
#fuzoku-takamatsu-chugaku .subject-info-title,
#fuzoku-takamatsu-chugaku .regular-class-title,
#fuzoku-takamatsu-chugaku .message-title,
#fuzoku-takamatsu-chugaku .enrollment-title {
  color: var(--navy);
}
#fuzoku-takamatsu-chugaku .notice-section {
  background: white;
}
#fuzoku-takamatsu-chugaku table {
  border: solid 1.5px var(--navy);
}
#fuzoku-takamatsu-chugaku table th {
  background: var(--navy);
}
#fuzoku-takamatsu-chugaku table tbody td {
  border: 1px solid var(--navy);
}
#fuzoku-takamatsu-chugaku table tbody .grade-cell {
  color: var(--navy);
}

/* 5番目のタブ */
#shiun-chugaku {
  background-color: #FEFBFF;
}
#shiun-chugaku .class-content-title,
#shiun-chugaku .notice-title,
#shiun-chugaku .shiun-subject-info-title,
#shiun-chugaku .shiun-regular-class-title,
#shiun-chugaku .message-title,
#shiun-chugaku .enrollment-title {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--purple);
}
#shiun-chugaku .notice-section {
  background: #ffffff;
}
#shiun-chugaku table {
  border: solid 1.5px var(--purple);
}
#shiun-chugaku table th {
  background: var(--purple);
}
#shiun-chugaku table tbody td {
  border: 1px solid var(--purple);
}
#shiun-chugaku table tbody .grade-cell {
  color: var(--purple);
}

/* 選択講座セクション */
.elective-section {
  margin: 40px 0;
}
.elective-section .elective-title {
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.elective-section .elective-description {
  width: 80%;
  max-width: 800px;
  margin: auto;
  text-align: left;
  margin-bottom: 0px;
  padding: 0;
  color: var(--black);
  font-size: 18px;
}
.elective-section .elective-note {
  width: 80%;
  max-width: 800px;
  margin: auto;
  text-align: left;
  color: var(--black);
  font-size: 18px;
}
.elective-section .elective-note {
  margin-bottom: 18px;
  margin-bottom: 30px;
  margin-top: 0px;
  color: var(--black);
  font-size: 14px;
}
.elective-section .elective-notes {
  width: 80%;
  margin-top: 25px;
  padding: 20px 0;
  font-size: 18px;
  color: var(--black);
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}
.elective-section .elective-notes p {
  margin-bottom: 5px;
}

/* コースセクション */
.course-section,
.exam-course-section {
  margin: 40px 0;
}
.course-section .course-title,
.course-section .exam-course-title,
.exam-course-section .course-title,
.exam-course-section .exam-course-title {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--yellow-text);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.course-section .course-description,
.course-section .course-note,
.course-section .exam-course-description,
.course-section .exam-course-note,
.exam-course-section .course-description,
.exam-course-section .course-note,
.exam-course-section .exam-course-description,
.exam-course-section .exam-course-note {
  width: 80%;
  max-width: 800px;
  margin: auto;
  text-align: left;
  padding: 0;
  font-size: 18px;
  padding: 0;
}
.course-section table,
.exam-course-section table {
  margin-top: 12px;
}
.course-section .course-notes,
.course-section .exam-course-notes,
.exam-course-section .course-notes,
.exam-course-section .exam-course-notes {
  padding: 20px 0;
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}
.course-section .course-notes p,
.course-section .exam-course-notes p,
.exam-course-section .course-notes p,
.exam-course-section .exam-course-notes p {
  margin: 0;
  padding: 0;
}
.course-section .course-notes .content,
.course-section .exam-course-notes .content,
.exam-course-section .course-notes .content,
.exam-course-section .exam-course-notes .content {
  font-size: 18px;
  padding: 0;
  margin: 0px;
}
.course-section .course-notes .remarks,
.course-section .exam-course-notes .remarks,
.exam-course-section .course-notes .remarks,
.exam-course-section .exam-course-notes .remarks {
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.subject-info-section .subject-courses .course-item .course-item-title {
  background: var(--navy);
}

.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title {
  background: var(--purple);
}

/* 科目情報セクション */
.subject-info-section,
.shiun-subject-info-section {
  margin: 40px 0;
}
.subject-info-section .subject-info-title,
.subject-info-section .shiun-subject-info-title,
.shiun-subject-info-section .subject-info-title,
.shiun-subject-info-section .shiun-subject-info-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.subject-info-section .subject-info-description,
.subject-info-section .shiun-subject-info-description,
.shiun-subject-info-section .subject-info-description,
.shiun-subject-info-section .shiun-subject-info-description {
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  margin-bottom: 25px;
  font-size: 18px;
}
.subject-info-section .shiun-subject-info-description,
.subject-info-section .shiun-subject-courses,
.shiun-subject-info-section .shiun-subject-info-description,
.shiun-subject-info-section .shiun-subject-courses {
  width: 80%;
  max-width: 900px;
  margin: auto;
  margin-bottom: 20px;
}
.subject-info-section .subject-courses,
.shiun-subject-info-section .subject-courses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.subject-info-section .subject-courses .course-item,
.subject-info-section .subject-courses .shiun-course-item,
.shiun-subject-info-section .subject-courses .course-item,
.shiun-subject-info-section .subject-courses .shiun-course-item {
  background-color: white;
  margin-top: 0px;
  color: black;
  text-align: left;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.subject-info-section .subject-courses .course-item h4,
.subject-info-section .subject-courses .shiun-course-item h4,
.shiun-subject-info-section .subject-courses .course-item h4,
.shiun-subject-info-section .subject-courses .shiun-course-item h4 {
  font-family: "Noto Sans JP", sans-serif;
  color: white;
  padding: 20px 15px;
  margin: 0px;
}
.subject-info-section .subject-courses .course-item .course-item-title h4,
.subject-info-section .subject-courses .course-item .shiun-course-item-title h4,
.subject-info-section .subject-courses .shiun-course-item .course-item-title h4,
.subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title h4,
.shiun-subject-info-section .subject-courses .course-item .course-item-title h4,
.shiun-subject-info-section .subject-courses .course-item .shiun-course-item-title h4,
.shiun-subject-info-section .subject-courses .shiun-course-item .course-item-title h4,
.shiun-subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title h4 {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  margin: 0;
}
.subject-info-section .subject-courses .course-item .course-item-description,
.subject-info-section .subject-courses .course-item .shiun-course-item-description,
.subject-info-section .subject-courses .shiun-course-item .course-item-description,
.subject-info-section .subject-courses .shiun-course-item .shiun-course-item-description,
.shiun-subject-info-section .subject-courses .course-item .course-item-description,
.shiun-subject-info-section .subject-courses .course-item .shiun-course-item-description,
.shiun-subject-info-section .subject-courses .shiun-course-item .course-item-description,
.shiun-subject-info-section .subject-courses .shiun-course-item .shiun-course-item-description {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  flex-grow: 1;
  padding: 10px 15px;
  margin: 0;
  background-color: white;
}
.subject-info-section .shiun-subject-courses,
.shiun-subject-info-section .shiun-subject-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.subject-info-section .shiun-subject-courses .course-item,
.subject-info-section .shiun-subject-courses .shiun-course-item,
.shiun-subject-info-section .shiun-subject-courses .course-item,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item {
  color: black;
  text-align: left;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.subject-info-section .shiun-subject-courses .course-item h4,
.subject-info-section .shiun-subject-courses .shiun-course-item h4,
.shiun-subject-info-section .shiun-subject-courses .course-item h4,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item h4 {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--purple);
  color: white;
  padding: 10px 15px;
}
.subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
.subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
.subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
.subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
  margin: 0;
}
.subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
.subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
.subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
.subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4 {
  margin: 0px;
}
.subject-info-section .shiun-subject-courses .course-item .course-item-description,
.subject-info-section .shiun-subject-courses .course-item .shiun-course-item-description,
.subject-info-section .shiun-subject-courses .shiun-course-item .course-item-description,
.subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-description,
.shiun-subject-info-section .shiun-subject-courses .course-item .course-item-description,
.shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-description,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-description,
.shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  flex-grow: 1;
  padding: 10px 15px;
  margin: 0;
  background-color: white;
}
.subject-info-section .term-schedule,
.shiun-subject-info-section .term-schedule {
  padding: 20px 0;
  border-radius: 8px;
  margin-top: 20px;
}
.subject-info-section .term-schedule img,
.shiun-subject-info-section .term-schedule img {
  width: 100%;
}

/* 通常授業セクション */
.regular-class-section,
.shiun-regular-class-section {
  margin: 40px 0;
}
.regular-class-section .regular-class-title,
.regular-class-section .shiun-regular-class-title,
.shiun-regular-class-section .regular-class-title,
.shiun-regular-class-section .shiun-regular-class-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* 入会セクション */
.enrollment-section {
  margin: 40px 0;
  padding: 25px 0;
  border-bottom: 1px solid black;
}
.enrollment-section .enrollment-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
}
.enrollment-section p {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.google-map-container {
  background-color: white;
}
.google-map-container iframe {
  border: none;
  margin: 0px;
  width: 100%;
  height: 26.0416666667vw;
  overflow: hidden;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  /* クラスページのスタイル */
  .class-page-container {
    width: 100%;
    min-width: auto;
    margin: 0 auto;
    padding: 40px 0;
  }
  .takamatsu-classrooms-page {
    margin-bottom: auto;
  }
  .takamatsu-classrooms-page h3 {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .section-title {
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .section-title-en {
    margin-bottom: 20px;
  }
  table {
    width: 100%;
  }
  table thead th {
    padding: 10px 5px;
    font-size: 14px;
  }
  table tbody td {
    padding: 10px 5px;
    font-size: 14px;
    line-height: 150%;
  }
  .class-page-container {
    padding: 0;
    margin: 0;
  }
  .class-header {
    padding: 0 50px;
  }
  .class-header .class-description {
    font-size: 16px;
    text-align: left;
  }
  .class-tabs .tab-buttons {
    gap: 3px;
  }
  .class-tabs .tab-buttons .tab-button {
    font-size: clamp(0.75rem, 0.563rem + 0.94vw, 1.125rem); /* 960~320pxで18~12px */
    padding: 16px 8px;
  }
  .class-tabs .tab-content .tab-panel {
    padding: 50px;
  }
  .class-content .class-content-title {
    font-size: 26px;
    line-height: 150%;
    margin-bottom: 30px;
  }
  /* 画像セクション */
  .class-image-section {
    text-align: center;
    margin: 20px 0;
    width: 100%;
  }
  /* テキストコンテンツ */
  .class-text-content {
    margin: 30px 0;
  }
  .class-text-content .class-intro-text {
    text-align: left;
    font-size: 16px;
    line-height: 150%;
  }
  .schedule-section .schedule-notes {
    width: 100%;
    max-width: auto;
  }
  /* お知らせセクション */
  .notice-section {
    padding: 25px;
    margin: 30px 0;
    text-align: center;
  }
  .notice-section .notice-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 10px;
    font-weight: bold;
  }
  .notice-section .notice-content {
    font-size: 16px;
    text-align: left;
  }
  /* スケジュールテーブル */
  .schedule-section {
    margin: 30px 0;
  }
  .schedule-section .schedule-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .schedule-section .schedule-description {
    width: 100%;
    font-size: 16px;
  }
  .schedule-section .schedule-description:not(.schedule-description-center) {
    text-align: left;
  }
  .schedule-section .schedule-notes {
    width: 100%;
    padding: 10px 0;
  }
  .schedule-section .schedule-notes .schedule-notes-content {
    font-size: 16px;
    text-align: left;
  }
  .schedule-section .schedule-notes .schedule-notes-remarks {
    font-size: 12px;
  }
  /* 入試までの流れ */
  .flow-section .flow-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .flow-section .flow-image-container {
    padding: 0 100px;
    text-align: left;
    margin: 20px 0;
    border-radius: 10px;
  }
  /* メッセージセクション */
  .message-section {
    margin: 40px 0;
    background: white;
    padding: 20px;
    border-radius: 5px;
  }
  .message-section .message-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .message-section .message-content {
    font-size: 16px;
    color: var(--black);
    text-align: left;
    margin-bottom: 20px;
  }
  .message-section .message-content p {
    margin: 0;
    padding: 0;
    line-height: 140%;
  }
  .message-section .message-content-2 {
    border-top: 1px solid black;
    padding-top: 20px;
    line-height: 140%;
  }
  .message-section .message-signature {
    text-align: right;
  }
  .message-section .message-signature .class-name {
    font-size: 16px;
  }
  .message-section .message-signature .teacher-name {
    font-size: 16px;
  }
  /* 情報セクション */
  .info-sections {
    margin: 30px 0;
  }
  .info-sections .info-section {
    margin: 6px 2px;
    border-bottom: 1px solid #000000;
  }
  .info-sections .info-section .info-title {
    font-size: 18px;
    margin: 6px 0;
    padding: 2px 0;
  }
  .info-sections .info-section p {
    font-size: 16px;
  }
  .info-sections .info-section .info-section-remark {
    font-size: 12px;
  }
  /* 選択講座セクション */
  .elective-section {
    margin: 30px 0;
  }
  .elective-section .elective-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .elective-section .elective-description,
  .elective-section .elective-note {
    width: 100%;
    max-width: auto;
    text-align: left;
    font-size: 16px;
  }
  .elective-section .elective-note {
    margin-bottom: 18px;
    font-size: 12px;
  }
  .elective-section .elective-notes {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    text-align: left;
  }
  .elective-section .elective-notes p {
    margin-bottom: 5px;
  }
  /* コースセクション */
  .course-section,
  .exam-course-section {
    margin: 30px 0;
  }
  .course-section .course-title,
  .course-section .exam-course-title,
  .exam-course-section .course-title,
  .exam-course-section .exam-course-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  .course-section .course-description,
  .course-section .course-note,
  .course-section .exam-course-description,
  .course-section .exam-course-note,
  .exam-course-section .course-description,
  .exam-course-section .course-note,
  .exam-course-section .exam-course-description,
  .exam-course-section .exam-course-note {
    text-align: left;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    font-size: 16px;
    width: 100%;
    max-width: auto;
  }
  .course-section .course-notes,
  .course-section .exam-course-notes,
  .exam-course-section .course-notes,
  .exam-course-section .exam-course-notes {
    padding: 10px 0;
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .course-section .course-notes p,
  .course-section .exam-course-notes p,
  .exam-course-section .course-notes p,
  .exam-course-section .exam-course-notes p {
    margin: 0;
    padding: 0;
  }
  .course-section .course-notes .content,
  .course-section .exam-course-notes .content,
  .exam-course-section .course-notes .content,
  .exam-course-section .exam-course-notes .content {
    font-size: 16px;
    padding: 0;
    margin: 0px;
  }
  .course-section .course-notes .remarks,
  .course-section .exam-course-notes .remarks,
  .exam-course-section .course-notes .remarks,
  .exam-course-section .exam-course-notes .remarks {
    font-size: 12px;
    margin: 0;
    padding: 0;
  }
  /* 通常授業セクション */
  .regular-class-section,
  .shiun-regular-class-section {
    margin: 30px 0;
  }
  .regular-class-section .regular-class-title,
  .regular-class-section .shiun-regular-class-title,
  .shiun-regular-class-section .regular-class-title,
  .shiun-regular-class-section .shiun-regular-class-title {
    font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.5rem); /* 960~320で24~20px */
    margin-bottom: 16px;
  }
  /* 入会セクション */
  .enrollment-section {
    margin: 30px 0;
    padding: 10px 0;
  }
  .enrollment-section .enrollment-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .enrollment-section p {
    font-size: 16px;
    line-height: 150%;
  }
  /* 科目情報セクション */
  .subject-info-section,
  .shiun-subject-info-section {
    margin: 20px 0;
  }
  .subject-info-section .subject-info-title,
  .subject-info-section .shiun-subject-info-title,
  .shiun-subject-info-section .subject-info-title,
  .shiun-subject-info-section .shiun-subject-info-title {
    font-size: 24px;
  }
  .subject-info-section .subject-info-description,
  .subject-info-section .shiun-subject-info-description,
  .shiun-subject-info-section .subject-info-description,
  .shiun-subject-info-section .shiun-subject-info-description {
    margin-bottom: 20px;
    font-size: 16px;
  }
  .subject-info-section .subject-courses,
  .subject-info-section .shiun-subject-courses,
  .shiun-subject-info-section .subject-courses,
  .shiun-subject-info-section .shiun-subject-courses {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    max-width: auto;
    margin: 0 auto;
  }
  .subject-info-section .subject-courses .course-item,
  .subject-info-section .subject-courses .shiun-course-item,
  .subject-info-section .shiun-subject-courses .course-item,
  .subject-info-section .shiun-subject-courses .shiun-course-item,
  .shiun-subject-info-section .subject-courses .course-item,
  .shiun-subject-info-section .subject-courses .shiun-course-item,
  .shiun-subject-info-section .shiun-subject-courses .course-item,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item {
    color: var(--black);
    text-align: left;
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
  }
  .subject-info-section .subject-courses .course-item .course-item-title,
  .subject-info-section .subject-courses .course-item .shiun-course-item-title,
  .subject-info-section .subject-courses .shiun-course-item .course-item-title,
  .subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title,
  .subject-info-section .shiun-subject-courses .course-item .course-item-title,
  .subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title,
  .subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title,
  .subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title,
  .shiun-subject-info-section .subject-courses .course-item .course-item-title,
  .shiun-subject-info-section .subject-courses .course-item .shiun-course-item-title,
  .shiun-subject-info-section .subject-courses .shiun-course-item .course-item-title,
  .shiun-subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title,
  .shiun-subject-info-section .shiun-subject-courses .course-item .course-item-title,
  .shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    width: 30%;
  }
  .subject-info-section .subject-courses .course-item .course-item-title h4,
  .subject-info-section .subject-courses .course-item .shiun-course-item-title h4,
  .subject-info-section .subject-courses .shiun-course-item .course-item-title h4,
  .subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title h4,
  .subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
  .subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
  .subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
  .subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4,
  .shiun-subject-info-section .subject-courses .course-item .course-item-title h4,
  .shiun-subject-info-section .subject-courses .course-item .shiun-course-item-title h4,
  .shiun-subject-info-section .subject-courses .shiun-course-item .course-item-title h4,
  .shiun-subject-info-section .subject-courses .shiun-course-item .shiun-course-item-title h4,
  .shiun-subject-info-section .shiun-subject-courses .course-item .course-item-title h4,
  .shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-title h4,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-title h4,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-title h4 {
    font-size: 18px;
    font-weight: bold;
    padding: 0;
  }
  .subject-info-section .subject-courses .course-item .course-item-description,
  .subject-info-section .subject-courses .course-item .shiun-course-item-description,
  .subject-info-section .subject-courses .shiun-course-item .course-item-description,
  .subject-info-section .subject-courses .shiun-course-item .shiun-course-item-description,
  .subject-info-section .shiun-subject-courses .course-item .course-item-description,
  .subject-info-section .shiun-subject-courses .course-item .shiun-course-item-description,
  .subject-info-section .shiun-subject-courses .shiun-course-item .course-item-description,
  .subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-description,
  .shiun-subject-info-section .subject-courses .course-item .course-item-description,
  .shiun-subject-info-section .subject-courses .course-item .shiun-course-item-description,
  .shiun-subject-info-section .subject-courses .shiun-course-item .course-item-description,
  .shiun-subject-info-section .subject-courses .shiun-course-item .shiun-course-item-description,
  .shiun-subject-info-section .shiun-subject-courses .course-item .course-item-description,
  .shiun-subject-info-section .shiun-subject-courses .course-item .shiun-course-item-description,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .course-item-description,
  .shiun-subject-info-section .shiun-subject-courses .shiun-course-item .shiun-course-item-description {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    flex-grow: 1;
    padding: 10px 15px;
    margin: 0;
    width: 70%;
  }
  .subject-info-section .term-schedule,
  .shiun-subject-info-section .term-schedule {
    padding: 20px 0;
    border-radius: 8px;
    margin-top: 20px;
  }
  .subject-info-section .term-schedule img,
  .shiun-subject-info-section .term-schedule img {
    max-width: 600px;
    margin: auto;
  }
  .subject-info-section .shiun-subject-info-description,
  .subject-info-section .shiun-subject-courses,
  .shiun-subject-info-section .shiun-subject-info-description,
  .shiun-subject-info-section .shiun-subject-courses {
    width: 100%;
    max-width: auto;
  }
  /* Googleマップ */
  .google-map-container iframe {
    border: none;
    margin: 0px;
    width: 100%;
    height: 51.2820512821vw;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .class-header {
    margin: 30px 0;
    padding: 0 20px;
  }
  .class-tabs .tab-content .tab-panel {
    padding: 40px 20px;
  }
}
@media (max-width: 601px) {
  .class-tabs .tab-buttons {
    display: flex;
    flex-wrap: wrap;
  }
  .class-tabs .tab-buttons .tab-button {
    flex: auto;
    width: calc((100% - 6px) / 3);
    padding: 10px;
  }
  /* 入試までの流れ */
  .flow-section .flow-image-container {
    padding: 0;
  }
}/*# sourceMappingURL=takamatsu-classrooms.css.map */