@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
	min-height: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;

	color: #666;
	/*全体の文字色*/
	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,
form,
summary {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
}


input[type="number"] {
	text-align: right;
	margin-left: auto;
	margin-right: 0;
	width: 100px;
}

input[type="button"] {
	font-size: 18px;
	display: inline-block;
	padding: 0.5em 2em 0.5em;
	color: #ffffff;
	border-radius: 20px;
	background-color: #25b1d9;
	border: none;
	cursor: pointer;
	font-weight: bold;
	margin: 5px;
}

select {
	width: 108px;
	text-align: right;
}

.hidden {
	display: none;
}


.menu {
	position: relative;
	top: 0px;
	right: 0px;

}

.sub {
	display: none;
	/* 最初は非表示にする */
	position: absolute;
	/* 絶対位置に配置する */
	background-color: #e41414;
	padding: 10px;
}

/* マウスオーバー時に.menuに対して.menu_contentsを表示する */
.menu:hover .sub {
	display: block;
	background-color: #d314e4;
}


li {
	list-style-type: none;
}

.important_notice {
	font-size: 20px;
	color: red;
	font-weight: bold;

}

.file_load_button{
	font-size: 18px;
	display: inline-block;
	padding: 0.5em 2em 0.5em;
	color: #ffffff;
	border-radius: 20px;
	background-color: #25b1d9;
	border: none;
	cursor: pointer;
	font-weight: bold;
	margin: 5px;
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;
	/*リンクテキストの色*/
}

a:hover {
	color: #25b1d9;
	/*マウスオン時の文字色*/
}

.errorlist {
	color: #ff0000;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	color: #ffffff;
	/*全体の文字色*/
	text-align: center;
	/*headerの中身をセンタリングさせる設定*/
	max-height: 10em;

	padding: 1em 0em 1em;
	background-color: #25b1d9;
	/*背景色（古いブラウザ用）*/
	background-image: url('../logos/namazu_tools_logo.png');
	background-size: 250px;
	background-repeat: no-repeat;
	background-position: left center;

}



#logo {
	font-size: 25px;
}


/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
#container {
	margin: 0 auto;
	/*HP画面の左右中央に表示させる設定*/
	min-height: 100%;

}

/*コンテンツ（見出しバーや文字などが入っているブロック）
---------------------------------------------------------------------------*/
#contents {
	/*上のwidth指定の追加設定。幅1000pxを最大幅に設定し、それ以上広げない。*/
	width: max(80%, 600px);
	/*ブロックの幅を画面の80%にする設定。*/
	margin: 0 auto;
	/*HP画面の左右中央に表示させる設定*/
	background: #fff;
	/*背景色*/
	padding: 0px;
	padding-bottom: 100px;
	/*ボックス内の余白*/
}

/*コンテンツのh2タグの設定*/
#contents h2,
#contents summary {
	margin-top: 5px;
	margin-bottom: 5px;
	clear: both;
	color: #fff;
	/*文字色*/
	padding: 5px 20px;
	/*上下、左右への余白*/
	background: #25b1d9;
	/*背景色*/
	font-weight: bold;
}

/*コンテンツのh3タグの設定*/
#contents h3 {
	clear: both;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 0px 20px;
	/*上下、左右への余白*/
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
}

/*コンテンツのp(段落)タグ設定*/
#contents p {
	padding: 5px 20px 5px;
	/*上、左右、下への余白*/
}


.topic {
	padding: 5px 1em 5px;
}

.bullet_point{
	padding: 2px 1em 0px;
}
.bullet_point_detail{
	padding: 2px 3em 0px;
}



/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/
footer {
	position: fixed;
	bottom: 0;
	z-index: 100;
	width: 100%;
	clear: both;
	/*左から、上下、左右への余白*/
	color: #ffffff;
	/*全体の文字色*/
	text-align: center;


	padding: 1em 0em 1em;
	background-color: #25b1d9;
}

footer a {
	color: #fff;
}

footer a:hover {
	color: #666;
}

@media (max-width:600px) {
	#version_header {
		display: none;
	}

	#contents {
		padding-bottom: 100px;
		width: 100%;
	}

	.mobile_hidden {
		display: none;

	}

}



#message_popup_background,
#question_popup_background,
#init_alert_popup_background {
	display: none;
	position: fixed;
	background: rgba(0, 0, 0, 0.3);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 10000;
}

#message_popup,
#question_popup,
.init_alert_popup {
	border: 5px solid black;
	border-radius: 10px;
	padding: 5px;
	background: white;
	position: absolute;
	width: min(750px, 100%);
	max-height: 80vh;
	box-sizing: border-box;
	height: fit-content;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	font-size: 30px;
	font-weight: 1000;
	color: red;
	overflow: auto;
}


#message_popup_sub,
#question_popup_sub,
.init_alert_popup_sub {
	text-align: center;
	font-size: 15px;
	font-weight: normal;
	color: black;
}

.init_alert_popup,
.init_alert_popup_sub {
	text-align: left;
}

.init_alert_popup_button {
	text-align: center;
}

.tweet_open {
	display: block;
	text-align: center;
}