@charset "utf-8";
/* * {
	outline: 1px solid red;
} */

:root {
	--black: #333333;
	--white: #f8f8f8;
	--blue: #1f4596;
	--darkblue: #00275e;
	--lightblue: #0085c8;
	--waterblue: #e5f0fc;
	--iceblue: #f0f8ff;
	--red: #da2e2e;
	--mainfont: 'Noto Sans JP', sans-serif;
}
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--mainfont);
	position: relative;
	color: var(--black);
	background-color: white;
}

td {
	word-break: auto-phrase;
}

h1 {
	font-size: clamp(2rem, 1.111rem + 1.85vw, 2.5rem);
}
h2 {
	font-size: clamp(2rem, 1.111rem + 1.85vw, 2.5rem);
}

h3 {
	font-size: clamp(1.5rem, 0.611rem + 1.85vw, 2rem);
}

/* 共通のインナー */
.c-inner {
	width: min(94%, 1200px);
	margin: 0 auto;
}

.page-inner {
	margin-top: 3rem;
}

/* 共通の余白 */
.c-margin {
	margin-top: 3rem;
	margin-bottom: clamp(5rem, -3.889rem + 18.52vw, 10rem);
}

.faq-inner {
	width: min(80%, 900px);
	margin: 0 auto;
}

/* ---------------------------------------header--------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 5rem;
	background-color: #f8f8f8;
}

.header_inner {
	height: 100%;
	width: min(94%, 1200px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header_logo {
	width: 150px;
}

.header_logo a {
	display: inline-block;
	height: 100%;
}

.header_nav {
	display: flex;
	align-items: center;
	gap: 2rem;
	font-size: 14px;
}

.header_nav > ul {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}

.header_nav li {
	position: relative;
}

.header_nav > ul > li > a {
	display: inline-block;
	text-decoration: none;
	padding: 0.5rem;
	position: relative;
}

.header_nav > ul > li > a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: center top;
	transition: transform 0.3s;
}

.header_nav > ul > li > a:hover::after {
	transform: scaleX(1);
}

/* サブメニュー（PC用：初期非表示） */
.header_nav > ul > li > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--blue);
	width: 240px;
	padding: 10px 0;
	list-style: none;
}

.header_nav > ul > li > ul li a {
	display: block;
	color: var(--white);
	text-decoration: none;
	padding: 0.5rem 1rem;
}

/* PC ホバーで表示 */
@media (min-width: 1001px) {
	.header_nav > ul > li:hover > ul {
		display: block;
	}
}

/* -----------------------------
   ハンバーガー
----------------------------- */

#menu_btn {
	display: none;
}

/* -----------------------------
   スマホ用
----------------------------- */
@media (max-width: 1000px) {
	#menu_btn {
		display: block;
		width: 30px;
		height: 24px;
		position: relative;
		z-index: 3;
		cursor: pointer;
	}

	#menu_btn span,
	#menu_btn span::before,
	#menu_btn span::after {
		content: '';
		height: 2px;
		width: 100%;
		border-radius: 3px;
		background: var(--blue);
		position: absolute;
		transition: 0.2s;
	}

	#menu_btn span {
		top: 0;
	}

	#menu_btn span::before {
		top: 8px;
	}

	#menu_btn span::after {
		top: 16px;
	}

	#menu_btn.open span {
		background: var(--white);
		top: 8px;
		transform: rotate(45deg);
	}

	#menu_btn.open span::before {
		opacity: 0;
	}

	#menu_btn.open span::after {
		background: var(--white);
		top: 0;
		transform: rotate(-90deg);
	}

	.header_nav {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		width: 100%;
		height: 100vh;
		position: fixed;
		top: 0;
		right: -120%;
		background: var(--blue);
		color: var(--white);
		transition: 0.5s;
		padding: 5rem 2rem 2rem;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.header_nav.open {
		right: 0;
	}

	.header_nav > ul {
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 1rem;
	}
	.header_nav > ul > li {
		display: block;
		position: static;
		width: 100%;
		border-bottom: 1px solid var(--white);
		padding: 0.5rem 0;
	}

	.header_nav > ul > li > a {
		display: block;
		color: var(--white);
	}

	.header_nav > ul > li > ul {
		display: block;
		position: static;
		transform: none;
		background: none;
		width: 100%;
		padding: 0;
		margin: 0.5rem 0 0 1rem;
	}

	.header_nav > ul > li > ul li {
		padding: 0.3rem 0;
	}

	.header_nav > ul > li > ul li a {
		color: var(--white);
		font-size: 0.9rem;
		display: block;
	}
}

/* ---------------------------------------footer--------------------------------------- */

.footer {
	border-top: 1px solid var(--blue);
}

