
/* global */
.hidden-pc{
    display: block!important;
}
.hidden-sp {
    display: none!important;
}
.scroll-trigger {
    opacity: 0;
    transform: translate3d(0px, 30px, 0px);
    transition: opacity 2500ms ease, transform 2500ms ease;
}
.scroll-trigger.is-show {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);

}
/* 初期状態：透明で少し下に下げておく */
.scroll-trigger-circle {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 発火時：不透明にして元の位置へ */
.scroll-trigger-circle.is-show {
    opacity: 1;
    transform: translateY(0);
}
/* 初期状態：透明、拡大、ぼかし */
.circle.circle-hospital.scroll-trigger-circle,
.circle.circle-terrace.scroll-trigger-circle,
.circle.circle-care.scroll-trigger-circle {
    opacity: 0;
    filter: blur(10px); /* ぼかし */
    transform: scale(1.2); /* 少し拡大 */
    transition: 
        opacity 0.8s ease-out, 
        filter 0.8s ease-out, 
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); /* 動きを滑らかに */
}

/* 表示時：不透明、ぼかしなし、等倍（シャープに） */
.circle.circle-hospital.scroll-trigger-circle.is-show,
.circle.circle-terrace.scroll-trigger-circle.is-show,
.circle.circle-care.scroll-trigger-circle.is-show {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}
.circle-line.scroll-trigger-circle {
    transition-delay: 1.5s;
}
.circle-main.scroll-trigger-circle {
    transition-delay: 2.5s;
}
.circle-core.scroll-trigger-circle {
    transition-delay: 5.5s;
}
.circle-desire .circle.scroll-trigger-circle {
    transition-delay: 4s;
}

/* base */
body {
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        margin: 0;
        padding: 0;
        background-color: rgba(236, 109, 128, 0.45);
        height: auto;
        min-height: 100vh;
}
.main{
    background-color: #fff;
    border-radius: 4rem;
    width: 85%;
    max-width: 80rem;
    margin: 6rem auto;
}
.main .first-area p {
    color: #687b92;
    line-height: 3.25rem;
    letter-spacing: 0.1rem;
    text-align: center;
    margin: 0 auto;
    font-size: 1.375rem;
}

.main .first-area p:nth-child(3) {
    padding-bottom: 2.5rem;
}

.main .first-area img.title {
    margin: 0 auto;
    padding: 7rem 0 0;
    display: block;
    width: 100%;
    max-width: 30.5rem;
}

.main .first-area .minase-circle-logo {
    position: relative;
    width: 100%;
    max-width: 50rem;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 8rem 0 0;
}

.main .first-area .minase-circle-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main .first-area .minase-circle-logo .title {
    max-width: 13.5rem;
    padding: 0;
}

.main .first-area .minase-circle-logo .front {
    max-width: 45rem;
    width: 100%;
}

.main .first-area .minase-circle-logo .inside {
    max-width: 30rem;
    width: 100%;
}

.main .first-area .minase-circle-logo .main-visual.title.scroll-trigger {
    transition-delay: 0.5s;
}

.main .first-area .minase-circle-logo .main-visual.inside.scroll-trigger {
    transition-delay: 1.5s;
}

.main .first-area .minase-circle-logo .main-visual.front.scroll-trigger {
    transition-delay: 2.5s;
}
.main .columns-area {
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
}

.main .columns-area img {
    width: 100%;
    max-width: 15rem;
    display: block;
    margin: 0 auto;
}

.main .columns-area .hospital {
    line-height: 1.75rem;
    letter-spacing: 0.1rem;
    text-align: center;
    font-size: 1.25rem;
    margin: 5rem 0 3rem;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-basis: 33.33%;
    color: #eb6379;
    border-right: 1px solid #cbd2d9;
    width: 100%;
}

.main .columns-area .terrace {
    display: inline-block;
    line-height: 1.75rem;
    letter-spacing: 0.1rem;
    text-align: center;
    font-size: 1.25rem;
    margin: 5rem 0 3rem;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-basis: 33.33%;
    color: #f6c000;
    border-right: 1px solid #cbd2d9;
    width: 100%;
}

