/* ================================
  Common
================================== */

.show__sp {
	display: none;
}

/* ================================
  Header
================================== */

#header #headerInner .logo {
	max-width: 230px;
}

#header #headerInner .logo img {
	display: block;
	height: auto;
	width: 100%;
}

#header #headerInner .pc-nav > li {
	color: #333;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	text-align: center
}

#header #headerInner .pc-nav > li:hover span,
#header #headerInner .pc-nav > li.is-active span {
	background-color: #eee;
}

#header #headerInner .pc-nav > li:hover a,
#header #headerInner .pc-nav > li.is-active a {
	text-decoration: none;
}

#header #headerInner .pc-nav > li span {
	border-radius: 3px;
	padding: 5px;
	transition: background-color 0.3s ease;
}

#header #headerInner .header__mail-link a {
	align-items: center;
	background-color: #00a3df;
	border-radius: 5px;
	display: flex;
	padding: 23px 4px 3px;
	transition: opacity 0.3s ease;
	background: #00a3df url(../img/common/contact_icon.png) no-repeat center 8px / 25px 19.2px;
}

@media (any-hover: hover) {
	#header #headerInner .header__mail-link:hover {
		opacity: 0.8;
	}
}

#header #headerInner .header__mail-link span {
	color: #fff;
	font-size: 12px;
}

#header #headerInner .header__mail-link:hover span,
#header #headerInner .header__mail-link.is-active span {
	background-color: transparent !important;
}

#header #headerInner .header__icon-search {
	height: auto;
	width: 25px;
}

#header #headerInner .header__icon-search {
	margin-inline: 10px;
}

#header #headerInner .pc-nav .sub-menu {
	display: none;
}

#header #headerInner .header__lower {
	background-color: #fff;
	max-height: 0;
	overflow: hidden;
	padding-block-start: 0;
	position: relative;
	transition: max-height 0.4s ease;
	transition-delay: 0s;
	z-index: 1000;
}

#header #headerInner .header__lower.is-delayed-close {
	transition-delay: 0.2s;
	transition-duration: 0.4s;
}

#header #headerInner .header__lower.is-opening {
	transition-duration: 0.8s;
}

#header #headerInner .header__lower.is-show {
	padding-block: 0 30px;
}

#header #headerInner .header__lower-list-wrapper {
	display: flex;
	gap: 100px;
	margin-inline: auto;
	max-width: 650px;
	padding-block-start: 20px;
}

#header #headerInner .header__lower-list-wrapper.is-1column {
	justify-content: flex-start;
	max-width: 650px;
}

#header #headerInner .header__lower-list {
	display: flex;
	flex-direction: column;
}

#header #headerInner .header__lower-list li span {
	color: #333;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	font-weight: 700;
}

#header #headerInner .header__lower-list li ul.sub-menu {
	margin-block-start: 10px;
}

#header #headerInner .header__lower-list li ul.sub-menu li {
	padding-block: 10px;
}

#header #headerInner .header__lower-list li ul.sub-menu li span {
	color: #333;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
}

#header #headerInner .header__lower-list li.menu-gray > span {
	color: #9fa0a0;
}

#header #headerInner .header__modal-backdrop {
	backdrop-filter: blur(4px);
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 90px;
	-webkit-backdrop-filter: blur(4px);
	background-color: rgba(255, 255, 255, 0);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 800;
}

#header #headerInner .header__modal-backdrop.is-show {
	opacity: 1;
	pointer-events: auto;
}

/* ================================
  Footer
================================== */

.footer__upper {
	align-items: center;
	display: flex;
	justify-content: space-between;
	max-width: 750px;
}

.footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.footer__upper-right {
	align-items: center;
	display: flex;
	gap: 10px;
}

.footer__icon-mail {
	height: auto;
	width: 25px;
}

.footer__icon-search {
	height: auto;
	width: 45px;
}

/* ================================
  contact form7
================================== */

/* ラジオボタンを擬似にチェックボックスにする */

.contact__radio input[type=radio] {
	display: none; /* デフォルトのラジオボタンを非表示に */
}

