@charset "UTF-8";

/* ==========================================================================
   1. Reset & Base Setting
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, dl, dt, dd, ul, li {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #2b2b2b;
  background: linear-gradient(to bottom, #2b221b 0px, #4a3b2c 400px, #f4ede4 1100px, #e8dfd3 100%) no-repeat fixed;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.site-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #8c271e;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

/* ==========================================================================
    汎用クラス・ユーティリティ
   ========================================================================== */
.black  { color: #000000; }
.red    { color: #FF0000; }
.white  { color: #FFFFFF; }
.blue   { color: #0000FF; }
.navy   { color: #000066; }
.gray   { color: #CCCCCC; }
.green  { color: #009900; }
.orange { color: #FF6600; }
.pink   { color: #FF6699; }

.s400 { font-size: 400%; }
.s200 { font-size: 200%; }
.s160 { font-size: 160%; }
.s140 { font-size: 140%; }
.s120 { font-size: 120%; }
.s110 { font-size: 110%; }
.s90  { font-size: 90%; }
.s85  { font-size: 85%; }
.s80  { font-size: 80%; }
.s70  { font-size: 70%; }
.s60  { font-size: 60%; }
.s50  { font-size: 50%; }

.bold   { font-weight: bold; }
.normal { font-weight: normal; }

.lh110 { line-height: 110%; }
.lh130 { line-height: 130%; }
.lh150 { line-height: 150%; }

.tright  { text-align: right; }
.tleft   { text-align: left; }
.tcenter { text-align: center; }

.under     { text-decoration: underline; }
.torikeshi { text-decoration: line-through; }

.mt5  { margin-top: 5px; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mb5  { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
.mb15 { margin-bottom: 15px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }

.img_border {
  padding: 1px;
  border: 1px solid #666;
  background-color: #fff;
}

/* ==========================================================================
   2. Container Layout
   ========================================================================== */
.container {
  padding: 20px;
  display: flex;
  gap: 20px;
  background: transparent;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   3. SideBar Style (li同士の間隔調整版)
   ========================================================================== */
.side-nav ul {
  background: transparent; /* 全体背景を透過にし、各liを独立させる */
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 4px; /* ★ここでお好みの隙間（ピクセル数）を調整してください */
}

.side-nav li {
  border-bottom: none; /* 枠線区切りから隙間区切りへ変更 */
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  color: #3d2b1f;
  font-weight: bold;
  font-size: 0.88rem;
  background: #f7f3ee;
  border: 1px solid #dcd4c9; /* 各ボタンに薄い枠線を追加 */
  border-radius: 3px;         /* 角を少し丸めて独立したボタン風に */
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.side-nav a:hover {
  background: #8c271e;
  color: #ffffff;
  border-color: #8c271e;
}

nav li a.is-active {
  background: #8c271e !important;
  color: #ffffff !important;
  border-color: #8c271e !important;
  pointer-events: none;
}

.side-widgets {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.office-info {
  background: #fdfbf7;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #e0d8cd;
  font-size: 0.78rem;
  line-height: 1.5;
}

.office-info h3 {
  font-size: 0.85rem;
  color: #8c271e;
  border-bottom: 2px solid #8c271e;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

/* ==========================================================================
   4. Main Visual (image.jpg 背景表示・高さをポスター比率近くに設定)
   ========================================================================== */
.hero-visual {
  /* 同一階層の image.jpg を全体表示（中央揃え・アスペクト比維持） */
  background: #111 url('img/image.jpg') no-repeat center top / cover;
  /* メインコンテンツ幅（約810px）に対してポスターの縦長比率を保つため高さ1000pxに拡大 */
  height: 900px;
  width: 100%;
  margin-bottom: 25px;
  position: relative;
  border-radius: 4px;
}

/* 今後の再利用向けに非表示設定 */
.is-hidden {
  display: none !important;
}

.hero-text-overlay {
  background: rgba(15, 10, 8, 0.65);
  backdrop-filter: blur(3px);
  padding: 25px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.sub-catch {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #e5c378;
  font-weight: bold;
  margin-bottom: 5px;
}

.main-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 15px;
}

.main-title .nth {
  font-size: 1.1rem;
  color: #ddd;
  letter-spacing: 0.05em;
}

.main-title .name {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: #ffffff;
}

.hero-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-info-list dl {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
}

.hero-info-list dt {
  background: #8c271e;
  color: #fff;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 3px;
  width: 55px;
  text-align: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.hero-info-list dd {
  color: #f0f0f0;
}

.hero-info-list dd span {
  font-size: 0.8rem;
  color: #ccc;
}

/* ==========================================================================
   5. News Section
   ========================================================================== */
.news-section {
  background: #ffffff;
  margin-bottom: 25px;
  border-radius: 4px;
  border: 1px solid #e0d8cd;
  overflow: hidden;
}

.temp-section {
  background: #ffffff;
  margin-bottom: 25px;
  border-radius: 4px;
/*  border: 1px solid #e0d8cd;*/
  overflow: hidden;
}

.section-title {
  background: #8c271e;
  color: #fff;
  padding: 10px 15px;
  font-size: 1.05rem;
  font-weight: bold;
}

.news-scroll-box {
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
}

.news-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 15px;
  font-size: 0.88rem;
}

.news-list dt {
  color: #8c271e;
  font-weight: bold;
  white-space: nowrap;
}

.news-list dd {
  border-bottom: 1px dashed #ddd;
  padding-bottom: 6px;
}
/* ==========================================================================
   Header Style（フッター同系のこげ茶グラデーション版）
   ========================================================================== */
.site-header {
  /* フッター(#2b221b)に近い深みのあるダークブラウンのグラデーション */
  background: linear-gradient(135deg, #3d2b1f 0%, #2b221b 100%);
  padding: 16px 20px;
  margin-bottom: 25px;
  border-radius: 4px;
  border-bottom: 3px solid #e5c378; /* アクセントのゴールド線は維持 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

.site-header h1 {
  margin: 0;
  line-height: 1;
  width: 100%;
}

.header-title-img {
  width: 100%;
  max-width: 760px; /* お好みで大きさ変更可能 */
  height: auto;
  display: block;
}

/* スマホ表示時の調整 */
@media (max-width: 850px) {
  .site-header {
    padding: 12px 15px;
  }
}
/* ==========================================================================
   6. Footer & Mobile
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  font-size: 0.8rem;
  background: #2b221b;
}

.site-footer a {
	color: #FFFFFF;
}

.mobile-drawer-wrap {
  display: none;
}

@media (max-width: 850px) {
  body {
    background: #2b221b;
  }

  .container {
    flex-direction: column;
    padding: 10px;
  }

  .sidebar {
    display: none;
  }

  /* スマホ表示では幅に合わせて高さを自動調整 */
  .hero-visual {
    height: auto;
    aspect-ratio: 1 / 1.414; /* A4ポスター比率に設定 */
  }

  .mobile-drawer-wrap {
    display: block;
  }

  .drawer-checkbox {
    display: none;
  }

  .fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #2b221b;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
  }

  .bottom-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    height: 100%;
    cursor: pointer;
    font-size: 0.75rem;
  }

  .drawer-content {
    position: fixed;
    bottom: 60px;
    left: 10px;
    width: 280px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #ffffff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }

  .mobile-nav a {
    display: block;
    padding: 10px;
    color: #3d2b1f;
    font-weight: bold;
    border-bottom: 1px solid #eee;
  }

  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
  }

  .drawer-checkbox:checked ~ .drawer-content,
  .drawer-checkbox:checked ~ .drawer-overlay {
    opacity: 1;
    visibility: visible;
  }
}
/* ==========================================================================
   5. テンプレート
   ========================================================================== */
/* 準備中 */
.const {
	margin:50px 0 50px 50px;
	font-size:200%;
	color:#999;
	line-height:240%;
}
.const span {
	margin-left:40px;
	font-size:200%;
}
/*　■■■■■■■■■ 挨拶 ■■■■■■■■■　*/
#aisatsu {
	margin: 50px 0 0 3em;
	width:90%;
}
#aisatsu h3 {
	margin:20px 0;
	font-size:120%;
	font-weight:bold;
}
#aisatsu figure {
	display: flex;
	flex-flow: row, wrap;
	width: 100%;
	margin: 0 0 10px;
	padding: 10px;
	border-bottom: solid 1px #999999;
}
#aisatsu figure img {
	order: 1;
	width: 150px;
	height: 215px;
}
#aisatsu figure p {
	order: 2;
	margin: 160px 0 0 30px;
	line-height: 180%;
}
#aisatsu figure p span {
	margin-left: 10px;
	font-size: 120%;
}
#aisatsu .kaicho {
	float: right;
	font-size: 95%;
	line-height: 1.5;
	margin: 0 0 2em 2em;
	text-align: center;
}
#aisatsu .kaicho img {
	vertical-align: bottom;
}
#aisatsu .bun {
	font-size:105%;
	line-height:180%;
}
#aisatsu .bun p {
	/* text-indent:1em; */
	margin: 1em 0;
}
/*　■■■■■■■■■ 開催概要 ■■■■■■■■■　*/
#gaiyo {
	margin:0 0 0 3em;
	width:90%;
}
#gaiyo dl {
	margin: 50px 0 0;
}
#gaiyo dt {
	padding:5px 0;
	width:100px;
	text-align:center;
	background: #666666;
	border:solid 1px #CCCCCC;
	border-radius:5px;
	font-weight:bold;
	line-height:110%;
	float:left;
	color: #FFFFFF;
}
#gaiyo dt .nimoji {
	letter-spacing:1em;
}
#gaiyo dd {
	margin:0 0 30px 9em;
	padding:3px 0 0 ;
}
/*　■■■■■■■■■ アクセス ■■■■■■■■■　*/
#access {
	margin: 50px 0 150px 3em;
	width:90%;
}
#access h3 {
	margin:35px 0 15px;
	padding:0 0 3px;
	border-bottom:dotted 1px #666;
	font-size:110%;
	font-weight:bold;
	color:#333;
}
#access img {
	vertical-align: bottom;
}
/*　■■■■■■■■■ ニュース ■■■■■■■■■　*/
#news {
	margin:50px 0 150px 3em;
	width:90%;
}
#news h3 {
	margin:50px 0 15px;
	padding:0 0 3px;
	border-bottom:dotted 1px #666666;
	font-size:110%;
	font-weight:bold;
	color:#333333;
}
#news ul {
	margin: 0 0 0 20px;
}
#news ul li {
	margin-bottom: 30px;
}
#news ul li:before {
	content: "";
	display: inline-block;
	margin-right: 20px;
	width: 30px;
	height: 30px;
	background: url(img/pdf.png) 0% 0%/contain no-repeat;
	vertical-align: middle;
}
#news ul li a {
	text-decoration: underline;
}
/*　■■■■■■■■■ リンク ■■■■■■■■■　*/
#link {
	margin:30px 0 0 3em;
	width:90%;
}
#link ul {
	margin:10px 0 0 30px;
	list-style:square;
}
#link li {
	margin:0 0 10px;
	font-size:105%;
}
#link li a {
	margin-left: 0em;
	font-size:85%;
	text-decoration:underline;
}
/*　■■■■■■■■■ 汎用 ■■■■■■■■■　*/
#etc {
	margin:30px 0 0 3em;
	width:90%;
}
/* ==========================================================================
   下層コンテンツ スマホ最適化（max-width: 850px 内に追加）
   ========================================================================== */
