@charset "UTF-8";

/*--------------------------------
 レイアウト
---------------------------------*/

.section {
    padding: 90px 0;

}

.section:nth-of-type(odd) {
    background-color: #fff
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}


/*--------------------------------
スライダー
---------------------------------*/

.slider {
    height: 100vh;
    margin: auto;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;

}

.slider_item {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 65% 35% 55% 25% / 55% 70% 55% 45%;
}

.slider_item:first-child {
    background-image: url(../../img/Top01.jpg);
}

.slider_item:nth-child(2) {
    background-image: url(../../img/Top02.jpg);
}

.slider_item:nth-child(3) {
    background-image: url(../../img/Top03.jpg);
}


#slick_box {
    position: relative;
    z-index: 1;
}

.slick_box_item {
    display: block;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    color: #fff;
    font-size: 30px;
    text-align: center;
    /*pタグ内で更に中央寄せ*/
    font-family: var(--font-serif);
    border: 1px solid var(--main-color);
    border-radius: 30px;
    background-color: var(--main-color);
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.8;
    width: 280px;
}

/* ＝＝＝＝＝min-width:960px＝＝＝＝＝ */
@media screen and (min-width: 960px) {

    main {
        padding-top: 240px;
    }

    /* 2. スライダー項目自体の高さを調整し、画面の残りの部分を埋める */
    .slider,
    .slider_item {
        height: calc(100vh - 250px);
    }
}


/*--------------------------------
重なる画像
---------------------------------*/
.overlap-image-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.overlap-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -380px;
    position: relative;
    z-index: 11;
}


/* ＝＝＝＝＝min-width:960px＝＝＝＝＝ */
@media screen and (min-width: 960px) and (max-width: 1200px) {

    /*  PC表示時は、画像の引き上げを少なくする */
    .overlap-image {
        margin-top: -300px;
    }
}

/* ＝＝＝＝＝ media Queries 767px 以下 ＝＝＝＝＝ */
@media screen and (max-width: 767px) {

    .overlap-image {
        margin-top: -69vw;
    }

    @media screen and (max-width: 500px) {
        .overlap-image {
            margin-top: -480px;
        }
    }
}





/*--------------------------------
共通項目
---------------------------------*/

/* 1. タイトル行のラッパー (Flexbox) */
#news .news-header-row,
#about .about-header-row,
#Features .Features-header-row,
#Teachers .Teachers-header-row,
#Guide .Guide-header-row,
#Access .Access-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}


/* 2. 英語ラベルと日本語タイトルを囲むラッパー */
#news .news-title-wrapper,
#about.about-title-wrapper,
#Features .Features-title-wrapper,
#Teachers .Teachers-title-wrapper,
#Guide .Guide-title-wrapper,
#Access .Access-title-wrapper {
    position: relative;
}

/* 3. 英語ラベル (en) */
#news .en,
#about .en,
#Features .en,
#Teachers .en,
#Guide .en,
#Access .en {
    position: absolute;
    top: -15px;
    left: 0;
    font-size: var(--size-md);
    color: var(--text-color);
}

/* 4. 日本語タイトル (title) */
#news .title,
#about .title,
#Features .title,
#Teachers .title,
#Guide .title,
#Access .title {
    font-size: var(--size-xl);
    font-weight: bold;
    margin-top: 20px;
}

#about .section-header-text,
#Features .section-header-text,
#Teachers .section-header-text,
#Guide .section-header-text,
#Access .section-header-text {
    font-size: 2rem;
}



/* 5. 「一覧を見る/詳しく見る」スタイル */
#news .section-header a,
#about .section-header a,
#Features .section-header a {
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
}

/* 6. 「一覧を見る/詳しく見る」リンクのホバースタイル (共通部分) */
#news .section-header a:hover,
#about .section-header a:hover,
#Features .section-header a:hover {
    transform: translateX(4px) scale(1.02);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 7. コンテンツラッパー (.container) の共通スタイル (PC向け) */
#news .container,
#about .container,
#Teachers .container,
#Guide .container,
#Access .container {
    width: 100%;
    margin: 0 auto;
    margin-top: 200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 8. セクションボディ (.section-body) の共通スタイル */
#news .section-body,
#about .section-body,
#Teachers .section-body,
#Guide .section-body,
#Access.section-body {
    width: 100%;
    z-index: 1;
}

