@charset "utf-8";

/*
* フォーム基本設定
* --------------------------------------------------
*/

form {
    width: 100%;
}

li {
    list-style: none;
}

::placeholder,
select:invalid {
    color: #cccccc !important;
}

.v3-form-title {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding: 60px;
    container-type: inline-size;
}

.v3-form-title h2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    font-size: 3cqi;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 3cqi;
    color: #333333;
    justify-content: center;
    word-break: auto-phrase;
    position: relative;
}

.v3-form-title h2:before {
    position: absolute;
    content: '';
    bottom: -15px;
    height: 1px;
    background: #333333;
    display: inline-block;
    width: 10cqi;
}

.v3-form_progress {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0px;
    gap: 15px;
    container-type: inline-size;
}

.v3-form_progress div {
    display: flex;
    flex-wrap: wrap;
    color: #000000;
    width: calc((100% - 30px) / 3);
    padding: 2cqi 0px;
    font-size: 1.4cqi;
    letter-spacing: 0.2cqi;
    line-height: 1;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
}

.v3-form_progress div.on {
    background: #900000;
    color: #ffffff;
}

.v3-form-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.v3-form-table .th {
    display: flex;
    flex-wrap: wrap;
    width: 30%;
    font-size: 1.5cqi;
    line-height: 1.5;
    letter-spacing: 0.1cqi;
    font-weight: 700;
    padding: 3cqi 10cqi 3cqi 0px;
    justify-content: start;
    align-items: center;
    border-top: 1px dotted #cccccc;
    position: relative;
}

.v3-form-table .th span {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    font-size: 1cqi;
    line-height: 1;
    letter-spacing: 0.1cqi;
    font-weight: 500;
    padding: 0.6cqi 0.8cqi;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 3cqi;
    border-radius: 0.5cqi;
}

.v3-form-table .th span.required {
    color: #ffffff;
    background: #aa0000;
}

.v3-form-table .th span.optional {
    color: #ffffff;
    background: #aab6bb;
}

.v3-form-table .th span.question {
    color: #666666;
    background: #cccccc;
}

.v3-form-table .td {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    font-size: 1.5cqi;
    line-height: 1.5;
    letter-spacing: 0.2cqi;
    padding: 3cqi 0px;
    align-items: center;
    border-top: 1px dotted #cccccc;
    gap: 3cqi;
}

.v3-form-table .th:nth-of-type(1),
.v3-form-table .td:nth-of-type(2) {
    border: none;
}

.v3-form-table .td .w10,
.v3-form-table .td .w20,
.v3-form-table .td .w25,
.v3-form-table .td .w40,
.v3-form-table .td .w50,
.v3-form-table .td .w100 {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.5cqi;
    line-height: 1.5;
    align-items: center;
    position: relative;
}

.v3-form-table .td .w10 {
    width: calc((100% - 6cqi) * 0.1);
}

.v3-form-table .td .w20 {
    width: calc((100% - 6cqi) * 0.2);
}

.v3-form-table .td .w25 {
    width: calc((100% - 6cqi) * 0.25);
}

.v3-form-table .td .w40 {
    width: calc((100% - 6cqi) * 0.4);
}

.v3-form-table .td .w50 {
    width: calc((100% - 3cqi) * 0.5);
}

.v3-form-table .td .w100,
.v3-form-enquete .td .w100 {
    width: 100%;
}

.v3-form-table_text {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.5cqi;
    font-weight: 600;
    line-height: 1.5;
    padding: 0px 1cqi;
    letter-spacing: 0.1cqi;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 30px;
}

.v3-form-table_caution {
    display: inline-block;
    width: 100%;
    font-size: 1.2cqi;
    font-weight: 400;
    line-height: 1.5;
    padding: 1.5cqi;
    letter-spacing: 0.1cqi;
    background: #fafafa;
    border: 1px solid #cccccc;
    margin: 15px;
    word-break: break-word;
}

.v3-form-table_caution span {
    font-size: 1.2cqi;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1cqi;
}

.v3-form-table_caution a {
    font-size: 1.2cqi;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1cqi;
    color: #133967;
    text-decoration: underline;
}

