@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Zen+Old+Mincho&display=swap');

/* ***************************
基本スタイル
*************************** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Zen Old Mincho","Noto Serif JP", "Hiragino Mincho ProN","Yu Mincho","MS PMincho",serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

ul,ol {
  list-style: none;
}
h2 {
  font-size: 38px;
  font-weight: 400;
}
h3 {
  font-size: 30px;
}
h4 {
  font-size: 22px;
}
p {
  font-size: 16px;
}

.mb40 {
  margin-bottom: 40px;
}
.mb80 {
  margin-bottom: 80px;
}
.pkz {
  padding: 12px 0;

}
.heading_line {
  display: flex;
  align-items: center;
  justify-content: center;
}
.heading_line::before,
.heading_line::after {
  content: "";
  width: 140px;
  height: 1px;
  background-color: var(--gray);
}
.heading_line::before {
  margin-right: 60px;
}
.heading_line::after {
  margin-left: 60px;
}
.heading_border {
  border-bottom: solid 3px var(--gray);
  position: relative;
}
.heading_border::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: solid 3px var(--mintgreen);
  bottom: -2px;
  width: 10%;
}
.heading_bar {
  display: inline-block;
  font-weight:bold;
  border-left: solid 4px var(--mintgreen);
  padding: 4px 0 4px 8px;
}
.subtt {
  text-align: center;
  color: var(--mintgreen);
  font-size: 18px;
}
.pkz {
  font-size: 14px;
}
.highlighting {
  color: var(--highlight);
}
:root {
  --mintgreen: #74c5b4;
  --garkgreen: #288463;
  --highlight: #499752;
  --elementary: #009045;
  --junior: #0169b1;
  --gray: #6b6b6b;
  --bg-green: #e2f0ea;
  --f-accent: #2b8666;
}
/* ***************************
ヘッダー
*************************** */
header{
  background:#fff;
}

.h_area{
  display:flex;
  align-items:center;
  padding: 0 20px 10px;
}

.logo_box{
  max-width:240px;
  flex-shrink:0;
  margin-right: 20px;
  margin-top: 10px;	
}

.logo_box img{
  display:block;
  width:100%;
  height:auto;
}

.menu{
  margin-left:auto;
  display:flex;
  width: 100%;
  align-items: baseline;
}

.menu ul{
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
  flex: 1;
}
.menu li {
  flex: 1;
  text-align: center;
}
.menu li a{
  display:block;
  position:relative;
  color:#333;
  font-weight:700;
  padding-bottom: 10px;
}

.menu li a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:#ddd;
  transition:0.2s;
}
.menu li a:hover::after,
.menu li.current a::after{
  height:2px;
  background:var(--mintgreen);
}

.m_tell_btn { 
  background-color: var(--mintgreen); 
  color: #fff; 
  padding: 10px; 
  text-align: center; 
  margin-left: 20px;
} 
.m_tell_icon { 
  width: 25px; 
  height: auto; 
  margin: auto; 
}
/* ***************************
ヒーローエリア
*************************** */
.top_banner{
  margin:40px auto 20px;
  max-width:1200px;
    overflow:hidden;

}
.top_banner img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}
.swiper-slide{
  opacity:.6;
  transition:.3s;
}
.swiper-slide-active{
  opacity:1;
}
.swiper-pagination{
  position:relative !important;
  margin-top:15px;
}
.visually_hidden {
  display: none;
}
/* ***************************
Newsエリア
*************************** */
.news_area {
  padding: 40px 80px;
}
.news_header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  margin-bottom: 20px;
}
.news_header h2 {
  font-size: 80px;
  letter-spacing: 0.1em;
  font-weight: 100;
  margin-right: 40px;
  line-height: 1em;
}
.news_header h2 span {
  color: var(--mintgreen);
}
.news_header p {
  font-size: 1.2em;
}
.news_btn {
  text-align: right;
}
.news_btn a {
  border:1px solid var(--gray);
  padding:4px 60px;
  font-size:12px;
  position: relative;
}
.news_btn a::after {
  position: absolute;
  top: 0;
  bottom: 0px;
  right: 10px;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-top: 2px solid var(--gray);
  border-right: 2px solid var(--gray);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: transparent;
}
.news_list{
  border-top:2px solid var(--mintgreen);
}

