/* パーティクル */

#particle{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    opacity: 0.5;
}
#particle-line{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    opacity: 0.5;
}

/*背景*/
.bg{
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 1;

}
.bg_left svg{
    position: absolute;
    top: -50px;
    left: 0;
    width: 30vw;
    transform-origin: top left;
}
.bg_right svg{
    position: absolute;
    bottom: -100px;
    right: -10px;
    width: 30vw;
    transform-origin: bottom right;
}
.bg_left svg,.bg_right svg{
    transition: all 0.8s ease;
}
.bg_left svg.small,
.bg_right svg.small{
    transform: scale(0.7);
}

/* 共通 */
.PC_none{
        display: none;
    }
.SP_none{
    display: block;
}
body{
    background-color: #EAFFF4;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
}
section{
    margin-top: 150px;
}
.about{
    margin-top: 0;
}
.section_title{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: last baseline;
}
.section_title h2{ 
    display: inline-block;
    font-family: "Miriam Libre", sans-serif;
    font-weight: bold;
    font-size: 80px;
    background: linear-gradient(90deg, #3F8B98 0%, #5CC9A4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} 
.section_title p{
    font-size: 20px;
    font-weight: normal;
    margin-left: 10px;
    font-family: "Miriam Libre", sans-serif;
}

/* --- 1. ハンバーガーボタン全体（右上に固定） --- */
.hamburger-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    z-index: 100; /* ナビよりは後ろ */
    cursor: pointer;
}

/* 線のデザイン */
.hamburger-lines {
    position: absolute;
    top: 50px;
    right: 35px;
    z-index: 2; /* 背景より手前 */
    pointer-events: none; /* 線自体はクリック判定を消して親に任せる */
}

.hamburger-lines span {
    display: block;
    width: 60px;
    height: 3px;
    background: #fff;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger-lines span:nth-child(3) {
    width: 35px;
    margin-left: auto;
}

/* ×印のアニメーション */
.hamburger-wrapper.is-active .hamburger-lines span:nth-child(1) {
    transform: translateY(15px) rotate(45deg);
}
.hamburger-wrapper.is-active .hamburger-lines span:nth-child(2) {
    opacity: 0;
}
.hamburger-wrapper.is-active .hamburger-lines span:nth-child(3) {
    width: 60px;
    transform: translateY(-15px) rotate(-45deg);
}


/* --- 2. 背景の丸（ボタンの中にある） --- */
.menu-bg {
    position: absolute; /* 親(wrapper)に対して配置 */
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: #4D5854;
    border-bottom-left-radius: 100%;
    transform-origin: top right;
    z-index: 1; /* 線(2)より後ろ */
}


/* --- 3. メニューの文字（一番手前に表示） --- */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ★ここが解決の鍵！ */
    z-index: 101; /* ボタン(100)より手前に出す */
    pointer-events: none; /* 透明な部分はクリックを貫通させる！ */

    opacity: 0;
    visibility: hidden;
}

.menu_list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nuv_item {
    margin-bottom: 20px;
    font-family: "Miriam Libre", sans-serif;

}

.nuv_item a {
    display: block;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    
    /* ★重要：リンクだけはクリックできるように戻す */
    pointer-events: auto;
}

.nuv_item a span {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.7;
}

.nuv_item a:hover {
    color: #5CC9A4;
}


/* mv */
.mv{
    position: relative;
    z-index: -1;
    padding-bottom: 200px;
}
.mv_top{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 130px 30px 100px;
    gap: 30px;
}
.mv_bg img{
    width: 100%;
    height: auto;
}
.mv_logo{
    max-width: 60vw;
    height: auto;
}
.mv_logo img{
    width: 500px;
    height: auto;
}
.mv_title {
    font-size: 28px;
    font-weight: bold;
    white-space: nowrap;
    color: #445752;
    text-align: center;
    letter-spacing: 6px;
    line-height: 30px;
}
.mv_title h1 span{
    font-size: 18px;
}

