@charset "UTF-8";
/*====================================================================
slick
====================================================================*/
.slider-wrapper {
  max-width: 100%;
  margin: 88px auto 0 auto;
}
#main-slider {
  margin-bottom: 0;
}
.slider .slide {
  position: relative;
}
.slick-slide a,.slick-slide a img{
  width: 100%;
  display:block;
}
#thumb-slider .slick-slide img {
  cursor: pointer;
  width: 100%;
}
#thumb-slider .slick-slide {
  width: 300px;
  margin-right: 10px;
}
/* dotsスタイル */
.slick-dots{
  position:static;
}
.slick-dots li button::before{
  display: none;
}
ul.slick-dots{
  list-style: none;
  padding: 0;
  margin: 0.8em 0 1em 0;
  text-align: center;
  width: 100%;
}
ul.slick-dots > li {
  display: inline-block;
  margin: 0 6px;
  position: relative;
}
ul.slick-dots > li > button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #bcbcbc;
  cursor: pointer;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
/* activeのボタン */
ul.slick-dots > li.slick-active > button {
  background-color: red;
}

/* したのサムネイル */
#js-thumb-slider .slick-track {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}
#js-thumb-slider .slick-slide {
  width: calc((100% - 3em) / 4) !important; /* サムネイル幅を等分 */
  margin-right: 1em; /* デフォルトの余白 */
  box-sizing: border-box;
}
#js-thumb-slider .slick-slide.is-last-visible {
  margin-right: 0 !important;
}

@media screen and (max-width: 1199px) {
.slider-contents {
  margin-top: 70px;
}
.eye-catch-contents {
  display: none !important;
}
.wp-block-column h3 {
  height:15vw;
}
.slider-3 .slick-slide .slide-img {
  width: 100%;
}
}
@media screen and (max-width: 767px) {
.slider-wrapper {
  margin: 65px auto 0 auto;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}
.slick-dotted.slick-slider,.slider-3 .slick-slide {
    margin: 0;
}
.slider-3 .slick-slide .slide-img {
  width: 100%;
  height: auto;
  transition: all 0.6s ease 0.4s;
  overflow: hidden;
  opacity: 0;
  margin: 0 auto;
  display: block;
}
.slider-3 .slick-arrow {
  background-color: transparent;
}
.slider-3 .slick-next {
  right: 0;
}
.slider-3 .slick-prev {
  left: 0;
}
.slider-3 .slick-arrow::before {
  top: 0px;
}
ul.slick-dots {
  margin: 0.2em auto;
}
ul.slick-dots > li {
  margin: 0 1px;
}
li.tachikawa_blog a, li.omiya_blog a, li.suidobashi_blog a, li.ikebukuro_blog a, li.akihabara_blog a, li.yokohama_blog a, li.topics a, li.media a, li.notice a, li.blog a {
  font-size: 3vw;
}
  #js-thumb-slider {
    display: none !important;
  }
#thumb-slider .slick-slide {
  margin-right: 0;
  margin-left:0
}
.slick-slide a {
  border: solid 1px #fff;
  box-sizing:border-box;
}
}

/*====================================================================
section01:メッセージ
====================================================================*/
.top #content {
  padding-top: 0 !important;
}
section{
  width:100%;
}
section.Sec_01 {
  background: url( "../src/img/top/message.jpg" ) top center / auto 100% no-repeat;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
  height: 40vw;
}
section.Sec_01 p {
  writing-mode: vertical-rl;
  white-space: pre-wrap;
  text-orientation: mixed;
  overflow-y: auto;
  line-height: 3.5;
  font-size: 1vw;
  font-family: "游明朝", YuMincho, serif;
  margin: 0 auto 1.5em auto;
  border-bottom: none;
  box-shadow: none;
  overflow-y: auto;
  /* Chrome, Edge, Safari */
  scrollbar-width: none;  /* Firefox用 */
  -ms-overflow-style: none;  /* IE, Edge用 */
}
/* Chrome, Edge, Safari用 */
section.Sec_01 p::-webkit-scrollbar {
  display: none;
}
.animated-text .line {
  opacity: 0;
  display: inline-block;
  transform: translateX(-20px);
  /* animationは無し（まだvisibleじゃないので） */
  transition: none;
}

