@charset "utf-8";

/* 共有 */

html{
    font-size: 100%;
}

body#top {
	font-family: "Zen Maru Gothic", serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: 500;
	font-style: normal;
	font-size:17px;
	line-height: 1.9;
	color:#5e3c1a;
	background-color: #fff;
	letter-spacing: 2px;
}

a{
    text-decoration: none;
	transition: 0.5s; 
}
a:hover {
	opacity: 0.7;
}

img{
    width: 100%;
    vertical-align: top;
}
p{
    color: black;
}

#sp_only {
	display: none;
}

/* ======== ヘッダー ======== */
.site-header {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: transparent; /* ← 通常時は透明に */
    z-index: 1000;
    box-sizing: border-box;
    transition: background-color 0.4s ease, transform 0.4s ease; /* スムーズな変化のため */
    height: 10vh;
}
/* スクロール後にヘッダーに付与されるクラス */
.site-header.is-sticky {
    position: fixed;
    background-color: #fff; /* 固定時は白背景に */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: slideDown 0.5s ease-out; /* 上からスライドインするアニメーション */
}

/* ヘッダーが上からスライドインするアニメーションを定義 */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-link {
    text-decoration: none;
    color: #000;
    width: 20%;
}
.logo-link .main-title {
    font-weight: bold;
    font-size: 1.2rem;
}
.logo-link .sub-title {
    font-size: 0.9rem;
    display: block;
}
.header-info {
    font-size: 1.5rem;
    font-weight: bold;
}
.countdown-days {
    font-size: 1.2em;
    color: #d32f2f;
}

/* ======== ハンバーガーメニュー ======== */
.hamburger-menu {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8px;
    z-index: 1001;
}
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}
/* メニューオープン時のアニメーション（X印） */
.hamburger-menu.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ======== スライドメニュー ======== */
.slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%); /* 初期状態では画面外に隠す */
    transition: transform 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
}
.slide-menu.is-active {
    transform: translateX(0); /* activeクラスがついたら表示 */
}
.slide-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.slide-menu li a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 999;
}
.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ======== 画像グリッド ======== */
.hero-grid {
    display: grid;
    /* 6列のグリッドを作成 */
    grid-template-columns: repeat(6, 1fr);
    /* 各行の高さを画面の高さの28%に設定 */
    grid-auto-rows: 28vh;
    gap: 8px; /* グリッド間の隙間 */
}

/* グリッドアイテムの共通スタイル */
.grid-item {
    position: relative;
    overflow: hidden;
    display: block;
    color: #fff;
    text-decoration: none;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* クリック可能なアイテムのホバー効果 */
.grid-item:not(.non-clickable):hover img {
    transform: scale(1.05); /* ホバー時に画像を少し拡大 */
}
/* 非クリック領域のカーソルとホバー効果 */
.grid-item.non-clickable {
    cursor: default;
}
.grid-item.non-clickable:hover img {
    transform: none;
}

/* テキストオーバーレイのスタイル */
.grid-text, .grid-text-multi, .center-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    box-sizing: border-box;
}
.grid-text-multi span {
    display: block;
}

/* ======== 各グリッドアイテムの大きさと位置を指定 ======== */
/* ここで各要素の「大きさ（幅・高さ）」を調整します */

/* --- 非クリック領域 --- */
.item-l1 { grid-column: 1; grid-row: 1; }
.item-l2 { grid-column: 1; grid-row: 2 / span 2; } /* 2行目から2行分の高さ */
.item-r1 { grid-column: 6; grid-row: 1; }
.item-r2 { grid-column: 6; grid-row: 2; }
.item-r3 { grid-column: 6; grid-row: 3; }

/* --- 中央 --- */
.item-center {
    grid-column: 3 / span 2; /* ← 幅を調整するには span の数を変更 (例: span 3 で3列分) */
    grid-row: 1 / span 3;    /* ← 高さを調整するには span の数を変更 (例: span 2 で2行分) */
    height: 46vh;
    margin-top: 20vh;
}
.center-text { /* 中央アイテムのテキストスタイル */
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    height: 100%; background: rgba(0,0,0,0.4);
}
.center-text h2 { margin: 0; font-size: 2.5rem; }
.center-text p { margin: 10px 0 0; font-size: 1rem; }

