* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}

body {
  background-color: #f6f3ec;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}
/* loading */

#loader_wrap {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  background: #fff;
  z-index: 1000;
}
.loader {
  width: 150px;
  height: 150px;
  background: url("../img/loading.png") no-repeat;
  background-size: cover;
  opacity: 0;
  animation: blink 5s infinite linear;
  z-index: 1100;
}

@keyframes blink {
  50% {
    opacity: 1;
  }
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.4s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-wrap {
  display: flex;
  align-items: center;
  width: 200px;
  justify-content: space-between;
  position: relative;
  transition: 0.2s;
}
.btn {
  font-size: 18px;
  letter-spacing: 6px;
  color: #b70404;
  position: relative;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}
.btn-maru {
  content: "";
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #b70404;
  position: relative;
  transition: 0.2s;
}
.btn-maru::before {
  content: "";
  width: 35px;
  height: 1px;
  background-color: #b70404;
  top: 50%;
  left: -35px;
  position: absolute;
}
.btn-maru::after {
  right: 23px;
  transition: 0.2s;
  content: "";
  width: 20px;
  height: 1px;
  background-color: #fff;
  top: 50%;
  left: 0px;
  position: absolute;
}
.yazirusi {
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 54%;
  right: 21px;
  transition: 0.3s;
}
@media (hover: hover) {
  .btn-wrap:hover .btn-maru {
    transform: scale(1.2, 1.2);
    opacity: 0.8;
  }
  .btn-wrap:hover .btn {
    opacity: 0.6;
  }
  .btn-wrap:hover .btn {
    color: #b70404;
  }
}
.title-wrap {
  text-align: center;
}
.title {
  letter-spacing: 0.15em;
  font-size: 45px;
  color: #b70404;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.title:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #b70404;
  position: absolute;
  top: 0px;
  left: -23px;
  border-radius: 50%;
}
.subtitle {
  letter-spacing: 0.45em;
  font-size: 15px;
  color: #b70404;
}
/* スマホメニュー */
#overlay {
  position: relative;
}
#overlay-button {
  position: fixed;
  right: 20px;
  top: 20px;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  z-index: 100;
  display: none;
}
#overlay-button span {
  color: #fff;
  position: relative;
  padding-right: 30px;
  transition: all 0.2s ease-in-out;
}

#overlay-button span.change-color-overlay {
  color: #b70404;
}
#overlay-button span:before {
  top: 11px;
  right: 0;
  visibility: visible;
}
#overlay-button span:after {
  top: 18px;
  right: 0;
}
#overlay-button span:before,
#overlay-button span:after {
  height: 2px;
  width: 35px;
  border-radius: 20px;
  background-color: #b70404;
  position: absolute;
  content: "";
  transition: all 0.2s ease-in-out;
}
#overlay img {
  position: absolute;
  bottom: 0;
  right: 30px;
  width: 100px;
}
/* #overlay-button:hover span,
  #overlay-button:hover span:before,
  #overlay-button:hover span:after {
    background: #fff;
  } */

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ #overlay {
  visibility: visible;
}
input[type="checkbox"]:checked ~ #overlay-btn span {
  color: #9b0000;
}
input[type="checkbox"]:checked ~ #overlay-button:hover span,
input[type="checkbox"]:checked ~ #overlay-button span {
  background: transparent;
}
input[type="checkbox"]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(2.3px, 2.3px);
}
input[type="checkbox"]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(2.3px, -2.3px);
}

