/* =====================================================================
 * 細かいデザインの調整（2026-11-16。ビルドなし。css/style.css のあとに読み込む。動きは polish.js）
 *
 * 方針（frontend-design の考え方で見直した）
 * - このサイトの個性：脇町の町並みと社員のイラスト、水色と緑、「こんなときはご相談ください」の吹き出しと
 *   12 の「こんなとき」のイラスト。保険の「相談」の窓口。新しい飾りや色は足さず、これを生かす。
 * - 見せ場は 1 つだけ：トップの「こんなときはご相談ください」の吹き出しが、話しかけるように
 *   しっぽの先からぽんとふくらんで現れる（1 回きり）。
 * - ほかは静かに：キーボードで動かしたときの印、「動きを減らす」設定への配慮。
 * ===================================================================== */

/* ------------------------------------------------------------ 見せ場：吹き出しがぽんとふくらむ（トップ） */
html.fr-js #frontpage .soudan_img .tel_soudan {
	opacity: 0;
	transform-origin: 50% 100%;
}
html.fr-js #frontpage .soudan_img.fr-say .tel_soudan {
	animation: fr-say .75s cubic-bezier(.3, 1.45, .5, 1) both;
}
@keyframes fr-say {
	0% { opacity: 0; transform: translateY(8px) scale(.55); }
	45% { opacity: 1; }
	100% { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ キーボードで動かしたときの印（マウス・タップでは出ない） */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid #006934;
	outline-offset: 3px;
	border-radius: 2px;
}

/* ------------------------------------------------------------ 「動きを減らす」設定の人には動きを出さない */
@media (prefers-reduced-motion: reduce) {
	html.fr-js #frontpage .soudan_img .tel_soudan {
		opacity: 1;
		animation: none !important;
	}
}

/* =====================================================================
 * 続き（2026-11-17）：ヘッダーのメニュー・今いるページの印・スマホのメニュー・フッター・お問い合わせの電話
 * - 色は今までのもの（水色 #38abe7・緑 #38b16e）。文字にするときは読みやすい濃さ（水色は #1b7db3）
 * ===================================================================== */
:root {
	--fr-blue: #38abe7;
	--fr-blue-text: #1b7db3;
	--fr-green: #38b16e;
}

/* ------------------------------------------------------------ 広い画面のメニュー：マウスが乗ったとき・今いるページに水色の下線 */
header ul.header-menu li a {
	position: relative;
	display: inline-block;
	padding: .4rem 0;
}
header ul.header-menu li a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.2rem;
	height: 2px;
	background: var(--fr-blue);
	border-radius: 1px;
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
header ul.header-menu li a:hover::after,
header ul.header-menu li a:focus-visible::after,
header ul.header-menu li.fr-current a::after {
	transform: scaleX(1);
}
header ul.header-menu li.fr-current a {
	color: var(--fr-blue-text);
}
/* 区切りの縦線を少し軽く */
header ul.header-menu li::after {
	width: 1px !important;
	background-color: #b9c3c8 !important;
}

/* 電話番号の画像（押すとかけられる） */
header ul#header li.tel a.fr-tel {
	display: block;
	transition: opacity .2s ease;
}
header ul#header li.tel a.fr-tel:hover {
	opacity: .8;
}

/* ------------------------------------------------------------ スマホのメニュー：項目を細い線で区切って右に矢印、今いるページは太字と左の線 */
header ul#mobile-menu {
	font-size: 1.6rem;
	text-align: left;
	margin-bottom: 2.4rem;
	box-shadow: 0 10px 24px -18px rgba(27, 125, 179, .5);
}
header ul#mobile-menu li {
	border-top: 1px solid #d8ecf6;
}
header ul#mobile-menu li:last-child {
	border-bottom: 1px solid #d8ecf6;
}
header ul#mobile-menu li a {
	position: relative;
	padding: 1.7rem 4.4rem 1.7rem 2.4rem;
	color: var(--fr-blue-text);
	letter-spacing: .08em;
	box-sizing: border-box;
	transition: background-color .2s ease;
}
header ul#mobile-menu li a:hover {
	font-weight: inherit;
	background-color: #f2fafe;
}
header ul#mobile-menu li:not(.fr-mobile-tel) a::after {
	content: '';
	position: absolute;
	right: 2.4rem;
	top: 50%;
	width: .7rem;
	height: .7rem;
	border-top: 2px solid var(--fr-blue);
	border-right: 2px solid var(--fr-blue);
	transform: translateY(-50%) rotate(45deg);
}
header ul#mobile-menu li.fr-current a {
	font-weight: bold;
	background-color: #eef8fd;
	box-shadow: inset 4px 0 0 var(--fr-blue);
}
header ul#mobile-menu li.fr-mobile-tel {
	border-top-color: var(--fr-blue);
	background-color: #f7fcff;
}
header ul#mobile-menu li.fr-mobile-tel a {
	padding: 1.6rem 2.4rem;
	text-align: center;
}
header ul#mobile-menu li.fr-mobile-tel img {
	width: 100%;
	max-width: 280px;
	vertical-align: middle;
}

