@charset "UTF-8";
:root{
  --head-color:#1693CB;
  --sky:#EBF9FF;
  --light-green:#22A738;
}
/* CSS Document */
html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 60px;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.6rem;
  background-size: contain;
  background-repeat: repeat;
  color: #4D4D4D;
  overflow-x: hidden;
}
/*アニメーション*/
.fadein{
  opacity: 0;
}

header {
width: 100%;
height: 60px;
position: fixed;
display: flex;
justify-content: space-between;
color: var(--head-color);
z-index: 999;
background-color: #fff;
align-items: center;
/* スクロールで表示させるためのCSS */
top:-60px;
transition: .5s;
}
#header.is-show {
top: 0;
}
header h1 {
width: 200px;
padding-top: 10px;
padding-left: 10px;
}
header h1 a {
width: 100%;
display: inline-block;
}
header h1 img {
width: 100%;
}
.header_logo{
width: 200px;
height: auto;
padding: 2rem;
}
.header_logo svg{
fill: var(--primary-color);
}
#g-nav ul {
display: flex;
flex-wrap: wrap;
align-items: center;

}
#g-nav ul li {
margin: 0 10px;
font-size: 1.8rem;
font-weight: 500;
}
#g-nav ul li a {
color: #000;
display: block;
padding-left: 4px;
padding-right: 4px;
line-height: 1;
font-family: var(--emphatic-font);
color: var(--primary-color);
letter-spacing: 0.2rem;
}
#g-nav ul li a img{
max-width: 30px;
width: 100%;
}
#g-nav ul li a :hover{
opacity: 0.8;
}
#g-nav ul li a svg{
width: 24px;
height: 24px;
fill: var(--primary-color);;
}
@media(max-width:768px){
#g-nav{
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  background: #fff;
  transition: all 0.6s;

}
#g-nav.panelactive {
  right: 0;
}
#g-nav ul {
  flex-direction: column;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  height: 50vh;
  justify-content: space-around;

}
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  display: none;
}
@media(max-width:768px) {
  .openbtn {
    display: block;
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    /* top: 10px; */
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--head-color);
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.dropmenu li {
  padding: 20px;
  text-align: center;
}
@media(max-width:767px) {
  header {
    height: 60px;
  }
  header h1 {
    width: 160px;
  }
  .humaburger {
    width: 30px;
    height: 30px;
  }
  .humaburger p {
    font-family: "poppins", sans-serif;
    font-size: 0.7rem;
  }
  .humaburger span {
    display: block;
    background: var(--head-color);
    height: 2px;
    width: 30px;
    margin-bottom: 3px;
  }
}

/* ----------
TOP-View
------------*/
.top{
  background: var(--sky);
}
.top_contents{
  position: relative;
}
.top_title{
  position:absolute;
  margin: auto;
  top:24%;
  bottom:0;
  right: 0;
  left:0;
  width:50%;
  transition: 0.8s!important;
}
@media screen and (max-width:768px) {
  .top_title{
    top:28%;
    bottom:0;
    right: 0;
    left:0;
    width:70%;
    transition: 0.8s!important;
  }
}

/* SECTION */
section{
  margin-top: 100px;
}
.sec-inner{
  max-width:1000px;
  margin:0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.sec-inner>h2{
  font-size: 5rem;
  font-weight: 500;
  color: var(--head-color);
  position: relative;
  margin-bottom:10rem ;
  padding-top: 2rem;
  margin-top: 12rem;
}
.sec-inner>h2 span{
  font-family: "futura-pt", sans-serif;
  padding-right: 0.2em;
}
.sec-inner>h2 span.h2_sub{
  font-size: 2rem;
  position: absolute;
  top:0;
  left: 0;
  letter-spacing: 0.1em;
  color: var(--light-green)
}
@media screen and (max-width:768px) {
  section{
    padding: 0 1.6rem;
  }
  .sec-inner>h2{
    font-size: 3.4rem;
    font-weight: 500;
    color: var(--head-color);
    position: relative;
    margin-bottom:6rem ;
    padding-top: 2rem;
    margin-top: 6rem;
  }
}
@media screen and (max-width:500px) {
  section{
    padding: 0 0;
  }
  .sec-inner>h2{
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--head-color);
    position: relative;
    margin-bottom:6rem ;
    padding-top: 2rem;
    margin-top: 12rem;
  }
}

/* ----------
INTRO
------------*/
.index-intro{
  margin:0;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--sky);
}
.intro-inner{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.intro-head{
font-size: 6rem;
font-weight: 500;
color: var(--head-color);
}
.intro-description{
  margin-top: 4rem;
  line-height: 2.4;
}

.intro-img{
  width:50%;
  max-width:340px;
}
.intro-img img{
  width:100%
}
@media screen and (max-width:768px) {
  .intro-head{
    font-size: 3.4rem;
    }
  .intro-img{
    width:80%;
    max-width:340px;
    margin-top: 6rem;
  }
  
}

/* ----------
MERIT
------------*/
#merit{
  width: 100vw;
  /* height: 100vh; */
  background:url(../img/bg_merit.jpg);
  background-size: cover;
  background-attachment: fixed;
  padding: 3rem ;
  margin-top:0;

}

