@charset "utf-8";

/* @common
----------------------------------------------------------*/

/* @top
----------------------------------------------------------*/
/* @top-hero  */
.top-hero {
  position: relative;
  z-index: 2;
  margin: 80px auto 6%;

}
.top-hero-box{
    overflow: hidden;
    vertical-align: top;
    height: 750px;
    margin-left: 10%;
}
.top-hero-img {
    padding:0;
    height: 100%;
    border-radius: 0 0 0 200px;
    overflow: hidden;
    vertical-align: top;
}

.top-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.l_title {
    font-size: 3rem;
    position: absolute;
    top: 8%;
    left: -1px;
    font-weight: 600;
    letter-spacing: -0.06em;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

.sub {
    font-size: 4.2rem;
    position: absolute;
    letter-spacing: -0.06em;
    line-height: 1.25;
    right: 5%;
    bottom: -14%;
    color: #ccc;
}




/* @top-intro */
.top-intro {
    position: relative;
    margin-bottom: 5%;
}



.secttl {
    position: relative;
    z-index: 2;
    margin-bottom: .4em;
    padding-top: 1.3em;
    color: #37414f;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: .04em;
}

.left-border_1 {
    width: 150px;
    border: solid 1px #8cdfdf;
    display: inline-block;
    margin-right: 40px;
    vertical-align: middle;
}
.left-border_2 {
    width: 150px;
    border: solid 1px #faa879;
    display: inline-block;
    margin-right: 40px;
    vertical-align: middle;
}
.left-border_3 {
    width: 150px;
    border: solid 1px #8d7cf6;
    display: inline-block;
    margin-right: 40px;
    vertical-align: middle;
}
/* @top-about */
.top-about {
    position: relative;
    z-index: 1;
    left: 0;
    width: 90vw;
    height: 58vh;
    background: url(../img/top/about.png) no-repeat center center / cover;
    border-radius: 0 16px 16px 0;
}

.about_box{
    max-width: 1000px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
 }
.top-about_ttl {
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}
.top-about_ttl .e {
    display: flex;
    flex-direction: column;
    font-size: 18rem;
    line-height: .7;
    font-weight: bold;
    margin-top: 0;
    margin-bottom:-30px;
    color:#fff;
}
.top-about_ttl .j {
    /*margin-top: -4rem;*/
    color: #37414f;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 1.1em;
}

@keyframes transscaleX {
  0% {
    transform:scaleX(0);
  }
  100% {
    transform:scaleX(1);
  }
}




.top-about_text {
    max-width: 1000px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    z-index: 1;
}
.top-about_text_lead {
    margin: 0 auto .8em;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.5;
    max-width: 800px;
    width: 90%;
}




/* @top-features */
.top-features {
  padding-top: 40px;
  padding-bottom: 80px;
  background: #f3fdf8;
}

.features-list{
    margin-top: 10px;
}
.check-list-item {
    position: relative;
    max-width:1000px;
    width: 100%;
    margin: 3em auto;
    padding: 3em 2.5em;
    text-align: center;
    box-shadow: 0 4px 0 rgba(65, 73, 77, .05);
    border-radius: 20px 0 20px 0;
    border: 1px solid #ccc;
    background: #fff;
}

.check-list-item .txt {
    margin-bottom: 0;
    text-align: left;
}
.check-list-item .t_txt {
    position: absolute;
    display: block;
    top: -10%;
    left: -5%;
    width: auto;
    padding: 10px;
    background: #8cdfdf;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    border-radius: 20px 0 20px 0;
}
.check-list-item .t_txt span{
    padding: 0 9px;
    font-size: 2.5rem;
    vertical-align: middle;
}
.check-list-item .effect-num {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transform-origin: center left;
  opacity: 0;
}
.check-list-item .effect-num.on-effect {
  -webkit-transform: rotate(0);
  transform: rotate(0);
  opacity: 1;
}
.check-list-item li:nth-child(2) {
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
}
.check-list-item li:nth-child(3) {
  -webkit-transition-delay: .6s;
  transition-delay: .6s;
}
.check-list-item li:nth-child(4) {
  -webkit-transition-delay: .9s;
  transition-delay: .9s;
}


/* @top-point */
.top-point {
  padding-top: 40px;
  padding-bottom: 30px;
}

.point-list-item {
    position: relative;
    max-width:1000px;
    width: 48%;
    margin: 2% auto;
    padding: 2.5em;
    border-radius: 20px 0 20px 0;
    background: #fff2e9;
}

.point-list-item .title_txt{
    /*color: #255a92;*/
    font-size: 1.35em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}
.point-list-item .txt{
    text-align: left;
}
.box-title {
    position: absolute;
    display: inline-block;
    top: -22px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 2.2rem;
    color:#faa879;
    font-weight: bold;
}
.box-title span {
    padding: 0 9px;
    font-size: 3.2rem;
    
}

/* @top-flow*/
.top-flow {
  padding-top: 40px;
  padding-bottom: 80px;
  background: #f1f9fa;
}

.flow_box{
  max-width: 1000px;
  width: 100%;
  padding: 2em 2em 1em;
  counter-increment: title;
  position: relative;
  display: flex;
  margin: 2em auto;
  background: #fff;
  border: 1px solid #ccc;
}


.flow_box:not(:last-child):after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 18px solid #8d7cf6;
    border-bottom: 0;
}
.flow_box h3 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    line-height: 24px;
    position: relative;
    border-right: 2px solid #8d7cf6;
    padding-top: 40px;
    padding-right: 15px;
    margin-bottom: 20px;
    height: 200px;
}

