html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 70px;
}

/* header */
.recruit-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

.recruit-header__inner {
    width: clamp(0px, calc(100% - 40px), 1180px);
    margin: auto;
    min-height: clamp(60px, 6.37vw, 87px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2.71vw, 37px);
}

.recruit-logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.17vw, 16px);
    text-decoration: none;
    flex-shrink: 0;
}

.recruit-logo img {
    width: clamp(120px, 16.98vw, 232px);
    height: auto;
    display: block;
}

.recruit-nav {
    margin-left: auto;
}

.recruit-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.78vw, 38px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.recruit-nav a {
    color: #3A3A3A;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: .3s;
    white-space: nowrap;
    font-family: "ABeeZee", sans-serif;
}

.recruit-nav a:hover {
    color: #4CBCBB;
}

.recruit-entry-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 124px;
    height: 39px;
    border-radius: 999px;
    background: #4CBCBB;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: .3s;
    flex-shrink: 0;
}

.recruit-entry-btn:hover {
    background: #2cb7ba;
}

.recruit-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: clamp(26px, 2.49vw, 34px);
    cursor: pointer;
}

.recruit-menu-btn span {
    display: block;
    height: 2px;
    background: #4CBCBB;
    margin: clamp(4px, 0.51vw, 7px) 0;
    border-radius: 999px;
}

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

    .recruit-header__inner {
        min-height: 55px;
    }

    .recruit-nav,
    .recruit-entry-btn {
        display: none;
    }

    .recruit-menu-btn {
        display: block;
    }

    .recruit-logo img {
        width: 135px;
    }
}

.recruit-sp-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .3s;
}

.recruit-sp-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.recruit-sp-menu-inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.recruit-sp-menu-close {
    position: absolute;
    top: 13px;
    right: 20px;
    border: none;
    background: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    color: #4CBCBB;
}

.recruit-sp-logo img {
    width: 225px;
    height: auto;
    display: block;
}

.recruit-sp-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.recruit-sp-nav li+li {
    margin-top: 24px;
}

.recruit-sp-nav a {
    color: #3A3A3A;
    text-decoration: none;
    font-size: 20px;
    font-family: "ABeeZee", sans-serif;
}

.recruit-sp-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 40px;
    border-radius: 999px;
    background: #4CBCBB;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (min-width: 981px) {
    .recruit-sp-menu {
        display: none;
    }
}

/* section1 */
.blog-inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto;
}

.blog-head-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(40px, 10.25vw, 140px);
    align-items: end;
    margin-bottom: clamp(2px, 0.37vw, 5px);
}

.blog-title {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 7.32vw, 100px);
    line-height: 1;
    color: #BFD1C6;
    margin: 0;
}

.blog-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: clamp(4px, 0.73vw, 10px);
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.73vw, 10px);
    margin-bottom: clamp(48px, 7.9vw, 108px);
    padding-left: clamp(4px, 0.73vw, 10px);
}

.blog-dot {
    width: clamp(6px, 0.88vw, 12px);
    height: clamp(6px, 0.88vw, 12px);
    background: #006E7C;
    border-radius: 50%;
}

