@charset "UTF-8";

/*--共通項目--*/

body,
.ft {
  color: #3e3e3e;
  font-size: 16px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.16em;
}

h2 {
  padding: 3px 10px;
  margin-bottom: 25px;
  font-size: 1.6rem;
}

.title_img {
  display: block;
  width: 70%;
  margin: auto;
  margin-bottom: 20px;
}

.center_img {
  display: block;
  width: 100%;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 80px;
}

@media screen and (min-width: 980px) {
  h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .title_img {
    width: 60%;
  }

  .center_img {
    width: 50%;
  }
}

h3 {
  text-align: center;
  position: relative;
  clear: both;
  padding-bottom: 30px;
  font-size: 1.4rem;
}

@media screen and (min-width: 768px) {
  h3 {
    font-size: 1.5rem;
    padding-bottom: 25px;
  }
}

.header-txt {
  animation-name: fadeIn500ms;
  animation-delay: 500ms;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  transform: translateX(50px);
  opacity: 0;
}

@keyframes fadeIn500ms {
  0% {
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/*----ヘッダー----*/

.header-img {
  width: 100vw;
  display: block;
}

.header-img.pc {
  display: none;
}

@keyframes fadeIn1s {
  0% {
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn1500ms {
  0% {
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (min-width: 1024px) {
  .header-img.sp {
    display: none;
  }

  .header-img.pc {
    display: block;
  }
}

/*----リード----*/

section p {
  font-size: 1rem;
  line-height: 2;
  margin: 0px;
}
.about_bg {
  background-image: url(/asset/about_bg.webp);
  background-size: contain;
}
.custom-bg {
  background-image: url(/asset/bg_img_02.webp);
  background-size: contain;
}
.custom-bg-02 {
  background-image: url(/asset/bg_img_02_02.webp);
  background-size: contain;
}

@media screen and (min-width: 980px) {
  section p {
    font-size: 18px;
  }
  .about_text {
    padding: 40px 0px;
  }
  .about_bg {
    background-image: url(/asset/about_bg.webp);
    background-size: cover;
  }
  .custom-bg {
    background-image: url(/asset/bg_img_02.webp);
    background-size: cover;
  }
  .custom-bg-02 {
    background-image: url(/asset/bg_img_02_02.webp);
    background-size: cover;
  }
  .bg_img_01 img {
    width: 100%;
  }
}

.block_flex01,
.section1 {
  padding: 20px;
}

.flex03_img {
  margin-top: 16px;
}
.flex03_img img {
  border-radius: 4px;
}

.block_flex01 div {
  margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
  .block_flex01 img {
  }
}

.block_flex01 img {
  width: 70%;
  margin: auto;
  display: block;
}

@media screen and (min-width: 980px) {
  .block_flex01 {
    width: 88%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .block_flex01 img {
    display: block;
  }
  .about_img {
    width: 100%;
  }
  .block_flex01 img {
    width: 100%;
    margin: auto;
    display: block;
  }
}

/*----取組----*/
/* ----- 基本（Swiperの最低限のスタイルを自前で） ----- */
.swiper {
  position: relative;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ページネーション（ドット） */
.swiper-pagination {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 15;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #bbb;
  opacity: 0.6;
  display: inline-block;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #333;
  opacity: 1;
}

/* 矢印（確実に表示するため、疑似要素で矢印文字を追加） */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

/* 矢印の文字 */
.swiper-button-prev::after {
  content: "‹";
}

/* 左 */
.swiper-button-next::after {
  content: "›";
}

/* 右 */

/* ----- カルーセル個別調整 ----- */
.mt-carousel {
  max-width: 900px;
  margin: 18px auto;
}

.mt-carousel .swiper {
  padding-bottom: 64px;
  /* ← ページネーション＋カウンター分の余白（ここでキャプションとか被らないように確保） */
}

.mt-carousel .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mt-carousel .swiper-slide img {
  width: 100%;
  /* 必要に応じて調整 */
  object-fit: cover;
  border-radius: 4px;
}

.mt-carousel .caption {
  margin-top: 12px;
  /* 画像とキャプションの間隔 */
  margin-bottom: 6px;
  /* 余白（ページネーションと被るのを防ぐ） */
  font-size: 18px;
  color: #333;
  text-align: center;
  width: 100%;
}

/* スライド枚数カウンター（右下） */
.mt-carousel .swiper-counter {
  position: absolute;
  bottom: 12px;
  right: 10px;
  z-index: 18;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 13px;
}

.torikumi_1 {
  padding-bottom: 10px;
}

.section_text {
  margin-bottom: 40px;
}
@media screen and (min-width: 980px) {
  .section_text {
    width: 88%;
    margin: 40px auto;
  }
}

@media screen and (min-width: 768px) {
  .block_flex02 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 10px;
    margin: 20px;
    margin-top: 10px;
  }

  .torikumi_1 {
    text-align: center;
  }
}

.block_flex02 {
  margin: 20px;
}

.block_flex02 div {
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .block_flex02 div {
    width: 50%;
  }
}

.block_flex02 img {
  width: 90%;
  margin: auto;
  display: block;
}

/*--学校紹介--*/
article,
.about {
  max-width: 1250px;
  margin: 0 auto;
}

h2 {
  color: #f78e1d;
  background-color: #ffffff;
  position: relative;
  padding: 1.5rem 1rem;
  border-radius: 6px;
}

h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
  background-image: -webkit-repeating-linear-gradient(
    135deg,
    #ffffff,
    #ffffff 1px,
    transparent 2px,
    transparent 5px
  );
  background-image: repeating-linear-gradient(
    -45deg,
    #ffffff,
    #f78e1d 1px,
    transparent 2px,
    transparent 5px
  );
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.torikumi_2 {
  margin: 10px;
  margin-top: 20px;
  padding-bottom: 40px;
}

.before_txt_bottya,
.before_txt_nebuta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.before_txt_nebuta::before {
  content: "";
  height: 48px;
  width: 56px;
  display: inline-block;
  background-image: url("../asset/before_img.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-left: 16px;
}

.before_txt_bottya::before {
  content: "";
  height: 80px;
  width: 80px;
  display: inline-block;
  background-image: url("../asset/before_img_bottya.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-left: 16px;
  margin-right: 8px;
}

@media screen and (min-width: 768px) {
  article {
    padding: 40px 0px;
  }

  .torikumi_2 {
    margin: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 40px;
  }
}

.block_flex03 {
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .block_flex03 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

@media screen and (min-width: 768px) {
  .block_flex03 div {
    width: 50%;
    margin: 0;
    padding: 20px;
  }
}

.block_flex03 img {
  margin: 0 auto;
  width: 100%;
}

.ttl_balloon4 {
  background: #fff;
  font-size: 18px;
  color: #0074ae;
  text-align: center;
  font-weight: bold;
  border: 3px solid #f78e1d;
  padding: 0.5em 1em;
  border-radius: 6px;
  position: relative;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 80%;
}

.ttl_balloon4::before {
  content: "";
  background-color: #f1f9fe;
  width: 20px;
  height: 3px;
  position: absolute;
  left: 30px;
  bottom: -3px;
}

.ttl_balloon4::after {
  content: "";
  background-color: #f78e1d;
  width: 20px;
  height: 3px;
  transform: rotate(50deg);
  position: absolute;
  left: 25px;
  bottom: -10px;
}

/*--学生インタビュー--*/
.interview_h3 {
  margin-top: 40px;
}

article .block_flex04,
.block_interview {
  padding: 16px;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0px 0px 5px 0px rgba(167, 167, 167, 0.45);
  background-image: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 21px,
      rgba(241, 241, 241, 1) 21px,
      rgba(241, 241, 241, 1) 22px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(241, 241, 241, 1) 19px,
      rgba(241, 241, 241, 1) 20px
    );
}

article .block_flex05,
.block_interview {
  padding: 16px;
  border-radius: 6px;
  background-color: #fffbe8;
  box-shadow: 0px 0px 5px 0px rgba(167, 167, 167, 0.45);
  background-image: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 21px,
      rgba(241, 241, 241, 1) 21px,
      rgba(241, 241, 241, 1) 22px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(241, 241, 241, 1) 19px,
      rgba(241, 241, 241, 1) 20px
    );
}

.block_flex04 figure img {
  border-radius: 3%;
  margin: auto;
  padding: auto;
  width: 90%;
  height: auto;
}

.block_flex05 figure img {
  border-radius: 3%;
  margin: auto;
  padding: auto;
  width: 90%;
  height: auto;
}

@media screen and (min-width: 768px) {
  article .block_flex04 figure img {
    width: 100%;
    margin-left: 20px;
  }

  article .block_flex05 figure img {
    width: 100%;
    margin-left: 20px;
  }

  .block_interview {
    padding: 20px;
  }
}

article .block_flex04 figure {
  text-align: center;
  box-sizing: border-box;
  align-self: center;
}

article .block_flex05 figure {
  text-align: center;
  box-sizing: border-box;
  align-self: center;
}

.interview {
  font-size: 14px;
  padding: 16px;
}

.interview_name {
  color: #f78e1d;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  article .block_flex04 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-self: center;
  }

  article .block_flex05 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-self: center;
  }

  .interview {
    font-size: 17px;
  }
}

@media screen and (min-width: 768px) {
  article .block_flex04 p {
    width: 75%;
  }

  article .block_flex05 p {
    width: 75%;
  }
}

@media screen and (min-width: 768px) {
  article .block_flex04 figure {
    width: 20%;
    margin: 0px;
  }

  article .block_flex05 figure {
    width: 20%;
    margin: 0px;
  }
}

/*----イベント紹介----*/

section.block_ivent {
  margin-bottom: 100px;
}

@media screen and (min-width: 768px) {
  section.block_ivent {
    padding-top: 120px;
    padding-bottom: 120px;
    background-image: url(../asset/bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
}

section.block_ivent .block_ivent_inner {
  background-color: #fff;
  backdrop-filter: blur(20px);
  box-shadow: 0px 0px 8px #4d5156;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  padding-bottom: 60px;
}

.block_flex05 {
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .block_flex05 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  section.block_ivent .block_ivent_inner {
    padding: 40px;
  }
}

@media screen and (min-width: 768px) {
  .block_flex05 div {
    width: 50%;
  }
}

/* .block_flex05 img {
  margin: 0 auto;
  width: 100%;
  padding-top: 30px;
} */

/*----学校紹介----*/

.block_flex06 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 50px;
}

.block_flex06 div {
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
  border: 0.5mm solid #f78e1d;
}

@media screen and (min-width: 768px) {
  .block_flex06 div {
    width: 48%;
    height: 100%;
  }
  .txt_center {
    text-align: center;
  }
}

section .block_flex06 img {
  padding-top: 15px;
  margin: 0 auto;
  width: 100%;
  height: 241px;
  object-fit: cover;
}

.block_ivent_bt {
  background-color: #f78e1d;
  border-radius: 20px;
  box-shadow: 2px 2px#f9c791;
  color: #fff;
  text-decoration: underline;
  font-size: 1.2rem;
  display: block;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  width: 80%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.block_ivent_bt:hover {
  transform: translateY(4px);
  box-shadow: none;
  background-color: #f78e1dc2;
}

/*--フッター--*/

footer {
  color: #3e3e3e;
  padding: 50px 0;
  background-color: #fffbe8;
  text-align: center;
  line-height: 2;
  font-size: 15px;
}

footer img {
  padding-top: 10px;
  height: 60px;
  margin: auto;
}
