/* ============

common

============ */


:root{

    /* //  文字色　// */
      --color: #393939;




    /* //  ブルー　//   */
      --blue: #00479d;
    /* //  薄いブルー　//   */
      --sub-blue: #82c1ea;
    /* //  背景灰色　//   */
      --gray:#f7f8f8;
    /* //  背景灰色2　//   */
    --sub-gray:#f7fcfe;

    
      /* //  大サイズ文字 // */
      --font-a: 80px;
    /* //  大サイズ文字2 // */
    --font-a02: 56px;
      /* //  中サイズ文字　// */
      --font-b: 32px;
        /* //  中サイズ文字2　// */
        --font-c: 24px;
    /* //  小サイズ文字　// */
      --font-d: 16px;
      /* //  極小サイズ文字　// */
      --font-e: 14px;

        /* // h2文字 // */
        --h2-size: 60px;


    /* //  電話番号フォント　// */
    --font-call:  "Bebas Neue", sans-serif;

    /* //  フォント　// */
    --font: "Noto Sans JP", sans-serif;


}

html{
    scroll-behavior: smooth;
}

body{
    font-family: var(--font);
}

dt{
    font-weight: normal;
}

.sp{
    display: none;
}

.sp-br{
    display: inline-block;
}

/* =============================

common

============================= */

.tel-font{
    font-family: var(--font-call);
    font-size: var(--font-b);
}




.box{
    padding: 100px 0;
}

.wrap{
    max-width: 1200px;
    margin: 0 auto;
    width: 80%;
}

.blue{
    color: var(--sub-blue);
}


/* ========= animation before ======== */