.news_list li{
  display:flex;
  align-items:center;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--gray);
}

.news_list time{
  /* width:120px; */
  font-size: 13px;
  color: var(--gray);
}

.news_cat{
  border:1px solid var(--gray);
  padding:0 20px;
  font-size:12px;
}

.news_title{
  flex:1;
  padding: 0 40px;
}

.news_tags span{
  color:#fff;
  padding:1px 4px;
  font-size:16px;
}

.tag_elementary{
  background:var(--elementary); 
}

.tag_junior{
  background:var(--junior);
  margin-left: 10px;
}
/* ***************************
pointエリア
*************************** */
.point_content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.point_content:nth-child(odd) { 
  flex-direction: row-reverse; 
} 
.point_content:nth-child(even) { 
  flex-direction: row; 
}

.point_detail {
  text-align: center;
  width: 800px;
}
.point_number {
  color: var(--mintgreen);
  font-weight: 400;
}
.point_number span {
  font-size: 60px;
  padding-left: 0.2em;
}
.point_index {
  font-size: 30px;
}
.point_index span {
  font-size: 60px;
  font-weight: 400;
  display: block;
  line-height: 1.5;
}
.point_comment {
  text-align: left;
  margin: auto;
  width: fit-content;
  margin-top: 12px;
}
.point_comment span {
  color: var(--highlight);
}
.point_image {
  width: 800px;
}
/* ***************************
グループ塾エリア
*************************** */
.group_contents {
  display: flex;
  gap: 20px;
}
.group_room {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.room_btn {
  margin: 40px 20px;
}
.room_btn a {
  border: 1px solid var(--gray);
  padding: 8px 60px;
  font-size: 12px;
  position: relative;
  display: block;
  width: auto;
  text-align: center;
  background-color: #fff;
}
.room_btn a::after {
  position: absolute;
  top: 0;
  bottom: 0px;
  right: 10px;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-top: 2px solid var(--gray);
  border-right: 2px solid var(--gray);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: transparent;
}
.room_tel {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  font-weight: 700;
}
.room_tel::before{
  position: absolute;
  content: "";
  width: 1em;
  height: 1em;
  background-image: url(/img/icon_phone_circle.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
/* ***************************
教室検索
*************************** */
.school_anchor {
  display: flex;
  justify-content: space-evenly;
  color: var(--garkgreen);
}
.school_main {
  display: grid;
  grid-template-columns: repeat(2,auto);
  gap: 20px;
  justify-content: center;
}
.school_photo > img {
  height: 100%;
}
.school_info dt{
  background-color: var(--garkgreen);
  color: #fff;
  padding: 2px 8px;
  width: fit-content;
  border-radius: 4px;
}
.school_map {
  grid-column: 1 / 3;
}
.school_content {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 80px;
  justify-content: space-between;
}
.school_box {
  width: calc(50% - 20px);
}
.school_mainimg {
  display: flex;
  gap: 20px;
  align-items: center;
}
.school_mainimg img {
  flex: 1;
  max-width: 680px;	
}
.school_gallery {
  display: flex;
  gap: 12px;
  /*justify-content: space-between;*/
	justify-content: space-around;
}
.school_info table{
  width:100%;
  border-collapse:collapse;
}

.school_info th{
  width:200px;
  text-align:left;
  padding:15px;
  border-bottom:1px solid #eee;
  background:#fafafa;
}

.school_info td{
  padding:15px;
  border-bottom:1px solid #eee;
}
.schoolnews_btn,
.news_back {
  text-align: center;
}
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.pagination .current {
    background-color: var(--mintgreen);
    padding: 4px 12px;
    color: #fff;
}
.pagination a {
    border: 1px solid var(--gray);
    padding: 4px 12px;
}
.news_back {

}
/* ***************************
小学生・中学生
*************************** */
.course_intro {
  display: flex;
  gap: 20px;
}
.course_text,
.course_image {
  flex: 1;
}

.feature_box {
  display: flex;
  align-items: center;
}
.feature_box:nth-of-type(even) {
  flex-direction: row-reverse;
}
.feature_item {
  width: 40%;
}
.feature_image {
  width: 60%;
  aspect-ratio: 3 / 2;
}
.feature_item h4 span {
  color: var(--garkgreen);
}
.course_list {
  display: flex;
  gap: 20px;
}
.course_box {
  border: 1px solid var(--gray);
  padding: 20px;
  border-radius: 4px;
  flex: 1;
}
.course_head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: baseline
}
.course_head span {
  display: block;
  font-size: 14px;
}
h4.elementary span {
  color: var(--elementary);
}
h4.junior span {
  color: var(--junior);
}
.course_badge {
  padding: 2px 8px;
  background-color: var(--bg-green);
  border-radius: 2px;
  
}
.course_subtt {
  text-align: center;
}
.course-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.course-table th{
  background:var(--bg-green);
  padding:10px;
  border:1px solid #666;
}

.course-table td{
  padding:10px;
  border:1px solid #666;
  background:#fff;
  text-align:center;
}
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;

}

.course-table{
  min-width:800px;
}
.note {
  font-size: 13px;
  color: var(--gray);
}
.is_sp {
  display: none;
}
.feature_item {
  padding: 20px;
}
/* ***************************
合格実績
*************************** */
.color-red {
  color: #F74611;
}
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-feature-card {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.p-feature-card__title {
  font-size: 24px;
  color: #4169b0;
  font-weight: bold;
  margin-bottom: 15px;
}
.p-feature-card__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.p-results-summary {
  border: 2px solid #CFCFCF;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 12px 18px;
}
.p-results-summary__header {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-direction: column;
  margin-bottom: 1.2em;
}
.p-results-summary__era {
  background-color: #C7E1F5;
  padding: 0.5em 1.5em;
  align-content: center;
  font-weight: 800;
  border-radius: 4px;
  text-align: center;
}
.p-results-summary__scope {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  transform: translateY(18px);
  color: #4169b0;
}
.result-unit {
  font-size: 28px;
  display: inline-block;
  margin-left: 5px;
}
.p-results-summary__main-result {
  display: grid;
  grid-template-columns: 1fr auto auto;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px;
  box-sizing: border-box;
}
.p-results-summary__main-schools {
  font-weight: 900;
  font-size: 1.5em;
  letter-spacing: .02em;
}
.p-results-summary__note {
  text-align: left;
  font-size: 14px;
}
.p-results-summary__total {
  box-sizing: border-box;
  font-size: 48px;
  font-weight: 800;
}
.p-results-summary__total span {
  font-weight: 1000;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.p-results-list__label {
  background-color: #61C0B5;
  font-weight: 800;
  box-sizing: border-box;
  white-space: nowrap;
  width: fit-content;
  padding: 4px 1.5em;
  border-radius: 4px;
  margin-bottom: 12px;
}
.p-results-list__text {
  border-bottom: 1px solid #cfcfcf;
  line-height: 2.5em;
}
.p-results-list__grid-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  line-height: 2.5em;
  border-bottom: 1px solid #cfcfcf;
}
.c-section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  padding: 20px;
  border-bottom: 3px solid #4169b0;
}
.p-achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.p-achievement-box {
  padding: 30px;
  border-radius: 10px;
}
.p-achievement-box > div:not(:last-child) {
  border-bottom: 2px solid #CFCFCF;
  margin-bottom: 12px;
  padding-bottom: 12px;
}
.p-achievement-box__group {
  margin-bottom: 16px;
}
.p-achievement-box--orange {
  border: 4px solid #F8B72C;
}
.color--orange {
  color: #F8B72C;
}
.p-achievement-box--green {
  border: 4px solid #45B035;
}
.color--green {
  color: #45B035;
}
.p-achievement-box--blue {
  border: 4px solid #3E82B8;
}
.color--blue {
  color: #3E82B8;
}
.p-achievement-box__title {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #CFCFCF;
  font-size: 1.2em;
}
.bg-yellow {
  background-color: #FFFDE4;
  padding: 0.5em 1em;
  border-radius: 8px;
}
.bg-gray {
  background-color: #f4f4f4;
  padding: 0.5em 1em;
  border-radius: 8px;
}
.p-achievement-box__main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.p-achievement-box__school-name {
  grid-column: 1 / 2;
  text-align: center;
  font-weight: 800;
  line-height: 1.2em;
}
.p-achievement-box__number {
  grid-column: -2 / -1;
  white-space: nowrap;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}
.p-achievement-box__note-inline {
  text-orientation: mixed;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.p-achievement-box__note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
}
.p-achievement-box__unit {
  display: inline-block;
  font-size: 14px;
}
.school-name--wrap {
  font-size: 14px;
}
.c-school-results {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 8px;
}
.c-school-results dt {
  background-color: #C7E1F5;
  width: 5em;
  text-align: center;
  height: fit-content;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.c-school-results dd {
  font-size: 12px;
}
.p-achievement-box__target-schools {
  background-color: #C7E1F5;
  text-align: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.p-achievement-box__result-details {
  font-size: 12px;
}
.p-achievement-box__summary > p {
  font-size: 13px;
}
.p-achievement-box__result-lead {
  font-size: 12px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .p-results-summary {
    padding: 12px;
  }
  .p-results-summary__era {
    width: 100%;
    align-self: center;
    text-align: center;
  }
  .p-results-summary__scope {
    font-size: 18px;
    transform: translateY(8px);
  }
  .p-results-list__label {
    margin: auto;
  }
  .p-results-summary__main-schools {
    font-size: 16px;
    white-space: unset;
    line-height: 20px;
  }
  .p-results-summary__main-result {
    grid-template-columns: 1fr auto auto;
  }
  .p-results-list__text,
  .p-results-list__school {
    line-height: 1.2em;
    font-size: 14px;
    padding-bottom: 8px;
    padding-top: 8px;
  }
  .p-results-list__grid-item {
    grid-template-columns: 1fr auto auto;
    line-height: 1.2em;
    font-size: 14px;
    align-items: center;
  }
  .p-results-summary__total {
    font-size: 24px;
  }
  .p-results-summary__total span {
    font-size: 12px;
  }
  .c-section-title {
    font-size: 24px;
  }
  .p-achievements__grid {
    grid-template-columns: 1fr;
  }
  .p-achievement-box__main {
    grid-template-columns: auto auto auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .c-section-title {
    font-size: 18px;
    padding: 0;
    margin-bottom: 20px;
  }
}

/* ***************************
講師紹介
*************************** */

  .teachers-wrap {
    width: 100%;
    margin-top: 40px;
  }

.teacher-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* 各ブロック */
.teacher-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

/* 交互レイアウト */
.teacher-item.reverse {
  flex-direction: row-reverse;
}

/* 画像 */
.teacher-img img {
  width: 300px;
  height: auto;
  display: block;
}

/* テキスト */
.teacher-text {
  flex: 1;
}

.teacher-text h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.teacher-text h2 span {
  font-size: 14px;
  color: #555;
}

/* 科目タグ */
/*.subject {
  margin: 10px 0 15px;
}

.subject span {
  display: inline-block;
  background: #eee;
  padding: 6px 10px;
  margin-right: 6px;
  font-size: 13px;
}*/

.subject-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.level {
  font-weight: bold;
  width: 70px;
}

.tags span {
  display: inline-block;
  background: #eee;
  padding: 5px 10px;
  margin-right: 6px;
  font-size: 13px;
}

/* スマホ */
@media (max-width: 768px) {
  .teacher-item {
    flex-direction: column;
    text-align: left;
  }

  .teacher-item.reverse {
    flex-direction: column;
  }

  .teacher-img img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 15px;
  }
}

/* ***************************
カリキュラム
*************************** */

  .calendar-wrap {
    width: 100%;
    margin-top: 40px;
  }

  /* グリッド本体 */
  .cal {
    display: grid;
    grid-template-columns: auto 1fr auto .5fr;
    background: #FFFDE6;
    overflow: hidden;
    border: 2px solid #DCDBCC;
  }

  /* 各セルの下線 */
  .month-cell,
  .event-cell,
  .sc,
  .spacer {
    border-bottom: 1px solid #DCDBCC;
  }

  /* 最後の4セル（2月行）は下線なし */
  .cal > :nth-last-child(-n+4) {
    border-bottom: none;
  }

  /* 月セル */
  .month-cell {
    text-align: center;
    padding: 14px 18px;
    background: #A0A0A0;
    border-right: 2px solid #DCDBCC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .month-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
  }

  /* イベントセル */
  .event-cell {
    padding: 12px 18px;
    display: flex;
    align-items: center;
  }
  .event-cell ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1.5;
  }


  /* season-cell 共通 */
  .sc {
    padding: 0 4px 0 10px;
    display: flex;
  }

  /* 上セル：バッジを底に寄せてtransformで半分はみ出す */
  .sc-top {
    align-items: flex-end;
    border-bottom: none !important;
    overflow: visible;
    z-index: 1;
  }

  /* 下セル：空でOK（border-bottomだけ担当） */
  /* .sc-bottom {} */

  /* 空セル */
  /* .sc-empty {} */

  /* バッジ */
  .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.15em;
    color: #fff;
    white-space: nowrap;
    transform: translateY(50%);
  }
  .spring-color { background: #EB657D; }
  .summer-color { background: #EE7642; padding: 12px 18px; }
  .winter-color { background: #005390; }
  
  /* 無料バッジ */
  .free-badge {
    display: inline-block;
    background: #e83030;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
    margin-left: 3px;
    vertical-align: baseline;
    letter-spacing: 0.05em;
  }

  /* 対象学年 */
  .grade { font-size: 14px; color: #666; }


/* ***************************
テスト
*************************** */
.monthly_intro {
  display: flex;
  gap: 20px;
  padding: 20px;
}
.monthly_text,
.monthly_image {
  flex: 1;
}
.test_schedule,
.subject_list,
.exam_time,
.test_return,
.external_intro,
.exam_box{
  padding:20px;
  margin-bottom: 20px;
}

.subject_item{
  margin-bottom:18px;
}

.subject_grade{
  width: fit-content;
  margin-bottom:4px;
  background-color: var(--bg-green);
  border-radius: 4px;
  padding: 2px 12px;
}

.subject_content{
margin:0;
}

.time_table{
	border-collapse: collapse;
	margin-bottom: 15px;
}

.time_table th,
.time_table td{
	border: 1px solid #ccc;
	padding: 10px 14px;
}

.time_table thead th{
	background: var(--bg-green);
}

.time_table tbody th{
	background: #f7f7f7;
	text-align: left;
}

.time_table td{
	text-align: center;
}
.exam_guideline {
  color: var(--garkgreen);
}
.exam_level{
display:grid;
grid-template-columns:80px 1fr;
gap:6px 12px;
line-height:1.8;
}

.exam_level dt{
font-weight:bold;
}

.exam_level dd{
margin:0;
}
/* ***************************
料金
*************************** */
.price_box{
margin:20px 0 50px;
line-height:1.9;
}

.price_main{
font-size:18px;
margin-bottom:10px;
}

.price_list{
margin-top:10px;
padding-left:1.2em;
}

.price_list li{
margin-bottom:6px;
}
.price_value span {
  color: var(--garkgreen);
  font-weight: 700;
  font-size: 40px;
}
.price_exempt_box,
.price_expenses {
  border: 1px solid var(--garkgreen);
  border-radius: 4px;
  padding: 20px;
}
.price_exempt_box p,
.price_expenses h4 {
  color: var(--garkgreen);
  font-weight: 700;
}
.price_list {
  list-style: square;
  padding-left: 2em;

}
.link_text {
  color: var(--mintgreen);
}
.expenses_box {
  display: flex;
  gap: 20px;
}
.price_expenses h4 {
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray);
}
.price_expenses {
  flex: 1;
}
/* ***************************
優待制度
*************************** */
.hospitality_box {
  margin: 20px 0 40px ;
}
.hospitality_image img{margin: 10px auto;max-width: 280px;}


.siblings {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
}
.siblings_box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.siblings_index > span {
  display: block;
  background-color: var(--garkgreen);
  color: #fff;
  padding: 4px 8px;
  font-size: 16px;
  border-radius: 4px;
  width: fit-content;
}
.countermeasure_items {
  display: flex;
  gap: 20px;
}
.countermeasure_item {
  flex: 1;
  padding: 20px;
  border: 1px solid var(--garkgreen);
  border-radius: 4px;
}
.countermeasure_badge {
  background-color: var(--garkgreen);
  color: #fff;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 4px;
}
.countermeasure_index {
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray);
}
.friends_badge {
  /* border: 1px solid var(--garkgreen); */
  border-radius: 4px;
  padding: 8px 24px;
  width: fit-content;
  display: flex;
  gap: 12px;
  align-items: center;
}
.friends_target {
  background-color: var(--garkgreen);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
}
.friends_gift span {
  color: var(--garkgreen);
  font-weight: 700;
  font-size: 24px;
}
.friends_box {
  display: flex;
  gap: 20px;
}
.friends_box > div {
  flex: 1;
}
.friends_right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friends_gift {
  margin-left: 12px;
}

/* 特待テーブル */
.tokutai-box {
  margin-top: 16px;
}
.tokutai-box > p{
  font-weight: 700;
  font-size: 1.2em;
}
.table-wrap{
  overflow-x:auto;
}

.tokutai-table{
  width:100%;
  border-collapse:collapse;
}

.tokutai-table th,
.tokutai-table td{
  border:1px solid #ddd;
  padding:12px;
  text-align:center;
}

.tokutai-table th{
  background:#f5f5f5;
  font-weight:bold;
}


/* ***************************
プライバシーポリシー
*************************** */

.poricy_list {
  list-style: disc;
  padding-left: 3.5em;
}
.pravacy h3 {
  margin-top: 40px;
}
/* ***************************
フッター
*************************** */
#footer {
  border-top: 1px solid var(--mintgreen);
}
/* #pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
} */
.ft_box {
  display: flex;
  justify-content: space-between;
  align-content: stretch;  
  gap: 80px;
}
.ft_box h3 {
  color: var(--garkgreen);
  margin-bottom: 16px;
}
.ft_box > div {
  height:auto;
  position: relative;
  padding: 20px 0;
}
.ft_box > div:not(:first-child)::after{
  content: "";
  position: absolute;
  left: -40px;
  top: 5%;
  width: 2px;
  transform:translateX(-50%) scaleX(.5);
  height: 90%;
  background: var(--mintgreen);
}
.f_logo_box {
  align-self: center;
}
.f_logo_box img {
  display: block;
  max-width: 170px;
  height: auto;
}
.f_nav_left,.f_nav_right {
  flex: 1;
}
.f_nav_left li,.f_nav_right li {
  font-size: 14px;
  line-height: 2;
  font-weight: 700;
}
.f_nav_left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.f_nav_list_01 ul,
.f_nav_list_02 ul,
.f_nav_right ul {
  display: grid;
}
.f_nav_list_01 ul {
  grid-template-columns: repeat(3, auto);;
}
.f_nav_list_02 ul {
  grid-template-columns: repeat(4, auto);;
}
.f_nav_right ul {
  grid-template-columns: repeat(2, auto);;
}
.ft_group_box {
  background-color: var(--bg-green);
  padding: 40px 20px;
}
.group_banner {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, max-content);
  gap: 40px;
}
.banner_large {
  grid-column: span 2;
}
#footer address {
  background-color: var(--f-accent);
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 1150px) {
    .h_area {
        justify-content: space-between;
        padding: 10px;
        height: 80px;
    }
	
.menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);;
    background: #fff;
    transition: 0.3s;
    padding: 20px;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;  
    }
  .menu ul {
    display: flex;
    flex: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .menu ul li {
    margin-bottom: 20px;
    text-align: start;
    width: 100%;
  }
  .menu li {
    position: relative;
    display: inline-block;
  }
  .menu ul li::after{
    position: absolute;
    top: 0;
    bottom: 10px;
    right: 20px;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background:transparent;
  } 
  .menu ul li a{
    display:block;
    width:100%;
  }
.news_header{
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto;
  gap:10px;
}	
.news_header h2{
  grid-column:1;
  grid-row:1;
  font-size:48px;
  margin-right:0;
}

.news_btn{
  grid-column:2;
  grid-row:1;
  align-self: end;
}

.news_header p{
  grid-column:1 / -1;
  font-size:14px;
  column-span: 2;
  grid-row:2;
}	
.menu.open {
    right: 0;
  } 
  .menu-button {
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 9999;
  }
 /* ハンバーガー */
.menu-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: 0.3s;
}
.menu-button span:nth-child(1){
    top: 0;
}
.menu-button span:nth-child(2){
    top: 10px;
}
.menu-button span:nth-child(3){
    top: 20px;
}
/* 開いたとき */
.menu-button.open span:nth-child(1){
    transform: rotate(45deg);
    top: 10px;
}
.menu-button.open span:nth-child(2){
    opacity: 0;
}
.menu-button.open span:nth-child(3){
    transform: rotate(-45deg);
    top: 10px;
}
}
@media screen and (max-width: 767px) {
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 16px;
}
p {
font-size: 14px;
}
.mb80 {
  margin-bottom: 40px;
}
.mb40 {
  margin-bottom: 20px;
}
/* .heading_line {
  margin-bottom: 20px;
} */
.heading_line::before,
.heading_line::after {
  width: 60px;
}
.heading_line::before {
  margin-right: 20px;
}
.heading_line::after {
  margin-left: 20px;
}
  /* ***************************
  ヘッダー
  *************************** */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
  }
  body {
    padding-top: 80px;
  }
  .h_area {
    justify-content: space-between;
    padding: 10px;
    height: 80px;
  }
  .menu_btn {
    display: block;
  }
  .menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);;
    background: #fff;
    transition: 0.3s;
    padding: 20px;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;  
    }
  .menu ul {
    display: flex;
    flex: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .menu ul li {
    margin-bottom: 20px;
    text-align: start;
    width: 100%;
  }
  .menu li {
    position: relative;
    display: inline-block;
  }
  .menu ul li::after{
    position: absolute;
    top: 0;
    bottom: 10px;
    right: 20px;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background:transparent;
  } 
  .menu ul li a{
    display:block;
    width:100%;
  }
  .menu.open {
    right: 0;
  } 
  .menu-button {
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 9999;
  }
 .m_tell_btn {
    margin-left: 0;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    gap: 18px;
  }
  .m_tell_icon {
    margin: 0;

  }
/* ハンバーガー */
.menu-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: 0.3s;
}
.menu-button span:nth-child(1){
    top: 0;
}
.menu-button span:nth-child(2){
    top: 10px;
}
.menu-button span:nth-child(3){
    top: 20px;
}
/* 開いたとき */
.menu-button.open span:nth-child(1){
    transform: rotate(45deg);
    top: 10px;
}
.menu-button.open span:nth-child(2){
    opacity: 0;
}
.menu-button.open span:nth-child(3){
    transform: rotate(-45deg);
    top: 10px;
}
/* ***************************
Newsエリア
*************************** */
.news_area {
  padding: 0 20px;
}

