@font-face {
    font-family: 'maka';
    src: url('fonts/maka.ttf') format('truetype'); /* フォントのパスを指定 */
}

body {
    font-family: 'maka', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 10px; /* より小さな文字サイズ */
}

/* ------------------<div class="background-image">------------------ */
.background-image {
        height: 100vh; /* ビューポートの高さいっぱいに広がるように設定 */
        overflow: hidden; /* 内容がはみ出たときに隠す */
}

.background-image img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* ビデオを親要素に合わせてカバーする */
        z-index: -1; /* コンテンツよりも背面に配置 */
}
/* ------------------<div class="background-image">------------------ */




/* ------------------<div class="mainpage">------------------ */
        .mainpage {
            max-width: 600px; /* 最大幅を600pxに制限 */
            margin: 0px auto; /* 中央寄せするためのマージン */
            padding: 0px;
            position: absolute; /* 要素を絶対位置に配置 */
            top: 0; /* 親要素の上端に合わせる */
            left: 50%; /* 親要素の中央に配置 */
            transform: translateX(-50%); /* 水平方向に中央に移動 */
            z-index: 1; /* ビデオより手前に配置 */
            text-align: center; /* 中央揃え */
            padding: 0px; /* 内側の余白 */
            width: 100%; /* 親要素の幅の100%に設定 */
        }

/* ------------------<div class="mainpage">------------------ */


/* ------------------<div class="top-style">------------------ */
.top-style {
    display: flex; /* Flexbox を使用 */
    justify-content: center; /* 水平方向（横）の中央揃え */
    align-items: center; /* 垂直方向（縦）の中央揃え */
    flex-direction: column; /* 子要素を縦方向に並べる */
    height: 100vh; /* ビューポートの高さいっぱいに設定 */
    margin: 0 auto; /* 横方向の中央揃え */
    text-align: center; /* 中央揃え */
    color: white; /* テキスト色 */
    padding: 10px; /* 内側の余白 */
    width: 80%; /* 親要素の幅の80%に設定 */
    padding-top: 30px; /* 上方向の余白を追加 */
}
.top-style h1 {
    margin: 6px 0px;
    font-size: 24px;
}
.top-style h2 {
    margin: 4px 0px;
    font-size: 16px;
}
.top-style p {
    margin: 4px 0px;
    font-size: 8px; /* パラグラフのフォントサイズを小さめに設定 */
}
    .top-style-white-line {
        height: 0.5px; /* ラインの高さ */
        width: 100%; /* ラインの幅 */
        background-color: white; /* ラインの色 */
    }
        .top-style-grid-container {
            display: grid; /* グリッドレイアウトを使用 */
            grid-template-columns: repeat(3, 1fr); /* 列を3つ均等に分割 */
            gap: 10px; /* グリッド項目間の間隔 */
            padding: 30px 0; /* 上下に10ピクセルのパディングを設定 */
        }
        .top-style-grid-item {
            padding: 10px 5px; /* 上下に10ピクセルのパディングを設定 */
            background-color: transparent; /* 背景色を透明に設定 */
            border: 1px solid #ccc; /* グリッド項目の境界線 */
            text-align: center; /* テキストを中央揃え */
            font-size: 10px; /* テキストのサイズを12pxに設定 */
            border-radius: 8px; /* 角を丸くする */
        }
        .top-style-scroll-prompt {
            padding: 10px 20px; /* パディング */
            color: white; /* テキスト色 */
            border-radius: 5px; /* 角丸 */
            cursor: pointer; /* カーソル */
        }
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-style-grid-container {
  opacity: 0;
  animation: fadeInUp 3s ease forwards;
  animation-delay: 0.5s; /* 遅れて表示させたいときは調整 */
}
/* ------------------<div class="top_style">------------------ */


.gradient-overlay {
    width: 100%;
    height: 10vh; /* ビューポートの高さいっぱいに設定 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(244, 244, 244, 1) 100%);
    /* 上から下への透明から不透明へのグラデーション */
    opacity: 0.8; /* オーバーレイの不透明度 */
}


.container {
    margin: 0px auto; /* マージンを調整 */
    padding: 20px;
    background-color: rgba(244, 244, 244, 0.8); /* 透明度を設定した背景色 */
    text-align: left; /* 文字を左寄せに設定 */
}


