@charset "UTF-8";
@import url("index_grid.css");
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

:root {
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #3366FF;
    ;
    --back-color: #003399;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
}

a {
    display: block;
    color: var(--base-color);
    text-decoration-line: none;
}

a:hover {
    color: var(--linkhover-color);
}

a img {
    margin-bottom: 1rem;
}

a img:hover {
    opacity: 0.8;
}

.blueback {
    background-color: var(--back-color);
    color: var(--white-color);
    padding: 1rem;
}

.underline {
    border-bottom: 3px solid var(--back-color);
    padding-bottom: 0.5rem;
}

.center {
    text-align: center;
    background-color: #43BC84;
}

body {
    background: #fffef2;
    font-family: 'Noto Sans JP', sans-serif;
}

/*ヘッダー
-------------------------------------*/

.head {
    background-color: #43BC84;
    position: relative;
    z-index: 1000;
}

.head h1 {
    padding: 1rem 0;
}

.head-flex {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    display: block;
}

.sns {
    margin-left: auto;
    display: flex;
    gap: 3rem;
    padding-top: 1rem;
}

.sns-icon svg {
    width: 54px;
    height: 54px;
    fill: var(--white-color);
    transition: fill 0.3s;
}

/* アイコンごとに hover色を変えるための変数 */
.sns-icon.instagram {
    --hover-color: #E1306C;
}

/* Instagramのブランドピンク */
.sns-icon.facebook {
    --hover-color: #1877F2;
}

/* Facebookのブランドブルー */

.sns-icon:hover svg {
    fill: var(--hover-color);
}

/* ====== メインメニュー ====== */
/* =========================
   メニュー全体のコンテナ
   ・中央寄せ
   ・最大幅1200px
   ・疑似要素で背景を引くため position: relative
========================= */

#whopper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 0;
}

/* =========================
   ヘッダー帯の背景用疑似要素
   ・画面幅いっぱいに背景色を伸ばす
   ・whopperの背面に配置
========================= */
#whopper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #fbf7c6;
    ;
    z-index: -1;
}

/* =========================
   メニュー横並び制御
   ・各メニューグループを横に配置
========================= */
.menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* =========================
   各メニューカラム
   ・幅固定
   ・サブメニュー絶対配置の基準
========================= */
.menu-group {
    width: calc(100% / 6);
    position: relative;
}

/* =========================
   サブメニュー（展開部分）
   ・親メニューの直下に重ねて表示
   ・ページを押し下げない
========================= */
.menu-group ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* =========================
   親メニュー（ラベル）
   ・クリック可能
   ・矢印表示用に右余白を確保
========================= */
.menu-group label {
    position: relative;
    padding-right: 28px;
    margin: 0;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.05em;
    background: #fbf7c6;
    color: #000;
    padding: 16px 28px 16px 12px;
    display: block;
    cursor: pointer;
}

/* ラベル内にリンクがある場合も色を統一 */
.menu-group label a {
    color: inherit;
}

/* =========================
   展開可能メニューの矢印表示
========================= */
.menu-group label::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
}

/* 矢印を表示したくないメニュー用 */
.menu-group label.no-arrow::after {
    content: "";
}

/* =========================
   アコーディオン制御
========================= */

/* チェックボックスを完全に非表示 */
.menu-group input.on-off {
    display: none !important;
}

/* 初期状態：閉じる */
.on-off+ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

/* チェック時：展開 */
.on-off:checked+ul {
    max-height: 1000px;
}

/* =========================
   サブメニュー項目
========================= */
.menu-group li {
    margin: 0;
    padding: 0;
}

/* サブメニューリンク */
.menu-group li a {
    display: block;
    padding: 16px 10px;
    background: #eeeeeeec;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.05em;
}

/* ホバー時 */
.menu-group li a:hover {
    background: #fbf7c6ec;
}

/* スマホでは非表示 */
@media (max-width: 767px) {
    .menu {
        display: none;
    }
}

.header-inner {
    padding: 0 5%;
}

/* ---------------------------------------------- */
/* ハンバーガーメニュー */
/* ------------------------- */
#header-hamburger {
    /* 見た目のCSS */
    background: #94DC86;
    cursor: pointer;
    width: 50px;
    border-radius: 10px;
    aspect-ratio: 1/1;
    margin-left: auto;
    /* ボタンがハンバーガーウィンドウの下に隠れないようにする指定 */
    position: relative;
    z-index: 10;
}

/* ----------------- */
/* 三本線 */
/* ----------------- */
#header-hamburger span {
    /* 見た目のCSS */
    display: inline-block;
    background: #fff;
    width: 50%;
    height: 2px;
    /* バーガー線の太さ */
    /*アニメーションの設定*/
    transition: all .4s;
    position: absolute;
    left: 50%;
    /* バーガー線の位置 */
    transform: translateX(-50%);
}

