/*==============================
 common
==============================*/

.col-Ttl {
    color: #225462;
    font-size: 26px;
    font-weight: bold;
}

@media screen and (max-width: 1023px) {

    .col-Ttl {
        font-size: 24px;
    }

}


/*==============================
 hero-Standard
==============================*/

.hero-Standard {
    margin-bottom: 80px;
}

@media screen and (max-width: 1023px) {

    .hero-Standard {
        margin-bottom: 40px;
    }

}



/*==============================
 tp-Service
==============================*/

.tp-Service {
    margin-top: 40px;
}

.tp-Service .list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
}

.tp-Service .list li {
    width: calc(100% / 4 - 15px);
}

.tp-Service .list li figcaption {
    font-size: 16px;
}

.tp-Service .list li a:hover figcaption {
    color: #5f5f5f;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {

    .tp-Service {
        margin-top: 30px;
    }

    .tp-Service .list li {
        width: calc(100% / 2 - 10px);
    }

    .tp-Service .list li figcaption {
        font-size: 15px;
    }

}



/*==============================
 tp-News
==============================*/

.tp-News {
    margin-bottom: 40px;
}

.tp-News .inner {
    border: 1px solid #9dcbd9;
    border-radius: 10px;
    padding: 40px 20px;
    position: relative;
}

.tp-News .col-Ttl {
    border-bottom: 3px solid #659fb0;
    padding: 0 20px;
    margin-bottom: 30px;
}

.tp-News .col-Ttl span {
    padding-left: 29px;
    position: relative;
}

.tp-News .col-Ttl span::before {
    content: "";
    display: block;
    width: 19px;
    height: 22px;
    background-image: url(../images/toppage/new_icon.png);
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 2px;
    left: 0;
    z-index: 1;
}

.tp-News .list li {
    border-bottom: 1px solid #c6d8db;
    padding: 0 20px 20px;
    margin-bottom: 20px;
    position: relative;
}

.tp-News .list li::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #a7c9cf;
    position: absolute;
    bottom: -3px;
    left: 0;
    z-index: 1;
}

.tp-News .list li:last-of-type {
    margin-bottom: 0;
}

.tp-News .list li time {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.tp-News .list li a {
    font-size: 16px;
    font-weight: bold;
}

.tp-News .list li a:hover {
    color: #5f5f5f;
    text-decoration: underline;
}

.tp-News .btn a {
    display: block;
    max-width: 120px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #659fb0;
    border-radius: 20px;
    position: absolute;
    top: 45px;
    right: 20px;
    z-index: 1;
    transition: .6s all;
}

.tp-News .btn a:hover {
    color: #ffffff;
    background-color: #659fb0;
}

.tp-News .btn a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ef9f2e;
    border-right: 2px solid #ef9f2e;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    margin: auto;
    z-index: 1;
    transition: .6s all;
}

