@charset "utf-8";

@import url("base.css");

/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/

.notoSan {
    font-family: "Noto Sans JP", sans-serif;
}

.roboto {
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
}

body.fixed {
    overflow: hidden;
}

.inner {
    max-width: 1260px;
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
}

/*VALIDATE CONTACT*/
.error {
    display: block;
    font-size: 14px;
    color: #E70F41;
}

label.error {
    margin-top: 10px;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0F5174;
    padding: 16px 0 16px;
    z-index: 99;
}

#header .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#header .headerBar .logo {
    width: 235px;
}

#header .headerBar .logo a {
    display: block;
}

#header .headerBar .logo img {
    width: 100%;
}

#header .mainMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: calc(100% - 280px);
    transform: translateY(-1px);
}

#header .mainMenu .menuList {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    width: calc(100% - 329px);
    margin-right: 41px;
}

#header .mainMenu .menuList li:not(:last-child) {
    margin-right: 40px;
}

#header .mainMenu .menuList li a {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

#header .mainMenu .contactHeader {
    width: 250px;
}

#header .mainMenu .contactHeader a {
    display: block;
    background: #B10D23;
    border-radius: 70px;
    padding: 17px 31px 17px 31px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1.6px;
    border: 1px solid transparent;
}

#header .mainMenu .contactHeader a .txtContactHeader {
    position: relative;
    padding-left: 37px;
}

#header .mainMenu .contactHeader a .txtContactHeader:before {
    content: "";
    position: absolute;
    background: url('../images/common/icon-mail-header.svg') no-repeat;
    background-size: 100%;
    width: 26px;
    height: 20px;
    top: 56%;
    transform: translateY(-50%);
    left: 1px;
}

#fixH {
    height: 92px;
}

/* CONTENT */
#content {
    width: 100%;
}

/* FOOTER */
#footer {
    width: 100%;
    background-color: #0F5174;
    padding: 38px 0 31px;
}

#footer .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#footer .ftLogo {
    width: 235px;
}

#footer .ftLogo a {
    display: block;
}

#footer .ftLogo img {
    width: 100%;
    aspect-ratio: 298/71;
}

#footer .ftMenu {
    width: calc(100% - 260px);
    transform: translateY(-1px);
}

#footer .ftMenu .menuList {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    margin-bottom: 32px;
}

#footer .ftMenu .menuList li:not(:last-child) {
    margin-right: 40px;
}

#footer .ftMenu .menuList li a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

#footer .ftMenu #copyright {
    color: #fff;
    font-size: 14px;
    text-align: right;
}

@media (max-width: 1150px) and (min-width: 769px) {
    #header .headerBar .logo {
        width: clamp(180px, 20.4vw, 235px);
    }

    #header .mainMenu {
        width: calc(100% - clamp(193px, 24.4vw, 280px));
    }

    #header .mainMenu .menuList {
        margin-right: clamp(15px, 3.5vw, 41px);
        width: calc(100% - clamp(185px, 28.6vw, 329px));
    }

    #header .mainMenu .menuList li:not(:last-child) {
        margin-right: clamp(18px, 3.4vw, 40px);
    }

    #header .mainMenu .menuList li a {
        font-size: clamp(14px, 1.4vw, 16px);
    }

    #header .mainMenu .contactHeader {
        width: clamp(170px, 21.7vw, 250px);
    }

    #header .mainMenu .contactHeader a {
        font-size: clamp(14px, 1.4vw, 16px);
        letter-spacing: 1px;
        padding: clamp(10px, 1.4vw, 17px) clamp(14px, 2.6vw, 31px);
    }

    #header .mainMenu .contactHeader a .txtContactHeader {
        padding-left: clamp(30px, 3.2vw, 37px);
    }

    #header .mainMenu .contactHeader a .txtContactHeader:before {
        width: clamp(20px, 2.2vw, 26px);
        height: clamp(14px, 1.7vw, 20px);
    }
}

