/* Sensu stylesheet - Traditional Japanese brain training theme */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: #fbf9f5;
	color: #2c2c2c;
	font-family: 'Noto Serif JP', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif;
	line-height: 1.8;
	font-size: 18px;
}

.yashiro-container {
	max-width: 720px;
	margin: 40px auto;
	padding: 30px 20px;
	background-color: #ffffff;
	border: 3px double #c93a40;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border-radius: 4px;
}

.atama-shoukai {
	text-align: center;
	border-bottom: 2px solid #c93a40;
	padding-bottom: 20px;
	margin-bottom: 30px;
}

.shoukai-midashi {
	font-size: 28px;
	color: #c93a40;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.shoukai-fukumidashi {
	font-size: 16px;
	color: #666666;
	margin-top: 5px;
}

.honbun-text {
	margin-bottom: 20px;
	font-size: 17px;
	text-align: justify;
}

.shashin-waku {
	text-align: center;
	margin: 25px 0;
}

.sensu-gazou {
	max-width: 100%;
	height: auto;
	border: 1px solid #d3c9b7;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hajimeru-waku {
	text-align: center;
	margin: 35px 0 15px 0;
}

.sensu-botan {
	display: inline-block;
	background-color: #c93a40;
	color: #ffffff;
	padding: 12px 45px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-shadow: 0 3px 0 #922227;
}

.sensu-botan:hover {
	background-color: #a82e33;
}

.sensu-botan:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #922227;
}

.shitsumon-ban {
	font-size: 15px;
	color: #c93a40;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	letter-spacing: 0.2em;
}

.kanji-hyoji {
	font-size: 48px;
	font-weight: bold;
	text-align: center;
	margin: 30px 0;
	padding: 20px;
	background-color: #f7f3eb;
	border-radius: 4px;
	border-left: 5px solid #c93a40;
	letter-spacing: 0.1em;
}

.mondai-setsumei {
	font-size: 16px;
	text-align: center;
	color: #555555;
	margin-bottom: 25px;
}

.sentaku-kozo {
	margin: 30px 0;
}

.sentakushi-koushu {
	list-style: none;
}

.sentakushi-gyou {
	margin-bottom: 15px;
}

.sentakushi-raberu {
	display: block;
	padding: 15px 20px;
	background-color: #fcfcfc;
	border: 1px solid #d3c9b7;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.2s ease;
}

.sentakushi-raberu:hover {
	background-color: #fbf9f5;
	border-color: #c93a40;
}

.sentaku-kozo input[type="radio"] {
	margin-right: 12px;
	transform: scale(1.2);
	vertical-align: middle;
}

.suso-annai {
	margin-top: 40px;
	border-top: 1px solid #d3c9b7;
	padding-top: 20px;
	display: flex;
	justify-content: space-around;
	font-size: 14px;
}

.suso-rinku {
	color: #666666;
	text-decoration: none;
}

.suso-rinku:hover {
	color: #c93a40;
	text-decoration: underline;
}

.suso-copy {
	text-align: center;
	margin-top: 30px;
	font-size: 12px;
	color: #999999;
}

/* Results styles */
.tensuu-hyouji {
	text-align: center;
	font-size: 24px;
	margin: 20px 0;
}

.tensuu-tokuten {
	font-size: 64px;
	color: #c93a40;
	font-weight: bold;
	margin: 0 10px;
}

.kekka-shindan {
	background-color: #f7f3eb;
	border: 1px solid #d3c9b7;
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.shindan-midashi {
	font-size: 20px;
	font-weight: bold;
	color: #c93a40;
	border-bottom: 1px solid #c93a40;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

.moshikomi-waku {
	background-color: #fff9f9;
	border: 2px dashed #c93a40;
	padding: 25px;
	border-radius: 4px;
	margin-top: 40px;
	text-align: center;
}

.moshikomi-midashi {
	font-size: 20px;
	font-weight: bold;
	color: #c93a40;
	margin-bottom: 15px;
}

.moshikomi-input {
	width: 100%;
	max-width: 350px;
	padding: 12px;
	font-size: 16px;
	border: 1px solid #d3c9b7;
	border-radius: 3px;
	margin-bottom: 15px;
}

/* Secondary Pages Styles */
.yomimono-midashi {
	font-size: 22px;
	font-weight: bold;
	margin: 25px 0 15px 0;
	border-left: 4px solid #c93a40;
	padding-left: 12px;
	color: #2c2c2c;
}

.yomimono-list {
	margin-left: 20px;
	margin-bottom: 25px;
}

.yomimono-gyou {
	margin-bottom: 8px;
}

.modoru-waku {
	text-align: center;
	margin-top: 40px;
}

.modoru-rinku {
	color: #c93a40;
	text-decoration: none;
	font-weight: bold;
}

.modoru-rinku:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.yashiro-container {
		margin: 10px;
		padding: 15px;
	}
	.shoukai-midashi {
		font-size: 22px;
	}
	.kanji-hyoji {
		font-size: 36px;
	}
	.suso-annai {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
}
