/* PC */
.firstview .fv-slider .innerbox {
  min-height: 560px;
}

/* SP */
@media screen and (max-width: 768px) {
  .firstview .fv-slider .innerbox {
    min-height: 480px;
  }
}

.dib2{
  font-size:35px!important;
  text-align:center!important;
  margin: auto!important;
}

.firstview .inner.fv-slider{
  padding:0em!important;
  background: none!important;
}

.fv-slider {
  padding:0em 3em!important;
}

.inner_slide{
  padding:30px 40px 30px 40px!important;
} 

@media screen and (max-width: 768px) {
  .inner_slide{
      padding:30px 5px 30px 5px!important;
  }
}

  
.firstview .slick-dots {
  width: calc(100%)!important;
}


.subtxt{
  display: inline-block;
  font-size:22px;
  background:yellow;
  padding:3px 30px;
  border-radius:20px; 
  box-shadow:10px 5px 5px grey;
  margin-bottom: 20px
}

@media screen and (max-width: 768px) {
.subtxt{
  font-size:18px;
  margin: 0 auto 10px;
  padding: 3px 10px;
}
}

.firstview .inner .subtitle {
    font-size: 1.0em;
    color: #595959;
    line-height: 1.8em;
    font-weight: normal;
    margin-bottom: 20px;
    display: block;
}


