@charset "UTF-8"; /* 2026.11.24 */
/* =============================================
   メインビジュアル
   ============================================ */
.mainContents {
  display: block;
  line-height: 0;
  position: relative;
  width: 100%;
}
.slideArea {
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.area2 {
  width: 100%;
}



/* ==================================================
   #top-swiper フェード・ズームイン（クロスフェード完全固定）
   ================================================ */
#top-swiper {
  background: var(--main);
  position: relative;
}
#top-swiper .swiper-slide {
  overflow: hidden;
  /*   position: absolute !important;  全スライドを重ねる */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
#top-swiper .swiper-slide-active {
  z-index: 3;
  pointer-events: auto;
}
#top-swiper .swiper-slide-prev {
  z-index: 2;
}
#top-swiper .swiper-slide img {
  transform: scale(1.0);
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}
/* 新スライド：フェードイン＋ズームイン */
#top-swiper .swiper-slide-active img {
  animation: zoomInAnimation 9s ease-out forwards;
}
/* 旧スライド：ズーム完了状態のまま opacity: 1 で固定 */
#top-swiper .swiper-slide-prev img {
  transform: scale(1.04);
  opacity: 1 !important;
  animation: none !important;
}
@keyframes zoomInAnimation {
  0% {
    transform: scale(1.0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(1.04);
    opacity: 1;
  }
}
/* スライダー画像のレスポンシブ・比率維持 */
.slide-media img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.0);
}
@media (min-width: 768px) {
  .slide-media img {
    aspect-ratio: 1842 / 880;
  }
}
@media (max-width: 767px) {
  /* 縦置きの場合: 345 : 470 */
  @media (orientation: portrait) {
    .slide-media img {
      aspect-ratio: 345 / 470;
    }
  }
  /* 横置きの場合: 1842 : 880 */
  @media (orientation: landscape) {
    .slide-media img {
      aspect-ratio: 1842 / 880;
    }
  }
}
/*  キャッチコピー*/
#swiper {
  position: relative;
}
.mvtxt {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.mvtxt .slide_copy {
  width: 100%;
  height: auto;
  display: block;
}
/* 【モバイル】 */
@media (max-width: 767px) {
  /* 縦置き */
  @media (orientation: portrait) {
    .mvtxt {
      width: 76%;
      top: 11.5%;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  @media (orientation: landscape) {
    .mvtxt {
      width: 46%;
      top: 8%;
      left: 12%;
      transform: none;
    }
  }
}
@media (min-width: 768px) {
  .mvtxt {
    width: 46%;
    top: 10.8%;
    left: 5.2%;
    transform: none;
  }
}

/* ==================================================
    お知らせ info
   ================================================ */
.box_01 {
  max-width: 1200px;
  background: linear-gradient(to right, var(--gra01) 0%, var(--gra02) 100%);
  color: #fff;
  margin-inline: auto;
  padding: 20px 20px;
  position: relative;
  z-index: 4;
}
.info {
  max-width: 700px;
  margin: 0 auto;
}
.post a {
  font-family: var(--font-go);
}
.info, .info a {
  color: #fff;
}
.info .txtbox {
  padding: 3px 0 12px;
}
.info .ttl {
  font-size: 2rem;
  letter-spacing: .05;
  padding-bottom: 4px;
  border-bottom: solid 1px;
}
.info .day + .cat {
  color: var(--main) !important;
  background: #fff !important;
}
@media (min-width: 1081px) {
  .info {
    display: flex;
    max-width: 1200px;
    margin-inline: auto;
  }
  .info .ttl {
    border: none;
  }
  .info .txtbox {
    flex: 0 1 21%;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: solid 1px;
    border-bottom: none;
  }
  .datalists dl {
    display: flex;
    padding-bottom: 5px;
  }
  .datalists .date {
    display: flex;
    align-items: center;
  }
  .datalists .post {
    padding-left: 25px;
  }
}
@media (min-width: 1320px) {
  .box_01 {
    margin: clamp(-112px, calc(246.4px - 18.667vw), 0px) auto 0;
  }
}








/* 対象別ナビ */
#nav01 {
  margin-top: 60px;
}
.nav01 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px!important;
}
.nav01-btn {
  padding: 5px;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 200px;
  background: var(--main);
  position: relative;
  overflow: hidden;
  transition: .5s ease;
}
.nav01-btn::before {
  width: 100%;
  height: 100%;
  inset: 0;
  background: linear-gradient(to right, var(--gra01) 0%, var(--gra02) 100%);
  opacity: .1;
  top: 0;
  left: 0;
  position: absolute;
  display: block;
  content: '';
  z-index: 1;
}
.nav01-btn img {
  position: absolute;
  top: 0;
  left: 0;
}
.nav01-btn .ttl {
  width: 100%;
  height: 72px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, var(--gra02) 0%, var(--gra01) 100%);
  color: #fff;
  position: relative;
  opacity: .8;
  z-index: 3;
}
.nav01-btn .txt {
  flex: 1;
  font-size: 2rem;
}
.nav01-btn .ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px;
  border-radius: 100px;
}
@media (min-width: 768px) {
  .nav01-btn {
    height: 200px;
  }
}
@media (min-width: 1080px) {
  #nav01 {
    padding-inline: 0;
    max-width: 100%;
  }
  .nav01 {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav01-btn .ttl {
    height: 120px;
    padding: 15px;
  }
  .nav01-btn .txt {
    font-size: 2.8rem;
    text-align: center;
  }
  .nav01-btn .ico {
    align-self: flex-end;
  }
  .nav01-btn {
    padding: 10px;
    height: 300px;
  }
}



