@charset "utf-8";
/* CSS Document */
/*--top----------------------------------------------*/
.top .main {
  padding: 0;
  position: relative;
}
.main h1 {
  position: absolute;
  z-index: 2;
  color: #fff;
  letter-spacing: 16px;
  line-height: 2;
  font-size: 3rem;
  font-weight: bold;
  width: 50%;
  padding: 10% 0;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.main h1 span {
  font-size: 5rem;
}
/*==================================================
Top imgスライダーのためのcss
===================================*/
.slider {
  position: relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 85vh; /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/
.slider-item01 {
  background: url("../image/top/top_img1.jpg");
}
.slider-item02 {
  background: url("../image/top/top_img2.jpg");
}
.slider-item03 {
  background: url("../image/top/top_img3.jpg");
}
.slider .slider-item {
  width: 100%; /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height: 85vh; /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  background-repeat: no-repeat; /*背景画像をリピートしない*/
  background-position: center; /*背景画像の位置を中央に*/
  background-size: cover; /*背景画像が.slider-item全体を覆い表示*/
}
/*==================================================
縦線が動いてスクロールを促す
===================================*/
/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 50px;
  z-index: 99999;
}
/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #000;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*==============無料体験学習受付中btn====================*/
a .try {
  position: relative;
  display: inline-block;
  text-decoration: none;
  background: #ffe05a;
  color: #333;
  width: 140px;
  height: 140px;
  line-height: 140px;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  overflow: hidden;
  margin: -5% 0 0 70vw;
  z-index: 2;
}
/* a .try:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  border-bottom: none;
} */
a .try {
  transition-duration: 0.4s;
}
a .try:hover {
  transform: scale(1.1);
}
.try_inner {
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: bold;
  width: 150px;
  line-height: 2;
  text-align: center;
  color: #333;
}
@media screen and (max-width: 1280px) {
  a .try {
    margin: -50% 0 50px 60vw;
  }
}
@media screen and (max-width: 519px) {
  a .try {
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin: -50% 0 50px 60vw;
  }
  .try_inner {
    font-size: 1.4rem;
  }
  .main {
    margin-bottom: 30px;
  }
}
/*===special section===================================*/
/* .banner {
  margin-bottom: 50px;
}
.banner img:hover {
  transition-duration: 0.3s;
  transform: scale(1.05);
  opacity: 0.6;
}
.banner-wrap {
  display: flex;
  justify-content: center;
  gap: 30px;
}
@media screen and (max-width: 1280px) {
  .banner {
    margin: 0 auto 50px;
  }
} */
.course-description {
  color: #8cc11e;
}
.topics_slide {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 50px;
}
.topics_slide .slick-dots {
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
.topics_item {
  margin: 0 10px;
}
.topics_item img {
  margin: 0 auto;
}
.topics_item a img:hover {
  opacity: 0.7;
  transition: 0.3s;
}
/*矢印スタイル*/
.slick-arrow {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  width: 20px;
  height: 38px;
  color: transparent;
  z-index: 1;
  transition: opacity 0.5s;
}
.slick-arrow:hover {
  opacity: 0.7;
}
.slick-next::before,
.slick-next::after,
.slick-prev::before,
.slick-prev::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.slick-next::after,
.slick-prev::after {
  width: 14px;
  height: 14px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}
/* next */
.slick-next {
  right: 0;
}
.slick-next::after {
  right: 4px;
  transform: rotate(45deg);
}
/* prev */
.slick-prev {
  left: 0;
}
.slick-prev::after {
  left: 4px;
  transform: rotate(-135deg);
}
@media screen and (max-width: 767px) {
  .slick-next::after,
  .slick-prev::after {
    width: 10px;
    height: 10px;
  }
  .slick-next {
    right: 10%;
  }
  .slick-prev {
    left: 10%;
  }
  .slick-next::after {
    right: 2px;
  }
}
@media screen and (max-width: 470px) {
  .slick-next {
    right: 0;
  }
  .slick-prev {
    left: 0;
  }
}
/*--about section-----------------------------------------*/
.about-section .inner {
  display: block;
  padding-top: 20px;
  padding-bottom: 100px;
  line-height: 1.6;
  width: 92%;
  margin: 0 auto;
}
.about_cont {
  display: flex;
  margin-top: 10px;
}
.about_cont div img {
  max-width: initial; /* 初期状態にリセット */
}
.about_p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: left;
  line-height: 2;
  padding: 0 0 30px;
  background-color: #fff59f;
  margin: 30px 90px -30px -90px;
}
.about {
  padding: 50px 10% 0;
}
.about_p a {
  margin: 0 auto;
}
.covid {
  margin: 15px auto;
  width: 99%;
  display: inline;
  text-align: center;
  padding: 0.3em;
}
.covid:hover {
  opacity: 0.5;
}
.covid a {
  color: #1f7a00;
  font-weight: 600;
}
@media screen and (max-width: 1124px) {
  .main h1 {
    letter-spacing: 11px;
    font-size: 2.5rem;
  }
  .main h1 span {
    font-size: 4rem;
  }
  .about_cont {
    flex-wrap: wrap;
    justify-content: center;
  }
  .about_p {
    margin: 0 auto;
  }
}
@media screen and (max-width: 959px) {
  .slider-item01 {
    background: url("../image/top/topimg_mobile.jpg");
  }
  .slider-item03 {
    background: url("../image/top/topimg3_mogile.jpg");
  }
  .main h1 {
    letter-spacing: 10px;
    font-size: 2rem;
  }
  .main h1 span {
    font-size: 3rem;
  }
}
@media screen and (max-width: 749px) {
  .main h1 {
    font-size: 2rem;
    width: 100%;
    top: 30%;
  }
  .main h1 span {
    font-size: 3rem;
  }
  .about_p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 519px) {
  .about_cont div img {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .main h1 {
    font-size: 1.5rem;
    width: 100%;
  }
  .main h1 span {
    font-size: 2.5rem;
  }
  .covid {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 470px) {
  .about-section .inner {
    padding-top: 0;
  }
}
/*--course section-------------------------------------------*/
.course {
  background-color: #fef9e3;
}
.course .inner {
  padding: 80px 15px;
}
.course-description {
  font-weight: 600;
  margin-top: 20px;
  line-height: 1.7;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.6rem);
}
.course ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin-top: 30px;
  z-index: 1;
}
.course ul li {
  display: flex;
  flex-direction: column;
  width: 310px;
  background-color: #fff;
  border-radius: 10px;
  margin: 0 auto;
  margin-bottom: 50px;
}
.course ul li img {
  margin-bottom: 20px;
}
.course ul li h3 {
  margin-bottom: 30px;
  font-size: 2.2rem;
  line-height: 1.7;
}
.course_p1,
.course_p2,
.course_p3 {
  line-height: 2;
  text-align: left;
  margin: 0 20px 50px;
  flex: 1 0 auto; /**flex-grow(伸びる比率): 1; flex-shrink（縮む比率）: 0; flex-basis: auto;**/
}
.course ul li div {
  margin-bottom: 50px;
}
@media screen and (max-width: 749px) {
  .course_p1,
  .course_p2,
  .course_p3 {
    font-size: 1.4rem;
  }
}
/*-----スライドショーセクション-------*/
.slideshow {
  margin: 0;
  padding: 0;
  list-style: none;
}
/*==================================================
スライドショーのためのcss
===================================*/
.slideshow img {
  width: 100%; /*スライダー内の画像を横幅100%に*/
  height: auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slideshow .slick-slide {
  margin: 0 5px; /*スライド左右の余白調整*/
}
/**--access section--------------------------------------------------**/
.access {
  background-color: #fef9e3;
}
.access .inner {
  padding: 80px 0;
}
.access ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin-top: 30px;
}
.access ul li {
  width: 450px;
  margin: 20px auto;
}
.access ul li iframe {
  max-width: 100%;
  width: 450px;
  height: 300px;
}
.access ul li h3 {
  margin: 20px 0;
  font-size: 1.8rem;
}
.access ul li address {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 2px;
}
.access ul li span {
  font-size: 1.2rem;
}
/*--voice section-----------------------------------------------------------*/
.voice .inner {
  padding: 160px 0 80px;
  background-image: url("../image/top/bird.png");
  background-repeat: no-repeat;
  background-size: 23% auto;
  background-position: top 10% right 50%;
}
.voice ul li {
  margin-bottom: 20px;
  max-width: 350px;
}
.voice_item img {
  margin: 0 auto;
}
.voice_slide {
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}
.voice_item {
  padding: 30px 20px;
  margin: 0 10px;
  width: 300px;
  height: 250px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #5f5f5f;
}
.voice h3 {
  margin: 10px 20px;
  text-align: left;
}
.course_voice {
  border: 2px solid #8cc11e;
  color: #fff;
  background: #8cc11e;
  border-radius: 100vh;
  font-weight: 600;
  font-size: 1.2rem;
  width: 150px;
  margin: 0 auto;
}
.voice p {
  margin: 10px 20px;
  text-align: left;
  font-size: 1.2rem;
}
.voice p:hover {
  opacity: 0.5;
}
.voice_slide {
  position: relative;
  z-index: 1;
}
/*------------arrow---------------*/
.prev-arrow,
.next-arrow {
  position: absolute; /*絶対配置にする*/
  z-index: 3;
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  height: 25px;
  width: 25px;
}
.prev-arrow {
  left: 0;
}
.next-arrow {
  right: 0;
}
/*------------dots---------------*/
.slick-dots {
  position: relative;
  display: flex;
  width: 30%;
  bottom: 0;
  z-index: 3;
}
.slick-dots li {
  display: flex;
  justify-content: center;
}
.slick-dots li button {
  width: 14px; /*ドットボタンのサイズ*/
  height: 14px; /*ドットボタンのサイズ*/
  border-radius: 50%;
  background: #cfcfcf; /*ドットボタンの色*/
}
.slick-dots .slick-active button {
  background: #8cc11e; /*ドットボタンの現在地表示の色*/
}
.slick-dots li button:before {
  display: none;
}
@media screen and (max-width: 769px) {
  .voice .inner {
    padding-bottom: 20px;
    background-size: 200px auto;
    background-position: top 10% right 50%;
  }
  .voice h2 {
    margin-bottom: 80px;
  }
  .voice ul {
    max-width: 350px;
    margin: 0 auto;
  }
  .voice ul li {
    width: 100%;
  }
}
/*--news section------------------------------------------------------*/
.news {
  background-image: url("../image/top/bird2.png");
  background-repeat: no-repeat;
  background-size: 15% auto;
  background-position: top 12% right 50%;
}
.news .inner {
  padding: 160px 0 0 0;
}
.news_img {
  position: relative;
  overflow: hidden;
  padding-top: 60%; /* 比率 */
  width: 220px;
  height: 160px;
}
.news_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin-top: 50px;
}
.news ol li {
  text-align: left;
  margin: 0 5px 30px;
  max-width: 220px;
}
.news_box {
  position: relative;
}
.box_news {
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #8cc11e;
  color: #fff;
  background: #8cc11e;
  border-radius: 100vh;
  font-weight: 600;
  font-size: 1.2rem;
  width: auto;
  padding: 0 10px 0;
  text-align: center;
  z-index: 10;
}
.news ol li p {
  font-size: 12px;
}
.news_box:hover {
  opacity: 0.7;
  color: #1f7a00;
}
.news_more {
  text-align: right;
  font-size: 1.4rem;
  margin: 0 20px 20px;
}
.news_more:hover {
  opacity: 0.7;
  color: #1f7a00;
}
@media screen and (max-width: 768px) {
  .news {
    background-size: 200px auto;
    background-position: top 5% right 50%;
  }
}
@media screen and (max-width: 480px) {
  .news ol li {
    max-width: 180px;
  }
  .news_img {
    width: 180px;
  }
}
@media screen and (max-width: 412px) {
  .news ol li {
    max-width: 160px;
  }
  .news_img {
    width: 160px;
    height: 140px;
  }
  .box_news {
    font-size: 1rem;
  }
}
/*--topix section-------------------------------------------------*/
.topix ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin-top: 50px;
}
.topix ul li {
  width: 400px;
}
.topix ul li h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
  margin-bottom: 30px;
}
.topix ul li p {
  color: #fff;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 2px;
}
.bg1 {
  background: url("../image/top/kirari.jpg") no-repeat center/cover;
}
.bg2 {
  background: url("../image/top/class.jpg") no-repeat center/cover;
}
topix ul li {
  overflow: hidden;
  background: #000;
}
.container:hover {
  transition-duration: 0.3s;
  transform: scale(1.05);
  opacity: 0.6;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 230px;
  padding: 60px 10px;
  margin-bottom: 30px;
}
