/* ==========パンくずリスト=========== */
/* .breadcrumb {
    margin: 1em 0;
    font-size: 14px;
    color: #555;
    text-align: right;
    margin-right: 5%;
    font-family: 'M PLUS 1', sans-serif;
}

.breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}
.breadcrumb a:hover {
  color: #0058D6;
  transition: .4s;
} */
 p#breadcrumbs {
    text-align: right;
    margin-top: 10px;
    margin-right: 3%;
}
p#breadcrumbs span span a {
  text-decoration: none;
}
p#breadcrumbs span span a:hover {
  color:#0058D6;
  font-weight: bold;
  transition: .4s;
}
/* ========================= */
main {
  padding-top: 90px;
}
.header_poti {
  position: relative;
  position: fixed;
  z-index: 1000;
  width: 100%;
  background-color: #fff;
}
.header_left_flex {
  display: flex;
  gap: 20px;
  margin: 20px;
  margin-bottom: 0px;
  color: #000000;
}
a.header_left_flex:hover {
    color: #000000;
}
.header_address {
  display: inline-block;
}
.logo_ttl {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0px;
}
.logo_day {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 13px;
  color: #444444;
  line-height: 2;
  font-weight: 400;
}
.header_logo {
  font-family: 'ArimoHebrewItalic', sans-serif;
  font-size: 52px;
  line-height: 40px;
  font-weight: bold;
  font-style: italic;
  color: #2B65B5;
}
.footer_logo {
  font-family: 'ArimoHebrewItalic', sans-serif;
  font-size: 52px;
  line-height: 40px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  color: #2B65B5;
  margin-bottom: 30px;
}
.header_right_flex {
  display: flex;
  position: absolute;
  top: 0px;
  right: 0px;
  gap: 20px;
  margin: 25px 20px;
  align-items: center;
}
.header_right_flex li {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 15px;
  color: #000000;
}
.header_right_flex li {
  cursor: pointer;
}
.header_right_flex li:nth-child(3) {
  font-size: 18px;
  line-height: 1.3;
  position: relative;
  margin-left: 20px;
}
.header_right_flex li:nth-child(3) a {
  color: #0058D6;
}
.header_right_flex li:nth-child(3) a:hover {
  color: #2C6A83;
}
.header_right_flex li a {
    color: #000000;
    text-decoration: none;
    padding: 25px 20px;
}
.header_right_flex li a:hover {
  color: #0058D6;
  transition: .4s;
}
.header_right_flex li:nth-child(3)::before {
  content: url(../img/phone_icon.svg);
  margin-right: 10px;
  position: absolute;
  left: -2px;
}
.header_right_flex li:nth-child(4) {
  font-size: 18px;
  /* background-color: #FFF53E; */
  padding: 10px 20px;
  border-radius: 70px;
  position: relative;
}
.header_right_flex li:nth-child(4) a {
  color: #0058D6;
  padding: 10px 25px 10px 45px;
  background-color: #FFF53E;
  border-radius: 70px;
}
.header_right_flex li:nth-child(4) a:hover {
    background-color: #0058D6;
    color: #FFF53E;
}
.header_right_flex li:nth-child(4)::before {
  content:url(../img/letter.svg);
  position: absolute;
  left: 18%;
}
.header_right_flex li:nth-child(4):hover::before {
  content:url(../img/letter-yellow.svg);
  z-index: 1;
}
/* ========ハンバーガーメニュー======== */
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
/* ハンバーガーボタンのスタイル */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 20px;
  z-index: 1001;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 半透明 */
  z-index: 1000;
}