/* 9. リスト要素 (ul) の基本リセット */
#news .section-body ul,
#about .section-body ul,
#Teachers .section-body ul,
#Guide .section-body ul,
#Access .section-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



/*media Queries 767  以下の共通スタイル
----------------------------------------------------*/

@media screen and (max-width: 767px) {

    /* 10-1. about と Features の見出しエリアの配置リセット（縦並び・中央寄せ）*/
    #about .about-header-row,
    #Features .Features-header-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }

    #news .title,
    #about .title,
    #Features .title,
    #Teachers .title {
        font-size: var(--size-lg);

    }



    /* 10-2. 英語ラベルとタイトルラッパーの幅・中央寄せ*/
    #news .news-title-wrapper,
    #news .en,
    #about .about-title-wrapper,
    #about .en,
    #Features .Features-title-wrapper,
    #Features .en,
    #Teachers .Teachers-title-wrapper,
    #Access .en,
    #Teachers .en,
    #Guide .Guide-title-wrapper,
    #Guide .en {
        text-align: center;
        width: 100%;
    }




    /* 10-4. Features/about のテキスト中央寄せ */
    #about .section-header-text,
    #Features .section-header-text,
    #Teachers .section-header-text {
        font-size: 1.4rem;
        text-align: center;
        text-align-last: center;
    }

    /* 10-5. container の padding / max-width 調整 (news, Features に共通) */
    #news .container,
    #Features .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    /* ★追加★ 10-6. news と Features の container の margin-top 共通化 */
    #news .container,
    #Features .container {
        margin-top: 50px;
    }
}




/*--------------------------------
NWES
---------------------------------*/

#news {
    background-image: url(../../img/NEWS_Back.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    background-color: var(--main-color);
    padding: 120px 0 100px;
    min-height: 800px;
    position: relative;
    z-index: 1;
    padding-bottom: 250px;
}

/* ★★★ 画面幅が500px以下の時の調整 ★★★ */
@media screen and (max-width: 500px) {
    #news {
        background-size: 500px auto;
    }
}




/*--------------------------------
「一覧を見る」リンクのスタイル
---------------------------------*/

#news .section-header.sp-visible {
    display: none;
}

#news .section-header.pc-visible {
    display: block;
}


/* ★ ホバー時のスタイル ★ */
#news .section-header a:hover {
    color: #c94b6e;
}


/* ニュースリスト（ul） */
#news .section-body {
    order: 3;
    width: 100%;
    z-index: 1;
}



/* ニュースアイテム (li) */
#news .newslist {
    margin-bottom: 15px;

}


/* ニュースリンク（aタグ） - 白いボックス部分 */
#news .newslist a {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background-color: #fff;
    color: var(--text-color);
    border-radius: 30px;
    text-decoration: none;
    min-height: 100px;
    max-width: 1200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}


/* 日付 */
#news .newsdate {
    font-weight: bold;
    min-width: 120px;
    margin-right: 20px;
    white-space: nowrap;
    color: var(--text-color);
    transition: color 0.3s ease-in-out;
}



/* ★ ホバー時のスタイル ★ */
#news .newslist a:hover {
    background-color: #e96b8e;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ★ ホバー時は日付の色も変える ★ */
#news .newslist a:hover .newsdate {
    color: #fff;
}







/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    #news .section-header.sp-visible {
        display: block;
    }

    #news .section-header.pc-visible {
        display: none;
    }



    #news {
        padding-top: 30px;
        padding-bottom: 150px;
        min-height: auto;
    }


    #news .container {
        padding-left: 20;
        padding-right: 20;
        margin-top: 50px;
        max-width: 100%;
    }


    /* 2. 見出しエリアのレイアウト変更 */
    #news .news-header-row {
        display: grid;
        grid-auto-flow: row;
        justify-content: center;
        place-items: center;
        margin-bottom: 15px;
    }



    /* 2. SP用を表示し、リストの下に配置 */
    .section-header.sp-visible {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        order: 3;
    }

    /* 3. タイトルラッパーを縦並びに戻す */
    #news .news-header-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* 3. 白いボックスの幅の調整 */
    #news .newslist a {
        max-width: none;
        width: 100%;
        margin: 0;
        border-radius: 15px;
        padding: 25px 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 4. リスト内の日付とテキストの配置調整 */
    #news .newslist a {
        flex-direction: column;
        align-items: flex-start;
        align-items: center;
    }

    #news .newsdate {
        align-items: center;
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
        font-size: var(--size-sm);
        border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
        padding-bottom: 5px;
        width: 100%;
    }

    #news .newstitle {
        font-size: var(--size-sm);
        margin-top: 5px;
    }
}


