.br-pc,
.br-sp {
    display: none;
}

@media screen and (min-width: 768px) {
    .br-pc {
        display: inline;
    }
}

@media screen and (max-width: 767px) {
    .br-sp {
        display: inline;
    }
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.page__mv {
    position: relative;
    margin: 0 auto;
    background: url(../image/mv.jpg);
    background-size: cover;
    background-position: center;
    max-width: 1920px;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
}

/* MVスマホ画面用（幅768px以下） */
@media (max-width: 768px) {
    .page__mv {
        background-image: url(../image/mv_sp.jpg);
        min-height: 338px;
    }

    .page__title {
        font-size: 28px;
        max-width: 302px;
        text-align: center;
    }
}

/* ページナビ ボタン */
.page-nav__container {
    background-color: #F2F0E9;
}

.page-nav__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    /* 上下グループの間隔 */
    padding-top: 95px;
    padding-bottom: 80px;
}

/* 上部ボタン用 */
.page-nav_top {
    display: flex;
    flex-wrap: wrap;
    gap: 63px;
    justify-content: center;
}

/* 下部ボタン用 */
.page-nav_bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 63px;
    justify-content: center;
}

/* ボタン共通 */
.page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #8AB262;
    border-radius: 10px;
    color: #8AB262;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px 20px;
    text-align: center;
}

/* 大ボタン */
.page-nav--large {
    width: 502px;
    height: 96px;
}

/* 小ボタン */
.page-nav--small {
    width: 318px;
    height: 96px;
}

.page-nav__title {
    padding-right: 10px;
}

/* ✅ SP用レスポンシブ */
@media (max-width: 768px) {
    .page-nav__container .inner .page-nav__box {
        gap: 5px;
        padding-top: 50px;
        padding-bottom: 40px;
        flex-direction: column;
        align-items: center;
    }

    .page-nav__container .inner .page-nav_top,
    .page-nav__container .inner .page-nav_bottom {
        flex-direction: column;
        align-items: center;
        gap: 33px;
    }

    .page-nav__container .inner .page-nav_top {
        margin-bottom: 33px;
    }

    .page-nav__container .inner .page-nav--large,
    .page-nav__container .inner .page-nav--small {
        width: 318px;
        height: 54px;
    }

    .page-nav__container .inner .page-nav--large {
        height: 96px;
        /* 大きいボタンの高さは固定 */
    }
}

.title__sub {
    display: block;
    text-align: center;
    margin-top: 16px;
    line-height: 2;
    font-size: 18px;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .title__sub {
        font-size: 15px;
        line-height: 2;
        margin-top: 25px;
        max-width: 90%;
    }

    /* セクションタイトルの上の幅調整 */
    .title {
        padding-top: 20px;
    }
}

/* ABOUT */
.about-section {
    background-color: #F2F0E9;
}

.about__features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 58px;
}

.about__features-container h4 {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 700;
    color: #DA832C;
    text-align: center;
}

/* feature box 共通スタイル */
.feature {
    margin-top: 52px;
    background-color: #FFF;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease;
    padding: 30px 0 0;
    /* 上に少し余白 */
    text-align: left;
    /* 中のテキストは左揃え */
}

/* featuresのラッパー */
.features__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

/* 1〜3は425px */
.feature1,
.feature2,
.feature3 {
    flex: none;
    width: 425px;
    height: 364px;
}

/* 4〜5は615px */
.feature4,
.feature5 {
    flex: none;
    width: 615px;
    height: 393px;
}

/* 数字とテキストを横並び中央揃え */
.feature__content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 27px;
    margin-left: 30px;
}

.feature__content .number {
    font-size: 60px;
    line-height: 1;
    flex-shrink: 0;
    padding-right: 18px;
    position: relative;
}

.feature__content .number::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 2px;
    height: 80%;
    background-color: #333;
}

.feature__text p {
    font-size: 23px;
    line-height: 1.8;
    font-weight: 700;
    margin: 0;
}

.feature__text strong {
    color: #DA832C;
    font-weight: bold;
}

.feature img {
    display: block;
    margin: 10px auto 0;
    /* ベースの余白 */
    height: auto;
    max-width: 100%;
}

/* 1番 */
.feature1 img {
    width: 40%;
    max-width: 173px;
}

.feature1 .feature__content .number {
    position: relative;
    top: -30px;
    /* 少し上にずらす */
}

/* 2番 */
.feature2 img {
    margin-top: 60px;
    width: 50%;
    max-width: 224px;
}

.feature2 .feature__content .number {
    position: relative;
    top: 10px;
    /* 少しにずらす */
}

