/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', "Kiwi Maru", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b3e2f; /* ダークグリーン背景 */
    color: #f1f1f1; /* 明るい文字色 */
}
body, html {
    overflow-x: hidden;
}
/* 追従するトップメニュー */
/* 追従するトップメニュー */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒 */
    color: white;
    padding: 0px 0; /* 上下の余白を狭くする */
    text-align: center;
    z-index: 100;
    display: flex; /* Flexboxを使用してアイテムを並べる */
    justify-content: center; /* 横並び */
    align-items: center; /* アイテムを縦方向に中央揃え */
    height: auto; /* 高さを自動調整 */
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

nav a:hover {
    background-color: #4b7a41; /* 濃い緑 */
}

/* ハンバーガーアイコン */
.hamburger-icon {
    display: none; /* デスクトップでは非表示 */
    cursor: pointer;
    font-size: 30px;
    color: white;
    position: absolute; /* アイコンを固定位置に配置 */
    right: 20px; /* 右端に配置 */
    top: 10px; /* 上端に配置 */
    background-color: rgba(0, 0, 0, 0.5); /* 黒で50%透過の背景 */
    padding: 10px; /* アイコン周りの余白 */
    border-radius: 5px; /* 角を丸める */
    pointer-events: auto; /* アイコンがクリックできるように */
    z-index: 1001; /* メニューの上に表示 */
}

