@charset "UTF-8";
/* CSS Document */

html {
    font-size: 62.5%;
    /* 10px相当に設定している前提。16pxベースなら適宜読み替えてください */
}

/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #FFF;
}
/* ヘッダー */
.site-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-nav {
    display: flex;
    gap: 15px;
}









/* 基本レイアウト */
.mv-section-simple {
    width: 100%;
    background-color: #fff;
    padding-bottom: 40px;
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 左右ボタン（緑の丸アイコン） */
.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

.swiper-button-prev {
    background-image: url('../assets/icon_44px_arrow-circle-fill_left_green.png') !important;
    left: 0px !important;
}

.swiper-button-next {
    background-image: url('../assets/icon_44px_arrow-circle-fill_right_green.png') !important;
    right: 0 !important;
}

/* --- PC用サムネイル設定 --- */
.swiper-nav-container {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 15;
    margin: 0 10px 0;
    border-radius: 12px;
    overflow: hidden;
}

.play-pause-btn {
    appearance: none;
    border: none;
    border-right: 1px solid #eee;
    padding: 0;
    font-family: inherit;
    font-size: 1.6rem;
    color: #333;
    width: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    font-weight: bold;
}

.play-pause-btn:focus-visible {
    outline: 3px solid #00953F;
    outline-offset: -3px;
}

.thumb-slider {
    flex-grow: 1;
}

.thumb-slider .swiper-wrapper {
    display: flex !important;
    width: 100% !important;
    transform: none !important;
    /* PCでは横移動させない */
}

.thumb-slider .swiper-slide {
    width: 25% !important;
    flex: 0 0 25% !important;
    height: 70px;
    background: #fcfcfc;
    cursor: pointer;
    border-right: 1px solid #eee;
    padding: 0 8px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.thumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.thumb-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
}

.thumb-item span {
    font-size: 1.2rem;
    line-height: 1.2;
    color: #333;
}

.thumb-slider .swiper-slide-thumb-active {
    background: #fff;
    border-top: 4px solid #28a745;
}

.thumb-slider .swiper-slide-thumb-active span {
    color: #28a745;
    font-weight: bold;
}

/* --- スマホ用ドット（Pagination）設定 --- */
.main-slider .swiper-pagination {
    display: none;
    /* デフォルトは非表示 */
}

@media (max-width: 768px) {
    .swiper-nav-container {
        display: none !important;
        /* スマホでサムネイルを消す */
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .main-slider {
        overflow: visible !important;
        /* ドットを枠外に見せる */
        margin-bottom: 50px !important;
    }

    .main-slider .swiper-pagination {
        display: block !important;
        bottom: -35px !important;
        /* 画像の下に配置 */
        position: absolute;
        width: 100%;
    }

    /* ドットの形と色 */
    .main-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #ccc;
        opacity: 1;
        margin: 0 6px !important;
    }

    .main-slider .swiper-pagination-bullet-active {
        background: #28a745 !important;
        /* アクティブは緑 */
    }
}



/* スライダーが親要素を突き抜けないように固定 */
.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    /* overflow: hidden; */
    /* コンテナからはみ出すのを防ぐ */
    position: relative;
}

.main-slider {
    width: 100% !important;
    overflow: hidden !important;
}

.main-slider .swiper-slide {
    width: 100% !important;
    /* スライド1枚を強制的に100%に */
}

.main-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* --- スマホ時：ドットの配置を整える --- */
@media (max-width: 768px) {
    .main-slider {
        overflow: visible !important;
        /* ドットを枠外に見せるために一旦解除 */
        margin-bottom: 40px !important;
    }

    .main-slider .swiper-wrapper {
        overflow: visible;
        /* ドットは見せるが、横の余計なスライドは見せない */
    }
}















/* PC用ボックス */
.mv-info-box {
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    padding: 2.8rem 4.0rem;
    background: rgba(247, 247, 247, 0.8);
    border-radius: 20px;
    box-sizing: border-box;
}

.mv-info-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.0rem 0;
}

.mv-info-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* --- SP版用出し分け設定 --- */
.sp-mv-content {
    display: none;
    /* 初期状態は非表示 */
}

/* 取り組みセクション */
.mv-info-box {
    background: #F2F9F4;
    padding: 20px;
    border-radius: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

.mv-info-title {
    color: #0E7024;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.mv-info-text {
    color: #333;
    font-size: 1.6rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}



.content-section {
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: auto;
}



/* タブメニュー全体 */
.tab-wrapper {
    display: flex;
    width: 100%;
    margin: 0 auto 40px;
    border-bottom: 2px solid #E6E6E6;
    position: relative;
    max-width: 1000px;
    gap: 15px;
    /* タブ間に少し隙間を空ける */
}

.tab-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 10px 10px 0 0;
    /* 上部を角丸に */
}

/* テキストの基本スタイル */
.tab-text {
    font-size: 2.22rem;
    font-weight: 700;
    color: #0E7024;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

/* キーボードフォーカス時のスタイル（アクセシビリティ対応） */
.tab-item:focus-visible {
    outline: 3px solid #00953F;
    outline-offset: -3px;
    background: #E8F5E9; /* 少し背景色を変えてフォーカスを分かりやすくする */
}

.tab-text span {
    display: inline-block;
}

/* アクティブ時のスタイル */
.tab-item.is-active {
    background: #0E7024;
}

.tab-item.is-active .tab-text {
    color: #FFFFFF;
}

/* アクティブ時の下向き矢印 */
.tab-item.is-active::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0E7024;
    z-index: 5;
}

