/* index.php reset */
#index section {
  /*	margin-bottom: 30px;*/
  overflow: hidden;
}
/* main visual */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#index .mv {
  width: 100%;
  height: calc(90vh - 100px);
  height: calc((var(--real-vh) * 100)- 100px);
  min-height: 620px;
  background: url(../images/index/fv_bg.png) no-repeat left top;
  background-size: 30%;
  position: relative;
  overflow: hidden;
}

#index .mv .arrow {
  width: fit-content;
  height: 80px;
  position: absolute;
  left: 15%;
  bottom: 8vh;
}
#index .mv .arrow div {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  position: absolute;
  top: 0;
  left: 0;
}

#index .mv .arrow span {
  animation: top_scllor 2s infinite;
  position: absolute;
  bottom: 0;
  left: 5px;
}
@keyframes top_scllor {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  100% {
    transform: translateY(0);
  }
}

#index .mv .arrow i {
  display: block;
  width: 1px;
  height: 26px;
  margin-top: 10px;
  background: #000000;
}
#index .mv .arrow i::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: -1px;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background: #000000;
  transform: rotate(135deg);
}

#index .mv .mv_ttl {
  width: 26%;
  max-width: 360px;
  position: absolute;
  left: calc(15% - 170px);
  top: 10%;
  z-index: 10;
}
#index .mv .mv_copy {
  display: flex;
  flex-direction: column;
  justify-content: start;
  font-family: "Zen Old Mincho";
  font-weight: bold;
  font-size: 40px;
  line-height: 1.4;
  color: #7a4a1a;
  position: absolute;
  left: 0;
  top: 38%;
  z-index: 10;
}
#index .mv .mv_copy div {
  margin: 0 0 10px 0;
}
#index .mv .mv_copy span {
  display: block;
  width: fit-content;
  padding: 10px 20px;
  /* background: #fffee9; */
  background: #ffffff;
  line-height: 1;
  border-bottom: 6px solid #beda44;
}
/* mv slide */
#index .mv .mv_box {
  margin: 0 0 0 auto;
  width: 70%;
  height: 100%;
  position: relative;
}
#index .mv .mv_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#index .mv .slick-slide {
  height: 85vh;
}

/* HD画面(1280px x 720px)対応 */
@media screen and (max-width: 1281px) {
  #index .mv .mv_box {
    width: 60%;
  }
  #index .mv .mv_ttl {
    max-width: 270px;
    position: absolute;
    left: calc(22% - 13%);
    top: 7%;
    z-index: 10;
  }
  #index .mv .mv_copy {
    font-size: 34px;
  }
  #index .mv .arrow {
    left: calc((30% / 2) + 15px);
  }
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .mv {
    background: url(../images/index/fv_bg.png) no-repeat left top 5%;
    background-size: 30%;
    height: 82vh;
  }
  #index .mv .slick-slide {
    height: 57vh;
    min-height: 360px;
  }
  #index .mv .mv_box {
    width: 70%;
  }
  #index .mv .mv_ttl {
    max-width: 270px;
    left: calc(15% - 13%);
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 30);
    position: absolute;
    left: 0;
    bottom: 20%;
  }
  #index .mv .arrow {
    position: absolute;
    left: 50%;
  }
}
@media screen and (max-width: 811px) {
  #index .mv {
    background: url(../images/index/fv_bg_sp.png) no-repeat left top 5%;
    background-size: 30%;
    height: 60vh;
  }
  #index .mv .slick-slide {
    height: 48vh;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 24);
    position: absolute;
    left: 0;
    bottom: 20%;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .mv {
    height: 90vh;
    background: url(../images/index/fv_bg_sp.png) no-repeat center bottom 18%;
    background-size: 63%;
  }
  #index .mv .mv_ttl {
    width: 32%;
    left: calc(50% - 16%);
    top: 58vh;
  }
  #index .mv .mv_box {
    width: 100%;
  }
  #index .mv .slick-slide {
    height: 46vh;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 22);
    bottom: auto;
    top: 34vh;
  }
  #index .mv .mv_copy div {
    margin: 0 0 2vw 0;
  }
  #index .mv .mv_copy span {
    padding: 1vw 2vw 2vw;
    border-bottom: 4px solid #beda44;
  }
  #index .mv .arrow {
    min-width: 97px;
    position: absolute;
    left: 49%;
    bottom: 10%;
  }
  #index .mv .arrow div {
    font-size: 10px;
  }

  #index .mv .arrow span {
    animation: top_scllor 2s infinite;
    position: absolute;
    bottom: 0;
    left: 2px;
  }
  @keyframes top_scllor {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(20px);
    }
    100% {
      transform: translateY(0);
    }
  }

  #index .mv .arrow i {
    height: 30px;
  }
}
@media screen and (max-width: 430px) {
  #index .mv {
    height: 82vh;
    background: url(../images/index/fv_bg_sp.png) no-repeat right 28% bottom 24%;
    background-size: 80%;
  }
  #index .mv .slick-slide {
    height: 42vh;
    min-height: auto;
  }
  #index .mv .mv_ttl {
    width: 40%;
    left: calc(50% - 20%);
    top: 52vh;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 18);
    bottom: auto;
    top: 35vh;
  }
  #index .mv .arrow {
    height: 12vh;
  }
}

