/* お問い合わせページ用CSS */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 24px
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 24px;
        justify-content: center
    }
}

.main {
    overflow-x: hidden;
}

.section-title .section-title__japanese {
    font-size: 46px;
    font-weight: 700;
    color: #fff
}

@media (max-width: 768px) {
    .section-title .section-title__japanese {
        font-size: 28px;
        margin-bottom: 8px
    }
}

.section-title .section-title__english {
    font-size: 20px;
    color: #ed6058;
    font-weight: 700
}

@media (max-width: 768px) {
    .section-title .section-title__english {
        font-size: 16px
    }
}

.page-header {
    padding: 200px 0 100px;
    background-color: #ed6058;
    text-align: center
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 80px
    }
}

.page-header .page-header__inner {
    max-width: 1240px;
    margin: 0 auto
}

.service-section {
    position: relative;
    background-color: #f5f5f5;
    padding: 80px 0
}

@media (max-width: 768px) {
    .service-section {
        margin-top: -40px;
        padding: 40px 20px 80px
    }
}

.service-section:before {
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    height: 60px;
    width: 102%;
    background-color: #f5f5f5;
    border-radius: 50% 50% 0 0/100% 100% 0 0;
    z-index: 1
}

@media (max-width: 768px) {
    .service-section:before {
        height: 30px;
        top: -29px
    }
}

.service-section .content {
    position: relative;
    z-index: 2
}

.content__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 80px;
    background: #fff
}

@media (max-width: 768px) {
    .content__inner {
        padding: 40px 20px
    }
}

.contact-intro {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 80px;
    text-align: center;
    color: #3c3c3c
}

@media (max-width: 768px) {
    .contact-intro {
        font-size: 16px;
        margin-bottom: 30px
    }
}

.contact-section-title {
    display: flex;
    align-items: flex-start;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #3c3c3c
}

.contact-section-title .contact-bullet {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0
}

.contact-phone {
    margin-bottom: 80px
}

@media (max-width: 768px) {
    .contact-phone {
        margin-bottom: 40px
    }
}

.contact-phone .contact-phone-box {
    border: 2px solid #d0d0d0;
    padding: 30px;
    text-align: left
}

.contact-phone .contact-phone-box .contact-phone-number {
    font-size: 30px;
    font-weight: 700;
    color: #ed6058;
    margin-bottom: 10px
}

@media (max-width: 768px) {
    .contact-phone .contact-phone-box .contact-phone-number {
        font-size: 20px
    }
}

.contact-phone .contact-phone-box .contact-phone-hours {
    font-size: 20px;
    color: #ed6058
}

.contact-email-wrapper .contact-form-instruction {
    font-size: 16px;
    margin-bottom: 8px;
    color: #3c3c3c
}

.contact-email-wrapper .contact-form-required-note {
    font-size: 16px;
    color: #e74c3c;
    margin-bottom: 30px
}

.contact-email {
    background-color: #e0f2f7;
    border-radius: 12px;
    padding: 60px
}

@media (max-width: 768px) {
    .contact-email {
        padding: 30px 20px
    }
}

form .contact-form__item {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    gap: 20px
}

@media (max-width: 768px) {
    form .contact-form__item {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }
}

form .contact-form__item .contact-form__label {
    font-weight: 700;
    margin-bottom: 0;
    color: #3c3c3c;
    font-size: 16px;
    min-width: 200px;
    flex-shrink: 0
}

form .contact-form__item .contact-form__label br {
    display: none;
}

form .contact-form__item p {
    font-weight: 700;
    margin-bottom: 0;
    color: #3c3c3c;
    font-size: 16px;
    min-width: 200px;
    flex-shrink: 0
}

form .contact-form__item p:has(.contact-form__checkbox-label),
form .contact-form__item p:has(.contact-form__radio-label) {
    display: flex;
}

@media (max-width: 768px) {
    form .contact-form__item p:has(.contact-form__checkbox-label) {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    form .contact-form__item p:has(.contact-form__checkbox-label) br {
        display: none;
    }
}


form .contact-form__item .contact-form__input,
form .contact-form__item .contact-form__textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fff;
    transition: border-color .3s ease;
    color: #999
}

form .contact-form__item .contact-form__input:focus,
form .contact-form__item .contact-form__textarea:focus {
    outline: none;
    border-color: #ed6058;
    color: #3c3c3c
}

form .contact-form__item .contact-form__input::placeholder,
form .contact-form__item .contact-form__textarea::placeholder {
    color: #999
}

form .contact-form__item .contact-form__textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit
}

form .contact-form__item .contact-form__help {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 4px;
    margin-bottom: 0;
    width: 100%
}

form .contact-form__item .contact-form__input-group {
    flex: 1;
    display: flex;
    flex-direction: column
}