/* メニューが開いたときに overlay を表示 */
.nav-open .overlay {
  display: block;
}
.mv {
  position: relative;
  width: 100%;
}
.display-sp {
  display: none;
}
.mv img {
  width: 100%;
  margin: 0 auto;
}
.student_grade_img_block {
  display: flex;
  position: absolute;
  top: 85px;
  right: 24%;
  gap: 20px;
}
.mv_ttl_img {
  position: absolute;
  left: 19.5%;
  top: 70px;
  width: 32%;
}
.joy_ttl_block {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.splide_block .joy_ttl_block h2 {
  margin-bottom: 30px;
}
.joy_ttl_block h2 {
  font-family: 'M PLUS 1p', sans-serif;
  color: #2C6A83;
  font-size: 36px;
  font-weight: 500;
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: #FFF53E; /* 線の色 */
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}
.splide_block {
  background-color: #E2F6FF;
  padding-top: 80px;
  padding-bottom: 100px;
  margin-bottom: 107px;
  position: relative;
}
.splide_deco1 {
  position: absolute;
  z-index: 1;
  left: 20%;
  top: 35px;
}
.splide_deco2 {
  position: absolute;
  z-index: 1;
  right: 25%;
  top: 35px;
}
/* スライド共通のスタイル */
.splide__slide img {
  opacity: .3; /* 左右のスライドを薄くする */
  transform: scale(.8); /* 左右のスライドを小さくする */
  transition: .7s; /* ゆっくり小さくさせる */
}
/* アクティブなスライドのスタイル */
.splide__slide.is-active img {
  opacity: 1; /* 中央のスライドは薄くしない */
  transform: scale(1); /* 中央のスライドは小さくしない */
  z-index: 3; /* 中央のスライドを一番上にする */
}
/* スライドのサイズ調整 */
.splide__slide img {
  height: auto;
  width: 100%;
}
/* レイアウトの為のスタイル */
.wrapper {
  margin-inline: auto;
  margin-top: 10px;
  max-width: 1600px;
  width: 100%;
  z-index: 3;
  position: relative;
}
.splide__pagination__page.is-active {
  background: #0058D6 !important;
}
.splide__pagination__page {
  top: 50px;
}
.splide:not(.is-overflow) .splide__pagination {
  display: block !important;
  text-align: center;
}
.splide__arrow {
  background-color: #0058D6 !important;
  border-radius: 5px !important;
}
.splide__arrow svg {
    fill: #fff !important;
}
.left_txt_flex_block {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  margin: 0 auto;
  gap: 6%;
  align-items: center;
  margin-top: 40px;
}
.joysta {
  max-width: 1600px;
  margin: 0 auto;
  margin-top: 80px;
  position: relative;
}
.left_txt {
  width: 29%;
}
.left_txt h3 {
  font-family: 'M PLUS 1p', sans-serif;
  color: #0058D6;
  font-size: 24px;
  line-height: 24px;
  margin-bottom: 30px;
}
.left_txt h3::before {
  content:url(../img/pico.png);
  margin-right: 3px;
}
.left_txt p {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 35px;
  color: #000000;
}
.joysta_img {
  width: 50%;
  position: relative;
}
.joysta_cap_img1 {
  position: absolute;
  width: 95%;
  z-index: -1;
  top: 39px;
  right: 0px;
}
.joysta_cap_img2 {
  position: absolute;
  bottom: -64px;
  left: 160px;
}
.joysta_cap_img3 {
  position: absolute;
  bottom: -64px;
  right: 80px;
}
.back_grid_area {
  position: absolute;
  right: 28px;
  bottom: 306px;
  margin: unset;
  z-index: -1;
}
.link_box .left_txt.detail_link {
  color: #0058D6;
  font-family: 'Inter', sans-serif;
  padding: 10px 10px 10px 60px;
  border: solid 1px;
  border-radius: 4px;
  text-decoration: none;
}
.link_box .left_txt.detail_link::after {
  content: '>';
  padding-left: 45px;
}
.link_box a.left_txt.detail_link:hover {
    background-color: #0058D6;
    color: #fff;
    transition: .4s;
}
a.allow_posi {
    text-decoration: none;
    color: #0058D6;
}
.allow_posi::after  {
  content: '>';
  padding-left: 45px;
}
.inquiry .link_box a.allow_posi:hover {
  background-color: #0058D6;
  color: #fff;
  transition: .4s;
}
.joysta_cap4 {
  position: absolute;
  bottom: 60px;
}
.whats_joysta1 {
  position: absolute;
  z-index: -1;
  bottom: 20px;
  left: 0px;
}
.whats_joysta2 {
  position: absolute;
  z-index: -2;
  top: -107px;
  right: 0;
}
.course {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  margin-bottom: 50px;
}
.decoration {
  position: absolute;
}
.decoration.area1 {
  z-index: -2;
  right: 135px;
  width: 37.5%;
}
.decoration.area2 {
  left: 110px;
  top: -70px;
}
.decoration.area3 {
  top: 20px;
  right: 466px;
}
.decoration.area4 {
  top: 460px;
  left: -18px;
}
.decoration.area5 {
  top: 615px;
  left: 50px;
}
.decoration.area6 {
  bottom: 0px;
  right: 45px;
  z-index: -1;
}
.course_width {
  margin-top: 110px;
  padding-top: 80px;
}
.course_back_yellow {
  position: absolute;
  z-index: -4;
  top: 0px;
  left: 60px;
}
.course_txt_block p {
    text-align: center;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
}
.course_txt_block {
    margin-top: 40px;
    margin-bottom: 40px;
}
.course_flex_block {
    display: flex;
    max-width: 1040px;
    margin: 0 auto;
    gap: 30px;
}
.course_grade_block {
    text-align: center;
    align-content: center;
    box-shadow: 0px 0px 2px gray;
    border-radius: 4px;
    padding: 15px 15px 30px 15px;
    background-color: #fff;
    width: 33%;
}
.course_detail_txt {
  font-size: 15px;
}
.grade_ttl {
  font-family: 'Inter', sans-serif;
  padding: 10px;
  border: solid 1px;
  border-radius: 6px;
  font-size: 24px;
  font-family: 'M PLUS 1p', sans-serif;
  line-height: 24px;
  font-weight: bold;
}
.grade_ttl.elementary {
  color: #fff;
  background-color: #FFB46D;
}
.grade_ttl.junior-high {
  color: #fff;
  background-color: #93E3D3;
}
.grade_ttl.high-ronin {
  color: #fff;
  background-color: #83BDFF;
}
.course_detail {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 16px;
    line-height: 29.5px;
    color: #000000;
    width: 86%;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 30px;
    height: 236px;
    text-align: left;
}
.inquiry {
  padding-top: 80px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}
.inquiry_sub {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 27px;
  line-height: 27px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 30px;
 text-align: center;
}
.step_flex_block {
  display: flex;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto;
  gap: 20px;
}
.step_child {
  /* width: 25%; */
  width: calc(25% - 15px); 
  text-align: center;
  position: relative;
}
.step_txt {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  color: #2C6A83;
  text-align: left;
}
.step_child figure {
  background-color: #FDFAC8;
  padding: 30px;
  border-radius: 20px;
}
.txt_blue {
  color: #0058D6;
}
.step_detail_txt {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #000000;
  text-align: left;
}
.number_icon {
  font-family: 'Jersey 20', sans-serif;
  position: absolute;
  left: 10px;
  color: #0058D6;
  font-size: 21px;
  line-height: 21px;
  background-color: #FFF53E;
  padding: 8px 12px 9px 12px;
  border-radius: 8px;
  top: 10px;
}
figure.plus_margin {
    padding: 30px 15px 30px 45px;
}
/* .inquiry .link_box {
  width: 40%;
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
  color: #0058D6;
  font-family: 'Inter', sans-serif;
  padding: 10px 10px 10px 60px;
  border: solid 1px;
  border-radius: 4px;
  text-decoration: none;
} */
.inquiry .link_box a.allow_posi {
    display: block;
    width: 40%;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
    color: #0058D6;
    font-family: 'Inter', sans-serif;
    padding: 10px 10px 10px 60px;
    border: solid 1px;
    border-radius: 4px;
    text-decoration: none;
}
.inquiry_deco {
  position: absolute;
}
.inquiry_deco.area1 {
  top: 8px;
  z-index: -10;
}
figure.inquiry_deco.area2 {
    right: 150px;
    top: 140px;
}
figure.inquiry_deco.area3 {
    top: 45px;
    right: 24%;
}
figure.inquiry_deco.area4 {
    left: 5%;
    top: 150px;
}
.step_child::after {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 30px solid #0058D6;
  position: absolute;
  top: 10px;
}
.insta {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 80px;
}
.yellow_back {
    background-color: #FFF53E;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}
.footer_list_flex {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.copyright_block {
  text-align: center;
  font-size: 12px;
  margin-top: 12px;
}
.footer_adress_ttl {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 16px;
  color: #2C6A83;
}
.footer_adress_sub {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 14px;
  line-height: 14px;
  color: #2C6A83;
}
.footer_adress_sub a {
  text-decoration: none;
  color: #2C6A83;
}
.footer_list_flex li a {
  text-decoration: none;
  color: #2C6A83;
}
.container {
  display: flex;
  background-color: white; /* 左の余白用の背景 */
}
.course_back_yellow {
    width: 96%;
    background-color: #fdfac8;
    border-top-left-radius: 70px;
    border-bottom-left-radius: 70px;
    padding: 20px;
    height: 789px;
}
.course {
  margin-bottom: 80px;
}
.display_sp {
  display: none;
}
.display_sp2 {
  display: none;
}
.display_sp3 {
  display: none;
}
.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid #0058D6;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  position: absolute;
  top: 65px;
  right: -10px;
}
/* ===================ジョイスタとは===================== */
.mv.lower {
  position: relative;
  width: 100%;
  height: 212px; /* 高さは必要に応じて調整 */
  background-image: url('../img/lower_layer.jpg'); /* 画像のパス */
  background-size: cover;      /* 画像を全面に広げる */
  background-position: center; /* 画像を中央に表示 */
  background-repeat: no-repeat;/* 繰り返しなし */
}
.mv.lower::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 72%;
  background-color: rgba(255, 255, 255, 0.5); /* 0.5 = 50%白マスク */
  z-index: 1;
}
.mv.lower h1 {
  font-family: 'M PLUS 1', sans-serif;
  z-index: 100;
  position: relative;
  text-align: center;
  padding-top: 3.6%;
  color: #0058D6;
}
.mv.lower p {
  font-family: 'M PLUS 1', sans-serif;
  z-index: 100;
  position: relative;
  text-align: center;
  padding-top: 3.6%;
  color: #0058D6;
  font-weight: bold;
  font-size: 30px;
}
.wel_joy_flex {
  display: flex;
  max-width: 958px;
  width: 100%;
  margin: 0 auto;
  gap: 50px;
  margin-top: 80px;
}
.lower_sec {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.lower_sec.whats_joysta1 {
    bottom: -108px;
}
.right_txt_box h2 {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 24px;
  line-height: 25px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #0058D6;
}
.right_txt_box h2::before {
    content: url(../img/pico.png);
    margin-right: 3px;
}
.right_txt_box p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #000000;
}
.right_txt_box {
    width: 47%;
}
.faci_flex {
  display: flex;
  max-width: 900px;
  gap: 30px;
  margin: 0 auto;
  margin-top: 50px;
}
.faci_info {
  max-width: 1600px;
  margin: 0 auto;
  margin-top: 80px;
}
.faci_info_deco {
  position: relative;
}
.decoration.area3.joysta {
  right: 20%;
}
.decoration.area4.joysta {
  top: 700px;
}
.decoration.area5 {
    top: 615px;
    left: 50px;
}
.faci_info_ttl {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  line-height: 60px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}
.faci_info_grey {
  background-color: #E2F6FF;
  border-radius: 50px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.faci_info_grey h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 60px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}
.content_ttl {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 25px;
  font-weight: bold;
  color: #000000;
}
.faci_info_grey p {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #000000;
}
.faci_img_flex {
    display: flex;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    gap: 30px;
    margin-top: 50px;
}
.faci_flex_content {
    width: 100%;
    background-color: #fdfac8;
    padding: 25px;
    border-radius: 10px;
}
.faci_img_flex figure {
    background-color: #FDFAC8;
    padding: 25px;
    border-radius: 10px;
}
.faci_flex_content.teacher {
    /* border: solid 1px #000000; */
    padding: 20px;
}
.content_txt_block .content_txt {
  text-align: left;
}
.content_detail {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #000000;
}
p.content_detail {
    width: 42%;
    margin: 0 auto;
}
.faci_info_grey.second {
  margin-top: 30px;
}
.teacher {
  max-width: 1048px;
  width: 100%;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 80px;
  position: relative;
}
.teacher .inquiry_deco.area4 {
    left: -15%;
    top: 100px;
}
.teacher .joysta_cap_img2 {
    position: absolute;
    bottom: 40px;
    right: -15%;
    left: unset;
}
figure.teacher_cap {
    position: absolute;
    right: -15%;
}
.color_block {
  background-color: #E2F6FF;
  padding: 10px;
  width: 100%;
  height: 160px;
  margin: 0 auto;
}
.color_block_ttl {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 17px;
  font-weight: bold;
  color: #0058D6;
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #FFF53E;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.color_block_detail {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
}
.faci_flex.second {
  max-width: 910px;
  gap: 20px;
  margin-top: -35px;
}
.message_theme {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  color: #000000;
  margin-top: 20px;
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #FFF53E;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.content_txt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
}
.content_ttl span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 25px;
  font-weight: bold;
  color: #000000;
}
.content_ttl.plus {
  font-size: 20px;
}
.content_txt_block {
    margin-top: 15px;
}
.left_img_box {
  position: relative;
  display: inline-block;
}

