body {
  transition: background-color 1.8s;
}
body.invertedColor {
  background-color: #191919;
}

#top-fv {
  margin-bottom: 120px;
}
.top-fv-wrap {
  width: 90%;
  margin-inline: auto;
  position: relative;
}

.top-fv-wrap img {
  width: 100%;
}

.top-fv-wrap h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #fff;
  background-color: var(--black);
  font-size: clamp(1rem, -0.071rem + 5.36vw, 2.5rem);
  padding: 7px 12px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .top-fv-pc-wrap {
    position: relative;
    width: 93%;
    margin-left: auto;
  }

  .top-fv-pc-wrap_v2 {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
  }

  .top-fv-pc-wrap_v2__text {
    width: 40%;
  }

  .top-fv-pc-wrap_v2__text h3 {
    font-size: clamp(1.25rem, -0.211rem + 2.28vw, 2.5rem);
    margin-top: 80px;
    line-height: 1.7;
    letter-spacing: 2px;
  }

  .top-fv-pc-wrap_v2__text p {
    font-size: clamp(1rem, 0.708rem + 0.46vw, 1.25rem);
    line-height: 2;
    letter-spacing: 2px;
  }

  .top-fv-pc-wrap_v2__p {
    margin-top: 56px;
  }

  .top-fv-pc-wrap_v2__img {
    width: 40%;
  }

  .top-fv-pc-wrap_v2__text h2 {
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    background-color: var(--black);
    font-size: clamp(1.25rem, -0.211rem + 2.28vw, 2.5rem);
    padding: 7px 12px;
  }

  .top-fv-wrap {
    width: 98%;
    margin-inline: initial;
  }

  .top-overview-wrap {
    position: absolute;
    bottom: 2%;
    left: 32px;
  }

  .top-fv-wrap h2 {
    left: auto;
    right: 7%;
    top: 31%;
    transform: none;
    font-size: clamp(2.563rem, 1.062rem + 2vw, 3.438rem);
  }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .top-fv-pc-wrap_v2__text h3 {
    margin-top: 40px;
  }

  .top-fv-pc-wrap_v2__p {
    margin-top: 32px;
  }
}

@media screen and (min-width: 1300px) {
  .top-overview-wrap {
    bottom: 10%;
  }
}

@media screen and (min-width: 1400px) {
  .top-overview-wrap {
    bottom: 12%;
  }
}

@media screen and (min-width: 1500px) {
  .top-overview-wrap {
    bottom: 14%;
  }
}

@media screen and (min-width: 1600px) {
  .top-overview-wrap {
    bottom: 18%;
  }
}

@media screen and (min-width: 1700px) {
  .top-overview-wrap {
    bottom: 20%;
  }
}

#top-youtube-sec {
  padding: 0 30px 150px;
}
#top-youtube-sec .youtube-wrap {
  width: fit-content;
  margin: 0 auto;
}
#top-youtube-sec iframe {
  aspect-ratio: 1.78;
  height: auto;
  max-width: 100%;
}

/* -------------------top-overview-------------------- */

.top-overview-wrap {
  width: 85%;
  margin-inline: auto;
  margin-top: 80px;
  margin-bottom: 56px;
}

.top-overview-wrap h3 {
  letter-spacing: 2px;
  line-height: 2;
  margin-bottom: 56px;
  font-weight: bold;
  text-align: center;
  font-size: clamp(1.25rem, 1.071rem + 0.89vw, 1.5rem);
}

.top-overview-text-wrap p {
  font-weight: bold;
  line-height: 2;
  letter-spacing: 1.7px;
  /* max-inline-size: max-content;
  margin-inline: auto; */
}

.top-overview-text-wrap p:nth-child(2) {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 968px) {
}

@media screen and (min-width: 1024px) {
  .top-overview-wrap {
    margin-top: 0;
    margin-bottom: 0;
  }

  .top-overview-text-wrap {
    width: 35%;
  }

  .top-overview-text-wrap p {
    font-weight: normal;
    text-align: justify;
  }

  .top-overview-wrap h3 {
    text-align: left;
    font-size: clamp(2.188rem, 1.116rem + 1.43vw, 2.813rem);
    margin-bottom: 48px;
    line-height: 1.7;
  }

  .top-overview-text-wrap p:nth-child(2) {
    margin-top: 0;
  }
}

