html,body{
	padding:0;
	margin:0;
}
a {
	color: #282;
	text-decoration: none;
	cursor: pointer;
	transition: 0.3s;
}
body{
	font-family: "BIZ UDPGothic", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:1.6;
	color: #333;
	background: #FAFAFA;
}
input[type=button], button[type=submit] {
	padding: 5px 15px;
	letter-spacing: 2px;
	font-size: 15px;
	background: #eee;
	border: 1px #888 solid;
	border-radius: 3px;
	outline: none;
	color: #111;
}
input[type=text], select {
	padding: 5px;
	font-size: 16px;
	background: #fff;
	border: 1px #888 solid;
	border-radius: 3px;
	outline: none;
	color: #111;
}
input[type=date] {
	padding: 5px;
	font-size: 16px;
	background: #fff;
	border: 1px #888 solid;
	border-radius: 3px;
	outline: none;
	color: #111;
}
img {
	max-width: 100%;
}
ul {
	list-style: none;
	padding: 0;
}

#wrap {
	width: 1024px;
	margin-left: auto;
	margin-right: auto;
}
.logo img {
	height: 80px;
}
h1 {
	margin: 0;
	padding: 1.0em 0;
	font-size: 1.4rem;
	line-height: 1.4;
}
h2 {
	font-size: 1.2rem;
	margin: 0 0 10px;
}
header {
	padding: 20px 0;
	background: #fff;
}
header #wrap {
	text-align: center;
}
#main {
	min-height: calc(100vh - 200px);
	padding: 0 10px;
}
#content {
	padding: 30px 0;
}
#footer {
	background: #1E1E1E;
	color: #fff;
	text-align: center;
	padding: 10px;
	font-size: 12px;
}
#page_title {
	background: #1E1E1E;
	color: #fff;
	text-align: center;
	letter-spacing: 3px;
}

.box_seiseki {
	display: flex;
	gap: 0 15px;
}
.box_seiseki li {
	width: 50%;
}

/*20251107追加*/
.box_day {
	width: 100%;
}
.box_day tr {
	text-align: center;
}
.day_title img {
	vertical-align: middle;
	width: 44px;
	margin-right: 8px;
}

.tbl_seiseki {
	margin-bottom: -1px;
}
table {
	border-collapse: collapse;
	white-space: nowrap;
	margin-bottom: 20px;
	font-size: 0.95rem;
	width: 100%;
}
th, td {
	padding: 4px 8px;
	border: 1px #e5e5e5 solid;
	font-weight: normal;
	white-space: nowrap;
	line-height: 1.6;
}
th {
	background: #1E1E1E;
	color: #fff;
	font-weight: bold;
}
td {
	background: #fff;
}
.seiseki_minus {
}
.top_menu {
	display: flex;
	gap: 40px;
	padding: 0;
	justify-content: center;
}
.top_menu li {
	width: 40%;
}
.top_menu li a {
	display: block;
	padding: 100px 5px;
	border: 1px #e5e5e5 solid;
	border-radius: 20px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.1);
	text-align: center;
	font-size: 1.6rem;
	color: #111;
	font-weight: bold;
	letter-spacing: 3px;
	background: #fff;
}
.top_menu li a:hover {
	color: #282;
	background: #fffff8;
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
.search_menu {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
}
.search_name {
	width: 250px;
}
.ranking {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}
.ranking li {
	width: 49%;
}
.ranking img {
	vertical-align: middle;
	width: 52px;
	margin-right: 10px;
}
.box_yakuman {
	margin: 20px 0 0 0;
}
.box_yakuman img {
	vertical-align: middle;
	width: 44px;
	margin-right: 8px;
}
.yakuman {
	display: flex;
	flex-wrap: wrap;
}
.yakuman li {
	width: 25%;
	background: #ddd;
	color: #fff;
	border: 1px #fff solid;
	padding: 10px;
	text-align: center;
	box-sizing: border-box;
}
.yakuman li.active {
	background: #5a5;
}

/*20251223追加*/
.shortcut_button {
	display: flex;
	justify-content: center;
	gap: 20px;
	font-size: 0.9em;
}
.all_search {
	padding: 5px 15px;
    letter-spacing: 2px;
    font-size: 15px;
    background: #eee;
    border: 1px #888 solid;
    border-radius: 3px;
    outline: none;
    color: #111;
}
.danni_a {
	background-color: #900;
}
.danni_b {
	background-color: #f88;
	font-weight: bold;
}
.rating_a {
	background-color: #a50;
}
.rating_b {
	background-color: #fb6;
	font-weight: bold;
}
.pop_table > th {
	color: #fff;
	background-color: #444;
    text-align: center;
    font-size: 0.8em !important;
}
.pop_table > td {
    text-align: center;
    font-size: 0.8em !important;
}
.popup-check {
    display: none; /* チェックボックスは非表示 */
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* デフォルト非表示 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.popup-content {
    background-color: white;
    padding: 40px 20px 20px 20px;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* チェックされたらオーバーレイとコンテンツを表示 */
.popup-check:checked ~ .popup-overlay {
    display: flex;
    opacity: 1;
}
.popup-check:checked ~ .popup-overlay .popup-content {
    transform: scale(1);
    opacity: 1;
}
.info_button {
    text-align: center;
}
/*説明ボタンの詳細*/
.popup-trigger {
    display: inline-block;
    padding: 5px 10px;
    background-color: #333333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0 10px 0;
}
.popup-close {
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}
.popup-close:hover {
    color: #333;
}
.info_red {
    color:red;
}

@media screen and (max-width: 1024px) {
	#wrap {
		width: 100%;
	}
	.top_menu li {
		width: 45%;
	}
}
@media screen and (max-width: 768px) {
	body {
		font-size: 0.9rem;
	}
	.logo {
		display: block;
		text-align: center;
	}
	.logo img {
		height: 60px;
	}
	header {
		padding: 10px 0;
	}
	h1 {
		padding: 0.8em 0;
		font-size: 1.1rem;
	}
	h2 {
		font-size: 1.05rem;
	}
	#main {
		min-height: auto;
	}
	#content {
		padding: 10px 0;
	}
	th, td {
		font-size: 14px;
		padding: 5px 6px;
	}
	.top_menu {
		flex-wrap: wrap;
		gap: 20px;
	}
	.top_menu li {
		width: 95%;
	}
	.top_menu li a {
		padding: 50px;
		font-size: 1.4rem;
	}
	.search_menu {
		flex-wrap: wrap;
		gap: 5px;
		justify-content: left;
		margin: 5 0;
	}
	.search_name {
		width: 170px;
	}
	.ranking li {
		width: 100%;
	}
	.ranking img {
	    width: 40px;
	}
	.box_seiseki {
		flex-wrap: wrap;
	}
	.box_seiseki li {
		width: 100%;
	}
	.box_yakuman img {
		width: 36px;
	}
	.yakuman li {
		width: 50%;
	}
	.day_title img  {
		width: 36px;
	}
	.tbl_seiseki th,
	.tbl_seiseki td {
		font-size: 0.8em;
		padding: 5px 2px;
	}
	/*20260303追加分*/
	.cnt_range {
		width: 100%;
	}
}