@font-face {
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: hiragino-kaku-gothic-pron, sans-serif;
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: hiragino-kaku-gothic-pron, sans-serif;
    font-weight: 600;
    font-style: normal;
}

:root {
    --width: 700px;
    --font: "corporate-logo-ver2", sans-serif;
    --primary-color: #C10016;
}

@media screen and (max-width: 768px) {
    :root {
        --width: 100%;
    }
}

.sp {
    display: block;
}

.sp {
    display: block;
}

@media screen and (max-width: 768px) {
    .sp {
        display: none;
    }
}

img {
    width: 100%;
    vertical-align: bottom;
}

h2 {
    margin: 0;
}

.l-wrapper {
    max-width: initial;
    padding: 0;
}

.recruit2024 {
    margin-bottom: 100px;
    font-family: hiragino-kaku-gothic-pron, sans-serif;
    letter-spacing: 0.06em;
}

@media screen and (max-width: 768px) {
    .recruit2024 {
        margin-bottom: 100px;
    }
}

.mv {
    padding-bottom: 3em;
    background: var(--primary-color);
    background-size: 1051px;
    font-family: var(--font);
    color: #fff;
}

.furniture {
    display: block;
    width: var(--width);
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .furniture {
        position: relative;
        top: 40px;
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .mv {
        padding-bottom: 6em;
        background: var(--primary-color);
        background-size: 95%;
    }
}

.mv-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    justify-content: center;
    align-items: center;
    width: 760px;
    padding: 4em;
    margin-inline: auto;
}

.mv-inner img {
}

@media screen and (max-width: 768px) {
    .mv-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
        width: 100%;
    }

    .logo {
        width: 200px;
        padding: 2em;
    }
}

.title {
    font-size: 60px;
    text-align: center;
    letter-spacing: 3px;
    line-height: 1.2;
}

.title span {
    display: block;
}

.title-first {
    font-size: 50px;
}

.title-end {
    margin-top: 10px;
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 40px;
    }

    .title-first {
        font-size: 35px;
    }

    .title-end {
        font-size: 20px;
    }
}

.contents-section {
    width: var(--width);
    margin: 0 auto 40px;
    padding: 25px;
    background-color: #ebebeb;
    font-size: 17px;
    line-height: 2;
    box-sizing: border-box;
}

.back-section {
    width: 100%;
    color: #707070;
    text-align: center;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .back-section {
        margin: 0 0 2em 0 !important;
    }
}

.back-section p {
    text-align: left;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .contents-section {
        padding: 1em 1.5em;
        font-size: 18px;
        margin: 0 1em 50px 1em;
        width: initial;
    }
}

.sub-title {
    margin-bottom: 1em;
    font-size: 17px;
    text-align: center;
    color: #707070;
}

.sub-title {
    margin-bottom: 2em;
}

.contents-section-border {
    width: var(--width);
    margin: 0 auto;
    border: 5px solid var(--primary-color);
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .contents-section-border {
        width: initial;
        margin: 0 1.5em;
    }
}

.contents-section-border h2 {
    padding: 0.2em 0;
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    text-align: center;
}

.contents-section-border-content {
    position: relative;
    padding: 25px;
    font-size: 14px;
}

.contents-section-2 h3 {
    margin-bottom: 0.5em !important;
}

@media screen and (max-width: 768px) {
    .contents-section-border-content {
        padding: 1em;
    }
}

.contents-section-border-content .image {
    width: 84.3px;
    height: 22.8px;
    margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
    .contents-section-border-content .image {
        width: 100px;
        margin: 0 auto 1em;
    }
}

.contents-section-border-content h3 {
    margin-bottom: 2.9em;
    font-size: 32px;
    font-weight: lighter;
}

@media screen and (max-width: 768px) {
    .contents-section-border-content h3 {
        font-size: 25px;
        margin-bottom: 220px;
        padding: 20px 0.3em;
        text-align: left;
        display: inline-block;
    }

    .center {
        text-align: center;
    }
}

.contents-section-border-content .pic,
.contents-section-border-content .pic2 {
    position: absolute;
    top: 5em;
    right: 2em;
    width: 247px;
    height: 128px;
}