@media (max-width: 768px) {
    form .contact-form__item .contact-form__input-group {
        width: 100%;
    }
}

form .contact-form__item .contact-form__checkboxes,
form .contact-form__item .contact-form__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 8px
}

@media (max-width: 768px) {

    form .contact-form__item .contact-form__checkboxes,
    form .contact-form__item .contact-form__radios {
        flex-direction: column;
        gap: 12px
    }
}

form .contact-form__item .contact-form__checkbox-label,
form .contact-form__item .contact-form__radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #3c3c3c
}

form .contact-form__item .contact-form__checkbox-label input[type=checkbox],
form .contact-form__item .contact-form__checkbox-label input[type=radio],
form .contact-form__item .contact-form__radio-label input[type=checkbox],
form .contact-form__item .contact-form__radio-label input[type=radio] {
    cursor: pointer;
    width: 25px;
    height: 25px;
    transform: translateY(8px);
}

@media (max-width: 768px) {
    form .contact-form__item .contact-form__checkbox-label input[type=checkbox] {
        transform: translateY(0px);
    }

    form .contact-form__item .contact-form__radio-label input[type=radio] {
        transform: translateY(11px);
    }
}


form .contact-form__privacy-section {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    max-height: 200px;
    overflow-y: auto
}

form .contact-form__privacy-section .contact-form__privacy-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #3c3c3c;
    text-align: center
}

form .contact-form__privacy-section .contact-form__privacy-text {
    font-size: 14px;
    line-height: 1.6;
    color: #3c3c3c
}

form .contact-form__submit {
    text-align: center;
    margin-top: 30px
}

.contact-form-submit-btn {
    width: 320px;
    display: inline-flex;
    align-items: center;
    text-align: left;
    gap: 12px;
    background-color: #ed6058;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    font-family: inherit;
    position: relative;
}

.contact-form-submit-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: url(https://lucadesignstudio.2-d.jp/wp-content/themes/fujio-theme/img/icon_square_white.png) no-repeat center center / cover;
}

@media (max-width: 768px) {
    .contact-form-submit-btn {
        padding: 16px 20px;
        font-size: 16px;
        width: 100%;
    }
}

.contact-form-submit-btn .contact-form-submit-btn__text {
    flex: 1;
    text-align: left
}

.contact-form-submit-btn .contact-form-submit-btn__icon {
    width: 7px
}

.contact-form-submit-btn .contact-form-submit-btn__icon br {
    display: none;
}

.contact-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #00000026
}

.contact-form-submit-btn:focus {
    outline: 2px solid #ed6058;
    outline-offset: 2px
}

/* ========================================
   Contact Form 7 対応スタイル
   ======================================== */

/* Contact Form 7内の<p>タグのmarginをリセット */
.contact-form p {
    margin: 0;
    padding: 0;
}

/* wpcf7-form-control-wrapをflexコンテナに */
.contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Contact Form 7のinput/textareaスタイル */
.contact-form .wpcf7-form-control.wpcf7-text,
.contact-form .wpcf7-form-control.wpcf7-email,
.contact-form .wpcf7-form-control.wpcf7-tel,
.contact-form .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fff;
    transition: border-color .3s ease;
    color: #3c3c3c;
}

.contact-form .wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .wpcf7-form-control:focus {
    outline: none;
    border-color: #ed6058;
}

/* Contact Form 7のチェックボックス・ラジオボタン */
.wpcf7-checkbox,
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {

    .wpcf7-checkbox,
    .wpcf7-radio {
        flex-direction: column;
        gap: 12px;
    }
}

/* wpcf7-list-item のスタイル */
.wpcf7-list-item {
    margin: 0 !important;
    display: inline-block;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #3c3c3c;
    margin: 0;
}

.wpcf7-list-item label:has(input[type="checkbox"]),
.wpcf7-list-item label:has(input[type="radio"]) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin: 0;
}

.contact-form .wpcf7-list-item-label {
    cursor: pointer;
}

/* Contact Form 7のsubmitボタン */
.contact-form .wpcf7-submit.contact-form-submit-btn {
    width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 12px;
    background-color: #ed6058;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    font-family: inherit;
}

@media (max-width: 768px) {
    .contact-form .wpcf7-submit.contact-form-submit-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
}

.contact-form .wpcf7-submit.contact-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-form .wpcf7-submit.contact-form-submit-btn:focus {
    outline: 2px solid #ed6058;
    outline-offset: 2px;
}

/* Contact Form 7のスピナー非表示 */
.contact-form .wpcf7-spinner {
    display: none;
}

/* Contact Form 7のバリデーションメッセージ */
.contact-form .wpcf7-not-valid-tip {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 4px;
    display: block;
}

/* Contact Form 7のレスポンス出力 */
.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* hidden fields containerは非表示 */
.hidden-fields-container {
    display: none;
}