@charset "utf-8";
:root{
  /* Base Font Size 1.0rem = 10px */
  font-size: 10px;
}
@media screen and (max-width: 374px){
    :root{
        font-size: 9px;
    }
}

*, *::before, *::after {
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
  position: relative;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #222;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body::before{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg_main.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
@media (max-width: 768px) {
  body::before {
    background-image: url("../images/bg_main_sp.webp");
    background-size: 100% auto;
    background-position: top center;
  }
  /* body {
    background-image: url("../images/bg_main_sp.webp");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  } */
}

p{
  text-align: justify;
  font-size: 1.6rem;
}
img{
  width: 100%;
  height: auto;
}
a,
a:hover,
a:hover img {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}
a:hover img{opacity: 0.7;}

.pc_case{display: block!important;}
.sp_case{display: none!important;}

main{
  width: 100%;
  overflow: hidden;
}
main,
.wrapper{
  position: relative;
  max-width: 768px;
  width: 92.1875%;
  margin: 0 auto;
  z-index: 10;
}
.containerbox{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
#itemArea .containerbox::after{
  content: "";
  display: block;
  width: 31.333%;
}
.item03{
  width: 31.333%;
  margin-bottom: 3%;
  line-height: 0;
}
.item_box{
  position: relative;
  background: #fff;
  width: 31.333%;
  margin-bottom: 20px;
  aspect-ratio: 1 / 1;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.item_img{
  position: relative;
  display: block;
}
.item_box img{
  display: block;
  max-width: 100%;
  height: auto;
}
.item_box::after{
  content: '＋';
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background-color: #ac7820;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .pc_case{display: none!important;}
  .sp_case{display: block!important;}
  .item03,
  .item_box{
    width: 48%;
  }
}

/* header */
header{
  padding-top: 80px;
}
header::before,
header::after{
  content: "";
  position: absolute;
  top: 0;
  width: 32%;
  height: 100px;
  z-index: 11;
}
header::before{
  background: url(../images/head_flag_left.png) no-repeat;
  background-size: contain;
  left: 0;
}
header::after{
  background: url(../images/head_flag_right.png) no-repeat;
  background-size: contain;
  right: 0;
}
header img{
  display: block;
  width: 90%;
  height: auto;
  margin: auto;
}
@media (max-width: 768px) {
  header{
    padding-top: 40px;
  }
}

/* footer */
#fototerArea{
  /* background: rgba(255,255,255,0.35); */
  padding: 25px 0;
  margin-top: 60px;
}
#fototerArea p{
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
}
.logo_aeon{
  display: block;
  width: 240px;
  margin: 0 auto 10px;
}

a:link.btn_aeon,
a:visited.btn_aeon{
  box-sizing: border-box;
  display: block;
  background: #ac7820;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  line-height: 36px;
  padding:0 20px;
  margin: 0 auto;
}
a:hover.btn_aeon{
  background: #ffab3e;
}
#page_top{
  position: fixed;
  right: 0;
  bottom: -100px;
  display: block;
  width: 60px;
  height: 60px;
  z-index: 100;
}
#page_top:hover{opacity: 0.95;}

/* 固定ボタンなど */
#left_fixity,
#right_fixity{
  position: fixed;
  top: 20px;
  width: 120px;
  height: auto;
}
#left_fixity{
  left: 20px;
}
#right_fixity{
  right: 20px;
}
#fixity_left,
#fixity_right{
  position: fixed;
  min-width: 200px;
  width: 18vw;
  height: 100%;
  z-index: 1;
}
#fixity_left{
  top: 30%;
  left: 20px;
}
#fixity_right{
  top: 30%;
  right: 30px;
}
.title_content_btn{
  text-align: center;
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.1em;
  padding: 0 0 5px;
  margin-bottom: 15px;
}
.title_content_btn img{
  display: block;
  width: 100%;
  margin: 0 auto;
}

#fixity_right::before{
  content: "";
  position: absolute;
  top: -30px;
  left: -25px;
  display: block;
  background: url(../images/pc_side/btn_sclool.png) no-repeat;
  background-size: contain;
  width: 20px;
  height: 220px;
}
#fixity_right .pcbox_inner{
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
  gap: 15px;
}
img.pc_illust,
img.pc_illust_r{
  display: block;
  width: 84%;
  height: auto;
  margin: 100px auto 0;
}
img.pc_illust_r{
  width: 100%;
  margin: 50px auto 0;
}
#foot_btn{
  display: none;
}

@media screen and (max-width: 1214px){
  main{
    padding-bottom: 60px;
  }
  #foot_btn{
    background: url(../images/bg_footer_btn.gif) no-repeat center /cover;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 20px auto 0;
    border-top: 1px solid #fff;
  }
  #foot_btn .item_btn{
    box-sizing: border-box;
    width: 33.333%;
    text-align: center;
    line-height: 1;
    border-right: 1px solid #fff;
    padding: 10px 0 5px;
  }
  #foot_btn .item_btn img{
    display: block;
    width: 60%;
    margin: 0 auto;
  }
  #foot_btn .item_btn:last-child{
    border-right: none;
  }
  #foot_btn .item_btn:hover{
    background: rgba(248,229,109,0.5);
  }
  #fixity_left,
  #fixity_right{
    display: none;
  }
}

@media screen and (max-width: 768px){
  #foot_btn .item_btn{
    line-height: 50px;
    padding: 3px 0 0;
  }

  #foot_btn .item_btn img{
    width: 80%;
    padding: 7px 0 10px;
  }
  #left_fixity,
  #right_fixityy{
  display: none;
}

}

@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

.title_h1 img{
  display: block;
  max-width: 320px;
  width: 55%;
  margin: 60px auto 30px;
}