#overlay {
  height: 620px;
  max-height: 90vh;
  width: 450px;
  visibility: hidden;
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  border: 1px solid #b70404;
  padding: 100px 0 100px 25px;
  background: url(../img/bg-check.png) 0 / 18px 18px repeat;
  background-color: #fff;
}
#overlay ul {
  list-style-type: none;
}
#overlay ul li {
  padding: 20px;
  position: relative;
  list-style-type: none;
}
#overlay ul li:before {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #9b0000;
  top: 25px;
  left: -15px;
  display: none;
  transition: 0.2s;
}
#overlay ul li:hover:before {
  display: block;
}
#overlay ul li a {
  color: #b70404;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.menu-contact {
  margin-top: 40px;
}
.contact-btn-menu {
  background-color: #b70404;
  padding: 25px 0px;
  border-radius: 50px;
  color: #fff !important;
  letter-spacing: 4px;
  display: inline-block;
  width: 100%;
  position: relative;
  border: 1px solid #fff;
  font-weight: bold;
  font-size: 20px;
}
.contact-btn-menu::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  top: 52%;
  right: 39px;
  transition: 0.3s;
  position: absolute;
}
/* pcmenu */
.pc-menu {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 100;
  position: fixed;
}
.pc-menu nav {
  width: 100%;
  height: 70px;
  background-color: dimgray;
  padding-top: 5px;
  box-sizing: border-box;
}
.pc-menu-flex {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
}
.pc-menu ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.pc-menu li {
  list-style: none;
}
.pc-menu-a {
  display: block;
  text-decoration: none;
  color: white;
  margin-right: 25px;
  font-size: 13px;
  position: relative;
}
.pc-menu-btn {
  background-color: #b70404;
  text-decoration: none;
  color: white;
  margin-right: 35px;
  font-size: 12px;
  position: relative;
  padding: 10px 17px;
  border-radius: 41px;
  transition: 0.2s;
}
.pc-menu-btn:hover {
  opacity: 0.8;
}
/* logo */
.logo {
  width: 330px;
  z-index: 104;
  padding-left: 50px;
}
.logo img {
  width: 100%;
}
.logo-white {
  width: 330px;
  z-index: 104;
  padding-left: 50px;
}
.logo-white img {
  width: 100%;
}
.logo-white {
  display: none;
}
.logo-sp {
  display: none;
  width: 250px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 95;
}
.logo-sp img {
  width: 100%;
}

.pc-menu-a:hover {
  opacity: 0.7;
}
.js-header.change-color {
  background-color: #fff;
  transition: 0.2s;
  padding: 10px;
}
.pc-menu-a.change-color-a {
  color: #464646;
  transition: 0.2s;
  font-weight: bold;
}
.change-color-a:hover {
  color: #b70404;
}
.logo.change-logo {
  display: none;
}
.logo-white.change-logo-white {
  display: block;
}
/* MV */
.mv {
  position: relative;
}
.mv-area {
  position: relative;
}

.slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 90;
  background-color: #fff;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slider-1 18s linear infinite;
  background-position: center;
  background-size: cover;
}

.slide-image:nth-child(1) {
  background-image: url(../img/mv-1.jpg);
  animation-delay: -2s;
}

.slide-image:nth-child(2) {
  background-image: url(../img/mv-2.jpg);
  animation-delay: 4s;
}

.slide-image:nth-child(3) {
  background-image: url(../img/mv-3.jpg);
  animation-delay: 10s;
}
@keyframes slider-1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4.16% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  41.66% {
    opacity: 0;
    transform: scale(1.07);
  }
  100% {
    opacity: 0;
  }
}
.mvtext {
  position: absolute;
  bottom: 35%;
  left: 100px;
  text-align: left;
  color: #fff;
  z-index: 97;
}
.mvtext h2 {
  font-size: 25px;
  letter-spacing: 0.2em;
  line-height: 2em;
}

.scrolldown1 {
  position: absolute;
  left: 50%;
  bottom: 0px;
  height: 50px;
  z-index: 90;
  text-shadow: 0 0 6px rgb(0 0 0 / 46%);
}

.scrolldown1 span {
  position: absolute;
  left: -15px;
  top: -15px;
  color: #eee;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.scrolldown1::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #eee;
  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;
  }
}

/* about�ｽ*/

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}
.about {
  width: 85%;
  min-width: 1000px;
  margin: 0px auto;
  padding: 130px 0 90px;
  position: relative;
}
.about-flex {
  display: flex;
  justify-content: center;
  color: #464646;
  margin-top: 60px;
  gap: 100px;
}
.about-text {
  font-size: 17px;
}
.about-img {
  flex-basis: 450px;
  position: relative;
}
.about-illust-pc {
  position: absolute;
  width: 110%;
  bottom: 0px;
  right: 0;
}
.about-illust-sp {
  display: none;
  position: absolute;
  width: 46%;
  bottom: 12%;
  right: 0;
}