.main .columns-area .care {
    display: inline-block;
    line-height: 1.75rem;
    letter-spacing: 0.1rem;
    text-align: center;
    font-size: 1.25rem;
    margin: 5rem 0 3rem;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-basis: 33.33%;
    color: #3fbdda;
    width: 100%;
}

/* 共通スタイルの定義 */
.main .columns-area .hospital, 
.main .columns-area .terrace, 
.main .columns-area .care {
    line-height: 1.75rem;
    letter-spacing: 0.1rem;
    text-align: center;
    font-size: 1.25rem;
    margin: 5rem 0 3rem; 
    padding: 0 1rem;
    box-sizing: border-box;
    flex-basis: 33.33%;
    width: 100%;
}
@media (min-width: 1024px) {
    .main .columns-area .hospital p, 
    .main .columns-area .care p {
        width: 100%;
    }
}
.main .columns-area div > p {
    margin-top: 1.5rem; 
    margin-bottom: 0;
}
.main .content-area p {
    color: #687b92;
    line-height: 3.25rem;
    letter-spacing: 0.1rem;
    text-align: center;
    margin: 0 auto;
    font-size: 1.375rem; 
}

.main .content-area .image-area {
    display: block;
}

.main .content-area .image-area img {
    width: 100%;
    max-width: 85%;
    display: block;
    margin: 0 auto;
}

.main .content-area .image-area .caption {
    display: block;
    margin: 10rem auto 10rem;
    text-align: center;
}

.main .content-area .image-area .caption span {
    background-color: #17a07c;
    color: #fff;
    font-weight: bold;
    font-size: 1.625rem;
    display: inline-block;
}

.main .content-area .image-area .caption span:nth-child(1) {
    margin-bottom: 1rem;
}

.main .content-area .contact {
    text-align: center;
}

.main .content-area .contact p:nth-child(2) {
    padding: 3rem 0;
    margin: 0;
}

.main .content-area .contact .button-area {
    gap: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 50rem;
    margin: 4rem auto;
}

