@charset "UTF-8";

:root {
	--color-main: #e60013;
	--color-sub: #ffee00;
	--color-text: #ffffff;
	--color-black: #111111;
	--color-gray: #999999;
	--color-light-gray: #cccccc;
	--color-white: #ffffff;
	--content-width: 1040px;
	--side-space: 40px;
	--header-height: 120px;
	--transition: 0.3s ease;
}
.color_main {
	color: var(--color-main) !important;
}

.color_sub {
	color: var(--color-sub) !important;
}

.color_text {
	color: var(--color-text) !important;
}

.color_black {
	color: var(--color-black) !important;
}

.color_gray {
	color: var(--color-gray) !important;
}

.color_light_gray {
	color: var(--color-light-gray) !important;
}

.color_white {
	color: var(--color-white) !important;
}


html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-main);
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.js-nav-active {
	overflow: hidden;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity var(--transition), color var(--transition), background-color var(--transition);
}

a:hover {
	opacity: 0.72;
}

.inner {
	width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
	margin-inline: auto;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.sp_only {
	display: none;
}

.center {
	text-align: center;
}

.screen_reader_text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.main {
	min-height: 50vh;
}

.header {
	position: relative;
	z-index: 100;
	height: var(--header-height);
	background: var(--color-main);
}

.header_inner {
	width: calc(100% - 80px);
	max-width: none;
	height: 100%;
	align-items: center;
	justify-content: space-between;
}

.site_logo{
	white-space: nowrap;
}
.site_logo a {
	display: inline-flex;
	flex-direction: column;
	color: var(--color-white);
	font-weight: 700;
	line-height: 1;
}

.site_logo_meta {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 7px;
	font-size: 26px;
	letter-spacing: 0.04em;
}

.site_logo_meta .independent {
	min-width: 86px;
	padding: 3px 12px;
	color: var(--color-black);
	background: var(--color-white);
	font-size: 20px;
	text-align: center;
}

.site_logo_name {
	font-size: 80px;
	letter-spacing: 0;
}

@media (min-width: 1024px) {
	.site_logo a {
		flex-direction: row;
		gap: 18px;
		align-items: center;
	}

	.site_logo_meta {
		flex-direction: column;
		gap: 6px;
		align-items: stretch;
		margin-bottom: 0;
	}
}

.header_navi > ul {
	gap: clamp(22px, 2.2vw, 46px);
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.header_navi a {
	position: relative;
	display: block;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.header_navi a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--color-white);
	content: "";
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--transition);
}

.header_navi a:hover,
.header_navi a:focus-visible {
	opacity: 1;
}

.header_navi a:hover::after,
.header_navi a:focus-visible::after {
	transform: scaleX(1);
}

.section_ttl_ico {
	display: block;
	width: 84px;
	margin: 0 auto 24px;
}

.more_btn {
	margin-top: 64px;
	text-align: center;
}

.more_btn a {
	display: inline-flex;
	min-width: 240px;
	min-height: 58px;
	padding: 12px 26px;
	color: var(--color-black);
	background: var(--color-white);
	border-radius: 999px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	font-size: 16px;
	font-weight: 500;
}

.news_list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.news_item + .news_item {
	margin-top: 32px;
}

.news_meta {
	display: block;
	gap: 16px;
	align-items: center;
	color: var(--color-black);
	font-size: 14px;
}

.news_meta .cat,
.post-categories {
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
}

