@charset "UTF-8";

p.paragraph {
  line-height: 1.8;
  margin-bottom: 1.4em;
}

.lead {
  text-align: center;
  margin-bottom: 40px;
}

.lead p {
  font-size: 1.1em;
  line-height: 1.8;
}

.lead .icon img {
  max-width: 90px;
}

.lead h2 {
  font-size: 1.8em;
}

@media screen and (max-width: 768px) {
  p.paragraph {
    line-height: 1.6;
  }

  .lead {
    text-align: center;
    margin-bottom: 20px;
  }

  .lead p {
    font-size: 1em;
    line-height: 1.6;
  }

  .lead .icon img {
    max-width: 74px;
  }

  .lead h2 {
    font-size: 1.3em;
  }
}

#page-home {
  position: relative;
}


/* OFFICIAL-WEB */

.btn-official {
  position: fixed;
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.btn-official a {
  font-size: .8em;
  font-weight: 800;
  display: block;
  text-decoration: none;
  padding: 1em;
  background: var(--point-color);
  color: black;
  border: solid black;
    border-width: 3px 3px 3px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.btn-official a:last-of-type {
  background: var(--append-color);
}

.btn-official a:hover {
  background: var(--sub-color);
}

@media screen and (min-width: 1380px) {
  .btn-official {
    left: 0;
    top: 100px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
  }
}

@media screen and (max-width: 1379px) {
  .btn-official {
    right: 30px;
    top: 0;
  }

  .btn-official a {
    padding: .8em 1em;
    border-radius: 0 0 8px 8px;
    border-width: 0 3px 3px 3px;
    border-top: none;
  }
}
@media screen and (max-width: 768px) {
  .btn-official {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    text-align: center;
  gap: 0;
  }

  .btn-official a {
    font-size: .9em;
    border-radius: 0;
    border: none;
    border-width: 3px 3px 0 3px;
  }

  .btn-official a::after {
    content: "›";
    color: black;
    display: inline-block;
    margin-left: 1em;
    text-shadow: none;
  }
}

/*********************
ENTRY
*********************/
.section-entry {
  background: var(--sub-color);
}
.entry-wrapper {
  text-align: center;
}

.entry-wrapper a {
  position: relative;
  display: inline-block;
  padding: 1.4em 3em;
  font-weight: 800;
  margin: 0 5px;
  color: black;
  border: 3px solid black;
  text-decoration: none;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, .2);
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.entry-wrapper a::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid black;
  border-right: 2px solid black;
  position: absolute;
  top: calc(50% - 5px);
  right: 1em;
  transform: rotate(45deg);
  text-shadow:none;
}
.entry-wrapper a:hover {
  border-color: white;
}
.entry-wrapper a:first-of-type {
  background-color: var(--point-color);
}
.entry-wrapper a:last-of-type {
  background-color: var(--append-color);
}

@media screen and (max-width: 680px) {
.entry-wrapper a {
  width: 90%;
  margin: 0 auto 10px;
}
}

/*********************
HOME
*********************/

/* MAINPICT */
#home-mainpict article {
  position: relative;
  margin-bottom: 40px;
}

  #home-mainpict .content-wrapper {
  padding-top: 1em;
  }
.home-main-slide .swiper-wrapper {
  margin-top: 20px;
  transition-timing-function: linear;
}

.home-main-slide .swiper-wrapper .swiper-slide {
  padding: 0;
}

.home-main-slide .swiper-wrapper .swiper-slide img {
  height: auto;
  width: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 880px) {
  .home-main-slide .swiper-wrapper {
    margin-top: 10px;
  }

  .home-main-slide .swiper-wrapper .swiper-slide img {
    border-radius: 5px;
  }
}

#home-mainpict a.btn.bullet:hover {
  background-color: var(--append-color);
}

/* MAIN-LEAD */
#main-lead {
  position: relative;
  background: var(--sub-color);
  text-align: center;
  font-weight: 600;
}

#main-lead .lead {
  color: white;
  font-size: 1.2em;
}

@media screen and (max-width: 980px) {
  #main-lead .lead {
    font-size: 1.1em;
    text-align: left;
  }
}
@media screen and (max-width: 680px) {
  #home-mainpict .content-wrapper {
  padding-top: 0;
  }
  #home-mainpict .age {
  font-size: 1.8em;
  }
}

