@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* お問い合わせフォーム */
.p-form__wrap.p-form__wrap--textarea {
    align-items: flex-start;
}

.p-form__wrap + .p-form__wrap {
    margin-top: 24px;
}

.p-form__label-required {
    margin-left: 10px;
    color: #F93E3E;
}

/* Input, Select, Textarea, and Checkbox Fields */
.p-form__input,
.p-form__select,
.p-form__radio,
.p-form__checkbox,
.p-form__textarea {
    margin-top: 12px;
}

.p-form__input input {
    width: 100%;
    padding: 11px 15px;
    border-radius: 0;
    line-height: 2;
    appearance: none;
    background-image: none;
    background-color: #fff;
    font: inherit;
}

.p-form__input select {
    height: 200px;
    max-width: 100%;
    overflow: scroll;
    border: 1px solid #D9D9D9;
}

.p-form__input select option {
    font-size: 16px;
}

.p-form__input select option:nth-child(n + 2) {
    margin-top: 6px;
}

.p-form__input input:focus {
    border: 1px solid #686765;
    box-shadow: none;
    outline: none;
}

/* Textarea */
.p-form__textarea textarea {
    padding: 14px;
    width: 100%;
    height: 238px;
    font-size: max(10px, 15px);
    border-radius: 0;
    appearance: none;
    background: #fff;
    background-image: none;
}

.p-form__textarea textarea:focus {
    border: 1px solid #686765;
    box-shadow: none;
    outline: none;
}

/* Radio */
.p-form__radio label {
    display: block;
}

.p-form__radio label:not(:first-of-type) {
    margin-top: 10px;
}

.p-form__radio input {
    display: none;
}

.p-form__radio input + span {
    padding-left: 25px;
    position: relative;
    display: block;
    cursor: pointer;
}

.p-form__radio input + span::before {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #686765;
    border-radius: 50%;
}

.p-form__radio input + span::after {
    content: "";
    padding: 2px;
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    background: #4A4A4A;
    border-radius: 50%;
    opacity: 0;
    transition: .3s;
}

.p-form__radio input:checked + span::after {
    opacity: 1;
}

/* Acceptance */
.p-form__acceptance-wrapper {
    margin-top: 14px;
}

.p-form__acceptance {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.p-form__acceptance label {
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

.p-form-acceptance__label {
    font-size: max(10px, 14px);
    padding-left: 10px;
}

.p-form__acceptance-link {
    text-decoration: underline;
    text-underline-offset: 0.5ex;
    transition: all 0.3s ease 0s;
}

.p-form__acceptance-link:hover {
    opacity: 0.7;
}

.p-form__acceptance input {
    inline-size: 20px;
    block-size: 20px;
    flex-shrink: 0;
}

/* Caution and Recaptcha */
.p-form__caution {
    font-size: max(10px, 14px);
}

.p-form__recaptcha {
    margin-top: 30px;
    font-size: max(10px, 12px);
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Submit Button */
.p-form__submit {
    margin: 24px auto 0;
    width: fit-content;
    text-align: center;
    position: relative;
    z-index: 1;
    background: url(../img/common/button-bg.png) no-repeat center center /cover;
    transition: all 0.3s ease 0s;
}

.p-form__submit:hover {
    opacity: 0.7;
}

.p-form__submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 1px dashed #fff;
    border-radius: 100px;
    z-index: -1;
}

.p-form__submit input {
    font-size: 16px;
    line-height: calc(32/16);
    padding: 14px 54px;
    border-radius: 100px;
    color: #fff;
    background: transparent;
    display: block;
    margin: 0 auto;
    min-width: 270px;
    cursor: pointer;
}

.p-form__submit input:hover,
.p-form__submit input:focus {
    outline: none;
}

@media screen and (max-width: 768px) {
    .p-form__wrap.p-form__wrap--textarea {
        align-items: flex-start;
    }

    .p-form__submit {
        margin-top: 40px;
    }

    .p-form__submit input {
        font-size: 15px;
    }

    .p-form-acceptance__label {
        font-size: 14px;
    }

    .p-form__recaptcha {
        text-align: center;
    }
}

/* Contact Form 7 Customization */
.wpcf7-list-item {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpcf7-list-item + .wpcf7-list-item {
    margin-top: 6px;
}

.wpcf7-form-control.column {
    display: flex;
    flex-direction: column;
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 6px;
}