body.no-scroll {
    overflow: hidden;
}

:root {
    --clr-001: #00b9ef;
    --fnt-fj-001:"BIZ UDPGothic", sans-serif;
    --fnt-fj-002:YakuHanJP,"Zen Kaku Gothic New", sans-serif;
    --fnt-fe-001:"Google Sans", sans-serif;
    --bg-bul: #ffffffc7;
    --clr-white: #fff;
    --radius-sm: 5px;
    --clr-text-t: #777;
    --b-s001: 0 4px 8px rgba(0, 0, 0, 0.2);
    --drop-s001: drop-shadow(5px 5px 5px #75757562);
    --drop-s001s: drop-shadow(2px 2px 2px #75757528);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
     font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family:YakuHanJP, var(--fnt-fj-002);
    background-color: navy;
    color: #333; /* Default text color changed for content */
    overflow-x: hidden;
    font-feature-settings: "palt";
        /* letter-spacing: 0.1px; */
}
img {
    width: 100%;
}

.pc-only-i { display:inline-block;}
@media (max-width: 500px) { .pc-only-i { display:none;} }

.sp-only-i { display:none;}
@media (max-width: 500px) { .sp-only-i { display:inline-block;} }

.sp-only-b { display:none;}
@media (max-width: 500px) { .sp-only-b { display:block;} }

.bg-w{
background-image: url(../img/bg/bg-img-901.webp);
background-position: center bottom;
background-size: 1920px auto;
/* position: relative;
z-index: -10; */
}

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff; /* Text color for hero */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 90%;
    opacity: 0; /* 初期状態は非表示 */
    animation: fadeInHeroContent 2s ease-out 1.5s forwards; /* 2秒かけてフェードイン、1.5秒遅延、終了状態を保持 */
        filter: var(--drop-s001);
}

.hero-overlay-logo {
    position: absolute;
    /* top: 9rem;
    left: 9rem;
    max-width: 20rem; */
    top: 3rem;
    left: 4rem;
    width: 16rem;
}


/* .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    animation: fadeInOutScale 8s ease-in-out infinite;
} */

@keyframes fadeInOutScale {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInHeroContent {
    to {
        opacity: 1;
    }
}

.main-content-area {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.content-grid-container {
    display: grid;
    grid-template-columns: 1fr 540px 1fr;
    gap: 0px;
    align-items: start;

/* background-image: url(../img/bg/bg-img-901.webp);
background-position: center bottom;
background-size: 1920px auto;
position: relative;
z-index: -1; */
}

.content-grid-container.second {
background-image: url(../img/bg/bg-img-901.webp);
background-position: center bottom;
background-size: 1920px auto;
position: relative;
z-index: -1;
}


.main-content-wrapper {
    grid-column: 2;
    margin-top: -150px;
    position: relative;
}

.main-content-wrapper.two {
    margin-top: 0px;
    /* border-radius:  0 0 20px 20px; */
}


.main-image-stack img {
    width: 100%;
    margin: 0 auto;
    height: 360px; /* Adjust this height as needed */
    object-fit: cover;
    object-position: center; 
}

.left-image-stack, .right-image-stack {
    display: flex;
    flex-direction: column;
    gap: 0px;
    /* z-index: -1; */
}

.left-image-stack img {
    width: 100%;
    height: 360px; /* Adjust this height as needed */
    object-fit: cover;
    object-position: right; /* 左側の画像は右端基準 */
}

.left-image-stack img#li-12,.left-image-stack img#li-17  { height: 720px; }

/* .left-image-stack img#li-301 { height: 1040px; } */
.left-image-stack img#li-301 { height: 980px; }
.left-image-stack img#li-302 { height: 390px; }
/* .left-image-stack img#li-303 { height: 280px; } */
.left-image-stack img#li-303 { height: 240px; }
.left-image-stack img#li-304 { height: 570px; }
.left-image-stack img#li-305 { height: 630px; }

.circle-pg{
position: relative;
margin-right: -50px;
}


.right-image-stack img {
    width: 100%;
    height: 360px; /* Adjust this height as needed */
    object-fit: cover;
    object-position: left; /* 右側の画像は左端基準 */
}
.right-image-stack img#ri-11,.right-image-stack img#ri-14,.right-image-stack img#ri-15 {
    height: 720px;
}

.right-image-stack img#ri-301 { height: 480px;}
.right-image-stack img#ri-302 { height: 870px; }
.right-image-stack img#ri-303 { height: 780px; }
.right-image-stack img#ri-304 { height: 700px; }
.right-image-stack img#ri-305 { height: 342px; }


.txt-box{
position: relative;
}
.right-image-stack img#r-txt {
    width: 137px;
    height: auto;
    position: absolute;}


.content-section {
    background-color: #fff;
    padding: 30px 50px;
    margin-bottom: 0;
    border-radius: 0;
    min-height: 35vh;
    box-shadow: 10px 5px 5px #00000009;
}


.content-section#message{
    border-radius:  20px 20px 0 0;
    padding: 80px 50px 30px;
}

