/* CSS Document */

:root{
	--dC-dialogBorder:#2343BC;
	--dC-topBar:linear-gradient(45deg, #0761C0,#3887DB);
	--dC-scrollBar:linear-gradient(0deg, #43e2c6, #3183d0);
}

a{
	text-decoration: none;
	color:#205FAB;
}
a:hover{
	color:#3695E3;
}
.ib{
    display: inline-block;
}
.rb{
    font-size: 18px;
    color:red;
}
.dblue{
    color:#0349A7;    
}
.bb{
    color:#0349A7;    
    font-size: 18px;
}

.desc{
	color:gray;
	font-size: 14px;
    margin-bottom: 10px;
}
.desc2{
	color:gray;
	font-size: 14px;
}
.help{
	color:white;
	background-color: #8FB9D4;
	border:none;
}
.red{
    color:red;
    }
.you{
	background-color:red;
	border-radius: 4px;
	color:white;
	padding:2px 8px;
}
.hd{
    background-color: #EAF7FD!important;
    text-align: center;
    vertical-align: middle;
}

#topbar{
	background: var(--dC-topBar);
	padding: 4px;
	color:white;
}
#vmenu{
	background-color: #555555;
	position: fixed;
	height: 100vh;
	overflow: visible;
	z-index: 100;
	overflow-y: auto;
	padding: 10px;
	color:white;
	padding-top:50px;	
	width: 160px;
}
#vmenu >ol{
	padding-left: 0px;
	cursor: pointer;
}
#vmenu >ol >ol{
	padding-left: 20px;
}
#vmenu ol li{
	list-style: none;
	margin-bottom: 8px;
	color:white;
	border-radius: 3px;
	padding-left: 10px;
}
#vmenu ol a{
	text-decoration: none;
}
#vmenu ol li:hover{
	background-color: #D1D1D1;	
}
#vmenu li[aria-expanded="true"] {
	background-color: #D1D1D1;
	color:black;
}
#vmenu .active li{
	background-color: #E0F0F9;
	color:black;
}

#mainarea{
	padding: 30px;
	padding-left: 190px;
	padding-top: 50px;	
	background-color: #F8F8F8;
	width: 100%;
	position: absolute;
	min-height: 100vh;
}

.thinscrollbar::-webkit-scrollbar {
  width: 7px;
}
.thinscrollbar::-webkit-scrollbar-thumb {
  background: var(--dC-scrollBar);
  border-radius: 3px;
}
.thinscrollbar::-webkit-scrollbar-track {
  background: rgba(100,100,100, .8);
}

#dialog>div{
	text-align:center;
	padding: 30px;
	border: solid 2px var(--dC-dialogBorder);
	border-radius: 5px; 
	max-width: 420px;
	min-width: 420px;
	background-color: white;
	z-index: 100;	
}
@media screen and (max-width: 640px) {
#dialog>div{
	padding: 10px;
	border: solid 2px var(--dC-dialogBorder);
	border-radius: 5px;
	width:100%;
	min-width: 100vw;
	max-width: 100vw;
	position: relative;
}
}

/* */
h3{
    width:320px;
    padding: 4px;
    text-align: center;
    border: solid 3px rgb(39,128,227);
    font-size: 24px;
    margin: 30px auto 30px;
}
h2{
    padding: 4px;
    text-align: center;
    background-color: rgb(39,128,227);
    color:white;
    font-size: 28px;
    margin: 70px 15px 30px;
}
/* キーボード操作時にだけ表示する「本文へ移動」リンク */
.skip-link{
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1100;
    padding: 10px 16px;
    color: #FFFFFF;
    background-color: #0349A7;
    border: 3px solid #FFFFFF;
    border-radius: 4px;
    transform: translateY(-150%);
    transition: transform .15s ease-in-out;
}
.skip-link:focus{
    color: #FFFFFF;
    transform: translateY(0);
    outline: 3px solid #FFBF47;
    outline-offset: 2px;
}

@media screen and (max-width: 764px) {
	.magic{
		display: block;	
	}
}

body nav{
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);    
}

.footer{
    padding-top: 20px;
    color:white;
    background-color: #0C461C;
}
.footertitle{
    text-align: center;
    margin: 10px auto 30px;
}
.footertitle div{
    margin-top: 10px;
}
.credit{
    text-align: center;
    font-size: 14px;
    color:white;
    margin: 10px auto 40px;
}
.oneline{
    height: 1px;
}
/* ～ md まで（折りたたみ時）のブランド中央固定 */
@media (max-width: 767.98px) {
  .navbar-brand-center {
    position: absolute;
    left: 50%;
    top: 0px;           /* お好みで微調整 */
    transform: translateX(-50%);
    z-index: 10;            /* メニューより前面にしておく */
  }
}
  .nav .nav-link {
    color:white;
  }
@media (max-width: 575.98px){
  .nav .nav-link {
    text-align: center;
  }
}
.topbtn{
    margin: 5px 5px;
    width:200px;
}