/* ------------------------------------------------------------ フッター：上の段は左に会社名・2 つのオフィス、右にメニュー。細い線の下にリンクとコピーライト */
#footer.fr-footer {
	background-color: var(--fr-green);
	color: #fff;
	padding: 5.2rem 0 0;
	letter-spacing: .06em;
}
#footer.fr-footer p {
	text-align: left;
	padding: 0;
	margin: 0;
	letter-spacing: inherit;
}
#footer.fr-footer a {
	color: #fff;
}
#footer.fr-footer a:hover {
	font-weight: inherit;
}
.fr-footer__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 4%;
	box-sizing: border-box;
}
.fr-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 4rem;
}
#footer.fr-footer .fr-footer__name {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: .1em;
	margin-bottom: 2rem;
}
.fr-footer__offices {
	display: flex;
	gap: 4.8rem;
}
.fr-footer__office {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.85;
}
.fr-footer__office dt {
	font-weight: bold;
	font-size: 1.4rem;
	margin-bottom: .4rem;
}
.fr-footer__office dd {
	margin: 0;
}
.fr-footer__office dd.addr {
	margin-bottom: .4rem;
}
.fr-footer__office .label {
	display: inline-block;
	width: 3.4em;
	font-size: 1.1rem;
	opacity: .8;
}
.fr-footer__office a {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .5);
	text-underline-offset: .25em;
}
.fr-footer__office a:hover {
	text-decoration-color: #fff;
}
#footer.fr-footer .fr-footer__hours {
	margin-top: 1.8rem;
	font-size: 1.2rem;
	opacity: .9;
}
.fr-footer__nav ul {
	display: grid;
	grid-template-rows: repeat(4, auto);
	grid-auto-flow: column;
	gap: 1.3rem 4.8rem;
	margin: 0;
	padding: .4rem 0 0;
	list-style: none;
}
.fr-footer__nav a {
	position: relative;
	display: inline-block;
	padding-left: 1.6rem;
	font-size: 1.4rem;
	white-space: nowrap;
}
.fr-footer__nav a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: .8rem;
	height: 1px;
	background: rgba(255, 255, 255, .7);
	transition: width .2s ease;
}
.fr-footer__nav a:hover::before {
	width: 1.1rem;
}
.fr-footer__nav a:hover,
.fr-footer__links a:hover {
	text-decoration: underline;
	text-underline-offset: .3em;
}
.fr-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.2rem 3.2rem;
	margin-top: 4rem;
	padding: 2rem 0 2.4rem;
	border-top: 1px solid rgba(255, 255, 255, .35);
}
.fr-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem 2.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.2rem;
}
#footer.fr-footer .fr-footer__copy {
	font-size: 1.1rem;
	opacity: .85;
	white-space: nowrap;
}
#footer.fr-footer a:focus-visible {
	outline-color: #fff;
}
@media only screen and (max-width: 1024px) {
	.fr-footer__top {
		flex-direction: column;
		gap: 3.2rem;
	}
	.fr-footer__nav ul {
		grid-template-rows: repeat(2, auto);
	}
}
@media only screen and (max-width: 820px) {
	#footer.fr-footer {
		padding: 4rem 0 0;
	}
	.fr-footer__inner {
		padding: 0 2.4rem;
	}
	.fr-footer__offices {
		flex-direction: column;
		gap: 2rem;
	}
	.fr-footer__nav {
		width: 100%;
	}
	.fr-footer__nav ul {
		grid-template-rows: none;
		grid-auto-flow: row;
		grid-template-columns: 1fr 1fr;
		gap: 1.4rem 1.6rem;
	}
	.fr-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 3.2rem;
		padding-bottom: 3.2rem;
	}
	#footer.fr-footer .fr-footer__copy {
		white-space: normal;
	}
}

/* ------------------------------------------------------------ お問い合わせ：電話番号を押してかけられるように。スマホの見出しが 1 文字だけ折り返さないように */
#contact-tell .tell a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(56, 171, 231, .5);
	text-underline-offset: .2em;
}
#contact-tell .tell a:hover {
	font-weight: inherit;
	text-decoration-color: var(--fr-blue);
}
@media only screen and (max-width: 820px) {
	div#contact-tell .head {
		font-size: 2rem;
		line-height: 1.5;
	}
}

@media (prefers-reduced-motion: reduce) {
	header ul.header-menu li a::after,
	header ul#mobile-menu li a,
	.fr-footer__nav a::before {
		transition: none;
	}
}
/* 「お問い合わせ」を途中で折り返さない（page-contact.php の span） */
.fr-nowrap {
	display: inline-block;
}

/* =====================================================================
 * 新着情報の一覧（2026-11-17。トップの #top-news と /news-list の #list。同じ形）
 * - 灰色の枠と影の箱をやめて、白いカードに。1 行に日付（緑）・タイトル・丸い矢印。行は細い線で区切る
 * - マウスが乗ったら行の地が薄い水色になり、矢印の丸が水色に塗られて少し右へ（太字にしない＝ずれない）
 * - スマホは日付をタイトルの上に
 * ===================================================================== */
#frontpage #news_0 ul#top-news.fr-news,
#news-list .newslist ul#list.fr-news {
	width: auto;
	max-width: 960px;
	margin: 0 auto;
	padding: .8rem 3.2rem;
	box-sizing: border-box;
	background: rgba(255, 255, 255, .92);
	border: 0;
	border-radius: 14px;
	box-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
	text-align: left;
	list-style: none;
}
#news-list .newslist {
	width: 90%;
	max-width: 960px;
	margin: 4rem auto 6rem;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