/* 3番 */
.feature3 img {
    margin-top: 30px;
    width: 70%;
    max-width: 317px;
}

/* 4番 */
.feature4 img {
    margin-top: 30px;
    width: 40%;
    max-width: 253px;
}

/* 5番 */
.feature5 img {
    margin-top: 5px;
    width: 75%;
    max-width: 474px;
}

/* ===== レスポンシブ（768px以下） ===== */
@media (max-width: 768px) {
    .about__features-container {
        margin-top: 50px;
    }

    .features__row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin: 0 auto;
    }

    .feature__text p {
        text-align: left;
    }

    /* feature1〜4を固定サイズに */
    .feature1,
    .feature2,
    .feature3,
    .feature4 {
        flex: none;
        width: 165px;
        height: 312px;
        margin-top: 24px;
        padding: 8px;
    }

    /* feature5は大きめサイズ */
    .feature5 {
        flex: none;
        width: 345px;
        height: 310px;
        margin-top: 25px;
        padding: 10px;
    }

    /* 1番 */
    .feature1 img {
        margin-top: 20px;
        width: 90%;
        max-width: 122px;
    }

    .feature1 .feature__content .number {
        position: relative;
        top: 5px;
        left: 60px;
    }

    /* 2番 */
    .feature2 img {
        margin-top: 50px;
        width: 90%;
        max-width: 122px;
    }

    .feature2 .feature__content .number {
        margin-bottom: 20px;
        position: relative;
        top: 5px;
        left: 60px;
    }

    /* 3番 */
    .feature3 img {
        margin-top: 60px;
        width: 95%;
    }

    /* 4番 */
    .feature4 img {
        margin-top: 40px;
        width: 80%;
    }

    /* 5番 */
    .feature5 img {
        width: 90%;
    }

    .feature5 .feature__text p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* コンテンツを縦並びに変更 */
    .feature__content {
        display: flex;
        /* 元々flexだけど */
        flex-direction: column;
        /* 縦積みに変更 */
        padding: 0;
        margin-left: 0;
        align-items: center;
    }

    .feature__content .number {
        top: 5px;
        left: 60px;
        font-size: 40px;
        position: relative;
        width: 100%;
        /* 横いっぱい */
    }

    /* 5番のnumberだけ動かす */
    .feature5 .feature__content .number {
        left: 150px;
    }

    .feature__content .number::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 28px;
        /* ← ここを固定幅に */
        height: 2px;
        background-color: #333;
        top: auto;
        right: auto;
    }

    /* テキスト幅を100%に */
    .feature__text {
        text-align: center;
        overflow-wrap: break-word;
    }

    .feature__text p {
        font-size: 14px;
        line-height: 1.5;
        font-weight: 700;
        margin: 0;
    }

    .feature__text strong {
        color: #DA832C;
        font-weight: bold;
    }
}

/* 共存設計 */
.design__container {
    position: relative;
    padding: 30px 20px;
    min-height: 1450px;
    /* 必要に応じて調整 */
    overflow: hidden;
    /* 背景画像のはみ出し防止におすすめ */
}

.design__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

/* picture内のimgをカバー表示に */
.design__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.design__container h4 {
    margin-top: 100px;
    font-size: 30px;
    line-height: 1.5;
    font-weight: 700;
    color: #DA832C;
    text-align: center;
}

.design__type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 68px 0 0 0;
}

.design__type-item {
    position: relative;
    overflow: visible;
}

.site__type-img {
    border-radius: 20px;
    max-width: 508px;
    display: block;
}

.ribbon {
    --r: 0.8em;
    /* カットアウトの大きさ */
    position: absolute;
    top: -12px;
    left: 0;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    border-block: 0 solid transparent;
    padding-block: 0.7em;
    padding-inline: 1.2em calc(var(--r) + 0.7em);
    line-height: 1.5;
    clip-path: polygon(100% 0,
            0 0,
            0 100%,
            100% 100%,
            100% calc(100% - 0.25em),
            calc(100% - var(--r)) 50%,
            100% 0.25em);
    background: #DA832C padding-box;
    width: fit-content;
    z-index: 3;
}

.design__text h4 {
    text-align: left;
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(51, 51, 51, 0.2);
    padding-bottom: 13px;
}

.design__text p {
    margin-top: 30px;
    font-size: 18px;
    line-height: 2;
}

.design__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    /* 文字と矢印の間 */
    margin: 110px auto 0;
    width: 347px;
    height: 56px;
    background: #8AB262;
    color: #fff;
    border-radius: 35px;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
    border: 2px solid transparent;
    text-decoration: none;
}