/* モバイル向けの最適化 */
@media (max-width: 768px) {
    /* メニューアイテムを非表示にする */
    .nav-links {
        display: none;
        list-style: none;
        width: 100%;
        text-align: left; /* 左寄せに変更 */
        padding: 0; /* 上下の余白をなくす */
    }

    /* ハンバーガーアイコンの表示 */
    .hamburger-icon {
        display: block; /* モバイルで表示 */
        right: 20px; /* 右端に固定 */
        top: 10px; /* 上端に配置 */
    }

    /* メニューが表示された時に適用する */
    .nav-links.show {
        display: block;
        width: 100%; /* メニュー幅を100%に広げる */
    }

    /* メニュー項目を縦に並べる */
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* メインコンテンツ */
.main-content {
    padding-top: 60px; /* トップメニューが隠れないように余白 */
}
/* モバイル版で余白調整 */
@media (max-width: 768px) {
  .main-content {
    margin-top: 0;
    padding-top: 0;
  }
}
/* Heroセクション */
.hero {
    position: relative;
    height: 50vh; /* 高さをビューポートの50%に設定 */
    overflow: hidden; /* 親要素からはみ出さないように */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画のアスペクト比を保ちながらカバー */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* 動画を背面に配置 */
}

.hero-content {
    position: absolute;
    top: 50%; /* 動画の中央に文字を配置 */
    left: 50%;
    transform: translate(-50%, -50%); /* 中央揃え */
    text-align: center;
    width: 100%; /* 横幅を100%にして文字が横に広がらないようにする */
    z-index: 1; /* 文字を前面に */
}

/* メインタイトル */
.hero-main-title {
    color: white; /* 明るい草色 */
    font-size: 6rem; /* メインタイトルを大きく */
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* 文字の影で視認性向上 */
    white-space: nowrap; /* 改行を防止 */
    margin-bottom: 10px; /* メインタイトルとサブタイトルの間隔を縮める */
}

/* サブタイトル */
.hero-subtitle {
    color: #ffffff; /* 白色 */
    font-size: 2rem; /* サブタイトルを少し小さめに */
    font-weight: normal;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* 文字の影で視認性向上 */
    white-space: nowrap; /* 改行を防止 */
    margin-top: 0; /* メインタイトルとの間隔を縮める */
}

/* モバイル向けの最適化 */
@media (max-width: 768px) {
    .hero {
        height: 40vh; /* モバイルでは高さを少し小さく */
    }

    .hero-main-title {
        font-size: 2rem; /* モバイルではメインタイトルを小さく */
    }

    .hero-subtitle {
        font-size: 1rem; /* モバイルではサブタイトルをさらに小さく */
    }
}

/* 創作についての簡単な説明 */
.intro {
    margin-top: 0; /* 上の余白をゼロに */
    margin-bottom: 10px;
    padding: 20px;
    background-color: #4c5c44; /* 深い緑 */
    text-align: center;
    margin: 20px;
}
/* モバイル向けの創作についての簡単な説明 */
@media (max-width: 768px) {
    .intro {
        margin-top: 10px; /* 上の余白を少しだけ確保 */
        padding: 20px 30px; /* 上下は20px、左右は30pxに設定して余白をしっかり確保 */
        background-color: #4c5c44; /* 深い緑 */
        text-align: center;
        margin-left: 20px; /* 左の余白をさらに確保 */
        margin-right: 20px; /* 右の余白をさらに確保 */
    }

    /* モバイルでは文字のサイズをさらに調整 */
    .intro p {
        font-size: 12px; /* フォントサイズを小さく設定 */
        line-height: 1.3; /* 行間をさらに狭く設定 */
        color: #f1f1f1; /* 文字色を白にして視認性を高める */
    }
}
.youtubes {
  background-color: white;
}

/* 左側にmp4、右側に説明 */
.media-info {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: #6b8e23; /* オリーブグリーン */
}

.media-info video {
    width: 50%;
    height: auto;
    border-radius: 10px;
}

.media-info .description {
    width: 50%;
    padding-left: 20px;
    font-size: 1.1rem;
}
/* モバイル向けの最適化 */
@media (max-width: 768px) {
    .media-info {
        flex-direction: column; /* 縦並びに変更 */
        padding: 20px; /* モバイル向けに余白を調整 */
    }

    .media-info video {
        width: 100%; /* 動画の幅を100%にして画面いっぱいに表示 */
        margin-bottom: 20px; /* 動画と説明文の間に隙間を作る */
    }

    .media-info .description {
        width: 100%; /* 説明文の幅を100%にして、画面全体を使う */
        padding-left: 0; /* 左側の余白を無くす */
        font-size: 1rem; /* 文字サイズを少し小さく */
    }
}

/* クリックできる画像 */
.image-gallery {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
}

.image-gallery img {
    width: 22%;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    border: 3px solid #4b7a41; /* 緑の枠線 */
}

.image-gallery img:hover {
    transform: scale(1.1);
    border: 3px solid #a1c349; /* ホバー時に明るい緑の枠線 */
}
/* モバイル用スタイル */
@media (max-width: 768px) {
    .image-gallery img {
        width: 45%; /* 2列になるように幅を設定 */
    }
}

/* キャラクター説明 */
.characters {
    padding: 40px;
    background-color: #3a4d28; /* 濃いオリーブグリーン */
    text-align: center;
    border-radius: 20px;
    margin: 20px;
}

/* 横長めな画像を三段並ぶ */
.wide-images {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}

.wide-images img {
    width: 32%;
    border-radius: 8px;
}
/* モバイル対応 */
@media (max-width: 768px) {
    .wide-images {
        display: flex; /* flexを有効にする */
        flex-direction: column; /* 画像を縦に並べる */
        align-items: center; /* 中央に配置 */
        padding: 20px; /* モバイル向けに余白を調整 */
    }

    .wide-images img {
        max-width: none; /* 最大幅の制限を解除 */
        height: auto; /* アスペクト比を保ちながら高さを調整 */
        margin-bottom: 20px; /* 画像間に余白を追加 */
        border-radius: 8px; /* 角を丸める */
    }
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1b2a1f; /* ダークグリーン */
    color: white;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* リンクの色 */
footer a {
    color: #a1c349;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* キャラクター選択セクション */
.character-selection {
    padding: 60px 20px;
    text-align: center;
    background-color: #2b3e2f;
}

.character-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.character-image {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.character-image:hover {
    transform: scale(1.1);
}

/* キャラクター選択セクション */
.character-selection {
    padding: 60px 20px;
    text-align: center;
    background-color: #2b3e2f;
}

.character-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.character-image {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.character-image:hover {
    transform: scale(1.1);
}

/* キャラクター詳細表示 */
.character-detail {
    padding: 60px 20px;
    background-color: #2b3e2f;
    color: white;
    text-align: center;
}

.character-container {
    display: flex;
    justify-content: start;
    align-items: flex-start;  /* ここで縦の位置を合わせます */
    gap: 40px; /* 画像と詳細の間にスペースを追加 */
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.character-image {
    flex: 1;
    max-width: 400px;
}

.character-image img {
    width: 100%;
    border-radius: 10px;
}

.character-details {
    flex: 2;
    padding-left: 20px;
    text-align: left;
}

.character-details h2 {
    font-size: 2.5rem;
    color: #a1c349; /* 草色 */
}

.character-details .role {
    font-size: 1.2rem;
    color: #8b9a3b;
    margin: 10px 0;
}

.character-details .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.character-details .additional-info {
    background-color: #4b7a41; /* 濃い緑 */
    padding: 20px;
    border-radius: 10px;
}

.character-details .additional-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.character-details .additional-info ul {
    list-style: none;
    padding: 0;
}

.character-details .additional-info ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* 小さいキャラクター画像 */
.small-character-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.small-character-images img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.small-character-images img:hover {
    transform: scale(1.1);
}

/* モバイル用 */
@media (max-width: 768px) {
    .character-container {
        flex-direction: column;
        align-items: center;
    }

    .character-image {
        width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .character-details {
        padding-left: 0;
        text-align: center;
    }

    .small-character-images {;
        flex-wrap: wrap;
        gap: 10px;
    }
    .small-character-images img {
        width: 60px;
        height: 60px;
    }
}
/* モバイル対応 */
@media (max-width: 768px) {
    .wide-images {
        display: flex;
        flex-direction: column; /* 画像を縦に並べる */
        align-items: center; /* 中央に配置 */
        padding: 20px; /* 余白を調整 */
    }

    .wide-images img {
        width: 100%; /* 画像の幅を100%にして画面いっぱいに表示 */
        margin-bottom: 20px; /* 画像間に余白を追加 */
        height: auto; /* アスペクト比を保ちながら高さを調整 */
    }
}
.schedule-content {
    text-align: center; /* コンテンツを中央に配置 */
}
.contact-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4b7a41; /* 濃い緑 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px; /* 丸みを帯びた角 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 少し影をつける */
    transition: background-color 0.3s, transform 0.3s; /* ホバー時の変化 */
}

.contact-link:hover {
    background-color: #3a5a36; /* ホバー時に色を少し暗く */
    transform: scale(1.05); /* 少し拡大してアクション感を出す */
}

.contact-link:active {
    transform: scale(1); /* クリック時に元のサイズに戻す */
}
/* INTRODUCTIONセクション */
.introduction-section {
    background-color: #3e5c47;  /* 色で背景設定 */
    padding: 80px 20px;
    color: white;
    text-align: center;
    margin-top: 100px;  /* VIDEOセクションと重ならないように調整 */
}

.introduction-content {
    max-width: 900px;
    margin: 0 auto;
}

.introduction-content h2 {
    font-size: 3rem;
    color: #ffcc66;  /* 黄色みのある色で目立たせる */
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.introduction-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 10px 0;
    font-family: 'Arial', sans-serif;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .introduction-content h2 {
        font-size: 2rem;
    }

    .introduction-content p {
        font-size: 1.2rem;
    }
}
/* トップに戻るボタン */
#back-to-top {
    position: fixed;
    bottom: 20px; /* 下から20px */
    right: 20px; /* 右から20px */
    z-index: 1000; /* 他の要素の上に表示 */
    display: none; /* 初期状態では非表示 */
}

#back-to-top img {
    width: 50px; /* 画像のサイズ */
    height: 50px; /* 画像のサイズ */
    cursor: pointer; /* マウスカーソルを指にする */
    transition: opacity 0.3s ease; /* 透明度の変化にスムーズなアニメーションを追加 */
}

#back-to-top:hover img {
    opacity: 0.7; /* ホバー時に少し透明にする */
}

/* モバイルでは非表示 */
@media (max-width: 768px) {
    #back-to-top {
        display: none;
    }
}
/* OTHER WORKSセクション */
.other-works {
    text-align: center;
    margin: 50px 0;
    padding: 50px 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
}

/* タイトル */
.other-works h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4b8c2a;
}

/* 作品ポスターと説明の配置 */
.works-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* ポスターと説明のコンテナ */
.poster-container {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    margin-bottom: 30px;
}

/* ポスター画像 */
.poster img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-right: 30px;
}