/* HOME-LINE */
.line-info {
  background: white;
  display: flex;
  align-items: center;
  padding: 1.4em;
  border-radius: 18px;
  font-size: .9em;
  text-align: left;
  width: fit-content;
  margin: 0 auto 4em;
}

.line-info figure {
  width: fit-content;
  margin-right: 1em;
}

.line-info .body {
  width: fit-content;
}

@media screen and (max-width: 680px) {
  .line-info {
    flex-direction: column;
    text-align: center;
  }

  .line-info figure {
    width: fit-content;
    margin: 0 0 1em;
  }
}

/* BG-WAVE */
.bg-wave {
  margin: 40px 0;
  background: var(--sub-color);
}

.bg-wave::before,
.bg-wave::after {
  content: "";
  background: url(../images/nami.svg) repeat-x top left;
  display: block;
  height: 40px;
}

.bg-wave::after {
  transform: rotate(180deg);
}

/* TITLE-TATE */
@media screen and (min-width: 981px) {
  header.tate {
    display: flex;
  }

  header.tate .sp {
    display: none;
  }

  header.tate h2 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
    display: inline-block;
    margin-left: 10px;
  }

  header.tate h2 .palt {
    margin-top: -.4em;
  }
}


@media screen and (max-width: 980px) {
  header.tate {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  header.tate figure img {
    height: 40px;
  }

  header.tate h2 {
    margin-left: 20px;
  }

  header.tate .pc {
    display: none;
  }

  header.tate .sp {
    display: block;
  }

  header.tate h2 .palt {
    margin-left: -.4em;
  }
}

@media screen and (max-width: 780px) {
  header.tate {
    display: block;
    margin-bottom: 20px;
  }

  header.tate h2 {
    margin: 0;
  }
}

header.tate h2 small {
  font-size: .6em;
}

/* HOME-MOVIE */

.movie-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.movie-wrapper iframe {
  width: 100%;
  height: 100%;
}

.title-large {
  font-size: 1.9em;
  font-weight: 800;
  width: fit-content;
  max-width: 90%;
  margin: 2.4em auto 1.4em;
}
.title-large span {
  background: linear-gradient(transparent 70%, yellow 30%);
}

@media screen and (min-width: 981px) {
  .tate-wrapper article {
    display: flex;
  }

  .tate-wrapper article .main {
    margin-left: 40px;
    width: calc(100% - 164px);
  }
}

/*********************
HOME-CAMPUS
*********************/

.campus-photo-wrapper,
ul.campus-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.campus-photo-wrapper>div {
  width: calc((100% - 40px) / 5);
}

ul.campus-wrapper li {
  padding: .5em .8em;
  border: 2px solid #ff914d;
  background: white;
  color: #ff914d;
  font-size: .8em;
  border-radius: 7px;
}


@media screen and (max-width: 980px) {
  .campus-photo-wrapper>div {
    width: calc((100% - 20px) / 3);
  }
}

@media (max-width: 575px) {
  .campus-photo-wrapper>div {
    width: calc((100% - 10px) / 2);
  }
}

/*********************
SNS
*********************/
.ban-facebook {
  height: auto !important;
  background: white;
  border: 2px solid #0866ff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: 0.14s;
  font-size: 0.84em;
}

.ban-facebook:hover {
  border: 2px solid var(--point-color);
}

.ban-facebook figure {
  width: 30px;
  margin-right: 10px;
}

.ban-facebook div {
  width: calc(100% - 40px);
}


/*********************
CLASS-LIST
*********************/

#home-2024 {
  position: relative;
}

#home-2024 .swiper {
  padding-bottom: 50px;
}

/* controller */
#home-2024 .swiper-pagination-bullet {
  width: 1em;
  height: 3px;
  display: inline-block;
  border-radius: 0;
  background: #222;
  opacity: .1;
  transition: .2s;
}

#home-2024 .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
#home-2024 .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 2px;
}

#home-2024 .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--point-color);
  width: 1.5em;
}