/* 1枚目 */
.firstview .fv-slider .innerbox:nth-child(1) {
  background-image: url('../img/top/bg01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius:5px;
}



@media screen and (max-width: 768px) {
.first_slide .button::before {
    top: 22%!important;
  }
}


@media screen and (max-width: 768px) {
  .firstbtn .button::before {
    top: 52%;
  }
}


.firstview .fv-slider .innerbox:nth-child(1) .btnbox {
  margin-top:8em!important;
} 


.firstview .fv-slider .innerbox:nth-child(1) .btnbox{
  margin-top:130px
}


.firstview .fv-slider .innerbox:nth-child(1) .title{
  margin-top:110px;
}


.sub_txt {
  font-size: 32px!important;
  display: block!important;
  text-align: center!important;
  margin: 0 auto 20px!important;
  color: #707070;
  /* margin-bottom: -0!important; */
}

@media screen and (max-width: 768px) {
  .sub_txt{
    font-size:25px!important;
  }
}




.firstview .fv-slider .innerbox:nth-child(1) .dib2{
    font-size:35px;
}



/* 2枚目 */
.firstview .fv-slider .innerbox:nth-child(2) {
  padding-bottom:50px;
  background-image: url('img/top/bg02.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius:5px;
}

@media screen and (max-width: 768px) {
  .firstview .inner .btnbox .button a {
    padding: 0.5em 0em!important; 
  }
}

.firstview .fv-slider .innerbox:nth-child(2) .btnbox{
  margin-top:-30px;
}

.innerbox{
  position: relative;
}


  @media screen and (max-width: 727px) {
  .floating-banner{
    z-index: 99999!important;
  }
}



/* 2枚目 */
.firstview .fv-slider .innerbox:nth-child(3) {
    padding-bottom:50px;
    background-image: url('img/top/bg03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius:5px;
}
.top .firstview .inner.fv-slider .innerbox:nth-child(3) .title {
  font-size: 35px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .top .firstview .inner.fv-slider .innerbox:nth-child(3) .title {
    font-size: 20px;
  }
}

/* 3枚目 */
.firstview .fv-slider .innerbox:nth-child(4) {
   padding-bottom:50px;
   background-image: url('img/top/bg04.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   border-radius:5px;
}
.top .firstview .inner .third_slide .title {
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .top .firstview .inner .third_slide .title {
    font-size: 20px;
  }

}

/* 4枚目 */
.firstview .fv-slider .innerbox:nth-child(5) {
    padding-bottom:50px;
    background-image: url('img/top/bg05.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius:5px;
}
.top .firstview .inner .fourth_slide .title {
    font-size: 40px;
}
/* .top .firstview .inner .fourth_slide .subtitle {
  padding: 10px 0;
} */

@media screen and (max-width: 768px) {
    .firstview .inner.fv-slider .innerbox {
      min-height: initial; /* 好きな高さへ調整 */
    }
    .top .firstview .inner .fourth_slide .title {
    font-size: 20px;
  }

}



@media screen and (max-width: 600px) {
    .sp{
        display: none;
    }
    
    .fv-slider:first-child .firstview .button::before{
        top: 30%;
      } 
    
    
    .dib2{
        font-size:20px!important;
    }
    
    .helpbox {
        height: 100%; 
        display: flex; 
        flex-direction: column;
    }
        .helpbox .inner {
            padding: 50px 0 0 0; 
            height: auto; 
            width: 90%!important;
        }
    
        .helpful .button.w100 {
            margin-top: 140px;
        }
    
    
        .helpfulbox li {
            height: auto; 
            padding-top: 50px; 
            border: 1px solid #F0F3F6;
            box-sizing: border-box; 
        }
    
        .firstbtn{
            padding-bottom:70px!important;
        }
    
    }


    /* 再読み込みした時に 2枚目の画像が一瞬表示される バグ */
  /* PC用 初期高さ（読み込み前の揺れ防止） */
.firstview .fv-slider .innerbox {
    min-height: 560px;   /* ここは自由に調整可能 */
    opacity: 0;          /* 読込中に非表示にしてチラつき防止 */
    transition: none;/* フェード表示 */
  }
  
  /* SP用 初期高さ */
  @media screen and (max-width: 768px) {
    .firstview .fv-slider .innerbox {
      min-height: 500px;  /* スマホ用 */
    }
  }
   /* 再読み込みした時に 2枚目の画像が一瞬表示される バグ */

  



/* 料金早見表 */

/* .attention{
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
    width: 96%;
  }
  @media screen and (max-width: 768px) {
    .attention{
      padding-top: 15px;
    }
  }
  
  .attention p{
    font-size:15px;
  }
  
  .image-container {
    position: relative;
    display: inline-block;
    display: flex;
    width:40%;
    cursor: pointer;
  }
  
  @media screen and (max-width: 768px) {
    .image-container{
      width:100%;
    }
  }
  
  .tc_flex{
    display: flex;
    padding-left: 25px;
  }
  
  .image-container img{
    width: 70px;
    width:220px;
  }
  
  @media screen and (max-width:768px) {
    .image-container img{
      max-width: none;
      width: 24px;
      height: auto;
      margin-left: 0px;
    }
    
  }
  
  .note{
    text-align: left;
    max-width:1150px;
    padding-top: 40px;
    margin: 0 auto;
    width: 90%;
  }
  
  @media screen and (max-width: 768px) {
    .note{
      padding-top: 40px;
    }
    #plan .table th {
      position: relative;
     }
  
  .image-container.active .tooltip-text {
    opacity: 1;
    visibility: visible;
  }
  }
  
  .tooltip-text {
    visibility: hidden;
    font-size:14px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
  }
  @media (max-width: 768px) {
    .tooltip-text {
      visibility: hidden;
      font-size:12px;
      height:70px;
      text-align: left;
      background-color: rgba(0, 0, 0, 0.75);
      color: #fff;
      padding: 5px 10px;
      border-radius: 4px;
      position: absolute;
      bottom: 100%;
      left: 50%;
      top:20px;
      transform: translateX(-50%);
      white-space: nowrap;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s;
    }
  }
  
  .image-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  } */
  
/* 料金早見表 */

.header-logo p{
  font-size:9px;
  font-weight:500;
  margin-bottom:-5px;
  letter-spacing: -0.05em;
  margin-left:40px;
}

@media (max-width: 768px) {
  .header-logo p{
  font-size:11px;
  margin-left:30px;
}
}