/*--------------------------------
ABOUT
---------------------------------*/

#about .section-header.sp-visible {
    display: none;
}

#about .section-header.pc-visible {
    display: block;

}


#about {
    background-color: #D3EDFB;
    background-size: 100% auto;
    background-position: center top;
    padding: 100px 0 100px;
    min-height: 800px;
    margin-top: -250px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* ＝＝＝＝＝min-width:960px＝＝＝＝＝ */
@media screen and (max-width: 959px) {
    #news {
        padding-bottom: 300px;
        min-height: 500px;
    }

    #about {
        margin-top: -300px;
    }

}


/* ★★★ 画面幅が500px以下の時の調整 ★★★ */
@media screen and (max-width: 500px) {
    #about {
        background-size: 500px auto;
    }
}




/* ★★★ 波形を作成するCSS (上端に適用) ★★★ */
#about::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: #FFD9DF;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    z-index: -1;

}



/* 1. 見出しと「一覧を見る」を水平に並べるラッパー */
#about .about-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}


#about .section-header-text {
    text-align: left;
}



/* 4. リスト本体はそのまま下部に配置される */
#about .section-body {
    margin-top: 80px;
}

#about .section-body img {
    width: 300px;
}

/* リスト全体のコンテナ設定 (section-body) */
#about .section-body ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* リストアイテム (aboutlist) */
#about .aboutlist a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 15%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

#about .aboutlist a:hover {
    background-color: #76C7EF;
    transform: translateY(-5px);
}

#about .aboutlist a:hover .about-nav {
    color: #fff;
}


/* 画像コンテナ (figure) */
#about .aboutlist figure {
    width: 100%;
    padding-top: 75%;
    position: relative;
    margin: 0 0 15px 0;
    overflow: hidden;
    border-radius: 15%;
    box-sizing: border-box;

}

/* 画像（img） */
#about .aboutlist img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ナビゲーションテキスト */
#about .about-nav {
    font-size: 2rem;
    padding: 0;
    margin: 0;
    color: var(--text-color);
}

/*--------------------------------
詳しく見る　リンクのスタイル
---------------------------------*/


/* ★ ホバー時のスタイル ★ */
#about .section-header a:hover {
    color: #4795ee;
}



/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    #about .section-header.sp-visible {
        display: block;
    }

    #about .section-header.pc-visible {
        display: none
    }


    #about {
        margin-top: -300px;
        padding-top: 80px;
    }

    #about .container {
        margin-top: 100px;

    }


    /* 3. #about::before の高さも調整（必要に応じて） */
    #about::before {
        height: 80px;
    }

    /* #aboutリストを2列にする */
    #about .section-body ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* 見出しエリアのレイアウト変更 */
    #about .about-header-row {
        display: grid;
        grid-auto-flow: row;
        justify-content: center;
        place-items: center;
        margin-bottom: 15px;
    }

    #about .section-header.sp-visible a {
        margin-top: 30px;
    }


    #about .section-header-text {
        text-align: center;
        word-break: keep-all;
    }

    /* タイトルラッパーを縦並びに戻す */
    #about .about-header-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #about .about-nav {
        font-size: 1.4rem;
    }

    #about .aboutlist a {
        padding: 10px;
    }

}





/*--------------------------------
Features
---------------------------------*/
#Features .section-header.sp-visible {
    display: none;
}

#Features .section-header.pc-visible {
    display: block;
}


#Features {
    background-image: url(../../img/Features_Back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-color: var(--main-color);
    padding: 400px 0 100px;
    min-height: 800px;
    position: relative;
    z-index: 1;
    padding-bottom: 350px;

}

#Features::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 400px;
    background-color: #D3EDFB;
    z-index: -10;
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    background-image: url(../../img/usagi01.png), url(../../img/usagi02.png),
        url(../../img/usagi05.png), url(../../img/usagi04.png);
    background-size:
        200px 200px,
        200px 200px,
        200px 200px,
        200px 200px;
    background-position:
        12.5% 50%,
        37.5% 50%,
        62.5% 50%,
        87.5% 50%;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}





