.form-mv {
    text-align: center;
    line-height: 2.4;
    display: block;
    align-content: center;
}

.form-mv .note {
    font-size: 1.6rem;
}

.form-wrapper {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    justify-content: center;
    gap: 8rem;
}
.form-inner-img {
    max-width: 45%;
    width: 100%;
    text-align: center;
}

.form-inner-img p {
    font-size: 1.6rem;
    margin-top: 2.4rem;
}

.form-inner-form {
    width: 100%;
    max-width: 45%;
}

/*項目下に余白持たせる*/
.wpcf7-form p {
    margin-bottom: 2.4rem;
}
.wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

.sp {
    display: none;
}

/* フォーム微調整 */
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: calc(100% - 18px);
    height: 35px;
    padding: 1px 8px;
    font-size: 1.6rem;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    background-color: #F5F8FA;
}


/* ユーザーが入力した文字は黒に */
textarea,
input {
  color: #000;
  line-height: 1.6;
}

/* プレースホルダはグレーに（統一） */
textarea::placeholder,
input::placeholder {
  color: #A2A2A2;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    width: calc(100% - 18px);
    height: 100px;
    padding: 8px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    background-color: #F5F8FA;
    font-size: 1.8rem;
}


.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    margin: 0 1em 0 0;
}

span.wpcf7-form-control.wpcf7-checkbox {
    margin-top: 8px;
    display: block;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item input {
    width: 20px;
    height: 20px;
    border: 1px solid #A2A2A2;
    margin: 0;
}

.wpcf7-form-control.wpcf7-submit.has-spinner  {
    text-align: center;
    width: 300px;
    font-size: 1.8rem;
    background-color: #6285FC;
    color: white;
    border: none;
    border-radius: 30px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    font-size: 2rem;
    font-weight: 700;
    padding: 1.6rem 0;
}
.wpcf7-form-control.wpcf7-submit.has-spinner:hover  {
    background: linear-gradient(
        120deg,
        #6A8BFC 0%,
        #7A9CFF 50%,
        #6A8BFC 100%
        );
    background-size: 200% auto;
    animation: shimmer 1.5s linear infinite;
}

input {
    font-size: 18px;
}

#wpcf7-f60-o1 p, #wpcf7-f61-o1 p {
    margin-bottom: 2.4rem;
}

/*新お問合せ */
/* フォーム全体 */
.zcwf_lblLeft {
    width: 100%;
    max-width: 70%;
    margin: 0 auto;
    text-align: left;
    font-family: Arial, sans-serif;
}

span.required {
    color: #ff0000;
}

/* 項目下の余白 */
.zcwf_lblLeft .zcwf_row {
    margin-bottom: 2.4rem;
}
.zcwf_lblLeft .zcwf_row:last-of-type {
    margin-bottom: 0;
}

/* ラベル */
.zcwf_lblLeft .zcwf_col_lab label {
    font-size: 1.6rem;
    line-height: 2.4;
}

/* テキスト入力・メール・電話番号 */
.zcwf_lblLeft input[type="text"],
.zcwf_lblLeft input[type="email"],
.zcwf_lblLeft input[type="tel"],
.zcwf_lblLeft input[type="password"] {
    width: calc(100% - 18px);
    height: 35px;
    padding: 1px 8px;
    font-size: 1.6rem;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    background-color: #F5F8FA;
    color: #000;
}

/* テキストエリア */
.zcwf_lblLeft textarea {
    width: calc(100% - 18px);
    height: 100px;
    padding: 8px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    background-color: #F5F8FA;
    font-size: 1.8rem;
    color: #000;
    line-height: 1.6;
}

/* プレースホルダー */
.zcwf_lblLeft input::placeholder,
.zcwf_lblLeft textarea::placeholder {
    color: #A2A2A2;
    font-size: 1.4rem;
}

/* チェックボックス */
.zcwf_lblLeft .zcwf_ckbox label {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-top: 8px;
}
.zcwf_lblLeft .zcwf_ckbox input {
    width: 20px;
    height: 20px;
    border: 1px solid #A2A2A2;
}

/* 送信ボタン */
.formsubmit.zcwf_button {
    display: block;
    width: 300px;
    margin: 0 auto;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background-color: #6285FC;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 0;
    text-align: center;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* リセットボタン */
.zcwf_col_fld {
    text-align: center;
}
input.zcwf_button {
    border: none;
    background: none;
    color: #000000;
    text-align: center;
    margin-top: 16px;
}
input.zcwf_button:hover {
color: #2253E6;
}
.zcwf_lblLeft .formsubmit.zcwf_button:hover {
    background: linear-gradient(120deg, #6A8BFC 0%, #7A9CFF 50%, #6A8BFC 100%);
    background-size: 200% auto;
    animation: shimmer 1.5s linear infinite;
    color: #ffffff;
}

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

.contact .mv-text {
    margin: 0.8rem 0 2.4rem;
}

.form-mv .note {
    font-size: 1.2rem;
}


.form-inner-img  {
    max-width: 70%;
    margin: 0 auto 0.8rem;
}

.form-inner-form {
    max-width: 100%;
}

textarea::placeholder {
    font-size: 14px; /* スマホ向けの文字サイズ */
}

.contact .wpcf7-form-control.wpcf7-submit.has-spinner {
    display: block;
    margin: 4rem auto 0;
    width: 200px;
    padding: 0.8rem 0;
}
}

/*新お問合せ */
@media screen and (max-width: 768px) {
    .zcwf_lblLeft {
        max-width: 100%;
    }
    .zcwf_lblLeft input,
    .zcwf_lblLeft textarea {
        font-size: 1.4rem;
    }
    .zcwf_lblLeft .zcwf_button {
        width: 200px;
        padding: 0.8rem 0;
        font-size: 1.6rem;
    }
}