/* 不要になった古いトゲ・ラインのスタイルを無効化 */
.tab-item.is-active::after {
    display: none;
}

/* --- レスポンシブ (800px以下) --- */
@media screen and (max-width: 800px) {
    .pc-mv-content {
        display: none;
    }

    .sp-mv-content {
        display: block;
    }

    .mv-info-box {
        padding: 40px 15px;
        border-radius: 20px;
        margin: 20px 5%;
        width: calc(100% - 10%);
    }

    .mv-info-title {
        font-size: 2.0rem;
    }

    .mv-info-text {
        font-size: 1.4rem;
    }

    .tab-wrapper {
        gap: 5px;
    }

    .tab-item {
        height: 60px;
    }

    .tab-text {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: center;
    }

    .tab-item.is-active::before {
        bottom: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #0E7024;
    }
}




.main-content {
    width: 100%;
    padding: 0 20px;
}


/* タブ・見出しの共通幅（最大1000px） */
.tab-wrapper,
.card-grid {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/* タブコンテンツの基本表示・非表示 */
.tab-content {
    display: none;
    /* 基本は隠す */
}

.tab-content.is-show {
    display: block;
    /* is-showがついたものだけ表示 */
}



/* 全体の計算を正しくする */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* カードグリッド：860px以上で2列 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* カード本体 */
.card-grid a,
.card-grid a:hover,
.card-grid a .card-title,
.card-grid a .card-desc {
    text-decoration: none !important;
}

.card-cassette {
    background: #FFFFFF;
    border: 1px solid #E8EEF2;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-decoration: none;
    /* リンクとして使う場合 */
    color: inherit;
    height: 100%;
    /* グリッド内で高さを揃える */
}

/* カードのキーボードフォーカス時のスタイル（アクセシビリティ対応） */
.card-grid a:focus-visible .card-cassette {
    outline: 4px solid #00953F;
    outline-offset: 4px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* 画像エリア：比率を維持して型崩れを防ぐ */
.card-image-box {
    width: 100%;
    aspect-ratio: 480 / 215;
    /* デザイン通りの比率 */
    background: #F0F4F7;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* テキストエリア：ここが余白とレイアウトの肝 */
.card-body {
    padding: 24px;
    /* テキスト周囲の余白をしっかり確保 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* カード下部までエリアを広げる */
}

/* タイトル・説明文のコンテナ */
.card-info {
    flex-grow: 1;
    /* 下のfooter（アイコン）を最下部に押し出す */
}

/* 見出し：2rem 太字 / 行間1.4 */
.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

/* 詳細：1.6rem / 行間1.4 */
.card-desc {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    color: #333333;
    margin: 0;
}

/* アイコンを配置するエリア（右下固定） */
.card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    /* テキストとの最低限の隙間 */
}

.card-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.card-arrow::after {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.3s ease;
    background-image: url('../assets/icon_36px_arrow_green.png');
}

.card-arrow.is-external::after {
    background-image: url('../assets/icon_36px_open_green.png');
}

/* ホバー：浮かせる */
.card-cassette:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

/* 860px以下：1列にレスポンシブ */
@media screen and (max-width: 860px) {
    .card-grid {
        grid-template-columns: 1fr;
        /*        padding: 0 20px;*/
    }
}


.other-contents-nav {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 40px;
}

.nav-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #8C8C8C;
    margin-bottom: 20px;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.js-tab-trigger-btn {
    appearance: none;
    background: #FFFFFF;
    border: 2px solid #00953F;
    border-radius: 30px;
    color: #00953F;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 240px;
}

.js-tab-trigger-btn:hover {
    background: #00953F;
    color: #FFFFFF;
}

.js-tab-trigger-btn:focus-visible {
    outline: 3px solid #0E7024;
    outline-offset: 2px;
}

/* スマホ対応 */
@media screen and (max-width: 800px) {
    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .js-tab-trigger-btn {
        width: 100%;
        max-width: 300px;
        font-size: 1.6rem;
    }
}







/* --- お知らせセクション全体 --- */
.news-section {
    background-color: #D6E9D2;
    /* 薄い緑の背景 */
    padding: 8.0rem 0;
}

/* 白いボックス */
.news-box {
    background: #FFFFFF;
    border-radius: 2.0rem;
    /* 角丸 */
    padding: 4.0rem 6.0rem;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.news-box h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2.4rem;
    letter-spacing: 0.05em;
}

/* お知らせリスト：スクロール設定 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 420px;
    /* 表示する高さ */
    overflow-y: auto;
    /* デフォルトのスクロールバーが表示される */
}

/* レスポンシブ (860px以下) */
@media screen and (max-width: 860px) {
    .news-box {
        padding: 3.0rem 2.0rem;
    }
}

/* お知らせボタン */
.news-more-btn-wrapper {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

.btn-more {
    display: inline-block;
    padding: 12px 64px;
    background-color: #00953F;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #007a33;
    opacity: 0.9;
    transform: translateY(-2px);
}

@media screen and (max-width: 800px) {
    .btn-more {
        width: 100%;
        max-width: 280px;
        font-size: 1.4rem;
        padding: 12px 24px;
    }
}