/* -------------------top-imagination-------------------- */
.top-imagination-wrap {
  padding: 40px 0;
  color: #fff;
  margin-top: 80px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.creative-miica {
  position: absolute;
  top: 175px;
  right: 0;
  z-index: 0;
  /* width: 117px; */
  width: calc(57px + 16%);
}

.top-imagination-wrap h3 {
  margin-bottom: 100px;
  width: 83%;
  margin-inline: auto;
}

/* .top-imagination-wrap h3 {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 8px;
  line-height: 2;
  margin-left: 48px;
  margin-bottom: 48px;
  font-size: var(--fz28);
} */

.top-imagination-img {
  width: 70%;
  position: relative;
  z-index: 11;
}

@media screen and (min-width: 768px) {
  .creative-miica {
    width: calc(59px + 14%);
  }
}

@media screen and (min-width: 1024px) {
  .top-imagination-wrap h3 {
    font-size: var(--fz40);
    margin-left: 120px;
    margin-bottom: 120px;
    width: 40%;
  }

  .top-imagination-img {
    width: 25%;
    position: absolute;
    top: 9%;
    right: 23%;
  }

  .creative-miica {
    bottom: 0;
    top: 40px;
    width: calc(253px + 5%);
  }

  .top-imagination-wrap {
    padding: 96px 0;
  }
}

@media screen and (min-width: 1700px) {
  .top-imagination-wrap h3 {
    font-size: var(--fz60);
  }
}
/* ----------------スライドイン-------------------- */

.test-back {
  /* background-color: #000; */
  overflow: hidden;
}

.test-back {
}

/* ーーーーースライドインーーーーーー */
.slidein {
  /* 装飾に関わるスタイルは省略 */
  margin: 50px auto;
  transition: 1s cubic-bezier(0.75, 0, 0.25, 1);
}
.slide_left {
  transform: translateX(calc(-50vw - 50%));
}
.slide_right {
  transform: translateX(calc(50vw + 50%));
}
.show {
  transform: translateX(0);
}

.fadeIn {
  opacity: 0;
  transition: 2s;
}
.fadeIn.is-show {
  opacity: 1;
}

.scroll-fade-side-left {
  margin: 96px auto 0 auto;
}

.scroll-fade-up {
  margin: 96px auto;
}

.scroll-fade-side-right {
  margin: 96px auto 0 auto;
}

.scroll-fade-side-right-graphic {
  margin: 96px auto 0 auto;
}

.scroll-fade-side-right-movie {
  margin: 100px auto 0 auto;
}

/* ---------------------テキスト画像------------------------ */

.scroll-fade-side-left img {
  width: 70%;
}

.scroll-fade-side-right img {
  margin-left: auto;
  width: 70%;
}

.scroll-fade-side-right-graphic img {
  margin-left: auto;
  width: 75%;
}

.scroll-fade-side-right-movie img {
  margin-left: auto;
  width: 60%;
}

.copy-writer img {
  width: 60%;
  margin-left: 23%;
}

.photographer img {
  width: 90%;
  margin-left: 5%;
}

.motion img {
  width: 80%;
}

.dont-exist img {
  width: 80%;
  margin-inline: auto;
}
/* ---------------------下線------------------------ */

.scroll-fade-side-right-line img {
  margin-left: auto;
  margin-top: 10px;
  width: 70%;
}

.scroll-fade-side-left-line img {
  margin-top: 10px;
  width: 70%;
}

.scroll-fade-side-right-line-graphic img {
  margin-left: 19%;
  margin-top: 10px;
  width: 58%;
}

.scroll-fade-side-right-movieline img {
  margin-left: auto;
  margin-top: 10px;
  width: 50%;
}

/* ーーーーースライドイン ENDーーーーーー */

@media screen and (min-width: 768px) {
  .scroll-fade-side-left img {
    width: 40%;
  }

  .scroll-fade-side-right img {
    margin-left: auto;
    width: 40%;
  }

  .scroll-fade-side-right-graphic img {
    margin-left: auto;
    width: 40%;
  }

  .scroll-fade-side-right-movie img {
    margin-left: auto;
    width: 20%;
  }

  .copy-writer img {
    width: 20%;
    margin-left: 23%;
  }

  .photographer img {
    width: 60%;
    margin-left: 5%;
  }

  .motion img {
    width: 50%;
  }

  .dont-exist img {
    width: 40%;
  }

  /* ---------------------下線------------------------ */

  .scroll-fade-side-right-line img {
    margin-left: auto;
    margin-top: 10px;
    width: 40%;
  }

  .scroll-fade-side-left-line img {
    margin-top: 10px;
    width: 40%;
  }

  .scroll-fade-side-right-line-graphic img {
    margin-left: auto;
    margin-top: 10px;
    width: 40%;
  }

  .scroll-fade-side-right-movieline img {
    margin-left: auto;
    margin-top: 10px;
    width: 20%;
  }
}

@media screen and (min-width: 1024px) {
  .scroll-fade-up {
    margin: 180px auto 0;
  }

  .scroll-fade-side-right {
    margin: 150px auto 0 auto;
  }

  .scroll-fade-side-right-graphic {
    margin: 180px auto 0 auto;
  }

  .scroll-fade-side-right-movie {
    margin: 140px auto 0 auto;
  }

  .scroll-fade-side-left {
    margin: 180px auto 0 auto;
  }

  /* .motion {
    margin-top: 100px;
  } */

  .copy-motion-wrap {
    display: flex;
  }

  .photographer {
    margin-top: 0;
  }

  /* ---------------------テキスト画像------------------------ */

  .scroll-fade-side-left img {
    width: 32%;
  }

  .scroll-fade-side-right img {
    margin-left: unset;
    width: 35%;
  }

  .scroll-fade-side-right-graphic img {
    margin-left: unset;
    width: 32%;
  }

  .scroll-fade-side-right-movie img {
    margin-left: unset;
    width: 27%;
  }

  .copy-writer img {
    width: 67%;
    margin-left: 19%;
  }

  .photographer img {
    width: 35%;
    margin-left: 6%;
  }

  .motion img {
    width: 80%;
    /* margin-left: 45%;
    margin-top: -217px; */
  }
  /* ---------------------下線------------------------ */

  .scroll-fade-side-right-line img {
    margin-left: unset;
    margin-top: 10px;
    width: 35%;
  }

  .scroll-fade-side-left-line img {
    margin-top: 10px;
    width: 30%;
  }

  .scroll-fade-side-right-line-graphic img {
    margin-left: unset;
    margin-top: 10px;
    width: 27%;
  }

  .scroll-fade-side-right-movieline img {
    margin-left: unset;
    margin-top: 10px;
    width: 30%;
  }
}
/* -------------------top-news-wrap-------------------- */

#news{
	margin-top: 100px;
}

.top-news-wrap {
  width: 90%;
  margin-inline: auto;
	padding-bottom: 8px;
}

.top-news-post-wrap {
  border-bottom: 2px solid #cbcbcb;
  padding: 16px 0;
  margin-top: 40px;
}

.top-news-wrap a {
  text-decoration: none;
}

.news-date {
  font-weight: bold;
}

.top-news-title {
  margin-top: 8px;
}

.button01 {
  /* スタイル用 */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 50px;
  margin: 50px auto;
  /* border: 1px solid #343434; */
  color: #000;
  /* スタイル用 */
  font-size: var(--fz22);
  position: relative;
  font-style: italic;
  font-weight: bold;
}

.button01:before,
.button01:after {
  position: absolute;
  top: 56%;
  right: 32px;
  height: 2px;
  background: #000;
  content: "";
}

.button01:before {
  width: 48px;
  transform: translateY(-50%);
}

.button01:after {
  width: 16px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .top-news-wrap {
    width: 60%;
  }
}
/* -------------------PICK UP-------------------- */
.top-pick-wrap {
  width: 100%;
  margin-inline: auto;
  background-color: #ededed;
  padding-top: 56px;
  padding-bottom: 56px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
}

.top-pick-box {
  width: 90%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
}
/* -------------------what-miica-------------------- */
.top-what-wrap {
  background-image: url(../images/four-line.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 120px;
}

.top-what-wrap .top-what-img-box img {
  width: 58%;
  margin-inline: auto;
}

.top-what-text-box {
  background-color: #fff;
  width: 85%;
  margin-inline: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 120px;
  line-height: 1.7;
}

.top-what-wrap p {
  font-weight: 300;
}

.what-text-logo {
  display: inline;
  width: 40px;
  vertical-align: middle;
  margin: 0 10px;
}

.top-what-text-box h2 {
  text-align: center;
  font-size: clamp(1.563rem, 1.116rem + 2.23vw, 2.188rem);
}

.what-second-headline {
  margin-top: 56px;
  margin-bottom: 32px;
}

.link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent; /* 背景色を透明にする */
  color: #000; /* テキストの色 */
  text-decoration: none; /* リンクの下線を消す */
  border: 2px solid #000; /* 黒色のボーダーを追加 */
  border-radius: 40px; /* 角を丸くする */
  font-size: 16px; /* フォントサイズ */
  text-align: center; /* テキストを中央に配置 */
  font-family: Arial, sans-serif; /* フォントファミリー */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* ホバー時の変化にトランジションを適用 */
  width: 100%;
  max-width: 300px;
  font-size: var(--fz20);
  font-weight: bold;
}