.v3-form-table .td p {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.2cqi;
    line-height: 1.5;
    padding: 0px 1cqi;
    letter-spacing: 0.1cqi;
    justify-content: left;
    align-items: center;
}

.v3-form-table a {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    font-size: 1.5cqi;
    line-height: 1;
    letter-spacing: 0.1cqi;
    color: #00396b;
}

.v3-form-table label {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    height: auto;
    font-size: 1.5cqi;
    line-height: 1;
    letter-spacing: 0.1cqi;
    align-items: center;
    padding: 1cqi 0px 0px 0px;
    white-space: nowrap;
}

.v3-form-table .td.confirm {
    font-size: 1.5cqi;
    line-height: 1.2;
}

.red {
    color: #ff505a;
}

@media (max-width: 767px) {
    .v3-form-title {
        padding: 30px 0;
    }

    .v3-form-title h2 {
        font-size: 5cqi;
    }

    .v3-form_progress {
        padding: 2cqi 15px;
        font-size: 3cqi;
        gap: 5px;
    }

    .v3-form_progress div {
        width: calc((100% - 10px) / 3);
        padding: 5cqi 0px;
        font-size: 3cqi;
        letter-spacing: 0.2cqi;
        line-height: 1;
    }

    .v3-form-table a {
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.1cqi;
    }

    .v3-form-table label {
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.1cqi;
        margin: 1cqi 3cqi 1cqi 0px;
    }

    .v3-form-table .th,
    .v3-form-table .td {
        width: 100%;
        font-size: 4cqi;
        line-height: 1.5;
        letter-spacing: 0.1cqi;
        padding: 4cqi 12cqi 4cqi 0px;
        border: none;
    }

    .v3-form-table .th {
        border-radius: 1cqi;
        padding: 3cqi 16cqi 3cqi 3cqi;
        background: #efefef;
    }

    .v3-form-table .th div {
        font-size: 4cqi;
        line-height: 1.5;
        letter-spacing: 0.1cqi;
    }

    .v3-form-table .td {
        border: none;
        padding: 3cqi 0px 6cqi 0px;
        gap: 5cqi;
    }

    .v3-form-table .th span {
        width: auto;
        font-size: 3cqi;
        line-height: 1;
        letter-spacing: 0.1cqi;
        font-weight: 500;
        padding: 2cqi;
        right: 3cqi;
        border-radius: 1cqi;
    }

    .v3-form-table_text {
        margin-top: 65px;
        margin-bottom: 15px;
        font-size: 5cqi;
        font-weight: 400;
        line-height: 1.2;
    }

    .v3-form-table .td .w100,
    .v3-form-table .td .w50,
    .v3-form-table .td .w40,
    .v3-form-table .td .w25,
    .v3-form-table .td .w20 {
        font-size: 3.5cqi;
        line-height: 1;
    }

    .v3-form-table .td .w20 {
        width: calc((100% - 10cqi) * 0.2);
    }

    .v3-form-table .td .w40 {
        width: calc((100% - 10cqi) * 0.4);
    }

    .v3-form-table .td .w50 {
        width: calc((100% - 5cqi) / 2);
    }

    .v3-form-table .td p {
        font-size: 3cqi;
        padding: 0px 1cqi;
        line-height: 1.5;
    }

    .v3-form-table .td.confirm {
        font-size: 3cqi;
        line-height: 1.2;
    }

    .v3-form-table_caution {
        font-size: 3cqi;
        width: 100%;
        margin: 0px;
        padding: 15px;
    }

    .v3-form-table_caution span {
        font-size: 3cqi;
    }

    .v3-form-table_caution a {
        font-size: 3cqi;
    }
}

/*
* フォーム入力エリア設定
* --------------------------------------------------
*/
.v3-form-table .form-group {
    position: relative;
}

.v3-form-table .form-group .pristine-error {
    position: absolute;
    display: flex;
    width: auto;
    height: auto;
    bottom: -1.5cqi;
    left: 0cqi;
    font-size: 1cqi;
    font-weight: 600;
    letter-spacing: 0px;
    padding: 0px;
    line-height: 1;
    color: #ff505a;
}