/* is-visibleが付いたらアニメーションスタート */
.animated-text.is-visible .line {
  animation: fadeInLine 0.8s forwards;
}

@keyframes fadeInLine {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
section.Sec_01 h2 {
  font-size: 1.5vw;
  text-align: center;
}

.upright-text {
    text-orientation: upright; /* 文字を立たせる */
    font-size: 0.9em; /* 少し文字サイズを小さくしてバランスを取る */
    /* 縦書き時の「下」方向の余白（横書きでいう右マージン） */
    margin-right: 4px; 
}
@media (max-width: 768px) {
    /* スマホ表示では不要なのでリセット */
    .upright-text {
        font-size: inherit;
        margin-right: 0;
    }
}




@media screen and (max-width: 1199px) {
section.Sec_01 {
  background: url( "../src/img/top/message.jpg" ) bottom center / 150% auto no-repeat;
}
section.Sec_01 p {
  line-height: 2.5;
}
}

@media screen and (max-width: 767px){
  section.Sec_01 {
    background: url( "../src/img/top/message.jpg" ) top right 31% / auto 100% no-repeat;
    padding: 3em 2em;
    height: 180vw;
  }
section.Sec_01 p {
  writing-mode: initial;
  font-size: 3vw;
}
section.Sec_01 h2 {
  font-size: 6vw;
  line-height: 1.5em;
  white-space: pre-line;
}
}
/*====================================================================
section02:ボタン類
====================================================================*/
section.Sec_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 0;
  background:#F0F4F7;
}
section.Sec_02 ul {
  width: 80%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
section.Sec_02 ul li {
  flex: 1;
  min-width: 200px;
  box-sizing: border-box;
}
section.Sec_02 ul li a {
  display: block;
  background-color: #F5F5F5;
  border: 2px solid #919191;
  border-radius: 5px;
  color: #414141;
  padding: 0.3em 0;
  text-decoration: none;
  position: relative;
}
section.Sec_02 ul li:first-child a::before,section.Sec_02 ul li:nth-child(2) a::before,section.Sec_02 ul li:nth-child(3) a::before,section.Sec_02 ul li:nth-child(4) a::before{
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 2em;
  height: 2em;
  vertical-align: middle;
  margin-right: 0.4em;
}
section.Sec_02 ul li:first-child a::before {
  background-image: url('../src/img/top/user1.png');
}

section.Sec_02 ul li:nth-child(2) a::before {
  background-image: url('../src/img/top/user2.png');
}

section.Sec_02 ul li:nth-child(3) a::before {
  background-image: url('../src/img/top/user3.png');
}

section.Sec_02 ul li:nth-child(4) a::before {
  background-image: url('../src/img/top/user4.png');
}
@media screen and (max-width: 767px) {
  section.Sec_02 ul {
    width: 90%;
    gap: 1em; /* 余白も半分に */
  }
  section.Sec_02 ul li {
    flex: 0 0 calc(50% - 0.5em); /* gapと合わせて計算 */
    max-width: calc(50% - 0.5em);
    min-width: auto;
  }
section.Sec_02 ul li a {
  padding: 0.6em 0;
  font-weight: bold;
}
section.Sec_02 ul li:first-child a::before, section.Sec_02 ul li:nth-child(2) a::before, section.Sec_02 ul li:nth-child(3) a::before, section.Sec_02 ul li:nth-child(4) a::before {
  font-size: 2vw;
}
}
/*====================================================================
section03:コース
====================================================================*/
section.Sec_03,section.Sec_04 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  font-weight:bold;
  flex-direction: column;
}
/* ヘッダー個所 */
.Sec_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
  width: 80%;
  margin: 0 auto 1em auto;
  flex-wrap: wrap;
}
.Sec_head_inner {
  flex: 1;
  width: 30%;
}
.Sec_head_inner h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  font-family: "playfair-display", serif;
  font-weight: 700;
  font-style: normal;
}
.Sec_head_inner h3 {
  font-size: 1.1em;
  margin: 0;
  color: #D43122;
  font-weight: bold;
}
.Sec_head p {
  line-height: 1.6;
  margin: 0;
  width: 70%;
  white-space: pre;
  font-size: 0.9em;
  font-weight: bold;
}
/* コンテンツ部分 */
.Sec_Cont {
  display: flex;
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden; /* はみ出し防止 */
}
.Sec_Cont_Sec_03left {
  display: flex;
  flex-direction: column;
  width: 25%;
  padding-right: 1%;
}
.Sec_Cont_Sec_03right {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  width: 75%;
  padding-left: 1%;
}
.Sec_Cont_Sec_03right a {
  width: calc((100% - 2em) / 3);
  box-sizing: border-box;
  text-decoration: none;
  margin-top: -2.75em;
}
.Sec_Cont_Sec_03right a:nth-child(3n) {
  margin-right: 0;
}
.Sec_Cont_Sec_03right a .inner_box {
  width: 100%;
}
.Sec_Cont .inner_box p {
  width: 100%;
  overflow:hidden;
  margin:0 auto;
}
.Sec_Cont .inner_box p img{
 transition:1s all;
}
.Sec_Cont .inner_box p img:hover{
  transform:scale(1.2,1.2);
  transition:1s all;
}
/* コンテンツ部分見出し */
.Sec_Cont_Sec_03left h4, .Sec_Cont_Sec_03right h4 {
  width: 100%;
  border-radius: 20px 20px 0 0;
  text-align: center;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.Sec_Cont_Sec_03left h4 {
  background:#b2dced;
}
.Sec_Cont_Sec_03right h4 {
  background:#b5e399;
}
/* コンテンツ部分インナーボックス */
.Sec_Cont_Sec_03left .inner_box,.Sec_Cont_Sec_03right .inner_box {
  width: 100%;
}
.Sec_Cont_Sec_03left .inner_box b,.Sec_Cont_Sec_03right .inner_box b{
  margin:0.5em 0 2em 0;
  display: block;
  position: relative;
  display: inline-block;
  padding: 0 0 0 45px;
}
.Sec_Cont_Sec_03left .inner_box b:before,.Sec_Cont_Sec_03right .inner_box b:before {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 35px;
  height: 2px;
  background-color: black;
  left:0;
}
.Sec_Cont_Sec_03left .inner_box b:before {
  background-color: #0089C2;
}
.Sec_Cont_Sec_03right a:nth-of-type(1) b::before {
  background-color: #EF889C;
}
.Sec_Cont_Sec_03right a:nth-of-type(2) b::before {
  background-color: #96C17C;
}
.Sec_Cont_Sec_03right a:nth-of-type(3) b::before {
  background-color: #F8B62D;
}
.Sec_Cont_Sec_03right a:nth-of-type(4) b::before {
  background-color: #767EB8;
}
.Sec_Cont_Sec_03right a:nth-of-type(5) b::before {
  background-color: #BFAF86;
}
@media screen and (max-width: 1099px) {
.Sec_head {
  width: 95%;
}
.Sec_head p {
  white-space: pre-line;
}
.Sec_Cont {
  width: 95%;
}
.Sec_Cont_Sec_03left .inner_box b, .Sec_Cont_Sec_03right .inner_box b {
  font-size: 1.6vw;
}
}

@media screen and (max-width: 767px){
.Sec_head {
  display: block;
  width: 90%;
}
.Sec_head_inner {
  width: 100%;
}
.Sec_head_inner h2 {
  font-size: 8vw;
}
.Sec_head_inner h3 {
  font-size: 5vw;
  margin-bottom: 0.5em;
}
.Sec_head p {
  width: 100%;
  font-size: 3.5vw;
  white-space: pre-line;
}
.Sec_Cont {
  display: block;
  width: 90%;
}
.Sec_Cont_Sec_03left,.Sec_Cont_Sec_03right {
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.Sec_Cont_Sec_03right {
  border-bottom: solid 1px #ccc;
  padding-bottom: 4em;
}
.Sec_Cont_Sec_03left .inner_box, .Sec_Cont_Sec_03right a .inner_box {
  width: 90%;
  margin: 0 auto;
}
.Sec_Cont_Sec_03left h4, .Sec_Cont_Sec_03right h4 {
  font-size: 5vw;
  margin-bottom: 1em;
}
  .Sec_Cont_Sec_03left .inner_box b, .Sec_Cont_Sec_03right .inner_box b {
    font-size: 5vw;
	margin-bottom: 1em;
  }
}
/*====================================================================
section04:個性的なID学園のキャンパス
====================================================================*/
.Sec_Cont_Sec_04 {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  width: 100%;
}
.Sec_Cont_Sec_04 a {
  width: calc((100% - 4em) / 5);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}
.Sec_Cont_Sec_04 a b {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.7); /* ← 白の半透明 */
  display: block;
  width:100%;
  text-align: center;
  padding:0.3em 0;
}
@media screen and (max-width: 1199px) {
.Sec_Cont_Sec_04 a {
  width: calc((100% - 2em) / 3);
}
}

@media screen and (max-width: 767px){
.Sec_Cont_Sec_04 a {
  width: calc((100% - 1em) / 2);
}
.Sec_Cont_Sec_04 a b {
  text-align: left;
  padding-left: 0.7em;
}
}
/*====================================================================
section05:スライダーその２
====================================================================*/
section.Sec_05 {
  display: block;
  width: 100%;
  background: #F0F4F7;
  padding: 4em 0;
}
.sec05_slider {
  margin-inline: auto;
  width: 100%;
  transition: all 0.3s ease;
}

/* ==========================
   1枚目が中央のとき
   ========================== */

/* 通常スライドの基本表示 */
.sec05_slider.first-slide-active .slick-slide {
  opacity: 1;
  pointer-events: auto;
}

/* 中央のスライド */
.sec05_slider.first-slide-active .slick-center {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* 右側のスライド（2枚目）は表示 */
.sec05_slider.first-slide-active .slick-center ~ .slick-slide {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 左側スライドは非表示（ただし1枚目は例外で常に表示） */
.sec05_slider.first-slide-active 
  .slick-slide:not(.slick-center):not(.slick-center ~ .slick-slide):not([data-slick-index="0"]) {
  opacity: 0 !important;
  pointer-events: none;
  z-index: 0;
}

/* 1枚目スライドは常に表示 */
.sec05_slider .slick-slide[data-slick-index="0"] {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 3 !important;
}

/* ==========================
   5枚目が中央のとき
   ========================== */
/* 通常スライドの基本表示 */
.sec05_slider.fifth-slide-active .slick-slide {
  opacity: 1;
  pointer-events: auto;
}

/* 中央のスライド */
.sec05_slider.fifth-slide-active .slick-center {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* 右側の1枚目は非表示 */
.sec05_slider.fifth-slide-active .slick-slide[data-slick-index="0"] {
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
/* すべてのスライドにフェード用トランジションを付与 */
.sec05_slider .slick-slide {
  transition: opacity 0.5s ease; /* フェード時間はお好みで */
}

/* 5→1 に切り替える時だけ効く */
.sec05_slider.fade-last-to-first .slick-slide[data-slick-index="4"].slick-current {
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.sec05_slider .slider-img {
  margin: 0 1.5em;
}
.sec05_slider .slider-img img {
  height: auto;
  width: 100%;
}
section.Sec_05 .slick-dots {
  position: static;
  margin-top: 1em;
}
section.Sec_05 .slick-dots li {
  margin: 0 5px;
  display: inline-block;
    width: 36px;
  height: 36px;
}
section.Sec_05 .slick-dots li button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff; /* 通常時の背景 */
  color: #F0F4F7;             /* 数字の色 */
  border: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
  padding: 0;
  box-sizing: border-box;
}
section.Sec_05 .slick-dots li.slick-active button {
  background-color: #D43122; /* カレント背景色 */
  color: #ffffff;            /* カレント数字色 */
}
section.Sec_05 .slick-dots li button::before {
  display: none; /* デフォルトのSlickアイコン非表示 */
}

@media screen and (max-width: 767px){
.sec05_slider .slick-list{
  _height:40vw;
}
.sec05_slider a{
  display: block;
}
.sec05_slider a img{
  width:100%;
}
.sec05_slider .slider-img img.cropped{
  height:60vw;
  object-fit: cover;
  object-position: center;
  width:100%;
}
}
/*====================================================================
section06:ブログ記事一覧
====================================================================*/
section.Sec_06 {
  display: block;
  width: 100%;
  padding: 4em 0;
}
ul.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  width: 80%;
  margin: 0 auto;
}
ul.blog-posts li {
  width: calc((100% - 4em) / 5);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
ul.blog-posts img {
  width: 100%;        /* 横幅は親要素いっぱいに */
  height: 10vw;       /* 高さは10vw固定 */
  object-fit: cover;  /* はみ出した上下を切って表示 */
  display: block;     /* 不要な隙間を消す */
}
ul.blog-posts img:hover{
  transform:scale(1.2,1.2);
  transition:1s all;
}
ul.blog-posts .post-date {
  display: block;
  text-align: right;
  font-size: 0.9em;
  margin: 0.2em 0;
}
ul.blog-posts .post-title {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
  line-height: 1.6em;
}
ul.blog-posts .category_ico {
  color: #fff;
  background: #000;
  border-radius: 3px;
  font-size: 0.8em;
  padding: 0.1em 0.8em;
  margin: 0 0.5em 0.3em 0;
  display: inline-block;
}
ul.blog-posts .category_ico.blog {
  background:#D43122;
}
ul.blog-posts .category_ico.ikebukuro_blog {
  background:#EE7800;
}
ul.blog-posts .category_ico.yokohama_blog {
  background:#4B65F1;
}
ul.blog-posts .category_ico.suidobashi_blog {
  background:#62B9D3;
}
ul.blog-posts .category_ico.akihabara_blog {
  background:#ffd700;
  color: #555;
}
ul.blog-posts .category_ico.omiya_blog {
  background:##b4c400;
}
ul.blog-posts .category_ico.tachikawa_blog {
  background:#7065A3;
}
ul.blog-posts .category_ico.notice {
  background:#27a838;
}
ul.blog-posts .category_ico.session {
  background:#f4499a;
}
ul.blog-posts .category_ico.media {
  background:#dd087a;
}
ul.blog-posts .category_ico.topics {
  background:#544985;
}
@media screen and (max-width: 1199px) {
ul.blog-posts {
  width: 95%;
}	
ul.blog-posts li {
  width: calc((100% - 2em) / 3);
}
ul.blog-posts img {
  height: 20vw;
}
}

@media screen and (max-width: 767px){
  ul.blog-posts {
    display: flex;          /* block → flex */
    flex-wrap: wrap;        /* 折り返し有効 */
    gap: 1em;               /* liの間の余白 */
    width: 95%;             /* 幅を調整 */
    margin: 0 auto;
  }
  ul.blog-posts li {
    width: calc((100% - 1em) / 2); /* gap=1emなので半分-0.5em */
    margin-bottom: 1em;            /* 下の余白 */
  }
  ul.blog-posts img {
    height: 30vw; /* 高さは少し抑えると2列がバランス良い */
  }
ul.blog-posts .category_ico {
  padding: 0.3em 0.8em;
}
}
/*====================================================================
section07:在校生インタビュー
====================================================================*/
section.Sec_07 {
  background-color:#fbebe9;
  padding-bottom: 1em;
}
.Sec_07 .row-flex,.Sec_08 .row-flex {
  display: flex;
  align-items: flex-start;
  padding: 3em 0 0 0;
  position: relative;
  overflow: visible;
}
.Sec_head_height {
  transform: rotate(90deg);
  transform-origin: bottom left;
  white-space: nowrap;
  display: inline-block;
  height: auto;
  width: max-content;
  position: absolute;
  left: 0;
  top: 0;
}
.Sec_head_height h2,.Sec_09_head h2 {
  font-family: "alex-brush", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 2.2em;
  margin-bottom: 0.1em;
}
section.Sec_07 .Sec_head_height h2,.Sec_09_head h2 {
  color:#D43122;
}
.Sec_head_height h3,.Sec_09_head h3 {
  font-size: 1.1em;
  font-weight: bold;
}
.sec07_slider {
  overflow: hidden;
  width: 85%;
  margin-left: 15%; /* ← 回転タイトル用に左スペース確保 */
  margin-bottom: 0 !important;
}
.sec07_slider .slider-img img,.sec08_slider .slider-img img {
  max-width: 100%;
  height: auto;
  display: block;
}
.sec07_slider .slick-slide,.sec08_slider .slick-slide {
  margin-right: 1em; /* スライド間の余白 */
}
.sec07_slider .slick-list,.sec08_slider .slick-list {
  margin-right: -1em; /* 最後の余白分を打ち消す */
}
@media screen and (max-width: 1099px) {
.Sec_head_height h2 {
  font-size: 3vw;
}
}
@media screen and (max-width: 767px){
.Sec_head_height h2 {
  font-size: 9vw;
}
.Sec_07 .row-flex,.Sec_08 .row-flex {
  display: block;
  position: static;
}
.Sec_head_height {
  transform: none;
  position: static;
  margin-bottom: 1em;
}
.sec07_slider {
  width: 100%;
  margin-left: 0;
}
}
/*====================================================================
section08:在校生 Podcast
====================================================================*/
section.Sec_08 {
  background-color:#e6f4f9;
  padding-bottom: 1em;
}
section.Sec_08 .Sec_head_height h2 {
  color:#0089c2;
}
.pod_img {
  width: 20%;
  margin-left: 8%;
  margin-right: 2em;
}
.sec08_slider {
  overflow: hidden;
  width: 80%;
  margin-left: 0;
  margin-bottom: 0 !important;
}
@media screen and (max-width: 767px) {
  /* コンテナを縦並びではなく、上部だけ2分割にする */
  .Sec_08 .Sec_Cont {
    display: flex;
    flex-wrap: wrap;       /* スライダーを次の行に回す */
    align-items: center;
  }

  /* 見出しと画像を半々で横並び */
  .Sec_08 .Sec_head_height,
  .Sec_08 .pod_img {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }

  /* 画像は親幅にフィットさせる */
  .Sec_08 .pod_img {
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
  }

  /* 見出しの改行ルールは保持 */
  .Sec_08 .Sec_head_height h2 {
    white-space: pre-line;
	line-height: 1.2em;
  }

  /* スライダーを次の行で全幅表示 */
  .sec08_slider {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: flex-start;
  }

  .sec08_slider .slider-img {
    width: calc(50% - 0.5em);
    margin-bottom: 1em;
  }

  /* 最後の1枚は左寄せ */
  .sec08_slider .slider-img:nth-child(5) {
    margin-right: auto;
  }
  .sec08_slider .slider-img:nth-child(n+6) {
    display: none;
  }
}
/*====================================================================
section09:教師紹介一覧
====================================================================*/
section.Sec_09 {
  padding:3em 0;
  position:relative;
}
.Sec_09_head {
  display: flex;
  align-items: center;
  gap: 1em;
  position: absolute;
  bottom: 13%;
  left: 5%;
}
.sec09_slider {
  width: 100%;
  margin:0 auto !important;
}
.sec09_slider .slider-img:nth-of-type(odd) {
  margin-top: 4em;
}
.sec09_slider .slick-slide {
  margin-right: 2em; /* スライド間の余白 */
}
.sec09_slider .slick-list {
  margin-right: -2em; /* 最後の余白分を打ち消す */
}
@media screen and (max-width: 767px){
.Sec_09_head {
  position: static;
  width: 90%;
  margin: 0 auto 2em auto;
}
.sec09_slider {
  width: 85%;
  margin: 2em auto 0 auto;
}
.sec09_slider .slider-img:nth-of-type(odd) {
  margin-top: 0;
}
.sec09_slider .slick-slide,.sec09_slider .slick-list {
  margin-right: 0;
}
.sec09_slider .slick-slide a img {
  width: 90%;
  margin:0 auto;
}
}

/*====================================================================
トップページ共通黒ボタン
====================================================================*/
div.buton_cont {
  display: block;
  text-align: center;
}
a.black_but {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  color: #fff !important;
  background-color: #000;
  padding: 0.5em 3.5em;
  border-radius: 50px;
  margin: 2em auto;
  position: relative; /* ::afterの位置調整に必要 */
  text-decoration: none;
  font-size: 1.1vw;
  font-weight: bold;
}

a.black_but::before {
  background-color: #fff; /* 白色 */
  position: absolute;
  top: 50%;
  right: 13px;
  width: 25px;      /* 横棒を長く */
  height: 1px; 
  margin-top: -1px; /* 中央揃え調整 */
  content: "";
}

a.black_but::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 4px;          /* 12px の 1/3 */
  height: 4px;         /* 12px の 1/3 */
  margin-top: -2px;    /* 高さの半分のマイナスで中央揃え */
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  display: inline-block;
  vertical-align: middle;
}
@media screen and (max-width: 767px){
a.black_but {
  font-size: 4vw;
}
}

/*====================================================================
一番下、幅いっぱい画像
====================================================================*/
img.bottom {
  width: 100%;
  height: 35vw;
  object-fit: cover;
  object-position: center 70%;
}