@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/*-----------------------------------------------
	歴史カードラリー
-----------------------------------------------*/

* {
	box-sizing: border-box;
}
#mainContents {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size : 100%;
	color: #252525;
}
img {
	width: 100%;
}
a.icon_none {
	background: none;
	padding-left: 0;
}
.align-c {
	text-align: center;
}


/*フォント*/
#main-top {
	font-family: Meiryo,sans-serif;
}

.font13 {
	/* ブラウザのデフォルトフォントサイズ：16px Ｘ style.cssのbody指定フォントサイズ：83％ ＝ 13.28px */
}

.font16 {
	font-size: 120%;
	line-height: 1.8;
}

.font20 {
	font-size: 150%;
	line-height: 1.8;
}

.font25 {
	font-size: 190%;
}
.big {
	font-size: 1.5em;
}
.small {
	font-size: 0.8em;
}
.red {
	color: #C00;
}

.blue {
	color: #06C;
}
.box4 {
	padding: 2em 0em;
	margin: 0 auto;
}
.box4 h4 {
	background: #F4F5F9;
	color: #004AAD;
	font-size: 1.25rem;
	text-align: center;
	padding: 1em;
}
.box4 dt{
	font-weight: bold;
}
.box4 dd{
	margin-bottom: 1em;
}
.wd_link {
	text-align: center;
}

.wd_link p {
	margin: 20px auto;
	font-size: 1.2em;
	font-weight: bold;
	border:1px solid #ccc;
	padding: 8px 15px;
	display: inline-block;
}
.secchi{
	background-color: #ffecec !important;
	padding: 1.5em 0 1.5em 0 !important;
}
/*内容*/
.maturitxt {
	margin: 0 auto 50px;
}
#osiro h3,
h3.tit_card {
	font-size: 1.25rem;
	padding: 1.25rem 1rem;
	background: #538EBB;
	color: #fff;
	margin-bottom: 15px;
}
h3.tit_card {
	width: 100%;
	display: block;
	margin: 50px auto 30px;
	position: relative;
}
h3.tit_card span {
	font-size: 1rem;
	font-weight: normal;
	display: inline-block;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}
/*
h3.tit_card:has(+ p) {
	margin-bottom: 5px;
}
h3.tit_card + p {
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 1rem;
	color: ;
}*/