.fade {
    transform:translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1s, opacity .5s, visibility 1s;
  }

  .fadey {
    transform:translateY(15px);
    opacity: 0;
    visibility: hidden;
    transition: transform 2s, opacity .5s, visibility 1s;
  }

  .fadeleft {
    transform:translateX(-5px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1.5s, opacity .5s, visibility 1s;
  }

  .faderight {
    transform:translateX(5px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1.5s, opacity .5s, visibility 1s;
  }


.fadein {
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s, visibility 1s;
  }

  .line{
    width: 0%;
    visibility: hidden;
    transition: width 2s, opacity 1s, visibility 1s;
  }
 


/* ========= animation after ======== */


  .fadeanime,
  .fadeanimey{
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
  }

  .fadeleftanime,
  .faderightanime
   {
    transform: translateX(0px);
    opacity: 1;
    visibility: visible;
  }


  .fadeinanime {
    opacity: 1;
    visibility: visible;
  }


  .lineanime{
    width: 10%;
    visibility: visible;
  }





/* =============================

header

============================= */



header{
    background: #fff;
    padding: 1vw 0;
    width: 100%;
    position: fixed;
    z-index: 10000000;
}

.header-wrap{
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.header-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav{
    width: 70%;
}


.header-nav-p{
    background: var(--blue);
    color: #fff;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.header-left,
.header-right{
    display: flex;
    width: 50%;
}

.header-left{
    justify-content: start;
}

.header-right{
    justify-content: end;
}





.header-logo{
    width: 20%;
    margin-right: 32px;
    display: flex;
    align-items: center;
}

.header-logo a{
    width: 100%;
    display: block;
}

.header-logo img{
    width: 100%;

}


.header-ul{
    display: flex;
    justify-content:space-between;
    padding-top:10px;
    font-weight: bold;
    color: var(--blue);
}


.header-tel{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    margin-right: 24px;
}

.header-tel-ul,
.tel-ul{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

.header-tel-ul li,
.tel-ul li{
    display: flex;
    align-items: self-start;
}

.header-tel-ul li{
    margin-left: auto;
}

.header-tel-ul li:first-child{
    margin-right: 10px;
    margin-bottom: 6px;
}

.header-tel-ul img,
.tel-ul img{
    width: 30px;
    height: auto;
}

.header-tel p{
    text-align:end;
}

.tel-ul li{
    justify-content: center;
}

.tel-ul p{
    text-align: center;
}

.header-cta{
    width: 40%;
    display: flex;
    align-items: center;
}

.header-cta a{
    width: 100%;
}

.header-cta img{
    width: 100%;
}



/* =============================

top

============================= */

.top{
    padding-top:200px;
    background: url(../img/top.png) no-repeat top /cover;
    height: 800px;
    animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }




.top h1{
    font-size: var(--font-a);
    font-weight: bold;
    color: #fff;
    text-shadow: 4px 2px 5px rgba(0, 0, 0, 0.27);
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideIn {
    0% {
      transform: translateX(180px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
    }
    40%,100% {
      opacity: 1;
    }
  }



/* =============================

service

============================= */



.service{
    background: var(--gray);
    overflow:hidden;
    padding-bottom: 0;
    padding-top: 32px;
}

.service .title{
    padding-bottom: 0;
}

.circulate-img img{
    width: 100%;
    padding-bottom: 120px;
}

.title{
    text-align: center;
    padding-bottom: 100px;
}

.title h2{
    font-size: var(--h2-size);
    color: var(--blue);
    font-weight: bold;
}

.title-border{
    background: var(--sub-blue);
    width: 60px;
    height: 3px;
    display: block;
    margin: 20px auto;
}

.scts01{
    margin-bottom: -150px;
}



.service-content{
    background: #fff;
    padding: 28px 42px 60px;
    width: 80%;
    position: relative;
}

.sct01{
    margin: -70px 0 0;
}

.sct02{
    margin-top: -70px;
}

.service-content:first-child{
    margin-bottom: 100px;
}

.number{
    background: url(../img/01.png) no-repeat left / contain;
    width: 100%;
    height: 150px;
    position: relative;
    top: 0;
    left: -40px;
    z-index: 3;
}

.num02{
    background: url(../img/02.png) no-repeat left / contain;
}

.service-title{
    position: relative;
    z-index: 5;
}

.service-title-a{
    font-size: var(--font-d);
    font-weight: bold;
    color: var(--blue);
}

.service-title-b{
    font-size: var(--font-c);
    font-weight: bold;
}

.service-text{
    padding-top: 48px;
    width: 60%;
}

.service-img{
    width: 50%;
    position: relative;
    margin-left: auto;
    top: -200px;
}

.service-img img{
    width: 100%;
}



/* =============================

works

============================= */

.works{
    background: var(--gray);
    padding-top: 0;
}

.works .title{
    padding-bottom: 0;
}

.works-items{
    display: flex;
    justify-content: space-between;
}

.works-h2{
    width: 10%;
}

.works-h2 img{
    width: 100%;
}

.works-items figure{
    width: 24%;
}

.works-items figure img{
    width: 100%;
}

.works-items figure figcaption{
    text-align: center;
    padding: 24px;
    font-weight: bold;
}

._wc01{
    margin-bottom: 80px;
}

._wc02 .works-h2 {
    width: 20%;
}


/* 
===================

contact

===================
 */


 .contact{
    background: var(--blue);
    color: #fff;
  }
 
  .contact .title h2,
  .contact .title p{
    color: #fff;
  }

 

 .contact-sub{
    color: red;
    text-align: center;
    margin-bottom: 4%;
    font-weight: bold;
 }
 
 
 .form-box{
    width: 70%;
    margin: 0 auto;
 }

 .form-tr td{
    color: var(--color);
 }
 
 
 .td-box{
    display: flex;
    justify-content: space-between;
 }
 
 .td-box li{
    width: 49%;
 }
 
 .form-table{
    width: 100%;
 }
 
 .required{
    background: #fff;
    border-radius: 3px;
    color: var(--blue);
    padding: 6px 8px;
    margin-left: auto;
    margin-right: 16px;
    display: inline-block;
 }
 
 
 .form-tr{
 display: flex;
 margin-bottom: 4%;
 }
 
 .form-tr th{
 width: 30%;
 display: flex;
 align-self: center;
 }
 
 .form-tr td{
    width: 100%;
 }
 
 
 input[type="text"],
 textarea
 {
    background: #fff;
    width: 100%;
    padding: 16px;
    line-height: 30px;
 }
 
 
 .form-check{
    font-weight: bold;
 }
 
 
 .check-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray);
    padding: 0 2% 2%;
 }

 
 input[type="checkbox"]{
    width: 20px;
    height: 20px;
    background: var(--gray);
    vertical-align: sub;
    font-weight: bold;
    position: relative;
 }
 
 
 input[type="checkbox"]:hover {
    cursor:pointer;
  }
 
 
 input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 6px;
    transform: rotate(50deg);
    width: 8px;
    height: 13px;
    border-right: 4px solid #000;
    border-bottom: 4px solid #000;
    content: '';
  }
 
 
 
 .privacy{
    margin: 0 auto 16px;
    text-align: center;
 }

 .contact-privacy{
    text-decoration: underline;
    text-align: center;
    margin: 16px 0 48px;
    display: block;
 }
 
 .submit-btn {
    height: auto;
    color: var(--blue);
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 0 auto;
    background: #fff;
    display: block;
    border-radius: 10px;
    padding: 20px;
 }
 
 .submit-btn-box{
    display: block;
 } 
 
 .attention{
    margin-left: 4%;
 }
 
 label[for]{
    margin-left: 4px;
 }
 
 .attention{
    font-size: var(--font-d);
 }


/* =============================

about

============================= */


.about{
    background: url(../img/footer.png) var(--sub-gray);
    background-repeat:no-repeat;
    background-size: contain;
    background-position: bottom;
    overflow: hidden;
}

.about-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 150px;
}

.about-logo{
    text-align: center;
    padding-bottom: 40px;
}

.about-logo figcaption{
    font-size: var(--font-b);
    font-weight: bold;
}

.about-logo img{
    width: 10%;
}

.about-details{
    text-align: center;
    padding-bottom: 80px;
}

.about-item:not(:last-child){
    margin-bottom: 28px;
}

.about-item:nth-child(2n) dd{
    text-align: left;
    display: table;
    margin: 0 auto;
}

.about-title{
    border-bottom: 1px solid var(--color);
    display: inline-block;
    margin-bottom: 12px;
}

.about-tel{
    margin: 0 auto;
    padding-bottom: 40px;
}

.about-tel p{
    text-align: center;
}

.privacy-link{
    font-weight: bold;
    text-align: center;
}


/* =============================

footer

============================= */

footer{
    background: var(--blue);
    color: #fff;
    font-weight: bold;
    padding: 24px 0;
    text-align: center;
}



/* =============================

other

============================= */



.to_top{
    color: var(--blue);
    width: 5%;
    position: fixed;
    right: 15px;
    bottom: 15px;
    font-family: var(--font-call);
    font-size: var(--font-c);
}

.to_top img{
    width:15px;
}



/* =============================

privacy-page

============================= */

.privacy-policy{
    padding: 200px 0 100px;
}

.privacy-policy h2{
    color: var(--blue);
    font-size: var(--font-c);
    font-weight: bold;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 16px;
}

.intro{
    padding: 20px 0;
}

.subBox{
    padding: 24px 10px;
    text-align: left;
}

.subBox dl:not(:first-child){
    padding: 24px 0 0;
}


.subBox dl dt{
    font-size:clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
    font-weight: bold;
    padding-bottom: 10px;
}

.subBox dl dd{
    padding-left: 1em;
}

/* =============================

thanks-page

============================= */

.thanks{
    height: 100vh;
    text-align: center;
    align-content: center;
}

.thanks-text{
    padding-bottom: 32px;
}

.top-back-a{
    background: var(--blue);
    font-size: var(--font-d);
    font-weight: bold;
    color: #fff;
    padding: 17px;
    border-radius: 6px;
}



/* =============================

confirm-page

============================= */


.confirm-box{
    align-content: center;
}


.confirm-title{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 20px;
    color: var(--blue);
}

.confrim-back-btn{
    background: var(--blue);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.confirm-table{
    width: 100%;
    margin: 24px 0;
}

.confirm-table tr{
    border: 1px solid #f7f8f8;
    width: 100%;
}

.confirm-table th{
    width: 40%;
    padding: 20px;
    background: var(--sub-blue);
}

.confirm-table td{
    width: 70%;
    padding: 20px;
}

.error-title{
    padding-bottom: 24px;
}

.error_messe{
    color: rgb(240, 76, 76);
}

.error_messe:not(:last-child){
    padding-bottom: 8px;
}



.btn-box{
    display: flex;
    justify-content: center;
}

.confrim-submit-btn{
    background: var(--blue);
    padding: 20px 60px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    margin-right: 10px;
}

.confrim-back-btn{
    background: #e2e2e2;
    color: var(--color);
    padding: 20px;
    border-radius: 10px;
}


@media screen and (min-width: 1001px) {
    #confirm-box-wrap {
        padding: 200px 0 100px;
    }
}

@media screen and (max-width: 1000px) {
    #confirm-box-wrap {
        padding: 140px 0 100px;
    }
}

@media screen and (max-width: 800px) {
    .confirm-table tr{
        display: flex;
        flex-direction: column;
    }

    .confirm-table th{
        width: 100%;
    }

    .confirm-table td{
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .btn-box{
        flex-direction: column;
    }

    .confrim-submit-btn,
    .confrim-back-btn{
        text-align: center;
    }

    .confrim-submit-btn{
        margin-right: 0;
        margin-bottom: 10px;
    }
}