.link-button:hover {
  background-color: #000; /* ホバー時の背景色 */
  color: #fff; /* ホバー時のテキストの色 */
  border-color: #000; /* ホバー時のボーダー色 */
}

.link-button-white {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent; /* 背景色を透明にする */
  color: #fff; /* テキストの色 */
  text-decoration: none; /* リンクの下線を消す */
  border: 2px solid #fff; /* 黒色のボーダーを追加 */
  border-radius: 40px; /* 角を丸くする */
  font-size: 16px; /* フォントサイズ */
  text-align: center; /* テキストを中央に配置 */
  font-family: Arial, sans-serif; /* フォントファミリー */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* ホバー時の変化にトランジションを適用 */
  width: 100%;
  max-width: 300px;
  font-size: var(--fz20);
  font-weight: bold;
}

.link-button-white:hover {
  background-color: #fff; /* ホバー時の背景色 */
  color: #000; /* ホバー時のテキストの色 */
  border-color: #fff; /* ホバー時のボーダー色 */
}

.event_archive-link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent; /* 背景色を透明にする */
  color: #000; /* テキストの色 */
  text-decoration: none; /* リンクの下線を消す */
  background-color: #ffee00;
  border-radius: 40px; /* 角を丸くする */
  font-size: 16px; /* フォントサイズ */
  text-align: center; /* テキストを中央に配置 */
  font-family: Arial, sans-serif; /* フォントファミリー */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* ホバー時の変化にトランジションを適用 */
  width: 100%;
  max-width: 300px;
  font-size: var(--fz20);
  font-weight: bold;
}

/* .event_archive-link-button:hover {
  background-color: #fff; 
  color: #000;
  border-color: #fff; 
  border: 2px solid #000;
} */

.link-button-wrap {
  text-align: center;
  margin: 40px 0;
}

.event-link-button-wrap {
  text-align: center;
  margin: 40px 0;
  padding-bottom: 64px;
  border-bottom: 2px dashed #000;
}

.future-link-button-wrap {
  text-align: center;
  margin: 40px 0;
}

.what-link-button-wrap {
  text-align: center;
  margin: 40px 0;
}

.event_archive-link-button-wrap {
  text-align: center;
  margin: 80px 0;
}

@media screen and (max-width: 767px) {
  .top-what-text-box-right {
    padding: 0 24px;
  }
}

@media screen and (min-width: 768px) {
  .top-what-wrap .top-what-img-box img {
    width: 45%;
    margin-inline: auto;
  }

  .top-what-text-box-right {
    padding: 0 24px;
  }
}

@media screen and (min-width: 1024px) {
  .top-what-wrap {
    background-image: url(../images/twelve-line.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .top-what-text-box {
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 0 13%;
  }

  .top-what-text-box-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44%;
  }

  .top-what-img-pc {
    width: 31%;
    object-fit: contain;
  }

  .top-what-text-box h2 {
    text-align: left;
    font-size: var(--fz26);
    letter-spacing: 2px;
  }

  .what-link-button-wrap {
    text-align: left;
    margin-bottom: 0;
  }

  .link-button-wrap {
    text-align: left;
  }

  .event-link-button-wrap {
    text-align: left;
    margin: 40px 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* -------------------why-miica-------------------- */
.top-why-wrap {
  background-color: #050505;
  padding: 80px 0;
}

.top-why-box {
  width: 90%;
  margin-inline: auto;
}

.top-why-text {
  color: #fff;
  text-align: center;
  margin-top: 64px;
  line-height: 1.7;
  font-size: clamp(1.563rem, 1.116rem + 2.23vw, 2.188rem);
}

.miica-color-img {
  width: 70%;
  margin-inline: auto;
  margin-top: 48px;
  margin-bottom: 80px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .top-why-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10%;
  }

  .top-why-flex-left {
    /* width: 28%; */
  }

  .miica-color-img {
    width: 30%;
    margin-inline: unset;
    margin-top: 0;
    margin-bottom: 0;
  }

  .top-why-text {
    color: #fff;
    text-align: left;
    margin-top: 64px;
    line-height: 1.7;
    font-size: var(--fz24);
    white-space: nowrap;
  }

  .link-button-white {
    border-radius: 40px;
  }

  .top-why-wrap {
    background-color: #050505;
    padding: 140px 0;
  }
}

/* -------------------top-school-------------------- */
.top-school-wrap {
}

.top-school-wrap__wrap-1 {
  position: relative;
  width: 100%;
}

.top-school-wrap__wrap-2 {
  position: relative;
  width: 100%;
}

.top-school-wrap__wrap-3 {
  position: relative;
  width: 100%;
  margin-top: 160px;
}

.top-school-title {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 100%;
}

.top-school1-img {
  width: 100%;
}

.top-school-wrap__wrap-1 h3 {
  position: absolute;
  bottom: 124px;
  left: 8%;
  font-size: clamp(3.125rem, 2.232rem + 4.46vw, 4.375rem);
  letter-spacing: 7px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
}

.top-school-wrap__wrap-2 h3 {
  font-size: clamp(3.125rem, 2.232rem + 4.46vw, 4.375rem);
  letter-spacing: 7px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
}

.top-school-wrap__wrap-3 h3 {
  position: absolute;
  bottom: 114px;
  left: 8%;
  font-size: clamp(3.125rem, 2.232rem + 4.46vw, 4.375rem);
  letter-spacing: 7px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
}

.top-school-text1 {
  margin-top: 64px;
  margin-bottom: 56px;
  margin-left: 8%;
  font-size: var(--fz22);
  font-weight: 500;
}

.top-school-text2 {
  /* margin-top: 64px;
  margin-bottom: 56px;
  margin-left: 8%; */
  font-size: var(--fz22);
  font-weight: 500;
}

.wrap-2-flex {
  position: absolute;
  bottom: -90px;
  left: 8%;
  display: flex;
  align-items: flex-end;
  gap: 0 20px;
}

.top-school-img {
  width: 100%;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .top-school-wrap {
    display: flex;
    justify-content: center;
    width: 90%;
    margin-inline: auto;
    gap: 0 4%;
  }

  .top-school-title {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    margin: 120px 0 80px 0;
  }

  .top-school-title .section-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: clamp(1.563rem, 1.116rem + 2.23vw, 2.188rem);
    letter-spacing: 2px;
  }

  .top-school-wrap__wrap-1 {
    position: static;
    width: 30%;
  }

  .top-school-wrap__wrap-2 {
    position: static;
    width: 30%;
  }

  .top-school-wrap__wrap-3 {
    position: static;
    width: 30%;
    margin-top: 0;
  }

  .top-school-wrap__wrap-1 h3 {
    position: static;
    left: 8%;
    font-size: var(--fz50);
    letter-spacing: 3px;
    margin-top: 20px;
    margin-left: 7%;
  }

  .top-school-wrap__wrap-2 h3 {
    font-size: var(--fz50);
    letter-spacing: 3px;
    margin-top: 20px;
    margin-left: 7%;
  }

  .wrap-2-flex {
    position: static;
    left: 8%;
    display: block;
    align-items: flex-end;
    gap: 0 20px;
  }

  .top-school-wrap__wrap-3 h3 {
    position: static;
    left: 0;
    margin-left: 7%;
    font-size: var(--fz50);
    letter-spacing: 3px;
    margin-top: 20px;
  }

  .top-school-link-button-wrap {
    text-align: center;
    margin: 130px 0;
  }

  .top-school-text1 {
    margin-top: 40px;
    margin-bottom: 0;
    margin-left: 0;
    font-size: var(--fz22);
    font-weight: 500;
    margin-left: 7%;
  }

  .top-school-text2 {
    margin-top: 40px;
    margin-left: 7%;
  }

  .top-school-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
  }
}
/* -------------------top-future-------------------- */
.top-future-wrap {
  background-color: #009de6;
  padding: 40px 0;
  margin-top: 80px;
  margin-bottom: 80px;
}