.linkbtns{
    text-align: center;
    margin: 20px 0px;
}
.linkbtns img{
    padding: 10px;
}
.btn{
  box-shadow: 2px 2px 6px rgba(0,0,0,0.5);    
}
.about{
    margin-top: 50px;
}
#about{
    scroll-margin-top: 80px; 
}
#program{
    background-color: #ECECEC;
    margin-top: 50px;
    padding-bottom: 50px;
    scroll-margin-top: 80px; 
}
#contact{
    scroll-margin-top: 80px; 
    background-color: #D2E3D0;
    padding-bottom: 50px;    
}

.card-body{
    height: 150px;
}
.card-link{
    text-align: center;
    margin-bottom: 20px;
}

.es20{
	background-color: #44C410;
	color:white;
	border-radius: 4px;
	padding:2px 8px;
}
.es15{
	background-color: red;
	color:white;
	border-radius: 4px;
	padding:2px 8px;
}

/* ===== 実施要項・展示内容（参照.docxより追加）ここから ===== */
.event-guide {
	--guide-navy: #153b63;
	--guide-blue: #1d6fa5;
	--guide-pale: #eef7fb;
	--guide-line: #6f8795;
	width: min(1120px, calc(100% - 32px));
	margin: 32px auto 64px;
	text-align: left;
	color: #20252a;
	font-size: 1rem;
	line-height: 1.8;
}
.event-guide__header {
	padding: clamp(24px, 5vw, 48px);
	color: #fff;
	background: linear-gradient(135deg, var(--guide-navy), var(--guide-blue));
	border-radius: 18px 18px 0 0;
}
.event-guide__eyebrow { margin: 0 0 8px; font-weight: 700; }
.event-guide h1 {
	margin: 0 0 16px;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.35;
}
.event-guide h1 span { font-size: .72em; }
.event-guide__header > p:last-child { margin: 0; }
.event-guide__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px clamp(16px, 4vw, 40px);
	background: #fff;
	border: 1px solid var(--guide-line);
	border-top: 0;
}
.event-guide__nav a {
	display: inline-block;
	padding: 8px 14px;
	color: var(--guide-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.event-guide__nav a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.event-guide__section {
	padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 56px);
	background: #fff;
	border: 1px solid var(--guide-line);
	border-top: 0;
	scroll-margin-top: 90px;
}
.event-guide__section:nth-of-type(even) { background: var(--guide-pale); }
.event-guide .event-guide__section > h2 {
	margin: 0 0 24px;
	padding: 0 0 10px;
	color: var(--guide-navy);
	background: none;
	border-bottom: 4px solid var(--guide-blue);
	border-radius: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-align: left;
}
.event-guide__lead { margin-bottom: 24px; }
.event-facts { margin: 0; }
.event-facts > div {
	display: grid;
	grid-template-columns: minmax(7em, 22%) 1fr;
	border-top: 1px solid var(--guide-line);
}
.event-facts > div:last-child { border-bottom: 1px solid var(--guide-line); }
.event-facts dt, .event-facts dd { margin: 0; padding: 14px 16px; }
.event-facts dt { color: var(--guide-navy); background: #e4f1f8; font-weight: 700; }
.event-facts small { color: #4b5359; }
.exhibit-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.exhibit-card {
	position: relative;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--guide-line);
	border-top: 6px solid var(--guide-blue);
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(21, 59, 99, .08);
}
.event-guide .exhibit-card h3,
.event-guide .seminar-list h3 {
	width: auto;
	margin: 10px 0;
	padding: 0;
	color: var(--guide-navy);
	border: 0;
	border-radius: 0;
	font-size: 1.2rem;
	line-height: 1.55;
	text-align: left;
}
.exhibit-card p:last-child, .seminar-list p { margin-bottom: 0; }
.exhibit-card__type {
	display: inline-block;
	margin: 0;
	padding: 2px 10px;
	color: #fff;
	background: var(--guide-navy);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 700;
}
.exhibit-card__org { font-weight: 700; }
.seminar-list { margin: 0; padding: 0; list-style: none; }
.seminar-list li {
	display: grid;
	grid-template-columns: 9em 1fr;
	gap: 24px;
	padding: 22px 0;
	border-top: 1px solid var(--guide-line);
}
.seminar-list li:last-child { border-bottom: 1px solid var(--guide-line); }
.seminar-list time { color: var(--guide-blue); font-weight: 700; }
.seminar-list h3 { margin-top: 0; }
@media (max-width: 767.98px) {
	.event-guide { width: min(100% - 20px, 1120px); }
	.exhibit-list { grid-template-columns: 1fr; }
	.event-facts > div, .seminar-list li { grid-template-columns: 1fr; gap: 0; }
	.event-facts dd { padding-top: 10px; }
	.seminar-list time { margin-bottom: 4px; }
}
@media (forced-colors: active) {
	.event-guide__header, .exhibit-card__type { border: 1px solid currentColor; }
}
/* ===== 実施要項・展示内容（参照.docxより追加）ここまで ===== */