/* ------------------<section class="profile">------------------ */

.profile {
    text-align: left; /* 子要素を左寄せ */
}

.profile h1 {
    font-size: 12px; /* より小さな文字サイズ */
    border-bottom: 1px solid #333;
}
.profile h3 {
    font-size: 14px; /* より小さな文字サイズ */
}
.profile h4 {
    font-size: 10px; /* より小さな文字サイズ */
}


.profile-image-container {
}   
        .profile-image-container img {
            width: 40%; 
            height: auto; /* 高さは自動調整 */
            clip-path: circle(40% at center); /* 円形のクリッピングパス */
        }

/* リスト全体のスタイル */
.profile-section ul {
    list-style-type: none;
    margin: 0px 0px; /* リスト全体の外側の余白 */
    padding-left: 5px; /* 左のパディング（インデント） */
    color: #333; /* リストアイテムのテキスト色 */
}

/* 各リストアイテムのスタイル */
.profile-section ul li {
    margin-bottom: 2px; /* 各リストアイテムの下に余白 */
}


/* ------------------<section class="profile">------------------ */





/* ------------------------------------<div class="activity-grid">------------------------------------ */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 3列のグリッドを作成 */
    gap: 5px; /* グリッドアイテム間の間隔 */
    padding: 0px; /* グリッド全体の内側の余白 */
}
.activity-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3列のグリッドを作成 */
    gap: 5px; /* グリッドアイテム間の間隔 */
    padding: 0px; /* グリッド全体の内側の余白 */
}
.activity-grid-item {
    text-align: center; /* 横方向の中央揃え */
    background-color: rgba(255, 255, 255, 0.5); 
    padding: 5px;
    border-radius: 6px; /* 角丸 */
    display: flex; /* 子要素をflexboxコンテナにする */
    flex-direction: column; /* 子要素を列方向に配置する */
    justify-content: center; /* 子要素を縦方向に中央揃え */
    align-items: center; /* 子要素を横方向に中央揃え */
}
.activity-grid-item-image-container {
    margin: 2px 0px; /* 上下の余白 */
}
.activity-grid-item img {
    max-width: 100%; /* 画像の幅を最大100%に制限 */
    height: auto; /* 高さを自動調整 */
    border-radius: 6px; /* 角丸 */
}
.activity-blog-title {
    margin: 0px 0px; /* 上下の余白 */
}
.activity-blog-title p {
    font-size: 8px;
    margin: 2px 0px; /* 上下の余白 */
}
.activity-blog-content {
    margin: 0px 0px; /* 上下の余白 */
}
.activity-blog-content p {
    font-size: 6px;
    margin: 1px 0px; /* 上下の余白 */
}
/* ------------------------------------<div class="activity-grid">------------------------------------ */



section {
    margin-bottom: 20px; /* マージンを調整 */
}

section h2 {
    font-size: 12px; /* より小さな文字サイズ */
    border-bottom: 1px solid #333;
}

section h3 {
    font-size: 10px; /* 小見出しの文字サイズ */
    margin-top: 0; /* 上のマージンをリセット */
    margin-bottom: 0; /* 下のマージンをリセット */
}



<!----------------------------------------------活動紹介---------------------------------------------->


.activities {
    display: flex;
    flex-direction: column; /* 各活動を縦に並べる */
    gap: 20px; /* 各活動の間に余白を追加 */
    margin: 20px 5; /* 上下の余白 */
}

.activities-content {
    display: flex; /* Flexboxを使用して子要素を横並びにする */
    margin: 5px 0; /* 上下の余白 */
}

.activities-image-container {
    flex: 4; /* 左側の画像コンテナがフレックスアイテム内で自動的に伸縮する */
    display: flex; /* フレックスボックスに設定 */
    justify-content: flex-start; /* 子要素を左揃えにする */
    align-items: center; /* 子要素を垂直方向にも中央寄せする */
}

.activities-image-container img {
    width: 90%;
    height: auto; /* 高さは自動調整 */
}

