@charset "UTF-8";
.first-view__inner {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 68px;
    text-align: center;
}

.first-view__title {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: 'Kiwi Maru', serif;
    color: var(--text-tertialy);
    font-size: 2.7vw;
    font-weight: normal;
    letter-spacing: 1.25vw;
    line-height: 3.888888888888889vw;
}

.first-view__title .strong {
    font-size: 3.3333333333333335vw;
    color: var(--text-primary);
}


/*=== セクション　====================================================*/

.section-grouphome_access {
    padding: 48px 0 96px;
}

.section-our_philosophy {
    padding: 76px 0;
}

.section-reason .btn-more-view {
    margin: 0 auto;
}

.our-philosophy__inner {
    display: grid;
    grid-template-columns: 44.4vw 1fr;
    gap: 28px;
}

.our-philosophy-text-wrapper {
    padding-top: 73px;
    width: 100%;
    position: relative;
}

.our-philosophy-text {
    margin-top: 23px;
    margin-bottom: 92px;
    max-width: 552px;
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: 0.01em;
}

.our-philosophy-text-wrapper::before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    background-image: url(../images/top/our_philosophy.svg);
    width: 51.59722222222223vw;
    height: 21.666666666666668vw;
    right: 1.1111111111111112vw;
    top: 1.8055555555555554vw;
}

.section-reason,
.section-facilities {
    position: relative;
}


/*=== 画像　====================================================*/

.img-first-view {
    width: 80.28%;
    height: 45.138%;
}

.img-our-philosophy {
    width: 100%;
    height: auto;
    border-radius: 0px 25px 25px 0px;
}


/*=== カード　====================================================*/

.card__wrapper {
    display: grid;
    justify-content: center;
    align-items: flex-start;
    grid-template-columns: repeat(auto-fill, minmax(auto, 485px));
    gap: 30px;
}

.card {
    max-width: 100%;
    height: auto;
}

.card__imgframe {
    width: 100%;
    height: auto;
    position: relative;
}

.card__imgframe .notes{
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fbf7ef;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}

.card__imgframe .new_open{
    position: absolute;
    left: 10px;
    top: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    background: #F00;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.card__textbox {
    width: 100%;
    height: auto;
    padding: 34px;
    background: var(--bgcolor-quaternary);
    box-sizing: border-box;
}

.card__titletext {
    font-size: 2.8rem;
    color: var(--text-secondary);
    margin-top: 24px;
    margin-bottom: 24px;
}

.card__overviewtext,
.list-default-item {
    line-height: 1.75;
}

.card-skin {
    overflow: hidden;
    border-radius: 25px;
}

.card-link {
    transition: all 0.3s ease 0s;
}

.card-link:hover {
    opacity: 0.6;
}

.card-small {
    max-width: 370px;
    height: auto;
}

.card-small__wrapper {
    max-width: 1204px;
    padding: 0 20px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 27px;
    flex-wrap: wrap;
}

.card-small__imgframe {
    width: 100%;
    height: auto;
}

.card-small__textbox {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.card-small__titletext {
    font-size: 2.8rem;
    margin-top: 32px;
    margin-bottom: 27px;
}

.card-small__overviewtext {
    line-height: 1.75;
}

.card-small-skin {
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.card-small__textbox .strong {
    font-size: 2.8rem;
    color: var(--text-secondary);
}


/*=== フローティングバナー　====================================================*/

.floating-banner {
    padding: 12px 16px;
    font-size: 1.4rem;
    color: var(--text-primary);
    border-radius: 10px;
    border: 2px solid #6EC300;
    background: #F5F9E9;
    line-height: normal;
    text-align: center;
    position: fixed;
    z-index: 99999;
}

.floating-banner .strong {
    font-size: 1.8rem;
    font-weight: bold;
}

.floating-banner:hover {
    opacity: .8;
}

@media screen and (min-width: 767px) {
    .section-reason::after {
        content: '';
        position: absolute;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: -1;
        background-image: url(../images/top/top_bg_1.svg);
        width: 29.097222222222225vw;
        height: 27.083333333333332vw;
        right: 0;
        top: 0;
    }
    .section-facilities::before {
        content: '';
        position: absolute;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: -1;
        background-image: url(../images/top/top_bg_2.svg);
        width: 21.52777777777778vw;
        height: 23.333333333333332vw;
        left: 0;
        top: 3.0555555555555554vw;
    }
    .section-facilities::after {
        content: '';
        position: absolute;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: -1;
        background-image: url(../images/top/top_bg_3.svg);
        width: 23.819444444444443vw;
        height: 27.361111111111114vw;
        right: 0;
        bottom: -4.72vw;
    }
    .floating-banner {
        bottom: 30px;
        right: 0.69vw;
    }
}

@media screen and (max-width: 1000px) {
    .our-philosophy-text {
        font-size: 1.6rem;
        margin-bottom: 60px;
    }
    .card-small__titletext,
    .card-small__textbox .strong {
        font-size: 2.4rem;
    }
}
@media screen and (max-width: 768px) {
    /*=== ファーストビュー　====================================================*/
    .first-view__inner {
        gap: 32px;
    }
    .first-view__title {
        writing-mode: horizontal-tb;
    }
    .our-philosophy__inner {
        grid-template-columns: auto;
        gap: 48px 38px;
    }
    .first-view__inner {
        flex-direction: column;
        padding: 40px 0;
    }
    .floating-banner {
        bottom: 90px;
        right: 0.69vw;
        top: initial;
    }
    .img-first-view {
        width: 100%;
        height: auto;
    }
    .our-philosophy-text-wrapper {
        padding-top: 0;
    }
    .our-philosophy-text {
        margin-top: 0;
        margin-bottom: 32px;
        font-size: 1.4rem;
        font-style: normal;
    }
    .img-our-philosophy {
        border-radius: 25px;
    }
    .card-small__textbox .strong,
    .card-small__titletext {
        font-size: 2rem;
    }
    .card-small__overviewtext,
    .list-default-item {
        line-height: 2;
    }
    .btn-more-view {
        font-size: 1.6rem;
        margin: 0 auto;
    }
    .card__textbox {
        padding: 26px 18px;
    }
    .card__titletext {
        font-size: 2rem;
    }
    .card__imgframe .new_open{
        font-size: 12px;
        width: 90px;
        height: 90px;
    }
    .section-our_philosophy {
        padding: 64px 20px;
    }
    .heading-normal {
        font-size: 2.8rem;
        text-align: center;
    }
    .first-view__title {
        font-size: 6.93vw;
        line-height: normal;
    }
    .first-view__title .strong {
        font-size: 8.53vw;
    }
    .our-philosophy-text-wrapper::before {
        width: 90.93vw;
        height: 45.87vw;
        right: -1.87vw;
        top: -5.07vw;
    }
}