.mv_date{
    max-width: 30vw;
}
.mv_date img{
    width: 100%;
}

.content_all{
    background-color: #fff;
    position: relative;
}
.section_deco{
    position: absolute;
    width: 100vw;
    height: 15vw;
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    background-color: #fff;
    top: -15vw;
}


/* about */
section{
    position: relative;
    z-index: 2;
}
.about_text_top{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
.about_text_top img{
    max-width: 400px;
}
.about_text_top p{
    max-width: 670px;
    font-size: 18px;
    line-height: 45px;
}
.about_text_bottom{
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 45px;
}
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.scroll-infinity__wrap {
    overflow: hidden;
    margin-top: 50px;
}
.scroll-infinity__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: infinity-scroll-left 80s linear infinite;
}
.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
}
.scroll-infinity__item {
    flex-shrink: 0;
    height: 250px;
    width: 340px;
}
.scroll-infinity__item>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.about_scroll{
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 30px;
}
.wave_g{
    height: 50px;
    width: auto;
    position: absolute;
    top: 280px;
}
.wave_g img{
    height: 100%;
    width: auto;
    object-fit: contain;
}
.wave_sb{
    height: 50px;
    width: auto;
    transform: scale(1,-1);
    position: absolute;
    top: 280px;
}
.wave_sb img{
    height: 100%;
    width: auto;
    object-fit: contain;
}

.about_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 80px;
    background-color: #3DA5B3;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border-radius: 40px;
    border: 1px solid #192d5e;
    margin: 80px auto 0;
    transition: .3s;
}
.about_btn:hover{
    background-color:#192d5e;
    color: #fff;
}

/* message */
.msg_all_wrap{
    max-width: 1000px;
    margin: 0 auto;
}
.msg_stu h3{
    color: #40A6FF;
    font-size: 30px;
    text-align: center;
    margin-top: 80px;

    /* 左右に線を並べるための設定 */
    display: flex;
    align-items: center; /* 垂直方向の真ん中に線を配置 */
    gap: 20px;           /* 文字と線の間の余白 */
}
/* 左右の線の共通設定 */
.msg_stu h3::before,
.msg_stu h3::after {
    content: "";
    height:1px;         /* 線の太さ */
    flex-grow: 1;        /* 左右いっぱいに線を伸ばす */
    background-color: #40A6FF; /* 文字と同じ色に設定 */
}
.msg_teach h3{
    color: #3DA5B3;
    font-size: 30px;
    text-align: center;
    margin-top: 80px;

    /* 左右に線を並べるための設定 */
    display: flex;
    align-items: center; /* 垂直方向の真ん中に線を配置 */
    gap: 20px;           /* 文字と線の間の余白 */
}
/* 左右の線の共通設定 */
.msg_teach h3::before,
.msg_teach h3::after {
    content: "";
    height:1px;         /* 線の太さ */
    flex-grow: 1;        /* 左右いっぱいに線を伸ばす */
    background-color: #3DA5B3; /* 文字と同じ色に設定 */
}

.comment_person_img img{
    height: 300px;
    width: auto;
}
.comment_wrap{
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    align-items: center;
}
.comment_wrap.right{
    flex-direction: row-reverse;
}
.sentence .position{
    font-size: 16px;
    margin-bottom: 10px;
}
.sentence .name{
    font-size: 20px;
    margin-bottom: 15px;
}
.sentence .text{
    font-size: 18px;
    line-height: 30px;
}

/*EVENT*/