/* ==========
TOPICS （複数枚カルーセル）
========== */
#topics {
  background: linear-gradient(to bottom, #fff 45px, var(--sub03) 45px);
  width: 92%;
  padding-bottom: 48px;
  overflow: hidden;
}
.topics-heading {
  text-align: center;
  margin-bottom: 28px;
}
.more-row {
  display: flex;
  justify-content: center;
  padding: 0 24px;
  margin-bottom: 16px;
}
.more-link {
  color: var(--main);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-go);
}
.card-meta .day + .cat {
  background: var(--sub01) !important;
}
.topics-swiper-wrap {
  padding: 0 24px;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}
.swiper.topics-swiper {
  overflow: visible;
}
.topics-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
}
.topics-swiper .swiper-slide {
  position: static !important;
  opacity: 1 !important;
  height: auto !important;
  display: block !important;
}
@media (min-width: 768px) {
  .topics-heading {
    margin-bottom: 13px;
  }
  .more-row {
    justify-content: flex-end;
  }
}
@media (min-width: 1080px) {
  #topics {
  background: linear-gradient(to bottom, #fff 262px, var(--sub03) 60px);
  }
}
@media (min-width: 1600px) {
  #topics .container {
    max-width: 1574px;
    padding-inline: 0;
  }
}


/* カード以降 */
.card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img {
  transform: scale(1.04);
}
.card-body {
  padding: 12px 12px 16px;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.card-text {
  font-family: var(--font-min);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Swiper ナビゲーション */
.container._nav {
  display: flex;
  justify-content: flex-end;
}
.topics-swiper-nav {
  width: 250px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
}
.topics-swiper-nav .swiper-pagination-topics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

@media (min-width: 768px) {
  .topics-swiper-nav {
    margin: 0 0 0 auto;
  }
}
.swiper-pagination-topics .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important; /* Swiperの自動margin対策 */
  background: #fff;
  border-radius: 50%;
  opacity: 1;
  transition:
    background .2s,
    transform .2s;
}
.swiper-pagination-topics .swiper-pagination-bullet-active {
  background: var(--main);
  transform: scale(1.2);
}
.topics-btn-prev,
.topics-btn-next {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--main);
  cursor: pointer;
  transition:
    background .2s,
    color .2s;
}
.topics-btn-prev:hover,
.topics-btn-next:hover {
  background: var(--main);
  color: #fff;
}
.topics-btn-prev.swiper-button-disabled,
.topics-btn-next.swiper-button-disabled {
  opacity: .3;
  pointer-events: none;
}

/* ========== NEWS (お知らせ) ========== */
#news {
  width: var(--w-sp);
  margin-left: auto;
  margin-right: auto;
}
.news .ttl_01 ._sub {
  font-size: 3rem;
}
.news-list dl {
  padding: 15px 0;
  border-bottom: solid 1px var(--light);
}
.news-list dl dt {
  padding-bottom: 10px;
}
@media (min-width: 1200px) {
  .news {
    display: flex;
    justify-content: space-between;
  }
  .news .ttl_01 ._sub {
    font-size: 3.4rem;
  }
  .news-list {
    width: 76%;
  }
}