.content-section#evidence{
  background-color: var(--clr-001);
  color: #fff;
  text-align: center;
padding: 7rem 5rem 50px;
}


.content-section#members{
    border-radius: 0 0 20px 20px;
}


.content-section#contact{
    border-radius: 20px 20px;
    margin: 6rem auto 0;
    padding: 7rem 5rem 1rem;
    background-color: var(--clr-001);
}



.content-section:last-child {
    margin-bottom: 0;
    padding: 0px 50px 30px;
}
#ftr.content-section {
    background-color: transparent;
    margin-top: 6rem;
    padding: 0px 0px;
    min-height: 0vh;
}


.content-section h2 {
    margin-bottom: 1rem;
    font-size: 3.6rem;
    color: var(--clr-001);
    text-align: center;
    letter-spacing: 3px;
    font-weight: 500;
}

.content-section#evidence h2 {
    margin-bottom: 1rem;
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 0.5px;
    font-weight: 700;
}


.content-section h3 {
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
    text-align: center;
        display: flex;
    align-items: center;
}
.content-section h3:before {
    content: "";
    height: 1px;
    background: var(--clr-001);
    flex-grow: 1;
}
.content-section h3:after {
    content: "";
    height: 1px;
    background: var(--clr-001);
    flex-grow: 1;
}

.content-section h3 em {
    font-style: normal;
    width: max-content;
    margin: auto;
    display: flex;
    align-items: center;
}

.content-section h3 em:before, .content-section h3 em:after {
    content: "";
    height: 3px;
    width: 3px;
    display: block;
    background: var(--clr-001);
    border-radius: 10px;
}
.content-section h3 em:before {
    margin-right: 0.6em;
}

.content-section h3 em:after {
    margin-left: 0.6em;
}


.content-section .cpy-txt {
    margin-bottom: 3rem;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 4rem;
    text-align: center;
}

.content-section p.m-txt {
    font-size: 1.6rem;
    line-height: 3.0rem;
    text-align: justify;
}


.content-section#evidence .cpy-txt {
    margin-bottom: 5rem;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 2.8rem;
    text-align: center;
}

.member-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for PC */
    gap: 30px 20px;
    margin-top: 2rem;
    justify-items: center;
}

.member-card {
    background-color: #fff;
    padding: 15px;
    width: 100%;
    max-width: 220px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.member-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 25px;
}

.member-card .member-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.member-card .member-name {
    margin-bottom: 5px;
    font-size: 1.6rem;
    border-bottom:1px solid #000;
    padding-bottom: 8px;
}

/* Mobile-specific image display */
.section-image-mobile {
    opacity: 0; /* 初期状態は非表示 */
    transform: translateY(30px) scale(0.7); /* 初期位置を下方へ、スケールを0.7に */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* フェードとスケールのアニメーション */
    transition-delay: 0.2s; /* アニメーション開始を0.2秒遅らせる */
    display: none; /* Hidden by default on larger screens */
    width: 100%;
    height: auto;
    margin: 20px 0; /* Add some vertical spacing */
    object-fit: cover;
}