/* テキストのスタイル調整 */
    :root {
        /* メイン六角形のサイズ */
        --hex-height: 400px;
        /* 正六角形の幅 = 高さ × 0.866 */
        --hex-width: calc(400px * 0.866); 
        
        /* ミニ六角形のサイズ（メインの約40%に設定） */
        --mini-height: 160px;
        --mini-width: calc(160px * 0.866);

        /* 六角形の形（クリップパス） */
        --hex-shape: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        /* 色の定義 */
        --c-pink: #E05F73;
        --c-lightpink: #FDC0CA;
        --c-yellow: #FFD774;
        --c-lightyellow: #FFE8AD;
        --c-orange: #FF9444;
        --c-lightorenge: #FFC89F;
        --c-green: #34E1C7;
        --c-lightgreen: #B5FFF4;
        --c-blue: #63a4ff;
        --c-mint: #7edec8;
    }
    .hexagon {
        width: var(--hex-width);
        height: var(--hex-height);
        clip-path: var(--hex-shape);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px;
        box-sizing: border-box;
        transition: transform 0.3s;
    }
    .hexagon h3 {
        color: white;
        font-size: 1.8rem;
        margin: 0;
        line-height: 1.4;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        font-weight: bold;
    }
    .hexagon p {
        font-size: 18px;
        line-height: 22px;
        color: #555;
        margin: 0;
        text-align: justify; /* 文章を両端揃え */
    }
    .lightpink img{
        width: 200px;
    }
    .mini_hexagon {
        width: var(--mini-width);
        height: var(--mini-height);
        background-color: #ccc; /* デフォルト色 */
    }

    /* --- ハニカム構造のグリッド設定 --- */
    .honeycomb {
        display: grid;
        grid-template-columns: repeat(2, var(--hex-width));
        grid-gap: 30px;
        padding-bottom: 100px;
        justify-content: center;
        margin-top: 80px;
    }

    /* 偶数列を下にずらして噛み合わせる */
.hexagon:nth-of-type(3),
.hexagon:nth-of-type(4),
.hexagon:nth-of-type(7),
.hexagon:nth-of-type(8){
    margin-left: calc((100% / 2));
    margin-top: -80px;
    margin-bottom: -80px;
    }


    .pink { background-color: var(--c-pink); }
    .lightpink { background-color: var(--c-lightpink); }
    
    .yellow { background-color: var(--c-yellow); }
    .lightyellow { background-color: var(--c-lightyellow); }

    .orange { background-color: var(--c-orange); } /* 今回はSPLINK用として */
    .lightorenge { background-color: var(--c-lightorenge); }
    
    .green { background-color: var(--c-green); } /* 今回はSPLINK用として */
    .lightgreen { background-color: var(--c-lightgreen); }

    .resonance_btn{
        display: block;
        padding: 20px 40px ;
        background-color: #ffffff;
        border-radius: 30px;
        margin-top: 20px;
        transition: .3s;
    }
    .resonance_btn:hover{
        scale: 1.1;
        color: #34E1C7;
    }

    .green img{
        width: 200px;
        height: auto;
    }
    .yellow h3{
        color: #445752;
    }


/* contents */

.contents .intro{
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 45px;
}