/* ========== 学校案内 ========== */
.guidance-wrap {
  margin-bottom: 60px;
}
.guidance-wrap .ttl_01 {
  font-size: clamp(3rem, 1.333rem + 3.33vw, 5.5rem);
}
.guidance-wrap .box_01 {
  margin: 0 auto 10px;
  padding: 52px 22px 50px;
  width: 100%;
  overflow: hidden;
}

.guidance-wrap .list01 div {
  padding: 50px 28px;
  background: linear-gradient(to right, var(--gra03) 0%, var(--gra04) 100%);
}
.guidance-wrap .list01 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}
.guidance-wrap .list01 > div {
  display: flex;
  flex-direction: column;
  margin: 0 0 10px;
}
.guidance-wrap .list01 dt {
  font-size: 2.4rem;
  text-align: center;
  margin: 0 0 1rem;
  clamp(1.8rem, 1.4rem + 0.8vw, 2.4rem);
}
.guidance-wrap .list01 dt .txt_n {
  font-size: 48.5px;
  line-height: 1;
  color: #b2c1e1;
  text-align: center;
  display: block;
  margin: 0 auto;
  font-family: var(--font-en);
}

.guidance-wrap .list01 dd {
  font-family: var(--font-en);
  text-align: justify;
  font-weight: 600;
  margin-bottom: 8px;
  margin: 0;
}
.guidance-wrap .list01 dd p {
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-min);
}
.guidance-wrap .img01 {
  padding: 50px 0;
  display: flex;
  justify-content: center;
}
.guidance-wrap .img01 img {
  width: 660px;
  max-width: 70%;
}
.guidance-wrap .btns {
  padding: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(to right, var(--gra01) 0%, var(--gra02) 100%);
}
.guidance-wrap .btn {
  width: 49%;
  max-width: 260px;
}
#guidance .btn_02 {
  padding-inline: 15px 22px;
  margin-bottom: 2px;
  background: #fff;
  justify-content: left;
  font-weight: normal;
  font-size: 1.6rem;
  border: none;
}
#guidance .btn_02:hover {
  background-color: var(--main);
  color: #fff;
}
@media (min-width: 769px) {
  .guidance-wrap .list01 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .guidance-wrap {
    padding-inline: 0;
  }
}




/* ========== LINKS GRID ========== */
.link-area {
  width: 806px;
  max-width: 96%;
  padding-inline: 0;
}
/*.card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
}*/
.link-card {
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray01);
/*  display: grid;
  grid-template-columns: min(40% , 170px) 1fr;*/
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 32px 18px 0;
}
.link-card::after {
  content: "chevron_right";
  position: absolute;
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL'0, 'wght'100, 'GRAD'0, 'opsz'24;
  font-size: 22px;
  line-height: 1;
  color: var(--main);
  right: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

/*@media (min-width: 1200px) {
  .link-card {
    max-width: 372px;
  }
}*/

.img02 {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 85 / 66;
  width: 49%;
  max-width: 372px;
}
.img02 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.txt02 {
  font-size: clamp(1.6rem, -0.086rem + 2.34vw, 2.4rem);
  padding-right: 0;
  line-height: 1;
}
.txt02-2 {
  font-size: 1.4rem;
  display: block;
}

.txt02-2 strong {
  line-height: 1.5;
  display: block;
}
.txt02-3 {
  margin-bottom: 5px;
  font-size: 1.5rem;
  color: var(--main);
  font-weight: 600;
  display: block;
}
@media (min-width: 768px) {
  .img02 {
    aspect-ratio: 16 / 8;
  }
}


.sns-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(30px, 10vw, 80px);
  margin-top: clamp(50px, 10vw, 80px);
  text-align: center;
}
.sns-item {
  text-decoration: none;
}

.img03 {
  display: block;
  width: clamp(140px, 15vw, 160px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
}
.img03 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.txt03 {
  font-size: clamp(1.4rem, 1.4vw, 1.6rem);
  display: block;
  font-family: var(--font-go);
}
/* SP Link Area */
@media (max-width: 767px) {
  .link-area {
    padding: 0 20px 100px;
  }
  .card-list {
    display: block;
  }
  .sns-list {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
  }
  .sns-item {
    width: 40%;
  }
}
@media (max-width: 500px) {
  .sns-item {
    width: 80%;
  }
}