.news_header{
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto;
  gap:10px;
}

.news_header h2{
  grid-column:1;
  grid-row:1;
  font-size:48px;
  margin-right:0;
}

.news_btn{
  grid-column:2;
  grid-row:1;
  align-self: end;
}

.news_header p{
  grid-column:1 / -1;
  font-size:14px;
  column-span: 2;
  grid-row:2;
}
/* .news_btn a {
  padding: 4px 20px;
} */
.news_list li{
  display:grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows:auto auto;
  gap:6px 12px;
  align-items:center;
  padding: 12px 0;
}

.news_list time{
  grid-column:1;
  grid-row:1;
}

.news_cat{
  grid-column:2;
  grid-row:1;
  width: fit-content;
}

.news_title{
  grid-column:1 / 3;
  grid-row:2;
  padding:0;
}

.news_tags{
  grid-column:3;
  grid-row:2;
  justify-self:end;
}
.news_tags span {
  padding: 0px 3px;
  font-size: 12px;
}
.tag_junior {
  margin-left: 4px;
}
/* ***************************
pointエリア
*************************** */

.point_content:nth-child(odd),
.point_content:nth-child(even)  {
  flex-direction: column;
}
.point_content {
  padding: 0 20px;
  gap: 12px;
}
.point_detail,
.point_image {
  width: 100%;
}
.point_number {
  font-size: 18px;
}
.point_number span {
  font-size: 32px;
}
.point_index {
  font-size: 18px;
}
.point_index span {
  font-size: 38px;
}
/* ***************************
グループ塾エリア
*************************** */
.group_contents {
  flex-direction: column;
}
.room_btn {
  margin: 10px 20px;
}
/* ***************************
教室検索
*************************** */
.school_anchor {
  flex-wrap: wrap;

}
.school_anchor li {
  width: 50%;
}
.school_main {
  display: block;
}

