@charset "UTF-8";

html{
    font-size: 62.5%;
    /*基本のブラウザの文字サイズは16px、その62.5%は10px*/
    box-sizing:border-box;
    }
    *,*::before,*::after{box-sizing:inherit;}


body{
    font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", 'Noto Serif JP', "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.hide{
    overflow: hidden;
}
img{
    width: 100%;
    vertical-align: bottom;
}
a{
    transition: 0.7s;
    text-decoration: none;
}
a:hover{
    opacity: 0.6;
}
.flex{
    display: flex;
}
.flex_pc{
    display: flex;
}
.pc_none{
    display: none;
}
.inner{
    width: 80vw;
    margin: 0 auto;
    max-width: 900px;
}
.inner > h2 > a{
  color: #000000;
}
.row-r{
    flex-direction: row-reverse;
}


@media screen and (max-width:768px){

    .row-r{
        flex-direction: row;
    }
    .flex_pc{
        display: block;
    }
    .inner{
        width: 90%;
        margin: 0 auto;
    }
    .pc_none{
        display: initial;
    }
    .inner > h2 > a{
      font-size: 16px;
    }
}    

@media screen and (max-width:375px){
  .inner > h2 > a{
    font-size: 14px;
  }

}
/* header */
header{
    height: 70px;
    display: flex;
    position: fixed;
    z-index: 10;
    background-color: #FFFFFF;
    width: 100%;
    justify-content: flex-end;
    padding: 0 0 0 50px;
    box-shadow: 1px 1px 5px #adadad;
}
header a{
    display: block;
    width: 135px;
    line-height: 70px;
    text-align: center;
    font-size: 18px;
    color: black;
}
header .logo{
    position: absolute;
    left: 50px;
}
header a img{
    margin-top: 18px;
    display: block;
}
#bg{
    display: none;
}
body header #bg.bgin{
    display: block;
    height: 100vh;
    width: 100vw;
    margin-left: -50vw;
    background-color: #00000059;
}

@media screen and (max-width:768px){
    header{
        height: 50px;
        margin-top: 0;
    }
    #close{
        height: 70px;
        display: block;
        position: fixed;
        z-index: 10;
        background-color: #fffffff1;
        width: 100%;
        justify-content: flex-end;
        padding: 15vw 0 0 20px;
        box-shadow: 1px 1px 5px #adadad;
        transform: translateX(900px);
        height:100vh;
        transition: 0.7s;
    }
    #close.in{
        transform: translateX(100px);
        transition: 0.5s;
    }
    header a{
        width: 180px;
        line-height: 50px;
        text-align: left;
        font-size: 16px;
    }
    header .logo{
        position: fixed;
        left: 30px;
        margin-top: 0;
    }
    header a:nth-child(2){
        text-align: left;
    }
    header a:nth-child(4){
        text-align: left;
    }
    header a img{
        margin-top: 8px;
    }
    .hum{
        position: absolute;
        right: 15px;
        height: 32px;
        width: 32px;
        top: 10px;
        background: url(../img/open.png) no-repeat;
        background-size: contain;
        z-index: 100;
    }
    body header .inn{
        background: url(../img/close.png) no-repeat;
    }
}


/* mv */
h1{
    color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    line-height: 50vw;
    font-size: 4.5vw;
    text-shadow: 3px 3px 10px #000000;
}
h2{
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}

.mv{
    position: relative;
    height: 50vw;
    overflow: hidden;
}

/* sec1 */
.sec1{
    background-color: #daf0f8;
    padding: 50px 0;
}
.sec1 .inner{
    justify-content: space-between;
}
.sec1 .inner .images{
    width: 140px;
    margin: 0 auto;
}
.sec1 .left , .sec1 .right{
    width: 38vw;
    max-width: 400px;
}
.sec1 p{
    font-size: 16px;
}
.sec1 .btn{
    width: 100px;
    margin: 10px auto;
    background: #065DAC;
    padding: 5px 5px;
    text-align: center;
    box-shadow: 3px 3px 5px #bfbfbf;
    transition: 0.4s;
}
.sec1 .btn:hover{
    transform: scale(0.95);
}
.sec1 .btn a{
    color: #FFFFFF;
}
.sec1 .btn a:hover{
    opacity: 1;
}