/* １本目 */
#header-hamburger span:nth-of-type(1) {
    top: 30%;
}

/* ２本目 */
#header-hamburger span:nth-of-type(2) {
    top: 50%;
}

/* ３本目 */
#header-hamburger span:nth-of-type(3) {
    top: 70%;
}

/* ------------------ */
/* ×印 */
/* ------------------ */
/*activeクラスが付与されると線が回転して×になる*/
#header-hamburger.active span:nth-of-type(1) {
    top: 50%;
    left: 25%;
    transform: rotate(-45deg);
    width: 50%;
}

#header-hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

#header-hamburger.active span:nth-of-type(3) {
    top: 50%;
    left: 25%;
    transform: rotate(45deg);
    width: 50%;
}

/* ----------------------------------------------- */
/* メニューウィンドウ */
/* -------------------------- */
#hamburger-window {
    transition: 0.3s;
    text-align: center;
    /* 初期状態は非表示 */
    visibility: hidden;
    position: fixed;
    top: 70px;
    right: -100vw;
    z-index: 1;
    /* 画面いっぱいに表示されるサイズに設定 */
    width: 100%;
    height: calc(100vh - 70px);
    /* 画面からはみ出したらスクロール可能にする */
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/*スクロールバー非表示（Chrome・Safari）*/
.content::-webkit-scrollbar {
    display: none;
}

#hamburger-window.open {
    visibility: visible;
    right: 0;
}

.hamburger-window__link {
    display: block;
    margin: 0 auto;
    width: 100%;
    background-color: #fffef2;
}

.hamburger-window__link:hover {
    background-color: #fbf7c6;
}

.hamburger-window__link p {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hamburger-window__link:first-child .acordion-btn {
    border-top: 1px solid #ccc;
}


/* ----------------------------------
アコーディオン部分
--------------------- */
.acordion-menu-wrapper {
    background-color: #fffef2
}

.acordion-btn {
    display: flex;
    align-items: center;
    padding-left: 5%;
}

.acordion-btn:hover {
    background-color: #fbf7c6;
}

.acordion-btn::after {
    /* fontawesomeアイコンを表示 */
    content: '\2b';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    position: absolute;
    right: 5%;
    width: 10px;
    aspect-ratio: 1/1;
    color: #333;
}

.acordion-btn.is-open::after {
    /* fontawesomeアイコンを表示 */
    content: '\f068';
}

.hamburger-window__link {
    border-top: 1px solid #ccc;
}

.hamburger-window__title,
.hamburger-window__link>a {
    color: #333;
}

.hamburger-window__link>a {
    display: block;
    text-align: left;
    padding-left: 5%;
    position: relative;
}

.hamburger-window__link>a::after {
    /* fontawesomeアイコンを表示 */
    content: '\f054';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
    width: 10px;
    aspect-ratio: 1/1;
    color: #333;
}

.acordion>.acordion__item {
    position: relative;
    text-align: left;
    width: 100%;
    background-color: #fffef2;
    /* 閉じている状態 */
    border-top: 0 #ccc solid;
    line-height: 0;
    /* 閉じるアニメーション */
    transition:
        border-top .1s ease-out,
}

.acordion.is-open>.acordion__item {
    background-color: #fff;
    /* 開いている状態 */
    border-top: 1px #ccc solid;
    /* 開くアニメーション */
    transition:
        border-top .1s ease-out,
}

.acordion.is-open>.acordion__item:hover {
    background-color: #fbf7c6;
}

.acordion.is-open>.acordion__item:first-child {
    border-top: none;
}

.acordion.is-open>.acordion__item::after {
    /* fontawesomeアイコンを表示 */
    content: '\f054';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10%;
    width: 10px;
    aspect-ratio: 1/1;
    color: #333;
}

.acordion>.acordion__item>.acordion__link {
    color: #333;
    display: block;
    padding-left: 7%;
    /* 閉じている状態 */
    padding-top: 0;
    padding-bottom: 0;
    line-height: 0;
    opacity: 0;
    visibility: hidden;
    /* 閉じるアニメーション */
    transition:
        padding-top .3s ease-out,
        padding-bottom .3s ease-out,
        line-height .3s ease-out,
        opacity .1s linear,
        visibility .1s linear;
}

.acordion.is-open>.acordion__item>.acordion__link {
    display: block;
    padding-left: 7%;
    /* 開いている状態 */
    padding-top: 23px;
    padding-bottom: 23px;
    line-height: 1.5;
    opacity: 1;
    visibility: visible;
    /* 開くアニメーション */
    transition:
        padding-top .3s ease-out,
        padding-bottom .3s ease-out,
        line-height .3s ease-out,
        opacity .1s linear,
        visibility .1s linear;
}

/* ハンバーガーメニュー内のリスト装飾を消す */
#hamburger-window ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* アイテム再設定 */
.acordion__item {
    margin: 0;
    padding: 0;
}

/* スクロール禁止用 */
html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}


