@charset "UTF-8";
/* CSS Document */

/* key visual */
.top_kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;
  margin-top: 0;
}
.top_kv-bg {
  position: relative;
  z-index: 0;
  width: 95%;
  height: calc(100% - min(6vw, 6rem));
  margin-left: 5%;
  background-image: url(/manage/wp-content/themes/kaisyn/assets/images/top-kv-bg.webp);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  
  /* 映像自体の比率に関わらず、コンテナを隙間なく埋めるための指定 */
  /* 4:3ベースの1600x1200という「器」を画面いっぱいに広げる */
  min-width: 133.33vh; /* 4:3の器が縦100%の時に必要な最低幅 */
  min-height: 75vw;    /* 4:3の器が横100%の時に必要な最低高さ */
}
.top_kv-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  background-color: var(--color_main);
  padding: min(6vw, 6rem);
  z-index: 2;
}
.top_kv-inner h2.upper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: center;
  gap: 1rem;
  color: var(--color_main);
  margin-bottom: 1rem;
}
.top_kv-inner h2.upper span {
  display: inline-block;
  font-weight: 600;
  font-size: min(6vw, 6rem);
  line-height: 120%;
  letter-spacing: 0%;
  background-color: #fff;
}
.top_kv-inner h2.lower {
  font-weight: 600;
  font-size: min(7.4vw, 7.4rem);
  line-height: 120%;
  letter-spacing: 0%;
  color: #fff;
  margin-bottom: 3rem;
}
.top_kv-inner h3 {
  background-color: var(--color_dark);
  padding: .5rem;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: min(4vw, 3rem);
  line-height: 160%;
  letter-spacing: .3rem;
}

/* top common */
.deco-text {
  position: relative;
  width: 15%;
  opacity: .2;
}
.deco-text span {
  transform: translateX(-2rem);
  font-family: var(--font_eng);
  font-weight: 800;
  font-size: min(22vw, 22rem);
  line-height: 100%;
  color: var(--color_gray);
  writing-mode: vertical-rl;
}
.content-leadtext {
  font-weight: 700;
  font-size: min(4.5vw, 2rem);
  line-height: 140%;
  margin-bottom: min(4vw, 2rem);
}
.content-header {
  color: var(--color_main);
  font-weight: 700;
  font-size: min(7vw, 5rem);
  line-height: 140%;
  margin-bottom: min(8vw, 4rem);
}
.content-img {
  position: absolute;
  z-index: -1;
}
.content-title {
  display: inline-block;
  text-align: left;
  width: fit-content;
}
.content-title h2 {
  font-weight: 700;
  font-size: min(8vw, 5rem);
  line-height: 120%;
}
.content-title h3 {
  font-weight: 700;
  font-size: min(4vw, 2rem);
  line-height: 120%;
}
.content-title .triangle {
  width: 100%;
  height: 3rem;
  margin: .6rem 0;
  background: linear-gradient(to right bottom, var(--color_main) 50%, transparent 50%);
}
.top_grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top_grid .top_side {
  display: flex;
  flex-direction: column;
  position: relative;
}
.top_grid .top_side .btn {
  margin: min(8vw, 4rem) 0;
  width: fit-content;
}
.top_grid .top_content {
  max-width: 70rem;
}
.top_grid .grid-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  background-color: #fff;
  box-shadow: 0px 0px 20px #0000001A;
  margin-bottom: 2rem;
  text-decoration: none !important;
}
.top_grid .grid-item:hover {
  opacity: .5;
}
.top_grid .grid-item .pict {
  width: 100%;
}
.top_grid .grid-item .pict img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top_grid .grid-item .text {
  padding: 1.5rem;
}
.top_grid .grid-item .ttl {
  font-weight: 600;
  font-size: 2rem;
  line-height: 160%;
}
.top_grid .top_side-img {
  position: absolute;
  width: 30vw;
  max-width: 30rem;
}

/* service */
.top_service {
  position: relative;
  padding: min(14vw, 14rem) 0 min(12vw, 12rem);
  overflow: hidden;
}
.top_service::after {
  content:'';
  width: 95%;
  border-bottom: 35rem solid var(--color_main);
  border-left: 95vw solid transparent;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}