.haikei_yellow {
  position: absolute;
  top: 30px; /* 画像の位置から少しずらす */
  left: 10px;
  width: 100%;
  height: 100%;
  background-color: #FFF53E;
  border-radius: 20px;
  z-index: 0;
}
.left_img_box img {
  position: relative;
  z-index: 1;
}
.decoration.area2.joysta {
  bottom: -50px;
  left: 0px;
  top: unset;
}
.lower_sec .whats_joysta1 { 
  bottom: -106px;
}
.faci_info_deco .splide_deco1 {
    left: 7%;
    top: -160px;
}
.faci_info_deco .splide_deco2 {
    right: 8%;
}
.faci_info_deco .inquiry_deco.area2 {
    right: 7%;
    top: unset;
    bottom: 0px;
}
/* ===================================================== */
/* ==================コースのご紹介====================== */
.corse-nav {
    margin-top: 80px;
    padding: 0 20px;
}
ul.corse-flex_box {
    /* display: flex;
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    gap: 100px;
    justify-content: center; */
    display: flex;
  flex-wrap: wrap;
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  gap: 30px; /* gapをモバイルでも適切に */
  justify-content: center;
  padding: 0;
  list-style: none;
}
ul.corse-flex_box li {
  flex: 1 1 250px; /* 幅が狭くなったら折り返す */
  max-width: 30%; /* デスクトップでは最大30% */
  min-width: 200px; /* 最小幅を設定 */
  box-sizing: border-box;
  text-align: center;
  height: 95.38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.1;
}
ul.corse-flex_box li.element {
  /* background-color: #E68F3C; */
  border: solid #E68F3C 1px;
  border-radius: 4px;
  text-decoration: none; 
}
ul.corse-flex_box li.element:hover {
   background-color: #E68F3C;
   color: #fff;
}
ul.corse-flex_box li.element a.defo {
   color: #E68F3C;
}
ul.corse-flex_box li.element a.defo:hover {
  color: #fff;
  transition: .4s;
}
ul.corse-flex_box li.junior-high {
  /* background-color: #63C6B2; */
  border: solid #63C6B2 1px;
  border-radius: 4px;
  text-decoration: none;
}
ul.corse-flex_box li.junior-high:hover {
   background-color: #63C6B2;
   color: #fff;
}
ul.corse-flex_box li.junior-high a.defo {
  color: #63C6B2;
}
ul.corse-flex_box li.junior-high a.defo:hover {
  color: #fff;
  transition: .4s;
}
ul.corse-flex_box li.hi-ro {
  /* background-color: #5395E6; */
  border: solid #5395E6 1px;
  border-radius: 4px;
  text-decoration: none;
}
ul.corse-flex_box li.hi-ro:hover {
   background-color: #5395E6;
   color: #fff;
}
ul.corse-flex_box li.hi-ro a.defo {
  color: #5395E6;
}
ul.corse-flex_box li.hi-ro a.defo:hover {
  color: #fff;
  transition: .4s;
}
ul.corse-flex_box li a.defo {
  /* text-decoration: none;
  color: #fff; */
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 95.38px; /* 文字中央寄せの補完 */
  position: relative;
  padding-right: 18px;
}
ul.corse-flex_box li a.defo::after {
  position: absolute;
  content: '>';
  right: 17%;
}
ul.corse-flex_box li:nth-child(3) a.defo::after {
  position: absolute;
  content: '>';
  right: 8%;
}
section#elementary {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    margin-top: 150px;
    padding-top: 100px;
    position: relative;
}
span.text_red {
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
}
span.text_yellow {
    font-family: 'Inter', sans-serif;
    color: #E68F3C;
    font-weight: bold;
    font-size: 20px;
}
p.corse_cap {
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: -15px;
}
.detail_flex_block {
    display: flex;
    /* justify-content: center; */
    gap: 12%;
    margin-top: 40px;
}
.course_detail_txt span {
    display: block;
    padding-left: 30px;
}
p.text_block_ttl {
    color: #0058D6;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 0.5em;
    text-decoration-color: #FFF53E;
    text-underline-offset: -0.2em;
    text-decoration-skip-ink: none;
}
.text_block_ttl span {
    font-size: 16px;
    color: #2C6A83;
}
.text_block {
    width: 50%;
    align-content: center;
}
figure.img_block {
  width: 38%;
  background-color: #FDFAC8;
  padding: 20px;
  border-radius: 20px;
  align-content: center;
}
p.text_block_detail {
    color: #000000;
    font-family: 'Inter', sans-serif;
}
section#junior-high {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    margin-top: 150px;
    padding-top: 100px;
    position: relative;
}
section#high-school_ronin {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    margin-top: 150px;
    padding-top: 100px;
    position: relative;
    margin-bottom: 150px;
}
span.text_green {
    color: #63C6B2;
    font-weight: bold;
    font-size: 20px;
}
span.text_bule {
    color: #5395E6;
    font-weight: bold;
    font-size: 20px;
}
span.small {
    font-size: 14px;
}
.form {
    text-align: center;
    margin-top: 80px;
}
.form a {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    padding: 30px;
    /* color: #fff; */
    text-decoration: none;
    border-radius: 4px;
}
.corse-elementary .form a {
  border: solid #E68F3C 1px;
  color: #E68F3C;
}
.corse-elementary .form a:hover {
  background-color: #E68F3C;
  color: #fff;
  transition: .4s;
}
.corse-junior-high .form a {
  border: solid #63C6B2 1px;
  color: #63C6B2;
}
.corse-junior-high .form a:hover {
  background-color: #63C6B2;
  color: #fff;
  transition: .4s;
}
.corse-high-school_ronin .form a {
  border: solid #5395E6 1px;
  color: #5395E6;
}
.corse-high-school_ronin .form a:hover {
  background-color: #5395E6;
  color: #fff;
  transition: .4s;
}
.crosshair {
  /* top: 50%; */
  /* left: 50%; */
  width: 100%;
  /* height: 100vh; */
  pointer-events: none; /* クリック無効化 */
  position: relative;
  z-index: -1;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
}
.corse-elementary .crosshair::before {
  background-color: #FFB46D;
}
.corse-junior-high .crosshair::before {
  background-color: #93E3D3;
}
.corse-high-school_ronin .crosshair::before {
  background-color: #83BDFF;
}
.corse-elementary .crosshair::after {
  background-color: #FFB46D;
}
.corse-junior-high .crosshair::after {
  background-color: #93E3D3;
}
.corse-high-school_ronin .crosshair::after {
  background-color: #83BDFF;
}
.crosshair::before {
  top: 230px;
    left: -125px;
    width: 20%;
    height: 1px;
    transform: translateY(-0.5px);
}