.top-future-text {
  color: #fff;
  line-height: 2;
  max-inline-size: max-content;
  margin-inline: auto;
  font-size: var(--fz26);
}

.top-future-text-wrap {
  margin-top: 56px;
  margin-bottom: 56px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .top-future-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 5%;
    padding: 80px 0;
    margin-bottom: 130px;
  }

  .top-future-box {
    width: 40%;
  }

  .top-future-img {
    width: 40%;
    height: calc(100% + 40px);
  }

  .top-future-text {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .future-link-button-wrap {
    text-align: left;
    margin: 0;
  }

  .top-future-text-wrap {
    margin-top: 48px;
    margin-bottom: 48px;
  }
}

/* ------------------体験授業-------------------- */

.event-main__img {
  position: relative;
}

.event-main__info {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  padding: 10px 15px;
  background-color: #000;
}

.top-event-title {
  text-wrap: wrap;
  margin: 32px 0;
  font-feature-settings: "palt";
  line-height: 1.7;
  letter-spacing: 2px;
}

.event-table__ttl {
  /* margin-bottom: 8px; */
  font-weight: bold;
}

.event-table__text {
  margin-bottom: 24px;
  letter-spacing: 1.2px;
}

.event-main {
  margin-top: 80px;
}

.event-table__text1 {
  line-height: 2;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 1.2px;
}

.event-table__text2 {
  line-height: 2;
  font-weight: bold;
}

.event-table__text3 {
  line-height: 2;
  font-weight: bold;
}

.event-link-button a {
  text-decoration: none;
}

.event-main__img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .event-main {
    margin-top: 0;
    width: 30%;
  }

  .event-content-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .event-table__text {
    flex-grow: 1;
    line-height: 2;
  }
}
/* -------------------school-page-------------------- */
/* -------------------school-fv--------------------- */
.school-fv-wrap {
  position: relative;
}

.school-fv-wrap h2 {
  position: absolute;
  bottom: 64px;
  left: 40px;
  background-color: #fff;
  border: 1px solid #222;
  padding: 5px 10px;

  font-size: clamp(1.875rem, 0.567rem + 5.98vw, 3.438rem);
  letter-spacing: 3px;
  white-space: normal;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .school-fv-wrap h2 {
    position: absolute;
    bottom: -22px;
    left: 11%;
    background-color: #fff;
    border: 1px solid #222;
    padding: 5px 10px;
    letter-spacing: 2px;
    font-size: var(--fz48);
  }
}
/* -------------------campus--------------------- */
.campus-wrap {
  width: 85%;
  margin-inline: auto;
  margin-bottom: 56px;
}

.campus-wrap p:nth-child(3) {
  margin-top: 20px;
}

.school-headline {
  /* font-size: var(--fz40);
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 28px; */

  /* display: inline-block;
  font-size: 2em;
  font-weight: bold;
  position: relative; */
}

/* .school-headline::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  height: 130%;
  width: 30%;
  background: linear-gradient(to right, #34c759, #a8e063);
  z-index: -1;
} */

.color-headline {
  font-size: var(--fz36);
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 28px;
  display: inline-block;
  font-weight: bold;
  padding-left: 33px;
  position: relative;
  z-index: 3;
}

.color-headline::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 2px;
  height: 161%;
  width: 53px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.color1::before {
  background-image: url("../images/headline-color-1.png");
}

.color2::before {
  background-image: url("../images/headline-color-2.png");
}

.color3::before {
  background-image: url("../images/headline-color-3.png");
}

.color4::before {
  background-image: url("../images/headline-color-4.png");
}

.color5::before {
  background-image: url("../images/headline-color-5.png");
}

.color6::before {
  background-image: url("../images/headline-color-6.png");
}

.color7::before {
  background-image: url("../images/headline-color-7.png");
}

.color8::before {
  background-image: url("../images/headline-color-8.png");
}

.color9::before {
  background-image: url("../images/headline-color-9.png");
}

.color10::before {
  background-image: url("../images/headline-color-10.png");
}

.color11::before {
  background-image: url("../images/headline-color-11.png");
}

.swiper {
  height: 500px;
}
.swiper-wrapper {
  height: 500px;
}

.swiper-slide {
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* aspect-ratio: 16/9; */
}

.swiper-slide.swiper-slide {
  background-image: url("../images/campus-slide1.png");
}

.swiper-slide.slide2 {
  background-image: url("../images/school-top.png");
}

.swiper-slide.slide3 {
  background-image: url("../images/top-school_3.jpg");
}

/* .swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: #222;
} */

