@charset "utf-8";

/* ===================================================================
HEADER
=================================================================== */

/* HAEDER BASIC
--------------------*/

header {
    height: 60px !important;

}

.h-inner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0 0 0 20px;
    background: #FFF;
    box-shadow: 0 2px 5px rgba(0 0 0 / .1);
    z-index: 200;
}

.h-layout {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HAEDER RIGHT
--------------------*/

.h-right {
    width: 150px;
}

.h-logo {
    height: 60px;
    padding: 10px 0;
}

.h-logo a {
    display: block;
    transition: opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.h-logo a:hover {
    opacity: .7;
}

.h-logo a img {
    width: auto;
    height: 40px;
}

/* HAEDER LEFT
--------------------*/

.h-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: calc(100% - 150px);
}

/* HAEDER LEFT LINK
--------------------*/

.h-link-list > ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.h-link-list > ul > li {
   margin: 0 35px 0 0; 
}

.h-link-list > ul > li a {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.h-link-list > ul > li a:before {
    content: '';
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translate(-50%, 0);
    width: 0;
    height: 2px;
    background: #2B3B56;
    opacity: 0;
    transition: width .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.h-link-list > ul > li a:hover:before {
    width: 100%;
    opacity: 1;
}

/* HAEDER LEFT BUTTON
--------------------*/

.h-btn-list > ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* HAEDER LEFT BUTTON TEL
--------------------*/

.h-tel a {
    position: relative;
    display: block;
    height: 60px;
    padding: 10px 5px 10px 70px;
    color: #FFF;
    background: #D96F6F;
}

.h-tel a:not([href]) {
    cursor: default;
}

.h-tel a[href] {
    transition: opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.h-tel a[href]:hover {
    opacity: .7;
}

.h-tel a:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 15px;
    width: 40px;
    height: 40px;
    background: url(../../images/common/header/normal/tel.svg) 50% 50% / contain no-repeat, transparent;
}

.h-tel-num {
    font-size: 20px;
    line-height: calc(24 / 20);
}

.h-tel-detail {
    font-size: 12px;
    line-height: calc(14 / 12);
}

/* HAEDER LEFT BUTTON CONTACT
--------------------*/

.h-contact a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 10px 20px 10px 70px;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    background: #000;
    transition: opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

header.s-pagetype[class*=_t-n] .h-contact a { background: #AF4D4D; }
header.s-pagetype[class*=_t-s] .h-contact a { background: #144399; }
header.s-pagetype[class*=_t-r] .h-contact a { background: #0F958A; }

.h-contact a:hover {
    opacity: .7;
}

.h-contact a:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 15px;
    width: 40px;
    height: 40px;
}

header.s-pagetype[class*=_t-n] .h-contact a:before { background: url(../../images/common/header/normal/contact.svg) 50% 50% / contain no-repeat, transparent; }
header.s-pagetype[class*=_t-s] .h-contact a:before { background: url(../../images/common/header/security/contact.svg) 50% 50% / contain no-repeat, transparent; }
header.s-pagetype[class*=_t-r] .h-contact a:before { background: url(../../images/common/header/request/contact.svg) 50% 50% / contain no-repeat, transparent; }

/* ===================================================================
FOOTER
=================================================================== */

/* FOOTER BASIC
--------------------*/

footer {
    margin: auto 0 0;
    color: #FFF;
}

/* FOOTER UPPER
--------------------*/

.f-upper a {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: rgba(43 59 86 / .8);
    transition: background-color .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.f-upper a:hover {
    background: rgba(43 59 86 / .65);
}

.f-upper a span {
    position: relative;
    font-size: 14px;
    font-weight: 700;
}

.f-upper a span i[class^=fa-] {
    position: absolute;
    top: 50%;
    transform: translate(0 , -50%);
    right: calc(100% + 15px);
    font-size: 10px;
}

/* FOOTER LOWER
--------------------*/

.f-lower {
    padding: 30px 0 10px;
    background: #2B3B56;
}

.f-l-link-list {
    margin: 0 0 30px;
}

.f-l-link-list > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-l-link-list > ul > li {
    margin: 0 calc(35 / 900 * 100%) 0 0;
}

.f-l-link-list > ul > li:last-of-type {
    flex: none;
    margin: 0;
}

.f-l-link-list > ul > li a {
    position: relative;
    font-weight: 700;
    white-space: nowrap;
}

.f-l-link-list > ul > li a:before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translate(-50%, 0);
    width: 0;
    height: 1px;
    background: #FFF;
    opacity: 0;
    transition: width .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.f-l-link-list > ul > li a:hover:before {
    width: 100%;
    opacity: 1;
}

.f-l-tel-title,
.f-l-tel-detail {
    font-size: 12px;
}

.f-l-tel-detail {
    text-align: center;
}

.f-l-tel-num {
    position: relative;
    padding: 0 0 0 30px;
    font-size: 24px;
}

.f-l-tel-num i[class^=fa-] {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
}

.f-copy {
    display: flex;
    justify-content: center;
}

.f-copy small {
    font-size: 12px;
}

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

    /* ===================================================================
    HEADER
    =================================================================== */

    /* HAEDER BASIC
    --------------------*/

    header {
        height: 50px !important;
    }

    .h-inner {
        height: 50px;
        padding: 0 0 0 10px;
    }

    .h-layout {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* HAEDER RIGHT
    --------------------*/

    .h-right {
        width: 125px;
    }

    .h-logo {
        height: 50px;
        padding: 7.5px 0;
    }

    .h-logo a img {
        height: 35px;
    }

    /* HAEDER LEFT
    --------------------*/

    .h-left {
        position: fixed;
        top: 50px;
        right: 0;
        transform: translate(100%, 0);
        display: block;
        width: 100%;
        max-width: 230px;
        background: #FFF;
        transition: transform .8s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    }

    .h-left.show {
        transform: translate(0, 0);
        box-shadow: -3px 3px 6px rgba(0 0 0 / .16);
    }

    /* HAEDER LEFT LINK
    --------------------*/

    .h-link-list > ul {
        flex-direction: column;
        justify-content: center;
        padding: 35px 0;
    }

    .h-link-list > ul > li {
        margin: 0 0 25px; 
    }

    .h-link-list > ul > li:last-of-type {
        margin: 0;
    }

    .h-link-list > ul > li a {
        font-size: 15px;
    }

    /* HAEDER LEFT BUTTON
    --------------------*/

    .h-btn-list > ul {
        display: block;
    }

    /* HAEDER LEFT BUTTON CONTACT
    --------------------*/

    .h-contact a {
        font-size: 16px;
    }

    header.s-pagetype[class*=_t-n] .h-contact a:before { left: 15px; }
    header.s-pagetype[class*=_t-s] .h-contact a:before { left: 35px; }
    header.s-pagetype[class*=_t-r] .h-contact a:before { left: 35px; }

    /* HEADER MENU
    --------------------*/

    .h-menu {
        position: relative;
        width: 50px;
        height: 50px;
        cursor: pointer;
        transition: opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    }

    .h-menu:hover {
        opacity: .7;
    }

    header.s-pagetype[class*=_t-n] .h-menu { background: #2B3B56; }
    header.s-pagetype[class*=_t-s] .h-menu { background: #144399; }
    header.s-pagetype[class*=_t-r] .h-menu { background: #0F958A; }

    .h-menu span {
        position: absolute;
        left: 50%;
        width: 20px;
        height: 2px;
        background: #FFF;
        border-radius: 2px;
        transition: transform .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    }

    .h-menu span:nth-of-type(1) {
        top: 17px;
        transform: translate(-50%, 0);
    }

    .h-menu span:nth-of-type(2) {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .h-menu span:nth-of-type(2):before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
        width: 20px;
        height: 2px;
        background: #FFF;
        border-radius: 2px;
        opacity: 0;
        transition: opacity .5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    }

    .h-menu span:nth-of-type(3) {
        bottom: 17px;
        transform: translate(-50%, 0);
    }

    .h-menu.active span:nth-of-type(1) {
        opacity: 0;
        transform: translate(-50%, 0) rotate(45deg);
    }

    .h-menu.active span:nth-of-type(2) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .h-menu.active span:nth-of-type(2):before {
        opacity: 1;
    }

    .h-menu.active span:nth-of-type(3) {
        opacity: 0;
        transform: translate(-50%, 0) rotate(45deg);
    }

    /* ===================================================================
    FOOTER
    =================================================================== */

    /* FOOTER LOWER
    --------------------*/

    .f-lower {
        padding: 40px 0;
    }

    .f-l-link-list {
        margin: 0 0 40px;
    }

    .f-l-link-list > ul {
        display: block;
    }

    .f-l-link-list > ul > li {
        margin: 0 0 30px !important;
        text-align: center;
    }

    .f-l-link-list > ul > li:nth-last-of-type(2) {
        margin: 0 0 40px !important;
    }

    .f-l-link-list > ul > li:last-of-type {
        width: 200px;
        margin: 0 auto !important;
    }

}