.news_meta .cat a,
.post-categories a {
	display: inline-block;
	min-width: 74px;
	padding: 2px 10px;
	margin: 5px 0 0;
	border: 1px solid var(--color-black);
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.news_ttl {
	margin: 6px 0 0;
	color: var(--color-black);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}

.page_header {
	display: grid;
	color: var(--color-main);
	background: var(--color-white);
	place-items: center;
	padding: 20px 0;
	margin-top: 20px;
}

.page_header .inner {
	width: min(calc(100% - 80px), 1600px);
	max-width: 1600px;
}

.page_title {
	margin: 0;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.page_body,
.archive_body,
.post_body {
	padding-block: 40px;
}

.page_post {
	margin-top: 40px;
	font-size: 16px;
}

.page_post > p:first-child {
	margin: 0 0 40px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.page_post p,
.post_content p,
.page_post li,
.post_content li {
	font-size: 20px;
}

.page_post ul.wp-block-list,
.page_post ul:not([class]),
.page_post ol.wp-block-list,
.page_post ol:not([class]) {
	padding-left: 1.6em;
	margin-block: 1.5em;
	list-style-position: outside;
}

.page_post ul.wp-block-list,
.page_post ul:not([class]) {
	list-style-type: disc;
}

.page_post ol.wp-block-list,
.page_post ol:not([class]) {
	list-style-type: decimal;
}

.page_post ul.wp-block-list ul,
.page_post ul:not([class]) ul {
	list-style-type: circle;
}

.page_post ul.wp-block-list ul ul,
.page_post ul:not([class]) ul ul {
	list-style-type: square;
}

.page_post li + li {
	margin-top: 0.8em;
}

.page_post table {
	border: 1px solid var(--color-main);
	width: 100%;
	border-collapse: collapse;
}

.page_post th,
.page_post td {
	padding: 14px 16px !important;
	background: rgb(255 255 255 / 100%);
	border: 1px solid var(--color-main) !important;
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	color: var(--color-black);
}

.page_post th {
	background: rgb(255 255 255 / 90%);
	font-weight: 700;
}

.page_post > * + *,
.post_content > * + * {
	margin-top: 1.5em;
}

.page_post h2,
.post_content h2 {
	position: relative;
	padding: 0 0 10px 44px;
	margin: 110px 0 28px;
	border-bottom: 2px solid var(--color-white);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
}

.page_post h2::before,
.post_content h2::before {
	position: absolute;
	top: 0.12em;
	left: 0;
	width: 34px;
	height: 34px;
	background: url("../images/top_section_ttl_ico.svg") center / contain no-repeat;
	content: "";
}

.page_post h3,
.post_content h3 {
	padding: 8px 14px;
	margin: 70px 0 24px;
	border: 1px solid var(--color-white);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
}

.page_post h4,
.post_content h4 {
	margin: 48px 0 20px;
	font-size: 22px;
	font-weight: 700;
}

.page_post h5,
.post_content h5 {
	margin: 42px 0 16px;
	font-size: 20px;
	font-weight: 700;
}

/*親要素直下の最初の見出しのみ適応*/
.page_post>h2:first-child ,
.post_content>h2:first-child ,
.page_post>h3:first-child ,
.post_content>h3:first-child ,
.page_post>h4:first-child ,
.post_content>h4:first-child ,
.page_post>h5:first-child ,
.post_content>h5:first-child {
	margin-top: 0 !important;
}


.page_main_image {
	margin-bottom: 80px;
}

.policy_accordion {
	margin-top: 18px;
	color: var(--color-black);
	background: var(--color-white);
	border-radius: 30px;
}

.policy_accordion summary {
	display: grid;
	min-height: 68px;
	padding: 8px 24px 8px 10px;
	cursor: pointer;
	list-style: none;
	grid-template-columns: 48px 1fr 24px;
	gap: 14px;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
}

.policy_accordion summary::-webkit-details-marker {
	display: none;
}

.policy_accordion .num {
	display: grid;
	width: 44px;
	height: 44px;
	color: var(--color-white);
	background: var(--color-main);
	border-radius: 50%;
	place-items: center;
}

.policy_accordion .toggle {
	position: relative;
	width: 20px;
	height: 20px;
}

.policy_accordion .toggle::before,
.policy_accordion .toggle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: var(--color-main);
	content: "";
	transform: translate(-50%, -50%);
}

.policy_accordion .toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform var(--transition);
}

.policy_accordion[open] .toggle::after {
	transform: translate(-50%, -50%) rotate(0);
}

.policy_accordion_body {
	padding: 8px 72px 30px;
}

.policy_accordion_body p {
	font-size: 16px;
}

.footer {
	padding: 105px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.7);
	text-align: center;
}
.footer:not(.home .footer){
	margin-top: 80px;
}