@media screen and (max-width:768px){
    .sec1{
        background-color: #daf0f8;
        padding: 30px 0;
    }
    h1{
        color: #FFFFFF;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        text-align: center;
        line-height: 50vw;
        font-size: 6vw;
        text-shadow: 3px 3px 10px #000000;
    }
    h2{
        text-align: center;
        font-size: 24px;
        margin: 10px 0;
    }
    
    .sec1 .left , .sec1 .right{
       width: 100%;
       max-width: 100%;
    }
    .mv{
        margin-top: 50px;
    }
    .sec1 .inner .images{
        width: 110px;
        margin: 0 auto;
    }
}



/* sec2 */
.sec2{
    background: url(../img/bg1.svg) repeat;
    background-size: cover;
    padding: 50px 0;
}
.sec2 .inner .flex_pc{
    padding: 30px 0;
    justify-content: space-between;
}
.sec2 .inner .flex_pc .txt{
    width: 38vw;
    max-width: 400px;
}
.sec2 .inner .flex_pc .images{
    width: 38vw;
    max-width: 400px;
}

.sec2 .inner .flex_pc .lead{
    font-size: 16px;
}



@media screen and (max-width:768px){
    .sec2{
        padding: 0;
    }
    .sec2 .inner .flex_pc .txt{
        width: 100%;
        max-width: 100%;
    }
    .sec2 .inner .flex_pc .images{
        width: 100%;
        max-width: 100%;
    }
    .sec2 .inner .flex_pc .lead{
        padding-bottom: 15px;
    }
    .sec2 .inner .row-r{
        padding-top: 0;
    }
}


/* sec3 */
.sec3{
    padding: 50px 0;
    background-color: #daf0f8;
}

.sec3 p{
    font-size: 20px;
    text-align: center;
}
.sec3 a{
    display: block;
    width: 250px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 24px;
    margin: 30px auto 0;
    color: #FFFFFF;
    border: #065DAC 1px solid;
    background-color: #065DAC;
}
.sec3 a:hover{
    color: #065DAC;
    border: #065DAC 1px solid;
    background-color: #FFFFFF;
    opacity: 1;
}



@media screen and (max-width:768px){
    .sec3{
        padding: 30px 0;
    }
    .sec3 p{
        font-size: 16px;
        text-align: center;
    }
    .sec3 a{
        display: block;
        width: 200px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        font-size: 20px;
        margin: 30px auto 0;
        color: #FFFFFF;
        border: #065DAC 1px solid;
        background-color: #065DAC;
    }
    .sec3 a:hover{
        color: #065DAC;
        border: #065DAC 1px solid;
        background-color: #FFFFFF;
        opacity: 1;
    }
    
}