.contents_wrap {
    display: flex;
    justify-content: center;
    gap: 100px; /* 1stと2ndの間の隙間 */
    padding: 50px 20px;
    font-family: sans-serif;
}

    /* 共通のカードスタイル */
    .card_item {
        position: relative; /* ボタンを絶対配置するための基準 */
        width: 400px;
        height: 400px;
        border-radius: 0 60px 0 60px ; /* 角の丸み（左上と右下を丸くする例） */
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
    }

    /* 1st（緑）のデザイン */
    .cont_1st {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); /* 仮のグラデーション */
        background: linear-gradient(135deg, #5CC9A4 0%, #388A95 100%); /* 画像に近い緑 */
        transition: 0.3s;
    }

    /* 2nd（青）のデザイン */
    .cont_2nd {
        background: linear-gradient(135deg, #66a6ff 0%, #89f7fe 100%); /* 仮のグラデーション */
        background: linear-gradient(135deg, #84B7E4 0%, #278FA4 100%); /* 画像に近い青 */
        margin-top: 150px; /* ★ここで段差をつける */
        transition: 0.3s;
    }

    /* 中の数字のデザイン */
    .card_content p {
        margin: 0;
        line-height: 1;
        font-weight: bold;
        text-align: center;
        display: flex;
        align-items: last baseline;
    }

    .number {
        font-size: 220px;
        display: block;
    }

    .suffix {
        font-size: 50px;
        /* 文字の縁取り（白抜き文字）の表現 */
        -webkit-text-stroke: 2px #fff; 
        color: transparent;
        display: block;
        text-align: right;
        margin-right: -20px;
    }

    /* ボタンのデザイン */
    .btn_link {
        position: absolute;
        bottom: -30px; /* 下にはみ出させる */
        left: 50%;
        transform: translateX(-50%); /* 中央揃え */

        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        padding: 20px 30px 20px 40px;
        border-radius: 50px;
        text-decoration: none;
        color: #56ab8f; /* 文字色 */
        font-weight: bold;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        width: 400px;
        box-sizing: border-box;
        font-size: 30px;
        margin-left: 50px;
    }

    .cont_2nd .btn_link {
        color: #5b9bd5; /* 2ndのボタン文字色 */
    }

    /* 矢印アイコン部分 */
    .btn_hexagon {
    width: 40px;
    height: 48px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);;
    background: #56ab8f;
    color: #fff;
    border-radius: 5px; /* 完全な六角形はCSSが複雑になるため、角丸四角で代用 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.6s ease;
    }

    .btn_link:hover .btn_hexagon {
        transform: rotate(360deg) scale(1.1);
    }

    .btn_link {
        transition: all 0.3s ease;
    }
    .cont_1st:has(.btn_link:hover),
    .cont_2nd:has(.btn_link:hover) {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .btn_link:hover {
        transform: translateX(-50%) translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .cont_2nd .btn_hexagon {
        background: #5b9bd5;
    }

    .th_poster_img{
        width: 600px;
        height: auto;
        margin: 0 auto;
    }
    .th_poster_img img{
        width: 100%;
        height: 100%;
    }


/* access */
.access h2{
    margin-bottom: 30px;
}
.access_wrap{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 100px;
    gap: 30px;
}
.map{
    max-width: 540px;
}
.map iframe{
    max-width: 540px;
}
.access_text h3{
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}
.access_text img{
    margin-right: 10px;
    transform: rotate(90deg);
}
.access_place p{
    font-size: 20px;
    line-height: 30px;
    margin-left: 40px;
}
.access_place{
    margin-bottom: 50px;
}
.access_trans p{
    font-size: 20px;
    line-height: 30px;
    margin-left: 40px;
}
.access_trans ul li{
    font-size: 20px;
    line-height: 30px;
    list-style: circle;
    margin-left: 60px;
}







/* フッター */
.footer{
    position: relative;
    padding: 100px 0 50px;
    background-color: #7AA08F;
    width: 100%;
    height: 700px;
    margin-top: 900px;
    z-index: 1;
}
.tree_wrap{
    position: absolute;

    max-width:800px;
    height: 800px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    bottom: 675px;
}
.tree_wrap img{
    width: 100%;
    height: auto;
}
.footer_cont_wrap{
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.fc_left p{
    font-size: 20px;
    color: #fff;
    line-height: 30px;
}
.fc_left span{
    font-size: 36px;
    color: #fff;
}
.school_name{
    margin-bottom: 35px;
}
.fc_right .sitemap{
    font-size: 20px;
    color: #fff;
}
.fc_right .sitemap p{
    margin-bottom: 30px;
}
.sitemap_items{
    display: flex;
    justify-content: space-around;
    gap: 50px;
    margin-bottom: 50px;
}
.sitemap_items li{
    transition: .3s;
}
.sitemap_items li:hover{
    color: #445752;
}
.link_wrap a{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F7FFEE;
    color: #445752;
    font-size: 20px;
    font-weight: bold;
    width: 350px;
    height: 50px;
    border-radius: 25px;
    margin: 30px auto;
    transition: .3s;
}
.link_wrap a:hover{
    background-color: #7AA08F;
    color: #F7FFEE;
    border: #F7FFEE solid 1px;
}

small{
    display: block;
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-top: 100px ;
}



/*アニメーション*/
.mv {
    opacity: 0;
  }
  
  .leaf {
    opacity: 0;
    /* SVGパーツの中心を基準にするための魔法の1行 */
    transform-box: fill-box; 
    transform-origin: center;
  }
  svg path {
    vector-effect: non-scaling-stroke;
  }


/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}
.scroll_up.on {
transform: translateY(0);
opacity: 1.0;
}

/*----------------------------
scroll_left ｜左から出現
----------------------------*/
.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}
@media screen and (max-width: 767px) {
    /* 共通 */
    .PC_none{
        display: block;
    }
    .SP_none{
        display: none;
    }
    section{
        margin-top: 100px;
    }
    .section_title{
        max-width: none;
        display: block;
        justify-content: center;
        text-align: center;
    }
    .section_title h2{
        font-size: 60px;
        margin-left: 10px;
    }
    .section_title p{
        font-size: 20px;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .bg_left svg{
        width: 50vw;
        height: auto;
        transform-origin: top left;
    }
    .bg_right svg{
        width: 50vw;
        right: 0;
    }
    .hamburger-wrapper {
        width: 80px;
        height: 80px;
    }
    .menu-bg {
        width: 80px;
        height: 80px;
    }
    .hamburger-lines {
        top: 20px;
        right: 15px;
        }
    .hamburger-lines span {
        width: 40px;
        height: 2px;
    }
    .hamburger-lines span:nth-child(3) {
        width: 20px;
    }
    .hamburger-wrapper.is-active .hamburger-lines span:nth-child(3) {
        width: 40px;
    }
/* mv */

    .mv_top{
        flex-direction: column;
        margin-top: 30px;
        padding: 100px 30px 100px;
    }
    .mv_logo{
        max-width: none;
        width: 300px;
        height: auto;
        margin: 0 auto;
        order: 2;
    }
    .mv_logo img{
        width: 100%;
        height: auto;
    }
    .mv_title {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        margin: 0;
        order: 1;
    }
    .mv_title h1 span{
        font-size: 14px;
    }
    .mv_date {
        max-width: none;
        width: 250px;
        order: 3;
    }
    .mv_date img{
        text-align: center;
    }


/* about */
    .about_text_top{
        max-width: 90vw;
        margin: 0 auto;
        display: block;
        margin-bottom: 30px;
        text-align: justify;
    }
    .about_text_top img{
        max-width: none;
    }
    .about_text_top p{
        max-width: none;
        line-height: 30px;
    }
    .about_text_bottom{
        max-width: 90vw;
        margin: 0 auto;
        line-height: 30px;
        text-align: justify;
    }
    .wave_g{
        top: 285px;
        height: 30px;
    }
    .wave_sb{
        top: 285px;
        height: 30px;
    }
    .about_btn{
        width: 300px;
        height: 70px;
        font-size: 18px;
    }
    /*comment*/
    .comment_wrap{
        display: block;
        margin-top: 80px;
        text-align: center;
    }
    .sentence .position{
        font-size: 16px;
        margin-bottom: 10px;
        margin-top: 20px;
    }
    .sentence .name{
        font-size: 30px;
        margin-bottom: 15px;
    }
    .sentence .text{
        font-size: 16px;
        text-align: left;
        margin: 0 20px;
    }

/* message*/
.msg_stu h3{
    display: block;   
}
.msg_teach h3{
    display: block;     
}

.msg_stu h3::before,
.msg_stu h3::after {
    display: none;
}
/* 左右の線の共通設定 */
.msg_teach h3::before,
.msg_teach h3::after {
    display: none;
}

    /* event */
    :root {
        /* メイン六角形のサイズ */
        --hex-height: 280px;
        /* 正六角形の幅 = 高さ × 0.866 */
        --hex-width: calc(280px * 0.866); 
    }
    .hexagon{
        padding: 10px;
    }
    .hexagon h3 {
        font-size: 24px;

    }
    .hexagon p {
        font-size: 14px;
        line-height: 16px;
        color: #555;
        margin: 0;
        text-align: left; /* 文章を両端揃え */
    }
    .lightpink img{
        width: 100px;
    }
    .honeycomb {
        display: block;
        max-width: none;
        margin: 0 20px;
    }
    .hexagon:nth-of-type(3),
    .hexagon:nth-of-type(4),
    .hexagon:nth-of-type(7),
    .hexagon:nth-of-type(8){
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    }
    .hexagon:nth-of-type(2),
    .hexagon:nth-of-type(4),
    .hexagon:nth-of-type(6),
    .hexagon:nth-of-type(8){
    margin-left: auto;
    margin-right: 0;
    margin-top: -45px;
    margin-bottom: -10px;
    }
    .resonance_btn{
        padding: 15px 30px ;
        border-radius: 30px;
        margin-top: 10px;
    }
    .green img{
        width: 100px;
        height: auto;
    }

    /*contents*/
    .contents .intro{
        max-width: none;
        margin: 0 20px;
        line-height: 40px;
    }
    
    .contents_wrap {
        display: block;
        padding: 50px 20px;
        font-family: sans-serif;
        
    }
        /* 共通のカードスタイル */
    .card_item {
        margin: auto;
        width: 300px;
        height: 300px;
        border-radius: 0 50px 0 50px ; /* 角の丸み（左上と右下を丸くする例） */
    }

    .cont_2nd {
        margin-top: 80px; /* ★ここで段差をつける */
    }
    
    .number {
        font-size: 180px;
        display: block;
    }
    .btn_link {
        bottom: -20px; /* 下にはみ出させる */
        padding: 15px 20px 10px 20px;
        border-radius: 50px;
        text-decoration: none;
        color: #56ab8f; /* 文字色 */
        font-weight: bold;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        width: 300px;
        box-sizing: border-box;
        font-size: 20px;
        margin-left: 30px;
    }

    .th_poster_img{
        width: 300px;
    }

    /* access */
    .access_wrap{
        max-width: none;
        margin: 0 10px;
        display: block;
    }
    .map{
        max-width: none;
        text-align: center;
    }
    .map iframe{
        max-width: none;
        width: 355px;
        height: 355px;
        margin-bottom: 30px;
    }
    .access_text h3{
        margin-bottom: 10px;
    }

/* フッター */
.footer{
    padding: 50px 0 30px;
    background-color: #7AA08F;
    height: 700px;
    margin-top: 500px;
}
.tree_wrap{
    max-width:355px;
    height: 500px;
    bottom: 543px;
}
.footer_cont_wrap{
    max-width: 90vw;
    margin: 0 auto;
    margin-top: 50px;
    display: block;
}

.fc_left p{
    font-size: 20px;
    color: #fff;
    line-height: 30px;
}
.fc_left span{
    font-size: 36px;
    color: #fff;
}
.school_name{
    margin-bottom: 35px;
}
.fc_right .sitemap{
    font-size: 20px;
}
.fc_right .sitemap p{
    margin-top: 30px;
    margin-bottom: 18px;
}
.sitemap_items{
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    margin-bottom: 50px;
}
.link_wrap a{
    margin: 20px auto;
}
small{
    display: block;
    text-align: center;
    font-size: 14px;
    color: #fff;
    margin-top: 50px ;
}

}

.close-text {
    text-align: center;
    margin-bottom: 180px;
    letter-spacing: 0.1em;
    line-height: 30px;
    font-size: 18px;
    color: #445752;
    font-weight: 500;
}
@media screen and (max-width: 767px) {
.close-text {
    font-size: 15px;
    padding-top: 50px;
    margin-bottom: 120px;
}
}