.section-image-mobile.fade-in {
    opacity: 1; /* フェードイン後の状態 */
    transform: translateY(0) scale(1); /* スケールを1に戻し、元の位置へ */
}



/*
==========================================================================
 Footer Styles (Imported)
==========================================================================
*/


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    backdrop-filter: none;
    color: #333;
}

.footer .btn-outline {
    background-color: var(--clr-white);
    color: var(--clr-black);
    border: 1px solid var(--clr-black);
    padding: 15px 40px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    margin-bottom: 30px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .btn-outline:hover {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-links img {
    width: 3.6rem;
    height: 3.6rem;
    object-fit: contain;
}

.copyright {
    font-size: 12px;
    color: var(--clr-text-t);
}

.member-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* スクロールフェードインアニメーション */
.scroll-fade-in-image {
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in-image.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* テキストスクロールアニメーション */
.scroll-anim-text {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-anim-text.fade-in-bottom {
    transform: translateY(30px);
}

.scroll-anim-text.fade-in-left {
    transform: translateX(-30px);
}


/* h2専用の強調アニメーション */
.content-section h2.scroll-anim-text.fade-in-bottom {
    transform: translateY(30px) scale(0.9);
}

/* is-visible クラスが適用されたときに、h2の強調アニメーションをリセットする */
.content-section h2.scroll-anim-text.fade-in-bottom.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* h3専用の強調アニメーション (h2より控えめ) */
.content-section h3.scroll-anim-text.fade-in-bottom {
    transform: translateY(30px) scale(0.7); 
    transition-delay: 0.5s; /* アニメーション開始を遅延させる */
}

.scroll-anim-text.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* is-visible クラスが適用されたときに、h3の強調アニメーションをリセットする (追加) */
.content-section h3.scroll-anim-text.fade-in-bottom.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1); /* 元の位置、元のサイズに戻す */
    transition-delay: 0s; /* アニメーションが開始したら遅延は不要 */
}


.member-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* display: none; から flex に変更し、opacity と visibility で制御 */
    justify-content: center;
    align-items: center;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* オーバーレイ*/
    z-index: 1001; /* 他のポップアップより手前に */
    opacity: 0; /* 初期は非表示 */
    visibility: hidden; /* 初期は非表示 */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* フェードアニメーション */
}

.member-popup-container.is-open {
    opacity: 1; /* 表示 */
    visibility: visible; /* 表示 */
}

/* メンバー紹介ポップアップコンテンツ */
.member-popup-content {
    background-color: white; /* 吹き出しの背景色 */
    width: 424px; /* 指定された横幅 */
    padding: 40px; /* 指定されたパディング */
    border-radius: 20px; /* 指定されたborder-radius */
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 80vh; /* 画面に収まるように */
    transform: translateY(20px) scale(0.95); /* 初期位置とスケール */
    opacity: 0; /* 初期は非表示 */
    transition: transform 0.3s ease, opacity 0.3s ease; /* 飛び出しアニメーション */
}

.member-popup-container.is-open .member-popup-content {
    transform: translateY(0) scale(1); /* 表示時の位置とスケール */
    opacity: 1; /* 表示 */
}

/* メンバー紹介ポップアップのクローズボタン */
.member-popup-close-button {
    position: absolute;
    top: -15px; /* ポップアップコンテンツのパディングを考慮して調整 */
    right: -15px; /* ポップアップコンテンツのパディングを考慮して調整 */
    background-color: #000; /* 少し明るい背景色 */
    border: none;
    border-radius: 50%;
    width: 30px; 
    height: 30px; 
    font-size: 20px;
    line-height: 30px; /* 垂直方向の中央揃え */
    text-align: center;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* メンバー紹介ポップアップ内の氏名 */
.member-popup-name {
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    display: none;
}

/* メンバー紹介ポップアップ内の本文 */
.member-popup-full-text {
    font-size: 1.6rem;
    line-height: 1.7;
    white-space: pre-wrap; /* 改行を保持 */
    text-align: justify;
}

/* 続きを読むトリガーのスタイル */
.member-content-trigger {
    color: var(--clr-001);
    cursor: pointer;
    margin-top: 0px;
    font-size: 1.6rem;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    display: inline-block;
      position: relative;
}

.member-content-trigger span {
vertical-align: middle;
transition: transform 0.3s ease;
 transform: translateX(0);
 display: inline-block;
}
.member-content-trigger:hover span {
transform: translateX(5px);

}


/* .member-content-trigger:after {
  content: '';
  position: absolute;
  top: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  right: -32px;

  transform: translateY(-50%);
  width: 1.4em;
  height: 1.4em;
  background-image: url(../img/icon-arw-001.png);  
}*/



/*
==========================================================================
 Footer-b Styles
==========================================================================
*/

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-b {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    backdrop-filter: none;
    color: #333;
    border-radius: 20px 20px 0 0;
}

.footer-b .btn-outline {
    background-color: var(--clr-white);
    color: var(--clr-001);
    border: 1px solid var(--clr-001);
    padding: 15px 40px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    margin-bottom: 30px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.footer-b .btn-outline:hover {
    background-color: var(--clr-001);
    color: var(--clr-white);
}

p.footer-xtx {
    font-size: 1.5rem;
    margin: 10px auto 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}
.footer-b .copyright{
    text-align: center;
    margin-top: 5rem;
    font-size: 1.25rem;
}


.bg-l-124 {
  background-image: linear-gradient(to right, #333 2px, transparent 2px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
 height: 1px;
 margin: 40px 0;
}


.tit-rund {
  color: #fff;
  background-color: var(--clr-001);
  font-size: 2rem;
  width: 45%;
     border-radius: 100vh;
     text-align: center;
     margin: 20px auto;
     padding: 10px;
}


#evidence .tit-rund {
background-color: #fff;
color: var(--clr-001);
  font-size: 2rem;
  width: 55%;
     border-radius: 100vh;
     text-align: center;
     margin: 20px auto;
     padding: 10px;
     font-family: var(--fnt-fe-001);
     letter-spacing: 1px;
     border: 1px solid var(--clr-001);
}
#evidence .tit-rund em{
font-style: normal;
color: #000;
font-family: var(--fnt-fj-002);
}
#evidence .tit-rund:hover {
color: #fff;
background-color: var(--clr-001);
border: 1px solid #fff;

}
#evidence .tit-rund:hover em{
color: #fff;
font-family: var(--fnt-fj-002);
}