/* --- クリック領域 --- */
/* 例：item-c1 の幅を2列分にしたい場合 */
/* .item-c1 { grid-column: 2 / span 2; grid-row: 1; } のように変更します */
.item-c1 { grid-column: 2; grid-row: 1; }
.item-c2 { grid-column: 2; grid-row: 2; }
.item-c3 { grid-column: 2; grid-row: 3; }

.item-c4 { grid-column: 5; grid-row: 1; }
.item-c5 { grid-column: 5; grid-row: 2; }
.item-c6 { grid-column: 5; grid-row: 3; }
/* ... 残りのクリック領域アイテムも同様に配置します ... */
/* レイアウトに合わせて以下を調整してください */
/* .item-c7  { grid-column: 1; grid-row: 4; } 仮配置 */
.item-c8  { grid-column: 3; grid-row: 3; height: 19vh; margin-top: 9vh; } /* 仮配置 */
.item-c9  { grid-column: 3; grid-row: 1; height: 19vh;} /* 仮配置 */
.item-c10 { grid-column: 4; grid-row: 1; height: 19vh;} /* 仮配置 */
.item-c11 { grid-column: 4; grid-row: 3; height: 19vh; margin-top: 9vh;} /* 仮配置 */
/* .item-c12 { grid-column: 6; grid-row: 4; } 仮配置 */

/* ======== HISTORYセクション ======== */
.history-section {
    padding: 120px 0;
    background-color: #fff;
    text-align: center; /* 中の要素をすべて中央揃えに */
    /* 画像の雰囲気に合わせて、上品な明朝体系のフォントを指定 */
    font-family: "Hiragino Mincho ProN", "MS PMincho", serif;
}

