@charset "utf-8";
/* CSS Document */

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
    line-height: 1.2;
}



.center-img {
  display: block;
  margin: 0 auto;
}

.subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.3;
}


.venue, .theme {
    font-size: 14px;
    margin-bottom: 3px;
    line-height: 1.3;
}

/* メインラッパー - サイドバー全体表示対応 */
.main-wrapper {
    display: flex;
    min-height: auto; /* 自動高さに変更 */
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('../img/bg-pattern.jpg') center/cover fixed;
    background-attachment: fixed;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* メインコンテンツ - サイドバーに合わせて高さ調整 */
.main-content {
    flex: 1;
    margin-left: 0; /* margin-leftを0に変更 */
    background-color: transparent;
    width: 1000px;
    position: relative;
    padding-bottom: 50px;
    padding-top: 30px;
}

/* コンテンツラッパー - 各セクション用 */
.content-wrapper {
    background-color: white;
    margin: 0 20px 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* 動画セクション */
.video-section {
    padding: 50px 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ニュースセクション */
.news-section {
    padding: 50px 40px;
}

.news-list {
    margin: 0 auto;
    max-height: 400px;      /* ボックス内の高さ */
    overflow-y: auto;       /* 縦方向にスクロール */
    padding-right: 10px;    /* スクロールバーとの余白 */
}

.news-item {
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #ffffff;
}

/* ホバー時 */
.news-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

/* スクロールバーのデザイン（Chrome, Edge, Safari） */
.news-list::-webkit-scrollbar {
    width: 8px;
}

.news-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #2c5aa0;
    border-radius: 10px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: #005fa3;
}

.news-date {
    color: #6c757d;
    font-size: 14px;
    font-weight: bold;
}

.news-title {
    color: #2c5aa0;
    margin: 8px 0;
    font-size: 18px;
}

.news-summary {
    color: #666;
    line-height: 1.6;
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

/* ダウンロードセクション */
.download-section {
    padding: 50px 40px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.download-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-item:hover {
    transform: translateY(-3px);
    border-color: #2c5aa0;
    background: white;
}

.download-thumbnail {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background-color: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-thumbnail img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.download-item h4 {
    padding: 20px 20px 10px;
    color: #2c5aa0;
    font-size: 16px;
}

.download-description {
    padding: 0 20px;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.download-item .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* マップセクション（モバイル時のみ表示） */
.map-section {
    padding: 50px 40px;
}

.map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.venue-info {
    text-align: center;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.venue-info h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 20px;
}

/* スポンサーセクション（モバイル時のみ表示） */
.sponsor-section {
    padding: 50px 40px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.sponsor-item {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sponsor-item:hover {
    transform: translateY(-2px);
    border-color: #2c5aa0;
    background: white;
}

.sponsor-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

/* フッター */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px;
    width: 100%;
    position: relative;
    z-index: 998;
    margin-top: 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h4,
.footer-contact h4 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    text-align: center;
    color: #adb5bd;
    font-size: 90%;
}

/* セクションタイトル調整 */
.section-title {
    font-size: 24px;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #2c5aa0;
}

/* レスポンシブ表示制御 */
@media (min-width: 901px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* 大画面対応 */
@media (min-width: 1400px) {
    .main-wrapper {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .main-content {
        width: 1000px;
    }
}

/* 1366px幅対応（一般的なノートPC） */
@media (max-width: 1366px) and (min-width: 1025px) {
    .main-wrapper {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .main-content {
        width: calc(100vw - 300px);
        max-width: none;
    }
    
    .content-wrapper {
        margin: 0 15px 25px 15px;
    }
}

/* タブレット横向き・小型ノートPC対応 */
@media (max-width: 1024px) and (min-width: 901px) {
    .main-wrapper {
        max-width: 100%;
    }
    
    .main-content {
        margin-left: 0;
        width: calc(100vw - 280px);
        max-width: none;
    }
    
    .sidebar {
        width: 260px;
    }
    
    .content-wrapper {
        margin: 0 12px 20px 12px;
    }
    
    
    
    .logo h1 {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 15px;
    }
    
    .venue, .theme {
        font-size: 13px;
    }
}

/* タブレット縦向き対応 */
@media (max-width: 900px) and (min-width: 769px) {
    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding-bottom: 30px;
        padding-top: 20px;
    }
    
    .content-wrapper {
        margin: 0 15px 25px 15px;
        border-radius: 12px;
    }
    

}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        padding-bottom: 30px;
        padding-top: 20px;
    }
    
    .content-wrapper {
        margin: 0 10px 20px 10px;
        border-radius: 10px;
    }
    
    .video-section,
    .map-section,
    .news-section,
    .download-section,
    .sponsor-section {
        padding: 30px 20px;
    }
    

    
    .logo h1 {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    
    .venue, .theme {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 20px;
    }
	


    /* ヒーロー */
    .hero-section {
        height: 140px;       /* ← 完全に合わせる */
        min-height: unset;
        margin: 0;           /* ← 余白も消すと一体感出る */
        border-radius: 0;
    }




}

/* 小型スマートフォン対応 */
@media (max-width: 480px) {
 
    
    .logo h1 {
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .venue, .theme {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        margin: 0 5px 15px 5px;
    }
    
    .video-section,
    .map-section,
    .news-section,
    .download-section,
    .sponsor-section {
        padding: 20px 15px;
    }
}

.jsgdlogo{
    height: 100px;
width: auto;
}

@media (max-width: 1030px) {.jsgdlogo{
    height: 80px;
width: auto;
	margin-top: 10px;
	}}



.header {
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;

	background-image: url("../img/repeat.png");
	background-repeat: repeat-x;
	background-position: center;
}

.header-left {
	width: 260px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header-right {
	width: 1000px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header img {
	max-width: 100%;
	height: auto;
	display: block;
}

.pc-img {
	display: block !important;
}
@media screen and (min-width: 769px) {
    .sp-img {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {

	.header {
		background-image: none; /* リピート画像を非表示 */
	}
	
	.header-left {
		display: none;
	}

	.pc-img {
		display: none !important;
	}

	.header-right {
		width: 100%;
	}

    body .header .header-right .sp-img {
        display: block !important;
        width: 100%;
        height: auto;
    }
}