.text {
  margin: 0px auto;
}
.text p {
  margin: 30px auto;
  line-height: 2.3em;
  letter-spacing: 0.15em;
  color: #464646;
  font-weight: 700;
}
.about h4 {
  font-size: 22px;
  letter-spacing: 0.3em;
  margin: 25px auto;
  font-style: normal;
  line-height: 1.8;
  position: relative;
}
/* lesson*/

.lesson {
  color: #464646;
  width: 100%;
  padding: 90px 0;
}
.lesson-wrap {
  width: 80%;
  height: 400px;
  min-width: 960px;
  max-width: 1200px;
  margin: 30px auto;
  position: relative;
  background: url(../img/mv-2.jpg) no-repeat center center / cover;
  transition: 0.2s;
}
.lesson-wrap:hover {
  opacity: 0.9;
}
.lesson-flex-text {
  width: 80%;
  min-width: 960px;
  max-width: 1200px;
  margin: 0 auto;
}
.lesson-flex-text-p {
  letter-spacing: 0.1em;
  line-height: 1.8em;
  color: #464646;
  font-size: 17px;
}
.lesson-btn {
  margin-top: 30px;
}
/* 髫ｰ蟶幢ｽｸ�ｫ驍擾ｽｹ闔牙��ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ */
.akiko {
  color: #464646;
  background: url(../img/bg-check.png) 0 / 18px 18px repeat;
  padding: 100px 0;
}
.akiko-flex {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  margin: 0px auto 0;
  width: 80%;
  gap: 60px;
  color: #464646;
  min-width: 960px;
}
.akiko-title-wrap-sp {
  display: none;
}
.akiko-title-wrap {
  text-align: left;
}
.akiko h4 {
  margin: 35px 0 15px;
  font-size: clamp(21px, 1.6vw, 26px);
  letter-spacing: 0.05em;
  line-height: 1.75;
  font-style: normal;
  position: relative;
  font-weight: bold;
}
.akiko h4 br {
  display: none;
}
.akiko-text {
  margin: 0px auto 25px;
  line-height: 2.15;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.flex-1 {
  max-width: 512px;
}
.flex-2 {
  position: relative;
  flex-basis: 27%;
  min-width: 440px;
  max-width: 520px;
}
.flex-2 img {
  width: 100%;
}
.insta {
  position: absolute;
  bottom: 14%;
  right: 14%;
}
.insta img {
  width: 70px;
}
.akiko-text-ander {
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.5em;
  letter-spacing: 0.1em;
  max-width: 1000px;
  border-top: 1px solid #464646;
  padding: 17px 0;
  color: #464646;
  font-weight: 400;
}
.akiko-text-ander p {
  padding-bottom: 10px;
}
.kutouten {
  letter-spacing: -3px;
}

/* student */
.student {
  margin: 90px auto;
  width: 100%;
  position: relative;
}
.student-flex-wrap {
  margin: 40px auto;
  position: relative;
  text-align: left;
}
.student-flex {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.student-inner {
  height: fit-content;
  width: fit-content;
  margin: 18px 10px;
  padding: 2vw 5vw;
  border-radius: 80px;
  position: relative;
  color: #fff;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.06em;
}
.student-inner:after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 48%;
  width: 0;
  height: 0;
  border-top: 13px solid #00cc99;
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
}
.student-inner-bold {
  font-weight: bold;
  font-size: clamp(19px, 1.4vw, 23px);
  padding: 0 3px;
}
.student-inner-1 {
  background-color: #7fb77e;
}
.student-inner-1 br {
  display: none;
}
.student-inner-1:after {
  border-top: 10px solid #7fb77e;
}
.student-inner-2 {
  background-color: #e6a4b4;
}
.student-inner-2 br {
  display: none;
}
.student-inner-2:after {
  border-top: 10px solid #e6a4b4;
}
.student-inner-3 {
  background-color: #afafaf;
}
.student-inner-3:after {
  border-top: 10px solid #afafaf;
}
.student-inner-4 {
  background-color: #7bb7d3;
}

.student-inner-4:after {
  border-top: 10px solid #7bb7d3;
}
.student-inner-5 {
  background-color: #ef9c66;
}
.student-inner-5:after {
  border-top: 10px solid #ef9c66;
}
.student-inner-6 {
  background-color: #baabda;
}
.student-inner-6:after {
  border-top: 10px solid #baabda;
}

.student-btn {
  margin: 20px auto;
}
/* .student img {
  position: absolute;
  width: 300px;
  bottom: 0;
  right: 10%;
} */
/* 郢ｧ�ｹ郢晢ｽｩ郢ｧ�､郢晏ｳｨ縺咏ｹ晢ｽｧ郢晢ｽｼ */
.slide-container {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 45s infinite linear 1s both;
}
.studentimg {
  width: 400px;
  height: 280px;
  margin: 20px 10px;
  object-fit: cover;
}
@keyframes slide-flow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* access�ｽ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ�ｼ�ｽ */
.access {
  padding: 90px 0;
  background: url(../img/bg-check.png) 0 / 18px 18px repeat;
}
/* .access-img-wrap {
  position: relative;
  width: 60%;
  max-width: 850px;
}
.access-img-wrap img {
  width: 100%;
} */
.googlemap {
  width: 65%;
}
.googlemap iframe {
  width: 100%;
}
.googlemap p {
  font-size: 13px;
  letter-spacing: 0.08em;
}
.access-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  width: 80%;
  color: #464646;
  min-width: 960px;
  max-width: 1200px;
}
.access-text p {
  margin-top: 40px;
  font-size: 17px;
  line-height: 2;
}
.access-btn {
  margin-top: 40px;
}
.access-title-wrap {
  text-align: left;
}
.number {
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 400;
  letter-spacing: 0.06em;
  font-family: "Jost", sans-serif;
  padding: 0 3px;
}

