main {

    /* main内のhero section以下のsectionにだけ指定 */
    section:not(:first-of-type) {
        max-width: 1200px;
        margin-inline: auto;
    }

    .page-link {
        margin-top: 24px;
        text-align: center;

        .btn-detail {
            display: inline-block;
            padding: 12px 24px;
            background-color: #f4981e;
            color: #fff;
            font-weight: bold;
            border-radius: 6px;
            text-decoration: none;
            transition: background-color 0.3s;

            &:hover {
                background-color: #c77805;
            }
        }
    }

    /* heroセクション */
    .hero {
        position: relative;
        width: 100%;
        height: 100dvh;

        @media (width <=960px) {
            height: 100%;
        }

        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0);
            z-index: 1;
        }

        .hero__bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero__overlay {
            z-index: 10;
            position: absolute;
            inset: 0;
            margin: auto;
            display: flex;
            gap: var(--spacing-16px);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;


            .hero__title {
                font-size: 40px;
                font-weight: bold;
                line-height: 1.5;
                -webkit-text-stroke: 10px var(--black-color);
                paint-order: stroke;

                @media (width <=960px) {
                    font-size: var(--font-size-32px);
                    -webkit-text-stroke: 8px var(--black-color);
                }

                @media (width <=600px) {
                    font-size: var(--font-size-20px);
                    -webkit-text-stroke: 6px var(--black-color);
                }

                .highlight {
                    color: #f4981e;
                }
            }

            .hero__subtitle {
                color: var(--white-color);
                font-size: var(--font-size-20px);
                -webkit-text-stroke: 7px var(--black-color);
                paint-order: stroke;

                @media (width <=960px) {
                    font-size: var(--font-size-18px);
                    -webkit-text-stroke: 6px var(--black-color);
                }

                @media (width <=600px) {
                    font-size: var(--font-size-14px);
                    -webkit-text-stroke: 5px var(--black-color);
                }

            }

            .hero__btn {
                margin-top: var(--spacing-8px);
                background-color: #ffaa33;
                color: #1a1e2e;
                font-weight: bold;
                padding: 14px 28px;
                border-radius: 30px;
                box-shadow: 0 6px 20px rgba(255, 170, 51, 0.4);
                transition: transform 0.2s;

                &:hover {
                    transform: translateY(-2px);
                }
            }
        }
    }

    /* heroセクションend */

    /* newsセクションstart */
    .news {
        display: none;
        .news-div {
            text-align: center;

            p {
                span {
                    font-size: 20px;
                }
            }
        }
    }

    /* newsセクションend */



    /* aboutセクションstart */
    .about {

        .section-title {
            text-align: center;
            color: #fff;
        }

        .section-lead {
            text-align: center;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 32px;

            @media (width <=500px) {
                gap: 16px;
            }

            .feature-card {
                background: var(--card-color, #1a1a1a);
                border-radius: 12px;
                padding: 24px;
                text-align: center;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                transition: transform 0.3s;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                @media (width <=500px) {
                    padding: 20px 10px;
                }

                &:hover {
                    transform: translateY(-4px);
                }

                .feature-icon {
                    width: 56px;
                    height: 56px;
                    background: #fff;
                    border-radius: 50%;
                    margin: 0 auto 16px;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    svg {
                        width: 24px;
                        height: 24px;
                        stroke: var(--card-color);
                    }
                }

                .feature-title {
                    font-size: 16px;
                    font-weight: bold;
                    color: #fff;
                    margin-bottom: 8px;
                    min-height: 2.8em;

                    @media (width <=500px) {
                        min-height: inherit;
                        margin-bottom: 16px;
                    }
                }

                .feature-text {
                    font-size: 15px;
                    color: var(--lead-color);
                    line-height: 1.6;
                    min-height: 4.8em;
                    margin-bottom: 16px;

                    @media (width <=500px) {
                        margin-bottom: 16px;
                    }
                }

                img {
                    width: 100%;
                    border-radius: 8px;
                    margin-bottom: 16px;
                }


                .feature-button {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    padding: 10px 20px;
                    font-size: 15px;
                    font-weight: bold;
                    background-color: #fff;
                    color: var(--card-color);
                    border-radius: 9999px;
                    text-decoration: none;
                    transition: background 0.3s, color 0.3s;

                    .icon-circle {
                        width: 28px;
                        height: 28px;
                        background: var(--black-color);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .arrow {
                            display: block;
                            width: 8px;
                            height: 8px;
                            border-top: 2px solid #fff;
                            border-right: 2px solid #fff;
                            transform: rotate(45deg) translateX(-.5px) translateY(.5px);
                        }
                    }

                    &:hover {
                        background-color: #e0e0e0;
                        color: #000;

                        .icon-circle {
                            background: #333;
                        }
                    }
                }
            }
        }
    }

    /* aboutセクションend */



    /* priceセクション */
    .price {
        .price-content {
            .compare {
                color: var(--black-color);

                .compare-title {
                    font-size: var(--font-size-20px);
                    font-weight: bold;
                    margin-top: var(--spacing-16px);
                    margin-bottom: var(--spacing-8px);
                    color: #ffa733;
                }

                .compare-table {
                    width: 100%;
                    border-collapse: collapse;
                    font-size: 15px;
                    line-height: 1.6;

                    th,
                    td {
                        border-radius: 2.5px;
                        border: 1.5px solid var(--body-color);
                        padding: 1em 0.5em;
                        text-align: center;
                    }

                    thead {
                        th {
                            background-color: rgb(255, 196, 107);
                            font-weight: bold;
                        }
                    }

                    tbody {
                        td {
                            background-color: rgb(255, 223, 176);
                        }

                        th {
                            background-color: rgb(255, 196, 107);
                            font-weight: bold;
                        }

                        .highlight {
                            background-color: #f4981e !important;
                            font-weight: bold;
                        }
                    }
                }
            }
        }
    }

    /* trainerセクション */
    .trainer {

        .trainer-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 32px;

            @media (width <=500px) {
                gap: 16px;
            }
        }

        .trainer-card {
            position: relative;
            background: var(--card-color);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s, box-shadow 0.3s;

            &:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            }

            img {
                width: 100%;
                height: auto;
                aspect-ratio: 4 / 3;
                object-fit: cover;
                display: block;
            }

            .trainer-meta {
                padding: 16px;

                .meta-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .trainer-name {
                        font-size: 1.2rem;
                        font-weight: bold;
                        color: #fff;
                        margin: 0;
                    }

                    .card-icon {
                        width: 36px;
                        height: 36px;
                        background-color: #fff;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        color: var(--card-color);
                        transition: transform 0.3s, color 0.3s, background-color 0.3s;

                        svg {
                            width: 20px;
                            height: 20px;
                            display: block;
                            margin: auto;
                            transform: translateY(-1px);
                        }
                    }
                }

                .trainer-summary {
                    margin-top: 8px;
                    font-size: 0.95rem;
                    color: #ccc;
                }
            }

            .trainer-card:hover .card-icon {
                background-color: #f0f0f0;
                color: #000;
                transform: translateX(4px);
            }
        }
    }

    /* trainerセクションend */

    /* review start */
    .review {

        .review-lead {
            margin-bottom: 32px;

            @media (width <=600px) {
                font-size: 15px;
            }
        }

        .review-box {
            max-width: 900px;
            margin: 0 auto;
            background-color: #eeeeee;
            border-radius: 8px;
            overflow: hidden;
        }

        .review-item {
            border-bottom: 1px dashed #1d1d1d;
            padding: 0 0 2.5rem;
            position: relative;

            &.no-border {
                border-bottom: none;
            }
        }

        .review-header {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 4rem;
            background-color: #F4981e;

            .review-logo {
                width: 80px;
            }

            .review-heading {
                font-weight: bold;
                font-size: var(--font-size-24px);
                color: var(--black-color);
                margin-left: 10px;

                @media (width <=600px) {
                    font-size: 20px;
                }
            }
        }

        .review-info {
            display: flex;
            align-items: center;

            .review-star {
                padding: 1rem 1rem 1rem 0.6rem;
                color: #F4981e;
                margin: 0;
            }

            .review-name {
                margin: 2px 0 0 0;
                color: var(--black-color);
            }
        }

        .review-text {
            color: #1d1d1d;
            padding: 0 8px 16px;
            font-size: 16px;

            @media (width <=600px) {
                font-size: 15px;
            }
        }

        .review-toggle {
            display: none;
        }

        .review-btn {
            position: absolute;
            display: table;
            left: 50%;
            bottom: 0;
            margin: 0 auto 8px;
            width: 200px;
            padding: 10px 0;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            background-color: #333;
            transform: translateX(-50%);
            cursor: pointer;
            z-index: 1;

            &::before {
                content: '続きを見る';
            }
        }

        .review-toggle:checked+.review-btn::before {
            content: '元に戻す';
        }

        .review-content {
            position: relative;
            height: 160px;
            overflow: hidden;

            &::before {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 75px;
                background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, #eeeeee 100%);
            }
        }

        .review-toggle:checked~.review-content {
            height: auto;

            &::before {
                display: none;
            }
        }

    }

    /* review end */


    /* FAQセクション */
    .faq {
        .faq-list {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-40px);
        }

        .faq-item {
            background: linear-gradient(to right, #f7f7f7, #fafafa);
            border-left: 6px solid #f4981e;
            color: var(--black-color);
            padding: 24px 28px;
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease, box-shadow 0.2s ease;

            @media (width <=768px) {
                padding: 20px;
            }

            &:hover {
                transform: translateY(-4px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            }

            .faq-question {
                display: flex;
                align-items: center;
                font-size: var(--font-size-18px);
                font-weight: bold;
                margin-bottom: 12px;

                @media (width <=960px) {
                    font-size: var(--font-size-16px);
                }

                .icon {
                    display: inline-block;
                    margin-right: 12px;
                    font-weight: bold;
                    color: #f4981e;
                }
            }

            .faq-answer {
                line-height: 1.6;
                font-size: var(--font-size-16px);

                @media (width <=960px) {
                    font-size: 15px;
                }
            }
        }
    }

    .access {
        padding: 80px 16px;
        text-align: left;

        .section-title {
            text-align: center;
            margin-bottom: 32px;
        }

        .access-lead {
            br {
                display: none;

                @media (width <=600px) {
                    display: inline;
                }
            }
        }

        .access-card {
            background-color: #2e3248;
            border-radius: 16px;
            padding: 40px 24px;
            max-width: 900px;
            margin: 0 auto;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

            @media (width <=768px) {
                padding: 24px;
            }

            @media (width <=400px) {
                padding: 24px 12px;
            }

            .access-header {
                display: flex;
                gap: 12px;
                align-items: flex-end;
                margin-bottom: 24px;

                @media (width <=600px) {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 8px;
                }

                .access-logos {
                    display: flex;
                    gap: 12px;
                    align-items: center;

                    img {
                        height: 48px;
                        object-fit: contain;

                        @media (width <=600px) {
                            height: 38px;
                        }
                    }
                }

                .access-title {
                    line-height: 1.19;
                    font-size: var(--font-size-24px);
                    font-weight: bold;
                    color: #f4981e;

                    @media (width <=600px) {
                        font-size: var(--font-size-20px);
                    }
                }
            }

            .access-info {
                list-style: none;
                padding: 0;
                margin: 0 0 32px;

                li {
                    margin-bottom: 12px;
                    display: flex;
                    align-items: center;

                    .icon {
                        margin-right: 8px;
                        color: #f4981e;
                    }

                    a {
                        text-decoration: underline;
                        /* 下線を付ける */
                        color: var(--logo-color);
                        /* 青系でリンクらしさを出す */
                    }

                    a:hover {
                        text-decoration: none;
                        /* hoverで下線を消して遊びをつける */
                        border-bottom: 2px solid var(--logo-color);
                        /* 下線を強調 */
                    }

                    img {
                        margin-top: 8px;
                        border-radius: 8px;
                        max-width: 100%;
                    }
                }
            }

            .access-map {
                iframe {
                    border-radius: 12px;
                    width: 100%;
                    height: 300px;
                }
            }
        }


    }



}