@media (max-width: 950px) and (min-width: 769px) {
    #header .mainMenu {
        width: calc(100% - clamp(193px, 22.4vw, 280px));
    }

    #header .mainMenu .menuList {
        width: calc(100% - clamp(185px, 24.6vw, 329px));
        margin-right: 2.5vw;
    }

    #header .mainMenu .menuList li:not(:last-child) {
        margin-right: 2.5vw;
    }

    #header .mainMenu .contactHeader a {
        padding: 1.3vw 2vw;
    }
}

/* SHOW HIDE PC SP */
@media (min-width: 769px) {
    .sp {
        display: none;
    }

    .hover:hover {
        opacity: 0.6;
    }

    #header .mainMenu {
        display: flex !important;
        height: auto !important;
        padding: 0 !important;
    }

    #header .mainMenu .menuList li a:hover,
    #footer .ftMenu .menuList li a:hover {
        color: #ffff00;
    }

    #header .mainMenu .contactHeader a:hover {
        background: #ffffff;
        color: #B10D23;
        border-color: #B10D23;
    }

    #header .mainMenu .contactHeader a:hover .txtContactHeader:before {
        background-image: url('../images/common/icon-mail-hover.svg');
    }
}

/* STYLE MOBILE */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .inner {
        width: 100%;
        padding: 0 4%;
    }

    #header {
        padding: 14px 0;
    }

    #header .headerBar {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        z-index: 2;
    }

    #header .headerBar .logo {
        width: 39.5%;
        max-width: 200px;
        transform: translateY(0);
    }

    #header .headerBar .logo img {
        aspect-ratio: 136 / 32;
    }

    #header .mainMenu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #0F5174;
        padding: clamp(108px, 16.2vh, 150px) 0 70px;
        overflow-y: auto;
    }

    #header .mainMenu .menuList {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 50px;
    }

    #header .mainMenu .menuList li:not(:last-child) {
        margin: 0 0 48px;
    }

    #header .mainMenu .menuList li a {
        font-size: clamp(16px, 4.2vw, 22px);
    }

    #header .mainMenu .contactHeader {
        width: clamp(216px, 57.6vw, 250px);
        margin: 0 auto;
    }

    #header .mainMenu .contactHeader a {
        font-size: clamp(16px, 4.2vw, 20px);
        padding: 9px 31px 10px 31px;
    }

    #header .mainMenu .contactHeader a .txtContactHeader {
        padding-left: clamp(24px, 6.5vw, 30px);
    }

    #header .mainMenu .contactHeader a .txtContactHeader:before {
        width: clamp(20px, 5.3vw, 24px);
        height: clamp(15px, 4vw, 18px);
        top: 54%;
        left: -1px;
    }

    /* MENU */
    .hamburger {
        display: block;
        width: 32px;
        height: 22px;
        z-index: 9;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: #ffffff;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        border-radius: 1px;
    }

    .hamburger span:nth-child(1) {
        margin-bottom: 8px;
    }

    .hamburger span:nth-child(2) {
        opacity: 1
    }

    .hamburger span:nth-child(3) {
        margin-top: 8px;
    }

    .hamburger.open span:nth-child(1) {
        margin-bottom: -2px;
        -webkit-transform: rotate(35deg);
        -moz-transform: rotate(35deg);
        transform: rotate(35deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        margin-top: -2px;
        -webkit-transform: rotate(-35deg);
        -moz-transform: rotate(-35deg);
        transform: rotate(-35deg);
    }

    /* footer */
    #footer {
        padding: 30px 0 30px;
    }

    #footer .inner {
        justify-content: center;
    }

    #footer .ftLogo {
        max-width: 298px;
        width: 65%;
        margin-bottom: 30px;
    }

    #footer .ftMenu {
        width: 100%;
        text-align: center;
    }

    #footer .ftMenu .menuList {
        display: inline-block;
        margin-bottom: 30px;
    }

    #footer .ftMenu .menuList li:not(:last-child) {
        margin: 0 0 15px;
    }

    #footer .ftMenu .menuList li a {
        font-size: clamp(14px, 3.7vw, 18px);
    }

    #footer .ftMenu #copyright {
        text-align: center;
        font-size: clamp(12px, 3.1vw, 15px);
    }

}