.flow_box h3::before {
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    content: counter(title);
    font-size: 40px;
    position: absolute;
    top: -5px;
    left: 0;
    font-family:
  "游明朝", "Yu Mincho", YuMincho,
  "ヒラギノ明朝 ProN W6", "HiraMinProN-W6",
  "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;

  }
.flow_inbox{
    padding-left: 40px;
}
.flow_inbox h4{
  font-size: 1.2rem;
  font-weight: 900;
}

 /* @top-message */
.top-message {
  position: relative;
  margin-top: 5%;
  margin-bottom: 5%;
}
.message_box {
    max-width: 1000px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}
.message-list-item {
    position: relative;
    z-index: 1;
    width: 90vw;
    height: 58vh;
    left: 10vw;
    background: url(../img/top/message.png) no-repeat center center / cover;
    border-radius: 16px 0 0 16px;
}


.message-list-item .txt {
    margin: 0 auto .8em;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    max-width: 800px;
    width: 90%;
}
.message-list-item_text_lead {
    margin: 0 auto .8em;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.5;
    max-width: 800px;
    width: 90%;
}
/* @top-contact */
.top-contact {
  padding-bottom: 80px;
 position: relative;
}
.top-contact::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 3.5em;
    left: -12em;
    right: -50vw;
    bottom: -1.5em;
    background: #f5f4f0;
}
.top-contact .c-title{
    line-height: 1;
    font-size: 5rem;
    color: #093bab;
    font-weight: bold;
}

.top-contact .welcome {
	max-width: 800px;
    width: 100%;
    margin: 0 auto;
    line-height: 2;
    text-align: center;
}

.top-contact .tel_box {
    width: 100%;
    max-width: 800px;
    margin: 1em auto 1.5em;
    padding: 1em;
    text-align: center;
    border: solid 1px #FF2A68;
}
.dial{
    display: inline-block;
    text-decoration: none;
    position: relative;
    font-size: 2.0em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
}

.container {
    max-width: 1420px;
    width: 100%;
    margin: auto;
}

.container {
	margin: 15px auto;
	padding: 15px;
	border-radius: 3px;
}

.mbt10 {
    margin-bottom: 10px !important;
}