/* farm */
.farm-wrap {
  padding: 90px 0;
}
.rinneru-wrap {
  padding: 0 0 90px 0;
}
.farm-wrap img,
.rinneru-wrap img {
  width: 60%;
  display: block;
  margin: 0 auto;
  transition: 0.2s;
}
.farm-wrap-sp img,
.rinneru-wrap-sp img {
  width: 85%;
  display: block;
  margin: 0 auto;
  transition: 0.2s;
}

.farm-wrap-sp,
.rinneru-wrap-sp {
  display: none;
  padding: 90px 0 50px 0;
}

/* CONTACT */
.contact {
  width: 100%;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
/* .contact:before {
  content: "";
  background: url(../img/bg.jpg) no-repeat center center / cover;
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  z-index: -1;
} */
.contact .title {
  color: #b70404;
}
.contact .subtitle {
  color: #b70404;
  margin-bottom: 35px;
}
.contact-p {
  position: relative;
  padding-bottom: 25px;
}
.contact-p p {
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.8em;
  color: #464646;
  font-size: 18px;
}
.contact p br {
  display: none;
}
.contact img {
  position: absolute;
  width: 200px;
  bottom: 10%;
  left: 10%;
}
.contact-btn {
  position: relative;
  display: block;
  font-size: 19px;
  margin: 30px auto 20px;
  padding: 22px;
  width: 430px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: relative;
  font-family: "Zen Kaku Gothic New", sans-serif;
  align-items: center;
  background-color: #b70404;
  border-radius: 35px;
  transition: 0.2s;
}

.contact-btn:after {
  content: "";
  width: 9px;
  height: 9px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 40px;
  bottom: -4px;
  margin: auto;
}
.mail {
  color: #464646;
  display: inline-block;
  margin-bottom: 20px;
  border-bottom: 1px solid #464646;
  position: relative;
  font-size: 25px;
  transition: 0.3s;
}
.mail:before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../img/mail.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: -50px;
}
@media (hover: hover) {
  .mail:hover {
    opacity: 0.5;
  }
}

