.sif-form {
    width: 100%;
    max-width: 1440px;
    /* max-width: 900px; */
    padding: 80px 0 0;
    margin: 0px auto 0px;

    color: #222;
    font-size: 15px;
    line-height: 1.8;
}
.sif-form.sif-form--confirm {
    max-width: 1440px;
    padding: 0% 8.7% 8.7%;
    box-sizing: border-box;

    margin-top: 0px;
    margin-bottom: 100px;
}
.sif-form.sif-form--complete {
    max-width: 1440px;
    padding: 0% 8.7% 8.7%;
    box-sizing: border-box;

    margin-top: 0px;
    margin-bottom: 60px;
}

.sif-form *,
.sif-form *::before,
.sif-form *::after {
    box-sizing: border-box;
}


/* =========================================================
   フォームタイトル
========================================================= */

.sif-form__title {
    padding: 0.5rem 0;
    margin: 0 0 1.8rem !important;

    /* font-size: 28px; */
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;

    background-color: #3c715f;
    color: #fff;
}


/* =========================================================
   入力項目
========================================================= */

.sif-form__row {
    /* display: block; */
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* align-items: center; */

    padding: 0;
    margin: 0 0 38px;
    border: 0;
}

.sif-form__heading {
    display: flex;
    align-items: center;

    /* width: 10rem; */
    width: 37.2%;
    padding-top: 0.55rem;
    
    /* display: flex; */
    /* justify-content: flex-start; */
    /* align-items: flex-start; */
    /* flex-wrap: wrap; */
    gap: 0.3rem;
    /* margin-bottom: 10px; */
}

.sif-form__label {
    /* flex: 1; */
    display: block;
    margin: 0;
    color: #222;
    font-size: 0.5rem;
    font-weight: 500;
    line-height: 1.6;
}


/* =========================================================
   必須・任意
========================================================= */

.sif-form__required,
.sif-form__optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 0.6rem;
    margin: 0;
    padding: 0.05rem 0.05rem;
    font-size: 0.3rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 0;
}

.sif-form__required {
    color: #fff;
    background: #3c715f;
    border: 1px solid #3c715f;
}

.sif-form__optional {
    color: #777;
    background: transparent;
    border: 1px solid #aaa;
}


/* =========================================================
   入力欄

   16px = 0.5rem
========================================================= */

.sif-form__control {
    width: 100%;
}

.sif-form__control input,
.sif-form__control textarea {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    /* padding: 15px 18px; */
    padding: 0.46875rem 0.5625rem;
    color: #222;
    font-family: inherit;
    font-size: 0.5rem;
    font-weight: 400;
    line-height: 1.6;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    outline: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* placeholder */
.sif-form__control input::placeholder,
.sif-form__control textarea::placeholder {
    color: #aaa;
    opacity: 1;
}


.sif-form__control input {
    /* min-height: 56px; */
}

.sif-form__control textarea {
    min-height: 190px;
    resize: vertical;
}


/* =========================================================
   フォーカス
========================================================= */

.sif-form__control input:focus,
.sif-form__control textarea:focus {
    border-color: #222;
}


/* =========================================================
   placeholder
========================================================= */

.sif-form__control input::placeholder,
.sif-form__control textarea::placeholder {
    color: #aaa;
    opacity: 1;
}


/* =========================================================
   日時
========================================================= */

.sif-form__control input[type="datetime-local"] {
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    cursor: pointer;
}


/* =========================================================
   プライバシーポリシー
========================================================= */

.sif-form__privacy {
    margin-top: 50px;
    text-align: center;
}

.sif-form__privacy-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
    gap: 0.3125rem;
    cursor: pointer;
    /* font-size: 14px; */
    font-size: 0.4375rem;
    line-height: 1.6;
}

.sif-form__privacy-label input[type="checkbox"] {
    flex: 0 0 auto;
    /* width: 18px; */
    width: 0.5625rem;
    /* height: 18px; */
    height: 0.5625rem;
    margin: 0;
    cursor: pointer;
    accent-color: #3c715f;
}

.sif-form__privacy-label a {
    color: #3c715f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sif-form__privacy-label a:hover {
    text-decoration: none;
}

.sif-form__privacy.is-error {
    color: #c00;
}

.sif-form__privacy .sif-form__error {
    text-align: center;
}



/* =========================================================
   Turnstile
========================================================= */

.sif-form__turnstile {
    margin-top: 40px;
    margin-bottom: -20px;
    text-align: center;
}

.sif-form__turnstile .cf-turnstile {
    display: inline-block;
}


/* =========================================================
   エラー
========================================================= */

.sif-form__row.is-error input,
.sif-form__row.is-error textarea {
    border-color: #c00;
}

.sif-form__error {
    margin: 7px 0 0;
    color: #c00;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.sif-form__date-error {
    margin: -15px 0 30px;
    color: #c00;
    font-size: 13px;
    line-height: 1.6;
}

.sif-form__date-error:empty {
    display: none;
}

.sif-form__error-summary {
    margin: 0 0 35px;
    padding: 18px 20px;
    color: #c00;
    font-size: 14px;
    background: #fff;
    border: 1px solid #c00;
}