.history-title {
    font-family: 'Times New Roman', serif; /* タイトルは欧文用のセリフ体を指定 */
    color: #4c007d; /* 画像に近い紫色 */
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.history-intro {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    width: 800px;
    margin: 0 auto 60px;
}

.history-main {
    max-width: 800px; /* 文章が横に広がりすぎないように */
    margin: 0 auto 60px auto; /* 中央揃えと下の余白 */
    font-size: 1rem;
    line-height: 2.5;
    color: #333;
}

.btn-history {
    display: inline-block;
    background-color: #4c007d; /* タイトルと同じ紫色 */
    color: #fff;
    padding: 16px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-history:hover {
    background-color: #3b0062; /* 少し暗い紫色 */
    transform: translateY(-3px); /* 少し上に浮き上がる効果 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.icon-detail{
    width: 20%;
    margin: auto;
}
/* ======== 下層ヒーロービジュアル ======== */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px; /* 必要に応じて高さを調整してください */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* 画像のスタイリング */
.hero-image {
    position: absolute; /* 親要素（.hero-visual）を基準に配置 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* コンテナいっぱいに画像を拡大・縮小 */
    z-index: 1; /* テキストよりも下に配置 */
}

/* テキストのスタイリング（変更なし） */
.hero-content {
    position: relative; /* テキストを画像の上に配置するために必要 */
    z-index: 2; /* 画像よりも上に配置 */
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding-left: 20%;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}
/* ======== ご挨拶 ======== */
.greetings-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.greetings-heading {
    text-align: center;
    margin-bottom: 60px;
    line-height: 2;
}

.section-title {
    font-size: 2rem;
    color: #4a235a; /* 紫色 */
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a235a;
}

.greetings-content {
    display: flex; /* Flexboxを使ってテキストと画像を横に並べます */
    flex-direction: column; /* 画面が狭い場合は縦に並べます */
    gap: 60px; /* テキストと画像の間に隙間を作ります */
    align-items: flex-start;
}

@media (min-width: 768px) {
    .greetings-content {
        flex-direction: row; /* 画面が広い場合は横に並べます */
    }
}

.greetings-text {
    flex: 2; /* テキストが画像の2倍の幅を取るようにします */
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1.8;
}

.greetings-image {
    flex: 1; /* 画像のコンテナ */
    text-align: center;
}

.greetings-image img {
    max-width: 100%; /* 画像がコンテナからはみ出さないようにします */
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.greetings-signature {
    font-size: 0.9rem;
    line-height: 1.5;
}
/* ======== スケジュールと実施状況について ======== */
.executive-section {
    padding: 100px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.executive-header {
    text-align: center;
    margin-bottom: 40px;
}

.executive-header .section-title {
    font-size: 2.5rem;
    color: #333;
}

.executive-header .section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    margin-top: 30px;
}

.executive-header .section-description {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

.executive-container {
    display: flex;
    flex-direction: column; /* デフォルトでは縦並び */
    gap: 20px; /* カード間の隙間 */
    justify-content: center;
    align-items: center;
}
/* 2行目のカードを囲む新しいコンテナ */
.executive-sub-container {
    display: flex;
    gap: 20px;
    width: 100%; /* 親要素の幅いっぱいに広げます */
    align-items: center;
    justify-content: center;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* カード全体を相対配置の基準にします */
}

/* 新しいCSSの追加 */
.card-image-container {
    position: relative; /* キャプションの絶対配置の基準にします */
    width: 100%;
    height: 100%;
}

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

.project-card:hover {
    transform: translateY(-5px); /* ホバー時に少し上に移動します */
}

.large-card {
    width: 100%;
}

.small-card {
    width: calc(50% - 10px);
}
.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: white;
    font-weight: bold;
    /* 背景に黒から透明へのグラデーションをかけます */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.card-caption {
    padding: 10px;
    font-weight: 500;
    color: white;
    letter-spacing: 1.5px;
}
.executive-status-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.executive-status-header {
    background-color: #A08CD1; /* 画像に合わせた紫色 */
    padding: 20px;
    margin-bottom: 40px;
}

.executive-status-header .section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

.executive-list {
    font-size: 1.1rem;
    line-height: 2.5;
}

.executive-item {
    color: #333;
    text-decoration: none;
    white-space: nowrap; /* テキストが途中で改行されないようにします */
    margin-right: 5px; /* スラッシュとの間の余白 */
}

.executive-item:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}
/* ======== ～食堂改修計画～ ======== */
.community-labo-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.labo-header {
    text-align: center;
    margin-bottom: 40px;
}

.labo-logo {
    max-width: 500px; /* ロゴ画像の幅を調整してください */
    height: auto;
}

.labo-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}

.labo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}
.labo-text{
    font-size: 16px;
    padding: 50px 0px;
}
.labo-content {
    display: flex;
    flex-direction: column; /* デフォルトは縦並び */
    gap: 40px;
    align-items: center;
}

.labo-text p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.labo-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #333; /* 三角形の色と大きさを指定 */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.community-labo-use-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.use-container {
    max-width: 800px; /* コンテナの最大幅を調整します */
    width: 100%;
    background-image: url('community-labo-background.png'); /* ここに背景画像のファイル名を指定します */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px; /* 角丸を設定します */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    text-align: center;
}

.use-logo {
    width: 100%;
    max-width: 500px; /* ロゴ画像の最大幅を調整します */
    height: auto;
    margin-bottom: 20px;
}

.use-text {
    color: #6a6a6a;
    line-height: 2; /* 行間を調整して見やすくします */
    font-size: 1rem;
    padding: 0 20px;
}
.gallery-section {
    padding: 50px 0 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    background-color: #A08CD1; /* 画像に合わせた紫色 */
    padding: 20px;
    margin-bottom: 40px;
}

.gallery-header .section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 常に3列で表示 */
    gap: 20px; /* 画像間の隙間 */
}


.gallery-item {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* 角丸を設定 */
}
/* ======== 寄付金 ======== */
.kifu-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.kifu-header {
    margin-bottom: 40px;
}

.kifu-header .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.kifu-header .section-subtitle {
    font-size: 1.2rem;
    color: #555;
}