/* introducs */
#index .introduction {
  padding: 100px 0 60px;
  position: relative;
  font-size: 110%;
  z-index: 0;
  background: url(../images/index/top_miraijuku_bg.png) no-repeat center center;
  background-size: 100%;
}
#index .introduction .intro_txt {
  padding: 40px 20px;
}
#index .introduction .intro_txt p {
  text-align: center;
  letter-spacing: 1px;
  line-height: 2.6;
  color: #513832;
}

/* HD画面(1280px x 720px)対応 */
@media screen and (max-width: 1281px) {
  #index .introduction {
    font-size: 100%;
  }
}
@media screen and (max-width: 1081px) {
  #index .introduction {
    padding: 5vh 0;
    /* font-size: calc(100vw / 42); */
  }
  #index .introduction .intro_txt {
    margin-left: 0;
    padding: 4vw 0 4vw 0;
  }
}
@media screen and (max-width: 768px) {
  #index .introduction {
    background: url(../images/index/top_miraijuku_bg_sp.png) no-repeat top center;
    background-size: 100%;
    padding: 6vw 0;
    min-height: auto;
    height: auto;
    position: relative;
  }
  #index .introduction .news_box {
    width: 90%;
    max-width: none;
    margin: 3vw auto;
    position: static;
  }
  #index .introduction .news_box ul {
    width: 100%;
    min-height: 30vw;
    padding: 2vw;
  }
  #index .introduction .intro_txt {
    width: 90%;
    max-width: none;
    margin: auto;
  }
  #index .introduction .intro_txt p {
    max-width: none;
    margin: 3vw 0 3vw auto;
  }
  #index .introduction .intro_txt p:nth-of-type(2) {
    text-align: left;
    line-height: 1.8;
  }
  #index .intro_img {
    position: static;
    width: 100%;
    max-width: none;
    border-radius: 0;
  }
}
@media screen and (max-width: 430px) {
  #index .introduction {
    padding: 6vh 0 0;
    font-size: calc(100vw / 24);
    position: relative;
  }
}

