

#contentsHead {
  height: auto;
}

#PrimaryNav {
  background: #f2f5f5;
}
.header-nav {
  display: flex;
  justify-content: center;
}
.header-list {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  flex-wrap: wrap;
}
.header-item:hover {
  background-color: #004ea1;
}
.header-item:hover a {
  color: #fff;
  opacity: 1;
}

.header-item a {
  display: block;
  padding: 20px;
}
@media screen and (max-width: 768px) {
	.header-item {
		font-size: .8em;
		width: 33.3%;
		border: 2px #fff solid;
	}
	.header-item a {
		padding: 10px 20px;
	}
	.header-item .megaNavi a {
	    color: #fff;
	}
}
.megaNavi {
  background-color: #004ea1;
  left: 0;
  opacity: 0;
  position: absolute;
  z-index: 50;
  text-align: center;
  visibility: hidden;
  width: 100%;
  transition: opacity .3s, visibility .3s;
}
.megaNavi-list {
  padding-bottom: 30px;
  padding-top: 30px;
}
.megaNavi-item {
  display: inline-block;
  transition: background-color .3s;
}
.megaNavi-item:hover {
  background-color: rgba(255,255,255,.1);
}
/* メニューをhoverした時のスタイル */
.header-item:hover .megaNavi {
  opacity: 1;
  visibility: visible;
}
/* PCではhover制御、スマホではクラス制御 */
.megaNavi {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.megaNavi.open {
  opacity: 1;
  visibility: visible;
}

.SeasonLesson #Course_sche .u_pagelink {
  max-width: 1200px!important;
  justify-content: center!important;
}
.SeasonLesson #Course_sche .u_pagelink li {
  max-width: 285px!important;
}

@media screen and (max-width: 640px) {
  .SeasonLesson #Course_sche .u_pagelink li {
  	max-width: 480px!important;
  }
  .SeasonLesson #Course_sche .u_pagelink li a {
    max-width: 480px!important;
    font-size: 0.8em!important;
  }
}
.SeasonLesson #Course_sche .u_pagelink li a:after {
      content: "\f105"!important;
}





#LowPage .c_red {
  color: #c92e35;
}
#LowPage .Bold {
  font-weight: bold;
}
#LowPage .Lesson_news .Inner div.NewsBlock {
    max-width: 1000px;
    padding: 40px 50px;
    background-color: #f6f6f6;
}
#LowPage .Lesson_news .Inner div.NewsBlock dl {
  flex-wrap: wrap;
}
#LowPage .Lesson_news .Inner div.NewsBlock dl dt {
  width: 7em;
}
#LowPage .Lesson_news .Inner div.NewsBlock dl dd {
  width: calc(100% - 7em);
  margin-bottom: .7em;
}
@media screen and (max-width: 640px) {
  #LowPage .Lesson_news .Inner div.NewsBlock dl dt,
  #LowPage .Lesson_news .Inner div.NewsBlock dl dd {
    width: 100%;
  }
}

#LowPage .YakudachiConte {
  border: 1px solid #CECEC7;
  padding: 30px 50px 40px 50px;
}
#LowPage .YakudachiConte ul {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-end;
}
@media screen and (max-width: 1000px) {
  #LowPage .YakudachiConte ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  #LowPage .YakudachiConte ul {
    grid-template-columns: 1fr;
  }
}
#LowPage .YakudachiConte ul li {
  padding: 6px 10px;
  border-bottom: 2px #004ea1 solid;
}
#LowPage .YakudachiConte ul li a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  font-weight: bold;
  line-height: 1.6;
}
#LowPage .YakudachiConte ul li a:after {
  font-family: "Font Awesome 5 Free";
  content: '\f105';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: #004ea1;
}

section.c_3rdBack {
  background-color: #f6faff;
  padding: 60px 0;
}
section.c_2ndBack {
  background-color: #f9fbf4;
  padding: 60px 0;
}
section.c_1stBack {
  background-color: #fdfaf5;
  padding: 60px 0;
}
section.c_kinderBack {
  background-color: #fef5fa;
  padding: 60px 0;
}
section.c_juniorBack {
  background-color: #f3fdfd;
  padding: 60px 0;
}
section.c_sakuraBack {
  background-color: #fdf4f5;
  padding: 60px 0;
}

#LowPage .h2LargeTitle {
  font-size: 2.8em;
  line-height: 1.6;
  text-align: center;
}
@media screen and (max-width: 640px) {
  #LowPage .h2LargeTitle {
    font-size: 1.8em;
  }
}
#LowPage .LessonIndex {
  background-color: #fff;
  border: 1px solid #CECEC7;
  padding: 40px 50px 40px 50px;
  margin-bottom: 50px;
}
#LowPage .LessonIndex:last-of-child {
  margin-bottom: 10px;
}
@media screen and (max-width: 640px) {
  #LowPage .LessonIndex {
    padding: 30px;
  }
}