.fr-news li {
	width: auto !important;
	margin: 0 !important;
	border-bottom: 1px solid #e4eef3 !important;
	font-size: inherit !important;
}
.fr-news li:last-child {
	border-bottom: 0 !important;
}
#frontpage #news_0 ul#top-news.fr-news li a,
#news-list .fr-news li a {
	position: relative;
	display: grid;
	grid-template-columns: 9.6em 1fr 3.2rem;
	align-items: center;
	gap: 0 2.4rem;
	padding: 2.2rem 1.6rem !important;
	margin: 0 -1.6rem;
	border-radius: 10px;
	color: #3a3f42;
	text-decoration: none;
	transition: background-color .25s ease;
}
.fr-news li a:hover {
	font-weight: inherit !important;
	color: #3a3f42 !important;
	background-color: #f1f9fd;
}
.fr-news .date {
	padding: 0 !important;
	font-family: 'Lato', sans-serif;
	font-size: 1.4rem !important;
	line-height: 1.4 !important;
	letter-spacing: .08em;
	color: #2b9a5d;
	font-weight: bold;
	font-variant-numeric: tabular-nums;
}
.fr-news .title {
	font-size: 1.6rem;
	line-height: 1.6;
	letter-spacing: .06em;
	transition: color .25s ease;
}
.fr-news li a:hover .title {
	color: var(--fr-blue-text);
}
.fr-news li a::after {
	content: '';
	justify-self: end;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 50%;
	box-sizing: border-box;
	border: 1px solid #cfe6f2;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338abe7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
	transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .25s ease, border-color .25s ease;
}
.fr-news li a:hover::after {
	transform: translateX(3px);
	border-color: var(--fr-blue);
	background-color: var(--fr-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* 前の CSS のタイトルの後ろの「›」（FontAwesome）を消す。矢印は丸の方だけ */
#news-list #list.fr-news .title::after,
#frontpage ul#top-news.fr-news .title::after {
	content: none;
	display: none;
}

/* トップ：一覧へのリンク */
:is(#news_0, #single-news) .fr-news-more {
	margin: 2.8rem 0 0;
	text-align: center;
}
:is(#news_0, #single-news) .fr-news-more a {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.2rem 2.8rem;
	border: 1px solid var(--fr-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--fr-blue-text);
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: .1em;
	transition: background-color .25s ease, color .25s ease;
}
:is(#news_0, #single-news) .fr-news-more a::after {
	content: '';
	width: .6rem;
	height: .6rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
}
:is(#news_0, #single-news) .fr-news-more a:hover {
	font-weight: bold;
	background: var(--fr-blue);
	color: #fff;
}
:is(#news_0, #single-news) .fr-news-more a:hover::after {
	transform: translateX(3px) rotate(45deg);
}

/* 新着情報のページ：ページ送りを丸いボタンに */
#news-list nav.fr-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: .8rem;
	margin: 4rem auto 0;
	font-size: 1.5rem;
}
#news-list nav.fr-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.4rem;
	height: 4.4rem;
	padding: 0 1.2rem;
	box-sizing: border-box;
	border-radius: 999px;
	border: 1px solid #cfe6f2;
	background: #fff;
	color: var(--fr-blue-text);
	font-family: 'Lato', sans-serif;
	font-weight: bold;
	transition: background-color .2s ease, border-color .2s ease;
}
#news-list nav.fr-pager a.page-numbers:hover {
	border-color: var(--fr-blue);
	background: #f1f9fd;
}
#news-list nav.fr-pager .page-numbers.current {
	border-color: var(--fr-green);
	background: var(--fr-green);
	color: #fff;
}
#news-list nav.fr-pager .page-numbers.dots {
	border: 0;
	background: none;
	min-width: 0;
}
#news-list nav.fr-pager .prev,
#news-list nav.fr-pager .next {
	font-size: 2rem;
	font-weight: normal;
}
.fr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media only screen and (max-width: 820px) {
	#frontpage #news_0 ul#top-news.fr-news,
	#news-list .newslist ul#list.fr-news {
		width: 90%;
		padding: .4rem 2rem;
		border-radius: 12px;
	}
	#news-list .newslist {
		width: 100%;
		margin: 2.4rem auto 4.8rem;
	}
	#frontpage #news_0 ul#top-news.fr-news li a,
	#news-list .fr-news li a {
		grid-template-columns: 1fr 2.8rem;
		grid-template-rows: auto auto;
		gap: .4rem 1.6rem;
		padding: 1.8rem 1.2rem !important;
		margin: 0 -1.2rem;
	}
	.fr-news .date {
		grid-column: 1;
		grid-row: 1;
		font-size: 1.3rem !important;
	}
	.fr-news .title {
		grid-column: 1;
		grid-row: 2;
		font-size: 1.5rem;
	}
	.fr-news li a::after {
		grid-column: 2;
		grid-row: 1 / span 2;
		width: 2.8rem;
		height: 2.8rem;
		background-size: 1.2rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.fr-news li a,
	.fr-news li a::after,
	.fr-news .title,
	:is(#news_0, #single-news) .fr-news-more a,
	:is(#news_0, #single-news) .fr-news-more a::after {
		transition: none;
	}
}

/* =====================================================================
 * 記事のページ（2026-11-17。single.php。新着情報の一覧と同じテイスト）
 * - 灰色の影の箱をやめて白いカードに。上に緑の日付、その下に濃い文字のタイトル、細い線で本文と分ける
 * - 本文は読みやすい大きさと行間。画像は元の大きさまで（小さい画像を引き伸ばさない）、縦長の画像は高さを抑える、角を少し丸く
 * - 前の記事・次の記事は記事の名前を出すカード（水色の丸い矢印）。カードの下に「新着情報の一覧へ」
 * ===================================================================== */
#single-news .post.fr-entry {
	width: 90%;
	max-width: 880px;
	margin: 4rem auto 0;
	padding: 6rem 8rem 5.6rem;
	box-sizing: border-box;
	background: rgba(255, 255, 255, .94);
	border-radius: 14px;
	box-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
	line-height: 1.5;
	color: #3a3f42;
}
#single-news .fr-entry__head {
	padding-bottom: 2.8rem;
	margin-bottom: 3.6rem;
	border-bottom: 1px solid #e4eef3;
}
#single-news .post.fr-entry .fr-entry__date {
	margin: 0 0 1rem;
	font-family: 'Lato', sans-serif;
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: .08em;
	color: #2b9a5d;
}
#single-news .post.fr-entry h2.fr-entry__title {
	margin: 0;
	font-size: 2.6rem;
	font-weight: bold;
	line-height: 1.55;
	letter-spacing: .06em;
	color: #2f3436;
}
#single-news .post.fr-entry .fr-entry__body p {
	margin: 0 0 1.2em;
	font-size: 1.6rem;
	line-height: 2;
	letter-spacing: .05em;
}
#single-news .post.fr-entry .fr-entry__body a {
	color: var(--fr-blue-text);
	text-decoration: underline;
	text-decoration-color: rgba(56, 171, 231, .5);
	text-underline-offset: .25em;
	overflow-wrap: anywhere;
	transition: text-decoration-color .2s ease;
}
#single-news .post.fr-entry .fr-entry__body a:hover {
	font-weight: inherit;
	text-decoration-color: currentColor;
}
#single-news .post.fr-entry .fr-entry__body img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 640px;
	margin: 2.4rem 0;
	border-radius: 10px;
}
#single-news .post.fr-entry .fr-entry__body img.aligncenter {
	margin-left: auto;
	margin-right: auto;
}
#single-news .post.fr-entry .fr-entry__body table {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	border-collapse: collapse;
}
#single-news .post.fr-entry .fr-entry__body td {
	padding: 1.2rem 1.6rem;
	background: #f4fafd;
	border-radius: 8px;
}
#single-news .post.fr-entry .fr-entry__body td p {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.8;
}