/* =========================================================
   注意事項
========================================================= */
.sif-form__note {
    margin: 0.2rem 0 0rem;
    font-size: 0.375rem;
    line-height: 1.6;
    text-align: center;
    color: #666;
}



/* =========================================================
   ボタン
========================================================= */

.sif-form__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 55px;
}

.sif-form__button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    min-height: 62px;
    margin: 0;
    padding: 16px 32px;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.05em;
    background: #fff;
    border: 1px solid #222;
    border-radius: 0;
    cursor: pointer;
    transition:
        opacity 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease;
}

.sif-form__button:hover {
    opacity: 0.8;
    /* color: #fff; */
    /* background: #222; */
}

.sif-form__button--primary {
    /* opacity: 0.8; */
    color: #fff;
    background: #222;
}

.sif-form__button--primary:hover {
    opacity: 0.8;
    /* color: #222; */
    /* background: #fff; */
}


/* =========================================================
   確認画面
========================================================= */

.sif-form__confirm-message {
    margin: 0 0 40px;
    font-size: 15px;
    line-height: 1.8;
}

.sif-form__confirm-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #ccc;
}

.sif-form__confirm-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 30px;
    margin: 0;
    padding: 24px 0;
    border-bottom: 1px solid #ccc;
}

.sif-form__confirm-row dt {
    margin: 0;
    font-weight: 500;
}

.sif-form__confirm-row dd {
    margin: 0;
    font-weight: 400;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* =========================================================
   完了画面
========================================================= */

.sif-form__complete {
    padding: 60px 40px;
    text-align: center;
    /* border-top: 1px solid #ccc; */
    /* border-bottom: 1px solid #ccc; */
}

.sif-form__complete-title {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.sif-form__complete p {
    margin: 8px 0;
}


/* =========================================================
   Honeypot
========================================================= */

.sif-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================================
   SP
========================================================= */

@media (max-width: 767px) {

    .sif-form {
        /* margin-top: 50px; */
        padding-top: 56px;
        font-size: 14px;
    }

    .sif-form__title {
        padding: 0.75rem 0;
        margin-bottom: 3.0rem !important;
        font-size: 1.8rem !important;
    }

    .sif-form__row {
        flex-direction: column;
        gap: 10px;
        /* margin-bottom: 28px; */
        margin-bottom: 3rem;
    }

    .sif-form__heading {
        width: 100%;
        padding-top: 0;
        /* gap: 10px; */
        gap: 0.8rem;
        /* margin-bottom: 5px; */
        margin-bottom: 0rem;
    }

    .sif-form__label {
        /* font-size: 14px; */
        font-size: 1.5rem;
    }

    .sif-form__required,
    .sif-form__optional {
        font-size: 10px;
        min-width: 35px;
        height: 15px;
        /* padding: 0.03rem 0.03rem; */

        /* display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.1rem;
        height: 0.6rem;
        margin: 0;
        padding: 0.05rem 0.05rem;
        font-size: 0.3rem;
        font-weight: 500;
        line-height: 1;
        border-radius: 0; */
    }

    .sif-form__required {
        /* color: #fff;
        background: #3c715f;
        border: 1px solid #3c715f; */
    }

    .sif-form__optional {
        /* color: #777;
        background: transparent;
        border: 1px solid #aaa; */
    }


    .sif-form__control input,
    .sif-form__control textarea {
        /* padding: 13px 14px; */
        padding: 1.0rem 1.5rem;
        /* font-size: 16px; */
        font-size: 1.6rem;
        /* line-height: 1; */
    }

    .sif-form__control input,
    .sif-form__control input[type="datetime-local"] {
        min-height: 3rem;
    }

    .sif-form__control textarea {
        min-height: 160px;
    }

    .sif-form__privacy {
        /* margin-top: 40px; */
        margin-top: 2.5rem;
        text-align: left;
    }

    .sif-form__privacy-label {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        font-size: 1.5rem;
    }

    .sif-form__privacy-label input[type="checkbox"] {
        width: 1.8rem;
        height: 1.8rem;
        /* margin-top: 3px; */
        margin-top: 0.3rem;
    }

    .sif-form__privacy .sif-form__error {
        text-align: left;
    }

    .sif-form__actions {
        flex-direction: column-reverse;
        margin-top: 40px;
    }

    .sif-form__button {
        max-width: none;
        min-height: 56px;
    }

    .sif-form__confirm-row {
        display: block;
        padding: 20px 0;
    }

    .sif-form__confirm-row dt {
        margin-bottom: 7px;
    }

    .sif-form__complete {
        padding: 40px 20px;
    }

    .sif-form__complete-title {
        font-size: 20px;
    }


    /*  */
    .sif-form__error {
        /* margin: 7px 0 0;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.6; */
    }
    
    .sif-form__date-error {
        margin: -15px 0 30px;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .sif-form__error-summary {
        /* margin: 0 0 35px; */
        margin: 0 0 2.1875rem;
        /* padding: 18px 20px; */
        padding: 1.125rem 1.25rem;
        /* font-size: 14px; */
        font-size: 1.5rem;
    }



    /* =========================================================
    注意事項
    ========================================================= */
    .sif-form__note {
        margin: 1rem 0 0rem !important;
        font-size: 1.2rem !important;
    }
}