.footer_inner {
	height: 100%;
}

.footer-info {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-block: 2rem;
	gap: 10%;
	height: 360px;
}

.footer-info__wrap {
	height: 100%;
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footer-info__container {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.footer-info__box {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 1rem;
}

.footer-info__box img {
	width: 200px;
}

.footer-info__sns {
	display: flex;
	justify-content: space-evenly;
}
.footer-info__sns i {
	font-size: 1.5rem;
}

.footer-info .page_link_btn {
	margin-top: inherit;
}

.footer-info iframe {
	flex-basis: 100%;
	height: 100%;
}

.footer-info__address {
	width: fit-content;
}

.footer-info__address td {
	width: max-content;
}

.footer-circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: #f5f5f5;
	padding: 1.5em 0.75em;
	text-align: center;
}

.footer-gnavi,
.copyright {
	background-color: var(--darkblue);
	color: #fff;
}
.footer_nav {
	padding-block: 3rem;
	font-size: 14px;
}

.footer_nav > ul {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap; /* メニューが多いとき折り返し */
	max-width: 100%; /* はみ出さない */
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer_nav li {
	flex: 1 1 auto;
}

.footer_nav li a {
	display: block;
	padding: 0.5rem 1rem;
	white-space: normal;

	text-decoration: none;
	width: 100%;
}

/* サブメニュー */
.footer .sub-menu {
	display: block;
	position: static;
	transform: none;
	background: none;
	width: 100%;
	margin: 0.5rem 0 0 1rem;
}

.footer .sub-menu a {
	height: fit-content;
	width: fit-content;
}
.copyright {
	text-align: center;
	font-size: 12px;
	padding-block: 12px;
}

/* SP用: 縦並び */
@media (max-width: 1000px) {
}

/* Responsive Styles */
@media (max-width: 1000px) {
	.footer-info {
		flex-direction: column;
		height: auto;
		gap: 2rem;
	}

	.footer-info__wrap {
		width: 100%;
		flex-basis: 300px;
	}

	.footer-info iframe {
		width: 100%;
		flex-basis: 300px;
	}

	.footer-info__container {
		justify-content: center;
		gap: 2rem;
	}

	.footer-info__address {
		margin-inline: auto;
	}
	.footer_nav > ul {
		flex-direction: column;
		align-items: stretch; /* 左右いっぱいにする */
	}

	.footer_nav li {
		width: fit-content;
		text-align: left; /* 必要に応じて左寄せ */
	}

	.footer_nav li a {
		width: 100%;
	}
	.footer_nav > ul {
		flex-direction: column;
	}

	.sns {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.footer .sns ul {
		flex-direction: column;
	}
}

/* ----------------------------------------共通ボタン---------------------------------------- */

.page_link_btn {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
}

.page_link_btn a {
	width: max-content;
	position: relative;
	display: inline-block;
	background-image: linear-gradient(90deg, #001e47, #013d95);
	padding: 0.5rem 3rem;
	font-size: 1rem;
	color: #fff;
	letter-spacing: 0.1rem;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	border-radius: 20px;
}

.page_link_btn a::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 27px;
	width: 9px;
	height: 9px;
	margin: auto;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
}

/* --------------------.wp-pagenavi------------------------- */
.wp-pagenavi {
	margin: 40px auto;
	font-size: 14px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
}
.wp-pagenavi a {
	color: #333;
}
.wp-pagenavi a:hover {
	color: #77a0d1;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
	margin: 0 10px;
	line-height: 2;
	padding: 0 12px;
	transition: 0.03s;
	display: block;
	border-bottom: 4px solid transparent;
}
.wp-pagenavi span.current {
	border-bottom: 4px solid #77a0d1;
}
.wp-pagenavi a.page {
	background: none;
}
.wp-pagenavi a.page:hover {
	border-bottom: 4px solid #77a0d1;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
	margin-right: 15px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	display: none;
}

/* 右下に固定 */
/*---------------------------ページトップへ戻るボタン---------------------------*/
#page-top {
	position: fixed;
	right: 5px;
	bottom: 20px;
	height: 50px;
	text-decoration: none;
	font-weight: bold;
	transform: rotate(90deg);
	font-size: 90%;
	line-height: 1.5rem;
	color: #1f1f1f;
	padding: 0 0 0 35px;
	border-top: solid 1px;
	z-index: 20;
}

#page-top::before {
	content: '';
	display: block;
	position: absolute;
	top: -1px;
	left: 0px;
	width: 15px;
	border-top: solid 1px;
	transform: rotate(35deg);
	transform-origin: left top;
}

/*---------------------------お問い合わせ固定ボタン---------------------------*/