.kifu-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.kifu-card {
    width: 100%;
    max-width: 350px;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tokutei-card {
    background-color: #f7f5ff; /* 薄い紫色 */
}

.ippan-card {
    background-color: #f5faff; /* 薄い水色 */
}

.kifu-type {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.kifu-amount {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.kifu-target {
    font-size: 1rem;
    color: #666;
}
.kifu-card {
    cursor: pointer; /* マウスカーソルをポインターにする */
}

.kifu-toggle-bar {
    align-items: center;
    padding: 20px;
}

.kifu-toggle-bar:hover {
    background-color: #e6e3ff; /* ホバー時の色 */
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.kifu-details {
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* アニメーション効果 */
}

.kifu-details.is-hidden {
    max-height: 0;
    padding: 0 20px;
}
.donation-card-container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.donation-toggle-header {
    text-align: center;
    padding: 20px;
    background-color: #f0eaf7;
}

.donation-toggle-header:hover {
    background-color: #e6ddeb;
}

.donation-header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a235a;
    margin-bottom: 10px;
}

.donation-header-target {
    font-size: 1rem;
    color: #666;
}

.donation-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.donation-details-content.is-open {
    max-height: fit-content; /* 十分な高さを設定してコンテンツを表示 */
}

.donation-toggle-icon {
    transition: transform 0.3s ease;
}

.donation-details-content.is-open + .donation-toggle-header .donation-toggle-icon {
    transform: rotate(180deg);
}

.detail-block {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.detail-title {
    color: #4a235a;
    font-weight: bold;
    margin-bottom: 10px;
     font-size: 25px;
}

.detail-list {
    list-style-type: disc;
    line-height: 1.5;
    font-size: 17px;
    margin: 20px 0px 20px 40px;
}
.detail-list-2{
    list-style-type: disc;
    line-height: 1.5;
    font-size: 17px;
    margin: 20px;
}
.detail-link{
    color: blueviolet;
}
.detail-note {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 5px;
}
.general-donation-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.general-card-color .donation-toggle-header {
    background-color: #eaf3f8; /* 薄い青色 */
}

.general-card-color .donation-toggle-header:hover {
    background-color: #dbe7ee; /* ホバー時の色 */
}

.general-title-color {
    color: #2a578a; /* 青色 */
}
/* ======== スケジュールと実施状況 ======== */
.schedule-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-container {
    text-align: center;
    padding: 50px 50px 0;
}

.schedule-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.organization-chart-img{
    width: 80%;
    margin: auto;
}
/* ======== 問合せ ======== */
.contact-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    max-width: 700px; /* カードの最大幅を調整 */
    width: 100%;
    background-color: #f7f5ff; /* 画像に合わせた薄い紫色 */
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #a08cd1; /* タイトルの下線 */
    display: inline-block;
    margin-bottom: 30px;
}

.contact-info-block p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-tel-fax,
.contact-email {
    font-weight: bold;
    line-height: 1.8;
}
/* フッター */
.site-footer {
    background-color: #A08CD1; /* 画像に合わせた紫色 */
    padding: 40px 20px;
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
/* フッター */
@media (min-width: 768px) {
.footer-content {
    flex-direction: row;
    align-items: flex-start;
}
}

.footer-left {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.footer-countdown {
    font-size: 1rem;
}

.footer-countdown .countdown-days {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.footer-right {
    text-align: center;
}

/* ======== ceremony ======== */
.ceremony-text {
  display: flex; /* Flexboxを使って内容を中央に配置 */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  min-height: 50vh; /* ビューポートの高さ全体を使うことで、画面の中央に配置 */
  text-align: center; /* テキストを中央揃え */
  background-color: #ffffff; /* 背景色を白に設定 */
  padding: 20px; /* 余白を追加 */
}

/* テキストコンテナのスタイル */
.ceremony-container {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, sans-serif; /* 画像に似たフォントを指定 */
  color: #333333; /* テキストの色を設定 */
  font-size: 24px; /* フォントサイズを調整 */
  line-height: 1.8; /* 行の高さを調整 */
}
/* ======== スマホ用のレスポンシブ対応 ======== */
@media (max-width: 768px) {
    /* 共通 */
    #pc_only{
        display: none;
    }
    #sp_only{
        display: block;
    }
    .container{
        width: 95%;
        margin: auto;
    }
    /* ヘッダー */
    .site-header{
        padding: 15px 0px;
    }
    .header-content{
        gap: 0;
    }
    .logo-link{
        width: 25%;
    }
    .header-info{
        font-size: 1em;
    }
    .hamburger-menu{
        margin-right: 10px;
        padding: 8px 0;
    }
    .history-title{
        font-size: 1.3rem;
        line-height: 1.5;
        margin-bottom: 0 ;
    }
    .icon-detail{
        width: 60%;
    }
    .history-intro{
        width: auto;
        font-size: 17px ;
    }
/* ヒーロー */
    .hero-grid{
        grid-template-columns: repeat(12, 1fr);
    }
    .grid-item img {
        object-fit: fill;
    }
    .item-center{
        grid-column: 1 / span 12;
        height: 28.5vh;
        margin-top: 29vh;
    }
    .item-c1 {
        grid-column: 1 / span 4;
        grid-row: 1;
    }
    .item-c2 {
        grid-column: 5 / span 4;
        grid-row: 1;
    }
    .item-c9 {
        grid-column: 9 / span 4;
        grid-row: 1;
        height: 28vh;
    }
    .item-c5 {
        grid-column: 1 / span 3;
        grid-row: 3;
    }
    .item-c8{
        grid-column: 4 / span 3;
        grid-row: 3;
        height: 28vh;
        margin: 0;
    }
    .item-c11 {
        grid-column: 7 / span 3;
        grid-row: 3;
        height: 28vh;
        margin-top: 0vh;
    }
    .item-c3 {
    grid-column: 10 / span 3;
    grid-row: 3;
    }
/* ======== トップ ======== */
    .history-section {
        padding: 60px 0;
    }
/* ======== ごあいさつ ======== */
    .hero-title {
        font-size: 25px;
        text-align: start;
    }
    .hero-content{
        padding-left: 5%;
    }
    .greetings-section{
        padding: 50px 0;
        width: 95%;
        margin: auto;
    }
    .greetings-heading {
        margin-bottom: 30px;
        line-height: 0;
    }
    .section-title{
        font-size: 25px;
    }
    .section-subtitle{
        font-size: 20px;
        margin-top: 20px;
        line-height: 1.5;
    }
    .greetings-image{
        width: 100%;
        margin: auto;
    }
    .greetings-image img {
        max-width: 60%;
        margin: 0 auto 20px;
    }
/* 記念事業と実行委員会について */
    .card-image-container img {
        object-fit: inherit;
    }
    .card-caption-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }
    .card-caption {
        font-size: 13px;
        letter-spacing: 1.5px;
        color: white;
    }
    .executive-status-header .section-title {
        font-size: 20px;
    }
    .executive-list {
        font-size: 17px;
    }
    .executive-section {
        padding: 50px 20px 10px;
    }
/* ======== スケジュールと実施状況について ======== */
    .schedule-section {
        padding: 50px 20px;
    }
    .large-card {
        width: 90%;
    }
    .small-card {
        width: 42%;
    }
    .executive-container {
        flex-wrap: nowrap; /* 画面が広い場合は折り返しません */
    }
    .schedule-container {
        text-align: center;
        padding:0;
        overflow-x: scroll;
        white-space: nowrap;
        position: relative;
        -webkit-overflow-scrolling: touch; /* iOSで滑らかなスクロールを有効にする */
        scrollbar-width: none; /* Firefoxのスクロールバーを非表示にする */
    }
    .schedule-container::-webkit-scrollbar {
        display: none;
    }
    /* スクロールヒントの矢印 */
    .schedule-container::after {
        content: '→';
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        font-size: 2rem;
        color: rgba(0, 0, 0, 0.5);
        animation: pulse 1.5s infinite;
        pointer-events: none; /* クリックやタッチイベントをブロックしない */
    }
    /* アニメーションのキーフレーム */
    @keyframes pulse {
        0% {
            transform: translateY(-50%) translateX(0);
            opacity: 0.5;
        }
        50% {
            transform: translateY(-50%) translateX(10px);
            opacity: 1;
        }
        100% {
            transform: translateY(-50%) translateX(0);
            opacity: 0.5;
        }
    }
    .schedule-image {
        width: 1000px;
        max-width: 1000px;
    }
/* ... ラボ ... */
    .community-labo-section {
        padding: 50px 20px 20px;
    }
    .labo-title {
        font-size: 20px;
        line-height: 1.3;
    }
    .labo-content {
        display: block;
    }
    
    .labo-text {
        flex: 1; /* テキストが占めるスペース */
        padding: 0px 0px 30px;
    }

    .labo-image-container {
        flex: 1; /* 画像が占めるスペース */
    }
    .community-labo-use-section {
         padding: 0;
    }
    .use-container {
        padding: 0;
        width: 90%;
    }
    .use-text {
        font-size: 15px;
    }
    .gallery-header .section-title {
        font-size: 20px;
    }
    .gallery-header {
        width: 80%;
        margin: 0 auto 40px;
    }
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 85%;
        margin: auto;
    }
/* ======== 式典・祝賀会について ======== */
    .ceremony-container {
    font-size: 19px;
}
/* ======== 寄付金 ======== */
    .kifu-header .section-title {
        font-size: 20px;
    }
/* フッター */
    .footer-right {
        text-align: left;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links li a:hover {
    text-decoration: underline;
}