.design__button:hover {
    background: #fff;
    color: #8AB262;
    border: 3px solid #8AB262;
}

.design__button:hover .button__arrow {
    border-top-color: #8AB262;
    border-right-color: #8AB262;
}

/* 共存設計レスポンシブ */
@media (max-width: 768px) {

    /* 背景画像 */
    .design__container .design__bg-img {
        width: 100%;
        height: auto;
    }

    /* 背景画像の高さ調整 */
    .design__bg {
        top: -5%;
    }

    .design__container {
        padding: 60px 15px;
        /* スマホで余白控えめに */
        min-height: 1410px;
    }

    .design__container h4 {
        font-size: 24px;
        /* タイトル文字サイズ小さく */
        margin-top: 10px;
    }

    .design__type {
        display: block;
        /* グリッドを解除して縦並びに */
        max-width: 100%;
        margin: 40px auto 0;
        gap: 0;
        padding: 0;
    }

    .design__type-item {
        margin-bottom: 40px;
    }

    .site__type-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .ribbon {
        font-size: 16px;
        top: -8px;
        padding-block: 0.5em;
        padding-inline: 1em calc(var(--r) + 0.5em);
    }

    .design__text h4 {
        font-size: 20px;
        margin-top: 20px;
        padding-bottom: 10px;
    }

    .design__text p {
        font-size: 15px;
        line-height: 2;
        margin-top: 10px;
    }

    .design__button {
        width: 100%;
        max-width: 320px;
        height: 48px;
        font-size: 16px;
        margin: 60px auto 0;
    }
}

/* 楽しみかた */
/* セクションの内側コンテナ */
.enjoy__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 90px;
    padding: 60px 0px;
    max-width: 1074px;
    margin: 0 auto;
}

.enjoy__text {
    flex: 1;
    min-width: 279px;
    text-align: left;
    /* ここで左寄せ */
}

.enjoy__text h5 {
    font-size: 22px;
    color: #8AB262;
    border-bottom: 2px solid #DCE8D0;
    line-height: 1.5;
    padding-bottom: 18px;
    margin-bottom: 15px;
    text-align: left;
    /* 念のため */
}

.enjoy__text p {
    font-size: 18px;
    line-height: 2;
    text-align: left;
    font-weight: 500;
    /* 念のため */
}

/* 画像エリア */
.enjoy__image {
    flex: 1;
    min-width: 502px;
    text-align: left;
}

/* 画像の上のh4 */
.enjoy__image h4 {
    font-size: 32px;
    color: #8AB262;
    line-height: 1.8;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* h4の左横に丸をつける */
.enjoy__image h4::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #8AB262;
    border-radius: 50%;
}

.image-wrapper {
    position: relative;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
}

.main-img {
    display: block;
    min-width: 502px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    /* メイン画像が手前に */
}

.shadow-img {
    position: absolute;
    top: 25px;
    left: 55%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
    /* メイン画像の下 */
    pointer-events: none;
    border-radius: 20px;
    /* 画像の丸みと合わせる */
}

.list-dot {
    width: 15px;
    height: 15px;
    background-color: #8AB262;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
}

/* 楽しみかたレスポンシブ */
@media (max-width: 768px) {

    /* セクションタイトルの高さ調整 */
    .enjoy-section .title {
        padding-top: 0px;
        margin-top: -50px;
    }

    .enjoy__inner {
        flex-direction: column;
        /* 横並びから縦並びへ */
        gap: 30px;
        padding: 30px 0px 0;
        max-width: 100%;
    }

    /* 画像の上のh4 */
    .enjoy__image h4 {
        margin-right: 50px;
        font-size: 20px;
        color: #8AB262;
    }

    /* h4の左横に丸をつける */
    .enjoy__image h4::before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        background-color: #8AB262;
        border-radius: 50%;
        margin-right: 8px;
        /* 丸とテキストの間の余白 */
        vertical-align: middle;
    }

    .enjoy__text {
        min-width: auto;
        width: 100%;
        text-align: left;
        /* ← 中央寄せから左揃えに変更 */
        padding: 0 15px;
    }

    .enjoy__text h5,
    .enjoy__text p {
        font-size: 15px;
        text-align: left;
        /* ← 中央寄せから左揃えに変更 */
    }

    .enjoy__text h5 {
        font-size: 18px;
    }

    .enjoy__image {
        min-width: auto;
        /* min-width解除 */
        width: 100%;
        /* 幅いっぱい */
        text-align: center;
    }

    .main-img {
        min-width: auto;
        /* min-width解除 */
        max-width: 320px;
        /* スマホサイズに制限 */
        width: 100%;
        /* 幅いっぱい */
        height: auto;
        /* 縦横比維持 */
        margin: 0 auto;
        display: block;
        border-radius: 12px;
        position: relative;
        z-index: 2;
    }

    .image-wrapper {
        max-width: 320px;
        /* 最大幅も制限 */
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .shadow-img {
        width: 100%;
        max-width: 320px;
        height: auto;
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-45%);
        border-radius: 20px;
        pointer-events: none;
        z-index: 1;
    }
}