#evidence .img001{
margin: 4rem auto 3rem;
}

#evidence .p-txt001{
font-size: 1.8rem;
margin-bottom: 1rem;
}
#evidence .p-txt002{
font-size: 1.4rem;
font-family: var(--fnt-fe-001);
}

/* ACTIVITIES */
.actv-p {
    margin-bottom: 70px;
}

.actv-p.last {
    margin-bottom: 50px;
}


.actv-p img{
    float: left;
    width: 23.809524%;
    margin-right: 2rem;
    margin-top: 1rem;
}

/* ACTIVITIES REPORT */
.actv-r {
    margin-bottom: 80px;
}
.actv-r img.tit{
    float: right;
    width: 23.809524%;
    margin-left: 2rem;
    margin-top: 0rem;
    position: relative;
z-index: 2;
}

.actv-r .bg-l-124 {
  background-image: linear-gradient(to right, #333 2px, transparent 2px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
 height: 1px;
 margin: 30px 0 40px;
 width: 66%;
 float: left;
}

/* .actv-r .bg-l-124  em:before {
        content: "";
    height: 3px;
    width: 3px;
    display: block;
    background: #000;
    border-radius: 10px;
    margin-right: 0.6em;
} */



.actv-r .photo1{
 width: 66%;
 border-bottom: 8px solid #fff;
border-right: 8px solid #fff;
position: relative;
z-index: 2;
}

.actv-r .photo2{
margin: -40px auto 0 5%;
width: 90%;
text-align: center;

}


.pop-btn {
    color: #fff;
    background-color: var(--clr-001);
    font-size: 2rem;
    width: 70%;
    text-align: center;
    margin: -20px auto;
    padding: 15px;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    position: relative;
    z-index: 2;
    cursor: pointer;
    filter: var(--drop-s001s);
}
.pop-btn:hover {
    background-color: #fff;
    color: var(--clr-001);
}



/* ポップアップコンテナ */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    overflow-y: auto; /* KEEP: This makes the container scrollable */
    background-color: transparent; /* REVERT: Remove dark overlay */
    z-index: 1000;
}