/* footer */
footer {
  background: linear-gradient(#46464636, #46464636), url(../img/bg.jpg);
  background-size: cover;
  background-position: center center;
}
.footer-inner {
  padding: 80px 0 20px;
  width: 80%;
  margin: 0 auto;
  min-height: 460px;
  position: relative;
  place-content: center;
}
.footerflex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 30px;
}
.footerflex ul {
  list-style: none;
}
.footerflex ul li {
  padding: 10px 0;
  line-height: 1.3em;
}
.footerflex ul li a {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.13em;
  position: relative;
}
.footerflex ul li a:hover {
  color: #ffffffb3;
}
.footerflex ul li a::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #b70404;
  bottom: 7px;
  left: -20px;
  display: none;
  transition: 0.2s;
}
.footerflex ul li a:hover:before {
  display: block;
  opacity: 1;
}
.footerflex ul li br {
  display: none;
}
.footerflex img {
  width: 220px;
}

.item3 {
  flex-grow: 3;
}
.item2 {
  flex-grow: 1;
}
.item1 {
  flex-grow: 1;
}
.copy {
  width: 100%;
  font-size: 10px;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* PC */
@media screen and (max-width: 1250px) {
  #overlay-button {
    display: block;
  }
  .pc-menu {
    display: none;
  }
  .logo-sp {
    display: block;
  }
}

