@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.6;
  color: var(--black);
}

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

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

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

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

/* ヘッダー部分 */
.class-header {
  text-align: center;
  margin: 60px 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;
  margin-bottom: 0;
}
.class-tabs .tab-buttons .tab-button {
  flex: 1;
  padding: 20px 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(--green);
}
.class-tabs .tab-buttons .tab-button:first-child:not(.active) {
  background: var(--green);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(2) {
  background: var(--yellow);
}
.class-tabs .tab-buttons .tab-button:nth-child(2):not(.active) {
  background: var(--yellow);
  opacity: 0.3;
}
.class-tabs .tab-buttons .tab-button:nth-child(3) {
  background: var(--navy);
}
.class-tabs .tab-buttons .tab-button:nth-child(3):not(.active) {
  background: var(--navy);
  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:first-child {
  background: #F3F9F7;
}
.class-tabs .tab-content .tab-panel:nth-child(2) {
  background: #FFFDF6;
}
.class-tabs .tab-content .tab-panel:nth-child(3) {
  background: #F6FCFF;
}
.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;
}

/* タブごとの色の指定 */
#elementary-basic h2, #elementary-basic h3, #elementary-basic h4, #elementary-basic .grade-cell {
  color: var(--green);
}
#elementary-basic table {
  border: solid 1.5px var(--green);
}
#elementary-basic thead th {
  background: var(--green);
}
#elementary-basic thead .header-col3 {
  width: 35%;
}
#elementary-basic td {
  border-color: var(--green);
}

#elementary-exam h2, #elementary-exam h3, #elementary-exam h4, #elementary-exam .grade-cell {
  color: var(--yellow-text);
}
#elementary-exam table {
  border: solid 1.5px var(--yellow-text);
}
#elementary-exam thead th {
  background: var(--yellow-text);
}
#elementary-exam td {
  border-color: var(--yellow-text);
}

#junior-high h2, #junior-high h3, #junior-high h4:not(.course-item-title), #junior-high .grade-cell {
  color: var(--navy);
}
#junior-high table {
  border: solid 1.5px var(--navy);
}
#junior-high thead th {
  background: var(--navy);
}
#junior-high td {
  border-color: var(--navy);
}

/* お知らせセクション */
.notice-section {
  background: white;
  padding: 25px;
  margin: 40px 0;
  text-align: center;
}
.notice-section .notice-title {
  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: 40px 0;
}
.schedule-section .schedule-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 20px;
}
.schedule-section table {
  width: 80%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0 auto;
  background: white;
  overflow: hidden;
}
.schedule-section 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;
}
.schedule-section table thead th:not(:last-child) {
  border-right: 1px solid white;
}
.schedule-section table 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;
}
.schedule-section table .grade-cell {
  font-weight: 700;
  vertical-align: middle;
}
.schedule-section .schedule-description {
  width: 80%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: left;
}
.schedule-section .schedule-description-junior {
  width: 90%;
  max-width: 900px;
}
.schedule-section .schedule-notes {
  width: 80%;
  max-width: 800px;
  padding: 20px 0;
  text-align: left;
  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-content a {
  color: #2b6ca4;
  text-decoration: underline;
  font-weight: 400;
}
.schedule-section .schedule-notes .schedule-notes-content a:hover {
  opacity: 0.8;
}
.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-box {
  width: 80%;
  max-width: 800px;
  margin: auto;
  background-color: white;
  border: solid 1px var(--navy);
  padding: 20px;
}
.schedule-section .schedule-box p {
  margin-bottom: 0;
  font-size: 22px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

/* 情報セクション */
.info-sections {
  margin: 30px 0;
}
.info-sections .info-section-description {
  padding: 20px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 5%;
  margin: 0;
}
.info-sections .info-section-image {
  margin-bottom: 20px;
}
.info-sections .info-section-image img {
  width: 100%;
}
.info-sections .info-section {
  margin: 6px 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000000;
}
.info-sections .info-section .info-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: 0%;
  margin: 10px 0;
  padding: 2px 0;
}
.info-sections .info-section p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 5%;
  margin: 0;
  padding: 0;
}
.info-sections .info-section p:last-child {
  margin-bottom: 0;
}

/* 科目情報セクション */
.subject-info-section {
  margin: 40px 0;
}
.subject-info-section .subject-info-title {
  margin-bottom: 30px;
}
.subject-info-section .subject-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.subject-info-section .subject-courses .course-item {
  color: var(--black);
  text-align: center;
  border-radius: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.subject-info-section .subject-courses .course-item .course-item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.125rem, 0.375rem + 1.25vw, 1.875rem); /* 30~18px */
  font-weight: bold;
  color: var(--yellow-text);
  padding: 20px 0;
  margin: 0;
}
.subject-info-section .subject-courses .course-item .course-item-img {
  margin: auto;
  width: 100%;
}
.subject-info-section .subject-courses .course-item .course-item-img img {
  width: 100%;
  aspect-ratio: 1.67/1;
  -o-object-fit: cover;
     object-fit: cover;
}
.subject-info-section .subject-courses .course-item .course-item-description {
  font-size: 18px;
  line-height: 130%;
  text-align: left;
  flex-grow: 1;
  padding: 0;
  margin: 10px 0 0;
}
.subject-info-section .subject-courses .course-item-junior {
  text-align: center;
  border-radius: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.subject-info-section .subject-courses .course-item-junior .course-item-title-container {
  background-color: var(--navy);
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.subject-info-section .subject-courses .course-item-junior .course-item-title-container .course-item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 0.625rem + 0.63vw, 1.375rem); /* 22~16px */
  font-weight: bold;
  color: var(--white);
  margin: 0;
  text-align: center;
}
.subject-info-section .subject-courses .course-item-junior .course-item-description-container {
  padding: 10px;
  background-color: white;
}
.subject-info-section .subject-courses .course-item-junior .course-item-description-container .course-item-description {
  font-size: 16px;
  line-height: 130%;
  text-align: left;
  flex-grow: 1;
  padding: 0;
}

