body {
	margin: 0;
	padding: 0;
	background: white;
	color: black;
	font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

a {text-decoration: none;}
a:link {color: #0033cc;}
a:visited {color: #666666;}

#header {padding: 10px 0;}

h1 {
	margin: 0 10px;
	text-align: center;
	font-size: x-large;
	font-weight: normal;
	line-height: 1.5em;
	border-style: solid none;
	border-width: thin;
	border-color: black;
	font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
}

.result, #result {
	margin: 1em;
	text-align: center;
	font-size: x-large;
	font-weight: bold;
	line-height: 1em;
	font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
}

.result em, span.year {
	font-style: normal;
	font-size: 200%;
	line-height: 1em;
	display: block;
}

.result strong, span.year span {
	font-family: Helvetica, sans-serif;
	font-weight: normal;
	font-size: 200%;
	line-height: 1em;
}

.zodiac {text-align: center;}

.chrono table {border-collapse: collapse; font-size: x-large; margin: 10px auto;}
.chrono tbody {text-align: right; line-height: 2em;}
.chrono tr {border-bottom: thin solid silver;}
.chrono td {padding-left: 1em;}

.memo dl {
	margin: 10px;
	padding: 0.5em;
	background: #336666;
	color: #ffffff;
	font-family: 'ChalkboardSE-Regular', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
	line-height: 1.5em;
}


.memo dt {text-decoration: underline;}
.memo dd {margin: 0; text-indent: 1em;}

.chalk1 {color: #ffffcc;}
.chalk2 {color: #ffcccc;}

.clear {clear: both;}


#footer {margin-bottom: 40px;}
#footer ul {
	list-style: none;
	padding: 0;
	text-align: center;
	font-size: x-large;
	line-height: 1.5em;
}

@media(min-width: 768px) {
	#wrapper {width: 768px; margin: auto;}
	h1 {margin: 20px 10px;}
	.result, #result {font-size: xx-large; margin: 10px 0;}
	.result em, span.year {display: inline;}
	.chrono {width: 50%; float: left;}
	.memo, .bottom_ad {width: 50%; float: right;}
	.chrono table {font-size: medium;}
}


/* Dark mode */
@media (prefers-color-scheme: dark) {
	body {
		color: white;
		background-color: black;
	}

a:link {color: gray;}
a:visited {color: #666666;}

h1 {border-color: white;}
}