.activities-description {
    flex: 6; /* 右側の説明文コンテナがフレックスアイテム内で自動的に伸縮する */
    padding: 0px 10px; /* 左右のパディング */
    line-height: 1.4; /* 行間を1.4倍に設定 */
}

.activities-description h3 {
    font-size: 1.5em; 
            margin: 0px 0;
}

.activities-description h4 {
    font-size: 1.2em; 
            margin: 0px 0;
}



.activities-description ul {
    font-size: 0.8em; 
            margin: 5px 0;
}

.activities-description p {
    font-size: 0.8em; 
            margin: 5px 0;
}

.activities-button-container {
    display: flex; /* Flexboxを使って子要素を横並びにする */
    justify-content: space-between; /* ボタンの間にスペースを均等に配置 */
    gap: 2px; /* ボタンの間のスペースを設定 */
    padding: 2px; /* コンテナ内の余白を追加 */
}


<!----------------------------------------------活動紹介---------------------------------------------->

<!----------------------------------------------関連リンク---------------------------------------------->

.website-list {
    list-style-type: none; /* リストのデフォルトのマーカー（•）を非表示にする */
    padding: 0; /* リスト全体の余白を削除 */
}

.website-list li {
    margin-bottom: 5px; /* 各リスト項目の下に余白を設定 */
}

.site-name {
    font-weight: bold; /* サイト名を太字に */
    font-size: 12px; /* サイト名のフォントサイズを少し大きく */
    margin-bottom: 2px; /* サイト名とリンクの間に余白 */
    display: inline-block; /* ブロック表示にして改行を効かせる */
}

.site-link {
    color: #666666; /* リンクをグレーにする */
    text-decoration: none; /* 下線を削除 */
    font-size: 10px; /* Webアドレスのフォントサイズ */
    transition: color 0.3s ease; /* 色の変化にアニメーションを追加 */
}

.site-link:hover {
    color: #333333; /* ホバー時に少し濃いグレーにする */
}
<!----------------------------------------------関連リンク---------------------------------------------->



        .image-container03 {
            width: 100%; /* 幅を80%に設定 */
            margin: 0 auto; /* 中央寄せ */
        }

        .image-container03 img {
            width: 100%; /* 画像を親要素に対して100%の幅で表示 */
            height: auto; /* 高さは自動で調整 */
            display: block; /* 不要な空白を削除するため */
        }



        .image-container01 {
            display: flex; /* Flexboxを使用して横並びにする */
            justify-content: space-between; /* 要素間を均等に配置 */
            margin: 20px 0; /* 上下の余白 */
        }
        
        .image-container01 img {
            width: 30%; /* 各画像の幅を30%に設定 */
            height: auto; /* 高さは自動調整 */
            border: 1px solid #ccc; /* 枠線を設定 */
            box-sizing: border-box; /* 枠線を含めたボックスサイズ指定 */
        }




        .dashed-border {
            border-bottom: 1px dashed black; /* 下側に1ピクセルの黒い点線を設定 */
        }


.image-with-description_menu {
    display: flex; /* Flexboxを使用して子要素を横並びにする */
    align-items: center; /* 中央寄せ */
    margin: 0; /* 上下の余白 */
    flex-direction: column; /* 子要素を縦並びにする */
}




.image-container_menu {
    display: flex; /* Flexboxを使用して子要素を横並びにする */
    justify-content: center; /* 横方向（水平方向）に中央揃え */
    align-items: center; /* 縦方向（垂直方向）に中央揃え */
}

 
.image-container_menu img {
            width: 90%; 
            height: auto; /* 高さは自動調整 */
            clip-path: circle(60% at center); /* 円形のクリッピングパス */
}


.description_menu {
    flex: 20; /* 右側の説明文コンテナがフレックスアイテム内で自動的に伸縮する */
    padding: 0px 10px; /* 左右のパディング */
    line-height: 1.4; /* 行間を1.5倍に設定 */
}


.description_menu  h3 {
    font-size: 1.5em; 
            margin: 5px 0;
    text-align: center; 
}

.description_menu  ul {
    font-size: 0.8em; 
            margin: 5px 0;
    text-align: center; 
}

