/*
Theme Name: resposive_site
Description: resposive_site
*/

@import url("./css/base.css");

/* @import url("./css/teaser.css"); */


@import url("./css/mobile.css") screen and ( max-width: 991px );

/*
@import url("./css/tablet.css") screen and ( min-width: 768px ) and (max-width: 991px );
@import url("./css/custom.css") screen and ( min-width: 992px );
*/

@import url("./css/custom.css") screen and ( min-width: 992px );
/* --YouTubeサイズ調整-- */
.video {
position: relative;
height: 0;
padding: 30px 0 56.25%;
overflow: hidden;
}

.video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 80%;
}

.top-service {
    justify-content: space-evenly;
    column-gap: 1%;
    margin-bottom: 6.4rem;
}

.top-service__item {
    width: 20rem;
}

.recruit-link {
    margin-bottom: 8rem;
}

.sp-recruit-link {
        width: 100%;
    max-width: 36rem;
    margin: auto;
}

.br-991 {
    display: none;
}

@media screen and (max-width: 992px) {
    .top_area1 .col-sm-12 .col-sm-6 {
        max-width: 100% !important;
    flex: 0 0 100%;
    }

    .col-sm-12,
    .row {
        padding: 0;
        margin: 0;
    }


}

/* フッター */
.footer-logo {
        display: block;
    width: fit-content;
    margin: auto;
    margin-bottom: 6rem;
}

.footer__list {
    justify-content: space-between;
    row-gap: 4rem;
}

.footer__item {
    width: 30%;
    min-width: 30rem;
}

.footer-title {
    position: relative;
    font-weight: 700;
    padding-left: 2rem;
    line-height: 1.25;
}

.footer-title::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: .8rem;
    height: calc(100% + .4rem);
    border-radius: 9999rem;
    background-color: #ffa25a;
}

.footer-address {
        margin-bottom: 1.6rem;
}

.footer-shop-info {
        display: flex;
}

.footer-info__title {
        width: 6.6rem;
    text-align-last: justify;
    margin-right: 1.6rem;
}

.footer-map {
    position: relative;
        display: block;
    width: 17.6rem;
    border: .1rem solid #000;
    border-radius: 9999rem;
    padding: .4rem 1.6rem;
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
}

.footer-map::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    content: ">";
    font-size: 2rem;
}

.footer-contact {
        display: block;
    width: 24rem;
}

.footer-recruit-link {
        display: block;
    width: 32rem;
    margin: auto;
    margin-top: 1.6rem;
}

@media screen and (max-width: 767px) {
    .footer__list {
            justify-content: center;
    }

.footer__item {
        display: flex;
    flex-direction: column;
    align-items: center;
}
}

/* 下層-訪問介護 */
.point__list {
    justify-content: space-evenly;
    column-gap: 1%;
}

.point__item {
    max-width: 38rem;
}

.service {
    /* margin-bottom: 6rem; */
}

.service-lead {
        text-align: center;
    font-weight: 700;
    color: #3A8EBF;
    margin-bottom: 4rem;
    line-height: 1.25;
}

.service-contetnt__list {
    max-width: 60rem;
    margin: auto;
        display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.service-contetnt__item {
    display: flex;
    box-shadow: .3rem .3rem 1.2rem rgba(0, 0, 0, .08);
    border-radius: .4rem;
    padding: 3.2rem 4%;
    gap: 2%;
    max-width: 64rem;
    width: 100%;
    margin: auto;
}

.service-contetnt__img {
        width: 30%;
    height: auto;
    object-fit: contain;
}

.service-contetnt__info {
        width: 60%;
}

.service-contetnt__title {
    position: relative;
    font-weight: 700;
    color: #3A8EBF;
    padding-left: 1.6rem;
    margin-bottom: 1.6rem;
}

.service-contetnt__title::before {
        position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: .8rem;
    height: calc(100% + .4rem);
    border-radius: 9999rem;
    background-color: #4DBDFF;
}

.service-contetnt__text {
    list-style: disc;
    margin-left: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.service-contetnt__text li {
        width: 48%;
}

.service-contetnt__add {
        width: 100%;
    text-align: end;
}

.service-contetnt__kome {
    display: flex;
    align-items: flex-start;
    column-gap: 0.2rem;
        margin-top: 1.6rem;
}

.relation-service {
    margin-top: 6rem;
}

.relation-service__title {
    font-weight: 700;
    color: #3A8EBF;
    text-align: center;
    margin-bottom: 2.4rem;
}

.relation-service__list {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    row-gap: 4rem;
}

.relation-service__item {
        width: 40%;
}

.relation-service__item>a>img {
        width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: .8rem;
}

.relation-service__header {
        display: flex;
    justify-content: space-between;
}

.relation-service-info {
        width: calc(100% - 3.2rem - .4rem);
}

.relation-service__name {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.relation-service__header img {
        width: 3.2rem;
    height: auto;
}

.facility__content {
        display: flex;
    align-items: center;
    gap: 4%;
    justify-content: center;
    margin-bottom: 4rem;
}

.facility__content>img {
        width: 30%;
    aspect-ratio: 1;
}

.facility__name {
    position: relative;
    font-weight: 700;
    color: #E23C36;
    margin-bottom: 2.4rem;
    padding-left: 1.6rem;
    line-height: 1.25em;
}

.facility__name::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: .8rem;
    height: calc(100% + .4rem);
    border-radius: 9999rem;
    background-color: #E23C36;
}

.facility__address {
        margin-bottom: 1.6rem;
}

.facility-shop__info {
        display: flex;
    align-items: flex-start;
}

.facility-info__title {
        width: 6.6rem;
    margin-right: 1.6rem;
    font-weight: 700;
}

.facility-contact {
        width: 26rem;
    display: block;
    margin-top: 2.4rem;
}

.facility iframe {
        width: 100%;
    aspect-ratio: 3 / 1;
    border-radius: .4rem;
    border: 0;
}

/* 会社概要 */
.company-google_map {
        width: 100%;
    aspect-ratio: 2 / 1;
}

.company-google_map iframe {
        width: 100%;
        height: 100%;
    }

     @media screen and (max-width: 991px) {
        .service-contetnt__text {
    flex-direction: column;
        }

        .service-contetnt__text li {
            width: 100%;
        }

     }

    @media screen and (max-width: 560px) {
        .relation-service__name {
            font-size: 2rem;
        }

        .relation-service__list {
                flex-direction: column;
    align-items: center;
        }

        .relation-service__item {
                width: 100%;
    max-width: 48rem;
        }

        .facility__content {
                flex-direction: column;
    row-gap: 2.4rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
        }

        .facility__content>img {
                width: 100%;
        }

        .facility iframe {
                aspect-ratio: 3 / 2;
        }
}