/* 前の記事・次の記事 */
#single-news .post.fr-entry .fr-entry__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem;
	margin: 4.8rem 0 0;
	padding-top: 3.2rem;
	border-top: 1px solid #e4eef3;
	font-size: inherit;
	text-align: left;
}
#single-news .fr-entry__nav a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	min-width: 0;
	padding: 1.6rem 2rem 1.6rem 5.6rem;
	border: 1px solid #d8ecf6;
	border-radius: 10px;
	background: #fff;
	color: #3a3f42;
	transition: background-color .25s ease, border-color .25s ease;
}
#single-news .fr-entry__nav a.fr-entry__next {
	grid-column: 2;
	padding: 1.6rem 5.6rem 1.6rem 2rem;
	text-align: right;
}
#single-news .fr-entry__nav a:hover {
	font-weight: inherit;
	border-color: var(--fr-blue);
	background: #f1f9fd;
}
#single-news .fr-entry__nav .label {
	font-size: 1.2rem;
	font-weight: bold;
	letter-spacing: .1em;
	color: var(--fr-blue-text);
}
#single-news .fr-entry__nav .name {
	font-size: 1.4rem;
	line-height: 1.6;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
#single-news .fr-entry__nav a::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 1.6rem;
	width: 2.8rem;
	height: 2.8rem;
	margin-top: -1.4rem;
	border-radius: 50%;
	box-sizing: border-box;
	border: 1px solid #cfe6f2;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338abe7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6l-6 6 6 6'/%3E%3C/svg%3E") center / 1.2rem no-repeat;
	transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .25s ease, border-color .25s ease;
}
#single-news .fr-entry__nav a.fr-entry__next::before {
	left: auto;
	right: 1.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338abe7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
}
#single-news .fr-entry__nav a:hover::before {
	transform: translateX(-3px);
	border-color: var(--fr-blue);
	background-color: var(--fr-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6l-6 6 6 6'/%3E%3C/svg%3E");
}
#single-news .fr-entry__nav a.fr-entry__next:hover::before {
	transform: translateX(3px);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
}
#single-news .fr-news-more {
	margin: 3.2rem 0 0;
	text-align: center;
}

@media only screen and (max-width: 1024px) {
	#single-news .post.fr-entry {
		padding: 5rem 5rem 4.8rem;
	}
}
@media only screen and (max-width: 820px) {
	#single-news .post.fr-entry {
		width: 90%;
		margin-top: 2rem;
		padding: 3.2rem 2.2rem 3.2rem;
		border-radius: 12px;
	}
	#single-news .fr-entry__head {
		padding-bottom: 2rem;
		margin-bottom: 2.4rem;
	}
	#single-news .post.fr-entry h2.fr-entry__title {
		font-size: 2.1rem;
	}
	#single-news .post.fr-entry .fr-entry__body p {
		font-size: 1.5rem;
		line-height: 1.95;
	}
	#single-news .post.fr-entry .fr-entry__body img {
		max-height: 480px;
		margin: 2rem 0;
	}
	#single-news .post.fr-entry .fr-entry__nav {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-top: 3.2rem;
		padding-top: 2.4rem;
	}
	#single-news .fr-entry__nav a.fr-entry__next {
		grid-column: 1;
	}
	#single-news .fr-entry__nav > span:empty {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	#single-news .fr-entry__nav a,
	#single-news .fr-entry__nav a::before,
	#single-news .post.fr-entry .fr-entry__body a {
		transition: none;
	}
}
/* 本文の空の段落（functions.php で fr-spacer を付ける）は小さめの空きに */
#single-news .post.fr-entry .fr-entry__body p.fr-spacer {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
}

/* =====================================================================
 * 短いページでフッターが浮かないように（2026-11-17）
 * - 中身が画面より短いページだけ、polish.js が .contents に足りない分の min-height を付ける（町並みの絵とフッターが画面のいちばん下に着く）
 * - body を flex にする方法は、中身の最後の余白と町並みの絵の上の余白が重ならなくなり、ほとんどのページで絵が 64px 下がるのでやめた
 * ===================================================================== */

/* =====================================================================
 * スタッフ紹介（2026-11-17。page-staff.php）
 * - 太い水色の線で区切った 1 列をやめて、白いカードを並べる（広い画面は 3 列、タブレットとスマホは 2 列）
 * - カードの上に役職（緑の短い線つき）、大きく名前、その下に小さくよみがな
 * ===================================================================== */
#staff-list .fr-staff__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	width: 90%;
	max-width: 960px;
	margin: 4.8rem auto 6rem;
	padding: 0;
	list-style: none;
}
#staff-list .fr-staff__card {
	position: relative;
	padding: 2.6rem 2.4rem 2.4rem;
	background: rgba(255, 255, 255, .94);
	border-radius: 14px;
	box-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
	letter-spacing: .06em;
	color: #2f3436;
	overflow: hidden;
}
#staff-list .fr-staff__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 2.4rem;
	right: 2.4rem;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--fr-green), var(--fr-blue));
	opacity: .85;
}
#staff-list .fr-staff__pos {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin: 0 0 1.4rem;
	font-size: 1.3rem;
	font-weight: bold;
	color: #2b9a5d;
}
#staff-list .fr-staff__pos::before {
	content: '';
	width: 1.4rem;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}
