/* ========================================
   RECRUIT - BASE
======================================== */

body.sanda-inner-page main.sr-main {
    padding-top: 0;
}

.sr-main {
    color: #24342b;
    background: #fbf7ef;
}

.sr-main *,
.sr-main *::before,
.sr-main *::after {
    box-sizing: border-box;
}

.sr-main [id] {
    scroll-margin-top: 110px;
}

.sr-main a {
    color: inherit;
}

.sr-main a:focus-visible {
    outline: 2px solid #365b45;
    outline-offset: 5px;
}

.sr-hero,
.sr-layout,
.sr-mascot-inner {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 46px;
}

.sr-eyebrow {
    margin: 0 0 18px;
    color: #88502d;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.sr-main h1,
.sr-main h2 {
    font-weight: 500;
    line-height: 1.6;
}

.sr-main h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.5;
}

/* ========================================
   RECRUIT - HERO
======================================== */

.sr-hero {
    padding-top: 64px;
}

.sr-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(32px, 3.6vw, 48px);
}

.sr-lead {
    margin: 0;
    color: #687260;
    font-size: 1rem;
    line-height: 1.9;
}

.sr-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 36px;
    margin-top: 40px;
    padding: 18px 20px;
    border-block: 1px solid #d9ddce;
}

.sr-jumps a {
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}

.sr-jumps a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ========================================
   RECRUIT - LAYOUT
======================================== */

.sr-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 48px;
    padding-block: 60px;
}

.sr-requirements,
.sr-application {
    min-width: 0;
}

/* ========================================
   RECRUIT - REQUIREMENTS
======================================== */

.sr-wage {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 24px;
    color: #365b45;
}

.sr-wage span {
    font-size: .9375rem;
}

.sr-wage strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: .03em;
}

.sr-job-details {
    margin: 0;
}

.sr-job-details > div {
    padding-block: 20px;
    border-top: 1px solid #d9ddce;
}

.sr-job-details dt {
    margin-bottom: 8px;
    color: #758263;
    font-size: .875rem;
    font-weight: 600;
}

.sr-job-details dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
}

.sr-shifts {
    margin-top: 24px;
    padding: 20px;
    background: #f3ecd8;
    border-radius: 5px;
}

.sr-shifts p {
    margin: 0 0 12px;
    font-size: .9375rem;
    line-height: 1.8;
}

.sr-shifts p:last-child {
    margin-bottom: 0;
}

.sr-shifts .sr-shift-label {
    display: inline-block;
    padding: 3px 10px;
    color: #fff;
    background: #806025;
    border-radius: 3px;
    font-size: .8125rem;
    font-weight: 600;
}

.sr-shifts .sr-note {
    color: #756b55;
    font-size: .8125rem;
}

.sr-phone {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d9ddce;
}

.sr-phone p {
    margin: 0 0 6px;
    font-size: .9375rem;
}

