@charset "utf-8";

:root {
    /* ---------- フォント設定 ---------- */
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: var(--Medium);
    font-style: normal;
    color: var(--black);
    --Regular: 400;
    --Medium: 500;
    --semiBold: 600;
    --Bold: 700;
    --Noto-Serif: "Noto Serif JP", serif;
    ;

    /* ---------- カラー設定 ---------- */
    --white: rgb(255 255 255 / 1.0);
    --black: rgb(0 0 0 / 1.0);
    --bgcolor: rgb(245 245 245 / 1.0);
    --darkcolor: rgb(46 110 92 / 1.0);
    --header-darkbgcolor: rgb(46 110 92 / 0.9);
    --palecolor: rgb(243 255 219 / 1.0);
    --linkcolor: rgb(255 202 128 / 1.0);
    --item-border: rgb(51 92 255 / 0.1);
    --dot-inactive: rgb(217 217 217 / 1.0);
    --bordercolor: rgb(189 189 189 / 1.0);
    --footer-bgcolor: rgb(46 81 75 / 1.0);
    background-color: var(--bgcolor);
}

/* ---------- リンク切れ ---------- */
a[href="#"] {
    color: red !important;
}

/* -----------sp　全体レイアウト ---------- */
:root {
    font-size: 3.3333vw;
    /* 480px → 16px */
}

.break,
.s-break {
    display: block;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    padding: 8px 16px;
    z-index: 9999;
    overflow: visible;
}

/* -----------PC　全体レイアウト ---------- */
@media screen and (width > 768px) {
    :root {
        font-size: min(1.3115vw, 16px);
        /* 16px/1220px- */
    }

    .l-wrapper {
        max-width: 1920px;
        margin: auto;
    }

    .s-wrapper,
    .consul-wrapper {
        max-width: 1220px;
        /* 1280-1220=60 */
        /* padding-left: 1.875rem;
        padding-right: 1.875rem; */
        margin: auto;
    }

    .s-break {
        display: inline;
    }
}





/* ----- 背景画像設定 ----- */
main {
    background-size: contain;
    background-repeat: repeat-y;
    mix-blend-mode: multiply;
}





/* ---------- ヘッダー レイアウト ---------- */
/* ----- sp 汎用レイアウト ----- */
header {
    width: 100vw;
    aspect-ratio: 481 / 418;
    position: relative;
    background-size: cover;
    background-position: right center;

    .h-wrapper {
        padding: 1.875rem 2.75rem 0;
        display: flex;
        justify-content: space-between;

        .logo-area {
            position: absolute;
            top: 1.875rem;
            left: 2.75rem;
            /* z-index: 2000; */
            width: 11.875rem;
            height: 5.9375rem;
            overflow: hidden;

            img {
                width: 100%;
                height: auto;
            }
        }

        .hamburger {
            position: absolute;
            top: 1.875rem;
            right: 2.75rem;
            border: none;
            background-color: inherit;
            padding: 0;
            margin: 0;
            width: 5rem;
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
            z-index: 1500;
            cursor: pointer;

            span {
                display: block;
                width: 1.875rem;
                height: 0.625rem;
                background-color: var(--white);
                /* transition: all 0.3s; */
                transform-origin: center;

                &:first-child {
                    width: 100%;
                }

                &:nth-child(2) {
                    width: 3.75rem;
                }

                &:last-child {
                    width: 2.5rem;
                }

                &:nth-child(2),
                &:last-child {
                    margin-left: auto;
                }
            }
        }

        .hamburger.active {
            position: fixed;
        }

        .hamburger.active span:nth-child(1) {
            width: 3.75rem;
            margin-left: auto;
            transform: translate(0, 1.25rem) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            width: 3.75rem;
            transform: translate(0, -1.25rem) rotate(-45deg);
        }

        .header-nav {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1100;
            width: 100vw;
            min-height: 100dvh;
            background-color: var(--header-darkbgcolor);
            /* 仮 */
            background-repeat: no-repeat;
            background-size: cover;
            transition: all 0.3s;
            translate: 100% 0;

            .logo-area {
                position: fixed;
                top: 1.875rem;
                left: 2.75rem;
                width: 5.3125rem;
                height: 3.75rem;
                overflow: hidden;
                /* transition: all 0.1s; */
                
                opacity: 0;

                img {
                    width: 100%;
                    height: auto;
                }
            }


            ul {
                padding: 0;
                margin: 10rem 0 0 0;

                li {
                    margin-bottom: 2.5rem;

                    a {
                        display: block;
                        font-size: 2rem;
                        color: var(--white);
                        text-align: center;
                    }

                    &:last-child {
                        margin-bottom: 1.25rem;

                        a {
                            display: block;
                            margin: 5rem auto 0;
                            padding: 0.625rem 2.125rem;
                            width: fit-content;
                            font-size: 1rem;
                            line-height: 1.1875;
                            color: var(--black);
                            background-color: var(--linkcolor);
                            border-radius: 1.21875rem;
                        }
                    }
                }
            }

            .tel {
                margin: auto;
                display: block;
                width: fit-content;
                font-size: 1.25rem;
                color: var(--white);
            }
        }
    }

    .header-nav.active {
        translate: 0 0;
        .logo-area {
            transition-delay: 0.3s;
            opacity: 1;
        }
    }


    .title-area {
        position: absolute;
        bottom: 0;
        padding: 1.375rem 2.5rem;
        width: 100vw;
        background-color: var(--header-darkbgcolor);

        .title {
            line-height: 1;
            font-weight: var(--Bold);
            text-align: center;
            font-size: 2rem;
            letter-spacing: 0.01em;
            color: var(--white);

            &.item {
                font-size: 1.25rem;
            }
        }
    }
}


/* ----- sp topレイアウト ----- */
.home {
    header {
        aspect-ratio: 483 / 785;

        .title-area {
            .top-title {
                font-family: var(--Noto-Serif);
                font-weight: var(--semiBold);
                line-height: 1.5;
                text-align: left;
            }
        }
    }
}