/* 各選択肢の全体ラッパーに相対位置 */

.contact__radio .wpcf7-list-item {
	align-items: center;
	display: inline-flex;
	line-height: 1.6;
	margin-right: 20px;
	position: relative;
}

.contact__radio .wpcf7-list-item label {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	line-height: 1.6;
	padding-left: 28px;
	position: relative;
}

/* 擬似チェックボックス */

.contact__radio .wpcf7-list-item label::before {
	background: #fff;
	border: 2px solid #333;
	border-radius: 3px;
	box-sizing: border-box;
	content: "";
	height: 18px;
	left: 0;
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	width: 18px;
}

/* チェックマーク（✓風） */

.contact__radio input[type=radio]:checked + .wpcf7-list-item-label::after {
	border: solid #007acc;
	border-width: 0 2px 2px 0;
	content: "";
	height: 12px;
	left: 6px;
	position: absolute;
	top: 47%;
	transform: translateY(-50%) rotate(45deg);
	width: 6px;
}

/* プライバシーポリシー */

.contact__privacy-check input[type=checkbox] {
	display: none;
}

.contact__privacy-container {
	display: flex;
	justify-content: center;
}

.contact__privacy-check {
	cursor: pointer;
	display: inline-block;
	line-height: 1;
}

.contact__privacy-text {
	display: inline-block;
	padding-left: 28px;
	padding-block-end: 10px;
	position: relative;
}

/* 疑似のチェックボックス */

.contact__privacy-text::before {
	background: #fff;
	border: 2px solid #333;
	border-radius: 3px;
	box-sizing: border-box;
	content: "";
	height: 18px;
	left: 0;
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	width: 18px;
}

/* チェックマークを表示 */

.contact__privacy-check input:checked ~ .contact__privacy-text::after {
	border: solid #007acc;
	border-width: 0 2px 2px 0;
	content: "";
	height: 12px;
	left: 6px;
	position: absolute;
	top: 47%;
	transform: rotate(45deg);
	translate: 0 -50%;
	width: 6px;
}

/* 注釈 */

.contact__privacy-note {
	font-size: 0.875em;
	margin-block-start: 0.25em;
	text-align: center;
}

/* 送信ボタンのデフォルト（非アクティブ） */

.submit-disabled {
	background-color: #ccc !important;
	cursor: default;
	pointer-events: none;
}

/* ======================================
  サイトマップ内の検索パート
======================================== */

.sitemap__search-container {
	margin-block: 20px 60px;
}

/* 検索フォーム */

.sitemap__search-form {
	margin-block-end: 20px;
	margin-inline: auto;
	max-width: 250px;
	position: relative;
}

/* SR-only ラベル */