/* container */
#Features .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: block;
    text-align: left;
    height: auto;
}


/* 1. 見出しと「一覧を見る」を水平に並べるラッパー */
#Features .Features-header-row {
    margin-top: 150px;
}


/* 2. PCの左右分割ラッパー */
#Features .Features-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 50px;
    min-height: 520px;
}

/* 3. 左側: テキストコンテンツ (45%幅) */
#Features .Features-text-content {
    width: 45%;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}


/*media Queries 959
----------------------------------------------------*/
@media screen and (max-width: 959px) {
    #Features::before {
        background-size:
            150px 150px,
            150px 150px,
            150px 150px,
            0;

        background-position:
            20% 50%,
            50% 50%,
            80% 50%,
            0;
        background-repeat: no-repeat;
    }
}




/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    #Features::before {
        background-size:
            150px 150px,
            150px 150px,
            0,
            0;
        background-position:
            20% 50%,
            80% 50%,
            0,
            0;
        background-repeat: no-repeat;
    }
}



/*--------------------------------
Feature スライダー (Slick)
---------------------------------*/

/* 4. 右側: 画像スライダーエリア (50%幅) - Slickの表示領域 */
#Features .Features-media {
    --feature-ratio: 0.8035;
    width: 50%;
    height: auto;
    max-height: none;
    margin: 0;
    overflow: hidden;
}

/* Slickが計算する高さを無視し、親要素の高さ (600px) を使うよう強制 (動作必須) */
#Features .Features-media .slick-list {
    height: 100% !important;
    overflow: hidden !important;
}


/* Slickの各スライドの高さを維持 (アスペクト比 56.25% 維持) */
#Features .Features-media .slick-slide {
    height: calc((100vw * 0.5) * var(--feature-ratio)) !important;
    padding-top: 0 !important;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    min-height: 0 !important;
    display: block !important;

}


/* スライドアイテム（背景画像、変形角丸） */
.Features-media .media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 65% 35% 55% 25% / 55% 70% 55% 45%;
}


/* 背景画像の適用 */
.Features-media .media-item:first-child {
    background-image: url(../../img/Feature01.jpg);
}

.Features-media .media-item:nth-child(2) {
    background-image: url(../../img/Feature02.jpg);
}

.Features-media .media-item:nth-child(3) {
    background-image: url(../../img/Feature03.jpg);
}



@media screen and (min-width: 1000px) {

    #Features .Features-media .slick-slide {
        height: calc((100vw * 0.35) * var(--feature-ratio)) !important;
        padding-top: 0 !important;
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        min-height: 500px !important;
        display: block !important;

    }
}


#Features .section-header {
    text-align: left;
    margin-top: auto;
    width: 100%;
}

#Features .section-header a {
    display: block;
    text-align: right;
    margin-top: 30px;
}

#Features .section-header a:hover {
    color: #358141;
}

#Features .section-header-text {
    text-align-last: left;
}





/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    #Features .section-header.sp-visible {
        display: block;
    }

    #Features .section-header.pc-visible {
        display: none;
    }

    #Features {
        padding-top: 150px;
        padding-bottom: 300px;
        background-size: auto;
        background-position: center 20px;
    }


    #Features::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        height: 200px;
        background-color: #D3EDFB;
        z-index: -10;
        border-radius: 0 0 50% 50% / 0 0 100px 100px;

    }



    /* .container の padding を SP 用に修正 */
    #Features .container {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 50px;
        max-width: 100%;
    }


    /* SP左右分割ラッパーを縦並びに戻す */
    #Features .Features-content-wrapper {
        flex-direction: column;
        margin-top: 50px;
    }

    /* SPテキストコンテンツ (上部) */
    #Features .Features-text-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    #Features .section-header {
        text-align: center;
        margin-top: auto;
        width: 100%;
    }

    #Features .section-header a {
        display: inline-block;
        text-align: center;

    }


    #Features .section-header-text {
        text-align-last: center;
    }


    /* SP見出し要素の中央寄せ */
    #Features .Features-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }

    /* sP英語ラベル */
    #Features .Features-title-wrapper,
    #Features .en {
        position: static;
    }




    /* SP画像スライダーエリア (下部, 横スライド) */
    #Features .Features-media {
        width: 100%;
        height: 300px;
        margin-top: 30px;
    }


    /* sP Slickの各スライドの高さを調整（横スライド）*/
    #Features .Features-media .slick-slide {
        height: 300px !important;

        padding-top: 0 !important;
        margin-bottom: 0;
    }

    /* SP media-item は親要素の高さ (100%) を継承 */
    .Features-media .media-item {
        position: static;
        top: auto;
        left: auto;
        height: auto;
        border-radius: 20px;
        border-radius: 65% 35% 55% 25% / 55% 70% 55% 45%;
    }
}