.swiper-button-prev,
.swiper-button-next {
  width: 70px;
  height: 70px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.swiper-button-prev::after {
  background-image: url("../images/slide-before.png");
}

.swiper-button-next::after {
  background-image: url("../images/slide-after.png");
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .campus-wrap {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 120px;
    margin-bottom: 80px;
  }

  .swiper {
    width: 32%;
    margin-right: 0;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 38px;
    height: 38px;
  }

  .color-headline {
    margin-top: 0;
  }

  .campus-wrap p {
    font-size: var(--fz18);
  }
}
/* -------------------校長紹介--------------------- */
.principal-wrap {
  width: 85%;
  margin-inline: auto;
  margin-bottom: 56px;
  margin-top: 80px;
}

.principal-wrap h3 {
  line-height: 2;
  margin-top: 40px;
}

.principal-wrap p {
  line-height: 2;
}

.principal-wrap p:nth-child(3) {
  margin-top: 20px;
}

.principal-wrap p:nth-child(4) {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .principal-wrap {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .principal-wrap p:nth-child(2) {
    margin-top: 32px;
  }

  .principal-wrap p:nth-child(3) {
    margin-top: 32px;
  }

  .principal-wrap h3 {
    margin-top: 0;
  }

  .principal-left {
    width: 30%;
    margin-left: 8%;
  }

  .principal-right {
    width: 45%;
  }

  .principal-wrap {
    margin-top: -40px;
  }
}
/* -------------------UNIFORM--------------------- */
.uniform-wrap {
  width: 85%;
  margin-inline: auto;
  margin-bottom: 56px;
}

.uniform-wrap p {
  margin-top: 32px;
  line-height: 2;
}

.uniform-list-wrap {
  margin-top: 56px;
}

.uniform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px 0;
}

.uniform-list li {
  width: 49%;
  text-align: center;
}

.uniform-list li p {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .uniform-flex-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
  }

  .uniform-list-wrap {
    margin-top: 0;
    width: 35%;
  }

  .uniform-list {
  }

  .uniform-list li img {
    width: 100%;
  }

  .uniform-list {
    margin: 0;
  }

  .uniform-list li p {
    margin-top: 0;
  }

  .uniform-left {
    width: 57%;
  }
}
/* -------------------page-footer-link1--------------------- */
.footer-chart {
  background-color: #222;
  position: relative;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-chart h3 {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-size: var(--fz26);
  padding: 2px 20px;
  border: 2px solid #222;
  white-space: nowrap;
  letter-spacing: 3px;
}

.footer-chart img {
  width: 230px;
  margin-inline: auto;
}

.footer-life {
  position: relative;
  height: 260px;
}

.footer-life img {
  position: relative;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.footer-life h3 {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-size: var(--fz26);
  padding: 2px 20px;
  border: 2px solid #222;
  white-space: nowrap;
  letter-spacing: 3px;
}

.footer-link {
  margin-top: 80px;
}

.footer-link a {
  color: #000;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .uniform-wrap {
    width: auto;
    margin-bottom: 200px;
  }

  .footer-link {
    display: flex;
    margin-top: 0;
  }

  .footer-life {
    width: 50%;
    height: 310px;
  }

  .footer-chart {
    height: 310px;
  }

  .footer-left-link {
    width: 50%;
    height: 310px;
  }

  .footer-chart img {
    width: 280px;
  }

  .footer-life h3 {
    font-size: var(--fz38);
    width: 290px;
    text-align: center;
  }

  .footer-chart h3 {
    font-size: var(--fz38);
    width: 290px;
    text-align: center;
  }
}
/* -------------------learn--------------------- */
/* -------------------learn-fv--------------------- */
.learn-wrap {
  background-color: #222;
}

.learn-fv-wrap {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.learn-fv {
  position: relative;
}

.learn-fv img {
  width: 65%;
  margin: 0 auto;
}

.learn-fv h3 {
  background-color: #fff;
  position: absolute;
  bottom: -20px;
  left: 7.5%;
  font-size: clamp(1.563rem, 0.893rem + 3.35vw, 2.5rem);
  padding: 0 20px;
  border: 2px solid #222;
  white-space: nowrap;
  letter-spacing: 3px;
}

.learn-fv-text {
  width: 85%;
  margin-inline: auto;
  margin-top: 112px;
  max-inline-size: max-content;
  margin-inline: auto;
  margin-bottom: 80px;
}

.vertical-line {
  position: relative;
  padding-left: 15px;
  margin-bottom: 20px;
  color: #fff;
  font-size: var(--fz22);
  line-height: 1.7;
}

.vertical-line:nth-child(2) {
  margin-top: 56px;
}

.vertical-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: white;
}

.learn-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

@media screen and (min-width: 400px) {
  .learn-fv h3 {
    left: 14%;
  }
}

@media screen and (min-width: 500px) {
  .learn-fv h3 {
    left: 18%;
  }
}

@media screen and (min-width: 500px) {
  .learn-fv h3 {
    left: 22%;
  }
}

@media screen and (min-width: 768px) {
  .learn-fv img {
    width: 40%;
  }
}

@media screen and (min-width: 1024px) {
  .learn-fv-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 230px;
    /* margin-top: 100px; */
  }

  .learn-fv-text {
    margin: 0;
  }

  .learn-fv-text p {
    margin-top: 40px;
  }

  .learn-fv-text h3 {
    color: #fff;
    font-size: var(--fz38);
  }

  .learn-fv-text h4 {
    color: #fff;
    font-size: var(--fz28);
  }

  .learn-fv-chart-wrap {
    width: 43%;
  }
}
/* -------------------learn-5bar--------------------- */

.l-5p-wrap {
  background-color: #222;
}

.l-5p-container {
  margin: 0 auto;
  background-color: #222;
  padding: 40px 0;
  max-width: 450px;
}

.l-5p-title-wrap {
  text-align: center;
}

.l-5p-title {
  background-color: #fff;
  font-size: var(--fz26);
  display: inline-block;
  margin-bottom: 40px;
  padding: 5px 5px 5px 15px;
}

.l-5p-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border-left: 20px solid; /* Adds the vertical line */
  padding-left: 20px; /* Space between the line and the text */
}

.l-5p-section:nth-child(2) {
  border-color: #dc2819;
}
.l-5p-section:nth-child(3) {
  border-color: #df678f;
}
.l-5p-section:nth-child(4) {
  border-color: #982a88;
}
.l-5p-section:nth-child(5) {
  border-color: #293a6b;
}
.l-5p-section:nth-child(6) {
  border-color: #20328d;
}

.l-5p-content {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  gap: 0 20px;
  padding-top: 20px;
}

.l-5p-number {
  margin-top: 15px;
  /* font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff; */
}

.l-5p-number img {
  max-width: 57px;
  max-height: 48px;
}

.l-5p-description {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin-top: 29px;
  padding-bottom: 32px;
}

.l-5p-description p {
  margin-top: 30px;
  line-height: 2;
}