.popup-container.is-open {
    display: block; /* KEEP: Use block for standard scroll behavior */
}

/* ポップアップコンテンツ */
.popup-content {
    position: relative;
    width: 400px;
    min-height: 650px; 
    background-color: transparent;
    margin: 10vh auto; /* KEEP: Center with margin */
}

/* 吹き出し画像 */
.speech-bubble {
    position: absolute;
    opacity: 0; /* 初期非表示 */
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px); /* 下からフェードイン */
    height: auto; /* アスペクト比を維持 */
    object-fit: contain; /* アスペクト比を維持しつつ、要素内に収める */
    filter: drop-shadow(5px 5px 5px #0000009c);
}

/* 吹き出しの重なりと位置調整 */
.speech-bubble[data-index="0"] { width: 584px; top: -10px; left: -100px; z-index: 1; }
.speech-bubble[data-index="1"] { width: 440px; top: 140px; left: -200px; z-index: 2; }
.speech-bubble[data-index="2"] { width: 464px; top: 310px; left: 130px; z-index: 3; }
.speech-bubble[data-index="3"] { width: 424px; top: 480px; left: -140px; z-index: 4; }

.speech-bubble.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* クローズボタン */
.popup-close-button {
    position: absolute;
    bottom: -80px;
    right: 10px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    z-index: 1002;
}

/* トリガー要素の非表示化 */
[class*="img-trg-"] {
    width: 1px;
    height: 1px;
    display: inline-block; /* span要素なのでinline-blockに */
    overflow: hidden; /* 内容を隠す */
    opacity: 0; /* 完全に非表示 */
    pointer-events: none; /* クリックイベントなどを無効化 */
}

/* #contact */
#contact h2{
    color: #fff;
}

#contact h3{
    color: #fff;
}

#contact.content-section h3:after,#contact.content-section h3::before {
content: "";
background: #fff;
}


#contact.content-section h3 em:before, #contact.content-section h3 em:after {
content: "";
background: #fff;
}




#contact .tit-rund {
  background-color: #fff;
  color: var(--clr-001);
  font-size: 2rem;
  width: 75%;
     border-radius: 100vh;
     text-align: center;
     margin: 20px auto 10px;
     padding: 10px;
     border: 1px solid var(--clr-001);
}

#contact .tit-rund:hover {
color: #fff;
  background-color: var(--clr-001);
border: 1px solid #fff;
}



#contact .tit-rund span{
  font-family: var(--fnt-fe-001);  
}


#contact .sub-txt {
    color: #fff;
  font-size: 1.5rem;
     text-align: center;
     margin: 0px auto 5rem;
     padding: 0px;
}
#contact .sub-txt .e-fnt {
    font-family: var(--fnt-fe-001);
}

/* Floating Contact Button */
.floating-contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: #00b9ef;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.2s ease-out;
    backdrop-filter: blur(10px);
    opacity: 0.95;
}

.floating-contact-button:hover {
    transform: scale(1.05);
}




/* Responsive adjustments */

@media (max-width: 820px) {
    .member-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 500px) {

.hero-content {
    width: 85%;
    opacity: 0;
}




.hero-overlay-logo {
    /* position: absolute;
    top: 2rem;
    left: 2rem;
    max-width: 20vw;
    width: 20vw; */
    display: none;
}



.section-image-mobile {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        margin: 0;
}


#ri-18{
display: none;
}

.main-content-wrapper {
    grid-column: 2;
    margin-top: 0px;
    position: relative;
}



.content-grid-container {
    display: grid;
    grid-template-columns: 1fr 100vw 1fr;
    gap: 0px;
    align-items: start;
}


 .left-image-stack, .right-image-stack{
 display:none ;
}