.crosshair::after {
      left: -5%;
    top: 180px;
    height: 300px;
    width: 1px;
    transform: translateX(-0.5px);
}
.corse_box {
  margin-top: 75px;
}
.corse_block {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
}
figure.element-deco {
    position: absolute;
    width: 200px;
    right: -80px;
    top: 10px;
}
.junior-high_deco {
  position: absolute;
  width: 200px;
  left: -80px;
  top: 30px;
}
/* =======お問い合わせフォーム======== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="select"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  margin-bottom: 16px;
}
/* プルダウン枠 */
select.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    margin-bottom: 16px;
}
.contact-form-area {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    margin-top: 150px;
}
label.contact-list_ttl {
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}
p.center_button {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 100px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    border-radius: 10px;
    background-color: #0058D6;
    color: #fff;
    padding: 20px 80px;
    border: solid #0058D6 1px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #fff;
    border: solid #0058D6 1px;
    color: #0058D6;
    transition: .4s;
}
input.wpcf7-form-control.wpcf7-previous {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    border-radius: 10px;
    background-color: #0058D6;
    color: #fff;
    padding: 20px 80px;
}
input.wpcf7-form-control.wpcf7-previous:hover {
  background-color: #fff;
  border: solid #0058D6 1px;
  color: #0058D6;
}
.contact-thanks {
  width: 100%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}