.blog-meta-text {
    font-size: clamp(14px, 1.46vw, 20px);
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

@media screen and (max-width: 819px) {
    .blog-head-wrap {
        grid-template-columns: 1fr;
        row-gap: 12px;
        align-items: start;
    }

    .blog-title {
        font-size: clamp(48px, 12vw, 72px);
    }

    .blog-desc {
        max-width: none;
    }


    /* 見出しブロックだけ制御 */
    .blog-inner:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* 中の h2 / desc を同階層にする */
    .blog-inner:first-of-type .blog-head-wrap {
        display: contents;
    }

    /* ▼ 並び順を作る */
    .blog-inner:first-of-type .blog-title {
        order: 1;
    }

    .blog-inner:first-of-type .blog-meta {
        order: 2;
        margin-bottom: 0;
    }

    .blog-inner:first-of-type .blog-desc {
        order: 3;
    }

    /* ▼ それ以外は全部下に送る */
    .blog-inner:first-of-type .blog-category-hint,
    .blog-inner:first-of-type .blog-category {
        order: 10;
    }
}




/* section2 */
.contact-split__inner {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr clamp(420px, 42.5vw, 580px);
    column-gap: clamp(20px, 2.6vw, 36px);
    align-items: start;
    padding-bottom: 90px;
}

.contact-lead__title img {
    display: block;
    width: 100%;
    max-width: clamp(360px, 37vw, 505px);
    height: auto;
}

.contact-lead__text {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: clamp(14px, 1.46vw, 20px) 0 clamp(22px, 2.2vw, 30px);
}

.contact-lead__note {
    margin: 0 0 clamp(14px, 1.46vw, 20px);
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    letter-spacing: -0.05em;
}

.contact-lead__note p {
    margin: 0 0 clamp(7px, 0.73vw, 10px);
}

.u-red {
    color: #FF1300;
    font-weight: 700;
}

/* ボタン */
.contact-lead__btn {
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6px, 0.73vw, 8px) clamp(28px, 3.07vw, 42px);
    min-height: clamp(32px, 2.93vw, 40px);
    background: #FF8F86;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px;
    transition: opacity .2s ease;
}

.contact-lead__btn:hover {
    opacity: .85;
}


/* =========================
   Contact Form 7 
========================= */
.contact-form-area {
    background: #F9F9F9;
    border-radius: 5px;
    padding: clamp(20px, 2.2vw, 30px) clamp(24px, 2.56vw, 35px);
}

.contact-form-area .wpcf7 {
    margin: 0;
}

.contact-form-area label {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000;
    display: block;
    margin-bottom: clamp(14px, 1.46vw, 20px);
    line-height: 1.5;
}

/* .contact-form-area label.is-company {
    margin-bottom: clamp(4px, 0.37vw, 5px);
} */

.contact-form-area .required {
    color: #FF8F86;
    margin-left: 0px;
    font-size: 16px;
}

.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area select,
.contact-form-area textarea {
    width: 100%;
    height: 44px;
    padding: clamp(8px, 0.88vw, 10px) clamp(10px, 0.88vw, 12px);
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 16px;
    background: #fff;
}

.contact-form-area textarea {
    height: clamp(120px, 11.7vw, 160px);
    resize: vertical;
}

.contact-form-area select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
}

.contact-form-area .wpcf7-radio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form-area .wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.88vw, 12px);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: clamp(7px, 0.73vw, 10px);
}

.contact-form-area .privacy {
    font-size: 16px;
}

.contact-form-area .privacy label {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.44vw, 6px);
}

.contact-form-area input[type="submit"] {
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(14px, 1.46vw, 20px);
    width: clamp(140px, 13.2vw, 180px);
    height: clamp(34px, 3.07vw, 42px);
    background: #006E7C;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

/* 会社名下の注意文 */
.contact-form-note {
    margin: 0 0 clamp(14px, 1.46vw, 20px);
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.contact-form-note a {
    color: #0090FF;
    text-decoration: underline;
    font-weight: 400;
}

.contact-form-note a:hover {
    opacity: 0.8;
}

.form-label {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: clamp(10px, 1.1vw, 15px);
}

.wpcf7-list-item {
    margin: 0 !important;
}


.contact-form-area input[type="submit"]:hover {
    opacity: 0.85;
}

.wpcf7-response-output {
    display: none;
}

@media (max-width: 819px) {
    .lower-layer_section {
        padding: 0;
    }

    .contact-split__inner {
        grid-template-columns: 1fr;
        row-gap: 22px;
        margin-top: 57px;
    }

    .contact-form-area__placeholder {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .contact-form-area {
        padding: 20px;
    }

    .contact-form-area .wpcf7-radio {
        grid-template-columns: 1fr;
    }
}

/* 確認画面ボタン */
.wpcf7 form .btn p {
    margin: 0;
}

.wpcf7 form .btn {
    text-align: center;
}

#confirm-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 30px 0 0;
    padding: 16px 0;
    background-color: #006E7C;
    color: #fff;
    font-size: clamp(16px, 1.32vw, 18px);
    font-weight: 400;
    text-align: center;
    border: none;
    border-radius: clamp(3px, 0.59vw, 8px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    opacity: 0.8;
}

.confirm-btn:active {
    transform: translateY(2px);
}

/* 確認画面 */
#confirm-area .wrap {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

#confirm-area .wrap p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
}

#confirm-area .wrap div {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    word-break: break-word;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
}

#confirm-area .btn {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

#back-btn {
    width: 180px;
    height: 42px;
    background: #ccc;
    color: #000;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#confirm-area input[type="submit"] {
    width: 180px;
    height: 42px;
    background: #006E7C;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0;
}

