@charset "utf-8";

/* ===================================
   Google Fonts
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');

/* ===================================
   リセット・基本設定
   =================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #1c3177;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	font-size: 16px;
	line-height: 2;
	background: #fafafa;
	-webkit-text-size-adjust: none;
}

h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {
	font-size: 100%;
	font-weight: normal;
}

ul {
	list-style-type: none;
}

ol {
	padding-left: 40px;
	padding-bottom: 15px;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

table {
	border-collapse: collapse;
	font-size: 100%;
	border-spacing: 0;
}

a {
	color: #fff;
	transition: 0.2s;
	text-decoration: none;
}

a:hover {
	color: #BED8FE;
	text-decoration: none;
}

/* ===================================
   レイアウト
   =================================== */
.inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2%;
	margin-bottom: 50px;
}

#container {
	width: 100%;
}

/* ===================================
   ヘッダー
   =================================== */
header {
	position: relative;
	padding: 20px;
	height: 0;
}

.home header {
	padding: 0;
}

/* ===================================
   ナビゲーション - PC
   =================================== */
#menubar {
	position: relative;
	z-index: 10;
	text-align: center;
	background: #1c3177;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-family: 'Questrial', sans-serif;
	height: 105px;
}

#menubar ul li {
	float: left;
	width: 20%;
	font-size: 20px;
}

#menubar ul li a {
	display: block;
	height: 85px;
	padding-top: 20px;
	text-decoration: none;
}

#menubar ul li span {
	display: block;
	font-size: 10px;
	color: #fff;
	letter-spacing: 0.2em;
}

/* ナビゲーション - スマホ */
#menubar-s {
	display: none;
	position: fixed;
	z-index: 99;
	top: 60px;
	left: 0;
	width: 100%;
	background: #1c3177;
	border-top: 1px solid #fff;
	font-size: 16px;
	max-height: calc(100vh - 60px);
	overflow-y: auto;
}

#menubar-s ul li a {
	display: block;
	padding: 20px 20px 20px 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
}

#menubar-s li span {
	margin-left: 20px;
	font-size: 80%;
}

/* 三本バーアイコン */
#menubar_hdr {
	display: none;
}

/* ===================================
   fixmenu設定
   =================================== */
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;
	width: 100%;
	top: 0;
	height: 60px;
}

body.is-fixed-menu #contents {
	margin-top: 105px;
}

body.is-fixed-menu #menubar ul li span {
	display: none;
}

body.is-fixed-menu #menubar ul li a {
	height: 50px;
	padding-top: 10px;
}

/* ===================================
   コンテンツ
   =================================== */
#contents {
	padding: 50px 0px;
	position: relative;
	animation: fadeIn 0.5s 0.5s both;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		top: 10px;
	}
	100% {
		opacity: 1;
		top: 0;
	}
}

/* h2見出しセクション全体 */
#contents h2 {
	clear: both;
	line-height: 1.2;
	font-size: 44px;
	font-weight: 600;
	background: linear-gradient(135deg, #1c3177, #4a90e2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-align: center;
	margin-bottom: 40px;
	letter-spacing: 0.08em;
	padding: 40px;
	position: relative;
}

/* h2の背景 */
#contents h2::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 96%;
	height: 100%;
	background: linear-gradient(to right, #f8f9fa, #e9ecef);
	border-radius: 10px;
	border: 1px solid #dee2e6;
	z-index: -1;
}

#contents h2 span {
	display: block;
	font-size: 13px;
	color: #6c757d;
	font-weight: 400;
	margin-top: 10px;
	letter-spacing: 0.25em;
	background: none;
	-webkit-text-fill-color: #6c757d;
}

#contents h3 {
	clear: both;
	margin-bottom: 30px;
	font-size: 150%;
	border-bottom: 1px solid #ccc;
	padding-left: 3%;
	letter-spacing: 0.1em;
}

#contents p {
	padding: 0 3% 30px;
}

#contents section + section {
	margin-top: 100px;
}

/* ===================================
   フッター
   =================================== */
footer {
	clear: both;
	position: relative;
	z-index: 1;
	font-size: 80%;
	background: #222;
	color: #ccc;
	text-align: center;
}

footer a {
	color: #ccc;
}

footer a:hover {
	color: #fff;
}

#copyright {
	clear: both;
	text-align: center;
	background: #1c3177;
	padding: 20px 0;
}