/* =========================
   ハンバーガーメニュー表示制御
========================= */

/* PCでは非表示 */
#header-hamburger,
#hamburger-window {
    display: none;
}

/* スマホだけ表示 */
@media (max-width: 767px) {

    #header-hamburger,
    #hamburger-window {
        display: block;
    }
}

/* -------------------------- */
/* ハンバーガー用オーバーレイ */
/* -------------------------- */
#hamburger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* 表示状態 */
#hamburger-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== スマホ対応 ===== */

@media screen and (max-width: 768px) {
    .head {

        text-align: left;
        margin-bottom: 20px;
    }

    .logo img {
        height: 30px;
        width: auto;
    }

    .telbox {
        margin-left: 0;
        text-align: center;
    }

    .sns {
        margin-left: 0.2rem;
        padding-top: 0;
        gap: 1rem;
    }

    .sns-icon svg {
        width: 30px;
        height: 30px;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        padding-top: 0;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0;
    }
}

/* ===== メイン動画 ===== */

.mainimg {
    width: 100vw;
    display: flex;
    justify-content: center;
}

/* 表示エリア */
.video-viewport {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* 動画本体 */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background: #fffef2;      /* 余白が出たときの色 */
    display: block;
}

/* ===== スマホ ===== */
@media (max-width: 768px) {
    .video-viewport {
        height: auto;
        aspect-ratio: 1200 / 550;
    }

    .hero-video {
        object-fit: contain; /* 切らない */
    }
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/* =========================
   キャッチコピー
========================= */
.catch {
    text-align: center;
    font-size: 3rem;
    line-height: 1.8;
    padding: 30px 20px;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
    .catch {
        font-size: 1.7rem;
        padding: 10px 20px;
    }
}

/* =========================
   セクション見出し全体（英語＋日本語）
========================= */
.section-title {
    display: flex;
    /* 横並び */
    align-items: center;
    /* 縦方向中央揃え */
    gap: 2.4rem;
    /* 英語と日本語の間隔 */
    padding: 20px 5px;
    /* 上下・左右の余白 */
}

/* 英語タイトル（大きく目立たせる） */
.section-title .en {
    font-size: 56px;
    /* 見出しの主役サイズ */
    font-weight: 700;
    /* 太字 */
    letter-spacing: 0.05em;
    /* 少し広めの字間 */
    color: #43BC84;
    /* グリーン */
    line-height: 1;
    /* 余白を詰めてシャープに */
}

/* 日本語タイトル（補助的な見出し） */
.section-title .jp {
    font-size: 18px;
    /* 英語より控えめ */
    font-weight: 600;
    margin-top: 2.8rem;
    /* 英語との視覚的な高さ調整 */
    color: #43BC84;
    letter-spacing: 0.1em;
    /* 日本語はやや広め */
}

/* スマホ表示用調整 */
@media (max-width: 767px) {

    /* セクション見出しの余白を広げる */
    .section-title {
        padding: 20px 20px;
    }

    /* 英語タイトルを縮小 */
    .section-title .en {
        font-size: 3.6rem;
    }

    /* 日本語タイトルも連動して縮小 */
    .section-title .jp {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
}

/* =========================
   記事カード（外枠）
========================= */
.news-item {
    margin-bottom: 2rem;
    /* カード同士の縦の間隔 */
    display: flex;
    /* 中の .news-box を高さ揃えするため */
    width: 100%;

    padding: 6px;
    /* 外枠（黄色部分）の太さ */
    background: #fbf7c6;
    /* 外側の淡い黄色 */
    border-radius: 30px;
    /* 外枠の角丸（内側より少し大きめ） */

    transition: background 0.25s ease;
    /* hover時に色をやさしく変化 */
}

/* 外枠の hover 表現（浮かせず、色だけ少し濃く） */
.news-item:hover {
    background: #f6ef9a;
    /* ほんのり黄色を強調 */
}

/* リンク全体をカードとして使う */
.news-item a {
    text-decoration: none;
    /* 下線を消す */
    color: inherit;
    /* 親の文字色を継承 */
    width: 100%;
    /* クリック範囲をカード全体に */
}

/* =========================
   記事カード（内側ボックス）
========================= */
.news-box {
    background: #f7f7f7;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 24px;
    padding: 2rem;
    min-height: 160px;
    text-align: left;
}

/* メイン文章 */
.news-text {
    flex: 1;
    display: flex;
    align-items: center;
}

/* 誰からの報告か */
.news-from {
    text-align: center;
    margin-top: 1rem;
    font-size: 14px;
}

/* =========================
   行レイアウト調整
========================= */
.news-row {
    align-items: stretch;
    /* 同じ行のカードの高さを揃える */
    margin-bottom: 3rem;
    /* 行（段）ごとの間隔 */
}

/* col 自体も flex にして高さ揃えを有効化 */
.news-row .col {
    display: flex;
}

@media (max-width: 767px) {

    .news-row {
        flex-direction: column;
    }

    .news-row .col {
        width: 100%;
        display: flex;
    }

    .news-item {
        margin-bottom: 1rem;
    }

    .news-box {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        min-height: 110px;
    }

    .news-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        line-height: 1.5;
        margin-top: 1.4rem;
        margin-bottom: 0;
        /* ← ここで距離を微調整 */
    }

    .news-from {
        margin-top: auto;
        /* ← これで下に押し下げる */
    }
}

/* =========================
   年間行事
========================= */

/* 行事全体のラッパー
   └ 右下ボタン配置の基準になる */
.schedule {
    position: relative;
}

/* リストの余白リセット */
.schedule ul {
    padding: 0;
    margin: 0;
}

/* 各行事アイテム
   └ Gridで「日付｜内容」を横並びにする */
.schedule li {
    list-style: none;
    display: grid;

    /* 左：日付（固定幅）｜右：内容（可変） */
    grid-template-columns: 23rem 1fr;
    column-gap: 1.5rem;

    /* 行事の区切り線（点線） */
    border-bottom: 1px dotted #43BC84;
    padding: 0.8rem 0;
}

/* 日付部分 */
.schedule .date {
    font-weight: 600;
    color: #000;

    /* 改行させず、縦位置を揃える */
    white-space: nowrap;
}

/* 内容テキスト */
.schedule .text {
    line-height: 1.6;
}

/* 「年間行事一覧」ボタンの配置
   └ 右下寄せ */
.schedule-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ボタンデザイン */
.schedule-button {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    background: #fbf7c6;
    border-radius: 999px;
    /* 完全な丸み */
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;

    /* hover用のなめらか変化 */
    transition: background 0.25s ease;
}

/* hover時：色だけほんのり変える */
.schedule-button:hover {
    background: #f6ef9a;
    color: #333;
    /* リンクhoverに負けない */
}

/* スマホ表示
   └ 日付と内容を縦並びに変更 */
@media (max-width: 767px) {
    .schedule li {
        grid-template-columns: 1fr;
        row-gap: 0.3rem;
    }
}

/* =========================
   Facebook 埋め込み
========================= */

/* 中央寄せ＆はみ出し防止 */
.fb-wrapper {
    display: flex;
    justify-content: center;
}

/* iframe自体の調整 */
.fb-wrapper iframe {
    max-width: 100%;
    border: none;
}

/* スマホ用 */
@media (max-width: 767px) {
    .fb-wrapper iframe {
        width: 100% !important;
        height: 600px;
    }
}

/* =========================
   フッター情報
========================= */
.footer-info {
    background: #43BC84;
    color: #fff;
    padding: 1.5rem 0;
}

/* 1ブロック */
.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* リンクでも色変えない */
.footer-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: inherit;
}

.footer-link:hover {
    color: #fbf7c6;
}

/* SVGアイコン */
.footer-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
    display: block;
    transform: translateY(1px);
}

/* テキスト */
.footer-text {
    font-size: 2rem;
}

/* SP */
@media (max-width: 767px) {
    .footer-info .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-item {
        width: 257px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 1rem auto;
        gap: 0.8rem;
    }

    .footer-text {
        font-size: 1.8rem;
    }
}

/*プライバシーポリシー
-------------------------------------*/
.privacypolicy {
    text-align: center;
    padding: 1rem 0;
    font-size: small;
}

.privacypolicy a {
    text-decoration: none;
    color: #fff
}

@media (max-width: 767px) {
    .privacypolicy {
        font-size: smaller;
    }
}



/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    font-size: small;
}

@media (max-width: 767px) {
    .copyright {
        font-size: smaller;
    }
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #94DC86;
    color: #000;
    font-weight: 800;
    width: 70px;
    height: 70px;
    border-radius: 999px;

    text-decoration: none;
}

#pagetop a:hover {
    background: #fbf7c6;
}