.tp-News .btn a:hover::after {
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

@media screen and (max-width: 767px) {

    .tp-News .inner {
        padding: 30px 15px;
    }

    .tp-News .col-Ttl {
        padding: 0 10px;
    }

    .tp-News .list li {
        padding: 0 10px 20px;
    }

    .tp-News .btn a {
        margin-left: auto;
        margin-top: 30px;
        position: relative;
        top: 0;
        right: 0;
    }

}

/*==============================
 tp-Wakuwaku
==============================*/

.tp-Wakuwaku {
    display: block;
    padding: 0 40px;
    margin-bottom: 120px;
}

@media screen and (max-width: 767px) {

    .tp-Wakuwaku {
        padding: 0;
        margin-bottom: 120px;
    }

}


/*==============================
 tp-Merit
==============================*/

.tp-Merit {
    position: relative;
}

.tp-Merit::before {
    content: "";
    display: block;
    width: 210px;
    height: 112px;
    background-image: url(../images/toppage/working_illust.png);
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: -60px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
}

.tp-Merit .inner {
    border: 1px solid #9dcbd9;
    border-radius: 10px;
    padding: 60px 20px 40px;
}

.tp-Merit .col-Ttl {
    text-align: center;
    margin-bottom: 80px;
}

.tp-Merit .box {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 20px;
}

.tp-Merit .box .item {
    width: calc(50% - 10px);
    border-radius: 10px;
    position: relative;
}

.tp-Merit .box .item::after {
    content: "";
    display: block;
    background-size: cover;
    background-position: center center;
    position: absolute;
    right: 10px;
    z-index: 1;
}

.tp-Merit .box .item span {
    display: block;
    color: #ffffff;
    width: 65px;
    height: 65px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 65px;
    border-radius: 50%;
    position: absolute;
    top: -32px;
    right: 0;
    left: 0;
    margin: auto;
}

.tp-Merit .box .item dl {
    padding: 50px 20px 30px;
}

.tp-Merit .box .item dl dt {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.tp-Merit .box .item dl dd {
    font-size: 16px;
    line-height: 1.8;
}

.tp-Merit .box .yu-Item {
    background-color: #fff3ea;
}

.tp-Merit .box .yu-Item::after {
    width: 90px;
    height: 96px;
    background-image: url(../images/toppage/leisure_illust.png);
    top: -50px;
}

.tp-Merit .box .yu-Item span {
    background-color: #ff8900;
}

.tp-Merit .box .yu-Item dl dt {
    color: #ff8900;
}

.tp-Merit .box .ken-Item {
    background-color: #f5faff;
}

.tp-Merit .box .ken-Item::after {
    width: 85px;
    height: 78px;
    background-image: url(../images/toppage/health_illust.png);
    top: -35px;
}

.tp-Merit .box .ken-Item span {
    background-color: #4077dc;
}

.tp-Merit .box .ken-Item dl dt {
    color: #4077dc;
}

.tp-Merit .box .syuku-Item {
    background-color: #fff1ff;
}

.tp-Merit .box .syuku-Item::after {
    width: 82px;
    height: 78px;
    background-image: url(../images/toppage/childbirth_illust.png);
    top: -35px;
}

.tp-Merit .box .syuku-Item span {
    background-color: #dd67d9;
}

.tp-Merit .box .syuku-Item dl dt {
    color: #dd67d9;
}

.tp-Merit .box .gaku-Item {
    background-color: #eeffef;
}

.tp-Merit .box .gaku-Item::after {
    width: 89px;
    height: 78px;
    background-image: url(../images/toppage/study_illust.png);
    top: -35px;
}

.tp-Merit .box .gaku-Item span {
    background-color: #467f4a;
}

.tp-Merit .box .gaku-Item dl dt {
    color: #467f4a;
}


@media screen and (max-width: 1023px) {

    .tp-Merit .box .item span {
        width: 60px;
        height: 60px;
        font-size: 26px;
        line-height: 60px;
    }

    .tp-Merit .box .item dl {
        padding: 45px 20px 30px;
    }

    .tp-Merit .box .item dl dt {
        font-size: 18px;
    }

    .tp-Merit .box .yu-Item::after {
        top: -55px;
    }

    .tp-Merit .box .ken-Item::after {
        top: -40px;
    }

    .tp-Merit .box .syuku-Item::after {
        top: -40px;
    }

    .tp-Merit .box .gaku-Item::after {
        top: -40px;
    }

}

@media screen and (max-width: 767px) {

    .tp-Merit::before {
        width: 190px;
        height: 100px;
    }

    .tp-Merit .inner {
        padding: 60px 15px 40px;
    }

    .tp-Merit .col-Ttl {
        line-height: 1.4;
    }

    .tp-Merit .box {
        gap: 70px 20px;
    }

    .tp-Merit .box .item {
        width: 100%;
    }

    .tp-Merit .box .yu-Item::after {
        top: -60px;
    }

    .tp-Merit .box .ken-Item::after {
        width: 76px;
        height: 70px;
    }
    .tp-Merit .box .syuku-Item::after {
        width: 75px;
        height: 71px;
    }

    .tp-Merit .box .item dl dt {
        font-size: 20px;
    }

    .tp-Merit .box .gaku-Item::after {
        width: 85px;
        height: 74px;
    }

}



/*==============================
 tp-About
==============================*/

.tp-About .inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    border: 1px solid #9dcbd9;
    border-radius: 10px;
    padding: 40px;
}

.tp-About .image {
    width: 230px;
}

.tp-About .txt-Box {
    width: calc(100% - 270px);
}

.tp-About .txt-Box .col-Ttl {
    border-bottom: 3px solid #659fb0;
    margin-bottom: 20px;
}

.tp-About .txt-Box dd {
    font-size: 16px;
    line-height: 1.8;
}

.tp-About .txt-Box dd + dd {
    margin-top: 10px;
}

@media screen and (max-width: 1023px) {

    .tp-About .txt-Box {
        width: calc(100% - 230px);
    }

    .tp-About .image {
        width: 190px;
    }

}

@media screen and (max-width: 1023px) {

    .tp-About .inner {
        gap: 20px;
        padding: 40px 20px;
    }

    .tp-About .txt-Box {
        width: 100%;
    }

    .tp-About .txt-Box .col-Ttl {
        font-size: 23px;
        letter-spacing: -2.4px;
    }
    
    .tp-About .image {
        width: 120px;
    }

}


/*==============================
 sidebar
==============================*/

@media screen and (max-width: 767px) {

    .sidebar .btn-Col {
        display: none;
    }

}