/* メールボタン基本 */
.main .content-area .contact .button-area a.contact-mail {
    background-color: #fff;
    color: #17a07c;
    font-weight: bold;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6rem;
    margin: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #17a07c;
    width: 100%;
    max-width: 21.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.main .content-area .contact .button-area a.contact-mail:before {
    content: "";
    background-image: url("../img/mail_icon.svg");
    display: inline-block; 
    width: 1.875rem; 
    height: 1.625rem; 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.main .content-area .contact .button-area a.contact-mail:hover {
    background-color: #17a07c;
    color: #fff;
}

.main .content-area .contact .button-area a.contact-mail:hover:before {
    background-image: url("../img/mail_icon_hover.svg");
}

/* LINEボタン基本 */
.main .content-area .contact .button-area a.contact-line {
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #fff;
    color: #17a07c;
    font-weight: bold;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6rem;
    margin: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #17a07c;
    width: 100%;
    max-width: 21.25rem;
    box-sizing: border-box;
}

.main .content-area .contact .button-area a.contact-line:before {
    content: "";
    background-image: url("../img/line_icon.svg");
    display: inline-block; 
    width: 1.875rem; 
    height: 1.625rem; 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.main .content-area .contact .button-area a.contact-line:hover {
    background-color: #17a07c;
    color: #fff;
}

.main .content-area .contact .button-area a.contact-line:hover:before {
    background-image: url("../img/line_icon_hover.svg");
}

/* マップエリア */
.main .content-area .map {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    /* height: 50dvh;
    overflow: hidden; */
}

.main .content-area .map iframe {
    width: 90%;
    margin: 0 auto;
    /* height: calc(100% + 70px); */
    /* margin-top: -70px; */
    border: none;
}

.main .content-area .map a {
    background-color: #17a07c;
    color: #fff;
    font-weight: bold;
    font-size: 1.375rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6rem;
    margin: 4rem auto;
    display: inline-block;
}

.main .content-area .map a:before {
    content: "";
    background-image: url("../img/map.svg");
    display: inline-block; 
    width: 1.875rem; 
    height: 1.625rem; 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.main .circle-area {
    position: relative;
    width: 100%;
    max-width: 50rem;
    aspect-ratio: 1 / 1;
    margin: 5rem auto 0;
}

.main .circle-area .circle-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background-image: url("../img/circle_line.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.main .circle-area .circle-main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
}

.main .circle-area .circle-main .circle {
    position: absolute;
    width: 28%; 
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

/* 各サークル個別の設定 */
.main .circle-area .circle-main .circle.circle-hospital {
    background-color: rgb(238, 134, 154);
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle.circle-hospital:before {
    content: "";
    background-image: url("../img/hospital_title.svg");
    display: inline-block;
    margin: 0 auto;
    width: 80%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: brightness(0) invert(1);
}

.main .circle-area .circle-main .circle.circle-care {
    background-color: rgb(59, 188, 217);
    top: 74%;
    left: 7%;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle.circle-care:before {
    content: "";
    background-image: url("../img/care_title.svg");
    display: inline-block;
    margin: 0 auto;
    width: 85%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: brightness(0) invert(1);
}

.main .circle-area .circle-main .circle.circle-terrace {
    background-color: rgb(246, 206, 70);
    top: 74%;
    right: -20%;
    left: unset;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle.circle-terrace:before {
    content: "";
    background-image: url("../img/terrace_title.svg");
    display: inline-block;
    margin: 0 auto;
    width: 85%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: brightness(0) invert(1);
}

/* 希望（desire）サークル群 */
.main .circle-area .circle-main .circle-desire .circle {
    position: absolute;
    width: 25%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:#687c93;
}

.main .circle-area .circle-main .circle-desire .circle p {
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.4rem;
}

.main .circle-area .circle-main .circle-desire .circle.desire-restore {
    background-color: #ffc1dc;
    top: 25%;
    left: 35%;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle-desire .circle.desire-carelife {
    background-color: #dac9e5;
    top: 50%;
    right: 52%;
    left: unset;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle-desire .circle.desire-challenge {
    background-color: #cae7a8;
    top: 74%;
    left: 36%;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle-desire .circle.desire-nolonly {
    background-color: #edf088;
    top: 74%;
    right: 12%;
    left: unset;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle-desire .circle.desire-contribute {
    background-color: #ffc875;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
}
.main .circle-area .circle-main .circle-desire .circle.desire-prevent {
    background-color: #ffb983;
    top: 25%;
    right: 10%;
    left: unset;
    transform: translate(-50%, -50%);
}

/* センター（core） */
.main .circle-area .circle-main .circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
}

.main .circle-area .circle-main .circle-core p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    color: #687c93;
    font-size: 1.1rem;
    line-height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;

}

.main footer {
    padding: 3rem 0 7rem;
}

.main footer span:nth-child(2) {
    line-height: 2.2rem;
    letter-spacing: 0.1rem;
    color: #687b92;
    display: block;
    text-align: center;
    font-size: 1.125rem;
    margin: 1rem auto 2.5rem;
}
.main footer .copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 72%;
    margin: 0 auto;
}
.main footer .copy span:nth-child(1) {
    letter-spacing: 1px;
    color: #687b92;
    display: block;
    text-align: center;
    font-size: .6rem;
    margin: 0;
}

.main footer .copy span:nth-child(2) {
    letter-spacing: 1px;
    color: #687b92;
    display: block;
    text-align: center;
    font-size: 0.5rem;
    margin: 0;
}

.main footer .sns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem auto 2rem;
}

.main footer .sns a:nth-child(1) {
    width: 100%;
    height: 100%;
    max-width: 3.5rem;
    max-height: 3.5rem;
}

.main footer .sns a:nth-child(1):before {
    content: "";
    background-image: url("../img/instagram_icon.svg");
    display: inline-block;
    width: 3.5rem;
    height: 3.5rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

.main footer .sns a:nth-child(1):hover:before {
    content: "";
    background-image: url("../img/instagram_icon_hover.svg");
    display: inline-block;
    width: 3.5rem;
    height: 3.5rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

@media (max-width: 1023px) {
    body {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .hidden-pc{
        display: none!important;
    }
    .hidden-sp {
        display: block!important;
    }
    .main {
        background-color: #fff;
        border-radius: 4rem;
        width: 100%;
        max-width: 87%;
        border-radius: 1.5rem;
        margin: 1.5rem auto;
    }
    .main .first-area img.title {
            max-width: 14rem;
            padding: 3rem 0 0;
        }

    .main .first-area p {
        font-size: 0.7rem;
        line-height: 1.45rem;
        letter-spacing: 0.1rem;
        font-weight: 600;
    }

    .main .first-area .minase-circle-logo .front {
        max-width: 17rem;
    }

    .main .first-area .minase-circle-logo .inside {
        max-width: 11rem;
    }

    .main .first-area .minase-circle-logo .title {
        max-width: 5rem;
    }
.main .columns-area {
        display: block;
    }

    .main .columns-area .hospital,
    .main .columns-area .terrace,
    .main .columns-area .care {
        font-size: .875rem;
        margin: 4rem auto 0;
        padding: 0 0 4rem;
        display: block;
        width: 100%;
        max-width: 75%;
        border: none;
    }

    .main .columns-area .hospital img,
    .main .columns-area .terrace img,
    .main .columns-area .care img {
        width: 100%;
        max-width: 9rem;
        margin: 0 auto;
    }

    .main .columns-area .hospital p,
    .main .columns-area .terrace p,
    .main .columns-area .care p {
        line-height: 1.2rem;
        margin: 0.4rem;
        font-size: 0.7rem;
    }

    .main .columns-area .hospital img {
        max-width: 10rem;
    }

    .main .columns-area div:nth-child(1) {
        border-bottom: 1px solid #cbd2d9;
        padding-bottom: 0rem;
        margin: 2rem auto;
    }
    .main .columns-area div:nth-child(2) {
        border-bottom: 1px solid #cbd2d9;
        padding-bottom: 1rem;
        margin: 2rem auto;
    }
    .main .columns-area div:nth-child(3) {
        padding-bottom: 1rem;
        margin: 2rem auto;
    }
    .main .columns-area > div:nth-child(3) {
        padding-bottom: 1rem;
        margin: 2rem auto 0;
    }
.main .content-area p {
        font-size: .75rem;
        line-height: 2.05rem;
        letter-spacing: 0.1rem;
        margin-bottom: 4rem;
    }

    .main .content-area .image-area p {
        line-height: 1.65rem;
        margin-bottom: 3.5rem;
        font-size: 0.7rem;
        font-weight: 600;
    }

    .main .content-area .image-area .caption {
        margin: 3.5rem 0 2rem;
    }

    .main .content-area .image-area .caption span {
        font-size: 0.8rem;
    }

    .main .content-area .image-area .caption span:nth-child(1) {
        margin-bottom: .2rem;
        font-size: 0.75rem;
    }

    .main .content-area .contact p {
        font-size: 0.7rem;
        line-height: 1.65rem;
        letter-spacing: 0.1rem;
        font-weight: 600;
        margin: 0 auto;
    }

    .main .content-area .contact p:nth-child(2) {
        padding: 0;
    }

    .main .content-area .contact img {
        width: 100%;
        max-width: 85%;
    }

    .main .content-area .contact .button-area {
        display: block;
        margin: 2rem 0;
    }

    .main .content-area .contact .button-area .contact-mail:nth-child(1) {
        margin-bottom: 1rem;
    }

    .main .content-area .contact .button-area a.contact-mail,
    .main .content-area .contact .button-area a.contact-line {
        font-size: .75rem;
        width: 100%;
        max-width: 15rem;
        margin: 0;
        padding: 0.5rem 1rem;
    }

    .main .content-area .contact .button-area a.contact-mail:before,
    .main .content-area .contact .button-area a.contact-line:before {
        width: 1.1875rem;
    }

    .main .content-area .contact .button-area a.contact-mail:hover:before,
    .main .content-area .contact .button-area a.contact-line:hover:before {
        width: 1.1875rem;
    }

    .main .content-area .map {
        max-width: 90%;
    }

    .main .content-area .map img {
        width: 100%;
        max-width: 85%;
    }

    .main .content-area .map a {
        font-size: 0.8rem;
    }

    .main .content-area .map a:before {
        width: .9375rem;
        height: .8125rem;
    }
    .main .circle-area {
            margin: -1rem auto 0;
        }

    .main .circle-area .circle-line {
        width: 83%;
    }

    .main .circle-area .circle-main {
        width: 83%;
    }

    .main .circle-area .circle-main .circle-desire .circle p {
        font-size: .45rem;
        letter-spacing: 0.08rem;
        line-height: .6rem;
    }

    .main .circle-area .circle-main .circle-core p {
        font-size: 0.6rem;
        letter-spacing: 0.05rem;
        line-height: 1rem;
    }
    .main footer {
            padding: 1rem 0 1rem;
        }
    .main footer .copy {
        display: block;
    }
    .main footer span:nth-child(2) {
        font-size: 0.7rem;
        letter-spacing: 0.05rem;
        margin-bottom: 1.5rem;
        line-height: 1.2rem;
    }

    .main footer .copy span:nth-child(1) {
        font-size: 0.525rem;
        letter-spacing: 0.05rem;
        margin-bottom: 0.5rem;
    }

    .main footer .copy span:nth-child(2) {
        font-size: 0.525rem;
        letter-spacing: 0;
        margin-bottom: 1rem;
        line-height: 0.6rem;
    }

    .main footer .sns {
        margin: 1rem auto 1rem;
        gap: 1rem;
    }

    .main footer .sns a:nth-child(1) {
        max-width: 2.5rem;
        max-height: 2.5rem;
    }

    .main footer .sns a:nth-child(1):before {
        width: 2.5rem;
        height: 2.5rem;
    }

    .main footer .sns a:nth-child(1):hover:before {
        width: 2.5rem;
        height: 2.5rem;
    }


}
@media (min-width: 767.9px) and (max-width: 1022px) {
    .main .first-area .minase-circle-logo .front {
        max-width: 32rem;
    }
    .main .first-area .minase-circle-logo .inside {
        max-width: 21rem;
    }
    .main .first-area .minase-circle-logo .title {
        max-width: 10rem;
    }
}

@media (min-width: 767.9px) and (max-width: 1238px) {
        .main footer {
            padding: 1rem 0 1rem;
        }
    .main footer .copy {
        display: block;
    }
    .main footer span:nth-child(2) {
        font-size: 0.7rem;
        letter-spacing: 0.05rem;
        margin-bottom: 1.5rem;
        line-height: 1.2rem;
    }

    .main footer .copy span:nth-child(1) {
        font-size: 0.525rem;
        letter-spacing: 0.05rem;
        margin-bottom: 0.5rem;
    }

    .main footer .copy span:nth-child(2) {
        font-size: 0.525rem;
        letter-spacing: 0;
        margin-bottom: 1rem;
        line-height: 0.6rem;
    }

    .main footer .sns {
        margin: 1rem auto 1rem;
        gap: 1rem;
    }

    .main footer .sns a:nth-child(1) {
        max-width: 2.5rem;
        max-height: 2.5rem;
    }

    .main footer .sns a:nth-child(1):before {
        width: 2.5rem;
        height: 2.5rem;
    }

    .main footer .sns a:nth-child(1):hover:before {
        width: 2.5rem;
        height: 2.5rem;
    }

}