html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	color: #1a1a1a;
	font-family: "Montserrat", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	font-feature-settings:'tnum';
	font-optical-sizing: auto;
	font-style: normal;
	letter-spacing: .03em;
}

p, h1, h2, ul, li {
	margin: 0;
	padding: 0;
}
ul {
	list-style: none;
}

a {
	color: #0288D1;
	text-decoration: none;
	transition: .3s;
}
a:hover {
	color: #E71A19;
}
a:hover img {
	opacity: .7;
}

.sp {
	display: none !important;
}

span.tc_red {
	color: #E71A19;
}

.mt30 {
	margin-top: 30px !important;
}

.contents .tablewrap {
	width: 100%;
}
table {
	width: 100%;
	border-top: 2px solid #1a1a1a;
	border-collapse: collapse;
	border-left: 1px solid #B0BEC5;
}
th {
	background-color: #f5f5f5;
	border-bottom: 1px solid #1a1a1a;
	border-right: 1px solid #B0BEC5;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	position: relative;
}
th::after {
	content: '⇅';
	color: #B0BEC5;
	position: absolute;
	right: 10;
}
table.no_sort th::after {
	content: '';
}
td {
	border-bottom: 1px solid #B0BEC5;
	border-right: 1px solid #B0BEC5;
	padding: 10px 0;
	font-size: 13px;
	padding: 15px;
	vertical-align: middle;
	line-height: 1.7em;
}
.wp-block-table thead {
	border: none !important;
}
.tablewrap .wp-block-table th {
	background-color: #f5f5f5;
	border-top: none;
	border-bottom: 1px solid #1a1a1a;
	border-right: 1px solid #B0BEC5;
	border-left: none;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
}

.tablewrap .wp-block-table td {
	border-top: none;
	border-right: 1px solid #B0BEC5;
	border-bottom: 1px solid #B0BEC5;
	border-left: none;
	padding: 10px 0;
	font-size: 13px;
	padding: 15px;
	vertical-align: middle;
	line-height: 1.7em;
}

footer {
	margin-top: 120px;
}
footer .copy {
	color: #686D71;
	font-size: 12px;
	text-align: center;
	margin: 60px 0 60px;
}
footer .sns {
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: #686D71;
	font-size: 16px;
}
footer .sns a {
	margin: 0 3px;
}

/* -- ヘッダー -- */
header {
	margin: 0;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
header h1 {
	margin: 0;
	display: flex;
	align-items: flex-end;
}
header h1 a {
	line-height: 0;
}
header h1 span.h1_category {
	color: #333;
	font-size: 14px;
	width: 80px;
	height: 24px;
	line-height: 24px;
	border: 1px solid #B0BEC5;
	display: inline-block;
	text-align: center;
	margin-left: 10px;
}
header .header_right {
	display: flex;
}
header p {
	margin: 3px 20px 0 0;
	padding: 0;
	color: #686D71;
	font-size: 12px;
}

/* -- ナビ -- */
nav {
	background-color: #E71A19;
}
nav ul {
	display: flex;
	justify-content: left;
	border-top: 1px solid #B0BEC5;
	border-bottom: 1px solid #B0BEC5;
}
nav ul li {
	width: 190px;
	background-color: #f5f5f5;
	border-right: 1px solid #B0BEC5;
	height: 48px;
}
nav ul li a {
	color: #1a1a1a;
	font-size: 14px;
	text-decoration: none;
	line-height: 48px;
	text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	font-weight: 500;
}
nav ul li a:hover {
	background-color: #E71A19;
	opacity: 1;
	color: #fff;
	font-weight: 700;
}
nav ul li.current-cat {
	background-color: #E71A19;
}
nav ul li.current-cat a {
	color: #fff;
	font-weight: 700;
}
nav ul.pc {
	width: 100%;
	background-color: #E71A19;
}
.fixed {
	position: fixed;
	top: 0;
	z-index: 800;
}

nav ul.pc_sub_nav {
	padding: 0 15px;
	background-color: #fff;
	border-top: none;
	border-bottom: 1px solid #B0BEC5;
	display: block;
	font-size: 0;
	width: calc(100% - 30px);
}
nav ul.pc_sub_nav li {
	display: inline-block;
	margin: 0;
	padding: 0;
	background-color: #fff;
	width: auto;
	height: inherit;
	border: none;
	border-right: 1px solid #E0EEE5;
}
nav ul.pc_sub_nav li a {
	display: inline-block;
	margin: 0;
	padding: 8px 15px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 2px solid #fff;
	width: auto;
	line-height: inherit;
	height: inherit;
}
nav ul.pc_sub_nav li a:hover,
nav ul.pc_sub_nav li.current-cat a {
	color: #E71A19;
	border-bottom: 2px solid #E71A19;
	background-color: #fff;
}

/* ====================
404
==================== */

.NotFound {
	width: 90%;
	max-width: 600px;
	margin: 80px auto 0;
}
.NotFound h2 {
	margin-top: 40px;
}
.NotFound p {
	margin-top: 10px;
	line-height: 1.4em;
}

/* ====================
コメントモーダル
==================== */
/* モーダル背景 */
#comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001; /* WP Admin barより前面へ */
}