.top_service .section-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.top_service .content-inner {
  position: relative;
  width: 83%;
}
.top_service .content-img {
  width: 25.6rem;
  aspect-ratio: 256/238;
  top: -5%;
  right: 10%;
}
.top_service-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 3.5rem;
  margin-top: min(16vw, 8rem);
}
.top_service-grid .inner {
  background-color: #fff;
  box-shadow: 0px 30px 30px #2F19000F;
  border-radius: 1rem;
  padding: 0 min(5vw, 3rem) min(5vw, 3rem);
  position: relative;
  text-align: center;
}
.top_service-grid .inner-head {
  background-color: var(--color_dark);
  color: #fff;
  font-weight: 700;
  font-size: min(5vw, 2.5rem);
  line-height: 160%;
  text-align: center;
  padding: .5rem;
  border-radius: 3rem;
}
.top_service-grid .num {
  color: var(--color_main);
  writing-mode: vertical-rl;
  font-weight: 700;
  font-size: min(3.8vw, 1.8rem);
  line-height: 160%;
  position: absolute;
  top: min(14vw, 7rem);
  left: min(5vw, 3rem);
  z-index: 2;
}
.top_service-grid .num span {
  font-size: min(min(5.4vw, 2.4rem));
}
.top_service-grid .img {
  max-width: 31.3rem;
  aspect-ratio: 313/306;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.top_service-grid p {
  font-weight: 800;
  font-size: min(4vw, 2rem);
  line-height: 160%;
  margin-bottom: min(4vw, 4rem);
  text-align: left;
}
.top_service-grid .textlink {
  text-align: right;
}

/*program*/
.top_program {
  position: relative;
  padding: min(14vw, 14rem) 0 min(10vw, 12rem);
  overflow: hidden;
}
.top_program::after {
  content:'';
  width: 95%;
  border-bottom: 35rem solid var(--color_main);
  border-right: 95vw solid transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}
.top_program .section-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.top_program .content-inner {
  position: relative;
  width: 83%;
}
.top_program .content-img {
  width: 29rem;
  aspect-ratio: 1/1;
  top: -5%;
  right: 10%;
}
.top_program .btn {
  margin: min(4vw, 4rem) 0;
}
.top_program-slide {
  z-index: 2;
}
.top_program-slide .item {
  padding: min(3vw, 2rem);
}
.top_program-slide .item-inner {
  background-color: #fff;
  box-shadow: 0px 0px 20px #0000001A;
}
.top_program-slide .item img {
  width: 100%;
  aspect-ratio: 380/220;
  object-fit: cover;
  object-position: center;
}
.top_program-slide .item .inner {
  padding: min(3vw, 2rem);
}
.top_program-slide .tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.top_program-slide .tags span {
  display: inline-block;
  background-color: var(--color_light);
  font-size: 12px;
  line-height: 1;
  padding: 1rem;
  font-weight: 400;
}
.top_program-slide .title {
  margin-top: 1rem; 
}
.top_program-slide .title a {
  padding: 1rem 1rem 0;
  color: var(--color_main);
  text-decoration: underline;
  font-weight: 700;
  font-size: min(5vw, 2rem);
  line-height: 160%;
}
.top_program-slide .title a:hover {
  text-decoration: none;
}
.top_program-slide p {
  padding: 1rem;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 180%;
}
.top_program-slide .textlink {
  text-align: right;
}

/* lecture */
.top_lecture {
  position: relative;
  padding: min(10vw, 12rem) 0;
}
.top_lecture .content {
  width: 90%;
  max-width: 95rem;
  margin: 0 auto;
  border: 5px solid var(--color_main);
  border-radius: 1rem;
  padding: min(5.4vw, 5.4rem);
  text-align: center;
}
.top_lecture-lead {
  font-weight: 500;
  font-size: min(4vw, 3rem);
  line-height: 160%;
  position: relative;
}
.top_lecture-lead::before, 
.top_lecture-lead::after {
  content:'';
  position: relative;
  top: 0;
  width: 2px;
  height: min(4vw, 3rem);
  background-color: var(--color_dark);
  display: inline-block;
}
.top_lecture-lead::before {
  left: -1.5rem;
  transform: rotate(-30deg)translateY(15%);
}
.top_lecture-lead::after {
  right: -1.5rem;
  transform: rotate(30deg)translateY(15%);
}
.top_lecture-head {
  display: inline-block;
  background-color: var(--color_dark);
  color: #fff;
  font-weight: 600;
  font-size: min(7vw, 4rem);
  line-height: 120%;
  text-align: center;
  padding: .5rem min(2vw, 2rem);
  margin-bottom: min(5vw, 5rem);
}
.top_lecture-head span {
  font-size: min(5vw, 2.8rem);
  display: inline-block;
  margin: 0 .5rem;
}
.top_lecture-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  gap: min(3vw, 3rem);
}
.top_lecture .text-wrap {
  font-weight: 500;
  font-size: min(3.5vw, 2.2rem);
  line-height: 180%;
  text-align: left;
}
.top_lecture .text-wrap span {
  display: inline;
  background: linear-gradient(transparent 60%, var(--color_sub) 30%);
}
.top_lecture .img-wrap {
  max-width: 20rem;
}
.top_lecture .img-wrap img {
  width: 100%;
}
.top_lecture .btn-text {
  font-weight: 500;
  font-size: min(3.2vw, 1.8rem);
  line-height: 160%;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.top_lecture .btn {
  width: 100%;
  max-width: 37rem;
  font-weight: 500;
  font-size: min(4vw, 2rem);
  line-height: 160%;
}

/* youtube */
.top_youtube {
  background-color: var(--color_light);
  padding: min(12vw, 6rem) 0 min(16vw, 8rem);
  overflow: hidden;
}
.top_youtube-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  row-gap: 2rem;
}
.top_youtube-lead {
  font-weight: 700;
  font-size: min(4.8vw, 2.4rem);
  line-height: 160%;
}
.top_youtube-slide {
  overflow: visible;
  margin: min(8vw, 4rem) 0 !important;
}
.top_youtube-slide .item {
  padding: 0 1rem;
}
.top_youtube-slide .item a {
  position: relative;
}
.top_youtube-slide .item a::before {
  content: '\F4F2';
  font-family: 'bootstrap-icons';
  font-size: 5.7rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.top_youtube-slide .item img {
  position: relative;
  z-index: 0;
  width: 100%;
  border-radius: .5rem;
}
.top_youtube-slide .slick-list {
  overflow: visible;
}
.top_youtube-slide .slick-dots {
  text-align: left;
  bottom: min(-4vw, -4rem);
}
.top_youtube-slide .slick-dots li button:before {
  font-size: 1.5rem;
}
.top_youtube-slide .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--color_main);
}

