:root {
    --primary-color: #ADD8E6;
    --secondary-color: #333;
    --text-color: #000;
    --bg-light-color: #f8f9fa;
    --font-family-serif: 'Sawarabi Mincho', serif;
}

/* オリジナルのメニュー、協賛スタイルはそのまま保持 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.full-screen-image {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    margin-top: 20px;
}

.section {
    padding-bottom: 40px;
}

.full-screen-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: blur(10px);
    opacity: 0;
    animation: fadeIn 4s forwards;
}

.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

@keyframes fadeIn {
    to {
        filter: blur(0);
        opacity: 1;
    }
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.sparkle {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: white;
    clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: sparkle 5s linear infinite, fall 5s linear infinite;
}

@keyframes sparkle {
    0%, 100% {
        width: 80px;
        height: 80px;
        opacity: 0;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0);
    }
    50% {
        width: 0px;
        height: 0px;
        opacity: 1;
        box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}







/* メニューアイコンの基本スタイル */
.menu-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #ADD8E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    font-size: 30px;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.menu-icon-img {
    width: 400%;
    height: auto;
}

/* メニュー全体の初期状態（画面外に配置） */
.drawer-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* 背景色 */
    color: white;
    transition: top 0.5s ease;
    z-index: 9999; /* 高いz-indexを設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px; /* メニュー全体を下に下げる */
    overflow-y: auto;
}

/* メニューが開いた状態 */
.drawer-menu.open {
    top: 0; /* メニューが開くときに上から表示 */
}

/* メニューセクションのスタイル */
.drawer-menu .menu-section {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 20px; /* メニュー全体の下にスペースを確保 */
}

/* メニューの題目を横並びに配置 */
.drawer-menu .menu-column {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

/* 題目の文字のスタイル */
.drawer-menu .menu-column h3 {
    margin: 0;
    font-size: 22px; /* フォントサイズの調整 */
    padding-bottom: 10px; /* ラインとの間にスペースを追加 */
    line-height: 1.2; /* 行間を少し広げる */
    border-bottom: 2px solid #fff; /* 下にラインを追加 */
}

@media(max-width: 750px) {
    .drawer-menu .menu-column h3 {
        font-size: 16px;
        padding: 6px 0;
    }
}

/* スマホ版（画面幅600px以下）の場合のみ改行を適用 */
  @media screen and (max-width: 750px) {
    .mobile-break {
      display: inline;
    }
  }

  /* デフォルトは改行を表示しない */
  .mobile-break {
    display: none;
  }

/* メニュー項目のスタイル */
.drawer-menu .menu-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.drawer-menu .menu-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.5;
    padding: 8px 0; /* 各項目の上下に余白を追加 */
    margin-left: 20px; /* 各項目を少し右にずらして見やすく */
}

/* モバイル向けのレスポンシブ調整 */
@media only screen and (max-width: 750px) {
    .drawer-menu .menu-links a {
        font-size: 12px;
        padding: 6px 0;
    }
}

/*ご挨拶*/
.custom-link {
    color: #000066;

}

.custom-link:hover {
    text-decoration: underline; /* ホバー時に下線を追加する場合 */
}


.section-header {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
    font-family: var(--font-family-serif);
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
    color: var(--text-color);
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
}




/* SNSセクションのスタイル */
#sns {
    padding: 40px 0;
    background-color: #f8f9fa; /* セクション背景色 */
}

.sns-icon {
    width: 60px; /* アイコンを大きめに */
    height: 60px;
    transition: transform 0.3s ease;
}

.sns-icon:hover {
    transform: scale(1.2); /* ホバー時にアイコンを拡大 */
}




.footer__social img {
    width: 130px;
    height: auto;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    font-family: 'Noto Serif JP', serif; /* 明朝体を指定 */
}

.footer__contact {
    margin-bottom: 20px;
    text-align: left; /* お問い合わせ情報を左寄せ */
}

.footer__social {
    margin-bottom: 20px;
    text-align: center; /* 公式SNSを中央寄せ */
}

.footer__social h4 {
    margin-bottom: 10px;
}

.footer__social a {
    margin: 0 10px;
    display: inline-block;
}



.footer-link {
    color: white; /* リンクの色を白で固定 */
    text-decoration: none; /* 下線をなくす */
}