#staff-list .fr-staff__name {
	margin: 0;
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: .12em;
}
#staff-list .fr-staff__yomi {
	margin: .4rem 0 0;
	font-size: 1.2rem;
	color: #7b8589;
	letter-spacing: .14em;
}
#staff-list .fr-staff__syokai {
	margin: 1.6rem 0 0;
	padding-top: 1.4rem;
	border-top: 1px solid #e4eef3;
	font-size: 1.4rem;
	line-height: 1.9;
	color: #3a3f42;
}
@media only screen and (max-width: 1024px) {
	#staff-list .fr-staff__list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 820px) {
	#staff-list .fr-staff__list {
		gap: 1.2rem;
		margin: 2.4rem auto 4.8rem;
	}
	#staff-list .fr-staff__card {
		padding: 2rem 1.6rem 1.8rem;
		border-radius: 12px;
	}
	#staff-list .fr-staff__card::before {
		left: 1.6rem;
		right: 1.6rem;
	}
	#staff-list .fr-staff__pos {
		font-size: 1.15rem;
		margin-bottom: 1rem;
	}
	#staff-list .fr-staff__name {
		font-size: 1.9rem;
		letter-spacing: .08em;
	}
	#staff-list .fr-staff__yomi {
		font-size: 1.1rem;
		letter-spacing: .08em;
	}
}

/* =====================================================================
 * お客様の声（2026-11-17。page-voice.php）：投稿がないときの案内と、声の並びを、ほかのページと同じ白いカードに
 * ===================================================================== */
div#customer-voice div.voice-loop {
	width: 90%;
	max-width: 760px;
}
div#customer-voice div.voice-loop p.no-post {
	padding: 4rem 2rem;
	background: rgba(255, 255, 255, .9);
	border-radius: 14px;
	box-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
	font-size: 1.6rem;
	letter-spacing: .08em;
	color: #2b9a5d;
}
div#customer-voice ul.loop {
	display: grid;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
div#customer-voice ul.loop > li {
	padding: 3.2rem 3.6rem;
	background: rgba(255, 255, 255, .94);
	border-radius: 14px;
	box-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
}
div#customer-voice ul.loop > li.is-hidden {
	display: none;
}
div#customer-voice div.voice-loop div.title {
	padding: 0 0 1.6rem;
	border-left: 0;
	border-bottom: 1px solid #e4eef3;
}
div#customer-voice div.voice-loop div.title h3 {
	font-size: 2rem;
	line-height: 1.5;
	color: #2b9a5d;
}
div#customer-voice div.voice-loop div.title p {
	font-size: 1.3rem;
	color: #7b8589;
	margin-top: .6rem;
}
div#customer-voice div.voice-loop p.voice {
	margin: 1.6rem 0 0;
	padding: 0;
	border: 0;
	font-size: 1.5rem;
	line-height: 2;
	color: #3a3f42;
}
@media only screen and (max-width: 820px) {
	div#customer-voice ul.loop > li {
		padding: 2.4rem 2rem;
	}
}

/* =====================================================================
 * 全ページを同じテイストに（2026-11-17。ユーザーの依頼「調整したところと元々のところがバラバラ」）
 * 共通の形：白いカード（角丸 14px・水色のうすい影）、中の区切りは #e4eef3 の細い線、小見出しは緑 #2b9a5d、
 *           リンク・ボタンは水色の丸いボタン（枠 1px、マウスで水色に塗られる）
 * 対象：トップの「取扱保険会社」とオフィスの案内、全ページの Facebook のボタン、会社概要（見出し・表・アクセス・社訓・沿革）、
 *       採用情報、勧誘方針、プライバシーポリシー、サイトマップ、404
 * ===================================================================== */
:root {
	--fr-card-bg: rgba(255, 255, 255, .94);
	--fr-card-shadow: 0 16px 40px -28px rgba(27, 125, 179, .55), 0 0 0 1px rgba(56, 171, 231, .12);
	--fr-line: #e4eef3;
	--fr-green-text: #2b9a5d;
	--fr-text: #3a3f42;
}

/* ------------------------------------------------------------ 丸いボタン（共通） */
#frontpage #toriatukaihoken a.square_btn,
#frontpage div#front-map ul li a[href*="goo.gl"],
.not_f .gotop.fr-pill a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	border: 1px solid var(--fr-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--fr-blue-text);
	font-weight: bold;
	letter-spacing: .1em;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
#frontpage #toriatukaihoken a.square_btn::after,
#frontpage div#front-map ul li a[href*="goo.gl"]::after,
.not_f .gotop.fr-pill a::after {
	content: '';
	width: .6rem;
	height: .6rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
}
#frontpage #toriatukaihoken a.square_btn:hover,
#frontpage div#front-map ul li a[href*="goo.gl"]:hover,
.not_f .gotop.fr-pill a:hover {
	background: var(--fr-blue);
	color: #fff;
	font-weight: bold;
}
#frontpage #toriatukaihoken a.square_btn:hover::after,
#frontpage div#front-map ul li a[href*="goo.gl"]:hover::after,
.not_f .gotop.fr-pill a:hover::after {
	transform: translateX(3px) rotate(45deg);
}

/* トップの「取扱保険会社」 */
#frontpage #toriatukaihoken {
	margin: 4rem auto;
	font-size: inherit;
	letter-spacing: normal;
}
#frontpage #toriatukaihoken a.square_btn {
	padding: 1.6rem 4.8rem;
	box-shadow: var(--fr-card-shadow);
}
#frontpage #toriatukaihoken a.square_btn h2 {
	font-size: 2rem;
	letter-spacing: .14em;
}
#frontpage #toriatukaihoken a.square_btn h2::before {
	content: none;
}