/* 作品情報 */
.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
}

/* 作品変更ボタン (2列 x 2配置) */
.work-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列に配置 */
    gap: 15px;
    margin-bottom: 20px;
}

.change-work {
    width: 150px; /* ボタンの横幅を固定 */
    height: 60px;  /* 高さを設定 */
    overflow: hidden; /* 画像がはみ出さないように */
    border: none;   /* ボタンのデフォルトのスタイルを削除 */
    cursor: pointer;
    background-color: transparent; /* 背景色を透明に設定 */
}

.change-work img {
    width: 100%; /* ボタン内の画像が横幅に合わせて表示 */
    height: 100%; /* 高さもボタン内に合わせる */
    object-fit: cover; /* 画像がボタン内で適切にフィットするように設定 */
    transition: transform 0.3s ease-in-out;
}

.change-work img:hover {
    transform: scale(1.05); /* ホバー時に画像を少し拡大 */
}

/* 作品説明 */
#work-description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .works-container {
        display: block; /* ポスターとボタンを縦並びにするため、flexを解除 */
        width: 100%; /* 幅を100%にして全面に表示 */
        align-items: center; /* 中央寄せ */
        text-align: center; /* コンテンツを中央揃え */
        max-width: 100%; /* 最大幅を100%に設定 */
        box-sizing: border-box; /* パディングやマージンが幅を超えないようにする */
    }

    .poster-container {
        width: 100%; /* ポスターを全面に表示 */
        margin: 0 auto; /* 中央揃え */
        margin-bottom: 20px; /* ポスターと下の要素との間隔 */
        max-width: 100%; /* 最大幅を画面幅に合わせる */
        box-sizing: border-box;
    }

    .poster img {
        width: 100%; /* ポスター画像を全幅で表示 */
        height: auto;
        border-radius: 10px;
        margin-bottom: 20px; /* ボタンと説明との間隔 */
        max-width: 100%; /* 最大幅を画面幅に合わせる */
    }

    .info {
        display: block; /* 説明を縦に並べる */
        text-align: center; /* 説明文を中央に配置 */
        margin-top: 10px; /* ポスターと説明の間隔 */
        max-width: 100%; /* 最大幅を100%に設定 */
    }

    .work-buttons {
        display: block; /* ボタンを縦に並べる */
        margin-top: 20px; /* ボタンと説明との間隔 */
        text-align: center; /* ボタンを中央に配置 */
        max-width: 100%; /* 最大幅を100%に設定 */
    }

    .change-work img {
        display: block; /* ボタン画像を中央揃え */
        margin: 10px auto; /* ボタン間の間隔と中央配置 */
        width: 60px; /* ボタン画像のサイズ調整 */
        height: 60px;
        cursor: pointer;
    }
}
/* フッターのスタイル */
.footer {
    background-color: black; /* 背景色を黒に */
    padding: 20px 0;
    text-align: center; /* リンクを中央揃え */
}

