.title {
    padding: 0 5%;
}
.service p {
    font-size: 24px;
    width: fit-content;
    margin: 0 auto !important;
    line-height: 1.5em;
    text-align: left;
}
.foreigner-message {
    display: flex;
    gap: 24px;
    margin-top: 60px;
}
.foreigner-message-item {
    width: calc((100% - 48px) /3);
}
.foreigner-message-head {
    background: #E4E2DB;
    border-radius: 8px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75em;
    position: relative;
}
.foreigner-message-head:before {
    position: absolute;
    content: "";
    width: 40px;
    height: 20px;
    background-image: url("./images/fo-arrow_bottom.svg");
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
}
.foreigner-message-text {
    border: 2px solid #F88D3C;
    background: #fff;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 24px;
    font-size: 16px;
}
.foreigner-message.-head .foreigner-message-text {
    display: none;
}
.fo-people {
    margin: 40px auto 0;
    display: block;
    max-width: 100%;
}

.part-flow {
    max-width: 960px;
    margin: 50px auto 0;
}
.part-flow-item {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding-bottom: 48px;
    position: relative;
}
.part-flow-item:before {
    position: absolute;
    content: "";
    width: 2px;
    height: 100%;
    background: #9A9A9A;
    top: 0;
    left: 32px;
    z-index: 0;
}
.part-flow-item:last-child:before {
    display: none;
}
.part-flow-head {
    width: 360px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}
.part-flow-num {
    background: #F17A4D;
    color: #fff;
    border-radius: 50px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}
.part-flow-title {
    font-size: 20px;
    font-weight: 500;
}
.part-flow-textarea {
    margin-top: 20px;
    width: 100%;
}
.part-flow-text {
    font-size: 16px;
}
.contact_button {
    width: 337px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    padding-bottom: 16px;
    padding-top: 17px;
    background: #f1794d;
    margin: 24px auto 0;
    cursor: pointer;
}
.contact_button:after {
    transform: translateY(2px);
}
.contact_button p {
    color: white !important;
}
.pc_none {
    display: none;
}
#under_content1.rec .title {
    padding: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.5em;
    align-items: flex-start;
}
#under_content1.rec .title img {
    transform: translateY(10px);
}
.foreigner-list {
    margin-top: 48px;
    max-width: 960px;
    margin: 48px auto 0;
}
.foreigner-item {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    font-size: 16px;
}
.foreigner-item:before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50px;
    background: #f1794d;
    left: 0;
    top: 4px;
}
.contact-cta {
    margin: 80px 0 150px;
}
.contact-cta p {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
#under_content1.rec.asset .rec_img_flex .this_part .second {
    font-size: 20px;
    font-weight: 500;
    height: auto;
    padding-bottom: 16px;
}
#under_content1.rec .rec_img_flex .this_part .third .note {
    color: #F88D3B;
    font-size: 14px;
    padding-left: 1.1em;
    display: block;
    margin-top: 10px;
    position: relative;
}
#under_content1.rec .rec_img_flex .this_part .third .note:before {
    position: absolute;
    content: "※";
    left: 0;
}
@media screen and (max-width: 1400px) {
    #under_page {
        padding: 0 5%;
    }
}
@media screen and (max-width: 960px) {
    .foreigner-message.-text {
        display: none;
    }
    .foreigner-message.-head .foreigner-message-text {
        display: flex;
    }
    .foreigner-message {
        flex-direction: column;
        gap: 35px;
    }
    .foreigner-message-item {
        width: 100%;
    }
    .foreigner-message-head {
        height: auto;
        padding: 12px 24px;
        margin-bottom: 60px !important;
    }

    .part-flow-item {
        padding-bottom: 30px;
        gap: 30px;
    }
    .part-flow-item:before {
        left: 26.5px;
    }
    .part-flow-textarea {
        width: 100%;
    }
    .contact_button a {
        max-width: 337px;
        width: 100%;
    }
    .part-flow-head {
        width: 310px;
    }
    .part-flow-num {
        width: 54px;
        height: 54px;
    }
    .part-flow-title {
        font-size: 18px;
    }
    .contact_button {
        max-width: 337px;
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .part-flow-item {
        flex-direction: column;
        gap: 0;
    }
    .part-flow-head {
        width: 100%;
    }
    .part-flow-textarea {
        padding-left: 64px;
        margin-top: 10px;
    }
}
@media screen and (max-width: 600px) {
    #under_content1 {
        padding: 0;
        padding-top: 36px;
    }
    .title_top {
        height: 85px;
    }
    .title_top .title {
        line-height: 1.5em;
    }
    .service p {
        font-size: 18px;
    }
    .foreigner-message {
        margin-top: 40px;
    }
    .fo-people {
        width: 100% !important;
        margin: 40px auto 75px;
    }
    .contact-cta {
        margin: 50px 0 100px;
    }
    .contact-cta > p {
        width: fit-content;
        margin: 0 auto !important;
        text-align: left;
    }
    #under_content1.rec.asset .rec_img_flex .this_part .second {
        font-size: 18px;
    }
}

.-fo-list {
    padding-top: 70px !important;
}
@media screen and (max-width: 600px) {
    .-fo-list {
        padding-top: 45px !important;
    }
}