@charset "UTF-8";

body {

    font-family: "Hiragino Kaku Gothic ProN", sans-serif,
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo;
    background-color: #fff;
    color: #011d0e;
    font-size: 14px;
    line-height: 1.5;
}

header img {
    height: 50px;
}

.flex {
    width: 73%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .flex {
    margin: 18px auto;
}

nav ul {
    width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav li {
    font-size: 18px;
    color: #212121;
}

nav a {
    display: block;
}

h2 {
    padding-top: 60px;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
}

h2 span {
    font-size: 14px;
    color: #0071bc;
    display: block;
    padding-bottom: 30px;
}

#companyprofile {
    text-align: center;
}

#companyprofile img {
    width: 73%;
}

dl {
    width: 73%;
    margin: 0 auto;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    text-align: start;
    padding-top: 10px;
}

dt {
    width: 30%;
    padding: 20px 50px;
    background-color: #0071bc;
    color: #fff;
    border-bottom: #fff 1px solid;
}

dd {
    width: 70%;
    min-height: 62px;
    padding: 20px;
    border-top: #0071bc 1px solid;
    border-right: #0071bc 1px solid;
}

.nopad {
    padding: 8px 20px;
}

.nopad:last-child {
    border-bottom: #0071bc 1px solid;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    color: #082234;
    padding-bottom: 20px;
}

#access p {
    padding: 10px 0px 80px 0px;
}

#access .wrap {
    width: 45%;
}

iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

footer .wrap {
    border: none;
    margin: 95px 0px 85px;
}

footer {
    background-image: url(img/bg_footer.jpg);
    background-size: cover;
    height: 385px;
}

footer .flex {
    align-items: start;
}

footer h4 {
    border: #0071bc 2px solid;
    border-radius: 37px;
    width: fit-content;
    padding: 12px 25px;
}

.tell {
    font-size: 30px;
    padding: 22px 0px 20px;
    line-height: 30px;
}

.inner img {
    width: 28px;
}

.inner {
    display: flex;
    justify-content: start;
    align-items: center;
}

.contact {
    margin-top: 107px;
}

.contact p {
    font-size: 18px;
    color: #000;
    padding-bottom: 18px;
}

.contact a {
    font-size: 24px;
    border: #0071bc 2px solid;
    padding: 28px 70px 28px 33px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    vertical-align: middle;
    text-decoration: none;
    overflow: hidden;
    color: #000;
}

.contact a span {
    position: relative;
    letter-spacing: 0.1em;
}

.contact a:hover {
    color: #fff;
}

.contact a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 130px;
    height: 130px;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-80%) translateY(-25px);
    transform: translateX(-80%) translateY(-25px);
    border-radius: 48%;
    background: #0071bc;
}

.contact a:hover:before {
    width: 450px;
    height: 450px;
    -webkit-transform: translateX(-1%) translateY(-175px);
    transform: translateX(-1%) translateY(-175px);
}

.arrow {
    position: relative;
}

.arrow::before {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 280px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #0071bc;
    border-right: 2px solid #0071bc;
    transform: rotate(45deg);
}

#copyright {
    text-align: end;
    background-color: #1b5d88;
    height: 80px;
}

#copyright img {
    height: 22px;
    margin: 28px 14% 0px 0px;
}

@media screen and (max-width:900px) {
    #global-nav ul {
        display: block;
    }

    #global-nav li {
        padding: 15px;
        margin: 15px;
    }

    #global-nav li::first-letter {
        font-weight: bold;
        font-size: 24px;
        color: #0071bc;
    }

    #global-nav li:hover {
        border-bottom: #0071bc 2px solid;
    }

    .menu-trigger {
        width: 50px;
        height: 50px;
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 2;
        outline: none;
    }

    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 50%;
        width: 32px;
        height: 3px;
        background-color: #000;
        transform: translate(-50%, -50%);
    }

    .menu-trigger span:nth-of-type(1) {
        top: 15px;
    }

    .menu-trigger span:nth-of-type(2) {
        top: 23px;
    }

    .menu-trigger span:nth-of-type(3) {
        top: 31px;
    }

    .menu-trigger.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    #global-nav {
        position: fixed;
        z-index: 999;
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 95);
        transition: all 0.6s;
    }

    #global-nav.panelactive {
        top: 0;
        z-index: 1;
    }

    #global-nav ul {
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    #companyprofile img {
        width: 80%;
    }

    .flex,
    dl {
        display: block;
        width: 80%;
    }

    dt,
    dd {
        width: 100%;
        padding: 10px 30px;
        border: none;
        min-height: 40px;
    }

    .wrap,
    #access .wrap {
        width: 100%;
    }

    footer {
        height: fit-content;
    }

    footer .wrap {
        margin: 0px;
        padding: 20px 0px;
    }

    .contact {
        margin-top: 20px;
    }

    .contact a {
        margin-bottom: 30px;
    }
}

@media screen and (max-width:599px) {
    header img {
        height: 35px;
    }

    header .flex {
        margin: 18px 10px;
    }

    .menu-trigger {
        top: 15px;
        right: 15px;
    }

    .tell {
        font-size: 20px;
        padding: 10px 0px;
    }

    .contact p {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .contact a {
        font-size: 18px;
        padding: 20px 5% 20px 10%;
    }

    #copyright img {
        height: 15px;
        margin: 18px 14% 0px 0px;
    }

    #copyright {
        text-align: end;
        height: 50px;
    }
}