@charset "utf-8";

/*--------------------------------------------------------------
  sub-page
--------------------------------------------------------------*/
.sub-page #main #main-visual {
    height: 280px;
    margin-bottom: 0;
}

.sub-page #main #breadcrumbs {
    margin-bottom: 45px;
    background-color: #eee;
}

.sub-page #main #breadcrumbs ul {
    padding: 10px 0;
    display: flex;
    align-items: flex-end;
}

.sub-page #main #breadcrumbs ul li::after {
    content: ">";
    margin: 0 10px;
    font-size: 1.2em;
}

.sub-page #main #breadcrumbs ul li:last-child::after {
    content: none;
}

.sub-page #main .column-2,
.sub-page #main .column-3,
.sub-page #main .column-4,
.sub-page #main .column-5 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sub-page #main .column-2 > * {
    width: calc(50% - 10px)
}

.sub-page #main .column-3 > * {
    width: calc(33.33% - 10px)
}

.sub-page #main .column-4 > * {
    width: calc(25% - 10px)
}

.sub-page #main .column-5 > * {
    width: calc(20% - 10px)
}

.sub-page #main .main-content p,
.sub-page #main .main-content li {
    line-height: 30px;
}

/* 追加がある場合はここに入れてください */

.sub-page #footer .footer-contact {
    padding: 50px 0;
    background-color: #ff5b71;
    color: #fff;
    text-align: center;
}

.sub-page #footer .footer-contact .headline {
    margin-bottom: 40px;
    font-size: 28px;
    position: relative;
    display: inline-block;
}

.sub-page #footer .footer-contact .headline::after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -8px;
}

.sub-page #footer .footer-contact .to-contact {
    width: 60%;
    margin: 0 auto 30px auto;
    background-color: #fff;
    border-radius: 5px;
}

.sub-page #footer .footer-contact .to-contact p a {
    padding: 20px 0;
    font-size: 17px;
    color: #ff5b71;
    display: block;
}

.sub-page #footer .footer-contact .to-contact p a > * {
    vertical-align: middle;
}

.sub-page #footer .footer-contact .to-contact p a img {
    margin-right: 20px;
}

.sub-page #footer .footer-contact .additional-area .address {
    margin-bottom: 30px;
    line-height: 1.8;
}

.sub-page #footer .footer-contact .additional-area .contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-page #footer .footer-contact .additional-area .contact > * {
    padding: 0 25px;
}

.sub-page #footer .footer-contact .additional-area .contact p a {
    color: #fff;
    font-size: 20px;
}

.sub-page #footer .footer-contact .additional-area .contact p a > * {
    vertical-align: baseline;
}

.sub-page #footer .footer-contact .additional-area .contact p a img {
    margin-right: 10px;
}

.sub-page #footer .footer-contact .additional-area .contact p a .number {
    font-size: 30px;
}

.sub-page #main .main-content .text-area {
    padding: 0 20px;
}

.sub-page #main .main-content .text-area p {
    text-align: justify;
    text-align-last: left;
}

.sub-page #main .main-content table {
    width: 100%;
}

.sub-page #main .main-content th,
.sub-page #main .main-content td {
    border: 1px solid #c9c9c9;
    padding: 10px;
    font-size: 16px;
    /*width: 50%;*/
}

.sub-page #main .main-content th {
    vertical-align: top;
    color: #ff5b71;
}

.sub-page #main .main-content .text-area p.common-button {
    text-align-last: center;
}

/*--------------------------------------------------------------
  responsive - sp
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    .sub-page #main #breadcrumbs {
        display: none;
    }

    .sub-page #main .page-frame {
        width: 92%;
        padding: 0 2%;
    }

    .sub-page #main h2 {
        margin-top: 30px;
    }

    .sub-page #main .column-2 > * {
        width: 100%;
    }

    .sub-page #main .tabs .column-2 > * {
        width: 50%;
    }

    .sub-page #main .column-4 {
        flex-wrap: wrap;
    }

    .sub-page #main .column-4 > * {
        width: calc(50% - 10px);
    }

    .sub-page #footer .footer-contact .to-contact {
        width: 85%;
    }

    .sub-page #footer .footer-contact .additional-area .contact {
        display: block;
    }

    .sub-page #footer .footer-contact .additional-area .contact p {
        padding: 5px 0;
    }
}