.v3-form-table input[type="text"],
.v3-form-table input[type="email"],
.v3-form-table input[type="tel"],
.v3-form-table input[type="number"],
.v3-form-table input[type="date"],
.v3-form-table select {
    width: 100%;
    height: 4cqi;
    font-size: 1.4cqi;
    line-height: 1;
    letter-spacing: 0.2cqi;
    padding: 1cqi;
    border-radius: 0.5cqi;
    border: 1px solid #cccccc;
    background: #ffffff;
}

.v3-form-table textarea {
    width: 100%;
    height: 12cqi;
    font-size: 1.4cqi;
    line-height: 1;
    letter-spacing: 0.2cqi;
    padding: 1cqi;
    border-radius: 0.5cqi;
    border: 1px solid #cccccc;
    background: #ffffff;
}

.v3-form-table input[type="checkbox"],
.v3-form-table input[type="radio"] {
    width: 1.4cqi;
    height: 1.4cqi;
    line-height: 1;
    letter-spacing: 0.2cqi;
    margin-right: 0.5cqi;
}

.v3-form-table input:required,
.v3-form-table select:required,
.v3-form-table textarea:required {
    background: #fff6f6;
    border: 1px solid #ccbbbb;
}

.v3-form-table input:not(:placeholder-shown),
.v3-form-table select:valid {
    background: rgba(245, 250, 255, 1);
    border: 1px solid #cccccc;
}

/* オートコンプリート対策 */
.v3-form-table input:-internal-autofill-selected {
    box-shadow: 0px 0px 100px 100px rgba(245, 250, 255, 1) inset;
    border: 1px solid #cccccc !important;
}

.v3-form-table select:has(option:checked[value=""]) {
    color: #cccccc;
    background: #ffffff;
}

.v3-form-table select:has(option:checked[value=""]):required {
    background: #fff6f6;
}

.v3-form-table input:disabled,
.v3-form-table select option:disabled {
    color: #dddddd !important;
    border: 1px solid #dddddd !important;
    background: #f5f5f5 !important;
}

.v3-form-table input[type="checkbox"],
.v3-form-table input[type="radio"] {
    width: 2cqi;
    height: 2cqi;
    margin-right: 1.5cqi;
}

@media (max-width: 767px) {
    .v3-form-table .form-group .pristine-error {
        bottom: -3cqi;
        font-size: 2.5cqi;
        font-weight: 500;
    }

    .v3-form-table input[type="text"],
    .v3-form-table input[type="email"],
    .v3-form-table input[type="tel"],
    .v3-form-table input[type="number"],
    .v3-form-table input[type="date"],
    .v3-form-table select {
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.2cqi;
        padding: 2cqi;
        border-radius: 1cqi;
        height: 10cqi;
    }

    .v3-form-table textarea {
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.2cqi;
        padding: 2cqi;
        border-radius: 1cqi;
        height: 30cqi;
    }

    .v3-form-table input[type="checkbox"],
    .v3-form-table input[type="radio"] {
        width: 6cqi;
        height: 6cqi;
        margin-right: 3cqi;
    }
}

/*
* フォーム個別設定
* --------------------------------------------------
*/

/* 場所 */
.v3-form-place select[name="area"] {
    margin-bottom: 1cqi;
}

/* 住所 */
.v3-form_address input[name="zip_code"] {
    width: calc(100% - 3cqi);
    margin-left: auto;
    margin-right: 0px;
}

.v3-form_address select[name="region"] {
    width: 100%;
}

@media (max-width: 767px) {

    .v3-form-place select[name="area"] {
        margin-bottom: 2cqi;
    }

    .v3-form_address .w50 {
        margin-bottom: 3cqi;
    }

    .v3-form_address input[name="zip_code"] {
        width: calc(100% - 6cqi);
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.2cqi;
        padding: 2cqi;
    }

    .v3-form_address select[name="region"] {
        font-size: 3.5cqi;
        line-height: 1;
        letter-spacing: 0.2cqi;
        padding: 2cqi;
    }
}

