@charset "UTF-8";

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	color: #5d070c;
	background: #fefefe url(img/bg_body.png);
	font-family: sans-serif, monospace;
	font-size: 16px;
	line-height: 1.9;
	text-align: center;
	-webkit-text-size-adjust: 100%;
	overflow-wrap: break-word;
}

a {
	color: #1a0dab;
	text-decoration: underline;
}

a:hover {
	color: #CC3300;
	position: relative;
	top: 1px;
	left: 1px;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 10px;
	color: #333;
	font-size: 38px;
	line-height: 1.3;
}

h2 {
	margin: 28px 0 16px;
	padding-bottom: 5px;
	border-bottom: 1px solid #5d070c;
	color: #5d070c;
	font-size: 28px;
	line-height: 1.4;
}

h3 {
	margin: 32px 0 10px;
	padding-left: 8px;
	border-left: 7px solid #b60005;
	color: #333;
	font-size: 25px;
	line-height: 1.4;
}

h4 {
	margin: 32px 0 10px;
	padding-left: 8px;
	border-left: 5px solid #666;
	color: #333;
	font-size: 18px;
	line-height: 1.4;
}

p {
	margin: 14px 0;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

img.titleimg {
	vertical-align: middle;
}

blockquote {
	position: relative;
	margin: 0;
	padding: .5em 1em .5em 3em;
	background: #eee;
	font-size: 16px;
	font-style: italic;
	line-height: 1.75;
}

blockquote::before {
	position: absolute;
	top: 5px;
	left: 5px;
	color: #aaa;
	content: "“";
	font-family: fantasy;
	font-size: 600%;
	font-style: normal;
	line-height: 1;
}

ul {
	margin: 0;
	padding: 0;
	list-style: square;
}

li {
	margin: 5px 0 5px 15px;
	padding: 10px 0 15px;
	border-bottom: 1px dashed #7d5729;
	line-height: 1.5;
}

hr {
	width: 100%;
	margin: 30px 0;
	border: 0;
	border-top: 1px dashed #7d5729;
}

hr.line {
	height: 30px;
	border: 0;
	background: url(parts/hr_line_alpha.png) repeat-x;
}

.reset {
	clear: both;
}

.migi {
	float: right;
}

.hidari {
	float: left;
}

.linebreak {
	display: inline-block;
	white-space: nowrap;
}

/* 全体レイアウト */
.outline {
	width: 960px;
	max-width: calc(100% - 40px);
	margin: 0 auto;
	padding: 35px 0;
	text-align: left;
}

/* メインコンテンツ */
.outline_main {
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

/* コンテンツ領域 */
.outline_contents {
	margin: 25px 0 30px;
	padding: 45px 65px 35px;
	background: #fff;
	box-shadow: inset 0 0 12px -5px rgba(0, 0, 0, .4);
}

/* サイドバー非表示 */
.outline_side {
	display: none;
}

.t2_wakunone {
	position: relative;
	z-index: 1;
	min-height: 310px;
	margin-bottom: 8%;
}

.t2 {
	margin: 0 0 10px;
	padding-left: 1.25em;
	color: #999;
	font-size: 14px;
	line-height: 1.3;
	text-indent: -1.25em;
}

.t2_none {
	position: absolute;
	top: 25px;
	left: 9%;
	z-index: 2;
	max-width: 80%;
	margin-bottom: 10px;
	padding: .25em .5em .25em 1.75em;
	background: rgba(255, 255, 255, .85);
	color: #666;
	line-height: 1.4;
	text-indent: -1.25em;
}

.t2img,
.t2img_none {
	text-align: center;
}

.t2img_none {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.outline_contents img {
	max-width: 100%;
	height: auto;
}

.footer {
	padding-bottom: 15px;
	text-align: center;
}

.fltrt {
	float: right;
	margin: 8px 0 0 10px;
}

.fltlft {
	float: left;
	margin: 8px 10px 0 0;
}

ul.huelist {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.huelist li {
	float: left;
	margin: 5px 15px 5px 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 20px;
	white-space: nowrap;
}

dl.dictionary {
	margin: 10px 0 15px;
	padding: 0;
}

dl.dictionary dt {
	margin-bottom: .8em;
	padding: 1px 0 1px 8px;
	border-left: 15px solid #c34f00;
	background: #e6ebe7;
	line-height: 1.4;
}

dl.dictionary dd {
	margin: 0 0 2.8em 23px;
	padding: 0;
}

#loading {
	position: absolute;
	top: 40%;
	left: 50%;
	width: 80px;
	height: 80px;
	margin-left: -40px;
	background: #fff url(img/loader.gif) no-repeat;
}

ul.contents_tag {
	margin: 18px 0;
	padding: 0;
}

ul.contents_tag li {
	float: left;
	margin: 0 5px 12px 0;
	padding: 0;
	border: 0;
	list-style: none;
	font-feature-settings: "palt";
	letter-spacing: 0;
	line-height: 1.3;
}

/* ========================================
   サンプルキーワード
======================================== */
.samplekey {
	margin: auto auto 10px;
}

.samplekey a {
	margin: 0 2px;
	padding: 10px 15px;
	background: #fefefe;
	border: 1px solid #ccc;
	line-height: 36px;
	text-decoration: none;
	white-space: nowrap;
}

.samplekey a:hover {
	position: relative;
	top: 1px;
	left: 1px;
	background: #efefef;
	text-decoration: none;
}

/* ========================================
   フォーム
======================================== */
input,
select,
textarea,
button {
	max-width: 100%;
	padding: 4px;
	font: inherit;
	margin: 8px 0;
	line-height: 1;
}

input,
select {
	/*width: 300px;*/
	height: 36px;
}

textarea {
	width: 420px;
	min-height: 120px;
}

button,
input[type="submit"] {
	min-width: 120px;
	height: 36px;
	cursor: pointer;
}

/* スマートフォン */
@media (max-width: 767px) {

	body {
		line-height: 1.8;
	}

	.outline {
		width: auto;
		max-width: none;
		margin: 0;
		padding: 15px;
	}

	.outline_main {
		float: none;
		width: 100%;
	}

	.outline_contents {
		margin: 15px 0 25px;
		padding: 20px 16px;
		line-height: 1.8;
	}

	h1 {
		font-size: 28px;
		line-height: 1.35;
	}

	h2 {
		margin: 24px 0 12px;
		font-size: 23px;
	}

	h3 {
		margin-top: 24px;
		font-size: 21px;
	}

	h4 {
		margin-top: 22px;
		font-size: 17px;
	}

	.t2_wakunone {
		min-height: 0;
		padding-top: 0;
	}

	.t2_none {
		top: 12px;
		left: 8px;
		max-width: calc(100% - 16px);
	}

	.t2img_none {
		position: relative;
		inset: auto;
	}

	.t2img img,
	.t2img_none img {
		width: 100%;
	}

	.fltrt,
	.fltlft {
		float: none;
		margin: 10px 0;
	}

	/* フォーム全体 */
	form {
		margin: 10px 0;
	}

	/* 入力フォーム共通 */
	input,
	select,
	textarea,
	button {
		box-sizing: border-box;
		font-family: inherit;
		font-size: 16px;
	}

	/* テキスト入力・選択欄 */
	input[type="text"],
	input[type="email"],
	input[type="password"],
	input[type="search"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	select {
		display: block;
		width: 100%;
		max-width: 300px;
		height: 44px;
		margin: 8px auto;
		padding: 0 12px;
		color: #333;
		background: #fff;
		border: 1px solid #ccc;
		border-radius: 5px;
		box-shadow: none;
		appearance: none;
		-webkit-appearance: none;
	}

	/* テキストエリア */
	textarea {
		display: block;
		width: 100%;
		max-width: 300px;
		min-height: 120px;
		margin: 8px auto;
		padding: 10px 12px;
		color: #333;
		background: #fff;
		border: 1px solid #ccc;
		border-radius: 5px;
		resize: vertical;
	}

	/* 入力欄のフォーカス */
	input[type="text"]:focus,
	input[type="email"]:focus,
	input[type="password"]:focus,
	input[type="search"]:focus,
	input[type="tel"]:focus,
	input[type="url"]:focus,
	input[type="number"]:focus,
	select:focus,
	textarea:focus {
		border-color: #888;
		outline: 2px solid rgba(0, 0, 0, 0.08);
		outline-offset: 1px;
	}



	/* 送信・ボタン */
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	button {
		display: inline-block;
		min-width: 90px;
		min-height: 44px;
		margin: 8px 4px 8px 0;
		padding: 0 20px;
		color: #333;
		font-weight: bold;
		background: #eee;
		border: 1px solid #ccc;
		border-radius: 5px;
		box-shadow: none;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;
	}

	/* ボタンのマウスオーバー */
	input[type="submit"]:hover,
	input[type="button"]:hover,
	input[type="reset"]:hover,
	button:hover {
		background: #ddd;
		border-color: #aaa;
	}

	/* ボタンのクリック時 */
	input[type="submit"]:active,
	input[type="button"]:active,
	input[type="reset"]:active,
	button:active {
		background: #ccc;
	}

	/* 無効状態 */
	input:disabled,
	select:disabled,
	textarea:disabled,
	button:disabled {
		color: #999;
		background: #eee;
		border-color: #ddd;
		cursor: not-allowed;
	}
}