@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
	min-height: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	/*全体の文字色*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	/*フォント種類*/
	font-size: 14px;
	/*文字サイズ*/
	line-height: 1.5;
	/*行間*/
	-webkit-text-size-adjust: none;

}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
summary {
	margin: 0px;
	padding: 0px;
	font-size: 1em;
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;
	/*リンクテキストの色*/
}

a:hover {
	color: #25b1d9;
	/*マウスオン時の文字色*/
}

.errorlist {
	color: #ff0000;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
	position: fixed;
	top: 0;
	z-index: 100;
	width: 100%;
	color: #ffffff;
	/*全体の文字色*/
	text-align: center;
	/*headerの中身をセンタリングさせる設定*/
	height: 60px;

	padding: 5px 0px 5px;
	/* background-color: #007FFF; */
	background-color: #007FFF;

}

#header-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

#logo-img {
	z-index: 110;
	width: auto;
	height: 60px;
	position: fixed;
	left: 5px;
}

#logo-img-small {
	display: none;
}

#header-title {
	z-index: 120;
}

#version_header {
	z-index: 120;
}


/*コンテンツ（見出しバーや文字などが入っているブロック）
---------------------------------------------------------------------------*/
#contents {
	/*上のwidth指定の追加設定。幅1000pxを最大幅に設定し、それ以上広げない。*/
	width: min(max(80%, 1024px), 100%);
	/*ブロックの幅を画面の80%にする設定。*/
	margin: 80px auto 0px;
	/*HP画面の左右中央に表示させる設定*/
	background: #fff;
	/*背景色*/
	padding: 0px;
	padding-bottom: 60px;
	/*ボックス内の余白*/
}

/*コンテンツのh2タグの設定*/
#contents h2,
#contents summary {
	margin-top: 5px;
	margin-bottom: 5px;
	clear: both;
	color: #fff;
	/*文字色*/
	padding: 5px 15px;
	/*上下、左右への余白*/
	background: #007FFF;
	/*背景色*/
	font-weight: bold;
	white-space: nowrap;

}

#contents h3 {
	clear: both;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 0px 20px;
	/*上下、左右への余白*/
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
}

.input_group {
	font-weight: 700;
	margin: 5px 0px 5px 20px;
}





/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/
footer {
	position: fixed;
	bottom: 0;
	z-index: 100;
	width: 100%;
	clear: both;
	/*左から、上下、左右への余白*/
	color: #ffffff;
	/*全体の文字色*/
	text-align: center;

	padding: 1em 0em 1em;
	background-color: #007FFF;
}

footer a {
	color: #fff;
}

footer a:hover {
	color: #666;
}


button {
	background-color: #6F398A;
	/* ボタンの背景色 */
	color: #FFFFFF;
	/* ボタンの文字色 */
	padding: 10px 20px;
	/* 内側の余白 */
	font-size: 16px;
	/* フォントサイズ */
	font-weight: bold;
	/* フォントの太さ */
	border: none;
	/* ボーダーをなくす */
	border-radius: 5px;
	/* 角を丸くする */
	cursor: pointer;
	/* マウスを乗せたときにポインタに変更 */
	transition: background-color 0.3s, transform 0.2s;
	/* ホバーアニメーション */
}

button:hover {
	background-color: #944DB3;
	/* ホバー時の背景色 */
	transform: scale(1.05);
	/* 少し拡大する */
}


.hidden {
	display: none;
}



@media (max-width:1024px) {
	#contents {
		width: 100%;
	}

}

@media (max-width:768px) {


	#logo-img {
		display: none;
	}

	#logo-img-small {
		display: block;
		z-index: 110;
		width: auto;
		height: 60px;
		position: fixed;
		left: 5px;
	}
}