@charset "UTF-8";



.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 5vw;
}

@media (min-width: 800px) {
    .container {
        padding: 50px 20px;
    }
}

h1 {
    text-align: center;
    color: #0073e6;
}

.section {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.section--border {
    border-bottom: 1px solid #E3ECF6;
}

.toggleItem {
    padding: 20px;
    background: #e0f0ff;
}

.toggleItem .title {
    color: #000;
    font-size: 1.6rem;
}

@media (min-width: 800px) {
    .toggleItem {
        padding: 30px;
    }
}

/* ===========================
 header
=========================== */
.header_bg {
    width: 100%;
    height: 194px;
    background: url(../img/contact/header_bg_sp.png) no-repeat;
    background-size: contain;
    position: relative;
}

.header_img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.header_ttl {
    color: #fff;
    background-color: #014BB1;
    text-align: center;
    font-size: min(6vw, 3rem);
    line-height: 1.13;
    padding: 10px;
}

.header_ttl span {
    display: inline-block;
}

@media (min-width: 800px) {
    .header_bg {
        background: url(../img/contact/header_bg.png) no-repeat center;
        background-size: cover;
        position: relative;
    }

    .header_ttl {
        font-size: min(8vw, 3rem);
    }
}


/* ===========================
 step
=========================== */
.step_list {
    display: flex;
    position: relative;
    justify-content: space-between;
    width: 90vw;
    max-width: 500px;
    margin: 0 auto 60px;
}

.step_list::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #59A3F2;
    position: absolute;
    top: 12px;
    left: 0%;
    z-index: 1;
}

.step_list li {
    position: relative;
}

.step_list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    float: none;
    margin: 0;
    border-radius: 50%;
    color: #fff;
    background-color: #B4B7BB;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.step_list li.active span {
    color: #fff;
    background-color: #014BB1;
}

.step_list .step_txt {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    white-space: nowrap;
    width: auto;
    color: #B4B7BB;
    font-size: min(3vw, 1.6rem);
}

.step_list li.active .step_txt {
    color: #014BB1;
}


/* ===========================
 check_list
=========================== */
.check_list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
}

.check_list li {
    width: 100%;
}

@media (min-width: 800px) {
    .check_list li {
        width: calc((100% - 30px) / 3);
    }

    .check_list.check_list--grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .check_list.check_list--grid li {
        width: auto;
    }
    .check_list.check_list--grid li:last-child {
        grid-column: span 2; /* 必要に応じて調整 */
    }
}

/* ===========================
 schedule
=========================== */
.schedule {
    margin-top: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
    padding: 12px 20px;
}

.schedule_item {
    background-color: #E3ECF6;
    padding: 20px 20px;
    margin-bottom: 10px;
}

.schedule_note {
    font-size: 1.4rem;
    color: #707070;
}

.schedule_date {
    margin-bottom: 20px;
}

@media (min-width: 800px) {
    .schedule_item {
        display: flex;
    }

    .schedule_date {
        margin: 0 45px 0 0;
    }
}

/* ===========================
 history
=========================== */
.history {
    display: flex;
    align-items: center;
    background-color: #fff;
}

.history_btn {
    padding: 10px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B4B7BB;
    background-color: #fff;
    border: 1px solid #B4B7BB;
}

.history_input {
    width: 60px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

/* ===========================
 table
=========================== */

.form_box select,
.form_box input[type="text"] {
    width: 260px;
    max-width: 100%;
}

/* ===========================
 confirm
=========================== */
.confirm_txt {
    width: 100%;
    height: 60px;
    background-color: #E3ECF6;
    border: 1px solid #B4B7BB;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.confirm_txt--min {
    width: 160px;
}


/* ===========================
 ondemand
=========================== */
.ondemand_section {
    margin-bottom: 50px;
}

.ondemand_img {
    width: 100%;
    margin-bottom: 10px;
}

.ondemand_img img {
    width: 100%;
}

.ondemand_content {
    width: 100%;
}

.ondemand_ttl {
    font-size: 2.5rem;
    font-weight: 500;
}

.ondemand_ttl span {
    color: #D45147;
    display: block;
}

@media (min-width: 800px) {
    .ondemand_section {
        display: flex;
        align-items: center;
        margin-bottom: 50px;
    }

    .ondemand_img {
        width: 44%;
        margin-bottom: 0;
    }

    .ondemand_content {
        flex: 1;
        padding-left: 40px;
    }
}

/* ===========================
 explanation
=========================== */
.explanation {
    border: 5px solid #E3ECF6;
    padding: 5vw;
    text-align: center;
}

.explanation_ttl {
    font-size: min(6vw, 2.5rem);
    margin-bottom: 25px;
    font-weight: 500;
    color: #014BB1;
    line-height: 1.52;
}

.explanation_ttl span {
    display: inline-block;
}

.explanation_date {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E3ECF6;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 1.9rem;
}

.explanation_date span {
    display: inline-block;
}

.explanation_txt {
    text-align: justify;
}

@media (min-width: 800px) {
    .explanation {
        padding: 30px 30px;
    }

    .explanation_txt {
        text-align: center;
    }
}


/* ===========================
 error・404
=========================== */
.error_msg {
    color: #DF5341;
    margin-top: 10px;
}

.container.error .title {
    color: #000;
    justify-content: center;
}

.container.error p {
    text-align: center;
    margin-bottom: 40px;
}