@media screen and (max-width: 850px) {

  /* 共通：左側の余白（3em）を解除して横幅いっぱいに */
  #gaiyo,
  #access,
  #aisatsu,
  #news,
  #link,
  #etc {
    margin: 20px 0 60px 0 !important;
    width: 100% !important;
  }

  /* --- 開催概要 (#gaiyo) --- */
  #gaiyo dl {
    margin-top: 20px;
  }

  #gaiyo dt {
    float: none;            /* float解除 */
    width: 100%;            /* 横幅いっぱいに */
    text-align: left;
    padding: 6px 12px;
    box-sizing: border-box;
  }

  #gaiyo dd {
    margin: 8px 0 24px 0;   /* 左インデントを解除 */
    padding: 0 5px;
  }

  /* --- アクセス (#access) --- */
  #access iframe {
    width: 100% !important; /* Googleマップの幅を自動追従 */
    height: 300px;          /* スマホで見やすい高さに調整 */
  }

  /* --- 実行委員長挨拶 (#aisatsu) --- */
  #aisatsu figure {
    flex-direction: column;
    align-items: center;
  }

  #aisatsu figure p {
    margin: 15px 0 0 0;
    text-align: center;
  }

  #aisatsu .kaicho {
    float: none;
    margin: 0 0 20px 0;
    text-align: center;
  }

  /* --- 準備中表示 (#const) --- */
  .const {
    margin: 30px 0;
    font-size: 140%;
    line-height: 1.8;
    text-align: center;
  }

  .const span {
    margin-left: 0;
    display: block;
    font-size: 150%;
  }

}