.wpcf7,
.wpcf7-no-js {
  max-width: 100%; 
  margin: 0 auto;   
  width: 100%;
}
.wpcf7-response-output {
  display: block;
  margin: 24px 0 0;
}
.wpcf7 .hidden-fields-container {
  display: none !important;
}
.wpcf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.dp-plus,
.dp-plus *,
.dp-plus *::before,
.dp-plus *::after {
    box-sizing: border-box;
}

/*====================
フォントの振り分け
====================*/
:root {
    --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Noto Serif JP", "Noto Sans JP", serif;
}

.layout-fix {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.dp-plus {
    font-family: var(--font-serif);
}

/*====================
ボタンアクション
====================*/
.dp-plus a,
.dp-plus button {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.dp-plus button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
}

.dp-plus p,
.dp-plus h1,
.dp-plus h2,
.dp-plus h3,
.dp-plus h4,
.dp-plus h5 {
    margin: 0;
    padding: 0;
}

.d-sans {
    font-family: var(--font-sans);
}

h1.visually-hidden,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none !important;
}

.border-run {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #000000;
    text-decoration: none;
    max-width: 250px;
    z-index: 10;
}

.btn-style {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 250px;
    height: 42px;
}

.dp-plus .btn-style-text {
    margin-left: 34px;
    font-weight: 400;
    font-feature-settings: "palt";
    font-size: 20px;
    line-height: 20px;
    color: #000000;
}

.dp-plus .btn-style-text-delta,
.dp-plus .btn-style-text-color-black {
    font-size: 20px;
    line-height: 20px;
    color: #000000;
}

.text-passive {
    opacity: 0;
    transition: all 0.3s linear;
}

.border-run-line {
    position: absolute;
    background: currentColor;
    opacity: 1;
}

.border-run-line.t {
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease .18s;
}

.border-run-line.r {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .18s ease .36s;
}

.border-run-line.b {
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(1);
    transform-origin: right;
    transition: none;
}

.border-run-line.l {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .18s ease 0s;
}

.border-run:hover .border-run-line.t,
.border-run:hover .border-run-line.r,
.border-run:hover .border-run-line.l,
.border-run:focus-visible .border-run-line.t,
.border-run:focus-visible .border-run-line.r,
.border-run:focus-visible .border-run-line.l {
    transform: scale(1);
}

.border-run:hover .text-passive {
    opacity: 1;
}

.dp-plus .submit-btn {
    margin-top: 20px;
    align-self: center;
}

/*====================
contents　汎用CSS
====================*/

/*====================
#dp-side-item
====================*/
.dp-side-item-fix {
    position: fixed;
    top: 220px;
    left: clamp(200px, calc(-320px + 40.625vw), 460px);
    z-index: 100;
}

@media screen and (min-width: 1921px) {
    .dp-side-item-fix {
        left: calc(50% - 960px + 460px);
    }
}

.dp-side-item-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 280px;
    width: 100%;
    gap: clamp(10px, calc(-20px + 2.0833vw), 20px);
}

.dp-side-item-area h2.label {
    font-size: clamp(50px, calc(20px + 2.0833vw), 60px);
    line-height: clamp(70px, calc(50px + 1.5625vw), 80px);
    color: #004097;
    font-weight: 600;
}

.dp-side-item-area h3.label-sub {
    font-size: clamp(20px, calc(-10px + 2.0833vw), 30px);
    line-height: clamp(20px, calc(-10px + 2.0833vw), 30px);
    color: #004097;
    font-weight: 600;
}

.dp-side-item-area p.notes {
    font-size: 16px;
    line-height: 28px;
    color: #000000;
    font-weight: 400;
}

.dp-side-item-area img.scroll-img {
    margin-top: 50px;
    width: 30px;
}

/*====================
recruit-contact
====================*/
.recruit-contact-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 1000px;
    width: 100%;
    padding: 100px 20px 200px;
    gap: 30px;
}

.recruit-contact-item-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
    width: 100%;
    gap: 50px;
}

.recruit-contact-area.is-complete-view {
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.recruit-contact-item-area.is-complete-view {
    width: 100%;
}

.form-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
}

.submit-error-text {
    font-size: 16px;
    line-height: 24px;
    color: #B51515;
    width: 100%;
    text-align: center;
}

.field-shell,
.input-area-03,
.input-area-04 {
    width: 100%;
    border: 1px solid #000000;
    border-radius: 10px;
    background: #FFFFFF;
    transition: border-color .2s linear, background-color .2s linear;
}

.input-area-01 {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 6px 20px;
}

.input-area-03 {
    display: flex;
    align-items: flex-start;
    min-height: 130px;
    padding: 20px;
}

.input-area-04 {
    display: flex;
    align-items: flex-start;
    min-height: 500px;
    padding: 20px;
}