/* -------------------l-img--------------------- */
.l-img-wrap {
  background-color: #222;
}

.l-img1 {
  width: 80%;
  text-align: right;
  margin-left: auto;
}

.l-img1 img {
  width: 100%;
  display: inline-block;
}

.l-img2 {
  width: 80%;
  text-align: left;
  margin-top: 64px;
  margin-right: auto;
}

.l-img2 img {
  width: 100%;
  display: inline-block;
}

@media screen and (min-width: 650px) and (max-width: 1023px) {
  .l-img1 img {
    max-height: 350px;
    object-fit: cover;
    object-position: top;
  }

  .l-img2 img {
    max-height: 350px;
    object-fit: cover;
    object-position: top;
  }
}

@media screen and (min-width: 1024px) {
  .l-5p-container {
    max-width: none;
  }

  .l-flex-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
  }

  .l-flex-left {
    width: 40%;
  }

  .l-flex-right {
    width: 40%;
  }

  .l-img1 {
    margin-top: 80px;
    width: 100%;
  }

  .l-img2 {
    margin-top: 40px;
    width: 100%;
  }

  .l-img1 img {
    width: 100%;
  }

  .l-img2 img {
    width: 100%;
  }
}

/* -------------------l-course--------------------- */
.l-course-wrap {
  background-color: #222;
  color: #fff;
  padding-top: 64px;
}

.l-course-container {
  max-width: 600px;
  margin: 0 auto;
}

.l-course-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.l-course-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  padding-right: 20px;
}

.l-course-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
}

.l-course-section:nth-child(1)::after {
  background-color: #edbc33;
}
.l-course-section:nth-child(2)::after {
  background-color: #87ca87;
}
.l-course-section:nth-child(3)::after {
  background-color: #5eab5e;
}
.l-course-section:nth-child(4)::after {
  background-color: #257c25;
}

.l-course-content {
  /* flex-grow: 1; */
  width: 80%;
  margin-inline: auto;
  padding-bottom: 32px;
}