.footer-container {
    max-width: 1200px; /* 最大幅を1200pxに設定 */
    margin: 0 auto; /* 中央に配置 */
    padding: 0 20px; /* 左右に少し余白 */
}

.footer-links {
    list-style: none; /* リストマーカーを削除 */
    padding: 0;
    margin: 0;
    display: flex; /* 横並びに */
    flex-wrap: wrap; /* 画面幅に応じて折り返し */
    justify-content: center; /* 中央揃え */
}

.footer-links li {
    margin: 10px 15px; /* リンク間に適切なマージンを設定 */
}

.footer-link {
    text-decoration: none; /* 下線を消す */
    color: white; /* 文字色を白に */
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out; /* ホバー時の色変更をスムーズに */
}

.footer-link:hover {
    color: #a1c349; /* ホバー時に色を変更 */
}

.copyright {
    margin-top: 20px; /* 上に少し余白 */
    color: white; /* 文字色を白に */
    font-size: 1rem; /* 少し小さめのフォント */
}
/* モバイル用の最適化 */
@media (max-width: 768px) {
    .footer-links {
        display: block; /* リンクを縦並びに */
        margin-top: 20px; /* 上に少し余白を追加 */
    }

    .footer-links li {
        margin: 10px 0; /* リンク間に少し余白を追加 */
    }

    .footer-link {
        font-size: 1.1rem; /* モバイルでは少し小さく */
        margin-bottom: 10px; /* ボタンの下に少し余白 */
    }

    .copyright {
        font-size: 0.9rem; /* モバイルでは少し小さく */
        margin-top: 30px; /* 上に余白を追加 */
    }
}
@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .card {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
}
@media (max-width: 768px) {
  .intro, .media-info, .characters {
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .intro h2, .media-info h2, .characters h2 {
    font-size: 20px;
    text-align: center;
  }
}
/* 筆者情報セクション全体 */
.author-info {
    padding: 40px;
    background-color: #e8f5e9; /* 明るい緑 */
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影で立体感 */
}

/* コンテナ（左右に分割） */
.author-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; /* 左右の間隔 */
}