.text-input,
.text-textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #000000;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 22px;
    font-weight: 400;
    padding: 0;
}

.text-textarea {
    min-height: 100%;
    resize: none;
    line-height: 1.7;
}

.text-input::placeholder,
.text-textarea::placeholder {
    color: #6B6B6B;
}

.field-shell.is-error,
.input-area-03.is-error,
.input-area-04.is-error {
    border-color: #B51515;
    background: #FFCECE;
}

.field-shell.is-error .text-input,
.input-area-03.is-error .text-textarea,
.input-area-04.is-error .text-textarea,
.field-shell.is-error .text-input::placeholder,
.input-area-03.is-error .text-textarea::placeholder,
.input-area-04.is-error .text-textarea::placeholder {
    color: #B51515;
}

.input-area-05,
.input-area-06 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.label-text {
    font-size: 22px;
    line-height: 22px;
    font-weight: 500;
    color: #000000;
}

.input-area-02,
.check-box-area-fix,
.check-box-area-fix-02,
.check-box-area-fix-03 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.input-area-02,
.check-box-area-fix {
    gap: 50px;
}

.check-box-area-fix-02 {
    row-gap: 12px;
    column-gap: 50px;
}

.check-box-area-fix-03 {
    gap: 30px;
}

.check-box-area {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #FFFFFF;
    transition: border-color .2s linear, background-color .2s linear;
}

.choice-input:checked + .check-box::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 2px;
    background: #004097;
}

.check-text {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: #000000;
}

.choice-group.is-error .check-box,
.file-group.is-error .file-area,
.file-group.is-error .file-status-area {
    border-color: #B51515;
    background: #FFCECE;
}

.file-group.is-error .file-area .check-text,
.file-group.is-error .file-name,
.file-group.is-error .file-remove-btn {
    color: #B51515;
}

.choice-group.is-error .check-box::after {
    background: transparent;
}

.consent-text {
    width: 100%;
}

.file-area-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.file-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.file-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
    width: 100px;
    min-height: 30px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #FFFFFF;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s linear;
}

.file-area .check-text {
    pointer-events: none;
}



.file-area:hover {
    background-color: #000000;
}

.file-area:hover .check-text {
    color: #FFFFFF;
}

.file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input {
    pointer-events: none;
}

.file-status-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-height: 30px;
    background: #FFFFFF;
}

.file-name {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-remove-btn {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1;
    color: #000000;
}

.check-width-fix {
    width: 180px;
}

.recruit-complete-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 80px 40px;
    border: 1px solid #000000;
    border-radius: 20px;
    background: #FFFFFF;
    text-align: center;
}

.complete-title {
    font-size: 28px;
    line-height: 1.5;
    font-weight: 500;
    color: #004097;
}

.complete-text {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
}

@media screen and (max-width: 1030px) {
    .file-area {
        background-color: #000000;
    }

    .file-area .check-text {
        color: #FFFFFF;
    }

    .file-row {
        gap: 10px;
    }
}


/*====================
レスポンシブ切り替え
====================*/
.d-pc {
    display: flex;
}

.d-mobile {
    display: none;
}

img.d-pc {
    display: block;
}

img.d-mobile {
    display: none;
}

@media screen and (max-width: 1030px) {
    .dp-side-item-fix {
        position: static;
        display: flex;
    }

    .dp-side-item-area {
        flex-direction: column;
        max-width: 430px;
        margin-top: 100px;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0;
    }

    .dp-side-item-area h2.label {
        text-align: center;
    }

    .dp-side-item-area p.notes {
        width: 290px;
    }

    .recruit-contact-area {
        max-width: 430px;
        padding: 50px 20px 100px;
        align-items: center;
    }

    .form-area {
        gap: 20px;
    }

    .text-input,
    .text-textarea {
        font-size: 18px;
    }

    .input-area-02 {
        gap: 30px;
    }

    .input-area-04 {
        min-height: 300px;
    }

    .input-area-05,
    .input-area-06 {
        margin-top: 20px;
    }

    .input-area-fix {
        margin: 0;
    }

    .label-text {
        font-size: 20px;
    }

    .check-text {
        font-size: 16px;
    }

    .dp-plus .border-run-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 6px 10px 8px;
        border: 1px solid #000000;
        max-width: 320px;
        width: 100%;
        gap: 10px;
        z-index: 10;
    }

    .height-fix {
        height: 24px;
    }

    .recruit-complete-area {
        padding: 50px 20px;
        border-radius: 12px;
    }

    .complete-title {
        font-size: 22px;
    }

    .complete-text {
        font-size: 16px;
    }

    .d-pc {
        display: none;
    }

    .d-mobile {
        display: flex;
    }

    img.d-pc {
        display: none;
    }

    img.d-mobile {
        display: block;
    }
}