.sr-phone a {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sr-phone strong {
    font-size: 1.625rem;
}

/* ========================================
   RECRUIT - APPLICATION
======================================== */

.sr-application {
    padding: 32px;
    background: #fffdf7;
    border: 1px solid #dddccf;
    border-radius: 10px;
}

.sr-form-intro {
    margin-bottom: 28px;
    color: #687260;
    font-size: .9375rem;
    line-height: 1.9;
}

.sr-form-content {
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* ========================================
   RECRUIT - MASCOT
======================================== */

.sr-mascot {
    background: #edf3d7;
    border-block: 1px solid #e1e6c7;
}

.sr-mascot-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-block: 30px;
}

.sr-mascot img {
    display: block;
    width: 340px;
    max-width: 40%;
    height: auto;
}

.sr-mascot .sr-eyebrow {
    color: #806025;
}

.sr-mascot h2 {
    margin-bottom: 16px;
    color: #2c673d;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 600;
}

.sr-mascot p:last-child {
    margin: 0;
    color: #687260;
    font-size: .9375rem;
    line-height: 1.9;
}

/* ========================================
   RECRUIT - RESPONSIVE
======================================== */

@media (max-width: 900px) {
    .sr-hero,
    .sr-layout,
    .sr-mascot-inner {
        padding-inline: 28px;
    }

    .sr-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sr-hero {
        padding-top: 48px;
    }
}

@media (max-width: 600px) {
    .sr-hero,
    .sr-layout,
    .sr-mascot-inner {
        padding-inline: 20px;
    }

    .sr-main [id] {
        scroll-margin-top: 90px;
    }

    .sr-hero {
        padding-top: 36px;
    }

    .sr-hero h1 {
        font-size: 30px;
    }

    .sr-main h2 {
        font-size: 26px;
    }

    .sr-lead {
        font-size: .9375rem;
    }

    .sr-jumps {
        gap: 14px 22px;
        margin-top: 28px;
        padding-inline: 0;
    }

    .sr-jumps a {
        font-size: .875rem;
    }

    .sr-layout {
        padding-block: 38px;
    }

    .sr-application {
        padding: 24px 20px;
    }

    .sr-mascot-inner {
        flex-direction: column;
        gap: 18px;
        padding-block: 28px 36px;
        text-align: center;
    }

    .sr-mascot img {
        width: 260px;
        max-width: 100%;
    }
}

/* ========================================
   RECRUIT - CONTACT FORM 7
======================================== */

.sr-form-content .wpcf7 {
    width: 100%;
    margin: 0;
}

.sr-form-content .sr-form-guide {
    margin: 0 0 24px;
    color: #687260;
    font-size: .875rem;
    line-height: 1.9;
}

/* 入力欄の配置 */
.sr-form-content .sr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.sr-form-content .sr-field {
    min-width: 0;
}

.sr-form-content .sr-field-wide {
    grid-column: 1 / -1;
}

.sr-form-content .sr-field p {
    margin: 0;
}

.sr-form-content .sr-field label {
    display: block;
    color: #687260;
    font-size: .875rem;
    line-height: 1.7;
}

.sr-form-content .sr-field label > br,
.sr-form-content .sr-form-grid > br {
    display: none;
}

.sr-form-content .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

/* 必須表示 */
.sr-form-content .sr-required {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 5px;
    color: #365b45;
    background: #e8efdf;
    border-radius: 2px;
    font-size: .75rem;
    font-weight: 600;
    vertical-align: middle;
}

/* テキスト・選択欄 */
.sr-form-content .sr-field input,
.sr-form-content .sr-field select,
.sr-form-content .sr-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    color: #24342b;
    background: #fff;
    border: 1px solid #bdc8b2;
    border-radius: 4px;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.sr-form-content .sr-field textarea {
    height: 132px;
    min-height: 132px;
    resize: vertical;
}

.sr-form-content .sr-field input::placeholder,
.sr-form-content .sr-field textarea::placeholder {
    color: #92998d;
    opacity: 1;
}

.sr-form-content .sr-field input:focus,
.sr-form-content .sr-field select:focus,
.sr-form-content .sr-field textarea:focus {
    border-color: #365b45;
    outline: 2px solid #365b45;
    outline-offset: 2px;
}

/* 個人情報・同意チェック */
.sr-form-content .sr-consent {
    margin-top: 24px;
    padding: 20px;
    color: #687260;
    background: #f0f3e8;
    border-radius: 5px;
    font-size: .8125rem;
    line-height: 1.9;
}

.sr-form-content .sr-consent p {
    margin: 0 0 14px;
}

.sr-form-content .sr-consent a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sr-form-content .sr-consent .wpcf7-form-control-wrap {
    margin-top: 0;
}

.sr-form-content .sr-consent .wpcf7-list-item {
    display: block;
    margin: 0;
}

.sr-form-content .sr-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.sr-form-content .sr-consent input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: #365b45;
}

/* 送信ボタン */
.sr-form-content .sr-submit {
    margin-top: 24px;
}

.sr-form-content .sr-submit p {
    margin: 0;
}

.sr-form-content input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    color: #fff;
    background: #88502d;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.sr-form-content input[type="submit"]:hover {
    background: #6d3e21;
}

.sr-form-content input[type="submit"]:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* エラー・送信結果 */
.sr-form-content .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: .8125rem;
}

.sr-form-content .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px;
    font-size: .875rem;
    line-height: 1.8;
}

/* スマートフォン */
@media (max-width: 600px) {
    .sr-form-content .sr-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sr-form-content .sr-consent {
        padding: 16px;
    }
}

/* 応募フォームの手順 */
.sr-application .sr-form-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.sr-application .sr-form-steps li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 4px;
    border-bottom: 2px solid #dedfd4;
    color: #687260;
    font-size: .875rem;
    line-height: 1.5;
}

.sr-application .sr-form-steps li span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eceee4;
    font-size: .75rem;
}

.sr-application .sr-form-steps li.is-current {
    border-bottom-color: #365b45;
    color: #365b45;
    font-weight: 700;
}

.sr-application .sr-form-steps li.is-current span {
    background: #365b45;
    color: #fff;
}
/* 確認画面 */
.sr-application [hidden] {
    display: none !important;
}

.sr-confirm h3 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    color: #365b45;
}

.sr-confirm-details {
    margin: 24px 0;
}

.sr-confirm-details > div {
    padding: 16px 0;
    border-bottom: 1px solid #dedfd4;
}

.sr-confirm-details dt {
    margin-bottom: 6px;
    color: #687260;
    font-size: .875rem;
}

.sr-confirm-details dd {
    margin: 0;
    color: #24342b;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.sr-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid #687260;
    border-radius: 5px;
    background: transparent;
    color: #365b45;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}

.sr-back br {
    display: none;
}