/* ------------------------------------------------------------ トップのオフィスの案内：水色の大きな箱をやめて、2 枚の白いカードに */
#frontpage div#front-map {
	margin-top: 4rem;
	padding: 0 4%;
	background: none;
}
#frontpage div#front-map ul.info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
#frontpage div#front-map ul.info > li {
	margin: 0;
	padding: 3.2rem 3.6rem;
	background: var(--fr-card-bg);
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
}
#frontpage div#front-map ul.info > li h3 {
	margin: 0 0 1.6rem;
	padding: 0 0 1.4rem;
	border-bottom: 1px solid var(--fr-line);
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: .1em;
	text-align: left;
	color: var(--fr-green-text);
}
#frontpage div#front-map ul.info > li p {
	font-size: 1.5rem;
	line-height: 1.9;
	color: var(--fr-text);
}
#frontpage div#front-map ul.info .fr-label {
	display: inline-block;
	width: 3.4em;
	font-size: 1.2rem;
	color: #7b8589;
}
#frontpage div#front-map ul.info > li p a {
	color: var(--fr-blue-text);
	text-decoration: underline;
	text-decoration-color: rgba(56, 171, 231, .5);
	text-underline-offset: .25em;
}
#frontpage div#front-map ul li a[href*="goo.gl"] {
	min-width: 0;
	margin: 2rem 0 0;
	padding: 1rem 2.4rem;
	font-size: 1.4rem;
}
#frontpage div#front-map section.time {
	margin: 2.4rem 0 0;
	font-size: 1.4rem;
	line-height: 1.9;
	color: var(--fr-text);
}

/* ------------------------------------------------------------ Facebook のボタン（全ページ）：太い水色の枠の箱を、白い丸いボタンに。全体を押せるように */
div.fb {
	position: relative;
	width: auto;
	max-width: 420px;
	margin: 5.6rem auto;
	padding: 1.2rem 2.8rem;
	box-sizing: border-box;
	border: 1px solid rgba(56, 171, 231, .45);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--fr-card-shadow);
	font-size: 1.6rem;
	letter-spacing: .08em;
	transition: background-color .25s ease, border-color .25s ease;
}
div.fb:hover {
	background: #f1f9fd;
	border-color: var(--fr-blue);
}
div.fb:hover a {
	color: var(--fr-blue-text);
}
div.fb ul {
	justify-content: center;
	gap: 1.2rem;
	padding: 0;
}
div.fb ul li,
div.fb ul li:first-child {
	width: auto;
	margin: 0;
}
div.fb ul li:first-child img {
	display: block;
	width: 2.8rem;
	height: auto;
}
div.fb a {
	color: var(--fr-blue-text);
	font-weight: bold;
}
div.fb a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 999px;
}

/* ------------------------------------------------------------ 会社概要 */
/* 見出し：先頭の「■」をやめて、緑の短い縦線 */
#company #company-1 h2,
#company #company-1 div.company-info h2,
#company #company-1 div.company-info2 h2,
#company #company-1 div.company-info4 h2 {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	width: auto;
	max-width: 880px;
	margin: 6rem auto 2.4rem;
	padding: 0 2rem;
	box-sizing: border-box;
	font-size: 2.2rem;
	letter-spacing: .1em;
	color: #2f3436;
}
#company #company-1 h2::before {
	content: '';
	flex: none;
	width: 4px;
	height: 1.3em;
	border-radius: 2px;
	background: linear-gradient(var(--fr-green), var(--fr-blue));
}
#company #company-1 div.company-info,
#company #company-1 div.company-info2,
#company #company-1 div.company-info3,
#company #company-1 div.company-info4 {
	width: 90%;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}