@media screen and (max-width: 486px) {
    .contents-section-border-content .pic2 {
        width: 260px;
        top: 255px !important;
    }
}

@media screen and (max-width: 768px) {
    .contents-section-border-content .pic {
        top: 190px;
        right: 50%;
        transform: translateX(50%);
    }

    .contents-section-border-content .pic2 {
        top: 250px;
        right: 50%;
        transform: translateX(50%);
    }

    .contents-section-border-content p {
        line-height: 2;
        font-size: 14px;
        text-align: left;
        display: inline-block;
    }
}

.contents-section-border-content .pic2 {
    width: 240px;
}

.profile {
    display: grid;
    grid-template-columns: 426px 150px;
    align-items: center;
    gap: 40px;
    margin-bottom: 2em;
}

@media screen and (max-width: 768px) {
    .profile {
        position: relative;
        grid-template-columns: 1fr;
        justify-items: center;
        margin-bottom: 1em;
    }
}

.name {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 33px;
}

.name span {
    width: 128px;
    font-size: 28px;
}

.name p {
    width: 150px;
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .name span {
        font-size: 25px;
        white-space: nowrap;
    }

    .name p {
        font-size: 10px;
    }

    .photo {
        position: absolute;
        width: 150px;
        top: 58px;
    }
}

.desc {
    font-size: 10px;
    margin-top: 1em;
}

@media screen and (max-width: 768px) {
    .desc {
        margin-top: 190px;
        font-size: 10px;
    }
}

.message h4 {
    font-size: 15px;
    text-align: center;
    font-weight: lighter;
}

@media screen and (max-width: 768px) {
    .message h4 {
        font-size: 15px;
        text-align: center;
    }
}

.message p {
    font-size: 13px;
}

.course {
    width: 75%;
    margin: 0 auto;
    border: 16px solid var(--primary-color);
    border-bottom: none;
}

@media screen and (max-width: 768px) {
    .course {
        display: grid;
        grid-auto-flow: row;
        justify-content: center;
        border: none;
        width: var(--width);
    }

    .cation {
        background-color: transparent !important;
        color: #000 !important;
    }
}

.course:first-child {
    margin-bottom: 2em;
}

.course p {
    display: block;
    font-size: 11px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .course p {
        font-size: 9px;
    }
}

.cation {
    position: relative;
    top: -0.7em;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px !important;
}

.back-contents {
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .back-contents {
        margin: 0;
    }
}

.course h2 {
    padding: 20px 2.5em;
    font-size: 29px;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .course h2 {
        font-size: 24px;
        padding: 0 0.5em;
    }
}

@media screen and (max-width: 768px) {
    .line {
        border-left: 15px solid var(--primary-color);
    }

    .cation {
        text-align: left !important;
        margin: 0;
        padding: 5px 0 5px 0.5em;
    }
}

.course ul {
    margin: 0 0 1em 1.5em;
}

@media screen and (max-width: 768px) {
    .course ul {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .text-style-1 {
        font-size: 15px !important;
    }

    .text-style-2 {
        font-size: 25px !important;
    }

    .text-style-3 {
        font-size: 15px !important;
    }

    .contents-section li {
        font-size: 12px;
    }

    .space {
        margin-top: 35px;
    }
}

.text-style-1 {
    font-size: 21px;
}

.text-style-2 {
    font-size: 32px;
    font-weight: 600;
}

.text-style-3 {
    font-size: 19px;
}

/* CTA */
.recruit2023__cta {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
}

.recruit2023__cta__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-block: 25px;
    background-color: rgba(255, 255, 255, 0.8);
}

.recruit2023__cta__list_item {
    width: 280px;
}

.recruit2023__cta__list_item a:hover {
    opacity: .8;
}

@media screen and (max-width: 768px) {
    /* CTA */
    .recruit2023__cta {
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 50;
    }

    .recruit2023__cta ul:after {
        content: none;
    }

    .recruit2023__cta__list {
        display: flex;
        justify-content: center;
        gap: 25px 10px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .recruit2023__cta__list_item {
        text-align: center;
    }
}