/* aboutus */
#index .aboutus {
  padding: 60px 0;
  position: relative;
  background: url(../images/index/top_aboutsu_bg.png) no-repeat center center;
  background-size: 100%;
}
#index .aboutus p {
  margin: 30px auto 20px;
  text-align: center;
}
#index .aboutus .aboutus_box {
  width: 84%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#index .aboutus .aboutus_box .aboutus_img {
  width: 40%;
}
#index .aboutus .aboutus_box .aboutus_txt {
  width: 56%;
}
#index .aboutus .aboutus_box .aboutus_txt dl {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #636260;
}
#index .aboutus .aboutus_box .aboutus_txt dt {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-weight: bold;
  position: relative;
}
#index .aboutus .aboutus_box .aboutus_txt dt::before {
  content: "▼";
  display: inline-block;
  padding-right: 5px;
  font-size: 75%;
  transform: rotate(-90deg);
}
#index .aboutus .aboutus_box .aboutus_txt dd {
  font-weight: bold;
  padding-left: 20px;
  line-height: 1.2;
}
#index .aboutus .aboutus_box .aboutus_txt dd span {
  display: inline-block;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.6;
}
.aboutus .aboutus_box .aboutus_txt dd address {
  /* display: flex;
  flex-wrap: wrap;
  gap: 10px; */
  line-height: 1.4;
}
.aboutus .aboutus_box .aboutus_txt dd address small {
  vertical-align: top;
}
#index .aboutus .aboutus_box .aboutus_txt dd span.txt_adjust {
  display: inline !important;
  padding: 0;
}
#index .aboutus .main_btn {
  margin: 60px auto 20px;
}
@media screen and (max-width: 1081px) {
  #index .aboutus {
    padding: 6vw 0 10vw;
    min-height: auto;
    height: auto;
    background: url(../images/index/top_aboutsu_bg.png) no-repeat top center;
    background-size: 100%;
  }
}
@media screen and (max-width: 768px) {
  #index .aboutus {
    padding: 6vw 0 10vw;
    min-height: auto;
    height: auto;
    background: url(../images/index/top_aboutsu_bg_sp.png) no-repeat bottom center;
    background-size: 100%;
  }
  #index .aboutus .aboutus_box .about_cntns {
    width: 95vw;
    max-width: 100%;
    margin-left: 5vw;
    margin-top: 0;
  }
  #index .aboutus .aboutus_box .aboutus_img {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
  }
  #index .aboutus .aboutus_box .aboutus_txt {
    width: 100%;
  }
  #index .aboutus .aboutus_box .aboutus_txt dt {
    font-size: 120%;
  }
  #index .aboutus .main_btn {
    margin: 6vw auto 2vw;
  }
}
@media screen and (max-width: 391px) {
  #index .contact .cotns_box {
    max-height: 500px;
  }
  #index .aboutus .aboutus_box .about_img {
    max-height: 220px;
  }
}

/* active */
#index .active {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background: url(../images/index/top_active_bg.png) no-repeat center center;
  background-size: 100%;
}
#index .active_txt p {
  text-align: center;
  line-height: 1.8;
}

#index .active .news_box {
  width: 50%;
  max-width: 810px;
  margin: 40px auto;
}
#index .active .news_box h3 {
  background: #ffefef;
  padding: 10px 10px 12px 10px;
  margin-bottom: 10px;
  font-size: 140%;
  font-weight: bold;
  font-family: "Zen Old Mincho";
  border-left: 5px solid #ff5e63;
}
#index .active .news_box ul {
  width: 100%;
  max-height: 200px;
  background: #f8f8f7;
  border: 2px solid #636260;
  padding: 20px 40px;
  overflow-y: scroll;
}
#index .active .news_box li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #636260;
  font-size: 90%;
  gap: 10px;
}
#index .news_box li .day {
  width: 5.5em;
}
.news_box li .title {
  width: calc(100% - 7em);
  line-height: 1.4;
}
#index .active .news_box .newMark {
  padding: 1px 5px 2px;
  background: #ff5e63;
  color: #ffffff;
  font-size: 50%;
  line-height: 1.5;
  border-radius: 5px;
}
#index .active .news_box li a {
  color: #ff5e63;
}
#index .active .main_btn {
  margin: 30px auto 80px;
}
#index .active .active_member {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 60px;
  /* border-top: 6px dotted #ff5e63; */
}
#index .active .active_member .active_member_img {
  width: 30%;
}
#index .active .active_member .active_member_txt {
  width: 65%;
}
#index .active .active_member .active_member_txt .active_member_ttl {
  font-family: "Zen Old Mincho";
  width: fit-content;
  background: #ffffff;
  font-size: 160%;
  font-weight: bold;
  border-left: 5px #ff5e63 solid;
  border-bottom: 5px #513832 double;
  padding: 5px 50px 8px 10px;
  margin-bottom: 15px;
  position: relative;
}

#index .active .active_member .active_member_txt .active_member_ttl small {
  font-weight: 400;
  font-family: "Marck Script", cursive;
  padding-left: 10px;
}

#index .active .active_member .active_member_txt dd {
  line-height: 1.8;
}