#company #company-1 div.company-info h2,
#company #company-1 div.company-info2 h2,
#company #company-1 div.company-info4 h2 {
	padding: 0;
}
/* 会社概要の表 */
#company #company-1 div.company-info .add {
	width: auto;
	margin: 0;
	padding: 1.2rem 3.2rem;
	background: var(--fr-card-bg);
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	font-size: 1.5rem;
	line-height: 1.9;
	color: var(--fr-text);
}
#company #company-1 div.company-info .add dt,
#company #company-1 div.company-info .add dd {
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--fr-line);
	box-sizing: border-box;
}
#company #company-1 div.company-info .add dt {
	width: 22%;
	color: var(--fr-green-text);
}
#company #company-1 div.company-info .add dd {
	width: 78%;
}
#company #company-1 div.company-info .add dt:nth-last-of-type(1),
#company #company-1 div.company-info .add dd:nth-last-of-type(1) {
	border-bottom: 0;
}
/* アクセス：切り替えボタンを丸いボタンに、地図の角を丸く */
#company #company-1 div.company-info2 ul.button {
	width: auto;
	gap: 1rem;
	margin: 0 0 1.6rem;
	padding: 0;
	flex-wrap: wrap;
}
#company #company-1 div.company-info2 ul.button li:first-child {
	margin-right: 0;
}
#company #company-1 div.company-info2 ul.button li button {
	padding: .9rem 2.2rem;
	border: 1px solid #cfe6f2;
	border-radius: 999px;
	background: #fff;
	color: var(--fr-blue-text);
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: .08em;
	transition: background-color .2s ease, border-color .2s ease;
}
#company #company-1 div.company-info2 ul.button li button:hover {
	border-color: var(--fr-blue);
}
#company #company-1 div.company-info2 ul.button li .active {
	border-color: var(--fr-blue);
	background: var(--fr-blue);
	color: #fff;
}
#company #company-1 div.company-info2 div.googlemap {
	width: 100%;
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
}
/* 社訓：灰色の枠と影の箱を、白いカードに。「社訓」は緑の小さなラベル */
#company #company-1 div.company-info3 {
	padding: 0;
	margin-top: 6rem;
}
#company #company-1 div.company-info3 .box2-2 {
	width: auto;
	margin: 0;
	padding: 5.2rem 4.8rem 3.6rem;
	border: 0;
	border-radius: 14px;
	background: var(--fr-card-bg);
	box-shadow: var(--fr-card-shadow);
	color: var(--fr-text);
}
#company #company-1 div.company-info3 .box2-2 .box2-2-title {
	top: -1.6rem;
	left: 3.2rem;
	padding: .6rem 2rem;
	border: 0;
	border-radius: 999px;
	background: var(--fr-green);
	color: #fff;
	font-size: 1.6rem;
	letter-spacing: .3em;
}
#company #company-1 div.company-info3 .box2-2 p {
	margin: 0;
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--fr-line);
	font-size: 1.6rem;
	line-height: 1.9;
}
#company #company-1 div.company-info3 .box2-2 p:last-child {
	border-bottom: 0;
}
/* 沿革：◆ と灰色の枠の表を、白いカードの中の年表に */
#company #company-1 div.company-info4 .col-head-type1 {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--fr-card-bg);
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	overflow: hidden;
	font-size: 1.5rem;
	color: var(--fr-text);
}
#company #company-1 div.company-info4 .col-head-type1 tr:first-child {
	border-top: 0;
}
#company #company-1 div.company-info4 .col-head-type1 th,
#company #company-1 div.company-info4 .col-head-type1 td {
	border: 0;
	border-bottom: 1px solid var(--fr-line);
	padding: 1.6rem 2.4rem;
	line-height: 1.8;
	vertical-align: top;
}
#company #company-1 div.company-info4 .col-head-type1 th {
	width: 30%;
	min-width: 0;
	background: none;
	color: var(--fr-green-text);
	white-space: nowrap;
}
#company #company-1 div.company-info4 .col-head-type1 th::before {
	content: none;
}
#company #company-1 div.company-info4 .col-head-type1 tr:last-child th,
#company #company-1 div.company-info4 .col-head-type1 tr:last-child td {
	border-bottom: 0;
}

/* ------------------------------------------------------------ 採用情報：「現在募集しておりません」をお客様の声と同じ白いカードに */
div#recruit ul#recruit-loop {
	width: 90%;
	max-width: 760px;
	margin: 0 auto;
	padding: 0;
}
div#recruit ul#recruit-loop p.no-post {
	padding: 4rem 2rem;
	background: var(--fr-card-bg);
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	font-size: 1.6rem;
	letter-spacing: .08em;
	color: var(--fr-green-text);
}

/* ------------------------------------------------------------ 勧誘方針・プライバシーポリシー：見出しをほかのページと同じ形に、黒い線の表を白いカードに */
#privacy-policy,
#invitational-policy {
	color: var(--fr-text);
}
#privacy-policy div.preface,
#invitational-policy div.preface {
	max-width: 880px;
	width: 90%;
	margin: 0 auto 3.2rem;
}
#privacy-policy div.preface h2.page-title,
#invitational-policy div.preface h2.page-title {
	margin: 4rem 0 0;
	font-size: inherit;
}
#privacy-policy div.preface p,
#invitational-policy div.preface p {
	margin: 2rem 0 0;
	font-size: 1.5rem;
	line-height: 1.95;
}
#privacy-policy div.preface p.fr-subtitle,
#invitational-policy div.preface p.fr-subtitle {
	margin: 1.6rem 0 3.2rem;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.7;
	color: #7b8589;
}
#privacy-policy div.overview,
#invitational-policy div.k-overview {
	width: 90%;
	max-width: 880px;
	margin: 0 auto;
}
#privacy-policy div.overview dl {
	background: var(--fr-card-bg);
	border: 0;
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	overflow: hidden;
	font-size: 1.45rem;
	line-height: 1.9;
}
#privacy-policy div.overview dl dt {
	width: 24rem;
	padding: 2rem 2.4rem;
	border-top: 1px solid var(--fr-line);
	color: var(--fr-green-text);
	font-weight: bold;
}
#privacy-policy div.overview dl dd {
	margin-left: 24rem;
	padding: 2rem 2.4rem;
	border-top: 1px solid var(--fr-line);
	border-left: 1px solid var(--fr-line);
}
#privacy-policy div.overview dl dt:first-of-type,
#privacy-policy div.overview dl dd:first-of-type {
	border-top: 0;
}
#privacy-policy div.overview dl dd p {
	padding-left: 0;
	font-size: inherit;
}
#privacy-policy div.overview dl dd .blue,
#privacy-policy div.overview dl dd a {
	color: var(--fr-blue-text);
	overflow-wrap: anywhere;
}
#invitational-policy div.k-overview ul {
	padding: .8rem 3.2rem;
	background: var(--fr-card-bg);
	border: 0;
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	font-size: 1.5rem;
	line-height: 1.9;
	list-style: none;
}
#invitational-policy div.k-overview ul li {
	position: relative;
	padding: 1.8rem 0 1.8rem 2rem;
	border-top: 1px solid var(--fr-line);
}
#invitational-policy div.k-overview ul li:first-child {
	border-top: 0;
}
#invitational-policy div.k-overview ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2.75rem;
	width: .7rem;
	height: .7rem;
	border-radius: 50%;
	background: var(--fr-green);
}