.description_menu  p {
    font-size: 0.6em; 
            margin: 5px 0;
    text-align: center; 
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列のグリッドを作成 */
    gap: 0px; /* グリッド要素間の間隔 */
    max-width: 600px; /* グリッド全体の最大幅 */
    margin: 0 auto; /* 中央揃え */
}

.grid-item {
    background-color: #f2f2f2; /* 背景色 */
    padding: 4px; /* 内側の余白 */
    text-align: center; /* 中央揃え */
}

    .subtitle {
      text-align: center;
      margin-top: 20px;
    }

.subtitle h2 {
  font-size: 18px;
  border-bottom: none;
}



.page-title {
    background-image: url('photoxx/image04.png'); /* 相対パスでの背景画像の設定 */
    background-size: cover; /* 背景画像を要素全体にカバーさせる */
    background-position: center; /* 背景画像を中央寄せする */
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.page-title h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.page-title p {
    font-size: 12px;
    color: #666;
}


        .grid-container04 {
            display: grid; /* グリッドレイアウトを使用 */
            grid-template-columns: repeat(3, 1fr); /* 列を3つ均等に分割 */
            gap: 10px; /* グリッド項目間の間隔 */
            padding: 20px; /* コンテナのパディング */
        }

        /* グリッド項目のスタイル */
        .grid-item04 {
            padding: 10px; /* グリッド項目のパディング */
            background-color: #f0f0f0; /* グリッド項目の背景色 */
            border: 1px solid #ccc; /* グリッド項目の境界線 */
            text-align: center; /* テキストを中央揃え */
            font-size: 8px; /* テキストのサイズを12pxに設定 */
            border-radius: 8px; /* 角を丸くする */
        }


        .video-container {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #f0f0f0; /* 背景色を設定 */
        }

        video {
            max-width: 100%; /* 最大幅を100%に設定 */
            max-height: 100%; /* 最大高さを100%に設定 */
        }




.image-gallery {
    display: flex; /* Flexboxを使用して子要素を横並びにする */
    justify-content: space-between; /* 画像間のスペースを均等にする */
    flex-wrap: wrap; /* 子要素がコンテナの幅を超えた場合に折り返す */
    margin: 5px 0px; /* 上下の余白 */
}

.image-gallery img {
    width: calc(100% / 6 - 4px); /* 各画像の幅をコンテナの1/6に設定し、余白を調整 */
    margin: 2px; /* 画像の周りに余白を設定 */
    box-sizing: border-box; /* パディングとボーダーを含めたボックスサイズを指定 */
}


.image-container {
    flex: 4; /* 左側の画像コンテナがフレックスアイテム内で自動的に伸縮する */
    display: flex; /* 子要素をフレックスコンテナにする */
    justify-content: flex-start; /* 子要素を左揃えにする */
    align-items: center; /* 子要素を垂直方向にも中央寄せする */
}

        .image-container img {
            width: 90%; 
            height: auto; /* 高さは自動調整 */
        }
        
  .image-with-description02 {
    z-index: 3; /* div1 を div2 の上に重ねる */
    position: absolute; /* 絶対位置指定 */
    display: flex; /* Flexboxを使用して子要素を横並びにする */
    align-items: center; /* 中央寄せ */
    margin: 20px 0; /* 上下の余白 */
}











   .widget {
    position: relative; /* 子要素を相対的に配置するための基準 */
    height: 120px; /* div1の高さ */
    display: flex;
    justify-content: center; /* 横方向中央寄せ */
    align-items: center; /* 縦方向中央寄せ */
}


   .widget-background-image {
    z-index: 2; /* div2 は div1 の下に配置 */
    position: absolute; /* 絶対位置指定 */
    width: 100%; /* 親要素の幅いっぱいに広げる */
    height: 100%; /* widgetの高さと同じに設定 */
    align-items: center; /* 中央寄せ */
    background-image: url('image03.jpg'); /* 背景画像の設定 */
    background-size: cover; /* 背景画像を要素全体にカバーさせる */
    background-position: center; /* 背景画像を中央寄せする */
    opacity: 0.8; /* 背景画像の透明度を設定（0.5で50%の透明度） */
}


  .widget-content {
    z-index: 3; /* div1 を div2 の上に重ねる */
    padding: 20px;
    position: absolute; /* 絶対位置指定 */
    align-items: center; /* 中央寄せ */
    text-align: center; /* テキストを中央寄せ */
}

.widget-content h3 {
    font-size: 1.5em; 
            margin: 0px 0;
}


.activity-grid-momoi-fes {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3列のグリッドを作成 */
    gap: 5px; /* グリッドアイテム間の間隔 */
    padding: 0px; /* グリッド全体の内側の余白 */
}

    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
    }