@media screen and (max-width: 1500px) {
  #index .active .news_box {
    width: 90%;
    margin: 5vw auto 5vw;
    position: static;
  }
}
@media screen and (max-width: 1081px) {
  #index .active {
    padding: 6vw 0;
    background: url(../images/index/top_active_bg.png) no-repeat top center;
    background-size: 100%;
  }
}
@media screen and (max-width: 768px) {
  #index .active {
    padding: 6vw 0 10vw;
    background: url(../images/index/top_active_bg_sp.png) no-repeat bottom center;
    background-size: 100%;
  }
  #index .active .news_box ul {
    width: 100%;
    min-height: 18vh;
    padding: 3vw 5vw;
  }
  #index .active .active_member {
    width: 90%;
    margin: 0 auto 5vw;
  }
  #index .active .active_member .active_member_img {
    display: none;
  }
  #index .active .active_member .active_member_txt {
    width: 100%;
  }
  #index .active .main_btn {
    margin: 4vw auto 8vw;
  }
}
@media screen and (max-width: 430px) {
}

/* yoiya */
#index .yoiya {
  padding: 60px 0;
  position: relative;
  background: url(../images/index/top_yoiya_bg.png) no-repeat center center;
  background-size: 100%;
}
#index .yoiya .yoiya_box {
  padding: 40px 0 60px;
  position: relative;
}
#index .yoiya .yoiya_box p {
  text-align: center;
  line-height: 1.8;
}
#index .yoiya .yoiya_box .main_btn {
  margin: 60px auto 0;
}

#index .yoiya .yoiya_box .yoiya_img01 {
  width: 50%;
  max-width: 280px;
  height: auto;
  position: absolute;
  top: -140px;
  right: 10px;
}
#index .yoiya .yoiya_box .yoiya_img02 {
  width: 50%;
  max-width: 280px;
  height: auto;
  position: absolute;
  bottom: -20px;
  left: 10px;
}

@media screen and (max-width: 1081px) {
  #index .yoiya {
    padding: 6vw 0;
    position: relative;
    overflow: hidden;
    background: url(../images/index/top_yoiya_bg.png) no-repeat center top;
    background-size: 100%;
  }
  #index .yoiya .yoiya_box {
    padding: 3vw 0 0;
  }
  #index .yoiya .yoiya_box .yoiya_img01,
  #index .yoiya .yoiya_box .yoiya_img02 {
    width: 30%;
    max-width: 280px;
    height: 20vw;
  }
  #index .yoiya .yoiya_box .yoiya_img01 {
    position: absolute;
    top: -20vw;
    right: 0;
  }
  #index .yoiya .yoiya_box .yoiya_img02 {
    position: absolute;
    bottom: -10vw;
    left: 0;
  }
}
@media screen and (max-width: 768px) {
  #index .yoiya .yoiya_box {
    padding: 3vw 0 16vh;
  }
  #index .yoiya .yoiya_box .main_btn {
    margin: 6vw auto 0;
  }
  #index .yoiya .yoiya_box .yoiya_img01,
  #index .yoiya .yoiya_box .yoiya_img02 {
    width: 50%;
    max-width: 280px;
    height: 14vh;
  }
  #index .yoiya .yoiya_box .yoiya_img01 {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
  }
  #index .yoiya .yoiya_box .yoiya_img02 {
    position: absolute;
    bottom: 0;
    left: 0;
  }
}
/* information */
#index .information {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
#index .information .infor_news_wrap {
  width: 90%;
  max-width: 810px;
  max-height: 320px;
  padding: 50px 40px;
  margin: 0 auto;
  border: 2px solid #513832;
  background: #ffffff;
  overflow-y: scroll;
}
#index .information .infor_news {
  display: flex;
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #513832;
}
#index .information .infor_news .infor_news_img {
  width: 200px;
  height: 120px;
  overflow: hidden;
}
#index .information .infor_news .infor_news_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#index .information .infor_news .infor_news_txt {
  width: calc(100% - 220px);
}
#index .information .infor_news .infor_news_ttl {
  line-height: 1.6;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #beda44;
}
#index .information .infor_news .infor_news_ttl a {
  line-height: 1.4;
}
#index .information .infor_news .infor_news_txt p {
  line-height: 1.6;
  font-size: 80%;
}
#index .information .infor_news .infor_news_txt .read_more {
  width: fit-content;
  margin: auto 0 0 auto;
}
#index .information .infor_news .infor_news_txt .read_more a {
  font-weight: bold;
  color: #98ae00;
  font-size: 80%;
}