/* ------------------------------------------------------------ サイトマップ：黒い線の箱を、新着情報の一覧と同じ白いカードに矢印 */
#sitemap div.s-preface h2.page-title {
	margin: 4rem 0 3.2rem;
	font-size: inherit;
}
#sitemap div.s-overview {
	width: 90%;
	max-width: 760px;
}
#sitemap div.s-overview ul {
	padding: .8rem 3.2rem;
	background: var(--fr-card-bg);
	border: 0;
	border-radius: 14px;
	box-shadow: var(--fr-card-shadow);
	list-style: none;
}
#sitemap div.s-overview ul li {
	padding: 0;
	border-top: 1px solid var(--fr-line);
}
#sitemap div.s-overview ul li:first-child {
	border-top: 0;
}
#sitemap div.s-overview ul li::after {
	content: none;
}
#sitemap div.s-overview ul li a {
	position: relative;
	display: block;
	margin: 0 -1.6rem;
	padding: 1.8rem 5.6rem 1.8rem 1.6rem;
	border-radius: 10px;
	color: var(--fr-text);
	font-size: 1.6rem;
	letter-spacing: .08em;
	transition: background-color .25s ease, color .25s ease;
}
#sitemap div.s-overview ul li a::after {
	content: '';
	position: absolute;
	right: 1.6rem;
	top: 50%;
	width: 2.8rem;
	height: 2.8rem;
	margin-top: -1.4rem;
	border-radius: 50%;
	box-sizing: border-box;
	border: 1px solid #cfe6f2;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338abe7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.2rem no-repeat;
	transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
#sitemap div.s-overview ul li a:hover {
	font-weight: inherit;
	background: #f1f9fd;
	color: var(--fr-blue-text);
}
#sitemap div.s-overview ul li a:hover::after {
	transform: translateX(3px);
}

/* ------------------------------------------------------------ 404 */
.not_f {
	margin: 8rem auto;
}
.not_f .not_f_text {
	color: #2f3436;
	letter-spacing: .08em;
}
.not_f .gotop.fr-pill {
	width: auto;
	margin: 3.2rem auto 0;
	padding: 0;
	border: 0;
	font-size: inherit;
}
.not_f .gotop.fr-pill:hover {
	background: none;
}
.not_f .gotop.fr-pill a {
	padding: 1.2rem 3.2rem;
	font-size: 1.5rem;
}
.not_f .gotop.fr-pill:hover a {
	color: #fff;
}

/* ------------------------------------------------------------ スマホ */
@media only screen and (max-width: 820px) {
	#frontpage #toriatukaihoken a.square_btn {
		padding: 1.4rem 3.2rem;
	}
	#frontpage #toriatukaihoken a.square_btn h2 {
		font-size: 1.7rem;
	}
	#frontpage div#front-map ul.info {
		grid-template-columns: 1fr;
		gap: 1.6rem;
	}
	#frontpage div#front-map ul.info > li {
		padding: 2.4rem 2.2rem;
		border-radius: 12px;
	}
	#frontpage div#front-map ul.info > li h3 {
		font-size: 1.8rem;
	}
	div.fb {
		width: 90%;
		margin: 4.8rem auto;
		padding: 1rem 2rem;
		font-size: 1.5rem;
	}
	#company #company-1 h2,
	#company #company-1 div.company-info h2,
	#company #company-1 div.company-info2 h2,
	#company #company-1 div.company-info4 h2 {
		margin: 4.8rem auto 1.6rem;
		font-size: 1.9rem;
	}
	#company #company-1 div.company-info .add {
		padding: .8rem 2rem;
		font-size: 1.4rem;
	}
	#company #company-1 div.company-info .add dt {
		width: 100%;
		padding: 1.4rem 0 .2rem;
		border-bottom: 0;
	}
	#company #company-1 div.company-info .add dd {
		width: 100%;
		padding: 0 0 1.4rem;
	}
	#company #company-1 div.company-info3 .box2-2 {
		padding: 4.4rem 2.2rem 2.4rem;
		border-radius: 12px;
	}
	#company #company-1 div.company-info3 .box2-2 .box2-2-title {
		left: 2rem;
		font-size: 1.4rem;
	}
	#company #company-1 div.company-info3 .box2-2 p {
		font-size: 1.45rem;
	}
	#company #company-1 div.company-info4 .col-head-type1 th,
	#company #company-1 div.company-info4 .col-head-type1 td {
		display: block;
		width: auto;
		padding: 0 2rem;
		border-bottom: 0;
	}
	#company #company-1 div.company-info4 .col-head-type1 th {
		padding-top: 1.6rem;
		font-size: 1.35rem;
	}
	#company #company-1 div.company-info4 .col-head-type1 td {
		padding-bottom: 1.6rem;
		border-bottom: 1px solid var(--fr-line);
		font-size: 1.4rem;
	}
	#company #company-1 div.company-info4 .col-head-type1 tr {
		display: block;
	}
	#company #company-1 div.company-info4 .col-head-type1 tr:last-child td {
		border-bottom: 0;
	}
	#privacy-policy,
	#invitational-policy {
		width: auto;
	}
	#privacy-policy div.overview dl {
		font-size: 1.4rem;
	}
	#privacy-policy div.overview dl dt {
		float: none;
		width: auto;
		padding: 1.8rem 2rem .4rem;
	}
	#privacy-policy div.overview dl dd {
		margin-left: 0;
		padding: 0 2rem 1.8rem;
		border-top: 0;
		border-left: 0;
	}
	#invitational-policy div.k-overview ul,
	#sitemap div.s-overview ul {
		padding: .4rem 2rem;
	}
	#invitational-policy div.k-overview ul {
		font-size: 1.4rem;
	}
	#invitational-policy div.k-overview ul li::before {
		top: 2.6rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	div.fb,
	#sitemap div.s-overview ul li a,
	#sitemap div.s-overview ul li a::after,
	#company #company-1 div.company-info2 ul.button li button {
		transition: none;
	}
}
/* オフィスの案内の電話番号のリンク：前の CSS の「Google Map」のボタンの形（#frontpage div#front-map ul li a）が効かないように戻す */
#frontpage div#front-map ul.info > li p a {
	display: inline;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: inherit;
	font-weight: inherit;
	text-align: inherit;
}