/* ----- pc 汎用レイアウト ----- */
@media screen and (width > 768px) {
    header {
        width: 100%;
        height: 18.75rem;
        /* aspect-ratio: 1920 / 300; */
        background-position: center;

        .h-wrapper {
            padding: 2.5rem 3.625rem 0;

            .logo-area {
                position: initial;
                width: 13.25rem;
                height: 6.5625rem;
                overflow: hidden;

                img {
                    width: 100%;
                    height: auto;
                }
            }

            .hamburger {
                display: none;
            }

            .header-nav {
                position: static;
                padding: 0;
                width: auto;
                min-height: fit-content;
                height: auto;
                background-color: inherit;
                translate: 0 0;
                transition: none;

                .logo-area {
                    display: none;
                }

                ul {
                    margin: 0;
                    padding: 0.6875rem 1.0625rem 0.5625rem 2.0625rem;
                    height: 3.5rem;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: end;
                    align-items: center;
                    gap: 0.8125rem;
                    background-color: var(--white);
                    border-radius: 1.75rem;

                    li {
                        margin: 0;
                        padding: 0;
                        border: none;
                        border-right: 1px solid var(--white-color);


                        a {
                            display: block;
                            position: relative;
                            height: auto;
                            margin: 0;
                            padding: 0.375rem 1rem;
                            font-size: 1.25rem;
                            color: var(--darkcolor);
                            line-height: 1;
                            transition: all 0.3s;

                            &:after {
                                content: "";
                                position: absolute;
                                left: 0;
                                bottom: -2px;
                                width: 100%;
                                height: 2px;
                                background: var(--darkcolor);
                                transition: transform 0.4s;
                                transform: scale(0, 1);
                            }

                            &:hover&::after {
                                transform: scale(1, 1);
                            }
                        }

                        &:last-child {
                            margin-bottom: 0;

                            a {
                                margin-top: 0;
                                padding: 0.375rem 1.75rem;
                                font-size: 1.25rem;
                                font-weight: var(--Bold);
                                background-color: var(--linkcolor);
                                border-radius: 1rem;
                                transition: 0.3s;

                                &::after {
                                    display: none;
                                }

                                &:hover {
                                    opacity: 0.5;
                                }
                            }
                        }

                        &.current-menu-item {
                            a::after {
                                transform: scale(1, 1);
                            }
                        }
                    }
                }

                .tel {
                    display: none;
                }
            }
        }

        .title-area {
            padding: 1.25rem 0;
            width: 100%;


            .title {
                font-size: 2.6875rem;

                &.item {
                    font-size: 2.6875rem;
                }
            }
        }
    }
}

/* ----- pc topレイアウト ----- */
@media screen and (width > 768px) {
    .home {
        header {
            height: 48.75rem;

            .title-area {
                .top-title {
                    max-width: 1220px;
                    margin: auto;
                    line-height: 1.4419;
                    text-align: left;
                }
            }
        }
    }
}