/* モーダル本体 */
#comment-modal-content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* 閉じるボタン */
#comment-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* モーダル内の.commentデザイン調整 */
#comment-modal-content .comment {
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}
#comment-modal-content .comment .txt {
    font-size: 16px;
    line-height: 1.6;
}

@media screen and (max-width: 960px) { 
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}

	.bread_column {
		background-color: #f5f5f5;
		font-size: 14px;
		padding: 8px 10px;
	}

	.sp_container_margin {
		width: calc(100% - 40px) !important;
		margin: auto;
	}

	/* -- ヘッダー -- */
	header {
		border-bottom: 1px solid #B0BEC5;
	}
	.contents {
		width: 100%;
		max-width: 100%;
	}
	.contents p.comment {
		margin: 10px 10px 0;
	}
	.contents h2 {
		margin: 30px 20px 0;
		font-size: 23px;
	}
	.contents h3 {
		margin: 30px 20px 0 !important;
	}
	.contents .content {
		margin-top: 10px;
	}

	/* -- nav -- */
	nav {
		background: none;
		position: relative;
	}
	nav .hamburger {
		width: 40px;
		height: 30px;
		position: absolute;
		top: -50px;
		right: 20px;
		cursor: pointer;
		display: inline-block;
	}
	nav .hamburger span {
		display: block;
		height: 2px;
		margin: 6px 0;
		background: #E71A19;
		transition: 0.4s;
	}
	#menu-toggle:checked + .hamburger span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	#menu-toggle:checked + .hamburger span:nth-child(2) {
		opacity: 0;
	}
	#menu-toggle:checked + .hamburger span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	nav ul {
		display: block;
		border: none;
	}
	nav ul li {
		width: 100%;
		border-bottom: 1px solid #B0BEC5;
		border-right: none;
		height: inherit;
		text-align: left;
		padding: 0;
		position: relative;
	}
	nav ul li a {
		text-align: left;
		padding: 15px 20px;
		line-height: inherit;
		width: calc(100% - 40px);
		height: auto;
	}
	nav ul li label::before {
		content: '+';
		position: absolute;
		right: 20px;
		display: block;
		top: 50%;
		transform: translate(0, -50%);
		font-size: 30px;
		font-weight: 200;
		color: #E71A19;
	}
	nav ul.sp_nav, nav ul ul {
		display: none !important;
		/* transform: scale(0); */
		/* transition: .5s; */
	}
	nav ul ul li a {
		padding: 10px 20px 10px 40px;
		width: calc(100% - 60px);
	}
	#menu-toggle:checked ~ .sp_nav {
		display: block !important;
		/* transform: scale(1); */
	}
	#menu-toggle_1:checked ~ ul.menu-toggle_1,
	#menu-toggle_2:checked ~ ul.menu-toggle_2,
	#menu-toggle_3:checked ~ ul.menu-toggle_3,
	#menu-toggle_4:checked ~ ul.menu-toggle_4,
	#menu-toggle_5:checked ~ ul.menu-toggle_5 {
		display: block !important;
		/* transform: scale(1); */
	}
	#menu-toggle_1:checked ~ li.menu-toggle-nav_1 label::before,
	#menu-toggle_2:checked ~ li.menu-toggle-nav_2 label::before,
	#menu-toggle_3:checked ~ li.menu-toggle-nav_3 label::before,
	#menu-toggle_4:checked ~ li.menu-toggle-nav_4 label::before,
	#menu-toggle_5:checked ~ li.menu-toggle-nav_5 label::before {
		content: '-';
	}
	/* -- /nav -- */

	/* -- テーブルの扱い -- */
	.contents .tablewrap {
		width: calc(100% - 20px) !important;
		margin-left: 20px;
		overflow-x: scroll;
	}
	.contents .tablewrap table {
		min-width: 960px;
		margin-right: 20px;
	}
	
}