.content-section#message {
    border-radius: 0;
    padding: 7rem 4rem 3rem;
}

.content-section h2 {
    margin-bottom: 1rem;
    font-size: 3.2rem;
}

.content-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}


.content-section .cpy-txt {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    line-height: 3rem;
}


/* #evidence */

.content-section#evidence h2 {
    margin-bottom: 1rem;
    font-size: 2.4rem;
    line-height: 3rem;
}

.content-section#evidence .cpy-txt {
    margin-bottom: 4rem;
    font-size: 1.8rem;
    line-height: 2.2rem;
}

#evidence .img001 {
    margin: 3rem auto 3rem;
}

#evidence .tit-rund {
  font-size: 1.8rem;
  width: 75%;
     border-radius: 100vh;
     margin: 20px auto;
     padding: 10px;
}
#evidence .p-txt001 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
#evidence .p-txt002 {
    font-size: 1.2rem;
}


/* new-tour-report */
.pop-btn {
    font-size: 1.8rem;
    width: 100%;
    margin: -20px auto;
    padding: 15px 0 16px;
}



.content-section#members {
    border-radius: 0px;
    padding: 30px 25px;
}


    .member-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 15px;
    }
    .member-card {
        max-width: 250px;
        padding: 10px;
    }

.member-popup-content {
    width: 90vw;
}


}

@media (max-width: 500px) {
    .popup-content {
        width: 100vw;
        min-height: unset;
        margin: 5vh auto 0;
    }

    /* Reset bubble positioning to stack them vertically */
    .speech-bubble,
    .speech-bubble[data-index="0"],
    .speech-bubble[data-index="1"],
    .speech-bubble[data-index="2"],
    .speech-bubble[data-index="3"] {
        position: relative;
        width: 100%;
        /* top: auto; */
        left: auto;
        /* z-index: auto; */
        transform: none; /* Reset transform from desktop style */
        margin: 0 0 20px 0; /* Add bottom margin */
    }

/* 吹き出しの重なりと位置調整 */
.speech-bubble[data-index="0"] { top: -10px;  z-index: 2;}
.speech-bubble[data-index="1"] { top: -15vw;  z-index: 2; }
.speech-bubble[data-index="2"] { top: -29vw; z-index: 3; }
.speech-bubble[data-index="3"] { top: -44vw;  z-index: 4; }
    /* Make sure the fade-in animation still works */
    .speech-bubble {
        opacity: 0;
        /* The transform is reset, so the animation will just be a fade-in */
        transition: opacity 0.5s ease;
    }
    .speech-bubble.is-visible {
        opacity: 1;
    }

    /* Use a fixed close button on mobile for better UX */
.popup-close-button {
    position: fixed;
    top: auto;
    right: 25%;
    width: 50vw;
    height: 40px;
    line-height: 30px;
    font-size: 14px;
    background: #000;
    border: 2px solid white;
    bottom: 10vw;
    border-radius: 20px;
}
/* contact */
.content-section#contact{
width: 92vw;
}


#contact .tit-rund {
    font-size: 1.7rem;
    width: 85%;
    text-align: center;
    border-radius: 100vh;
    margin: 20px auto 10px;
    padding: 10px;
}

/* Floating Contact Button */
.floating-contact-button {
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 45px;
    background-color: var(--clr-001);
    color: #fff;
    border-radius: 10px 10px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
    z-index: 100;
}
.floating-contact-button:hover {
    transform: scale(1.0);
}


}





/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #00b9ef;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* When loaded, hide the loader */
body.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden;
}

/* SP-only Slideshow */
.sp-slideshow-container {
    display: none; /* PCでは非表示 */
    overflow: hidden;
}

@media (max-width: 500px) {
    .hero-video {
        display: none;
    }

    .sp-slideshow-container {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    /* 親スライド：可視性を担当 */
    .sp-slide-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0; /* 初期状態は非表示 */
    }

    /* 子スライド：背景と動きの初期状態を担当 */
    .sp-slide-item__inner {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        /* GSAPで制御するため、初期スケールのみ設定 */
        transform: scale(1.2);
    }
}

