.main {
    margin: 0 auto;
}

.contact-container {
    max-width: 88%;
    margin: 60px auto 60px;
}

.contact-title {
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.0;
}

.contact-subtitle {
    margin-top: 20px;
    font-size: 1.6rem;
    line-height: 1.6;
}

.contact-description {
    margin-top: 80px;
}

.contact-index {
    font-size: 1.6rem;
    line-height: 1.2;
}

.contact-index::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #707070;
    display: block;
    margin-top: 50px;
}

.description {
    font-size: 1.4rem;
    margin-top: 40px;
    line-height: 2.2;
}

.contact-image_PC img {
    display: none;
}

.contact-description h3 {
    text-align: center;
    font-size: 2.0rem;
    margin-top: 60px;
    margin-bottom: 50px;
}

.contact-description p {
    font-size: 1.4rem;
    margin-bottom: 100px;
}

.flow {
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flow li {
    width: 327px;
    margin: auto;
}


.flow-1,
.flow-2,
.flow-3,
.flow-4 {
    list-style: none;
    background-image: url(../images/frame.png);
    background-size: 100%;
    background-repeat: no-repeat;

}

.flow-1_title,
.flow-2_title,
.flow-3_title,
.flow-4_title {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 15px 40px;
}

.flow li p {
    font-size: 1.4rem;
    padding: 0 40px 60px;
}

.flow-description h3 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 50px;
}


.other-description {
    margin: 100px auto;
}

.other-description h3 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 50px;
}

.other-description p {
    font-size: 1.4rem;
}

.inquiry-form {
    font-size: 1.4rem;
    max-width: 327px;
    display: block;
    margin: 30px auto 160px;
}

.inquiry-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.6rem;
    width: 100%;
    max-width: 327px;
    font-weight: bold;

}

.form_family-name,
.form_given-name,
.form_family-name_katakana,
.form_given-name_katakana,
.form_email,
.form_tel,
.form_inquiry_type_1,
.form_inquiry_type_2,
.form_inquiry_kind,
.form_inquiry_detail {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    height: 40px;
    width: 100%;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.form_family-name,
.form_given-name,
.form_family-name_katakana,
.form_given-name_katakana {
    margin-top: 10px;
}

.name-title {
    margin-top: 20px;
}

input[type="radio"] {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}


.inquiry-form_inquiry-type .small-label {
    display: flex;
    align-items: center;
    padding: 10px 30px 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    line-height: 1;
    font-size: 1.6rem;
    font-weight: 500;
    width: 50%;
}


.small-label::before {
    content: "";
    display: inline-block;
    margin-right: 20px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
}

input.form_inquiry_type_1:checked+.small-label,
input.form_inquiry_type_2:checked+.small-label {
    color: #333;
    background: #F4DB22;
}

input.form_inquiry_type_1:focus+.small-label,
input.form_inquiry_type_2:focus+.small-label {
    border: 1px solid #fff;
    box-shadow: 0 0 8px #F4DB22;
}

input.form_inquiry_type_1:checked+.small-label::before,
input.form_inquiry_type_2:checked+.small-label::before {
    background-color: #707070;
    border: 3px solid #fff;
}


.required {
    color: #fff;
    background-color: #d9534f;
    font-size: 1.2rem;
    border-radius: 3px;
    margin-left: 10px;
    padding: 3px;
}

.example {
    font-size: 1.4rem;
}

.form-list {
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
}

.inquiry-form__submit {
    background: #F4DB22;
    border-radius: 50px;
    width: 230px;
    padding: 16px 0px;
    border: solid 1px #707070;
    font-size: 2.2rem;
    display: block;
    margin: 50px auto;
    cursor: pointer;
}

.attention {
    text-align: center;
    margin: 30px auto 80px
}

@media(min-width: 600px) {
    .contact-main-image {
        display: none;
    }

    .contact-container {
        max-width: 90%;

    }

    .contact-description {
        margin-top: 0;
        margin-left: 50%
    }

    .contact-index {
        font-size: 2.0rem;
        margin-top: 0;
    }


    .description {
        font-size: 1.6rem;
    }

    .contact-image_PC img {
        display: block;
        margin: 70px auto 150px;
    }


    .flow {
        max-width: 360px;
        margin: 0 auto;
    }

    .flow li {
        width: 100%;
    }

    .flow-1_title .flow-2_title,
    .flow-3_title,
    .flow-4_title {
        padding: 20px 75px;
    }

    .flow li p {
        font-size: 1.6rem;
        padding: 0px 35px 85px 45px;
    }


    .other-description p {
        font-size: 1.6rem;
        text-align: center;
    }

    .inquiry-form {
        max-width: 540px;
    }

    .inquiry-form label {
        display: inline-block;
    }

    .inquiry-form_inquiry-type .small-label {
        width: 100%;
    }



    .form-list {
        display: flex;
        flex-wrap: wrap;
        align-items: start;
        margin-bottom: 30px;
    }

    .form-area_PC {
        width: 540px;
    }

    .form-area_PC-1 {
        width: 540px;
        display: flex;
        justify-content: space-between;
    }


    .form_family-name,
    .form_given-name,
    .form_family-name_katakana,
    .form_given-name_katakana,
    {
    margin-top: 0;
}

.name-title {
    margin-top: 0px;
}

.attention {
    font-size: 1.6rem;
}


}

@media(min-width: 960px) {
    .contact-container {
        margin-top: 100px;
    }

    .description {
        margin-bottom: 160px;
    }

    .contact-image_PC img {
        max-width: 870px;
    }

    .flow {
        max-width: 100%;
        padding: 0 100px;
    }

    .flow li {
        width: 25%
    }

    .flow-content_start {
        background-color: #F4DB22;
        clip-path: polygon(85% 0%, 100% 50%, 85% 100%, 0% 100%, 0% 50%, 0% 0%);
    }

    .flow-content {
        background-color: #F4DB22;
        clip-path: polygon(85% 0%, 100% 50%, 85% 100%, 0% 100%, 15% 50%, 0% 0%);
    }

    .flow-1,
    .flow-2,
    .flow-3,
    .flow-4 {
        background-image: none;
    }


    .flow-1_title {
        font-size: 1.6rem;
        padding: 15px 20px 20px 0px;
    }

    .flow-2_title,
    .flow-3_title,
    .flow-4_title {
        font-size: 1.6rem;
        padding: 15px 20px 15px 20px;
    }


    .flow li p {
        padding: 0px 20px 15px 30px;
    }


    .flow-description h3 {
        text-align: left;
        max-width: 870px;
        margin: 0 auto 50px;
    }

    .other-description h3 {
        text-align: left;
        margin-top: 60px;

    }

    .other-description {
        max-width: 870px;
        margin-top: 50px;

    }

    .other-description p {
        text-align: left;
    }

    .inquiry-form {
        max-width: 870px;
    }

}

@media(min-width:1280px) {

    .contact-container {
        max-width: 1280px;
    }

    .contact-image_PC img {
        width: 100%;
        max-width: 100%;
    }


    .flow {
        max-width: 1280px;
        padding: 0 205px;
    }

    .flow-1_title {
        font-size: 1.6rem;
        padding: 30px 20px 20px 0px;
    }

    .flow-2_title,
    .flow-3_title,
    .flow-4_title {
        font-size: 1.6rem;
        padding: 30px 20px 20px 20px;
    }

    .flow li p {
        padding: 0px 35px 26px 45px;
    }


}