/* news */
.top_news {
  background-color: var(--color_light);
  position: relative;
  padding: min(10vw, 12rem) 0;
}

/* column */
.top_column, .top_faq {
  position: relative;
  padding: min(10vw, 12rem) 0;
}

/* faq */
.top_faq .top_grid .top_slide-img {
  padding: 3rem;
}

.top_faq .top_side-img {
  padding: min(4vw, 4rem);
}
.top_faq .top_grid {
  row-gap: 4rem;
}
.top_faq-item {
  margin-bottom: 2rem;
  position: relative;
}
.top_faq-title {
  background-color: var(--color_main);
  color: #fff;
  text-align: left;
  position: relative;
  padding: min(2vw, 1.5rem) min(3vw, 3rem);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 160%;
  display: flex;
  align-items: center;
  gap: min(4vw, 2.5rem);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  z-index: 1;
}
.top_faq-title:not(.is-open) {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.top_faq-title::before {
  content:'Q';
  display: inline-block;
  font-weight: 500;
  font-size: min(7vw, 3.2rem);
  line-height: 1;
}
.top_faq-title span {
  display: inline-block;
  margin-left: auto;
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  transform: translateY(50%);
}
.top_faq-title span::before, 
.top_faq-title span::after {
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8rem;
  height: .3rem;
  background-color: #fff; 
  transition: all .3s ease;
}
.top_faq-title.is-open span::after {
  transform: rotate(90deg);
  transform-origin: 50% 50%;
}
.top_faq-text {
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: min(2vw, 2.5rem);
  box-shadow: 0px 0px 10px #00000029;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  color: var(--color_brown);
  transition: opacity .2s;
}
.top_faq-text:not(.is-open) {
  opacity: 0;
  height: 0;
  padding: 0 min(3vw, 3rem);
}
.top_faq-text.is-open {
  opacity: 1;
  padding: min(2vw, 1.5rem) min(3vw, 3rem);
}
.top_faq-text::before {
  content:'A';
  display: inline-block;
  font-weight: 500;
  font-size: min(7vw, 3.2rem);
  line-height: 1;
}

@media screen and (max-width:467px) {
  .tb { display: none; }
  .md { display: none; }
  .top_grid .grid-item .pict {
    aspect-ratio: 16/9;
  }
  .deco-text {
    position: absolute;
  }
  .top_service .content-inner {
    width: 90%;
  }
  .top_program .content-inner {
    width: 90%;
  }
  .top_lecture-grid {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (min-width:468px) and (max-width:767px) {
  .tb { display: inline; }
  .md { display: none; }
}
@media screen and (max-width:767px) {
  .top_grid .top_side {
    width: 100%;
  }
  .top_grid .top_side-img {
    top: -10%;
    right: 0;
  }
  .top_grid .top_content {
    width: calc(100% - 1rem);
    margin: 0 auto;
  }
  .top_grid .slide-item {
    padding: 1rem;
  }
  .top_service .content-img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .top_program .content-img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .top_faq-title::before, 
  .top_faq-text::before {
    margin-bottom: auto;
    line-height: 1.3;
  }
  .top_faq-title span {
    min-width: 2rem;
  }
}
@media screen and (min-width:768px) {
  .tb { display: none; }
  .md { display: none; }
  .top_grid .top_content {
    width: calc(70% - min(5vw, 5rem));
  }
  .top_grid .grid-item .pict {
    width: 40%;
  }
  .top_grid .grid-item .text {
    width: 60%;
  }
  .top_grid .top_side-img {
    left: 0;
    bottom: 0;
  }
  .top_kv-inner {
    padding-left: min(8vw, 8rem);
  }
  .top_service-grid .inner {
    width: calc(50% - 1rem);
  }
  .top_cta-grid .item {
    width: calc((100% - 3rem) / 3);
  }
}
@media screen and (min-width:768px) and (max-width:1199px) {
  .md { display: inline; }
  .top_service .contact-img {
    top: -10%;
    left: 45rem;
  }
  .top_program .contact-img {
    left: 45rem;
  }
}
@media screen and (min-width:1200px) {
  .md { display: none; }
}