.merit-item{
  width:100%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 25px rgba(0,0,0,0.06);
  display: flex;
  margin-bottom: 9rem;
  position: relative;
  padding: 9rem 7rem;
}
.merit-item:nth-of-type(2){
  flex-direction: row-reverse;
}
.merit-item::before{
  /* content: ""; */
  width:50vw;
  height:300px;
  position: absolute;
  top:-9rem;
  left:calc(-50vw + 150px);
  background-color: var(--sky);
  border-radius:20px;
  z-index: -2;
}
.merit-item:nth-of-type(2)::before{
  top:-9rem;
  left: auto;
  right:calc(-50vw + 150px);
  background-color: var(--sky);
}
.merit-item::after{
  position: absolute;
  top:-6rem;
  font-size: 8rem;
  font-weight: 700;
  font-family: "futura-pt", sans-serif;
  color: var(--head-color);
}
.merit-item:nth-of-type(1)::after{
  content: "01";
  left:2rem;
}
.merit-item:nth-of-type(2)::after{
  content: "02";
  right:2rem;
}
.merit-item:nth-of-type(3)::after{
  content: "03";
  left:2rem;
}
.merit-img{
  width: calc( ( 100vw / 12 ) * 5);
}
.merit-item dl{
  width: calc( ( 100vw / 12 ) * 5);
  padding-left: 5rem;
}
.merit-item:nth-of-type(2) dl{
  padding-left: 0;
  padding-right: 5rem;
}
.merit-item dl dt{
  font-size:3.2rem;
  font-weight: 600;
  margin-bottom:4rem ;
}
.merit-item dl dd{
  line-height: 2;
}

@media screen and (max-width:768px) {
  #merit{
    padding: 2rem 0;
    margin-top:0;
  
  }
  .merit-img{
    width: 100%;
  }
  .merit-item{
    flex-direction: column;
    padding: 6rem 2rem;
  }
  .merit-item dl{
    width: 100%;
    padding-left: 0;
  }
  .merit-item dl dt{
    font-size:2.6rem;
    margin-bottom:2rem ;
    margin-top:2rem ;
  }
  .merit-item:nth-of-type(2)::before{
    left:calc(-50vw + 150px);
  }
  .merit-item:nth-of-type(2)::after{
    content: "02";
    left:2rem;
  }
  .merit-item:nth-of-type(2) {
    flex-direction:column
}
}