/* SNSアイコン */
ul.icon {
	margin-bottom: 20px;
}

ul.icon li {
	display: inline-block;
}

ul.icon img {
	width: 30px;
}

ul.icon img:hover {
	opacity: 0.8;
}

/* ===================================
   テーブル共通
   =================================== */
.event-table {
	width: 100%;
	border-collapse: collapse;
	vertical-align: top;
}

.event-table td {
	padding: 0.8% 2%;
	line-height: 1.5;
	vertical-align: top;
	font-size: 18px;
}

.event-table .date {
	width: 25%;
	text-align: left;
}

.event-table .content {
	width: 75%;
	text-align: left;
	padding-left: 15px;
}

/* ===================================
   ボタン・アイコン
   =================================== */
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0 5px;
	vertical-align: text-top;
}

.awardicon {
	background: rgb(187, 189, 65);
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0 5px;
	vertical-align: text-top;
}

/* ===================================
   リンク
   =================================== */
a.url {
	color: #007bff;
}

a.url:hover {
	color: #ff5733;
}

/* ===================================
   PAGE TOP
   =================================== */
.nav-fix-pos-pagetop {
	position: fixed;
	bottom: 20px;
	right: 3%;
	z-index: 100;
}

body .nav-fix-pos-pagetop a {
	display: none;
}

body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 20px;
	position: relative;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	animation: fadeIn 1s both;
	transition: background 0.3s;
}

body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;
	color: #fff;
}

/* ===================================
   セクション区切り線
   =================================== */
.divider-double {
	border-top: 1px solid #dee2e6;
	height: 0;
	margin: 30px auto;
	width: 60%;
}

hr {
	display: none;
}

/* ===================================
   ユーティリティクラス
   =================================== */
.clear {
	clear: both;
}

.mb15 {
	margin-bottom: 15px !important;
}

.mb20 {
	margin-bottom: 20px !important;
}

.mb30 {
	margin-bottom: 30px !important;
}

.c {
	text-align: center !important;
}

.l {
	text-align: left !important;
}

.r {
	text-align: right !important;
}

/* ===================================
   レスポンシブ - タブレット・スマホ
   =================================== */
@media screen and (max-width: 800px) {
	body {
		font-size: 2vw;
	}

	header {
		border-bottom: 1px solid #ccc;
	}

	.home header {
		border: none;
	}

	/* メニュー */
	#menubar {
		display: none;
	}

	#menubar-s {
		display: none;  /* 初期状態は非表示 */
	}

	#menubar_hdr {
		display: block;
		position: fixed;
		z-index: 100;
		top: 0;
		left: 0;
		width: 100%;
		height: 60px;
		background: #1c3177;
		border-bottom: 1px solid #ccc;
		cursor: pointer;
	}

	/* 閉じている状態：三本線のみ（右側） */
	#menubar_hdr.close::before {
		content: '';
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
		width: 30px;
		height: 3px;
		background: #fff;
		box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff;
	}

	/* 閉じている状態：ロゴ画像（左側） */
	#menubar_hdr.close::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 15px;
		transform: translateY(-50%);
		width: 100px;
		height: 100px;
		background-image: url('../images/IST_LOGO.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	/* 開いている状態：✕マーク（右側） */
	#menubar_hdr.open::before {
		content: '✕';
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
		color: #fff;
		font-size: 32px;
		font-weight: 300;
		background: none;
		box-shadow: none;
		width: auto;
		height: auto;
	}

	/* 開いている状態：ロゴ画像（左側） */
	#menubar_hdr.open::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 15px;
		transform: translateY(-50%);
		width: 100px;
		height: 100px;
		background-image: url('../images/IST_LOGO.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	body.is-fixed-menu #contents,
	body.is-fixed #contents {
		padding: 50px 0 50px 0;  /* 上10px 右0 下50px 左0 */
		margin-top: 60px;
	}

	#contents {
		padding: 50px 0;
		margin-top: 50px;
	}

	#contents h2 {
		font-size: 20px;
		margin-bottom: 20px;
		padding: 10px 20px;
	}

	#contents h2::before {
		width: 90%;
	}

	#contents h2 span {
		font-size: 12px;
	}

	.event-table td {
		font-size: 12px;
	}

	.divider-double {
		width: 80%;
		margin: 20px auto;
	}
}

@media screen and (max-width: 600px) {
	.event-table td {
		font-size: 12px;
	}
}