.school_content {
  flex-direction: column;
}
.school_box {
  width: 100%;
}
.school_photo {
  margin-bottom: 20px;
}
.school_photo img {
  width: 100%;
}
.school_mainimg,
.school_gallery {
  flex-direction: column;
}
.school_info th {
  width: 100px;
}

.school_mainimg img {
  
  max-width: 314px;	
}	
	
/* ***************************
小学生・中学生
*************************** */
.is_sp {
  display: block;
}
.course_intro {
  flex-direction: column-reverse;
}
.feature_box,
.feature_box:nth-of-type(even),
.course_list {
  flex-direction: column;
}
.feature_item,
.feature_image {
  width: 100%;
}
.feature_box {
  margin-bottom: 24px;
}
/* ***************************
合格実績
*************************** */
.p-results-summary__note {
  font-size: 12px;
}
/* ***************************
カリキュラム
*************************** */
.cal {
  grid-template-columns: auto 1fr auto 8px;
  font-size: 13px;
}
.month-cell {
  padding: 4px;
}
.month-num {
  font-size: 14px;
}
.event-cell {
  padding: 8px 12px;
}
.badge {
  font-size: 12px;
  padding: 2px 8px;
}
.free-badge {
  font-size: 10px;
  padding: 1px 4px;
}
.grade {
  font-size: 10px;
}
.pt {
  padding-top: 1em;
}
.summer-color {
  padding: 12px 8px;
}
/* ***************************
料金
*************************** */
.expenses_box {
  flex-direction: column;
}
.price_value span {
  font-size: 32px;
}
/* ***************************
優待
*************************** */
.siblings {
  flex-direction: column-reverse;
}
.countermeasure_items {
  flex-direction: column;
}
.friends_box {
  flex-direction: column-reverse;
}
.tokutai-table-wrap {
  font-size: .8em;
}
.hospitality_image img{ width: 100%;max-width: 350px}	
/* ***************************
フッター
*************************** */
.ft_box {
  flex-direction: column;
  gap: 0;
}
.group_banner {
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
.group_banner li{
  width:100%;
}
.group_banner img {
  width: 100%;
  display: block;
}

}


.school_gallery img{
	max-width: 350px;
	
}

.sp_br{display: none}

@media (max-width: 768px) {
	.sp_br{display: block}

}