/* ----------
ABOUT
------------*/
.about-head {
  text-align: center;
  font-family: "futura-pt", sans-serif;
  font-size: 6.5rem;
  position: relative;
  margin:20rem auto 14rem;
  display: flex;
  justify-content: center;

}
.about-head img{
  width:230px;
  padding-right: 1em;
}
.about-head  img:last-of-type{
  rotate: 180deg;
}
.about-head  span{
  color: var(--head-color);
}
.about-intro{
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0 auto;
justify-content: center;
margin-bottom: 100px;
}
.about-intro p{
  font-size: 1.6rem;
 width: 45%;
 margin-right:70px;
 line-height:2.4;
}
.about-intro-img{
max-width: 200px;
}
.about-list {
  position: relative;
}
.about-list h3{
  font-size: 3.8rem;
  font-weight: 500;
  padding-left: 5rem;
  position: relative;
  margin-bottom: 3rem;
}
.about-list h3::before{
  content: "";
  width:126px;
  height: 60px;
  background: url(../img/deco_about-list.jpg);
  background-size: cover;
  position: absolute;
  z-index: -2;
  left: 0;
}
.about-list-item{
  margin-bottom: 14rem;
}
.about-list-item-content{
  position: relative;
}
.about-list-item-img{
  position: absolute;
  width:400px;
  right:0;
  top:-124px;
  z-index:-1;
}
.about-list-item-content p{
  padding: 5rem;
  background-color: var(--sky);
  line-height: 2;
  font-size: 1.6rem;
  position: relative;
  border-radius: 10px;
}
.about-list-item-content p::after{
  content: "";
  position: absolute;
  width: calc(50% + 50vw );
  background-color: var(--sky);
  height: 100%;
  left: 0;
  top:0 ;
  z-index: -1;
  border-radius: 10px 0 0 10px;
}
.about-link a{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 3rem;
  /* line-height: 3.6rem; */
  font-weight: 700;
  color: #fff;
  background-color:var(--head-color) ;
  border-radius: 999px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border: solid 2px #E6E6E6;
}
.about-link a span:first-child{
  margin-right: 0.5em;
}
.about-link a .material-symbols-outlined{
  font-size:36px;
}

@media screen and (max-width:768px){
  .about-head {
    text-align: center;
    font-family: "futura-pt", sans-serif;
    font-size: 3.4rem;
    position: relative;
    margin:20rem auto 8rem;
    display: flex;
    justify-content: center;
  
  }
  .about-list-item {
    margin-bottom: 6rem;
}
  .about-head img{
    width:60px;
    /* height: 30px; */
    padding-right: 0.6em;
  }
  .about-intro p{
    font-size: 1.6rem;
   width: 80%;
   margin-right:0;
   line-height:2.4;
  }
  .about-list h3{
    font-size: 2.2rem;
    font-weight: 500;
    padding-left: 3rem;
    position: relative;
    margin-bottom: 2rem;
  }
  .about-list-item-img{
    position: static;
    width:100%;
    
  }
  .about-list-item-content p::after{
    content: "";
    position: absolute;
    width:80%;
    background-color: var(--sky);
    height: 100%;
    left: 0;
    top:0 ;
    z-index: -1;
    border-radius: 10px;
  }
  .about-list-item-content p{
    padding: 4rem 2rem;
    background-color: var(--sky);
    line-height: 2;
    font-size: 1.6rem;
    position: relative;
    border-radius: 10px;
  }
  .about-list h3::before{
    content: "";
    width:63px;
    height: 30px;
    background: url(../img/deco_about-list.jpg);
    background-size: cover;
    position: absolute;
    z-index: -2;
    left: 0;
  }
  .about-link a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    /* line-height: 3.6rem; */
    font-weight: 700;
    color: #fff;
    background-color:var(--head-color) ;
    border-radius: 999px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: solid 2px #E6E6E6;
  }
}
@media screen and (max-width:480px){
  .about-head {
    text-align: center;
    font-family: "futura-pt", sans-serif;
    font-size: 2.8rem;
    position: relative;
    margin:20rem auto 8rem;
    display: flex;
    justify-content: center;
  
  }

}
/* アプリ */
.about-app{
  display: flex;
  justify-content: space-around;
  position: relative;
  flex-direction:row-reverse;
}
.app-img{
  width:30%;
  height:100vh;
  display: flex;
  align-items: center;
  position: sticky;
  top:0;
  bottom:0;
}
.app-img div{
  /* height:400px; */
  margin:auto;
  display: block;
  visibility: hidden;
  /* background: #fff; */
  position: absolute;
  /* top:0;
  bottom: 0; */
  transition: .8s;
  opacity: 0;
}
.app-img div:first-child,.app-img div.active{
  visibility: visible;
	opacity: 1;
}
.app-tx{
  width:50%;
}
.app-tx .app-scroll-box00,.app-tx .app-scroll-box01,.app-tx .app-scroll-box02,.app-tx .app-scroll-box03{
  padding-top: 50vh;
  text-align: center;
}
.app-tx .app-scroll-box03{
  padding-bottom: 50vh;
}
.app-scroll-box{
  background: var(--sky);
  padding:8rem  4rem;
  border-radius: 20px;
}
.app-tx div img{
  max-width: 200px;
  margin-bottom: 3rem;
}
.app-tx dl{
  /* text-align: center; */
}
.app-tx dl dt{
  font-size: 3rem;
  color: var(--head-color);
  font-weight: 500;
  margin-bottom: 3rem;
}
.app-tx dl dd{
  line-height: 1.6;
}
.about-app-sp{
  display: none;
}


