@charset "UTF-8";

/* 共通 */

:root {
    --primary-white: #fafafa;
    --primary-black: #333333;
    --primary-lightgreen: #4CAF50;
    --primary-green: #2E7D32;
    --primary-orange: #FFA726;
    --primary-subBlack: #666666;
    --section-padding: 60px 5.3%;
    scroll-padding: 190px;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    min-height: 0;
    min-width: 0;
}

body {
    font-family:
        "Noto Sans JP",
        "Noto Serif JP",
        Arial,
        sans-serif;
    font-style: normal;
    color: var(--primary-black, #333333);
    background-color: var(--primary-white, #fafafa);
    line-height: 1.5;
}

.font-size-logo {
    font-size: clamp(3.6rem, 2.966rem + 2.7vw, 5.4rem);
}

.font-size-title {
    font-size: clamp(2.4rem, 1.977rem + 1.8vw, 3.6rem);
}

.font-size-button {
    font-size: clamp(1.6rem, 1.318rem + 1.2vw, 2.4rem);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    display: inline-block;
}

.anchor {
    display: inline-block;
}

.SpBr {
    display: inline-block;
}

.TABBr {
    display: none;
}

.pcBr {
    display: none;
}

/* 共通 pc */

@media screen and (min-width: 768px) {
    .SpBr {
        display: none;
    }

    .TABBr {
        display: inline-block;
    }
}

@media screen and (min-width: 1024px) {
    .TABBr {
        display: none;
    }

    .pcBr {
        display: inline-block;
    }

    :root {
        --section-padding: 90px 5.3%;
    }
}

/* お問い合わせ */

/* お問い合わせ*/

.section--form {
    padding: var(--section-padding);
}

.form__category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.form__category:first-of-type {
    margin-top: 0;
}

.form__label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: var(--primary-white, #fafafa);
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    background-color: var(--primary-lightgreen, #4CAF50);
}

.form__name {
    color: var(--primary-black, #000);
    text-align: center;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.form__parts {
    padding: 25px 0 25px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
    position: relative;
}

.form__parts:first-of-type {
    padding-top: 0;
}

.group input {
    width: 100%;
    height: 50px;
    color: var(--primary-black, #000);
    background-color: rgba(114, 133, 52, 0.1);
    text-align: left;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 10px;
    border: 1px solid var(--primary-black);
}

::placeholder {
    opacity: 0.8;
}

.group__textArea textarea {
    width: 100%;
    color: var(--primary-black);
    background-color: rgba(114, 133, 52, 0.1);
    text-align: left;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid var(--primary-black);
    height: 210px;
    padding: 10px;
}

.form__parts--submit {
    line-height: 1.8;
    color: var(--primary-black);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 50px;
}

input[type="submit"] {
    appearance: none;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    padding: 15px;
    background-color: var(--primary-lightgreen, #4CAF50);
    color: var(--primary-white, #fafafa);
    margin: 50px auto 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: all 0.2s;
    font-size: clamp(1.6rem, 1.318rem + 1.2vw, 2.4rem);
    font-weight: 700;
}

input[type="submit"] a {
    text-decoration: none;
}

input[type="submit"]:hover {
    opacity: 0.8;
}

.wpcf7-response-output {
    color: var(--primary-black, #000);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
}

span.wpcf7-spinner {
    display: none;
}

input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.wpcf7-list-item {
    margin-left: 20px;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

.wpcf7-list-item.last {
    margin-left: 0;
}

span.wpcf7-list-item-label {
    position: relative;
    display: flex;
    /*円とテキストを横並びにする*/
    align-items: center;
    /*円とテキストを上下中央揃えにする*/
    cursor: pointer;
    color: var(--primary-black, #000);
}

span.wpcf7-list-item-label::before {
    display: block;
    content: "";
    /*円の形にする*/
    border: 2px solid var(--primary-black, #000);
    /*外側の円の太さと色*/
    width: 20px;
    /*外側の円の幅*/
    height: 20px;
    /*外側の円の高さ*/
    margin-right: 10px;
    /*円とテキストの間隔はここで調節*/
}

span.wpcf7-list-item-label::after {
    display: block;
    position: absolute;
    content: "";
    width: 12px;
    /*内側の円の幅*/
    height: 12px;
    /*内側の円の高さ*/
    background-color: var(--primary-lightgreen, #4CAF50);
    /*内側の円の色*/
    left: 4px;
    /*横位置調整*/
    top: 50%;
    transform: translateY(-50%);
}

span.wpcf7-list-item-label::after {
    /*省略*/
    display: none;
    /*追加*/
}

input[type="radio"]:checked+span.wpcf7-list-item-label::after {
    display: block;
    /*ラジオボタンがチェックされたとき表示*/
}

.wpcf7-list-item-label {
    font-size: 1.6rem;
    margin-top: 10px;
}

.group {
    margin-top: 20px;
}

.group__radio {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}

.group__textArea {
    margin-top: 30px;
}

.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--primary-green);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border: 1px solid #dc3232;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px auto 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 50px auto 0;
    border: 1px solid #00a0d2;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    margin: 50px 0 auto;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: rgb(255, 185, 0);
    margin: 50px 0 auto;
}

/* お問い合わせ tab */

@media screen and (min-width:426px) {
    .wpcf7-list-item.last {
        margin-left: 20px;
    }
}

/* お問い合わせ pc */

@media screen and (min-width:1024px) {

    .form__parts {
        width: 100%;
        padding-top: 75px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .form__category {
        margin-top: 0;
        width: 37%;
    }

    .group {
        margin-top: 0px;
        width: 63%;
    }

    .group input {
        margin-top: 0;
    }

    input[type="submit"] {
        max-width: 480px;
        padding: 15px;
        margin: 75px auto 0;
    }

    .form__label {
        padding: 15px;
    }

    .group__textArea textarea {
        text-align: left;
        margin-top: 0;
    }

    .group__textArea {
        margin-top: 0px;
        width: 63%;
    }

    .form__parts--form {
        align-items: flex-start;
    }

    .form__parts--submit {
        text-align: center;
    }

    .wpcf7-list-item {
        display: inline-block;
    }

    .wpcf7-list-item-label {
        margin-top: 0px;
        font-size: 1.6rem;
    }

    .group__radio {
        display: flex;
        justify-content: center;
        margin-top: 0px;
    }

    .wpcf7-list-item.first {
        padding-left: 0px;
    }

    .group__radio p {
        margin-top: 0px;
    }

    .form li+li::before {
        top: 37.5px;
    }
}