/* Googleマップ */
.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;
  }
  .yashima-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;
  }
  .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: 130%;
    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;
  }
  /* お知らせセクション */
  .notice-section {
    background: white;
    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 table {
    width: 100%;
  }
  .schedule-section table thead th {
    padding: 12px 10px;
    font-size: 16px;
  }
  .schedule-section table td {
    padding: 12px 10px;
    font-size: 16px;
    line-height: 130%;
  }
  .schedule-section .schedule-description {
    width: 100%;
    max-width: auto;
    font-size: 16px;
  }
  .schedule-section .schedule-description:not(.schedule-description-center) {
    text-align: left;
  }
  .schedule-section .schedule-description-junior {
    width: 100%;
    max-width: auto;
  }
  .schedule-section .schedule-notes {
    width: 100%;
    padding: 10px 0;
  }
  .schedule-section .schedule-notes .schedule-notes-content {
    font-size: 16px;
    text-align: left;
    font-weight: 400;
  }
  .schedule-section .schedule-notes .schedule-notes-remarks {
    font-size: 12px;
  }
  .schedule-section .schedule-box {
    width: 100%;
    padding: 16px;
  }
  .schedule-section .schedule-box p {
    font-size: 18px;
    line-height: 130%;
  }
  /* 情報セクション */
  .info-sections {
    margin: 30px 0;
  }
  .info-sections .info-section-description {
    padding: 20px 0;
    font-size: 16px;
  }
  .info-sections .info-section {
    margin: 6px 2px;
    padding-bottom: 8px;
  }
  .info-sections .info-section .info-section-image {
    margin-bottom: 20px;
  }
  .info-sections .info-section .info-section-image img {
    width: 100%;
  }
  .info-sections .info-section .info-title {
    font-size: 18px;
    margin: 6px 0;
    padding: 2px 0;
  }
  .info-sections .info-section p {
    font-size: 16px;
    line-height: 130%;
  }
  /* 科目情報セクション */
  .subject-info-section {
    margin: 20px 0;
  }
  .subject-info-section .subject-courses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .subject-info-section .subject-courses .course-item {
    color: var(--black);
    text-align: left;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .subject-info-section .subject-courses .course-item .course-item-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--yellow-text);
    padding: 10px 0;
    margin: 0;
  }
  .subject-info-section .subject-courses .course-item .course-item-img img {
    aspect-ratio: 2.4/1;
    width: 100%;
  }
  .subject-info-section .subject-courses .course-item .course-item-description {
    font-size: 16px;
    line-height: 130%;
    text-align: left;
    flex-grow: 1;
    padding: 0;
    margin: 0;
  }
  .subject-info-section .subject-courses .course-item-junior {
    text-align: center;
    border-radius: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .subject-info-section .subject-courses .course-item-junior .course-item-title-container {
    background-color: var(--navy);
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
  }
  .subject-info-section .subject-courses .course-item-junior .course-item-title-container .course-item-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
    margin: 0;
    text-align: left;
  }
  .subject-info-section .subject-courses .course-item-junior .course-item-description-container {
    padding: 10px;
    background-color: white;
  }
  .subject-info-section .subject-courses .course-item-junior .course-item-description-container .course-item-description {
    font-size: 16px;
    line-height: 130%;
    text-align: left;
    flex-grow: 1;
    padding: 0;
  }
  /* 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) {
  .classrooms-sp-only {
    display: block;
  }
  /* スケジュールテーブル */
  .schedule-section table thead th {
    padding: 10px 5px;
    font-size: 14px;
  }
  .schedule-section table td {
    padding: 10px 5px;
    font-size: 14px;
  }
  /* 科目情報セクション */
  .subject-info-section .subject-courses .course-item-junior .course-item-title-container {
    background-color: var(--navy);
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
  }
  .subject-info-section .subject-courses .course-item-junior .course-item-title-container .course-item-title {
    font-size: clamp(1rem, 0.938rem + 0.31vw, 1.125rem);
  }
  .subject-info-section .subject-courses .course-item-junior .row-2 {
    height: 60px;
  }
  #elementary-basic thead .header-col3 {
    width: 30%;
  }
}/*# sourceMappingURL=yashima-classrooms.css.map */