/*
#home-2024 .swiper-controller {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 1.2em;
  align-items: center;
  justify-content: flex-end;
}
#home-2024 .swiper-controller > * {
  position: relative;
  width: 2em;
  height: 2em;
}

#home-2024 .swiper-button-prev::before,
#home-2024 .swiper-button-next::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: #222;
}
#home-2024 .swiper-button-prev::after,
#home-2024 .swiper-button-next::after {
  width: .6rem;
  height: .6rem;
  content: "";
  border: solid white;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
#home-2024 .swiper-button-prev::after {
  border-width: 0 0 2px 2px;
}*/

/* LIST */
.class-list dl {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  transition: 0.3s;
}

.class-list dl a {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
}

.class-list dl:hover {
  color: var(--point-color);
  opacity: .9;
}

.class-list dt {
  border-radius: 18px 3px 18px 3px;
  width: 160px;
  height: 100px;
  text-align: center;
}

.class-list dt.thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 18px 3px 18px 3px;
}

.class-list dd {
  border-radius: 18px;
  width: calc(100% - 180px);
}

.class-list dd {
  font-size: 1.2rem;
}

.class-list dd h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 5px 0 7px;
}

.class-list dd div {
  position: relative;
}

.class-list .entry-publish {
  margin-bottom: 5px;
  text-align: right;
}

/* front-page */
.class-list.front {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.class-list.front dl {
  flex-direction: column;
}

.class-list.front dl>* {
  width: 100%;
}

.class-list.front dt {
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.class-list.front dt.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}

/* news */
.class-list.front.news dt {
  height: 180px;
  aspect-ratio: auto;
}

.class-list.front.news dt.thumb img {
  height: 180px;
  object-fit: cover;
  aspect-ratio: auto;
}

.class-list dt *,
.class-list dd * {
  position: relative;
}

@media screen and (min-width: 981px) {
  .class-list.front dl {
    width: 300px;
  }
}

@media (max-width: 980px) {
  .class-list.front dl {
    width: 200px;
  }

  .class-list.front.news dt,
  .class-list.front.news dt.thumb img {
    height: 140px;
  }

  .class-list dd h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 679px) {
  #home-2024 {
    margin: 0 20px;
  }
}

/*********************
ADMISSION
*********************/
.admission-detail .tab,
.admission-detail .sp {
  display: none;
}

.issho-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.issho-wrapper>* {
  width: calc((100% - 10px) / 2);
  border-radius: 20px;
  padding: 1.5em;
}

.issho-wrapper .inner {
  border: 4px solid var(--sub-color);
}

.issho-wrapper .caption {
  text-align: center;
  background: #fdffeb;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.issho-wrapper .caption img {
  width: 100%;
}


@media (max-width: 980px) {
  .admission-detail .pc {
    display: none;
  }

  .admission-detail .tab {
    display: block;
  }
}

@media (max-width: 880px) {
  .issho-wrapper>* {
    width: 100%;
  }
}

@media (max-width: 679px) {
  .admission-detail .tab {
    display: none;
  }

  .admission-detail .sp {
    display: block;
  }
}

/*********************
SCHEDULE
*********************/
#home-schedule,
#home-section-campus {
  background-color: #fffbe9;
}

/*********************
PLAN
*********************/
#home-admission {
  background-color: #f7fff8;
}

/*********************
VOICE
*********************/
#home-voice {
  background-color: #fcffe1;
}
#home-voice .voice-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}

#home-voice .voice-wrapper .inner {
  line-height: 1.8;
  font-size: .8em;
  padding: 2em;
  border: 3px solid var(--sub-color);
  border-radius: 15px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#home-voice .voice-wrapper .inner figure {
  width: 10%;
  text-align: center;
}
#home-voice .voice-wrapper .inner figure figcaption {
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--sub-color);
  font-weight: 700;
}

#home-voice .voice-wrapper .inner .body {
  width: calc( 90% - 20px );
}

@media (max-width: 679px) {
  #home-voice .voice-wrapper .inner {
    font-size: 1em;
    padding: 1.2em;
    flex-direction: column;
  }
  #home-voice .voice-wrapper .inner figure,
#home-voice .voice-wrapper .inner .body {
  width: 100%;
}
#home-voice .voice-wrapper .inner figure {
  margin-bottom: 10px;
}
#home-voice .voice-wrapper .inner figure img {
  width: 60px;
}
}