/* 四季の楽しみかた */

.shiki__title-text {
    color: #8AB262;
    line-height: 2;
}

.shiki-section {
    position: relative;
}

.shiki__inner {
    margin: 0 auto;
    max-width: 1209px;
    width: 84%;

}

.shiki-section::before {
    content: "";
    position: absolute;
    top: 320px;
    bottom: 350px;
    left: 50%;
    width: 2px;
    background-color: #8AB262;
    transform: translateX(-50%);
    z-index: 1;
}

.season-label {
    top: 20px;
    width: 58px;
    height: 58px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8AB262;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
}

.shiki-section .enjoy__image {
    max-width: 1228px;
    margin: 0 auto;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline__item {
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1228px;
}

/* 表示順のみ制御 */
.timeline__item.left .timeline__content {
    padding-left: 5%;
    order: 2;
}

.timeline__item.left .timeline__image {
    order: 1;
}

.timeline__item.right .timeline__content {
    padding-right: 5%;
    padding-left: 6%;
    order: 1;
}

.timeline__item.right .timeline__image {
    order: 2;
}

.timeline__image img {
    width: 575px;
    height: 300px;
    object-fit: cover;
    border-radius: 150px;
    /* 元々の丸みは残す */
    position: relative;
    z-index: 10;
    /* 写真をレイヤー構造の一番上に移動させる */
}

.timeline__content.text-right {
    padding-left: 30px;
}

.timeline__content h3 {
    font-size: 25px;
    color: #DA832C;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
}

.timeline__content p {
    margin-top: 15px;
    font-size: 17px;
    line-height: 2;
}

.icon {
    width: 33px;
    height: auto;
    /* vertical-align: middle; */
    margin-right: 6px;
}

.icon.winter {
    width: 31px;
}

/* 四季の楽しみかたレスポンシブ */
@media (max-width: 768px) {

    #shiki .enjoy__image {
        text-align: left;
        width: 100%;
        min-width: auto;
    }

    /* 四季の楽しみかたセクションタイトル */
    #shiki .enjoy__image .shiki__title {
        display: flex;
        justify-content: flex-start;
        margin: 15px auto 0;

        /* 緑の下線 */
        color: #8AB262;
        border-bottom: 2px solid #DCE8D0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    /* タイトル下の文章 */
    .shiki__title-text {
        color: #333;
        font-size: 16px;
    }

    /* 四季の説明 */
    /* コンテンツ幅 */
    .shiki__inner {
        margin: 0 auto;
        max-width: 345px;
        width: 92%;
    }

    /* 春、夏、冬内コンテンツ順入れ替え */
    .timeline__item {
        flex-direction: column;
    }

    .timeline__content {
        order: 1;
        display: contents;
        flex-direction: column;
    }

    .timeline__item.left .timeline__content h3 {
        order: 1;
    }

    .timeline__item.left .timeline__image {
        order: 2;
    }

    .timeline__item.left .timeline__content p {
        order: 3;
    }

    /* 梅雨、秋内コンテンツ順入れ替え */
    .timeline__item {
        flex-direction: column;
    }

    .timeline__content {
        order: 1;
        display: contents;
        flex-direction: column;
    }

    .timeline__item.right .timeline__content h3 {
        order: 1;
    }

    .timeline__item.right .timeline__image {
        order: 2;
    }

    .timeline__item.right .timeline__content p {
        order: 3;
    }

    /* アイテムの位置、幅など調整 */
    .timeline__item {
        padding: 9% 0;
    }

    .timeline__image {
        padding: 7% 0;
    }

    .timeline__content p {
        font-size: 15px;
        max-width: 280px;
        width: 80%;
        padding-left: 3%;
    }



    /* 画像を小さくする */
    .timeline__image img {
        width: 100%;
        height: auto;
    }

    /* 季節の線と図形 */
    .shiki-section::before {
        left: 12%;
        top: 250px;
        bottom: 450px;
    }

    .season-label {
        left: 7%;
        top: 28px;
    }

}