.l-course-number {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.l-course-description {
  font-size: 16px;
  line-height: 2;
}

.l-color-headline {
  font-size: var(--fz24);
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 28px;
  display: inline-block;
  font-weight: bold;
  padding-left: 0;
  position: relative;
  z-index: 3;
  letter-spacing: 2px;
}

.l-color-headline::before {
  content: "";
  position: absolute;
  top: -26px;
  left: -16px;
  height: 225%;
  width: 84px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.l-course-name {
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px;
  margin-bottom: 32px;
}

.l-course-adobi {
  margin-top: 20px;
  width: 100px;
}

.l-course-sub {
  margin-top: 40px;
}

.l-course-marker:not(:first-child) {
  margin-top: 15px;
}

.marker-design span {
  background: linear-gradient(transparent 75%, #edbc33 75%);
}

.marker-logical span {
  background: linear-gradient(transparent 75%, #87ca87 75%);
}

.marker-art span {
  background: linear-gradient(transparent 75%, #5eab5e 75%);
}

.marker-problem span {
  background: linear-gradient(transparent 75%, #257c25 75%);
}

.l-course-points {
  width: 80%;
  margin-inline: auto;
  margin-top: 72px;
  margin-bottom: 72px;
}

.l-course-points p:not(:first-child) {
  margin-top: 15px;
}

.learn-link-button-wrap {
  text-align: center;
  /* margin-top: 80px; */
}

.learn-link-button-pd-bottom {
  padding-bottom: 80px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .l-course-marker:not(:first-child) {
    margin-top: 5px;
  }

  .l-course-sub {
    margin-top: 24px;
  }
}

/* -------------------about-wrap--------------------- */
/* -------------------about-fv-wrap--------------------- */
.about-wrap {
  width: 100%;
}

.about-fv-wrap {
  position: relative;
}

.about-fv-wrap img {
  position: relative;
  width: 100%;
  height: 70vh;
}

.about-fv-headline {
  position: absolute;
  bottom: 12%;
  left: 7%;
}

.about-fv-wrap h2 {
  font-size: clamp(1.875rem, 0.567rem + 5.98vw, 3.438rem);
  background-color: #fff;
  border: 2px solid #000;
  padding: 5px 10px;
  letter-spacing: 3px;
}

.about-fv-wrap h3 {
  font-size: clamp(2.5rem, 1.715rem + 3.59vw, 3.438rem);
  background-color: #fff;
  border: 2px solid #000;
  padding: 5px 10px;
  letter-spacing: 4px;
  margin-top: 15px;
  display: inline-block;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .about-fv-headline {
    left: 11%;
    bottom: -5%;
  }

  .learn-schedule-wrap {
    position: relative;
  }

  .learn-schedule-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
  }

  .learn-link-button-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    margin-top: 0;
  }

  .learn-link-button-pd-bottom {
    padding-bottom: 0;
  }

  .link-button-learn-schedule {
    display: inline-block;
    padding: 0px 50px;
    background-color: #fff;
    color: #222;
    text-decoration: none;
    border: 2px solid #222;
    border-radius: 40px;
    font-size: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    width: 100%;
    font-size: var(--fz28);
    font-weight: bold;
    letter-spacing: 2px;
  }

  .link-button-learn-schedule:hover {
    background-color: #222; /* ホバー時の背景色 */
    color: #fff; /* ホバー時のテキストの色 */
    border-color: #222; /* ホバー時のボーダー色 */
  }
}

/* -------------------about-first-description--------------------- */
.about-first-description-wrap {
  width: 80%;
  margin-inline: auto;
  line-height: 2.2;
}

.about-first-description-wrap p span {
  color: #fff;
  background-color: #000;
  padding: 2px;
  font-feature-settings: "palt";
}

.about-first-description-wrap h3 {
  color: #fff;
  background-color: #000;
  margin-top: 45px;
  margin-bottom: 35px;
  padding: 5px;
  white-space: nowrap;
  display: inline-block;
}

@media screen and (max-width: 1023px) {
  .about-first-description-wrap {
    max-inline-size: max-content;
    margin-inline: auto;
  }
}

@media screen and (min-width: 1024px) {
  .about-first-description-wrap {
    text-align: center;
  }

  .about-first-description-wrap {
    margin-top: 120px;
    max-width: 980px;
  }

  .about-first-description-wrap h3 {
    font-size: var(--fz36);
  }

  .about-first-description-wrap p {
    line-height: 2.7;
  }
}
/* ------------------- MIICAには特色がある--------------------- */
.about-features-wrap {
  margin-top: 64px;
}

.about-features-list-title {
  color: #009de6;
  width: 80%;
  position: relative;
  margin-bottom: 40px;
}

.about-features-list-title h3 {
  color: #009de6;
  position: absolute;
  bottom: 0;
  right: 2px;
  display: inline;
  font-size: var(--fz20);
  white-space: nowrap;
  z-index: 2;
}

.about-features-list {
  width: 80%;
  margin-inline: auto;
}

.about-features-list-title img {
  width: 100%;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .about-first-description-wrap p {
    font-size: var(--fz22);
  }

  .about-features-list-title h3 {
    bottom: 0;
    right: 2px;
    font-size: var(--fz34);
  }

  .about-features-list-title {
    width: 42%;
  }

  .about-features-list-title {
    margin-bottom: 80px;
  }
}

/* ------------------- MIICAには特色がある--------------------- */
.about-color-headline {
  font-size: var(--fz30);
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 36px;
  display: inline-block;
  font-weight: bold;
  position: relative;
  z-index: 3;
  /* letter-spacing: 2px; */
}

.about-color-headline::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0px;
  height: 201%;
  width: 53px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
}

/* ------------------- 卒業生の声--------------------- */
.about-graduate-wrap {
  margin-top: 64px;
}

.about-color-headline-wrap {
  width: 80%;
  margin-inline: auto;
}

.about-graduate-text-wrap {
  width: 90%;
  margin-inline: auto;
}

.about-graduate-text {
  background-color: #fff9c5;
  position: relative;
}

.about-graduate-text img {
  position: absolute;
  top: -14px;
  right: 12px;
  width: 15%;
}

.about-graduate-text p {
  padding: 25px 15px;
  line-height: 2;
}

.about-graduate-text-hyphen {
  font-size: 100px;
}

.about-graduate-text:not(:first-child) {
  margin-top: 56px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .about-features-list {
    max-width: 980px;
  }

  .about-graduate-text-wrap {
    display: flex;
    justify-content: center;
    gap: 5%;
    margin-top: 40px;
  }

  .about-graduate-text img {
    width: 50px;
  }

  .about-graduate-text {
    width: 30%;
  }

  .about-color-headline-wrap {
    max-width: 980px;
    width: auto;
  }

  .about-graduate-wrap {
    margin-top: 120px;
  }

  .about-graduate-text:not(:first-child) {
    margin-top: 0;
  }
}

/* ------------------- MIICA NEWS--------------------- */

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

.about-news-wrap-box {
  width: 80%;
  margin-inline: auto;
}

.about-recent-news-box {
  margin-top: 32px;
}

.about-recent-news-box p {
  line-height: 2;
}

.about-recent-news-box h3 span {
  background: linear-gradient(transparent 60%, #ffee00 60%);
}

.about-recent-news-box h3 {
  font-size: var(--fz24);
  margin-bottom: 32px;
}

.about-recent-news-box img {
  width: 100%;
  margin-inline: auto;
}

.about-recent-news-img:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .about-news-wrap {
    max-width: 980px;
    margin-inline: auto;
  }

  #miica-about-news {
    background-color: #efefef;
    padding: 120px 0;
    margin-top: 120px;
  }

  .about-news-wrap-box {
    display: flex;
    flex-direction: column;
  }

  .about-recent-news-box {
    display: flex;
    justify-content: space-between;
  }

  .about-news-wrap-box {
    width: auto;
  }

  .about-recent-news-box__text-box {
    display: flex;
    flex-direction: column;
    width: 32%;
  }

  .about-recent-news-img:not(:first-child) {
    margin-top: 0;
  }

  .about-recent-news-img {
    width: 25%;
  }

  .recent-news-img_box {
    display: flex;
  }

  .about-recent-news-box:not(:first-child) {
    margin-top: 160px;
  }
}
/* ----------------school-life------------------ */

.school-life-wrap {
  width: 100%;
}

.subpage-fv-wrap {
  position: relative;
}

.subpage-fv-wrap img {
  position: relative;
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.subpage-fv-headline {
  position: absolute;
  bottom: 12%;
  left: 7%;
}

.subpage-fv-wrap h2 {
  font-size: clamp(1.875rem, 0.567rem + 5.98vw, 3.438rem);
  background-color: #fff;
  border: 2px solid #000;
  padding: 5px 10px;
  letter-spacing: 3px;
  white-space: normal;
}

/* .subpage-fv-wrap h3 {
  font-size: clamp(2.5rem, 1.715rem + 3.59vw, 3.438rem);
  background-color: #fff;
  border: 2px solid #000;
  padding: 5px 10px;
  letter-spacing: 4px;
  margin-top: 15px;
  display: inline-block;
} */

.school-life-features-list-title {
  color: #009de6;
  width: 80%;
  position: relative;
  margin-bottom: 40px;
  margin-top: 40px;
}

.school-life-features-list-title h3 {
  color: #009de6;
  position: absolute;
  bottom: 0;
  right: 18px;
  display: inline;
  font-size: var(--fz20);
  white-space: nowrap;
  z-index: 2;
}

.school-life-overview {
  width: 85%;
  margin-inline: auto;
}

.school-life-features-list-title img {
  width: 100%;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .subpage-fv-headline {
    bottom: -5%;
  }

  .school-life-features-list-title h3 {
    font-size: var(--fz34);
  }

  .school-life-features-list-title {
    color: #009de6;
    width: 42%;
    position: relative;
    margin-bottom: 80px;
    margin-top: 160px;
  }

  .school-life-overview {
    width: auto;
    max-width: 980px;
  }

  .subpage-fv-headline {
    left: 11%;
  }
}

/* ------------------school-life-content---------------- */
/* -----------school-schedule--------------- */
.school-life-content-wrap {
  width: 85%;
  margin-inline: auto;
  margin-bottom: 56px;
}

.school-life-schedule-wrap {
  width: 100%;
  /* padding: 20px; */
  margin: auto;
  /* border: 2px solid #000; */
  /* 横にはみ出した要素をスクロールするプロパティ */
  overflow-x: scroll;
  /* 文字表記の方向（左右）を指定する */
  /* -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl; */
}

.school-life-schedule-wrap p {
  /* 画像のサイズ指定 */
  width: 750px;
}
.school-life-schedule-wrap img {
  /* 画像のサイズ指定 */
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .school-life-schedule-wrap p {
    width: auto;
  }

  .school-life-content-wrap {
    width: auto;
  }
}
/* -----------school-event--------------- */
.school-event-wrap {
  margin-top: 56px;
}

.color-headline-school {
  font-size: var(--fz24);
  margin-top: 40px;
  /* margin-bottom: 40px; */
  padding-left: 28px;
  display: inline-block;
  font-weight: bold;
  padding-left: 33px;
  position: relative;
  z-index: 3;
}

.color-headline-school::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 2px;
  height: 210%;
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.school-event-img-wrap p:not(:first-child) {
  margin-top: 20px;
}

.school-event-text {
  margin-top: 40px;
  margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .color-headline-school {
    margin-top: 80px;
  }

  .school-event-wrap {
    margin-top: 10px;
  }

  .school-event-text {
    margin-top: 48px;
    margin-bottom: 56px;
  }

  .school-event-img-wrap {
    display: flex;
    justify-content: space-between;
  }

  .school-event-img-wrap p {
    width: 32%;
  }

  .school-event-img-wrap p img {
    object-fit: cover;
    aspect-ratio: 16/9;
  }

  .school-event-img-wrap p:not(:first-child) {
    margin-top: 0px;
  }
}
/* ------------------school-interview---------------- */

.school-interview-wrap {
  margin-top: 40px;
}

.school-interview-iframes-wrap {
  display: flex;
  align-items: center;
  flex-flow: column;
  width: 100%;
  margin: 10px auto 0 auto;
  text-align: center;
  justify-content: center;
}

.school-interview-iframes {
  margin-top: 30px;
  width: 100%;
  height: 100%;
}

/* .school-interview-box {
  width: 100%;
  aspect-ratio: 16 / 9;
    height: auto;
} */

.school-interview-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.school-interview-text {
  text-align: left;
  margin: 10px 0 48px 0;
}

.school-interview-text p:first-child {
  font-size: var(--fz24);
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .school-interview-iframes {
    display: flex;
    justify-content: space-between;
  }

  .school-interview-box {
    width: 32%;
  }

  .school-interview-text p:first-child {
    font-size: var(--fz18);
  }

  .school-interview-iframes-wrap {
    margin: 46px auto 160px auto;
  }
}

/* ------------------path---------------- */
.path-growth-wrap {
  margin-top: 40px;
}

.path-content-wrap {
  width: 85%;
  margin-inline: auto;
}

.path-color-headline {
  font-size: var(--fz36);
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 28px;
  display: inline-block;
  font-weight: bold;
  padding-left: 33px;
  position: relative;
  z-index: 3;
}

.path-color-headline::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 2px;
  height: 161%;
  width: 53px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.path-next-education-box {
  margin-top: 40px;
}

.path-job-wrap {
  margin-top: 56px;
}

.path-job-box p {
  margin-top: 32px;
  text-align: left;
}

.path-job-box h3 {
  display: inline-block;
  background-color: #f2b89b;
  padding: 20px 10px;
  font-size: var(--fz22);
}

.path-job-box {
  text-align: center;
}

.path-job-box:not(:first-child) {
  margin-top: 64px;
}

.path-next-education {
  margin-top: 80px;
}

.path-next-education h3 {
  font-size: var(--fz22);
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .path-growth-flex-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
  }

  .path-color-headline {
    margin-top: 0;
  }

  .path-growth-wrap {
    margin-top: 0;
    width: 43%;
  }

  .path-growth-wrap-right {
    width: 43%;
  }

  .path-next-education-pc {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    margin-bottom: 160px;
  }

  .path-content-wrap {
    width: auto;
  }

  .path-job-box:not(:first-child) {
    margin-top: 0;
  }

  .path-job-box {
    text-align: left;
    width: 43%;
  }

  .path-job-box p {
    margin-top: 0;
  }

  .path-job-box-text {
    margin-top: 32px !important;
  }

  .horizontal-line {
    width: 100%;
    height: 2px; /* 線の太さ */
    background-color: black; /* 線の色 */
    margin-top: 40px;
  }
}
/* ----------------access-------------------- */

.access-map-text p span {
  font-size: var(--fz13);
}

.access-map-text {
  max-inline-size: max-content;
  margin-inline: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

.access-line-wrap {
  margin-top: 96px;
  text-align: center;
}

.access-line-wrap h2 {
  font-size: var(--fz24);
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: 2px;
  display: inline-block;
  position: relative;
}

.access-line-wrap h2::after {
  content: "";
  position: absolute;
  left: -15px; /* Extend the line to the left */
  right: -10px; /* Extend the line to the right */
  bottom: -10px; /* Adjust this value to position the line as desired */
  height: 5px; /* Adjust this value to change the thickness of the line */
  background-color: black; /* Change this to the desired color */
}

.access-link-button-wrap {
  text-align: center;
  margin: 40px 0;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .access-line-wrap {
    margin-bottom: 160px;
  }

  .access-map-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 120px;
  }

  .access-map-img img {
    width: 100%;
  }

  .access-map-img {
    width: 47%;
  }

  .access-map-text-wrap {
    width: 38%;
  }

  .access-map-text {
    max-inline-size: unset;
    margin-inline: unset;
    margin-top: 0;
    margin-bottom: 40px;
  }

  .access-map-text-first {
    font-size: var(--fz20);
  }

  .access-link-button-wrap {
    text-align: left;
    margin: 0;
  }
}

/* ---------------学費 --------------------------*/

.tuition-list-wrap {
  width: 90%;
  margin-inline: auto;
  max-width: 990px;
  margin-top: 80px;
}

.tuition-list-title {
  text-align: center;
  border-bottom: 2px dotted #333;
  padding-bottom: 15px;
}

.tuition-list-title h3 {
  font-size: var(--fz20);
}

.tuition-list-content {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.tuition-list-content ul li h4 {
  font-size: var(--fz18);
  font-weight: bold;
  letter-spacing: 0.14em;
  border-bottom: 1px #333 solid;
  margin: 48px 0 18px;
  padding-bottom: 18px;
  word-break: keep-all;
}

.tuition-list-content ul li p {
  word-break: break-all;
}

.tuition-list-content ul li p:nth-child(n + 2) {
  margin-top: 20px;
}

.tuition-list-supplement {
  margin-top: 20px;
}

.tuition-list-supplement p {
  font-size: var(--fz14);
}

.tuition-list-title-bottom-text {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1024px) {
  .tuition-list-content {
    max-width: 800px;
  }

  .tuition-list-wrap {
    margin-top: 160px;
    max-width: 1200px;
  }

  .tuition-list-title h3 {
    font-size: var(--fz32);
  }

  .tuition-list-content ul li h4 {
    font-size: var(--fz28);
  }

  .tuition-list-content ul li p {
    font-size: var(--fz20);
  }

  .tuition-list-title-bottom-text {
    font-size: var(--fz20);
  }

  .tuition-list-supplement p {
    font-size: var(--fz16);
  }

  .tuition-list-content {
    max-width: 1000px;
    margin-top: 72px;
  }
}