/* ---------- フッター レイアウト ---------- */
/* ----- sp レイアウト ----- */
footer {
    .footer-wrapper {
        background-color: var(--footer-bgcolor);

        .main-footer {
            padding: 1.375rem 2.5rem 2.625rem;

            .logo-area {
                margin-bottom: 1.25rem;
                width: 11.875rem;
                height: 5.9375rem;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }

            .address-area {
                display: flex;
                flex-direction: column;
                color: var(--white);

                address {
                    margin-bottom: 2.5625rem;
                    font-style: normal;
                    line-height: 1.75;
                }

                .footer-nav {
                    margin-bottom: 0.875rem;

                    ul {
                        margin: 0;
                        padding: 0;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 0.75rem 3rem;
                    }
                }

                .map-area {
                    order: -1;
                    margin-bottom: 1.25rem;
                    width: 100%;
                    aspect-ratio: 400 / 272;

                    iframe {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }

        .sub-footer {
            padding: 2.5rem 0 5rem;
            background-color: var(--bgcolor);

            .privacy {
                margin-bottom: 1.25rem;
                font-size: 1.25rem;
                font-weight: normal;
                color: var(--darkcolor);
                text-align: center;
            }

            .copyright {
                text-align: center;

                small {
                    font-size: 0.75rem;
                    font-weight: normal;
                }
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media screen and (width > 768px) {
    footer {
        .footer-wrapper {
            background-color: var(--footer-bgcolor);

            .main-footer {
                max-width: 1280px;
                padding: 2.5rem 1.875rem 2.8125rem;
                margin: auto;

                .logo-area {
                    margin-bottom: 2.5rem;
                    width: 13.25rem;
                    height: 6.5625rem;
                }

                .address-area {
                    flex-direction: row;
                    justify-content: space-between;
                    font-weight: var(--Medium);

                    .word-area {
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;

                        address {
                            padding: 0;
                            margin: 0;
                            font-size: 1.5625rem;
                            line-height: 1.76;
                        }

                        .footer-nav {
                            margin-bottom: 0;

                            ul {
                                font-size: 1.25rem;
                                gap: 3.3125rem;

                                a {
                                    transition: 0.3s;

                                    &:hover {
                                        opacity: 0.5;
                                    }
                                }
                            }
                        }

                        p {
                            font-size: 1.25rem;

                            a {
                                transition: 0.3s;

                                &:hover {
                                    opacity: 0.5;
                                }
                            }
                        }
                    }

                    .map-area {
                        order: unset;
                        margin-bottom: 0;
                        width: 29rem;
                        aspect-ratio: 464 / 315;
                    }
                }
            }

            .sub-footer {
                padding: 5rem 0;

                .privacy {
                    margin-bottom: 3.125rem;
                    font-size: 1.5625rem;
                }

                .copyright {
                    small {
                        font-size: 1rem;
                    }
                }
            }
        }
    }
}





/* ---------- 共通リンクエリア　レイアウト --------- */
/* ----- sp レイアウト ----- */
.consul-area {
    padding-bottom: 5rem;
    background-size: contain;
    background-repeat: no-repeat;

    .consul-wrapper {
        margin: 0 2.5rem 0;
        border: 1px solid var(--black);

        .consul-contents {
            margin-top: 0.875rem;

            h3 {
                width: fit-content;
                margin: 0 auto 1.25rem;
                font-size: 1.25rem;
                font-weight: var(--Bold);
                text-align: center;
                line-height: 1.1;
                border-bottom: 2px solid var(--black);
            }

            .tel {
                margin: 0 auto 0.8125rem;
                display: block;
                width: 14.375rem;
                height: 2.75rem;
                font-size: 1.25rem;
                font-weight: var(--Bold);
                text-align: center;
                line-height: 2.75rem;
                background-color: var(--linkcolor);
                transition: 0.3s;

                &:hover {
                    opacity: 0.5;
                }
            }

            .time {
                margin-bottom: 1.375rem;
                text-align: center;
            }

            .formlink {
                display: block;
                width: 19.6875rem;
                margin: auto;
                padding: 0.875rem 0;
                border: 1px solid var(--black);
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 0.5625rem;

                img {
                    width: 1.875rem;
                    object-fit: contain;
                }
            }

            .note {
                padding: 0;
                margin-top: 1.25rem;
                padding: 0.625rem;
                color: var(--white);
                text-align: center;
                background-color: var(--darkcolor);
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media screen and (width > 768px) {
    .consul-area {
        padding-bottom: 10rem;

        .consul-wrapper {
            margin: 0 auto;
            border: none;
            padding: 0 7.875rem;
            background-size: contain;
            background-repeat: no-repeat;

            .consul-contents {
                margin-top: 0;
                padding-top: 1.875rem;
                border: 1px solid var(--black);

                h3 {
                    padding: 0 1.6rem 0.625rem;
                    margin: 0 auto 2.5rem;
                    font-size: 2.6875rem;
                    line-height: 1.2093;
                }

                .tel {
                    margin: 0 auto 1.4375rem;
                    display: block;
                    width: 34rem;
                    height: 6.25rem;
                    font-size: 2.6875rem;
                    line-height: 6.25rem;
                    pointer-events: none;
                }

                .time {
                    margin-bottom: 2.6875rem;
                    font-size: 1.5625rem;
                }

                .formlink {
                    width: 34rem;
                    margin: auto;
                    padding: 1.3125rem 2.875rem;
                    font-size: 1.25rem;
                    gap: 4.625rem;
                    transition: 0.3s;

                    &:hover {
                        opacity: 0.5;
                    }

                    img {
                        width: 4.625rem;
                    }
                }

                .note {
                    margin-top: 2.5rem;
                    padding: 1.3125rem;
                    font-size: 1.5625rem;
                }
            }
        }
    }
}





/* ----- カテゴリーページ　ページネーション ----- */
/* ----- sp ----- */
.list-pagination {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;

    .page-numbers {
        margin: 0;
        width: 1.8125rem;
        min-width: auto;
        height: 1.8125rem;
        display: block;
        font-size: 1rem;
        text-align: center;
        line-height: 1.8125rem;
        color: var(--white);
        font-family: var(--Noto-Sans);
        background-color: var(--black);
        border-radius: 50%;
        transition: all 0.3s;

        &:active {
            background-color: var(--black);
        }
    }

    .current {
        background-color: var(--darkcolor);
        pointer-events: none;
    }


}

/* ----- pc ----- */
@media screen and (width > 768px) {
    .list-pagination {
        margin-bottom: 7.5rem;

        .page-numbers {
            width: 1.8125rem;
            height: 1.8125rem;
            font-size: 1rem;
            line-height: 1.8125rem;

            &:hover {
                opacity: 0.6;
            }
        }

        .current:hover {
            opacity: 1;
        }
    }
}





/* --------- トップページ --------- */
/* ----- sp レイアウト ----- */
.home {
    .intro-area {
        .s-wrapper {
            padding: 7.5rem 0 2.625rem;

            h2 {
                margin-bottom: 0.75rem;
                font-size: 1.25rem;
                font-weight: var(--Bold);
                text-align: center;
            }

            p {
                text-align: center;

            }
        }
    }

    .support-area {
        .s-wrapper {
            margin-bottom: 2.5rem;

            .brindcare-area,
            .brindlabo-area {
                .desc-area {
                    h3 {
                        margin-bottom: 0.625rem;
                        width: 27.5rem;
                        height: 4.9375rem;
                        background-color: var(--darkcolor);
                        color: var(--white);
                        font-weight: var(--Bold);
                        text-align: center;
                        line-height: 1.875rem;
                        padding-top: 0.625rem;

                        .title {
                            font-size: 1.25rem;
                        }
                    }

                    p {
                        margin: 0 2.5rem;
                        line-height: 1.75;
                        margin-bottom: 0.625rem;

                    }
                }

                .img-area {
                    width: 27.5rem;
                    aspect-ratio: 440 / 330;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }

            .brindcare-area {
                margin-bottom: 3.0625rem;

                .desc-area {
                    h3 {
                        margin-left: auto;
                        font-weight: var(--Bold);
                        border-radius: 0 0 0 3.75rem;

                        .title {
                            font-size: 1.25rem;
                        }
                    }
                }

                .img-area {
                    border-radius: 0 3.75rem 0 0;
                }
            }

            .brindlabo-area {
                margin-bottom: 1.25rem;

                .desc-area {
                    h3 {
                        margin-right: auto;
                        font-weight: var(--Bold);
                        border-radius: 0 0 3.75rem 0;

                        .title {
                            font-size: 1.25rem;
                        }
                    }

                    p {
                        margin-bottom: 1.25rem;
                    }
                }

                .img-area {
                    margin-left: auto;
                    border-radius: 3.75rem 0 0 0;
                }
            }

            a {
                width: fit-content;
                margin: auto;
                display: block;
                padding: 0.625rem 1.875rem;
                background-color: var(--linkcolor);
                text-align: center;
                font-weight: var(--Bold);
                border-radius: 3.5625rem;
                transition: 0.3s;

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }

    /* ----- タイトル ----- */
    .details-area,
    .item-area,
    .news-area {
        .s-wrapper {
            margin-bottom: 2.5rem;

            h2 {
                padding: 0.625rem 0;
                font-size: 1.5rem;
                font-weight: var(--Bold);
                text-align: center;
                background-color: var(--palecolor);
            }
        }
    }

    .details-area {
        .s-wrapper {
            h2 {
                margin-bottom: 2.5rem;
            }

            .contents-area {
                padding: 0 4.4375rem;

                .content {
                    img {
                        width: 21.125rem;
                        height: 15.875rem;
                        object-fit: cover;
                        border-radius: 1.25rem 1.25rem 0 0;
                    }

                    h3 {
                        margin-bottom: 1.25rem;
                        height: 3.75rem;
                        font-size: 1.5rem;
                        color: var(--white);
                        text-align: center;
                        line-height: 3.75rem;
                        background-color: var(--darkcolor);
                    }

                    p {
                        margin-bottom: 2.5rem;
                        line-height: 1.75;
                    }
                }
            }

            a {
                display: block;
                margin: 0 2.5rem;
                padding: 0.71875rem 0;
                font-weight: var(--Bold);
                line-height: 1;
                text-align: center;
                background-color: var(--linkcolor);
                border-radius: 1.2188rem;
                transition: 0.3s;

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }

    .item-area {
        .s-wrapper {
            margin-bottom: 4.1875rem;

            h2 {
                margin-bottom: 2.5rem;
            }

            .item-list {
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 2.5rem;

                .item {
                    .item-thumb {
                        margin-bottom: 1.25rem;
                        width: 25rem;
                        height: 18.75rem;
                        border-radius: 1.25rem;
                        border: 1px solid var(--item-border);
                        background-color: var(--white);
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }

                        &:has(p) {
                            background-color: var(--bordercolor);
                        }

                        p {
                            height: 100%;
                            font-size: 1.4rem;
                            color: var(--white);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                    }

                    .item-title {
                        margin-bottom: 0.625rem;
                    }

                    .date-line {
                        display: block;
                        margin-bottom: 1.25rem;
                    }

                    .more-link {
                        margin: auto;
                        display: block;
                        width: fit-content;
                        height: 2.4375rem;
                        padding: 0 3.4375rem;
                        font-weight: var(--Bold);
                        color: var(--white);
                        line-height: 2.4375rem;
                        text-align: center;
                        background-color: var(--darkcolor);
                        border-radius: 1.2188rem;
                        transition: 0.3s;

                        &:hover {
                            opacity: 0.5;
                        }
                    }
                }
            }
        }
    }

    .news-area {
        .s-wrapper {
            h2 {
                margin-bottom: 2.5rem;
            }

            .news-carousel {
                position: relative;

                .carousel-pause {
                    margin-left: 2.5rem;
                }

                .carousel-track {
                    padding: 0;
                    margin-bottom: 1.25rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 20px;

                    .carousel-item {
                        position: relative;
                        display: none;
                        flex-shrink: 0;
                        width: 25rem;
                        aspect-ratio: 4 / 3;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }

                        .title {
                            position: absolute;
                            bottom: 0;
                            width: 100%;
                            font-size: 1.25rem;
                            color: var(--white);
                            margin: 0;
                            padding: 0.75rem 0 1rem;
                            line-height: 1.2;
                            text-align: center;
                            background-color: var(--darkcolor);
                        }
                    }
                }
            }

            .carousel-dots {
                margin-bottom: 2.5rem;
                display: flex;
                justify-content: center;
                gap: 1.5625rem;

                .dot {
                    width: 1.625rem;
                    height: 1.625rem;
                    border-radius: 50%;
                    border: none;
                    background: var(--dot-inactive);
                    cursor: pointer;
                    transition: background 0.2s, transform 0.2s;

                    &.active {
                        background: var(--darkcolor);
                    }
                }
            }

            .detail {
                display: block;
                margin: 0 2.5rem 4.25rem;
                height: 2.4375rem;
                font-weight: var(--Bold);
                line-height: 2.4375rem;
                text-align: center;
                background-color: var(--linkcolor);
                border-radius: 1.2188rem;
                transition: 0.3s;

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .home {
        .intro-area {
            .s-wrapper {
                padding: 7.5rem 0 5rem;
                background-size: contain;
                background-position: center bottom 5rem;
                background-repeat: no-repeat;

                h2 {
                    margin-bottom: 3.25rem;
                    font-size: 2.6875rem;
                }

                p {
                    font-size: 1.25rem;
                }
            }
        }

        .support-area {
            .s-wrapper {
                position: relative;
                margin-bottom: 5rem;

                .brindcare-area,
                .brindlabo-area {
                    display: flex;

                    .desc-area {
                        width: 44.75rem;
                        height: 23.625rem;

                        h3 {
                            margin-bottom: 1.25rem;
                            width: unset;
                            height: 7.5rem;
                            font-size: 1.25rem;
                            line-height: 3rem;
                            padding-top: 0.5rem;

                            .title {
                                font-size: 2rem;
                            }
                        }

                        p {
                            margin: 0;
                            line-height: 1.75;
                            text-align: center;
                        }
                    }

                    .img-area {
                        width: 31.5rem;
                        aspect-ratio: 504 / 378;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }

                .brindcare-area {
                    margin-bottom: 2.5rem;

                    .desc-area {
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center bottom;

                        h3 {
                            margin-left: 0;
                            border-radius: 0 0 0 5rem;
                        }
                    }

                    .img-area {
                        border-radius: 0 5rem 0 0;
                    }
                }

                .brindlabo-area {
                    flex-direction: row-reverse;
                    margin-bottom: 5rem;

                    .desc-area {
                        h3 {
                            margin-right: 0;
                            border-radius: 0 0 5rem 0;
                        }
                    }

                    .img-area {
                        margin-left: auto;
                        border-radius: 5rem 0 0 0;
                    }
                }

                a {
                    position: absolute;
                    bottom: 1.5rem;
                    right: 1.25rem;
                    width: 42.25rem;
                    padding: 1.25rem 0;
                    font-size: 1.5625rem;
                    text-align: center;
                    border-radius: 4.625rem;
                    transition: 0.3s;

                    &:hover {
                        opacity: 0.5;
                    }
                }
            }
        }

        /* ----- タイトル ----- */
        .details-area,
        .item-area,
        .news-area {
            .s-wrapper {
                margin-bottom: 5rem;

                h2 {
                    padding: 1.875rem 0;
                    font-size: 2.6875rem;
                }
            }
        }

        .details-area {
            .s-wrapper {

                .contents-area {
                    padding: 0;
                    display: flex;
                    justify-content: center;
                    gap: 2.5rem;

                    .content {
                        margin-bottom: 2.5rem;
                        width: 21.125rem;
                        height: 33.625rem;

                        img {
                            width: 100%;
                        }

                        p {
                            margin-bottom: 0;
                        }
                    }
                }

                a {
                    margin: auto;
                    width: fit-content;
                    padding: 1.375rem 4.25rem;
                    font-size: 1.5625rem;
                    line-height: 1.2;
                    border-radius: 2.3125rem;
                    transition: 0.3s;

                    &:hover {
                        opacity: 0.5;
                    }
                }
            }
        }

        .item-area {
            .s-wrapper {
                position: relative;

                .leaf-bg {
                    position: absolute;
                    width: 7.8125rem;
                    height: 14.375rem;
                    background-repeat: no-repeat;
                    background-size: contain;
                }

                .leaf-bg.right {
                    bottom: 0;
                    right: 0;
                }

                .leaf-bg.left {
                    top: 7.8rem;
                    transform: rotate(170.73deg);
                }

                .item-list {
                    margin-left: 10.375rem;
                    align-items: flex-start;

                    .item {
                        a {
                            display: flex;
                            flex-direction: column;
                            flex-wrap: wrap;
                            /* align-items: flex-start; */
                            /* justify-content: flex-start; */
                            height: 15.875rem;
                            /* transition: all 0.3s;
                            &:hover {
                                opacity: 0.8;
                            } */

                            .item-thumb {
                                margin-bottom: 0;
                                margin-right: 2.5rem;
                                width: 21.125rem;
                                height: 15.875rem;
                            }

                            .item-title {
                                margin: 0.9375rem 0 2.375rem;
                                font-size: 1.5625rem;
                                line-height: 1.2;
                            }

                            .date-line {
                                display: block;
                                margin-bottom: 2.625rem;
                            }

                            .more-link {
                                margin: 0;
                                height: 3rem;
                                line-height: 3rem;
                                border-radius: 1.5rem;
                            }
                        }
                    }
                }
            }
        }

        .news-area {
            .s-wrapper {
                h2 {
                    margin-bottom: 2rem;
                }

                .news-carousel {
                    position: relative;

                    .carousel-pause {
                        margin-left: 23.8rem;
                    }

                    .carousel-track {
                        list-style: none;
                        margin: 0;
                        padding: 0;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        .carousel-item {
                            margin-top: 3rem;
                            width: 21.125rem;
                            height: 15.875rem;
                            display: none;
                            /* flex-shrink: 0; */
                            overflow: hidden;
                            transition: opacity 0.3s, transform 0.3s;

                            &.prev,
                            &.next {
                                display: block;
                                /* 左右のアイテムを表示 */
                                opacity: 0.5;
                            }

                            &.active {
                                margin: 3rem auto 5rem;
                                display: block;
                                /* 中央のアイテムを表示 */
                                opacity: 1;
                                transform: scale(1.3639);
                            }

                            img {
                                width: 21.125rem;
                                height: 15.875rem;
                                aspect-ratio: 338 / 254;
                                object-fit: contain;
                                display: block;
                                overflow: hidden;
                            }

                            .title {
                                font-size: 1.25rem;
                                margin: 0;
                                padding: 0.625rem 0;
                                line-height: 1.2;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                line-clamp: 2;
                                overflow: hidden;
                            }
                        }
                    }

                    .carousel-dots {
                        margin: 4.5625rem 0 2.5rem;
                        display: flex;
                        justify-content: center;
                        gap: 1.5625rem;

                        .dot {
                            width: 1.5625rem;
                            height: 1.5625rem;
                            border-radius: 50%;
                            cursor: pointer;
                            transition: background 0.2s, transform 0.2s;
                        }
                    }
                }

                .detail {
                    display: block;
                    width: 29rem;
                    margin: 0 auto 5rem;
                    height: 4.625rem;
                    font-size: 1.5625rem;
                    line-height: 4.625rem;
                    border-radius: 2.3125rem;
                }
            }
        }
    }
}





/* ---------- 印字サービス レイアウト ---------- */
/* ----- sp レイアウト ----- */
.printing-page {
    .s-wrapper {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
        padding-top: 5rem;

        .image-area {
            margin-bottom: 1.25rem;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;

            img {
                width: 100%;
                height: 75.238%;
                aspect-ratio: 210 / 158;
                object-fit: cover;
                border-radius: 1.25rem;
                overflow: hidden;
            }

        }

        .desc-area {
            margin-bottom: 1.25rem;

            p {
                line-height: 1.75;
            }
        }

        .movie-area {
            margin-bottom: 2.5rem;
            width: 25rem;
            height: 14rem;

            iframe {
                width: 100%;
                height: 100%;
            }

        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .printing-page {
        .s-wrapper {
            margin: auto;
            padding-top: 7.5rem;

            .image-area {
                margin-bottom: 2.5rem;
                flex-direction: row;
                justify-content: center;
                gap: 2.5rem;

                img {
                    width: 21.0625rem;
                    height: 15.8125rem;
                }
            }

            .desc-area {
                margin-bottom: 2.75rem;

                p {
                    line-height: 1.75;
                }
            }

            .movie-area {
                margin: auto;
                margin-bottom: 5rem;
                width: 65.4375rem;
                height: 36.875rem;

                iframe {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}


/* ---------- 事業内容 レイアウト ---------- */
/* ----- sp レイアウト ----- */
.details-page {
    .s-wrapper {
        margin: 0 2.5rem 0;

        h2 {
            padding: 0.75rem 0;
            font-size: 1.25rem;
            font-weight: var(--Bold);
            text-align: center;
            color: var(--white);
            line-height: 1;
            background-color: var(--darkcolor);
        }

    }

    .caregiver-area {
        .s-wrapper {
            padding: 5rem 0 3rem;

            h2 {
                margin-bottom: 1.25rem;
            }

            .details-area {
                .image-area {
                    margin-bottom: 1.25rem;
                    width: 24.875rem;
                    height: 18.6875rem;
                    border-radius: 1.25rem;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .desc-area {
                    margin-bottom: 1.25rem;

                    h3 {
                        margin: 1.375rem 0 0.625rem;
                        height: 2.75rem;
                        font-size: 1.25rem;
                        line-height: 2.75rem;
                        text-align: center;
                        border-radius: 2.5rem 0 2.5rem 0;
                        background-color: var(--palecolor);
                    }

                    ul {
                        margin: 0;
                        padding: 0;

                        li {
                            &::before {
                                content: "・";
                            }
                        }
                    }

                    ul li,
                    p {
                        font-weight: normal;
                        line-height: 1.75;

                    }
                }

                p {
                    &::before {
                        content: "※";
                    }
                }
            }

            .faq-area {
                .list {
                    h3 {
                        margin: 0 0 0.625rem;
                        height: 2.75rem;
                        font-size: 1.25rem;
                        line-height: 2.75rem;
                        text-align: center;
                        border-radius: 2.5rem 0 2.5rem 0;
                        background-color: var(--palecolor);
                    }

                    dl {

                        dt,
                        dd {
                            line-height: 1.75;
                        }

                        dt {
                            &::before {
                                content: "Q.";
                            }
                        }

                        dd {
                            margin-bottom: 1.75rem;
                            font-weight: normal;

                            &::before {
                                content: "答え：";
                            }
                        }
                    }
                }

                .image-area {
                    display: none;
                }
            }
        }
    }

    .details-area {
        .s-wrapper {
            h2 {
                margin-bottom: 1.25rem;
            }

            .contents {
                .image-area {
                    margin-bottom: 1.25rem;
                    width: 100%;
                    aspect-ratio: 400/ 301;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 1.25rem;
                    }
                }

                .desc-area {
                    h3 {
                        margin-bottom: 0.625rem;
                        height: 2.75rem;
                        font-size: 1.25rem;
                        font-weight: var(--Bold);
                        text-align: center;
                        line-height: 2.75rem;
                        background-color: var(--palecolor);
                        border-radius: 2.5rem 0 2.5rem 0;
                    }

                    ul {
                        margin: 0;
                        padding: 0;

                        li {
                            font-weight: normal;
                            line-height: 1.75;

                            &::before {
                                content: "・";
                            }
                        }
                    }

                    h4,
                    p {
                        font-weight: normal;
                        line-height: 1.75;
                    }

                    h4 {
                        margin-top: 1.75rem;
                    }
                }
            }
        }
    }

    .brindpark-area,
    .itsupport-area {
        .s-wrapper {
            margin-bottom: 3rem;
        }
    }

    .tourdesk-area {
        .s-wrapper {
            margin-bottom: 4.5rem;
        }
    }

    .brindlabo-area {
        .s-wrapper {
            margin-bottom: 2.75rem;

            h2 {
                .add {
                    margin-top: 0.75rem;
                    font-size: 1rem;
                }
            }
        }
    }

    .printing-area {
        .s-wrapper {
            margin-bottom: 5rem;

            .contents {
                p {
                    margin-bottom: 1.25rem;
                }

                .link-btn {
                    display: block;
                    width: 100%;
                    height: 2.4375rem;
                    font-weight: var(--Bold);
                    line-height: 2.4375rem;
                    text-align: center;
                    color: var(--white);
                    background-color: var(--darkcolor);
                    border-radius: 1.2188rem;
                }
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .details-page {
        .s-wrapper {
            margin: auto;

            h2 {
                padding: 0;
                height: 6.25rem;
                line-height: 6.25rem;
                font-size: 2.6875rem;
            }

        }

        .caregiver-area {
            .s-wrapper {
                padding: 7.5rem 1.875rem 5.125rem;

                h2 {
                    margin-bottom: 2.5625rem;
                }

                .details-area {
                    display: flex;
                    gap: 2.5rem;

                    .image-area {
                        margin-bottom: 0;
                        width: 28.9375rem;
                        height: 21.75rem;
                    }

                    .desc-area {
                        margin-bottom: 2.75rem;

                        h3 {
                            margin: 0 0 1.625rem;
                            width: 29rem;
                            height: 4.75rem;
                            font-size: 1.25rem;
                            line-height: 4.75rem;
                            border-radius: 2.5rem 0 2.5rem 0;
                        }

                        ul {
                            margin: 0;
                            padding: 0;

                            li {
                                &::before {
                                    content: "・";
                                }
                            }
                        }

                        ul li,
                        p {
                            font-weight: normal;
                            line-height: 1.75;

                        }


                        p {
                            margin-bottom: 2.875rem;

                            &::before {
                                content: "※";
                            }
                        }
                    }
                }


                .faq-area {
                    display: flex;
                    gap: 2.5rem;

                    .list {
                        width: 44.75rem;

                        h3 {
                            margin: 0 0 1.25rem;
                            width: 29rem;
                            height: 4.75rem;
                            font-size: 1.25rem;
                            line-height: 4.75rem;
                            border-radius: 2.5rem 0 2.5rem 0;
                        }

                        dl {

                            dt,
                            dd {
                                line-height: 1.4;
                            }

                            dt {
                                font-size: 1.25rem;
                            }

                            dd {
                                margin-bottom: 1.75rem;
                            }
                        }
                    }

                    .image-area {
                        display: block;
                        width: 28.9375rem;
                        height: 21.75rem;
                        aspect-ratio: 463 / 348;
                        overflow: hidden;
                        border-radius: 1.25rem;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }
            }
        }

        .details-area {
            .s-wrapper {
                h2 {
                    margin-bottom: 2.5625rem;
                }

                .contents {
                    display: flex;
                    gap: 2.5rem;

                    .image-area {
                        margin-bottom: 0;
                        width: 28.9375rem;
                        aspect-ratio: 400/ 301;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            border-radius: 1.25rem;
                        }
                    }

                    .desc-area {
                        width: 44.75rem;

                        h3 {
                            margin-bottom: 1.25rem;
                            width: 29rem;
                            height: 4.75rem;
                            font-size: 1.5625rem;
                            line-height: 4.75rem;
                        }

                        ul {
                            /* ここから */
                            margin: 0;
                            padding: 0;

                            li {
                                font-weight: normal;
                                line-height: 1.75;

                                &::before {
                                    content: "・";
                                }
                            }
                        }

                        h4,
                        p {
                            font-weight: normal;
                            line-height: 1.75;
                        }

                        h4 {
                            margin-top: 1.75rem;
                        }
                    }
                }
            }
        }

        .brindpark-area,
        .itsupport-area,
        .tourdesk-area,
        .brindlabo-area {
            .s-wrapper {
                margin-bottom: 5rem !important;
            }
        }

        .brindlabo-area {
            .s-wrapper {

                h2 {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 5.3125rem;

                    .add {
                        margin-top: 0;
                        font-size: 1.25rem;
                    }
                }
            }
        }

        .printing-area {
            .s-wrapper {
                .contents {
                    .desc-area {
                        flex: 1;
                        display: flex;
                        /* 追加 */
                        flex-direction: column;

                        .link-btn {
                            margin-top: auto;
                            width: 29rem;
                            height: 3rem;
                            line-height: 3rem;
                            border-radius: 1.5rem;
                        }
                    }
                }
            }
        }
    }
}





/* ---------- 会社案内 レイアウト ---------- */
/* ----- sp レイアウト ----- */
.company-page {
    .s-wrapper {
        margin: 0 2.5rem;

        h2 {
            height: 2.75rem;
            font-size: 1.25rem;
            font-weight: var(--Bold);
            text-align: center;
            line-height: 2.75rem;
            border-radius: 2.5rem 0 2.5rem 0;
            background-color: var(--palecolor);
        }
    }

    .profile {
        .s-wrapper {
            padding-top: 5rem;

            h2 {
                margin-bottom: 1.25rem;
            }

            dl {
                margin-bottom: 2.5rem;
                border: 1px solid var(--darkcolor);

                dt {
                    width: 100%;
                    height: 2.5rem;
                    font-size: 1.25rem;
                    font-weight: var(--Bold);
                    text-align: center;
                    line-height: 2.5rem;
                    color: var(--white);
                    background-color: var(--darkcolor);
                }

                dd {
                    padding: 0.6875rem 0.75rem;
                    line-height: 1.75;

                    &:last-of-type {
                        margin-bottom: 0.5rem;
                    }
                }
            }

            .map-area {
                display: none;
            }
        }
    }

    .greeting {
        .s-wrapper {
            h2 {
                margin-bottom: 1.25rem;
            }

            p {
                margin-bottom: 2.5rem;
                line-height: 1.75;
            }

            .president {
                font-size: 1.25rem;
                line-height: 1.75;
                text-align: right;

                em {
                    font-style: normal;
                }
            }
        }
    }
}

/* ----- sp レイアウト ----- */
@media (width > 768px) {
    .company-page {
        .s-wrapper {
            margin: auto;

            h2 {
                margin: auto;
                width: 29rem;
                height: 4.75rem;
                font-size: 1.5625rem;
                line-height: 4.75rem;
            }
        }

        .profile {
            .s-wrapper {
                padding-top: 7.5rem;
                margin-bottom: 5rem;

                h2 {
                    margin-bottom: 2.5rem;
                }

                dl {
                    width: 60.5rem;
                    margin: auto;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: stretch;

                    dt {
                        width: 21.125rem;
                        height: 4.75rem;
                        font-size: 1.5625rem;
                        line-height: 4.75rem;

                        &:last-of-type {
                            height: auto;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                        }
                    }

                    dd {
                        min-width: 39rem;
                        padding: 0 2.5rem;
                        flex-grow: 1;
                        line-height: 1.75;
                        border-bottom: 1px solid var(--darkcolor);
                        display: flex;
                        align-items: center;

                        &:last-of-type {
                            margin-bottom: 0;
                            padding: 0.875rem 2.5rem;
                            border-bottom: none;
                        }
                    }
                }

                .map-area {
                    display: block;
                    width: 44.75rem;
                    height: 30.4375rem;
                    margin: 2.5rem auto 0;

                    iframe {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }

        .greeting {
            .s-wrapper {
                margin-bottom: 5.375rem;

                h2 {
                    margin-bottom: 2.5rem;
                }

                p {
                    margin-bottom: 3.4375rem;
                    font-size: 1.25rem;
                    line-height: 1.75;
                    text-align: center;
                }

                .president {
                    margin-left: auto;
                    width: 15.75rem;
                    font-size: 2rem;
                    line-height: 1.5;
                    text-align: center;

                    em {
                        font-style: normal;
                    }
                }
            }
        }
    }
}





/* ---------- お知らせ・ご案内一覧　レイアウト ---------- */
/* ----- sp レイアウト ----- */
.category-page {
    article {
        .s-wrapper {
            padding-top: 5rem;

            .list {
                padding: 0;
                margin: 0 4.4375rem 2rem;
                display: flex;
                flex-direction: column;
                gap: 2.5rem;

                .item {
                    a {
                        .thumb {
                            width: 100%;
                            aspect-ratio: 338 / 170;
                            overflow: hidden;

                            &:has(p) {
                                background-color: var(--bordercolor);
                            }

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                object-position: center center;
                            }

                            p {
                                height: 100%;
                                font-size: 1.4rem;
                                color: var(--white);
                                display: flex;
                                justify-content: center;
                                align-items: center;
                            }
                        }

                        .contents {
                            padding-bottom: 0.8125rem;
                            background-color: var(--palecolor);

                            .title {
                                padding: 0.625rem 0.625rem 0;
                                margin-bottom: 0.75rem;
                                width: 14em;
                                height: calc(1.25rem * 1.2 + 0.625rem);
                                font-size: 1.25rem;
                                line-height: 1.2;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 1;
                                line-clamp: 1;
                                overflow: hidden;
                            }

                            .date {
                                padding: 0 0.625rem;
                            }
                        }
                    }
                }
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .category-page {
        article {
            .s-wrapper {
                padding-top: 7.5rem;

                .list {
                    margin-bottom: 5rem;
                    display: grid;
                    grid-template-columns: repeat(3, 21.125rem);
                    gap: 2.5rem;

                    .item {
                        display: grid;

                        a {
                            display: flex;
                            flex-direction: column;
                            height: 100%;

                            .thumb {
                                width: 21.125rem;
                                height: 15.875rem;
                                /* aspect-ratio: 338 / 254; */
                                overflow: hidden;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: contain;
                                    object-position: center center;
                                }
                            }

                            .contents {
                                padding: 0;
                                flex: 1;
                                display: flex;
                                flex-direction: column;
                                background-color: var(--palecolor);

                                .title {
                                    /* align-self: stretch; */
                                    padding: 0.625rem;
                                    font-size: 1.25rem;
                                    line-height: 1.2;
                                }

                                .date {
                                    margin: auto 0.625rem 0.8125rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}



/* ---------- お知らせ一覧　レイアウト ---------- */
.news-page {
    .list-area {
        .s-wrapper {
            .list {
                .item {
                    a {
                        .contents {
                            .title {
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }
    }
}




/* ---------- お知らせ・ご案内記事・プライバシーポリシー　レイアウト ---------- */
/* -----sp レイアウト ----- */
.single-page,
.privacy-page {
    .article-area {
        .s-wrapper {
            padding: 5rem 2.5rem;

            .contents-area {
                .post-title {
                    margin-bottom: 1.4375rem;
                    height: 2.75rem;
                    font-size: 1.25rem;
                    font-weight: var(--Bold);
                    text-align: center;
                    line-height: 2.75rem;
                }

                .date {
                    display: block;
                    margin-bottom: 1.375rem;
                    text-align: right;
                }

                .post-thumb {
                    width: 100%;
                    /* height: 18.75rem; */
                    aspect-ratio: 400 / 301;
                    border-radius: 1.25rem;
                    overflow: hidden;

                    &:has(p) {
                        background-color: var(--bordercolor);
                    }

                    p {
                        height: 100%;
                        font-size: 1.4rem;
                        color: var(--white);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                .post-content {
                    font-size: 1rem;
                    line-height: 1.8333;
                    margin-bottom: 62px;

                    h2 {
                        font-size: 1.4rem;
                    }

                    h3 {
                        font-size: 1.2rem;
                    }

                    h4 {
                        font-size: 1.1rem;
                    }

                    h5,
                    h6 {
                        font-size: 1rem;
                    }

                    h2,
                    h3,
                    h4,
                    h5,
                    h6 {
                        margin-top: 1.2em;
                        font-weight: bold;
                        line-height: 1.35;
                    }

                    p {
                        margin-top: 1em;
                    }

                    h2+p,
                    h3+p,
                    h4+p,
                    h5+p,
                    h6+p {
                        margin-top: 1em;
                    }

                    ul,
                    ol {
                        margin-top: 0.6em;

                        li {
                            line-height: 1.6;
                            list-style-position: outside;
                        }
                    }

                    ul {
                        li {
                            list-style-type: disc;
                        }
                    }

                    ol {
                        li {
                            list-style-type: decimal;
                        }
                    }

                    a {
                        text-decoration: underline;
                    }

                    figure {
                        margin-top: 0.5em;
                        margin-bottom: 1em;
                    }
                }
            }

            .content-images {
                .content-image {
                    margin-bottom: 1rem;
                    width: 100%;

                    img {
                        width: 100%;
                    }
                }
            }

            .link-btn {
                display: block;
                margin: auto;
                width: 11.875rem;
                height: 2.5625rem;
                color: var(--white);
                text-align: center;
                line-height: 2.5625rem;
                background-color: var(--darkcolor);
                border-radius: 1.2813rem;

            }
        }
    }
}

/* -----pc レイアウト ----- */
@media (width > 768px) {

    .single-page,
    .privacy-page {
        .article-area {
            .s-wrapper {
                padding: 7.5rem 1.875rem 5rem;

                .contents-area {
                    margin-bottom: 3.25rem;

                    .post-title {
                        margin-bottom: 1.4375rem;
                        height: 4.75rem;
                        font-size: 1.5625rem;
                        line-height: 4.75rem;
                    }

                    .date {
                        margin-bottom: 2.625rem;
                    }

                    .desc-area {
                        display: flex;
                        gap: 2.5rem;

                        .post-thumb {
                            margin-bottom: 3.25rem;
                            width: 36.875rem;
                            height: 27.6875rem;
                        }

                        .post-content {
                            margin-bottom: 3.25rem;
                            width: 36.875rem;
                            line-height: 1.5;


                            h2 {
                                font-size: 1.75rem;
                                margin-top: 2.5em;
                            }

                            h3 {
                                font-size: 1.5rem;
                                margin-top: 1.75em;
                            }

                            h4 {
                                font-size: 1.25rem;
                            }

                            h5,
                            h6 {
                                font-size: 1rem;
                            }

                            figure {
                                margin-bottom: 1.5em;
                            }
                        }
                    }
                }

                .content-images {
                    margin-bottom: 2.5rem;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 2.5rem;

                    .content-image {
                        width: fit-content;
                        height: 15.875rem;
                        border-radius: 1.25rem;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }
            }

            .link-btn {
                display: block;
                margin: auto;
                width: 11.875rem;
                height: 2.5625rem;
                color: var(--white);
                text-align: center;
                line-height: 2.5625rem;
                background-color: var(--darkcolor);
                border-radius: 1.2813rem;

            }
        }
    }
}


/* ----- プライバシーポリシー pc レイアウト ----- */
@media (width > 768px) {

    .privacy-page {
        .article-area {
            .s-wrapper {
                .contents-area {
                    .desc-area {
                        .post-content {
                            width: 1220px;
                            margin: auto;
                        }
                    }
                }
            }
        }
    }
}





/* ---------- お問い合わせ レイアウト ---------- */
/* ----- sp レイアウト ----- */
.contact-page {
    .s-wrapper {
        padding: 5.125rem 2.5rem 6.25rem;

        h2 {
            margin-bottom: 2.75rem;
            font-size: 1rem;
            line-height: 1.75;
            text-align: center;
        }

        dl {
            dt {

                margin-bottom: 1.5rem;
                font-size: 1.25rem;
                font-weight: var(--Bold);
                display: flex;
                justify-content: space-between;
                align-items: center;

                span {
                    display: block;
                    width: 5.3125rem;
                    height: 1.5rem;
                    line-height: 1.5rem;
                    text-align: center;
                    background-color: var(--linkcolor);
                }

            }

            dd {

                margin-bottom: 1.375rem;

                input,
                textarea {
                    width: 100%;
                    padding: 0.75rem 0.5rem;
                    border: 2px solid var(--bordercolor);
                    border-radius: 0.625rem;
                }

                textarea {
                    aspect-ratio: 400 / 288;
                }


                &:has(textarea) {
                    margin-bottom: 2.625rem;
                }
            }
        }

        .consent {
            margin-bottom: 2.5rem;
            display: block;
            width: fit-content;
            margin: auto;

            label {
                display: flex;
                align-items: center;
                gap: 1.4375rem;

                input {
                    appearance: none;
                    -webkit-appearance: none;
                    width: 1.375rem;
                    height: 1.25rem;
                    border-radius: 3px;
                    border: 1px solid var(--bordercolor);

                    &:checked {
                        background-color: var(--darkcolor);
                    }

                    &:checked::after {
                        content: "✔";
                        margin-top: -4px;
                        color: var(--white);
                        font-size: 1.25rem;
                        line-height: 1rem;
                        text-align: center;
                        display: block;
                    }
                }

                .underline {
                    text-decoration: underline;
                }
            }
        }

        .submit-area {
            margin-top: 2.5rem;
            border: none;
            width: 100%;
            height: 2.75rem;
            font-size: 1.25rem;
            font-weight: var(--white);
            text-align: center;
            line-height: 2.75rem;
            background-color: var(--darkcolor);
            border-radius: 0.625rem;
            display: flex;
            justify-content: center;
            align-items: center;

            .submit-btn {
                border: none;
                color: var(--white);
                background-color: initial;
            }

            &::before {
                content: "";
                display: block;
                width: 2rem;
                height: 2rem;
                background-image: url(../img/mail-icon_white.svg);
                background-repeat: no-repeat;
                background-size: contain;
            }

            span {
                display: none;
            }
        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .contact-page {
        .s-wrapper {
            padding: 7.875rem 9.75rem 10rem;

            h2 {
                margin-bottom: 5.375rem;
                font-size: 1.25rem;
                line-height: 1.2;
            }

            dl {
                dt {
                    margin-bottom: 0.8125rem;
                    font-size: 1.5625rem;
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 4.6875rem;

                    span {
                        width: 5.375rem;
                        height: 2.25rem;
                        line-height: 2.25rem;
                    }
                }

                dd {
                    margin-bottom: 2.6875rem;

                    textarea {
                        aspect-ratio: 968 / 360;
                    }


                    &:has(textarea) {
                        margin-bottom: 2.5rem;
                    }
                }
            }

            .consent {
                margin: auto;
                margin-bottom: 2.5rem;
                display: block;
                width: fit-content;
                font-size: 1.25rem;

                label {
                    display: flex;
                    align-items: center;
                    gap: 5.375rem;

                    input {
                        width: 2.5rem;
                        height: 2.25rem;
                        border-radius: 5px;

                        &:checked::after {
                            margin-top: -0.25rem;
                            font-size: 2.5rem;
                            line-height: 2.25rem;
                        }
                    }
                }
            }

            .submit-area {
                margin: auto;
                margin-top: 3.25rem;
                padding-left: 2.4375rem;
                border: none;
                width: 34.0625rem;
                height: 4.75rem;
                line-height: 4.75rem;
                border-radius: 1.25rem;
                justify-content: start;
                gap: 5.6875rem;

                &::before {
                    width: 3.4375rem;
                    height: 3.4375rem;
                }

                span {
                    display: none;
                }
            }
        }
    }
}



/* ---------- お問い合わせありがとう レイアウト ---------- */
/* ----- sp レイアウト ----- */
.thanks-page {
    .s-wrapper {
        padding: 5.375rem 0 21.25rem;

        h1 {
            margin-bottom: 2.875rem;
            font-size: 1rem;
            font-weight: normal;
            text-align: center;
        }

        .link-btn {
            margin: auto;
            display: block;
            width: 11.875rem;
            height: 2.5625rem;
            color: var(--white);
            text-align: center;
            line-height: 2.5625rem;
            background-color: var(--darkcolor);
            border-radius: 1.2813rem;
        }
    }
}

/* ----- pc レイアウト ----- */
@media (width > 768px) {
    .thanks-page {
        .s-wrapper {
            padding: 7.875rem 0 101.0625rem;

            h1 {
                margin-bottom: 5.4375rem;
                font-size: 1.25rem;
            }

            .link-btn {
                width: 13.25rem;
                height: 3rem;
                line-height: 3rem;
                border-radius: 1.5rem;
            }
        }
    }
}