/*
    Theme Name:Ja Bridge
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&display=swap');

*{
    box-sizing: border-box;
    line-height: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    font-family: inherit;
}
html,body,div,h1,h2,h3,h4,h5,h6,ul,ol,li,p,dl,dt,dd,figure{
    padding: 0;
    margin: 0;
}
html{
    font-size: 10px;
}
body{
    font-family: 'yu-gothic-pr6n' ,"Noto Sans JP", sans-serif;
    font-weight: 700;
    line-height: 1.75;
    color: #403d3c;
    font-size: 1.6rem;
}
ol,ul,li{
    list-style: none;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
img.right{
    object-position: right;
}
button,
a{
    opacity: 1;
    transition: all .2s ease-out;
    color: inherit;
    text-decoration: none;
}
button:hover,
a:hover{
    opacity: .6;
}
textarea,
button,
input{
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: none;
}
table{
    border-collapse: collapse;
}



/* common */

.flex{
    display: flex;
    flex-wrap: wrap;
}

._pc{
    display: block;
}
._sp{
    display: none;
}
@media screen and (max-width: 820px){
    ._pc{
        display: none;
    }
    ._sp{
        display: block;
    }
}

.font-f{
    font-family: 'futura-pt', sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.01em;
}
.font-f-b{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: -0.01em;
}
.font-r{
    font-family: 'a-otf-ryumin-pr6n', serif;
    font-weight: 300;
    font-style: normal;
}
.font-r-b{
    font-family: 'a-otf-ryumin-pr6n', serif;
    font-weight: 700;
    font-style: normal;
}
.font-n-h{
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-style: normal;
}

#wrapper{
    position: relative;
    padding: 60px 0 0;
}

header{
    border-bottom: 2px solid #1e96fa;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    height: 60px;
    font-size: 20px;
    background: #fff;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
nav,
nav ul{
    height: 100%;
}
nav ul{
    align-items: center;
    justify-content: space-around;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}
nav ul a:after{
    content: "";
    display: inline-block;
    width: 11px;
    height: 15px;
    background: url(./images/link_icon.svg) center / contain no-repeat;
    margin: 0 0 0 10px;
    vertical-align: 0;
}

.footer-contact{
    max-width: 1200px;
    width: 90%;
    margin: 260px auto 0;
    position: relative;
    padding: 0 0 62px 65px;
}
.footer-contact .border:before,
.footer-contact .border:after{
    content: "";
    display: block;
    background: #1e96fa;
    position: absolute;
    z-index: 1;
}
.footer-contact .border:before{
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
}
.footer-contact .border:after{
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
}
.footer-contact-wrap{
    gap: 50px 65px;
    width: 100%;
    display: grid;
    grid-template-columns: 52% calc(48% - 65px);
    grid-template-rows: auto auto auto;
}
.footer-contact-wrap h2{
    font-size: clamp(34px, 4.5vw, 65px);
    padding: .75em 0 0;
    line-height: 1.5;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.footer-contact-wrap p{
    font-size: clamp( 13px, 1.75vw ,20px);
    line-height: 1.9;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.footer-contact-link{
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}
.footer-contact-image{
    grid-column: 2 / 3;
    grid-row: 1 / 4;
}
footer{
    margin: 255px 0 0;
    padding: 65px 5% 80px;
    text-align: center;
    border-top: 2px solid #1e96fa;
    font-family: 'yu-gothic-pr6n', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(16px, 2.5vw ,20px);
}
footer .contact-link{
    margin: 25px 0 0 0;
}

.pagetop{
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-out;
}
.pagetop.show{
    opacity: 1;
    pointer-events: auto;
}
.pagetop a{
    display: block;
    text-indent: -9999px;
    width: 154px;
    height: 154px;
    background: url(./images/btn_top.svg) center / contain no-repeat;
}
.contact-btn{
    border: 1px solid #1e96fa;
    display:block;
    position: relative;
    max-width: 390px;
    border-radius: 10px;
    height: 57px;
    line-height: 57px;
    padding: 0 0 0 75px;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 500;
    background: url(./images/icon_arrow_b.svg) left 24px center / 16.7px auto no-repeat;
    font-size: 17px;
}
.contact-btn:after{
    content: "contact";
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
}

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

    #wrapper{
        padding: 0;
    }
    header{
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        height: initial;
        padding: 20px;
        border: none;
        z-index: 3000;
        background: none;
    }
    header.bg-white {
        background-color: #fff;
    }
    .menu_trg{
        display: block;
        width: 40px;
        height: 30px;
        margin: 0;
        position: relative;
        cursor: pointer;
        z-index: 3000;
    }
    .menu_trg > span{
        display: block;
        height: 5px;
        width: 40px;
        position: absolute;
        background: rgba(255,255,255,0.6);
        right: 0;
        transition: all .2s linear;
        opacity: 1;
    }
    body.menu_open .menu_trg > span,
    body.contact .menu_trg > span,
    body.concept .menu_trg > span,
    .menu_trg.black > span{
        background: #403d3c;
    }
    .menu_trg > span:nth-of-type(1){
        top: 0;
    }
    .menu_trg > span:nth-of-type(2){
        top: 12.5px;
    }
    .menu_trg > span:nth-of-type(3){
        top: 25px;
    }
    body.menu_open .menu_trg > span{
        width: 40px;
    }
    body.menu_open .menu_trg > span:nth-of-type(1){
        top: 10px;
        transform: translate(0, 0) rotate(30deg);
    }
    body.menu_open .menu_trg > span:nth-of-type(2){
        opacity: 0;
    }
    body.menu_open .menu_trg > span:nth-of-type(3){
        top: 10px;
        transform: translate(0, 0) rotate(-30deg);
    }
    nav{
        position: fixed;
        width: 80vw;
        left: -80vw;
        border-right: 2px solid #1e96fa;
        top: 0;
        bottom: 0;
        background: #fff;
        transition: left .2s ease-out;
        z-index: 2000;
        padding: 60px 0 0;
    }
    nav ul{
        justify-content: left;
        gap: 10px;
        height: auto;
    }
    nav ul > li{
        width: 100%;
        font-size: 15px;
    }
    nav ul > li a{
        display: block;
        padding: 10px;
    }
    body.menu_open nav{
        left: 0;
    }
    .overlay{
        opacity: 0;
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.6);
        transition: all .3s ease-out;
    }
    body.menu_open .overlay{
        opacity: 1;
        pointer-events: auto;
    }
    .footer-contact{
        padding: 0 0 20px 20px;
        margin: 100px auto 0;
    }
    .footer-contact-wrap{
        gap: 30px;
        grid-template-columns: 1fr 40%;
        grid-template-rows: 40px 1fr 95px;
    }
    .footer-contact-wrap h2{
        padding: 0;
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        font-size: 34px;
        text-align: center;
    }
    .footer-contact-wrap p{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        font-size: 15px;
    }
    .footer-contact-image {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .footer-contact-link {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
    footer{
        margin: 100px 0 0;
        padding: 30px 5%;
    }
    footer .contact-link{
        margin: 0;
    }
    .pagetop a{
        display: block;
        text-indent: -9999px;
        width: 60px;
        height: 60px;
        background: url(./images/btn_top.svg) center / contain no-repeat;
    }
    .contact-btn{
        width: 100%;
        max-width: unset;
        border-radius: 4px;
    }
}