/* kenko */
.kenko{
  margin: 40px auto;
  font-size: 18px;
}

  .kenko > div{
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
@media screen and (max-width:768px){

  .kenko{
    margin: 40px auto;
    font-size: 16px;
  }
}

/* footer */
footer{
    background-color: #20B9E0;
    padding: 30px;
}
footer div{
    display: flex;
    width: 100%;
    justify-content: center;
}
footer div a{
    display: block;
    width: 180px;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    color: #FFFFFF;
}
footer p{
    text-align: center;
    font-size: 14px;
    padding-top: 20px;
    color: #FFFFFF;
    font-weight: bold;
}


@media screen and (max-width:768px){
    footer{
        background-color: #20B9E0;
        padding: 15px 5px;
    }
    footer div{
        display: flex;
        width: 100%;
        justify-content: center;
    }
    footer div a{
        display: block;
        width: 120px;
        line-height: 20px;
        text-align: center;
        font-size: 12px;
        color: #FFFFFF;
    }
    footer p{
        text-align: center;
        font-size: 14px;
        padding-top: 20px;
        color: #FFFFFF;
        font-weight: bold;
    }
    
}




/*==================
contact.html
====================*/
.kasou_mv{
  height: 30vw;
  overflow: hidden;
  position: relative;
}

.kasou_mv h1{
  line-height: 35vw;
  font-size: 7vw;
}

.con_sec1{
    padding: 70px 0;
    background-color: #daf0f8;
  }
  .con_sec1 .inner{
    width: 1000px;
  }
  .con_sec1 h2{
    position: relative;
    font-size: 3.2rem;
    line-height: 2.7rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 3rem;
  }
  .con_sec1 h2::after{
    content: url(../images/shape.png);
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -3rem;
  }
  
  .con_sec1 form label{
    width: 250px;
    font-size: 1.6rem;
    line-height: 2.7rem;
    padding-top: 1rem;
    padding-left: 30px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
  }
  .con_sec1 form .col-form-label{
    display: flex;
    position: relative;
    padding: 0;
  }
  .con_sec1 form .col-form-label span{
  margin-top: 1rem;
  }
  .con_sec1 form label span{
    width: 70px;
    height: 28px;
    font-size: 1.4rem;
    line-height: 2.7rem;
    text-align: center;
    background-color: #000000;
    color: #FFFFFF;
    display: block;
  }
  .con_sec1 form .col-sm-9{
    margin-left: 25px;
  }
  .con_sec1 form .col-sm-10{
    margin-left: 25px;
  }
  .con_sec1 form .txt{
    margin: 1.2rem 1rem 1.6rem 0;
    font-size: 1.6rem;
    line-height: 2.7rem;
  }
  .con_sec1 form .txt1{
    margin: 1.2rem 0.6rem;
    font-size: 1.6rem;
    line-height: 2.7rem;
  }
  .con_sec1 form .form-row{
    padding: 30px 0 0;
  }
  .con_sec1 form input{
    border: none;
    height: 48px;
    padding-left: 2rem;
  }
  .con_sec1 form textarea{
    border: none;
    height: 150px;
    padding-left: 2rem;
    padding-top: 12px;
  }
  .con_sec1 form .attention{
    font-size: 1.6rem;
    line-height: 2.7rem;
    text-align: center;
  }
  .con_sec1 form a{
    color: #17b0ff;
    position: relative;
  }
  .con_sec1 form a::after{
    content: url(../images/ico-link.png);
    position: absolute;
    right: -14px;
  }
  .con_sec1 form .form-control{
    width: 520px;
  }
  .con_sec1 form .btn{
    color: #065DAC;
    width: 300px;
    height: 70px;
    border: #065DAC 1px solid;
    background: #FFFFFF;
    margin: 40px auto 0;
    display: block;
    font-size: 16px;
    font-weight: bold;
    transition: 0.7s;
  }
  .con_sec1 form .btn:hover{
    color: #FFFFFF;
    width: 300px;
    height: 70px;
    border: #065DAC 1px solid;
    background: #065DAC;
    margin: 40px auto 0;
    display: block;
    font-size: 16px;
    font-weight: bold;
  }
  .menu .flex{
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10vw;
  }
  .menu .flex a{
    display: block;
    width: 30%;
    margin-top: 3vw;
  }
  .companys{
    margin-top: 10vw;
  }
  .companys .flex{
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5vw;
  }
  .companys .flex a{
    display: block;
    width: 15%;
    margin-top: 3vw;
    border: 1px solid #d4d4d4;
  }
  .work .sec2 .lead{
    margin: 0 auto;
    width: 70%;
    font-size: 16px;
  }
  .work .pp {
    margin: 80px auto;
  }
  .sec2 .leads{
    font-size: 16px;
  }
  .about h2{
    margin-top: 8vw;
  }
  .about .sec2{
    padding-top: 0;
  }
  .about th{
    width: 15vw;
    padding-right: 5vw;
    text-align: left;
  }
  .about td{
    width: 50vw;
  }
  .accident .sec2 {
    width: 100%;
  }
  .accident .sec2 .inner {
    width: 80%;
    margin: 0 auto;
  }
  .accident .sec2 .contacts {
    width: 100%;
    background: #eeeeee8a;
    margin-top: 30px;
  }
  .accident .sec2 .contacts .flex {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
  }
  .accident .sec2 .contacts > a {
    background-color: #065DAC;
    color: #FFF;
    line-height: 2;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    display: block;
  }
  .accident .sec2 .contacts .flex {
    margin-top: 20px;
    padding: 10px 10px 20px;
    border-bottom: #000000 1px solid;
  }
  .accident .sec2 .contacts .flex a {
    line-height: 2;
    font-size: 20px;
    font-weight: bold;
    color: #000;
  }
  @media screen and (max-width:768px){
    .accident .sec2 {
      padding: 40px 0;
  }
    .accident .sec2 .contacts .flex {
      display: flex;
      justify-content: space-between;
      font-size: 16px;
    }
    .accident .sec2 .contacts > a {
      background-color: #065DAC;
      font-size: 16px;
    }
    .accident .sec2 .contacts .flex {
      margin-top: 16px;
      padding: 10px;
      border-bottom: #000000 1px solid;
    }
    .accident .sec2 .contacts .flex a {
      line-height: 2;
      font-size: 16px;
    }
    .about .sec2{
      padding-bottom: 50px;
    }
    .about th{
      width: 50%;
      padding-right: 5vw;
      text-align: left;
      display: block;
      margin-top: 3vw;
    }
    .about td{
      width: 100%;
      display: block;
    }
    .companys .flex a{
      width: 30%;
    }
    .work .sec2 .lead{
      width: 100%;
      font-size: 14px;
    }
    .work .sec2 .leads{
      font-size: 14px;
    }
    .work .pp {
      margin: 60px auto;
    }
  .menu .flex{
    justify-content: space-around;
  }
  .menu .flex a{
    display: block;
    width: 45%;
    margin-top: 3vw;
  }
    .kasou_mv{
      margin-top: 50px;
    }
    
    .kasou_mv h1{
      margin-top: -2.5vw;
    }
    
  .con_sec1{
    padding: 60px 0;
  }
  .con_sec1 .inner{
    width: 90%;
  }
  .con_sec1 h2{
    position: relative;
    font-size: 2.2rem;
    line-height: 2.7rem;
    margin-bottom: 3rem;
  }
  
  .con_sec1 form label{
    width: 250px;
    font-size: 1.4rem;
    line-height: 2.7rem;
    letter-spacing: 0.05em;
    padding-top: 1rem;
    display: flex;
    justify-content: initial;
  }
  .con_sec1 form .col-form-label{
    display: flex;
    position: relative;
    padding: 0;
    width: 100%;
  }
  .con_sec1 form .col-form-label span{
  margin-top: 0;
  }
  .con_sec1 form label span{
    width: 43px;
    height: 26px;
    font-size: 1rem;
    margin-left: 1rem;
  }
  .con_sec1 form .col-sm-9{
    margin-left: 0;
    margin-top: 10px;
  }
  .con_sec1 form .col-sm-10{
    margin-left: 0;
    margin-top: 10px;
  }
  .con_sec1 form .txt{
    margin: 1.2rem 1rem 1.6rem 0;
    font-size: 1.6rem;
    line-height: 2.7rem;
    letter-spacing: 0.05em;
  }
  .con_sec1 form .txt1{
    margin: 1.2rem 0.6rem;
    font-size: 1.6rem;
    line-height: 2.7rem;
    letter-spacing: 0.05em;
  }
  .con_sec1 form .form-row{
    padding: 15px 0;
  }
  .con_sec1 form input{
    border: none;
    height: 48px;
    padding-left: 2rem;
  }
  .con_sec1 form .kome{
    position: relative;
    bottom: 0;
    font-size: 1.2rem;
    line-height: 2.7rem;
    letter-spacing: 0.05em;
  }
  .con_sec1 form #file-upload-button{
    border: none;
    width: 165px;
    height: 48px;
    padding-left: 0;
  }
  .con_sec1 form .file{
    padding-left: 0;
  }
  .con_sec1 form .attention{
    font-size: 1.4rem;
    line-height: 2.7rem;
    letter-spacing: 0.05em;
    text-align: center;
  }
  .con_sec1 form a{
    color: #17b0ff;
  }
  .con_sec1 form .form-control{
    width: 100%;
  }
  .con_sec1 form .form-control1{
    width: 85px;
  }
  .con_sec1 form .form-control2{
    width: 185px;
  }
  .con_sec1 form .form-control3{
    width: 100%;
  }
  .con_sec1 form .btn{
    width: 270px;
    height: 55px;
    margin: 40px auto 0;
    display: block;
    transition: 0.4s;
  }
  .con_sec1 form .btn:hover{
    color: #FFFFFF;
    width: 270px;
    height: 55px;
    margin: 40px auto 0;
    display: block;
  }
  .con_sec1 form .rows{
    padding-bottom: 0;
  }
  .con_sec1 form p{
    width: 100%;
  }
  }
  