@media screen and (max-width:768px){
  .about-app{
    flex-direction: column-reverse;
    display: none;
  }
  .about-app-sp{
    display: block;
  }
  .app-img-sp{
    width: 40%;
    margin: 0 auto 2rem;
  }
  .about-app-sp dl{
    text-align: center;
    margin-bottom: 8rem;
  }
  .about-app-sp dl dt{
    font-size: 3rem;
    color: var(--head-color);
    font-weight: 500;
  }
  .app-item-sp{
    padding: 4rem 2rem 2rem;
    background: var(--sky);
    margin-bottom: 3rem;
    border-radius: 20px;
  }

}

/* お問い合わせ */
.inquiry{
  background-color: var(--head-color);
  color: #fff;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  margin-top: 0
}
.inquiry h2{
  font-size: 4rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  margin-bottom:4.6rem ;
  padding-top: 2rem;
  text-align: center;
  margin-top: 0;
}
.inquiry h2 span{
  font-family: "futura-pt", sans-serif;
  padding-right: 0.2em;
}
.inquiry h2 span.h2_sub{
  font-size: 1.8rem;
  position: absolute;
  margin: 0 auto;
  top:0;
  left: 0;
  right: 0;
  letter-spacing: 0.1em;
  color: #fff;
}
.inquiry a{
  display: block;
  padding: 4rem;
  border: solid 2px #fff;
  border-radius: 999px;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 700;
}
@media screen and (max-width:768px){
  .inquiry h2{
    font-size: 2.2rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    margin-bottom:4.6rem ;
    padding-top: 3rem;
    text-align: center;
  }
  .inquiry a{
    padding: 2rem;
    border: solid 2px #fff;
    border-radius: 999px;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 2rem;
    font-weight: 700;
  }
}

/* FOOTER */
footer{
  background: #fff;
  padding-top: 100px;
  padding-bottom: 300px;
  background-image: url(../img/bg_footer.jpg);
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: contain;
}
.footer-wrapper{
  display: flex;
  justify-content: center;
  width:100%;
  max-width: 1000px;
  padding-right: 4rem;
  padding-left: 4rem;
  margin: 0 auto;
}

.footer-logo{
  width:200px;
  margin-right: 80px;
}
.footer-links{
  display: flex;
  justify-content: space-around;
  flex: 1;
}
.footer-links a{
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--head-color);
}
.footer-sublinks{
  margin-top: 1rem;
}
.footer-sublinks a{
  font-size: 0.85em;
  color: #4D4D4D;
  padding-top: 1em;
}
.footer-sublinks a::before{
  content: "-";
  margin-right: 1em;
}
@media screen and (max-width:768px){
  footer{
    background: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url(../img/bg_footer.jpg);
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: contain;
  }
  .footer-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  .footer-links{
    flex-direction: column;
    text-align: center;
  }
  .footer-logo {
    width: 200px;
    margin-right: 0;
    margin-bottom: 4rem;
}
.footer-links li{
  margin-bottom: 1rem;
}
}