﻿/* 全体調整 */

* {
	/* フォント指定、500はかすれ防止 */
	font-family:
		"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Meiryo", "Meiryo UI", "Yu Gothic", "Yu Gothic UI",
		sans-serif;
	font-weight: 500;
}

html {
	line-height: 1.2;
}

p {
	/*  1文字開ける */
	text-indent: 1em;
	/* 自動改行する際に均等割り付けする */
	text-align: justify;
	/* 禁則文字の禁止 */
	hanging-punctuation: allow-end;
}

.container {
	width: 97% !important;
	padding-left: 1em;
	padding-right: 1em;
}

@media only screen and (min-width: 601px) {
	.container {
		width: 97% !important;
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}

@media only screen and (min-width: 993px) {
	.container {
		width: 97% !important;
		padding-left: 2em;
		padding-right: 2em;
	}
}

.content-space {
	height: 1em;
}

/* 入力欄 */

textarea.materialize-textarea {
	padding: 0.5em !important;
	min-height: 1rem !important;
	border-color: #3a5e72 !important;
}

textarea::placeholder {
	color: #61889e;
	opacity: 1;
}

/* ボタン */

.btn-small {
	margin-left: 1em;
	padding-left: 1em;
	padding-right: 1em;
}

.btn-small i {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/* ヘッダー */

.nav-wrapper {
	padding-top: 0.5em;
}

header nav {
	background-color: rgba(0, 0, 20, 0.8);
	color: #eee;
}

.page_title {
	font-size: clamp(1.2rem, 5.2vw, 2.1rem) !important;
	white-space: nowrap;
}

.title-icon {
	height: 1em; /* ← テキストと同じ高さにする */
	width: auto;
}

/* フッター */

#footer-space {
	height: 8em;
}

footer #footer-bg {
	background-color: #003;
	color: #eee;
	padding: 1em 0em 1em 0em;
}

/* 漢字チェック用 */

.kanji_check_block {
	display: block;
	float: left;
	width: 6em;
	line-height: 1.5;
}

.kanji_check_block_kaisetsu {
	width: 8em;
}

.kanji_check_output_moji {
	display: block;
	line-height: 1.5em;
	font-size: 3em;
	border-style: solid;
	border-left-width: 0px;
	border-right-width: 0px;
	border-top-width: 0.2em;
	border-bottom-width: 0.2em;
	/* background-color: rgb(206, 206, 148); */
	/* border-top-color: rgba(148, 206, 153, 0.829); */
	/* border-bottom-color: #f83f3f; */
	text-align: center;
	color: white;
	font-weight: 700;
	text-shadow:
		black 1px 1px 0,
		black -1px -1px 0,
		black -1px 1px 0,
		black 1px -1px 0,
		black 0px 1px 0,
		black 0 -1px 0,
		black -1px 0 0,
		black 1px 0 0;
}

.kanji_check_output_data {
	display: block;
	font-size: 0.9em;
}

.kanji_check_block_kaisetsu .kanji_check_output_data {
	text-align: right;
	padding-right: 0.5em;
}

.kanji_check_block_output .kanji_check_output_data {
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

.kanji_check_block span:nth-child(even) {
	background-color: #ecfdff;
}