.wpcf7-form{
    background: #fff;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.wpcf7-form p{width: 100%; padding: 0 10px;}
.wpcf7-form p.w100{width: 100%;}
.wpcf7-form textarea{width: 100%;}
.wpcf7-submit{ 
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}
textarea {
    line-height: 1.65;
}
.txt_p {
    color: #FF2A68;
}

@media screen and (max-width:480px) {
  .wpcf7-form p{width: 100%;}
}



/* レスポンシブ
----------------------------------------------------------*/
@media screen and (max-width: 1280px) {
  /* @top
  ----------------------------------------------------------*/
  .l_title{
      left: -35px;
    }

}

/* 960px 以上 (PC・タブレット横) */
@media screen and (min-width: 960px) {
  /* @top
  ----------------------------------------------------------*/

}


/* 1024px 以下 */
@media screen and (max-width: 1024px) {



　　/* @top-intro */
  .top-intro {
    padding-top: 0;
    padding-bottom: 2rem;
  }
  .secttl {
    font-size: 2.0rem;
    margin-bottom: .8em;
    }


/* @top-about */

  .top-about {
        width: calc(100vw - 30px);
        border-radius: 0 8px 8px 0;
        aspect-ratio: 688 / 587;
        background-position: left 35% bottom 45%;
    }

 .top-about_ttl .j {
    text-align: center;
    }

 .top-about_ttl {
        margin-bottom: 1rem;
        text-align: center;
    }
 .top-about_ttl .e {
        display: block;
        font-size: 8rem;
        line-height: 1;
    }
 .top-about_text_lead {
    font-size: 1.2rem;
    margin-top: -10px;
 }

 .facility-list > li {
    width: 22%;
  }
 .facility-list .txt {
    font-size: .9375rem;
  }
}



/* 959px 以下 (タブレット縦以下) */
@media screen and (max-width: 959px) {

  /* @common
  ----------------------------------------------------------*/
 

 .secttl::before {
        left: 0;
        right: 0;
        width: 100%;
        font-size: 6rem;
    }
  /* @top
  ----------------------------------------------------------*/
  /* @top-hero */
  .l_title{
      left: -35px;
    }
  .sub{
      bottom: -14%;
    }

  
  
    
    
  /* @top-about */
  .top-about_text {
    width: 100%;
  }



  /* @top-features */
  .top-features .ttl {
    font-size: 1.2rem;
	line-height: 1.3;
    margin-bottom: 0;
  }
  .top-features .ttl_sub {
	text-align: left;
  }



 /* @top-message */
 .message-list-item .ttl {
  line-height: 1.3;
  }
 .message-list-item {
        width: calc(100vw - 30px);
        border-radius:8px 0 0 8px;
        aspect-ratio: 688 / 587;
        background-position: center;
  }

  


  /* @top-contact */
  .top-contact {
    margin-top: 0;
    padding-bottom: 1em;
  }
  .top-contact .secttl {
    padding-top: 0;
    padding-bottom: .8em;
}
  .top-contact .secttl::before {
    padding-top: 0;
}

}
/* 599px 以下 (スマホ)  */
@media screen and (max-width: 599px) {
  /* @common
  ----------------------------------------------------------*/
 .secttl {
        font-size: 1.8rem;
        margin-bottom: 0;
 }

  /* @top
  ----------------------------------------------------------*/
    
　.left-border {
    width: 50px;
    margin-right: 20px;
    }
    
  /* @top-hero */
  .top-hero {
    margin: 50px auto 10%;
    }
  .top-hero-box {
    margin-left: 18%;
    height:auto;
    }
  .top-hero-img {
      border-radius: 0 0 0 90px;
      height:auto;
    }
   .l_title{
      font-size: 2rem;
      left: -20px;
      top: 5%;
    }
   .sub{
      font-size: 2.5rem;
      bottom: -16%;
    }


　



  /* @top-about */
  .top-about {
    padding-top: 10px;
    display: block;
  }


  .top-about_ttl {
    margin-bottom: 1.5rem;
  }
  .top-about_ttl .j {
    margin-top: 0;
    font-size: 1.6rem;
  }
  .top-about_text {
    width:100%;
  }

 .top-about_text_lead {
        font-size: 1.13rem;
        margin-bottom: 10px;
    }

  /* @top-features */
  .top-features{
	padding-bottom:1.8em;
	padding-top: 1.5em;
  }
  .features-list {
    padding-top: 1px;
  }
  .check-list-item {
        width: 100%;
    }

/* @top-point */
    .top-point {
    padding-bottom:1.8em;
	padding-top: 1.5em;
    }
	
  
    .point-list {
        padding-top: 11px;
    }
    .point-list-item {
     width:100%; 
     margin-bottom: 2em;
     padding: 1.5em
    }  
    
    .point-list-item .title_txt {
        text-align: left;
    }
    
    
/* @top-flow */
    .top-flow {
    padding-bottom:1.8em;
	padding-top: 1.5em;
    }    
    .flow_box h3 {
     height:auto;
    }
    
/* @top-message */
    .top-message {
    margin-top: 15%;
    margin-bottom: 15%;
    }  
   
    .message_box .lead_ttl{
      font-size: 1.3rem;  
    }

 /* お問い合わせ */
    
.top-contact .c-title {
    line-height: 1.8;
    font-size: 3.5rem;
 }
.container {
    margin: 0 auto;
    }
.top-contact .welcome {
    text-align: left;
}

}