/*
* 日付
* --------------------------------------------------
*/

.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months,
span.flatpickr-weekday,
.flatpickr-day {
    font-size: 1cqi;
}

.numInputWrapper {
    display: none !important;
}

@media (max-width: 767px) {

    .flatpickr-current-month input.cur-year,
    .flatpickr-current-month .flatpickr-monthDropdown-months,
    span.flatpickr-weekday,
    .flatpickr-day {
        font-size: 3cqi;
    }


}

/*
* 時間
* --------------------------------------------------
*/
.form-time {
    position: relative;
}

.form-time-select {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow-y: auto;
    background: #ffffff;
    z-index: 10;
    list-style: none;
    padding: 1px;
    gap: 1px;
    position: absolute;
    opacity: 0;
    top: 0px;
    visibility: hidden;
    height: 0px;
    transition: all 0.15s ease;
    border: 1px solid #efefef;
    box-shadow: 0px 0px 3px #e6e6e6;
    border-radius: 0.5cqi;
    background: #eceef1;
}

.form-time-select li {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - 1px) /2);
    font-size: 1.4cqi;
    padding: 1cqi;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    color: rgba(50, 50, 50, 1);
}

.form-time-select li:hover {
    background: #e6f2ff;
}

.form-time.open .form-time-select {
    opacity: 1;
    top: 4cqi;
    height: auto;
    visibility: visible;
    transition: all 0.15s ease;
}

@media (max-width: 767px) {
    .form-time-select {
        width: 82vw;
        left: -52.25vw;
    }

    .form-time-select li {
        font-size: 3cqi;
        padding: 2cqi 0px;
    }

    .form-time.open .form-time-select {
        width: 82vw;
        left: -52.25vw;
    }

}

/*
* 送信
* --------------------------------------------------
*/
.v3-form-submit {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 30px 15px 15px 15px;
    gap: 45px;
    justify-content: center;
    container-type: inline-size;
}

.v3-form-submit p {
    display: inline;
    width: 100%;
    height: auto;
    padding: 15px;
    background: #efefef;
    font-size: 1.2cqi;
    line-height: 1.5;
    letter-spacing: 0.1cqi;
    word-break: break-word;
    border: 1px solid #cccccc;
}

.v3-form-submit p span {
    display: inline;
    font-size: 1.2cqi;
    line-height: 1.5;
    color: #ff0000;
    letter-spacing: 0.1cqi;
    font-weight: 500;
}

.btnForm {
    background: #ff505a;
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    font-size: 1.8cqi;
    height: auto;
    letter-spacing: 0.5cqi;
    border: none;
    justify-content: center;
    padding: 2cqi 0px;
    width: 40%;
    cursor: pointer;
}

.cmnBtn {
    background: #333333;
}

@media (max-width: 767px) {
    .v3-form-submit {
        gap: 15px;
    }

    .v3-form-submit p {
        font-size: 3cqi;
    }

    .v3-form-submit p span {
        font-size: 3cqi;
    }

    .btnForm {
        font-size: 3.5cqi;
        padding: 4cqi 0px;
        width: calc((100% - 15px) / 2);
    }
}

/*
* エラー
* --------------------------------------------------
*/
.v3-form-table label.error {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0px 0px 0px 1cqi;
    font-size: 1.2cqi;
    letter-spacing: 0px;
    line-height: 1;
    color: #ff0000;
    position: absolute;
    left: 0px;
    top: -0.5cqi;
}

.v3-form-exterior label.error,
.v3-form-interior label.error {
    top: -2cqi !important;
    left: -1.5cqi !important;
    bottom: unset !important;
}

.v3-form-table #agree-error {
    position: static;
}

@media (max-width: 767px) {
    .v3-form-table label.error {
        font-size: 3.5cqi;
        bottom: auto;
        top: -4cqi;
    }

    .v3-form-exterior label.error,
    .v3-form-interior label.error {
        top: -5cqi !important;
        left: -1.5cqi !important;
        bottom: unset !important;
    }
}

.banner-amazon {
    width: 100%;
    max-width: 100vw;
}