#index .information .sns {
  width: 80%;
  margin: 80px auto;
  background: #ffffff url(../images/index/top_information_bg_sp.png) top center;
  background-size: 160%;
  border: 6px dotted #beda44;
}
#index .information .sns .facebook2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto 60px;
  max-width: 720px;
}
#index .information .sns .facebook2 h3 {
  width: 60%;
  margin: -22px auto 60px;
  background: #ffffff;
  padding: 8px 10px;
  border: solid #beda44;
  border-width: 0 6px 0 6px;
  text-align: center;
  font-size: 140%;
  font-weight: bold;
}
#index .information .sns .facebook2 iframe {
  max-width: 300px;
  width: calc((100% / 2) - 10px);
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #index .information {
    padding: 6vw 0;
  }
  #index .information .sns {
    width: 96%;
    margin: 80px auto;
    background: #ffffff url(../images/index/top_information_bg_sp.png) top center;
    background-size: 160%;
    border: 3px dotted #beda44;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .information .infor_news_wrap {
    padding: 8vw 9vw;
    margin: 0 auto;
    border: 2px solid #513832;
    background: #ffffff;
  }
  #index .information .infor_news {
    flex-wrap: wrap;
  }
  #index .information .infor_news .infor_news_img {
    width: 200px;
    height: 180px;
  }
}
@media screen and (max-width: 430px) {
  #index .information .infor_news .infor_news_img {
    width: 80vw;
    height: 40vw;
  }
  #index .information .infor_news .infor_news_txt {
    width: 100%;
    padding-bottom: 20px;
  }
  #index .information .sns .facebook2 iframe {
    max-width: 300px;
    width: 100%;
    margin-bottom: 30px;
  }
}
/* お問い合わせページ以外に表示させる誘導枠 */
.contactad {
  width: 100%;
  padding: 80px 0 120px;
  position: relative;
  background: url(../images/index/top_contactad_bg.png) no-repeat top center;
  background-size: 100%;
}
.contactad .contactad_cntns {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 30px 80px;
  background: #ffffff;
  text-align: center;
  border: 4px solid #fbb03b;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.contactad .contactad_cntns .contactad_txt {
  font-size: 120%;
  width: fit-content;
  margin: 0 auto 15px;
  color: #513832;
  font-weight: bold;
  line-height: 1.4;
  position: relative;
}
.contactad .contactad_cntns .contactad_txt::before,
.contactad .contactad_cntns .contactad_txt::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #a67c52;
  transform: rotate(45deg);
  border-radius: 10px;
}
.contactad .contactad_cntns .contactad_txt::before {
  position: absolute;
  bottom: calc(50% - 15px);
  left: -60px;
}
.contactad .contactad_cntns .contactad_txt::after {
  position: absolute;
  bottom: calc(50% - 15px);
  right: -60px;
  transform: scale(-1, 1) rotate(45deg);
}
.contactad .contactad_cntns .main_btn {
  margin: auto;
}
@media screen and (max-width: 1081px) {
  .contactad .contactad_cntns {
    width: 90%;
    padding: 5vw 5vw 10vw 5vw;
  }
  .form_btn a {
    padding: 2vw 5vw;
  }
}
@media screen and (max-width: 768px) {
  .contactad {
    margin-bottom: 15vw;
  }
  .contactad .cotns_box {
    margin: 20vw auto 26vw;
  }
  .contactad .contactad_cntns p {
    margin: 1vw auto 0;
    font-size: calc(80vw / 22);
    padding-left: 4px;
  }
  .contactad .contactad_cntns .contactad_txt {
    font-size: 100%;
  }
  .contactad .contactad_cntns .contactad_txt::before,
  .contactad .contactad_cntns .contactad_txt::after {
    width: 40px;
    height: 3px;
  }
  .contactad .contactad_cntns .contactad_txt::before {
    left: -10vw;
  }
  .contactad .contactad_cntns .contactad_txt::after {
    right: -10vw;
  }
  .form_btn a::after {
    right: 6vw;
  }
  .form_btn .mail_icon {
    display: inline-block;
    width: 5vw;
    height: 4vw;
  }
}
.form_txt {
  font-size: 75%;
}
