:root {
    --new_recruit_green1: rgb(0, 151, 75);
    --new_recruit_green2: #cfc;
    --new_recruit_red1: rgb(200, 0, 50);
    --new_recruit_red2: #fcc;
}

#page_new_recruit {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    & .header {
        position: sticky;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 20px 40px;
        background-color: #fff;
        font-family: 'Noto Sans JP', sans-serif;
        z-index: 999999998;
        & > a {
            display: block;
            width: 200px;
            & img {
                display: block;
                width: 100%;
            }
        }
        & input {
            display: none;
        }
        & ul {
            display: flex;
            align-items: center;
            gap: 20px;
            & a {
                display: block;
            }
            & li:last-of-type a {
                padding: 0.2em 0.5em;
                background-color: var(--new_recruit_green1);
                color: #fff;
            }
        }
    }
    & .top1 {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        & img {
            display: block;
            width: 100%;
        }
        & h1 {
            position: absolute;
            top: 0;
            left: 0;
            padding: 20px;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 32px;
            font-weight: bold;
            line-height: 100%;
        }
        & p {
            position: absolute;
            bottom: -32px;
            padding: 16px 32px;
            background-color: var(--new_recruit_green1);
            color: #fff;
            font-size: 32px;
            font-weight: bold;
            line-height: 100%;
            letter-spacing: 0.2em;
        }
    }
    & .top2 {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 32px;
            font-weight: bold;
            letter-spacing: 0.2em;
        }
        & p {
            line-height: 40px;
            writing-mode: vertical-rl;
        }
        & div {
            align-self: stretch;
            position: relative;
            & img {
                display: block;
                width: 100%;
                height: 200px;
                object-fit: cover;
            }
            &::after {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                content: "";
                display: block;
                background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
            }
        }
    }
    & #page_new_recruit_movie {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & video {
            width: 650px;
            border: solid 1px #ccc;
        }
        & p {
            padding: 20px;
        }
    }
    & #page_new_recruit_interview {
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & > div:nth-of-type(odd) {
            display: flex;
            & div:first-of-type {
                display: flex;
                justify-content: end;
                width: 50%;
                padding: 40px;
                background: linear-gradient(90deg, var(--new_recruit_red2) 0%, var(--new_recruit_red2) 80%, transparent 80%, transparent 100%);
                & img {
                    width: 300px;
                    height: 300px;
                    object-fit: cover;
                }
            }
            & div:last-of-type {
                width: 50%;
                padding: 40px 200px 40px 0;
                & h3 {
                    width: fit-content;
                    margin-bottom: 20px;
                    padding: 0.5em 1em;
                    background-color: var(--new_recruit_red1);
                    color: #fff;
                    font-family: 'Noto Sans JP', sans-serif;
                    font-weight: bold;
                }
                & p {
                    text-align: justify;
                }
            }
        }
        & > div:nth-of-type(even) {
            display: flex;
            flex-direction: row-reverse;
            & div:first-of-type {
                display: flex;
                width: 50%;
                padding: 40px;
                background: linear-gradient(-90deg, var(--new_recruit_green2) 0%, var(--new_recruit_green2) 80%, transparent 80%, transparent 100%);
                & img {
                    width: 300px;
                    height: 300px;
                    object-fit: cover;
                }
            }
            & div:last-of-type {
                width: 50%;
                padding: 40px 0 40px 200px;
                & h3 {
                    width: fit-content;
                    margin-bottom: 20px;
                    padding: 0.5em 1em;
                    background-color: var(--new_recruit_green1);
                    color: #fff;
                    font-family: 'Noto Sans JP', sans-serif;
                    font-weight: bold;
                }
                & p {
                    text-align: justify;
                }
            }
        }
    }
    & #page_new_recruit_style {
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & div {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 0;
            &:nth-of-type(odd) {
                background-color: var(--new_recruit_red2);
                & h3 {
                    background-color: var(--new_recruit_red1);
                }
                & h4 {
                    color: var(--new_recruit_red1);
                }
    
            }
            &:nth-of-type(even) {
                background-color: var(--new_recruit_green2);
                & h3 {
                    background-color: var(--new_recruit_green1);
                }
                & h4 {
                    color: var(--new_recruit_green1);
                }
            }
            & h3 {
                width: fit-content;
                margin-bottom: 40px;
                padding: 0.5em 1em;
                color: #fff;
                font-family: 'Noto Sans JP', sans-serif;
                font-weight: bold;
            }
            & ol {
                & li {
                    width: 400px;
                    background-color: #fff;
                    & h4 {
                        padding: 0.5em 1em 0 1em;
                        font-family: 'Noto Sans JP', sans-serif;
                        font-weight: bold;
                    }
                    & p {
                        padding: 0 1em 0.5em 2.2em;
                        text-align: justify;
                    }
                    & img {
                        display: block;
                        width: 100%;
                        aspect-ratio: 4 / 3;
                        object-fit: cover;
                    }
                    &:nth-of-type(odd) {
                        margin-right: 350px;
                    }
                    &:nth-of-type(even) {
                        margin-left: 350px;
                    }
                }
            }
        }
    }
    & #page_new_recruit_overview {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & th {
            padding: 20px;
            text-align: right;
            vertical-align: top;
        }
        & td {
            padding: 20px;
        }
    }
    & #page_new_recruit_faq {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        & h2 {
            padding-bottom: 20px;
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & details {
            width: 500px;
            padding: 20px;
            border-top: solid 1px #ccc;
            &[open] {
                & summary::after {
                    content: "-";
                }
            }
            & summary {
                display: flex;
                justify-content: space-between;
                font-family: 'Noto Sans JP', sans-serif;
                &::after {
                    content: "+";
                    display: block;
                    margin-left: 1em;
                }
                & > span {
                    display: flex;
                    gap: 1em;
                    text-align: justify;
                    & span {
                        display: block;
                        color: var(--new_recruit_green1);
                        font-weight: bold;
                    }
                }
            }
            & p {
                display: flex;
                gap: 1em;
                margin-top: 20px;
                text-align: justify;
                & span {
                    display: block;
                    color: var(--new_recruit_red1);
                    font-family: 'Noto Sans JP', sans-serif;
                    font-weight: bold;
                }
            }
            &:last-of-type {
                border-bottom: solid 1px #ccc;
            }
        }
    }
    & .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        & h2 {
            text-align: center;
            & span {
                display: block;
                font-family: 'Noto Sans JP', sans-serif;
                font-size: 32px;
                font-weight: bold;
                letter-spacing: 0.2em;
            }
        }
        & img {
            width: 100%;
            object-fit: cover;
            margin: 20px 0;
            padding: 0 200px;
        }
    }
    & .footer {
        border-top: solid 1px #ccc;
        font-family: 'Noto Sans JP', sans-serif;
        & address {
            & div {
                display: flex;
                justify-content: center;
                gap: 20px;
            }
            & div:first-of-type {
                padding-top: 20px;
                & a:first-of-type {
                    display: block;
                    width: 200px;
                    & img {
                        display: block;
                        width: 100%;
                    }
                }
                & a:last-of-type {
                    display: flex;
                    align-items: center;
                    font-size: 32px;
                    &::before {
                        content: "";
                        display: block;
                        width: 1em;
                        height: 1em;
                        background-image: url("freedial.gif");
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                    }
                }
            }
            & > p {
                text-align: center;
            }
        }
        & small {
            display: block;
            padding-top: 10px;
            text-align: center;
        }
    }
}