#title {
	margin-bottom: 30px;
}
.top-btn div {
	padding: 5px;
}
.top-btn a:hover {
	opacity: 0.8;
}
table.spot {
	margin: 0 auto;
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
}
table.spot th {
	width: 25%;
	border: none;
	border-bottom: 1px dashed #999;
	background: #F4F5F9;
	text-align: center;
	line-height: 1;
	font-weight: normal;
}
table.spot td {
	width: 75%;
	padding: 1em 7px;
	border: none;
	border-bottom: 1px dashed #999;
}
table.spot tr:last-child th,
table.spot tr:last-child td {
	border-bottom: none;
}
.flex {
	display: flex;
}
.fl_box {
	display: flex;
	flex-wrap: wrap;
}
.jst-sb {
	justify-content: space-between;
}
.jst-c {
	justify-content: center;
}
.fl_box div.itemspot {
	width: 33.3%;
	padding: 0 0.5em;
	margin-bottom: 1em;
}
.itemspot h4 {
	font-size: 1.125rem;
	background: #f9f9f9;
	background: url(img/bg_tit.png);
	background-position: center bottom;
	padding: 1rem 0.5rem;
	text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff;
}
.fl_box:has(.card_img) {
	align-items: end;
	justify-content: space-around;
}
.card_img {
	width: 185px;
	text-align: center;
	font-size: 0.875rem;
}
.card_img img {
	margin-top: 5px;
}
.chu {
	margin: 0 auto;
	text-align: right;
	border-top: 1px dotted #aaa;
	padding-top: 0.5em;
	font-size: 90%;
}
div.item80 {
	width: 80%;
}
div.item20 {
	width: 20%;
}
ul.gai {
	display: flex;
	flex-wrap: wrap;
	font-size: 1rem;
	margin-top: 1em;
}
ul.gai > li {
	border-bottom: 1px dashed #ccc;
	padding: 1em 0.5em;
}
ul.gai > li:nth-child(odd) {
	width: 20%;
	font-weight: bold;
}
ul.gai > li:nth-child(even) {
	width: 80%;
}
ul.gai > li > ul li {
	list-style: inside disc;
	text-indent: -1em;
	padding-left: 1em;
}
span.touha,span.sanka {
	color: #fff;
	padding: 5px 1em 8px;
	display: block;
	margin-bottom: 0.5rem;
}
span.touha {
	background: #AC9500;
}
span.sanka {
	background: #275089;
}
.tirasi_tit {
	background: #2D9FAE;
	color: #fff;
	padding: 0.5rem 1rem;
	margin-bottom: 1rem;
}
.tirasi_tit.season2 {
	background: #C8587D;
}
.tirasi_tit.season3 {
	background: #9D9C18;
}
.tirasi_box {
	margin-top: 30px;
}
.tirasi_box div > div {
	width: 200px;
	text-align: center;
}
.tirasi_box img {
	max-width: 160px;
}
.tirasi_box a[href$=".pdf"] {
	padding-left: 0;
	background: none;
}
.float-r {
	float: right;
	max-width: 200px;
	padding: 0.5em;
	text-align: center;
}
.pc-tit {
	display: block;
}
.sp-tit {
	display: none;
}
.quiz {
	margin: 10px auto 30px;
	border: 2px solid #09a75a;
	padding: 2em 1em;
	text-align: center;
}
.line-p {
	color: #09a75a;
	font-weight: bold;
	margin: 20px auto;
	padding: 0.5em 2em;
	border: 1px solid #09a75a;
	border-radius: 20px;
	display: inline-block;
}
.fl_main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.line-item {
	width: 33.3%;
}
.quiz_num_tit {
	margin-top: 1em;
	text-align: center;
}
.quiz2 {
	margin: 50px auto 30px;
	text-align: center;
}
.quiz_tit {
	max-width: 488px;
}
.quiz2 ul {
	display: flex;
	justify-content: space-between;
/*	align-items: center;*/
}
.quiz2 ul li {
	width: 33%;
	text-align: left;
	padding: 1em 1em 1em 2.5em;
	text-indent:-1.5em;
	border: 3px solid #32762d;
	border-radius: 15px;
}
.link-btn {
	max-width: 750px;
	display: block;
	margin: 0 auto;
}
.link-btn:hover {
	opacity: 0.7;
}
a:has(.hi) {
/*	max-width: 794px;*/
	display: block;
	margin: 0 auto;
}
a:has(.hi):hover {
	opacity: 0.7;
}
.scroll {
	overflow-x: auto;
/*	margin-top: 40px;*/
}
.scroll_cmnt {
	display: none;
}
.tbl_card {
	width: 960px;
	border-collapse: collapse;
}
table.tbl_card tr th {
	padding: 1rem;
	color: #fff;
	font-size: 1rem;
}
table.tbl_card tr td {
	padding-bottom: 1rem;
}
table.tbl_card tr:nth-child(1) {
	background: #2D9FAE;
}
table.tbl_card tr:nth-child(2) {
	background: #ebfcff;
}
table.tbl_card tr:nth-child(3) {
	background: #C8587D;
}
table.tbl_card tr:nth-child(4) {
	background: #fff1f6;
}
table.tbl_card tr:nth-child(5) {
	background: #9D9C18;
}
table.tbl_card tr:nth-child(6) {
	background: #fbfbe5;
}
.card_img p {
	margin-top: 0.25rem;
}
.tbl_card tr td > .fl_box > div:first-child {
	width: 65%;
	padding: 1rem 0;
}
.tbl_card tr td > .fl_box > div:first-child .card_img {
	width: 175px;
}
.tbl_card tr td > .fl_box > div:first-child .card_img img {
	max-width: 160px
}
.tbl_card .fl_box div.tou {
	width: 25%;
	padding: 1rem 0;
}
.tbl_card .fl_box div.tou .card_img {
	margin: 0 auto;
}
.tbl_card tr td > .fl_box > div:first-child > p,
.tbl_card .fl_box div.tou >p {
	margin: 0 auto 1rem;
	padding: 0.3rem 1rem;
	font-weight: bold;
	color: #fff;
	text-align: center;
	border-radius: 999px;
	max-width: 300px;
}
.tbl_card tr td > .fl_box > div:first-child > p {
	background: #4f72a3;
	margin-bottom: 2rem;
}
.tbl_card .fl_box div.tou >p {
	background: #b8a528;
}


/*---------------test---------------*/
@media screen and (max-width:960px) {
	.maturitxt {
		margin: 0 auto 30px;
	}
	.box4 {
		width: 98%;
	}
	.scroll_cmnt {
		display: block;
		font-size: 1.125rem;
		margin-bottom: 0.5rem;
	/*	padding: 0.5rem 2rem;*/
		color: #f10101;
		border-radius: 999px;
	}
}

@media screen and (max-width:820px) {
	.fl_box div.itemspot {
		width: 50%;
	}
}
@media screen and (max-width:768px) {
/*	ul.gai li .fl_box {
		display: block;
	}
	ul.gai li .fl_box > span:nth-child(even) {
		width: 100%;
	}*/
	.fl_box:has(.tirasi_box) {
		display: block;
	}
	table.tbl_card .fl_box {
		display: flex;
	}
	ul.gai,.tirasi_box {
		width: 100%;
	}
	.tirasi_box {
		margin: 30px auto 50px;
	}
	.tirasi_box img {
		width: 200px;
	}
	.fl_box div.itemspot {
		width: 100%;
		max-width: 375px;
		margin: 0 auto 50px;
	}
	ul.gai {
		display: block;
	}
	ul.gai li:nth-child(odd) {
		width: 100%;
		border-bottom: none;
		padding: 0.5em 0.5em 0 0.5em;
	}
	ul.gai li:nth-child(even) {
		width: 100%;
		padding: 0.5em;
	}
	.fl_main {
		display: block;
	}
	.line-item {
		width: 100%;
	}
	.line-item img {
		max-width: 330px;
	}
	.pc {
		display: none;
	}
	.box4 h4 {
		font-size: 1.2em;
	}
	ul.gai li .fl_box:has(.card_img) {
		display: flex;
	}
	



}

@media screen and (max-width:500px) {
	.fl_box div.itemspot {
		width: 100%;
	}
	.pc-tit {
		display: none;
	}
	.sp-tit {
		display: block;
	}

}