/* 左側のプロフィール表 */
.profile-details {
    flex: 1;
    padding-right: 20px; /* 写真との間隔 */
}

.profile-details h2 {
    font-size: 2rem;
    color: #3a4d28; /* 濃いオリーブグリーン */
    margin-bottom: 20px;
}

.profile-details table {
    width: 100%;
    border-collapse: collapse; /* 枠線を統合 */
}

.profile-details th {
    text-align: left;
    color: #4b7a41; /* 濃い緑 */
    font-weight: bold;
    padding: 10px;
    background-color: #f1f1f1; /* ライトグレー */
    border-radius: 5px;
}

.profile-details td {
    padding: 10px;
    background-color: #ffffff; /* 白背景 */
    color: #333; /* 濃い文字色 */
    border-radius: 5px;
}

/* 右側の写真 */
.profile-image {
    flex: 1;
    text-align: center;
}

.profile-image img {
    width: 100%;
}

/* モバイル向け */
@media (max-width: 768px) {

  .profile-details h2{
    white-space: nowrap;
  }
    .author-container {
        flex-direction: column; /* 上下に並べる */
        text-align: center;
    }

    .profile-details {
        padding-right: 0;
        margin-bottom: 20px; /* 写真との余白 */
    }

    .profile-image img {
        max-width: 200px; /* 写真を少し小さく */
    }
}
/* ニュースセクション */
.news-section {
    padding: 40px;
    background-color: #f9f9f9; /* 明るい背景色 */
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影で柔らかい印象 */
    text-align: center;
}

.news-section h2 {
    font-size: 2.5rem;
    color: #3a4d28; /* 濃いオリーブグリーン */
    margin-bottom: 20px;
    text-align: center;
}

/* ニュースコンテナ */
.news-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* カードが収まらない場合、折り返す */
}

/* ニュースカード */
.news-card {
    flex: 1;
    max-width: 30%;
    background-color: #ffffff; /* 白背景 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影で立体感 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

/* ニュースカードホバー時 */
.news-card:hover {
    transform: translateY(-5px); /* カードを少し持ち上げる */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 影を強調 */
}

/* ニュースカードタイトル */
.news-card h3 {
    color: #4b7a41; /* 緑色 */
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ニュースカード日付 */
.news-card p:first-of-type {
    font-size: 0.9rem;
    color: #888; /* グレー文字 */
    margin-bottom: 10px;
}

/* ニュースカード本文 */
.news-card p {
    font-size: 1rem;
    color: #333; /* 濃い文字色 */
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ニュースカードリンク */
.news-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4b7a41; /* 緑色 */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.news-card a:hover {
    background-color: #a1c349; /* 明るい緑色 */
}

/* モバイル向け */
@media (max-width: 768px) {
    .news-section h2{
      white-space: nowrap;
    }
    .news-container {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;
    }

    .news-card {
        max-width: 100%; /* 横幅を画面いっぱいに */
        margin-bottom: 20px; /* カード間の余白 */
    }
}
.Youtubelink {
  color: white; /* 文字色を白に */
  background-color: #D32F2F; /* 背景色を赤に */
  border-radius: 10px; /* 角丸を10pxに */
  padding: 10px 20px; /* 背景の大きさを文字より大きく */
  font-weight: bold; /* 文字を太字に */
  text-decoration: none; /* 下線を消す */
}

.Youtubelink:hover,
.Youtubelink:focus {
  background-color: red; /* クリック時の色変更を無効にする */
  color: white; /* 色変更を無効にする */
}
.image-button {
    display: inline-block; /* リンクの幅に合わせてインラインブロックに設定 */
    width: 100%; /* 親要素の幅を100%に設定（任意でサイズ調整可能） */
    height: auto;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 10px; /* ボタンに丸みをつける */
}

.image-button img {
    width: 100%; /* 画像を親要素の幅に合わせる */
    height: auto; /* 高さを自動調整 */
    display: block; /* 画像の下に隙間ができないようにする */
    border-radius: 10px; /* 画像の丸み */
}

.image-button:hover {
    transform: scale(1.1); /* ホバー時に画像を少し拡大 */
}