/* sp  1080px */
@media screen and (max-width: 1080px) {
  .title {
    font-size: 37px;
  }
  .subtitle {
    font-size: 14px;
  }
  .mvtext {
    left: 50px;
  }
  .mvtext h2 {
    font-size: 26px;
  }
  .about {
    width: 90%;
    min-width: initial;
    padding: 80px 0;
  }
  .about-flex {
    gap: 70px;
  }
  .about-img {
    flex-basis: 350px;
  }
  .about-illust-pc {
    width: 100%;
  }
  .about-text {
    font-size: 15px;
  }
  .about h4 {
    font-size: 18px;
  }
  .student {
    margin: 80px auto;
  }
  .studentimg {
    width: 360px;
    height: 240px;
  }
  .student-inner {
    margin: 13px 7px;
    padding: 30px 35px;
    font-size: 14px;
    line-height: 1.6;
  }
  .student-inner-bold {
    font-size: 17px;
  }
  .akiko {
    padding: 80px 0;
  }
  .akiko-flex {
    width: 85%;
    gap: 50px;
    min-width: 800px;
    align-items: center;
  }
  .flex-2 {
    display: block;
    width: 60%;
    margin: 0 auto;
    min-width: 350px;
    flex-basis: initial;
    max-width: 400px;
  }
  .flex-1 {
    width: 400px;
  }
  .lesson-wrap,
  .lesson-flex-text {
    width: 85%;
    max-width: initial;
    min-width: initial;
  }
  .akiko-text {
    font-size: 15px;
    line-height: 2;
  }
  .access {
    padding: 80px 0;
  }
  .access-flex {
    width: 85%;
    align-items: center;
    justify-content: space-between;
    min-width: 800px;
    max-width: initial;
  }
  .access-text p {
    font-size: 16px;
  }
  .access-img-wrap {
    width: 60%;
    text-align: center;
  }
  .access img {
    width: 100%;
  }
  .access-under {
    width: 368px;
  }
  .lesson {
    padding: 70px 0;
  }
  .lesson-flex {
    gap: 15px;
    width: 85%;
    align-items: center;
    justify-content: space-between;
    min-width: 800px;
    max-width: initial;
  }
  .farm-wrap,
  .rinneru-wrap {
    display: none;
  }
  .rinneru-wrap-sp {
    padding: 0 0 90px 0;
  }
  .farm-wrap-sp,
  .rinneru-wrap-sp {
    display: block;
  }
  .contact {
    padding: 100px 0;
  }
  .contact img {
    position: absolute;
    width: 160px;
  }

  .contact-p p {
    font-size: 16px;
  }
  .footerflex ul li {
    padding: 12px 0;
  }
}
@media screen and (max-width: 850px) {
  .title {
    font-size: 34px;
  }
  .subtitle {
    font-size: 13px;
  }
  .mvtext {
    left: 20px;
  }
  .mvtext h2 {
    font-size: 21px;
  }
  .about {
    width: 75%;
    margin-bottom: 30px;
  }
  .about h4 {
    display: none;
  }
  .about-flex {
    display: block;
    margin-top: 0;
  }
  .about h2:after {
    display: none;
  }
  .about-illust-pc {
    display: none;
  }
  .about-illust-sp {
    width: 450px;
    display: block;
    left: 8%;
    transform: translateX(-50%);
    bottom: 0;
  }
  .about-text {
    padding-bottom: 170px;
    margin-top: 0;
  }
  .studentimg {
    width: 300px;
    height: 200px;
  }
  .student-flex {
    display: block;
  }
  .student-inner {
    margin: 23px auto;
    font-size: clamp(15px, 1.2vw, 20px);
    padding: 3.2vw 13vw;
    letter-spacing: 0;
  }
  .student-inner-bold {
    font-size: clamp(18px, 2.6vw, 21px);
  }
  .student-inner-3 br {
    display: none;
  }
  .akiko {
    margin: 0px auto;
    padding: 60px 0;
  }
  .akiko-title-wrap {
    display: none;
  }
  .akiko-title-wrap-sp {
    display: block;
    width: 100%;
    text-align: left;
  }

  .akiko-flex {
    width: 85%;
    display: block;
    min-width: initial;
  }
  .flex-1 {
    min-width: initial;
    max-width: initial;
    margin: 30px auto 0;
    width: 100%;
  }
  .insta {
    top: 11%;
    right: 8%;
  }
  .insta img {
    width: 60px;
  }
  .akiko-text {
    font-size: 15px;
  }
  .akiko h4 {
    font-size: 18px;
    margin: 10px 0;
  }
  .akiko h4 br {
    display: none;
  }
  .lesson {
    width: 85%;
    margin: 0 auto;
  }
  .lesson-title-wrap {
    text-align: left;
  }
  .lesson-wrap {
    height: 270px;
  }
  .lesson-wrap,
  .lesson-flex-text {
    width: 100%;
  }
  .lesson-flex-text-p {
    font-size: 15px;
  }
  .lesson-flex-text-p br {
    display: none;
  }
  .lesson-flex {
    width: 100%;
    display: block;
    margin-top: 0;
    min-width: initial;
  }
  .lesson-flex-inner:nth-of-type(1) {
    margin-top: 20px;
  }
  .lesson-img {
    width: 100%;
  }
  .lesson-btn {
    margin: 15px 0;
  }
  .access {
    padding: 70px 0;
  }
  .access-text p {
    margin-top: 25px;
    font-size: clamp(15px, 1.4vw, 20px);
  }
  .googlemap {
    width: 100%;
  }
  .googlemap iframe {
    height: 320px;
  }
  .access-flex {
    width: 85%;
    display: block;
    min-width: initial;
    max-width: initial;
  }
  .access-img-wrap {
    width: 95%;
    margin: 30px auto;
  }
  .access-btn {
    margin: 40px 0;
  }
  .contact-p p {
    font-size: 15px;
  }
  .contact-btn-wrap {
    padding: 0;
    position: static;
    margin-bottom: 20px;
  }
  .contact-btn {
    font-size: 15px;
    padding: 20px 0px;
    width: 330px;
  }
  .contact-btn::after {
    width: 7px;
    height: 7px;
    right: 25px;
  }
  .contact img {
    left: 5%;
    bottom: -31px;
  }
  .item3 {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  #overlay {
    width: 90vw;
    height: 70vh;
    min-height: 580px;
    max-height: initial;
  }
  .logo-sp {
    width: 200px;
  }
  .title {
    font-size: 25px;
  }
  .title:before {
    width: 8px;
    height: 8px;
    left: -12px;
  }
  .subtitle {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .btn {
    font-size: 13px;
  }
  .btn-maru {
    width: 34px;
    height: 34px;
  }
  .btn-wrap {
    width: 140px;
  }
  .btn-maru::after {
    width: 17px;
  }
  .yazirusi {
    right: 13px;
    top: 56%;
  }
  .slide-image::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: black;
    opacity: 0.1;
  }
  .mvtext {
    bottom: 45%;
    left: 7%;
  }
  .mvtext h2 {
    font-size: 22px;
    letter-spacing: 4px;
  }
  .about {
    width: 85%;
    padding: 80px 0 100px;
    margin-bottom: 20px;
  }
  .about-flex {
    margin-top: 35px;
  }

  .about-text {
    font-size: 14px;
    padding-bottom: 105px;
  }
  .text p {
    letter-spacing: 0.05em;
  }
  .about-illust-sp {
    width: 100%;
    left: 0;
  }
  .slide-wrapper {
    animation: slide-flow 35s infinite linear 1s both;
  }
  .studentimg {
    width: 180px;
    height: 130px;
    margin: 20px 5px 50px;
  }
  .student {
    margin: 80px auto 30px;
  }
  .student-flex-wrap {
    margin: 30px auto;
  }
  .student-inner {
    margin: 24px auto;
    padding: 20px 25px;
    font-size: clamp(13px, 2vw, 15px);
    letter-spacing: 0;
  }
  .student-inner-bold {
    font-size: clamp(15px, 3.5vw, 17px);
  }
  .student-inner-4 br {
    display: block;
  }

  .akiko-flex {
    width: 85%;
  }
  .flex-1 {
    width: 100%;
    min-width: initial;
    margin-top: 30px;
  }
  .akiko-text {
    font-size: 13px;
    letter-spacing: 0px;
    margin: 10px auto 20px;
    line-height: 2.3;
  }
  .akiko h4 br {
    display: block;
  }
  .akiko-text br {
    display: none;
  }
  .flex-2 {
    width: 100%;
    min-width: initial;
    margin-top: 30px;
  }
  .lesson {
    padding: 60px 0 30px;
  }

  .lesson-img {
    margin: 20px 0 10px;
  }
  .lesson-illust img {
    width: 160px;
  }
  .lesson-illust {
    right: 0px;
    top: -88px;
  }
  .access-flex {
    display: block;
    width: 85%;
  }
  .access-under {
    width: initial;
  }
  .lesson-wrap {
    width: 100%;
    height: 190px;
  }
  .lesson-flex h3 {
    font-size: 17px;
    padding-bottom: 6px;
  }
  .lesson-flex-text {
    width: 100%;
    min-width: initial;
    max-width: initial;
  }
  .lesson-flex-text-p {
    font-size: 14px;
    margin-top: 22px;
    line-height: 1.8;
    letter-spacing: 0;
  }
  .access-img-wrap {
    width: 100%;
    margin: 25px auto 0;
  }
  .access-under p {
    font-size: 14px;
    margin-top: 22px;
    line-height: 1.8;
  }
  .access-btn {
    margin: 15px 0 25px;
  }
  .access-btn p {
    margin: 0;
  }
  .number {
    font-size: 15px;
  }
  .googlemap iframe {
    height: 170px;
  }
  .contact {
    padding: 0px 0 100px;
    margin: 0 auto;
  }
  .contact .subtitle {
    margin-bottom: 20px;
  }
  .contact-p p {
    font-size: 14px;
  }
  .contact-p p br {
    display: block;
  }
  .contact-btn {
    width: 80%;
    font-size: 15px;
    letter-spacing: 3px;
    padding: 18px 0px;
    margin: 30px auto 10px;
  }
  .mail:before {
    width: 30px;
    height: 30px;
    top: 7px;
    left: -35px;
  }
  .footerflex {
    display: block;
    text-align: center;
  }
  .footerflex ul li a {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .item3 {
    display: none;
  }
  .footerflex ul li br {
    display: block;
  }
}