.sitemap__search-label {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* 入力欄：右側にボタンの分だけ余白を確保 */

.sitemap__search-input {
	border: 3px solid #eaeaea;
	border-radius: 4px;
	box-sizing: border-box;
	height: 40px;
	outline: 0;
	padding: 0 86px 0 12px;
	width: 100%;
}

/* 送信ボタン：右端に重ねて縦中央 */

.sitemap__search-submit {
	background: #233d87;
	border: 0;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	height: 28px;
	line-height: 28px;
	padding: 0 10px;
	position: absolute;
	right: 8px;
	top: 50%;
	translate: 0 -50%;
	z-index: 1;
}

/* フォーカス見やすく */

.sitemap__search-input:focus {
	border-color: #233d87;
}

/* ページネーション */

.sitemap__search-pagination .page-numbers .current {
	background: #233d87;
	border-color: #233d87;
	color: #fff;
}

.sitemap__search-pagination .page-numbers .dots {
	border: none; /* 「…」は枠線なし */
	padding: 6px 4px;
}

/* 結果 */

.sitemap__search-results-container {
	margin-block: 40px 100px;
	margin-inline: auto;
	max-width: 840px;
	padding-inline: 20px;
}

.sitemap__search-results {
	display: grid;
	gap: 16px;
}

.sitemap__search-item {
	display: grid;
	grid-template-columns: max-content 1fr; /* 左を内容幅、右を余り全部 */
	-moz-column-gap: 8px;
	align-items: start;
	column-gap: 8px;
	line-height: 1.7;
}

.sitemap__search-date {
	color: #666;
	font-size: 0.95em;
	margin-inline-end: 8px;
	white-space: nowrap;
}

.sitemap__search-title {
	display: block;
	margin-inline-start: 15px;
	overflow-wrap: anywhere;
	text-decoration: underline;
}

/* ページネーション */

.sitemap__pagination-wrapper {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.sitemap__search-pagination {
	margin-inline: auto;
	text-align: center;
}

.sitemap__search-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.sitemap__search-pagination .page-numbers li {
	display: inline-block;
}

.sitemap__search-pagination .page-numbers a,
.sitemap__search-pagination .page-numbers span {
	border: 1px solid #ccd;
	border-radius: 3px;
	box-sizing: border-box;
	display: inline-block;
	line-height: 1;
	min-width: 34px;
	padding: 6px 10px;
	text-align: center;
	text-decoration: none;
}

.sitemap__search-pagination .page-numbers .current {
	background: #233d87;
	border-color: #233d87;
	color: #fff;
	font-weight: 700;
}

/* 「…」(dots) は枠線なし */

.sitemap__search-pagination .page-numbers .dots {
	border: none;
	padding: 6px 4px;
}

/* リセットボタン */

.sitemap__search-reset {
	margin-top: 16px;
}

.sitemap__search-reset-btn {
	border: 1px solid #233d87;
	border-radius: 4px;
	color: #233d87;
	display: inline-block;
	padding: 8px 14px;
	text-decoration: none;
}

.sitemap__search-reset-btn:hover {
	background: #233d87;
	color: #fff !important;
	text-decoration: none;
}

.sitemap__search-empty-wrapper {
	text-align: center;
}

/* クイック検索コンテナ */

.sitemap__search-quick {
	margin-block-start: 30px;
	text-align: center;
}

.sitemap__search-quick-title {
	font-size: 18px;
	font-weight: 700;
	margin-block-end: 15px;
}

/* 並び：横並び・折り返し */

.sitemap__search-quick-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sitemap__search-quick-item {
	margin: 0;
}

/* キーワード */

.sitemap__search-chip {
	border: 1px solid #233d87;
	border-radius: 4px;
	color: #233d87;
	display: inline-block;
	line-height: 1;
	padding: 4px 14px;
	text-decoration: none!important;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.sitemap__search-chip:hover {
	background: #233d87;
	color: #fff !important;
	text-decoration: none;
}

/* アクティブなキーワード（現在のqと一致） */

.sitemap__search-chip--active {
	background: #233d87;
	border-color: #233d87;
	color: #fff !important;
	pointer-events: none; /* 同じ結果へはクリック不可に */
}

/* ======================================
  レスポンシブ
======================================== */

@media screen and (min-width: 770px) and (max-width: 1025px) {

#header #headerInner .logo {
	width: clamp(160px, 160px + 70 * (100vw - 770px) / 255, 230px);
}

#header #headerInner .pc-nav > li {
	font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 770px) / (1025 - 770))), 16px);
}

#header #headerInner .header__mail-link a {
	padding-block-start: 30px
}
	
#header #headerInner .pc-nav > li span {
	padding: 0;
}

#header #headerInner .header__icon-mail,
#header #headerInner .header__icon-search {
	width: 20px;
}

#header #headerInner .header__icon-search {
	margin-inline: 10px 0;
}

}

@media screen and (max-width: 769px) {

.show__sp {
	display: block;
}

.footer__upper {
	align-items: flex-start;
	flex-direction: column;
}

.footer__menu {
	gap: 10px;
}

.footer__upper-right {
	gap: 7px;
}

.footer__icon-mail {
	width: 20px;
}

.footer__icon-search {
	width: 36px;
}

.sitemap__search-title {
	margin-inline-start: 0;
}

}