.footer_address {
	display: flex;
	flex-direction: column;
	margin-top: 70px;
	font-size: 16px;
	font-style: normal;
	line-height: 1.7;
}

.footer_address strong {
	margin-bottom: 32px;
	font-size: 26px;
	letter-spacing: 0.08em;
}
.footer_address span {
	font-size: 20px;
	letter-spacing: 0.08em;
	font-weight: 500;
}

.copy {
	margin: 140px 0 0;
	font-size: 12px;
	letter-spacing: 0.04em;
}

@media (max-width: 1420px) {
	.pc_only {
		display: none !important;
	}
}

@media (max-width: 1023px) {
	:root {
		--header-height: 68px;
	}

	.site_logo_meta {
		gap: 7px;
		margin-bottom: 3px;
		font-size: 12px;
	}

	.site_logo_meta .independent {
		flex: 1;
		min-width: 62px;
		padding: 2px 8px;
		font-size: 10px;
	}

	.site_logo_name {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	:root {
		--side-space: 5%;
	}

	body {
		font-size: 12px;
	}

	.inner,
	.header_inner {
		width: 90%;
	}

	.page_header .inner {
		width: 90%;
	}

	.sp_only {
		display: block;
	}

	.section_ttl_ico {
		width: 50px;
		margin-bottom: 18px;
	}

	.more_btn {
		margin-top: 42px;
	}

	.more_btn a {
		min-width: 180px;
		min-height: 46px;
		padding: 9px 22px;
		font-size: 12px;
	}

	.news_item + .news_item {
		margin-top: 18px;
	}

	.news_meta {
		gap: 10px;
		font-size: 11px;
	}

	.news_meta .cat a,
	.post-categories a {
		min-width: 60px;
		font-size: 10px;
	}

	.news_ttl {
		font-size: 13px;
	}

	.page_header {
		margin-top: 10px;
		padding: 10px 0;
	}

	.page_title {
		font-size: 22px;
	}

	.page_body,
	.archive_body,
	.post_body {
		padding-block: 20px;
	}

	.page_post {
		margin-top: 20px;
		font-size: 12px;
	}

	.page_post > p:first-child {
		margin-bottom: 20px;
		font-size: 18px;
		text-align: left;
	}

	.page_post p,
	.post_content p,
	.page_post li,
	.post_content li {
		font-size: 16px;
	}

	.page_post th,
	.page_post td {
		padding: 10px 12px;
		font-size: 14px;
	}

	.page_post h2,
	.post_content h2 {
		padding: 0 0 7px 30px;
		margin: 65px 0 20px;
		font-size: 20px;
	}

	.page_post h2::before,
	.post_content h2::before {
		width: 24px;
		height: 24px;
	}

	.page_post h3,
	.post_content h3 {
		padding: 6px 9px;
		margin: 42px 0 18px;
		font-size: 18px;
	}

	.page_post h4,
	.post_content h4 {
		margin: 34px 0 14px;
		font-size: 16px;
	}

	.page_post h5,
	.post_content h5 {
		margin: 30px 0 12px;
		font-size: 14px;
	}

	.policy_accordion {
		border-radius: 22px;
	}

	.policy_accordion summary {
		min-height: 54px;
		padding: 7px 14px 7px 7px;
		grid-template-columns: 38px 1fr 18px;
		gap: 8px;
		font-size: 14px;
	}

	.policy_accordion .num {
		width: 36px;
		height: 36px;
	}

	.policy_accordion_body {
		padding: 4px 20px 22px;
	}

	.footer {
		padding-top: 75px;
	}
	.footer:not(.home .footer){
		margin-top: 60px;
	}
	.footer_ttl {
		font-size: 32px;
	}

	.footer_address {
		margin-top: 55px;
		font-size: 13px;
	}

	.footer_address strong {
		margin-bottom: 28px;
		font-size: 16px;
	}
	.footer_address span {
		font-size: 12px;
	}

	.copy {
		margin-top: 105px;
		font-size: 9px;
	}
}