.bnr_posi.thanks {
  margin-bottom: 100px;
}
.contact-thanks p {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 20px;
    color: #000000;
}
p.center_button.flex2 {
    margin-top: 50px;
    margin-bottom: 100px;
    width: 100%;
    text-align: center;
    /* display: flex; */
    gap: 30px;
}
span.wpcf7-spinner {
    display: none;
}
.wpcf7-form.init dl dt p {
  margin-bottom: 0px;
}
.wpcf7-form.init dl dd p {
    font-family: 'Inter', sans-serif;
    color: #000000;
    /* margin-left: 5%; */
}
.wpcf7-form.init dl {
    margin-bottom: 50px;
}
.form_text_red {
  color: red;
}
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-color: #fff;
  padding-right: 30px; /* 矢印の分の余白 */
}
/* ================================= */
/* =======投稿ページ======== */
.seasonal {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 200px;
}
h1.single_title {
  font-size: 40px;
  color: #0058D6;
  border-bottom: solid 3px #0058D6;
  margin-bottom: 40px;
}
.seasonal h2 {
  font-family: 'M PLUS 1p', sans-serif;
  color: #2C6A83;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 50px;
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #FFF53E;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.seasonal h3 {
    font-family: 'M PLUS 1p', sans-serif;
    color: #0058D6;
    font-size: 26px;
    margin-bottom: 25px;
}
.seasonal h4 {
    font-family: 'M PLUS 1p', sans-serif;
    color: #000000;
    font-size: 20px;
    margin-bottom: 15px;
}
.seasonal ul {
    width: 90%;
    /* margin-left: 34px; */
    margin-top: 20px;
    margin-bottom: 60px;
}
.seasonal ul li {
  /* list-style-type: none; */
}
.seasonal li {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  text-align: left;
  list-style-type: disc;
  margin-top: 20px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.seasonal p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  text-align: left;
  margin-bottom: 30px;
}
.post-thumbnail {
    max-width: 850px;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    margin-top: 100px;
}
.post-thumbnail img.attachment-large.size-large.wp-post-image {
    width: 100%;
}
.seasonal ol {
  margin-left: 38px;
}
.seasonal ol li {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    text-align: left;
    list-style-type: auto;
}
.bnr_posi {
  text-align: center;
  margin-top: 100px;
}
a.single_back {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  border-radius: 10px;
  background-color: #0058D6;
  color: #fff;
  padding: 20px 80px;
  text-decoration: none;
}
a.single_back:hover {
  background-color: #fff;
  border: solid #0058D6 1px;
  color: #0058D6;
}
.seasonal figure {
  text-align: center;
}
:root {
  --g-text:#fff;/*文字の色*/
  --g-line:#fff;/*文字の色*/
  --g-bg1:#E6F7FA; /*グラデーション１色*/
  --g-bg2:#FFB46D;/*グラデーション2色*/
  --g-bg3:#E29C57;/*グラデーション3色*/
  --g-bg4:#93E3D3;/*グラデーション4色*/
  --g-bg5:#83BDFF;/*グラデーション5色*/
}

.grad-table{
color:var(--g-text);	
font-weight:bold;
text-align:center;
}

.grad-table table th{
font-family: 'M PLUS 1p', sans-serif;
border:1px solid white;	
color:var(--g-bg5);	
text-align:center;
}

.grad-table table td{
font-family: 'M PLUS 1p', sans-serif;
border:1px solid var(--g-line);	
text-align:center;
}

.grad-table th{
background-color:var(--g-bg1);
}

.grad-table tr:nth-child(1){
background-color:var(--g-bg2);
}

.grad-table tr:nth-child(2){
background-color:var(--g-bg3);
}
.grad-table tr:nth-child(3){
background-color:var(--g-bg4);
}
.grad-table tr:nth-child(4){
background-color:var(--g-bg5);
}
p.detail_txt {
    margin-bottom: 10px;
}
/* ======================== */
/* =============TOPに戻る=============== */
.scroll-top-bubble {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #0058D6;
  color: #fff;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

/* 吹き出しの三角部分 */
.scroll-top-bubble::after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 16px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #0058D6 transparent transparent transparent;
}

/* 表示状態 */
.scroll-top-bubble.show {
  opacity: 1;
  pointer-events: auto;
}
/* =========================== */

.single-post-thumbnail {
    text-align: center;
}