/*--------------------------------
Teachers
---------------------------------*/

#Teachers {
    background-color: var(--main-color);
}

#Teachers .container {
    margin-top: 0;
}

#Teachers .section-header-text {
    text-align: left;
}

/* 4. リスト本体はそのまま下部に配置される */
#Teachers .section-body {
    margin-top: 80px;
}


#Teachers .section-body img {
    width: 300px;
}

/* リスト全体のコンテナ設定 (section-body) */
#Teachers .section-body ul {

    /* PC/タブレット: 3列グリッド */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


#Teachers .Teacherslist {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


#Teachers .Teachers-name {
    font-size: 2rem;
    color: #e84b77;
}


/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    #Teachers {
        padding-bottom: 0px;
    }

    #Teachers .container {
        margin-top: 0px;
    }

    #Teachers .section-body {
        margin-top: 50px;
    }

    #Teachers .section-body ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    #Teachers .section-header-text {
        text-align: center;
        text-align-last: center;
    }


    #Teachers .Teacherslist {
        margin-top: 0;
    }

    #Teachers .Teacherslist figure {
        width: 150px;
        margin: 0 0 10px 0;
        height: auto;
        padding-top: 0;
        position: relative;
        overflow: hidden;
        border-radius: 10%;
        box-sizing: border-box;
    }

    #Teachers .Teacherslist figure img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

}

@media screen and (max-width: 550px) {

    /* 1. 画像ボックスのサイズを強制的に縮小 */
    #Teachers .Teacherslist figure {
        width: 120px !important;
    }

    #Teachers .section-body ul {
        gap: 10px;
        margin-bottom: 15px;
    }

    /* 2. テキストサイズを縮小 */
    #Teachers .Teachers-name,
    #Teachers .Teachers-nav {
        font-size: var(--size-sm);
    }

    #Teachers .Teachers-nav {
        word-break: break-word;
    }
}


/*--------------------------------
Guide
---------------------------------*/

#Guide {
    background-image: url(../../img/Guide_Back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 25px;
    background-attachment: scroll;
    background-color: var(--main-color);
    padding: 100px 0 100px;
    min-height: 1400px;
    position: relative;
    z-index: 1;
    padding-bottom: 250px;
}

#Guide .container {
    margin-top: 300px;

}


#Guide .Guide-card-wrapper {
    display: block;
    align-items: center;
    padding: 40px 60px;
    background-color: #fff;
    color: var(--text-color);
    border-radius: 30px;
    max-width: 1200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
}


/* カード内のタイトル */
#Guide .Guide-card-title {
    font-size: var(--size-lg);
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 60px;
}

/* 3. ステップリスト（入園の流れ） - PCはFlexで横並び */
#Guide .Guide-flow-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

/* 4. 各ステップアイテム */
#Guide .Guide-flow-item {
    width: 30%;
    text-align: center;
}

/* 5. アイコン */
#Guide .Guide-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
}

#Guide .Guide-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 6. ステップ名 */
#Guide .flow-step-name {
    font-size: var(--size-md);
    font-weight: bold;
    color: var(--text-color);
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 7. 説明文 */
#Guide .flow-step-detail {
    font-size: var(--size-sm);
    color: var(--text-color);
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    white-space: normal;
}

/* 8. PC用の矢印 */
#Guide .flow-arrow-pc {
    display: flex;
    align-self: center;
    justify-content: center;
    width: 10%;
    margin: 0 10px;
}

#Guide .flow-arrow-pc img {
    width: 100%;
    min-width: 50px;
    max-width: 80px;
    height: auto;
}

/* 9. 注意書き */
#Guide .Guide-notes {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 80px;
    text-align: center;
    font-size: 1.4rem;
}