#back-btn:hover,
#confirm-area input[type="submit"]:hover {
    opacity: 0.85;
}

#back-btn:active,
#confirm-area input[type="submit"]:active {
    transform: translateY(2px);
}

#confirm-area .btn p {
    display: contents;
}

.privacy a {
    color: #0090FF;
    text-decoration: underline;
    font-weight: 400;
    padding-left: 10px;
}

@media (max-width: 768px) {
    #confirm-area .wrap {
        grid-template-columns: 1fr;
    }

    #confirm-area .btn {
        flex-direction: column;
        align-items: center;
    }

    #confirm-area .btn {
        gap: 0;
    }

    .contact-lead.is-hidden-confirm {
        display: none;
    }
}


/* footer */
.recruit-footer {
    position: relative;
    margin-top: clamp(40px, 8.13vw, 111px);
    padding: clamp(40px, 4.54vw, 62px) 0 clamp(16px, 1.61vw, 22px);
    background: #111827;
    overflow: hidden;
}

.recruit-footer__inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.recruit-footer__company {
    flex: 1;
    max-width: 400px;
}

.recruit-footer__title {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.05vw, 28px);
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
}

.recruit-footer__info {
    margin-top: clamp(20px, 2.20vw, 30px);
}

.recruit-footer__info p {
    margin: 0 0 clamp(8px, 0.73vw, 10px);
    color: #D4D4D4;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
}

.recruit-footer__message {
    margin-top: clamp(35px, 4.39vw, 60px);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    background: linear-gradient(90deg,
            #14BAA6 0%,
            #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.recruit-footer__entry {
    max-width: 400px;
    padding: clamp(24px, 2.93vw, 40px) clamp(24px, 2.93vw, 40px) clamp(24px, 2.42vw, 33px);
    border-radius: clamp(6px, 0.73vw, 10px);
    background: rgba(255, 255, 255, 0.1);
}

.recruit-footer__entry-title {
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 1.76vw, 24px);
    font-weight: bold;
    line-height: 1;
    font-family: "Inter", sans-serif;
}

.recruit-footer__entry-text {
    margin-top: clamp(10px, 1.10vw, 15px);
    color: #D4D4D4;
    font-size: 14px;
    line-height: 1.8;
    font-family: "Noto Sans JP", sans-serif;
}

.recruit-footer__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(48px, 4.25vw, 58px);
    margin-top: clamp(20px, 2.20vw, 30px);
    border-radius: clamp(4px, 0.37vw, 5px);
    text-decoration: none;
    background: linear-gradient(90deg, #EE732D 0%, #F7A01B 100%);
    color: #fff;
    font-size: clamp(16px, 1.32vw, 18px);
    font-weight: bold;
    transition: opacity .3s ease;
    line-height: 1;
}

.recruit-footer__btn:hover {
    opacity: .85;
}

.recruit-footer__copyright {
    margin: clamp(35px, 4.03vw, 55px) 0 0;
    text-align: center;
    color: #4B5563;
    font-size: 12px;
    line-height: 1.6;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

@media screen and (max-width: 815px) {
    .recruit-footer__inner {
        flex-direction: column;
        gap: 32px;
    }

    .recruit-footer__company,
    .recruit-footer__entry {
        max-width: 100%;
    }

    .recruit-footer__entry {
        width: 100%;
        box-sizing: border-box;
    }

    .recruit-footer__message {
        margin-top: 28px;
    }

    .recruit-footer__copyright {
        margin-top: 32px;
    }
}