#LowPage .LessonIndex .LessonIndexTitle {
  font-weight: bold;
  font-size: 1.2em;
  padding: .5em;
  margin-bottom: .8em;
}
#LowPage .LessonIndex .LessonIndexTitle span {
  padding: 10px;
  margin-right: 12px;
  color: #fff;
  font-size: .8em;
}
#LowPage .LessonIndex .LessonIndexTitle.c_3rd {
  color: #1063A9;
  border-top: 1px solid #1063A9;
  border-bottom: 1px solid #1063A9;
  background-color: #ebf5ff;
}
#LowPage .LessonIndex .LessonIndexTitle.c_3rd span {
  background-color: #1063A9;
}
#LowPage .LessonIndex .LessonIndexTitle.c_2nd {
  color: #7EAC00;
  border-top: 1px solid #7EAC00;
  border-bottom: 1px solid #7EAC00;
  background-color: #f7fde6;
}
#LowPage .LessonIndex .LessonIndexTitle.c_2nd span {
  background-color: #7EAC00;
}
#LowPage .LessonIndex .LessonIndexTitle.c_1st {
  color: #F4922F;
  border-top: 1px solid #F4922F;
  border-bottom: 1px solid #F4922F;
  background-color: #fff6ed;
}
#LowPage .LessonIndex .LessonIndexTitle.c_1st span {
  background-color: #F4922F;
}
#LowPage .LessonIndex .LessonIndexTitle.c_kinder {
  color: #f05e8d;
  border-top: 1px solid #f05e8d;
  border-bottom: 1px solid #f05e8d;
  background-color: #ffeaf1;
}
#LowPage .LessonIndex .LessonIndexTitle.c_kinder span {
  background-color: #f05e8d;
}
#LowPage .LessonIndex .LessonIndexTitle.c_junior {
  color: #47A7A7;
  border-top: 1px solid #47A7A7;
  border-bottom: 1px solid #47A7A7;
  background-color: #e9ffff;
}
#LowPage .LessonIndex .LessonIndexTitle.c_junior span {
  background-color: #47A7A7;
}
#LowPage .LessonIndex .LessonIndexTitle.c_sakura {
  color: #E25C56;
  border-top: 1px solid #E25C56;
  border-bottom: 1px solid #E25C56;
  background-color: #ffe9e9;
}
#LowPage .LessonIndex .LessonIndexTitle.c_sakura span {
  background-color: #E25C56;
}

#LowPage ol.Number {
  list-style: revert;
  margin-left: 1.5em;
  margin: 4px 0;
	padding-left: 25px;
}
#LowPage ul.disc {
  list-style: disc;
  margin-left: 1.5em;
  margin: 4px 0;
	padding-left: 25px;
}
  
#LowPage .Attention {
  border: 1px solid #cecece;
  padding: 40px 50px;
}
#LowPage .Attention h3 {
  color: #c92e35;
  border-bottom: 1px #c92e35 solid;
  padding-bottom: .2em;
  width: fit-content;
}
#LowPage .Attention p,
#LowPage .Attention ol,
#LowPage .Attention ul {
  font-size: .92em;
  line-height: 1.9;
}
#LowPage dl.JyugyoIcon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
hr.sprit {
  margin-top: 20px;
  margin-bottom: 35px;
  margin-left: -19px;
  margin-right: -19px;
  border: none;
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
  border-top: dashed 1px #cecece;
  color: #fff;
}
.bg_gray{
	background: #f8f8f8;
	padding: 7px 10px 4px;
	border: 1px solid #d8d8d8;
}
.table-wrapper {
  width: 100%;
  overflow-x: auto; /* 横スクロールを許可 */
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
}
.table_lessonA {
  border-collapse: collapse;
  max-width: 1400px;  /*表全体の幅を固定しておくと横スクロールが効く */
  width: 100%;
  min-width: 800px;
}
.table_lessonA th,
.table_lessonA td {
  /*white-space: nowrap;  折り返し防止 */
	font-size: 1.6rem !important;
}

/* --- スクロールヒント --- */
.table-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
}

/* スマホサイズでヒント表示 */
@media (max-width: 768px) {
  .table-scroll-hint {
    display: block;
  }
}
/* スマホサイズでヒント表示 */
@media (max-width: 640px) {
	.table_lessonA th,
	.table_lessonA td {
	  /*white-space: nowrap;  折り返し防止 */
		font-size: 1.1rem !important;
	}
}