#Guide .Guide-notes p {
    margin: 10px 0;
}

#Guide .Guide-notes span {
    color: #e84b77;
    margin-right: 5px;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    #Guide {
        background-position: center 120px;
    }


    /* 白いカード全体 */
    #Guide .Guide-card-wrapper {
        padding: 30px 20px;
        margin-top: 0px;
        border-radius: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 1. ステップリストを縦積み（Flexboxのcolumn）に変更 */
    #Guide .Guide-flow-list {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    /* 2. 各ステップアイテム */
    #Guide .Guide-flow-item {
        width: 100%;
        margin-bottom: 0;
    }

    /* 3. 矢印要素を縦向きに表示 */
    #Guide .flow-arrow-pc {
        display: flex;
        width: 100%;
        text-align: center;
        margin: 30px 0;
        justify-content: center;
        align-items: center;
    }

    #Guide .flow-arrow-pc img {
        width: 30px;
        height: auto;
        display: block;
        transform: rotate(90deg);
    }

    /* アイコンサイズを調整 */
    #Guide .Guide-icon {
        width: 80px;
        height: 80px;
    }

    /* 説明文のサイズ調整 */
    #Guide .flow-step-detail {
        font-size: 13px;
    }

    #Guide .Guide-notes {
        font-size: var(--size-sm);
        margin-top: 30px;
        word-break: keep-all;
    }

    #Guide .Guide-notes p {
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

}


/*--------------------------------
Access
---------------------------------*/

#Access .section-header.sp-visible {
    display: none;
}

#Access .section-header.pc-visible {
    display: block;
}


#Access {
    background-color: var(--main-color);
    text-align: center;
    padding: 100px 0;
}

#Access .container {
    /* 共通項目の margin-top: 200px; をリセット */
    margin-top: 0;
}

#Access .Access-header-row {
    margin-bottom: 50px;
    /* display: flex; justify-content: space-between; は共通項目を利用 */
}

#Access .Access-title-wrapper {
    /* 共通項目の text-align: center; を上書き */
    text-align: left;
}


/* GoogleMapで見る ボタンのスタイル */
#Access .section-header a {
    color: #e84b77;
    white-space: nowrap;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #e96b8e;
    border-radius: 30px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    margin-bottom: 30px;
}

/* ホバー時のスタイル */
#Access .section-header a:hover {
    background-color: #e96b8e;
    color: #fff;
    transform: none;
    text-decoration: none;
}


#Access .section-header.pc-visible {
    display: block;
}

#Access .section-body {
    width: 100%;
}

/* Google Maps iframe の親要素 (li) */
#Access .Accesslist {
    display: inline-block;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: 10px;
}

/* iframe が li 要素いっぱいに広がるようにする */
#Access .Accesslist iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 5px solid #f3ba50;
    border-radius: 8px;
}

/* 住所・TEL情報エリアのスタイル */
#Access .Access-info {
    text-align: center;
    color: var(--text-color);
    line-height: 1.8;
}

#Access .Access-info .Access-name {
    font-size: var(--size-lg);
    font-weight: bold;
    margin-bottom: 10px;
}

#Access .Access-info p {
    font-size: var(--size-md);
    margin: 0;
}

/* サイト全体の更新情報（containerの外側に配置されていることを想定） */
.Access-update-text {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 50px;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    #Access {
        padding: 50px 0;
    }

    /* ヘッダー行を縦並び・中央寄せに (共通項目を上書き) */
    #Access .Access-header-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    /* タイトルを中央寄せ (共通項目を上書き) */
    #Access .Access-title-wrapper {
        text-align: center;
    }

    #Access .section-header.pc-visible {
        display: none;
    }


    /* SP用リンクを表示 */
    #Access .section-header.sp-visible {
        display: block;
        margin-top: 20px;
    }

    /* タイトルフォントサイズをSP用に調整 */
    #Access .Access-title-wrapper .title {
        font-size: 28px;
    }

    .Access-update-text {
        margin-top: 30px;
    }

    /* 地図のレスポンシブ調整 */
    #Access .Accesslist {
        max-width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    /* 住所・TEL情報のフォント調整 */
    #Access .Access-info .Access-name {
        font-size: 2rem;
    }

    #Access .Access-info p {
        font-size: 1.4rem;
    }
}