.info{
  margin: 20px 0;
}
.info__title{
  text-align: center;
  font-size: 24px;
  margin: 0 0 10px;
  font-weight: bold;
}
.info__day{
  margin-left: 20%;
  font-size: 16px;
  font-weight: bold;
}
.info__txt{
  font-size: 16px;
  margin-left: 3%;
}
@media screen and (max-width:768px){

  .info{
    margin: 20px 0;
  }
  .info__title{
    text-align: center;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: bold;
  }
  .info__day{
    margin-left: 5%;
    font-size: 14px;
    min-width: 105px;
  }
  .info__txt{
    font-size: 12px;
    margin-left: 20px;
    margin-right: 5%;
  }
}
.keisan_logo{
  margin: 30px auto 0;
  width: 200px;
}

@media screen and (max-width:768px){
.keisan_logo{
  margin: 30px auto 0;
  width: 150px;
}
}

/*このクラスは必須なので全部入れる*/
.huwa {
    opacity: 0;
    transition: all .7s ease;
  }
  
  /*Javascriptでスライドした時にこのクラスが入り、アニメーションが発生*/
  .huwa.show {
    opacity: 1;
    transform: none;
  }
  
  /*左から右に出てくる*/
  .huwa--lr {
    transform: translate(-100px, 0);
  }
  
  /*右から左に出てくる*/ 
  .huwa--rl {
    transform: translate(100px, 0);
  }
  
  /*下から上に出てくる*/ 
  .huwa--up {
    transform: translate(0, 50px);
  }
   
  .huwa--up1 {
    transform: translate(0, 70px);
  }
   
  .huwa--up2 {
    transform: translate(0, 90px);
  }
      
   /*上から下に出てくる*/ 
  .huwa--down {
    transform: translate(0, -100px);
  }
   
   /*縮小状態から出てくる*/ 
  .huwa--scaleUp {
    transform: scale(.5);
  }
   
   /*拡大状態から出てくる*/ 
  .huwa--scaleDown {
    transform: scale(1.2);
  }
   
  /*回りながら出てくる（右）*/ 
  .huwa--rotateL {
    transform: rotate(180deg);
  }
   
  /*回りながら出てくる（左）*/
  .huwa--rotateR {
    transform: rotate(-180deg);
  }