.footer-link:hover {
    color: white; /* ホバー時も色を変えない */
}

footer p {
    margin: 0;
}

/* その他のスタイルもNoto Serif JPを適用 */
footer {
    font-family: 'Noto Serif JP', serif; /* フッターもNoto Serif JP */
}






.icon-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.icon-img {
    width: 80%;
    height: auto;
    transition: transform 0.2s;
    border-radius: 20px;
}


.icon-img-2 {
    width: 80%;
    height: auto;
    transition: transform 0.2s;
    margin-left:20%;
    border-radius: 20px;
}

.icon-img:hover {
    transform: scale(1.1);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sponsor-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.company_bar1 {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.sponsor-card wide{
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200%;
}

.sponsor-grid .wide {
    grid-column: span 4;
    height: auto;
}

.sponsor-card {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.sponsor-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-list-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s;
    border-radius: 8px;
}

.news-list {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-item {
    margin-bottom: 20px;
}


/* 必要に応じて既存の全体スタイルをそのままにしつつ、追加や調整を行う */

.sponsor-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 0; /* 他のセクションとの一貫性を保つための余白 */
    background-color: #f8f9fa; /* 背景色の調整 */
}

.sponsor-logos {
    width: 90vw;
    max-width: 1200px; /* 全体の最大幅 */
    text-align: center; /* センター配置 */
}

.large-logos .logo img,
.small-logos .logo img {
    border: 1px solid black; /* 画像に黒い枠を追加 */
    padding: 1px; /* 画像と枠の間に少し余白を追加（必要に応じて調整） */
    box-sizing: border-box; /* パディングとボーダーが画像サイズに含まれるように設定 */
}

.large-logos {
    display: flex;
    flex-direction: column; /* ロゴを縦に並べる */
    align-items: center;
    margin-bottom: 3vh;
}

.large-logos .logo {
    width: 100%; /* ロゴを親コンテナの幅に合わせる */
    margin: 10px 0; /* 上下に間隔を設定 */
}

.large-logo img {
    width: 100%; /* 幅を親要素に合わせる */
    /*aspect-ratio: 5 / 1; /* 8:1の比率に設定 */
    height: auto;
}


.small-logos {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* 上部と間隔を空ける */
}

.small-logos .logo {
    flex: 1;
    margin: 0 5px; /* 小さなロゴの間隔を設定 */
}

.small-logo img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 正方形に近い比率 */
    height: auto;
}


.sponsor-logos p {
    text-align: left; /* テキストを左寄せに設定 */
    margin-top: 20px; /* 上部に少し余白を追加（必要に応じて調整） */
}


.sponsor-section .section-header {
    text-align: left; /* 見出しを左寄せに設定 */
    margin-bottom: 20px; /* 下部に少し余白を追加 */
}


/* 情報一覧セクションのリンクテキストを黒に設定 */
.info-list-card a {
    color: black; /* リンクテキストを黒に設定 */
    text-decoration: none; /* 下線を削除 */
}

.info-list-card a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

/* その他のリンクテキストは青に設定（一般的な設定） */
a {
    color: #0077ff; /* デフォルトのリンクテキストは青 */
    text-decoration: none;
}

a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}


.image-container {
    display: flex;
    gap: 10px; /* Space between images */
}

.image-container img {
    margin-top:20px;
    width: 100%; /* Make sure the images are responsive */
    max-width: 33%; /* Make sure each image takes up equal space */
}


.image-container-11g1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the images horizontally */
}

.image-container-11g1 img {
    margin-top: 20px;
    width: 100%; /* Makes the image responsive */
    /*max-width: 33%; /* Each image takes up equal space */
    /*flex: 1 1 33%; /* Allows each image to take up to 33% of the container */
    box-sizing: border-box; /* Ensures padding/margins are included in width */
}




/* Noto Serif JP を使用するようフォントファミリーを更新 */
body, html {
    font-family: 'Noto Serif JP', serif; /* 全体にNoto Serif JPを適用 */
    color: #000;
}

/* メニュー内のフォント */
.drawer-menu {
    font-family: 'Noto Serif JP', serif; /* メニュー内のテキストをNoto Serif JPに */
}

/* セクションヘッダー */
.section-header {
    font-family: 'Noto Serif JP', serif; /* セクションタイトルもNoto Serif JPに */
}
