/**Menu*/
.c-menuIcon {
  display: none;
}
html, body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media screen and (max-width: 1024px) {
    nav{
        height: 100vh;
        width: 100%;
        position: fixed;
        right: -100%;
        top: 0;
        transition: all ease 0.4s;
    }
    .c-header h1{
        position: relative;
        z-index: 9999;
    }
    .c-header.active nav{
        right: 0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        align-content: center;
    }
    .c-nav{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        justify-items: center;
        margin: auto;
        gap: 10px;
    }
    .c-nav li{
        margin: auto;
        text-align: center;
        float: unset;
        background: unset;
        width: auto;
        height: auto;
    }
    .c-nav li.n6{
        transform: translateX(6.5px);
    }
    .c-nav li a{
    margin: auto;
    background: #002268;
    text-indent: 0;
    color: #fff;
    width: 150px;
    height: 35px;
    display: flex;
    justify-content: center;
    font-size: 13px;
    align-items: center;
    transition: all ease 0.4s;
    }
    .c-nav li a:hover{
    background: #002268;
    text-shadow: 0px 0px 10px white;
    }
    .c-header.active .header_content{
        width: 100%;
        display: flex !important;
        justify-content: center;
        margin-top: 30px;
    }
    .c-header.active .header_content .header_right{
        display: flex !important;
    }
    .header_right{
        text-align: center;
        width: 100%;
        margin: auto;
        flex-wrap: wrap;
        max-width: 386px;
    }
    .header_right .h6{
        background-position-x: -35px;
        background-image: unset;
        text-indent: initial;
        font-size: 15px;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        padding-top: 2px;
        margin-top: 4px;
    }
  .c-menuIcon {
      display: block;
      height: 30px;
      width: 40px;
      z-index: 1001;
      cursor: pointer;
      margin-left: 25px;
      position: fixed;
      top: 35px;
      right: 20px;
  }

  .c-menuIcon span {
      width: 100%;
      height: 3px;
      background-color: #013567;
      position: absolute;
      left: 0px;
      transition: all 0.2s ease 0s;
  }

  .c-menuIcon span:nth-child(1) {
      top: 0px;
  }

  .c-menuIcon span:nth-child(2) {
      top: 50%;
      transform: translateY(-50%);
  }

  .c-menuIcon span:nth-child(3) {
      bottom: 0px;
  }

  .c-menuIcon.active span:nth-child(1) {
      top: 50%;
      transform: rotate(45deg) translateY(-50%);
  }

  .c-menuIcon.active span:nth-child(2) {
      left: 150%;
      opacity: 0;
  }

  .c-menuIcon.active span:nth-child(3) {
      bottom: 50%;
      transform: rotate(-45deg) translateY(50%);
  }
}
@media screen and (max-width: 768px) {
  .c-menuIcon {
      height: 25px;
      width: 30px;
      overflow: hidden;
      top: 25px;
  }
  .c-menuIcon.active span:nth-child(3){
    
transform: rotate(-43deg) translateY(48%);
  }
  .c-menuIcon.active span:nth-child(1){
    transform: rotate(45deg) translateY(-88%);
}
    .c-header.active .header_content .header_right{
        max-width: 300px;
    }
    
    .c-header.active .header_content .header_right .h2{
        width: 105px;
        height: 28px;
        background-size: contain;
    }
    .c-header.active .header_content .header_right .h3{
        width: 95px;
        height: 26px;
        background-size: contain;
    }
    .c-header.active .header_content .header_right .h4{
        width: 100px;
        height: 28px;
        background-size: contain;
    }
     .c-header.active .header_content .header_right .h5{
        width: 300px;
        height: 28px;
        background-size: contain;
    }
    .header_right .h6{
        font-size: 12px;
    }
}
/**End Menu*/
/**Header*/
@media(max-width: 1024px){
    .c-header{
        display: flex;
        flex-wrap: wrap;
        position: fixed;
        background-color: #fff;
        height: 100px;
        top: 0;
        left: 0;
        width: 100%;
    }
}
@media(max-width: 768px){
    .c-header{
        height: 70px;
    }
    .c-header h1{
        width: auto;
        background-size: contain;
        height: 68px;
    }
}
/**End Header**/
/**Main*/
@media(max-width: 1024px){
    #wrapper{
        background-size: 2px;
    }
    * {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    }

    html, body {
    overflow-x: hidden;
    }

    body {
    color: rgb(17, 17, 17);
    font-weight: bold;
    font-size: 14px;
    line-height: 1.8;
    text-size-adjust: 100%;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
    background: unset;
    }
    a {
    color: currentcolor;
    text-decoration: none;
    transition: all 0.2s ease 0s;
    }
    #top{background: unset;}
    main{
        margin-top: 100px;
    }
    .main_photo{
    background-position-x: -62px;
    }
    .c-sections{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .main_left,
    .main_right{
        width: 100% !important;
        order: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 720px;
        margin: 40px auto !important;
        padding: 0 20px !important;
    }
    #top .main_right .mr1,
    #top .main_right .mr2,
    #top .main_right .mr3{
      float: unset;
    }
    .main_left{
        order: 2;
        max-width: 300px;
        margin: auto;
        margin: 0px auto !important;
    }

    .under_content, .under_content2{
        max-width: 100%;
        margin: auto;
        font-size: 13px;
    }

    .c-info{
        display: flex;
        gap: 4%;
        width: 100%;
        justify-content: space-between;
        padding-inline-start: 0;
    }
    .c-info:after{
        display: none;
    }
    .c-info .left img,
    .c-info .right img{
        width: 100%;
    }
    .c-info .left{
        float: unset;
        width: 67%;
    }
    .c-info .right{
        width: 35%;
        float: unset;
    }
    .c-listImg{
        display: flex;
        flex-wrap: wrap;
        gap: 30px 3%;
    }
    .c-listImg li{
        width: 31% !important;
        margin: 0 !important;
    }
    .c-listImg .fac2_txt{
        width: 100%;
        font-size: 11px;
    }
    .c-listImg li img{
        width: 100%;
        display: block;
    }

    .c-title{
        width: 100%;
        height: 30px;
    }
    .c-title img{
        width: 100%;
        display: block;
        height: 100%;
        object-fit: cover;
        object-position: left;
    }
}
@media(max-width: 768px){
      main{
        margin-top: 70px;
    }
    .ml_box{
        overflow: auto;
        padding: 0;
    }
    .main_photo{
        background-size: cover;
        height: 260px;
        background-position-x: -50px;
    }
    .c-info{
        flex-wrap: wrap;
    }
    .c-info .left,
    .c-info .right{
        width: 100%;
        order: 2;
    }
    .c-info .right{
        order: 1;
        padding: 0 15%;
    }
    .c-listImg{
        gap: 30px 4%;
    }
    .c-listImg li{
        width: 48% !important;
    }
    .form{
        overflow: auto;
        width: 100%;
    }
    .form table{
        min-width: 600px;
        width: auto !important;
        font-size: 12px !important;
    }
     .form table th,
     .form table td{
         font-size: 12px !important;
         font-weight: bold;
     }
    .form .contact_section th{
        width:20%;
    }
    .form .contact_section td{
        width:70%;
    }
    form button{
        margin-left: 0 !important;
        margin-top: 20px !important;
    }

    .c-iframe{
        height: 250px;
        width: 100%;
    }
}
@media(max-width: 400px){
    .main_photo{
        background: url(../image/mainphoto-sp.png) no-repeat center;
        background-size: cover;
        background-position-x: 89%;
    }
}
/**Main*/
/**Footer*/
.footer{
    width: 100%;
    max-width: 1000px;
        margin: auto;
}
@media(max-width: 1024px){
    footer{
        padding: 40px 20px;
        height: fit-content;
        position: relative;
        z-index: 1;
        transition: all ease 0.4s;
    }
    footer.active{
        z-index: -1;
    }
    footer .f6{
        font-size: 12px;
        width: 100%;
        text-align:center;
        background-position-x: center;
        text-indent: unset;
        background: unset;
        letter-spacing: 1px;
    }
    footer .f5{
        margin: 0;
        height: 65px;
        width: 75px;
        background-size: contain;
    }
    .footer{
        padding-bottom: 20px;
        padding-top: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
        width: 100%;
        max-width: 450px;
        margin: auto;
        transform: translateY(35px);
    }
}
@media(max-width: 768px){
     footer .f5{
        margin: 10px 0;
        height: 85px;
        width: 95px;
    }
    .footer{
        padding-bottom: 0;
        gap: 0 10px;
        max-width: 335px;
        transform: translateY(10px);
    }
}
/**End Footer*/
/*****---------------------------------------------****/
@media(max-width: 1024px){
    #info .info_box{
        background: unset;
        width: 100%;
    }
    #info .info_box figure{
        text-align: center;
        display: block;
        width: 100%;
    }
    #info .info_box figure img{
        max-width: 100%;
    }

}