@charset "UTF-8";
/* CSS Document */

header {
    height: auto;
}
div.Header.Standard {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
a.Header__LogoLink {
    padding-top: 0.5em;
    width: fit-content;
}
picture.Header__Logo {
    display: block;
}
picture.Header__Logo img {
    width: clamp(180px, 15vw, 220px);
}
a.Header__GroupLogoLink {
    padding-top: 0.5em;
    width: 20%;
    display: flex;
    justify-content: flex-end;
}
picture.Header__GroupLogo {
    display: block;
}
picture.Header__GroupLogo img {
    width: clamp(120px, 10vw, 140px);
}
div.Header__Menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
}
div.Header__Menu ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    list-style: none;
    font-weight: bold;
    font-size: clamp(14px, 1.1vw, 16px);
}
div.Header__Menu ul li {
    position: relative;
    padding: 0.5em 1em;
    box-sizing: border-box;
}
li.Header__Building {
    border-right: solid 1px #ccc;
}
li.Header__Service {
    border-right: solid 1px #ccc;
}
li.Header__Application {
    border-right: solid 1px #ccc;
}
li.Header__Building:hover {
    background-color: #004097;
    border-radius: 5em;
    color: white;
}
li.Header__Service:hover {
    background-color: #004097;
    border-radius: 5em;
    color: white;
}
li.Header__Application:hover {
    background-color: #fff;
    border-radius: 5em;
    color: white;
    outline: solid 2px #004097;
}
li.Header__Recruit:hover {
    background-color: #fff;
    border-radius: 5em;
    color: white;
    outline: solid 2px #004097;
}
li.Header__Replace a {
    color: #0d4087;
}
li.Header__Replace a:hover {
    margin-right: 10px;
}
li.Header__Building ul li:nth-child(1) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Building ul li:nth-child(2) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Building ul li:nth-child(3) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
/* li.Header__Building ul li:nth-child(4) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
} */
li.Header__Service ul li:nth-child(1) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(2) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(3) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(4) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(5) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(6) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Service ul li:nth-child(7) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Application ul li:nth-child(1) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Application ul li:nth-child(2) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Application ul li:nth-child(3) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
li.Header__Recruit ul li:nth-child(1) {
    margin-bottom: 0.5em;
    border-bottom: dashed 1px gray;
    padding-bottom: 0.5em;
}
@media screen and (min-width: 769px) {
    .Header__Menu li > ul {
        display: block;
        position: absolute;
        top: 2.5em;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        width: max-content;
        background-color: white;
        z-index: 3;
        padding: 0.5em 1em;
        box-sizing: border-box;
        border: solid 2px #004097;
        border-radius: 5px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }
    .Header__Menu li:hover > ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .Header__Menu li:focus-within > ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}
@media screen and (max-width: 768px) {
    div.Header__Menu {
        display: none;
    }
}
div.Header__Sp {
    display: none;
}
@media screen and (max-width: 768px) {
    a.Header__GroupLogoLink {
        transition: width 1s ease;
        width: fit-content;
        margin-left: 1em;
    }
    div.Header__Sp {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        position: relative;
        width: 40%;
    }
    .Header__Toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
    .Header__Hamburger {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        display: grid;
        place-items: center;
        cursor: pointer;
        flex: 0 0 auto;
    }
    .Header__Hamburger::before {
        content: "";
        width: 22px;
        height: 2px;
        background: #004097;
        display: block;
        transition: transform .2s, box-shadow .2s;
    }
    .Header__Hamburger::after {
        content: "";
        width: 22px;
        height: 2px;
        background: #004097;
        display: block;
        transition: transform .2s, box-shadow .2s;
    }
    .Header__Hamburger::before {
        box-shadow: 0 11px 0 #004097;
    }
    .Header__Menu--Sp {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 360px);
        background: #fff;
        box-shadow: -10px 0 30px rgba(0,0,0,.12);
        transform: translateX(100%);
        transition: transform .25s;
        z-index: 999;
        overflow-y: auto;
        padding: 72px 16px 16px;
    }
    .Header__Toggle:checked ~ .Header__Menu--Sp {
        transform: translateX(0);
    }
    .Header__Toggle:checked ~ .Header__Hamburger::before {
        transform: translateY(4px) rotate(45deg);
        box-shadow: none;
    }
    .Header__Toggle:checked ~ .Header__Hamburger::after {
        transform: translateY(-4px) rotate(-45deg);
    }
    .Header__Menu--Sp ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .Header__Menu--Sp > ul > li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }
    .Header__Menu--Sp a {
        text-decoration: none;
        color: #111;
        display: block;
        padding: 8px 6px;
        width: fit-content;
    }
    .Header__Accordion {
        margin: 0;
        padding: 0;
    }
    .Header__Accordion summary {
        list-style: none;
        cursor: pointer;
        padding: 8px 6px;
        font-weight: bold;
        position: relative;
        padding-right: 28px;
    }
    .Header__Accordion summary::-webkit-details-marker {
        display: none;
    }
    .Header__Accordion summary::after {
        content: "›";
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: transform .18s ease;
    }
    .Header__Accordion[open] summary::after {
        transform: translateY(-50%) rotate(-90deg);
    }
    .Header__Accordion ul {
        margin: 0;
        padding: 0 0 8px 12px;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .18s ease, transform .18s ease;
        pointer-events: none;
    }
    .Header__Accordion[open] ul {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .Header__Accordion ul li a {
        padding: 8px 6px;
    }
}
.Header__Close {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    z-index: 1000;
}
.Header__Close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #004097;
    transform: translate(-50%, -50%) rotate(45deg);
}
.Header__Close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #004097;
    transform: translate(-50%, -50%) rotate(-45deg);
}