@charset "utf-8";

/*
 * フォーム
 * --------------------------------------------------
 */

.secFormTable {
    width: 100%;
    padding: 10px;
    border-collapse: collapse;
    table-layout: fixed;
}

.secFormTable th,
.secFormTable td {
    padding: 30px 15px;
}

.secFormTable tr {
    border-bottom: 1px solid #000000;
}

.secFormTable th {
    background: #efefef;
    width: calc(100% / 3);
}

.secFormTable th h5 {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    justify-content: start;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
}

.secFormTable th h5 span.required,
.secFormTable th h5 span.optional {
    position: absolute;
    right: 0px;
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secFormTable th h5 span.required {
    background: #aa0035;
}

.secFormTable th h5 span.optional {
    background: #00008e;
}

.secFormTable td {
    background: #ffffff;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    width: calc(100% / 3 * 2);
}

.secFormTable tr:first-child {
    border-top: 1px solid #000000;
}

#form input[type="email"],
#form input[type="password"],
#form input[type="tel"],
#form input[type="number"],
#form input[type="text"],
#form select {
    border: solid 1px #d6d6d6;
    padding: 5px 10px;
    font-size: 1.6rem;
    width: 100%;
    height: calc(1.6rem + 30px);
    box-sizing: border-box;
    margin: 0px;
    border-radius: 0.5cqi;
}

#form textarea {
    border: solid 1px #ccc;
    padding: 5px 10px;
    font-size: 1.6rem;
    line-height: 1.5;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 0px;
}

#form input:required,
#form select:required,
#form textarea:required {
    background: #ffeeee;
}

#form .date input:not(:placeholder-shown),
#form .name input:not(:placeholder-shown),
#form .kana input:not(:placeholder-shown),
#form .tel input:not(:placeholder-shown),
#form .email input:not(:placeholder-shown) {
    background: rgb(232, 240, 254);
}

#form .date select:valid {
    background: rgb(232, 240, 254);
}

#form div.date {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: 10px;
    align-items: start;
}

.secFormTable div.date h6 {
    display: flex;
    width: 7.0rem;
    height: calc(1.6rem + 30px);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0px;
    align-items: center;
}

#form div.date div {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - 20px - 7.0rem) / 2);
}

#form div.name,
#form div.kana,
#form div.domicile,
#form div.tel,
#form div.email,
#form div.email {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: 10px;
    align-items: start;
}

#form div.name div,
#form div.kana div {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - 10px) / 2);
}

#form div.domicile span {
    display: flex;
    width: 1.6rem;
    height: calc(1.6rem + 30px);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0px;
    justify-content: center;
    align-items: center;
}

#form div.tel div,
#form div.email div,
#form div.message div {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#form div.email p {
    display: inline-block;
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 600;
    word-break: auto-phrase;
}

#form div.email span {
    color: #aa0035;
}

#form div.domicile .zip {
    width: calc((100% - 10px) / 2 - 1.6rem - 10px);
}

#form div.domicile select {
    width: calc((100% - 10px) / 2);
}

.parsley-errors-list {
    width: 100%;
    padding-top: 5px;
}

.parsley-errors-list li {
    color: #ff0000;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

@media(max-width:767px) {
    .secFormTable tr {
        border-bottom: none;
    }

    .secFormTable tr:first-child {
        border-top: none;
    }

    .secFormTable th,
    .secFormTable td {
        display: block;
        width: 100%;
    }

    .secFormTable th {
        padding: 15px 10px;
    }

    .secFormTable th h5 {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .secFormTable th h5 span.required,
    .secFormTable th h5 span.optional {
        padding: 5px 10px;
        font-size: 1.0rem;
        font-weight: 400;
        line-height: 1;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .secFormTable td {
        padding: 10px 0px 25px 0px;
        font-size: 1.4rem;
    }

    #form input[type="email"],
    #form input[type="password"],
    #form input[type="tel"],
    #form input[type="number"],
    #form input[type="text"],
    #form select {
        padding: 5px 10px;
        font-size: 1.4rem;
        width: 100%;
        height: calc(1.4rem + 20px);
    }

    #form textarea {
        font-size: 1.4rem;
    }

    #form div.date h6 {
        display: flex;
        width: 100%;
        height: auto;
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0px;
        align-items: center;
    }

    #form div.date div {
        width: calc((100% - 10px) / 2);
    }

    #form div.domicile span {
        width: 1.4rem;
        height: calc(1.4rem + 20px);
    }

    #form div.domicile .zip {
        width: calc((100% - 10px) / 2 - 1.4rem - 10px);
    }
}

/*
 * ボタン
 * --------------------------------------------------
 */

.form-button_wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
}

.btnForm {
    display: flex;
    width: calc((100% - 30px) / 2);
    font-size: 1.8rem;
    line-height: 1;
    text-align: center;
    margin: 30px auto;
    padding: 30px 0px;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background: rgba(145, 0, 0, 1);
    border: solid 2px rgba(145, 0, 0, 1);
    letter-spacing: 1px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}

.btnForm.back {
    color: #ffffff;
    background: rgba(100, 100, 100, 1);
    border: solid 2px rgba(100, 100, 100, 1);

}

.btnForm:hover {
    background: rgba(185, 40, 40, 1);
    transition: all 0.25s ease;
}

.btnForm.back:hover {
    background: rgba(150, 150, 150, 1);
    transition: all 0.25s ease;
}

@media(max-width: 767px) {
    .btnForm {
        width: 100%;
        font-size: 1.8rem;
        padding: 15px 0px;
        border: solid 1px rgba(50, 53, 56, 1);
    }
}

/*
 * プログレスバー
 * --------------------------------------------------
 */

.form-progress {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
    margin: 0px 0px 15px 0px;
}

.form-progress div {
    display: flex;
    width: calc((100% - 30px) / 3);
    font-size: 1.8rem;
    justify-content: center;
    align-items: center;
    padding: 15px 0px;
    border: 1px solid #000000;
}

.form-progress div.active {
    background: #000000;
    color: #ffffff;
}

@media(max-width: 767px) {
    .form-progress div {
        font-size: 1.4rem;
    }
}