.vegetable-header-image {
    display: flex; /* 子要素をフレックスコンテナにする */
    height: auto; /* 高さは自動調整 */
    justify-content: center; /* 子要素を水平方向に中央揃えにする */
    align-items: center; /* 子要素を垂直方向にも中央揃えにする */
}
        
        .vegetable-header-image img {
            width: 50%; 
            height: auto; /* 高さは自動調整 */
            border-radius: 5px; /* 角丸 */
        }


        .horizontal-line {
            border-top: 1px solid #FFF; /* 黒色の水平線 */
            margin-top: 20px; /* 上の余白 */
            margin-bottom: 20px; /* 下の余白 */
        }



    .gray-line {
        height: 0.5px; /* ラインの高さ */
        width: 100%; /* ラインの幅 */
        background-color: gray; /* ラインの色 */
        margin: 30px 0; /* 上下の余白 */
    }

.footer-momoi {
    height: 20vh; /* ラインの高さ */
    width: 100%; /* ラインの幅 */
    margin: 50px 0; /* 上下の余白 */
    display: flex; /* Flexbox を使用 */
    justify-content: center; /* 横方向の中央寄せ */
    align-items: center; /* 縦方向の中央寄せ */
    flex-direction: column; /* 子要素を縦に並べる */
}

    .footer-momoi h2 {
      font-size: 24px;
      margin: 2px 0px;
    }
.footer-momoi h3 {
  font-size: 16px;
  margin-top: 4px; /* 上側のマージンを2pxに設定 */
  margin-bottom: 4px; /* 下側のマージンを5pxに設定 */
  color: gray; /* 文字色をグレーにする */
}
.footer-momoi h4 {
  font-size: 10px;
  margin-top: 4px; /* 上側のマージンを2pxに設定 */
  margin-bottom: 4px; /* 下側のマージンを5pxに設定 */
  color: gray; /* 文字色をグレーにする */
}

.footer-momoi h6 {
  font-size: 8px;
  margin-top: 4px; /* 上側のマージンを2pxに設定 */
  margin-bottom: 4px; /* 下側のマージンを5pxに設定 */
  color: gray; /* 文字色をグレーにする */
}

.footer-extra {
    margin: 4px 0; /* 上下の余白 */
    display: flex; /* Flexbox を使用 */
    justify-content: center; /* 横方向の中央寄せ */
    align-items: center; /* 縦方向の中央寄せ */
    flex-direction: column; /* 子要素を縦に並べる */
}

.footer-extra p {
  font-size: 8px;
  margin-top: 2px; /* 上側のマージンを2pxに設定 */
  margin-bottom: 2px; /* 下側のマージンを5pxに設定 */
  color: gray; /* 文字色をグレーにする */
}







.activity {
    display: flex;
    align-items: center;
    gap: 15px; /* 画像とテキストの間の余白 */
}

.activity-image img {
    width: 35vw;
    height: auto;
    border-radius: 8px; /* 画像の角を少し丸める */
}

.activity-info {
    flex: 1;
}

.activity-title {
    font-size: 1.5em;
    margin: 0;
}

.activity-location, .activity-description {
    font-size: 1em;
    margin: 5px 0;
}



  .book-viewer {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: auto; /* 全画面 */
  }

  .book-viewer img {
    flex: 0 0;
    object-fit: cover;
    scroll-snap-align: start;
  }

  /* スクロールバーを隠す（オプション） */
  .book-viewer::-webkit-scrollbar {
    display: none;
  }





.fade-in-target {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease-out, transform 2s ease-out;
  transition-delay: 0.3s; /* ← ここが追加ポイント！ */
}

.fade-in-target.show {
  opacity: 1;
  transform: translateY(0);
}