@media screen and (min-width: 1600px) {
  .back_grid_area {
    bottom: 333px;
  }
  .whats_joysta1 {
    bottom: 45px;
  }
  .mv.lower {
    position: relative;
    width: 100%;
    height: 260px;
    background-image: url(../img/lower_layer.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}
@media screen and (max-width: 1600px) {
  .student_grade_img_block {
    top: 50px;
    right: 15%;
  }
  .mv_ttl_img {
    top: 50px;
  }
  .back_grid_area {
    bottom: 333px;
  }
  .whats_joysta1 {
    bottom: 47px;
  }
  .insta {
    max-width: 1040px;
  }
}
@media screen and (max-width: 1460px) {
  .decoration.area5 {
    top: 660px;
    left: -45px;
  }
  .decoration.area3.joysta {
    right: 10%;
    top: -30px;
  }
}
@media screen and (max-width: 1420px) {
figure.inquiry_deco.area2 {
    width: 8%;
    right: 5%;
}
}
@media screen and (max-width: 1360px) {
  .header_right_flex li a {
    padding: 25px 5px;
  }
}
@media screen and (max-width: 1350px) {
  .decoration.area6 {
    bottom: 0px;
    right: 0;
  }
  .faci_info_deco .splide_deco2 {
    right: 3%;
  }
}
@media screen and (max-width: 1300px) {
  .whats_joysta1 {
    bottom: -55px;
  }
}
@media (max-width: 1024px) {
  .step_child {
    width: calc(50% - 10px); /* 2列 */
  }
}
@media screen and (min-width: 800px) {
  body {
    min-width: 1300px;
  }
}
/* スマホ用スタイル */
@media (max-width: 799px) {
  .header_right_flex {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .header_right_flex.active {
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0px;
  }
  .header_right_flex {
    gap: 30px;
  }
  .hamburger {
    display: block;
  }
  .student_grade_img_block {
    width: 30%;
    top: 25px;
  }
  .mv_ttl_img {
    top: 25px;
  }
  .splide_deco1 {
    left: 15%;
    top: 50px;
  }
  .splide_deco1 img {
    width: 70%;
  }
  .splide_deco2 {
    right: 18%;
    top: 80px;
  }
  .splide_deco2 img {
    width: 70%;
  }
  .left_txt_flex_block {
    display: block;
  }
  .left_txt {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10%;
  }
  figure.joysta_img {
    width: 90%;
    margin: auto 0 auto auto;
  }
  .back_grid_area {
    bottom: 651px;
    right: 0;
  }
  .whats_joysta1 {
    top: -108px;
    width: 50%;
  }
  .whats_joysta2 {
    width: 26%;
  }
  .joysta_cap4 {
    bottom: -10px;
  }
  .joysta {
    margin-bottom: 160px;
  }
  .course_flex_block {
    display: block;
  }
  .course_grade_block {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  .course_back_yellow {
    height: 1635px;
  }
  figure.decoration.area4 {
    top: unset;
    bottom: 0px !important;
  }
  .decoration.area5 {
    top: unset;
    bottom: -140px;
    left: -45px;
  }
  .decoration.area1 {
    width: 74%;
    right: 0px;
  }
  .decoration.area3 {
    top: 20px;
    right: 20%;
  }
  .course_txt_block {
    width: 70%;
    margin: 40px auto 40px auto;
  }
  .course_back_yellow {
    width: 92%;
  }
  .step_flex_block {
    width: 90%;
  }
  figure.inquiry_deco.area4 {
    width: 10%;
    left: 3%;
  }
  figure.inquiry_deco.area3 {
    top: 20px;
    right: 10%;
  }
  figure.inquiry_deco.area4 {
    width: 10%;
    left: 3%;
    top: 90px;
  }
  .inquiry_deco.area1 {
    width: 100%;
    top: 20px;
    z-index: -1;
  }
  .inquiry .link_box a.allow_posi {
    width: 80%;
  }
  .wel_joy_flex {
    width: 90%;
  }
  figure.left_img_box {
    width: 40%;
  }
  .faci_flex {
    width: 90%;
  }
  .faci_img_flex {
    width: 90%;
  }
  p.content_detail {
    width: 80%;
  }
  .faci_flex.second {
    display: block;
  }
  .faci_flex_content.teacher figure img {
    width: 100%;
  }
  .faci_flex_content.teacher {
    width: 80%;
    padding: 15px;
  }
  .haikei_yellow {
    height: 350px;
  }
  .decoration.area2.joysta {
    width: 40%;
  }
  figure.decoration.area4.joysta {
    width: 12%;
    top: 850px;
  }
  figure.decoration.area5 {
    width: 15%;
    left: unset;
    right: 5px;
    bottom: -108px;
  }
  .decoration.area3.joysta {
    right: 7%;
    top: -90px;
    width: 12%;
  }
  figure.whats_joysta1 {
    top: -82px;
  }
  .faci_info_deco .splide_deco2 {
        right: 3%;
        top: -95px;
  }
  .teacher .joysta_cap_img2 {
    width: 15%;
    position: absolute;
    bottom: -50px;
    right: 0%;
    left: unset;
    z-index: 1;
  }
  figure.teacher_cap {
    position: absolute;
    right: 0%;
    width: 15%;
    top: -75px;
  }
  .detail_flex_block {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  figure.img_block {
    width: 42%;
  }
  .corse_box {
    margin-top: 70px;
  }
  ul.corse-flex_box {
    gap: 20px;
  }

  ul.corse-flex_box li {
    max-width: 60%; /* スマホでは全幅表示 */
    height: 70px;
    font-size: 18px;
  }

  ul.corse-flex_box li a.defo {
    line-height: 70px;
  }
  .crosshair::before {
    left: 0px;
    top: 210px;
  }
  .crosshair::after {
    left: 3%;
    top: 170px;
  }
  figure.element-deco {
    position: absolute;
    width: 150px;
    right: 0px;
    top: 10px;
  }
  .junior-high_deco {
    position: absolute;
    width: 20%;
    left: 0px;
    top: 35px;
  }
  .seasonal {
    width: 90%;
  }
  .header_right_flex li a {
    padding: 10px 50px;
  }
  .header_right_flex li:nth-child(3)::before {
    left: 22px;
  }
  .mv.lower h1 {
    padding-top: 55px;
    font-size: 30px;
  }
  .mv.lower p {
    padding-top: 55px;
  }
  .header_logo {
    font-weight: 800;
  }
  .footer_logo {
    font-weight: 800;
  }
  .course_detail {
    align-content: center;
  }
}
@media screen and (max-width: 788px) {
    .course_back_yellow {
        height: 1720px;
    }
  }
/* @media screen and (max-width: 768px) {
  
} */
@media screen and (max-width: 750px) {
  .decoration.area2.joysta {
    bottom: -30px;
  }
}
@media screen and (max-width: 745px) {
  .course_txt_block {
        width: 80%;
  }
  .course_txt_block p {
    text-align: left;
    margin-left: 10px;
  }
  .display-745 {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  .logo_ttl {
    font-size: 12px;
  }
  .logo_day {
    font-size: 10px;
  }
  .logo_width {
    width: 15%;
  }
  .haikei_yellow {
    height: 300px;
  }
  .faci_info_deco .inquiry_deco.area2 {
    right: 0%;
    top: unset;
    bottom: -95px;
    width: 14%;
  }
  .header_logo {
    font-size: 30px;
  }
  .logo_width {
    width: 20%;
    margin-top: -5px;
  }
}
@media screen and (max-width: 688px) {
  .decoration.area2.joysta {
      bottom: 80px;
  }
}
@media screen and (max-width: 665px) {
  .display-665 {
    display: none;
  }
}
@media screen and (max-width: 660px) {
p.center_button.flex2 {
    display: block;
}
input.wpcf7-form-control.wpcf7-previous {
    margin-bottom: 30px;
}
}
@media screen and (max-width: 650px) {
  .crosshair::before {
    top: 260px;
  }
  .crosshair::after {
    top: 220px;
  }
  .corse_block {
    width: 90%;
  }
}
@media screen and (max-width: 640px) {
.right_txt_box {
    width: 50%;
}
.haikei_yellow {
    height: 250px;
  }
}
/* ==========投稿ページ========== */
 
@media screen and (max-width: 640px) {
  .wp-block-table.grad-table {
    overflow-x: auto;
  }
  .has-fixed-layout {
    min-width: 640px;
  }
  .has-fixed-layout td {
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
  }
}
/* ==================== */
@media screen and (max-width: 630px) {
.joysta_cap_img2 {
    width: 20%;
    left: 20%;
    bottom: -58px;
  }
  .joysta_cap_img3 {
    width: 25%;
    right: 22%;
  }
}
@media screen and (max-width: 620px) {
  .contact-form-area {
    width: 90%;
  }
}
@media screen and (max-width: 600px) {
.student_grade_img_block {
    top: 0px;
  }
  .mv_ttl_img {
    top: 40px;
    left: 10%;
    width: 50%;
  }
  .student_grade_img_block {
    top: 115px;
    width: 40%;
    right: 15%;
    gap: 10px;
  }
  .splide_deco1 {
    left: 5%;
    top: 70px;
  }
  .splide_deco1 img {
    width: 60%;
  }
  .splide_deco2 {
    right: 6%;
  }
  .splide_deco2 img {
    width: 60%;
  }
  figure.decoration.area4 {
    width: 15%;
  }
  figure.decoration.area5 {
    bottom: -45px;
    left: 8%;
    width: 15%;
  }
  figure.decoration.area2 {
    top: -45px;
    width: 20%;
  }
  .decoration.area3 {
    top: 20px;
    right: 5%;
  }
  .step_child {
    width: 100%; /* 1列 */
  }
  .course_back_yellow {
        width: 90%;
  }
  .display_sp2 {
    display: block;
  }
  .footer_adress_sub {
    line-height: 24px;
  }
  .inquiry .link_box a.allow_posi {
    width: 85%;
  }
  .triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid #0058D6;
    position: absolute;
    right: 45%;
    top: unset;
    bottom: -45px;
  }
  .wel_joy_flex {
    display: block;
  }
  figure.left_img_box {
    width: 100%;
    margin: 0 auto;
  }
  .right_txt_box {
    width: 100%;
    margin: 0 auto;
    margin-top: 50px;
  }
  .left_img_box img {
    width: 100%;
  }
  .haikei_yellow {
    height: 100%;
  }
  .decoration.area2.joysta {
    bottom: -185px;
    width: 30%;
  }
  .faci_info_deco .splide_deco2 {
    top: -195px;
  }
  .faci_info_deco .splide_deco1 {
    left: 5%;
    top: -205px;
  }
    .detail_flex_block {
    display: block;
    margin-top: 70px;
  }
  .text_block {
    width: 100%;
  }
  figure.img_block {
    width: 63%;
    margin: 0 auto;
  }
  /* .crosshair::before {
    top: 230px;
  }
  .crosshair::after {
    top: 200px;
  } */
  .header_poti {
    top: 0;
  }
  main {
    padding-top: 28px;
  }
  .display-pc {
    display: none;
  }
  .display-sp {
    display: block;
  }
}
@media screen and (max-width: 579px) {
   .crosshair::before {
    top: 290px;
  }
  .crosshair::after {
    top: 250px;
  }
}
@media screen and (max-width: 550px) {
  .inquiry .link_box a.allow_posi {
    padding: 10px 10px 10px 25px;
  }
  .allow_posi::after {
    padding-left: 15px;
  }
  .faci_flex {
    display: block;
  }
  .faci_flex_content {
    text-align: center;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 550px) {
  .course_grade_block {
    width: 304px;
  }
  .grade_ttl {
    font-size: 20px;
    line-height: 20px;
  }
  .course_detail {
    font-size: 14px;
    line-height: 25.5px;
  }
  .course_back_yellow {
    height: 1700px;
  }
  .joy_ttl_block h2 {
    font-size: 30px;
  }
  .color_block_ttl {
    text-align: left;
  }
  .color_block_detail {
    text-align: left;
  }
  .content_txt_block {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  figure.decoration.area4.joysta {
    top: unset;
    bottom: -165px !important;
  }
  .decoration.area3.joysta {
    right: 7%;
    top: -65px;
    width: 18%;
  }
  figure.element-deco {
    width: 100px;
    right: 0px;
    top: 10px;
  }
  .junior-high_deco {
        position: absolute;
        width: 100px;
        left: 0px;
        top: -50px;
  }
}
@media screen and (max-width: 520px) {
.crosshair::before {
    top: 280px;
  }
  .crosshair::after {
    top: 240px;
  }
}
@media screen and (max-width: 500px) {
.display_sp {
  display: block;
}
.allow_posi::after {
    content: '>';
    padding-left: 45px;
    position: absolute;
    bottom: 22px;
    padding-left: 15px;
  }
}
@media screen and (max-width: 490px) {
  .header_left_flex {
    display: block;
  }
  .decoration.area6 {
    bottom: -90px;
  }
  .course_back_yellow {
    width: 87%;
  }
  .left_txt .link_box {
    text-align: center;
  }
  main {
        padding-top: 80px;
  }
}
@media screen and (max-width: 480px) {
.left_txt h3 {
    font-size: 20px;
    text-align: left;
}
.left_txt p {
    font-size: 16px;
}
.mv_ttl_img {
    top: 20px;
    left: 10%;
    width: 50%;
}
.student_grade_img_block {
    top: 90px;
}
}
@media screen and (max-width: 470px) {
  ul.footer_list_flex {
    display: block;
  }
  .footer_list_flex li {
    margin-bottom: 10px;
  }
  .yellow_back {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 425px) {
  .splide_deco1 {
    left: 7%;
    top: 40px;
  }
  .splide_deco1 img {
    width: 50%;
  }
  .splide_deco2 {
    right: 0%;
  }
  .joy_ttl_block h2 {
    font-size: 24px;
  }
  .joysta_cap4 {
    width: 20%;
    bottom: -115px;
  }
  figure.inquiry_deco.area2 {
    width: 12%;
    left: 10%;
    top: 35px;
  }
  .triangle {
    right: 40%;
  }
  .faci_img_flex {
    width: 90%;
    display: block;
  }
  .faci_flex_content.teacher {
    width: 100%;
  }
  .faci_info_deco .splide_deco1 {
    left: 5%;
    top: -170px;
  }
  .faci_info_deco .inquiry_deco.area2 {
      width: 20%;
  }
  figure.teacher_cap {
    width: 25%;
  }
  .teacher .joysta_cap_img2 {
    width: 25%;
  }
  ul.corse-flex_box li {
        max-width: 280px;
        height: 70px;
        font-size: 18px;
  }
  .hamburger {
    top: 10px;
    right: 30px;
  }
  .seasonal {
    margin-top: 50px;
  }
  .post-thumbnail {
    margin-top: 50px;
  }
  .mv_ttl_img {
        top: 10px;
        left: 5%;
        width: 60%;
  }
  .student_grade_img_block {
        top: 80px;
        width: 50%;
        right: 5%;
        gap: 10px;
  }
  main {
    padding-top: 130px;
  }
  .mv.lower h1 {
    font-size: 25px;
  }
  .mv.lower p {
        font-size: 25px;
  }
  /* =========投稿ページ========== */
  .seasonal ul li {
    margin-left: -20px;
    margin-right: 10px;
  }
    h1.single_title {
    font-size: 26px;
  }
  .seasonal h2 {
    font-size: 20px;
  }
  .seasonal h3 {
    font-size: 18px;
  }
  .seasonal p {
    font-size: 16px;
  }
  /* =================== */
}
@media screen and (max-width: 400px) {
    .course_back_yellow {
        width: 85%;
    }
    .faci_info_grey {
    padding-top: 40px;
    }
    .seasonal .bnr_posi a.single_back {
      padding: 20px 30px;
    }
  }
@media screen and (max-width: 384px) {
.course_back_yellow {
        height: 1720px;
    }
  }
@media screen and (max-width: 375px) {
  .course_grade_block {
    margin-left: 60px;
  }
  .display_sp3 {
    display: block;
  }
  p.footer_adress_ttl {
    line-height: 24px;
  }
  .decoration.area3 {
    width: 25%;
  }
  .mv.lower h1 {
    font-size: 22px;
  }
  .mv.lower p {
    font-size: 22px;
  }
  .right_txt_box h2 {
    font-size: 20px;
  }
  .faci_info_ttl {
    font-size: 24px;
  }
  .faci_info_grey h3 {
    font-size: 22px;
  }
  .faci_info_deco .splide_deco1 {
        left: 0%;
  }
  .faci_info_deco .splide_deco2 {
    right: 0px;
  }
  .inquiry .link_box a.allow_posi {
    padding: 10px 10px 10px 0px;
  }
  .allow_posi::after {
    padding-left: 10px;
  }
  main {
    padding-top: 100px;
  }
  .course_back_yellow {
        width: 85%;
  }
  .logo_day {
    margin-bottom: 10px;
  }
  .header_logo {
    margin-bottom: 5px;
  }
  .header_left_flex {
    margin-top: 15px;
  }
  .student_grade_img_block {
        top: 70px;
        width: 55%;
  }
}
@media screen and (max-width: 360px) {
  .hamburger {
    right: 12px;
  }
  .course_grade_block {
    margin-left: 40px;
  }
  .mv_ttl_img {
    top: 5px;
  }
  .course_back_yellow {
        width: 83%;
  }
  .student_grade_img_block {
        top: 60px;
        width: 55%;
  }
}
@media screen and (max-width: 352px) {
      /* main {
        padding-top: 150px;
    } */
  }
@media screen and (max-width: 350px) {
.course_grade_block {
    margin-left: 45px;
    width: 300px;
  }
  .mv_ttl_img {
        top: 10px;
  }
}
@media screen and (max-width: 340px) {
    .course_grade_block {
        margin-left: 35px;
        width: 290px;
    }
}
@media screen and (max-width: 335px) {
   .crosshair::before {
    top: 320px;
  }
  .crosshair::after {
    top: 280px;
  }
}
@media screen and (max-width: 327px) {
    .course_back_yellow {
        height: 1755px;
    }
}
@media screen and (max-width: 320px) {
.course_grade_block {
        margin-left: 30px;
    }
}