@charset "utf-8";
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	position: relative;
	height: 80px;
	padding: 15px;
	background: #fff;
	font-family: var(--font-sans);
	text-align: left;
}
/* タイトル */
#header h1.title {
	height: 100%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
}
#header h1.title a {
	width: 339px;
}
#header h1.title img {
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-width: none;
}
#header .h_txt {
	width: 280px;
	margin-left: 0.5em;
}
#header .h_txt img {
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-width: none;
}
/* お問い合わせ */
#header .contact a {
	display: block;
}
#header .contact a img {
	vertical-align: middle;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#header .contact {
		position: fixed;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		z-index: 999;
		text-align: center;
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		column-gap: 0;
		margin-left: 40px;
		line-height: 1.2;
		white-space: nowrap;
		height: 520px;
		justify-content: flex-start;
	}
	#header .contact .tel a {
		width: 60px;
		height: 396px;
		background: linear-gradient(180deg,rgba(255, 204, 0, 1) 0%, rgba(255, 0, 0, 1) 32%);
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: row;
		box-sizing: border-box;
		color: #fff;
		font-size : 16px;
		line-height : 21px;
	}
	#header .contact .tel a .maru {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		background: #fff;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		margin: 5px 0;
	}
	#header .contact .tel a .maru img {
		width: 25px;
		position: relative;
	}
	#header .contact .tel a .txt02 {
		text-orientation: upright;
		font-size : 125%;
		position : relative;
		top : 1px;
		letter-spacing: -1px;
		font-weight: 600;
	}
	#header .contact .tel a .txt02 .sen {
		display: inline-block;
		transform: rotate(-90deg);
		position: relative;
		left: -4px;
	}
	#header .contact .btn a,#header .contact .sns a {
		background: #fff;
		width: 59px;
		height: 59px;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 1px solid #ff0000;
	}
	#header .contact .sns a {
		border-top: none;
	}
	#header .contact .btn a img {
		width: 25px;
	}
	#header .contact .sns a img {
		width: 35px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: var(--color-primary); }
	#header .contact .sns a { background: #fff; }
	#header .contact .btn a { background: #fff; }

	/* ヘッダ */
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0 46px 0 0;
		background: #fff;
		z-index: 9997;
	}
	#header h1.title {
		width: calc(100% - 138px);
		height: 100%;
		padding: 10px;
	}
	/* お問い合わせ */
	#header .contact .tel a,
	#header .contact .btn a {
		width: 46px;
		height: 50px;
		padding: 0 10px;
		/* 縦方向中央揃え */
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#header .contact .txt,
	#header .contact .tel span,
	#header .contact .btn span {
		display: none;
	}
	@media only screen and (max-width: 768px) {  /* タブレット以下 */
		#header h1.title {
			width: auto;
		}
		#header h1.title a {
			width: 180px;
		}
		#header .h_txt {
			width: 40%;
			position: absolute;
			margin-left: 200px;
		}
		#header .contact .btn a {
			border-left: 1px solid var(--color-primary);
			border-right: 1px solid var(--color-primary);
		}
		#header .contact .sns a {
			width: 46px;
			height: 50px;
			padding: 0 10px;
			/* 縦方向中央揃え */
			display: flex;
			align-items: center;
			justify-content: center;
		}
		#header .contact .tel {
			display: none;
		}
	}
		@media only screen and (max-width: 640px) {
			#header .h_txt {
				display: none;
			}
	}
		@media only screen and (max-width: 320px) {
			#header h1.title a {
				width: 150px;
			}
	}
}
/*--------------------------------------------------
  メニュー
--------------------------------------------------*/
#menu {
	margin-left: auto;
}
#menu ul {
	display: flex;
	column-gap: 25px;
	margin-right: 15px;
}
#menu li a {
	display: block;
	color: var(--color-font);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}
#menu li.on a,
#menu li a:hover {
	color: var(--color-primary);
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#menu ul li.dsp_tbs {
	display: none;
}
/*--------------------------------------------------
  ページタイトル
--------------------------------------------------*/
#page_title {
	overflow: hidden;
	position: relative;
	text-align: center;
}
#page_title p {
	text-align: center;
}
#sub_ttl img {
	width: 100%;
}
#sub_ttl {
	height: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#sub_ttl span {
	background: var(--color-primary);
	color: var(--color-secondary);
	font-size: 50px;
	padding: 14px 22px 18px;
}
#sub_ttl.contact {
	background: url("../img/contact/bg_title.jpg") no-repeat center / cover;
}
#sub_ttl.investigation {
	background: url("../img/investigation/bg_title.jpg") no-repeat center / cover;
}
#sub_ttl.fee {
	background: url("../img/fee/bg_title.jpg") no-repeat center / cover;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#sub_ttl {
		height: 150px;
	}
	#sub_ttl span {
		font-size: 25px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#sub_ttl {
		height: 100px;
	}
	#sub_ttl span {
		font-size: 20px;
	}
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#wrap {
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
#container {
	text-align: left;
	line-height: 1.8;
}
#container p {
	margin-bottom: 1em;
}
#container h3.sub {
	position: relative;
	margin-bottom: 40px;
	font-size : 52px;
	color : #064CCE;
	font-family: var(--font-sans);
	font-weight: 500;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
#container h3.sub span {
	position: relative;
}
#container h3.sub span::before {
	content: "";
	background: url("../img/key01.png") no-repeat top left/100%;
	width: 50px;
	height: 50px;
	position: absolute;
	top: -10px;
	left: -50px;
	z-index: 1;
}
#container h3.sub span::after {
	content: "";
	background: url("../img/key02.png") no-repeat bottom right/100%;
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: -10px;
	right: -50px;
	z-index: 1;
}
#container h3.sub02 {
	position: relative;
	margin-bottom: 40px;
	font-size : 35px;
	color : #064CCE;
	font-family: var(--font-sans);
	font-weight: 500;
	text-align: center;
}
#container h3.sub02::before {
	content:  "";
	width: 2px;
	height: 25px;
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	background: #064CCE;
}
#container h4.sub {
	font-size : 36px;
	color : #064CCE;
	text-align: center;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#wrap {
		min-width: 1150px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#container {
		padding-top: 50px;
	}
	#container h3.sub {
		margin-bottom: 30px;
		font-size: 23px;
	}
	#container h3.sub span::before,#container h3.sub span::after {
		width: 35px;
		height: 35px;
	}
	#container h3.sub02 {
		font-size: 23px;
	}
	#container h4.sub {
		font-size: 140%;
	}
	#main, #navi {
		clear: both;
		padding-bottom: 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#wrap, #footer {
		min-width: 320px;
	}
	#container h3.sub {
		margin-bottom: 20px;
		font-size: 125%;
	}
	#container h3.sub span::before, #container h3.sub span::after {
		width: 25px;
		height: 25px;
	}
		#container h4.sub {
			font-size: 120%;
	}
}
@media only screen and (max-width: 640px){ 
		#container h4.sub {
			font-size: 115%;
	}
}
/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.main {
	width: 1150px;
	max-width: 100%;
	margin: auto;
	padding: 0 25px;
}
.cen_btn {
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn01 a,.btn02 a,.btn03 a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 355px;
	height: 60px;
	font-weight : 600;
	box-sizing: border-box;
	vertical-align: middle;
	position: relative;
	background: linear-gradient(90deg,rgba(255, 0, 0, 1) 67%, rgba(255, 204, 0, 1) 100%);
	color: #fff;
	border: 2px solid #ffcc00;
	font-size : 27px;
	letter-spacing : 2.7px;
}
.btn02 a,.btn03 a {
	background: linear-gradient(90deg,rgba(6, 76, 206, 1) 0%, rgba(0, 157, 232, 1) 73%, rgba(0, 255, 255, 1) 100%);
	border: none;
	box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
	color: #fff;
	font-size : 135%;
	letter-spacing : 1.9px;
	font-weight: 400;
}
.btn03 a {
	width: 300px;
}
.btn01 a::before,.btn02 a::before,.btn03 a::before {
	content: "";
	background: url("../img/arrow01.png") no-repeat top right/100%;
	width: 20px;
	height: 12px;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}
.btn02 a::before,.btn03 a::before {
	background: url("../img/arrow01.png") no-repeat top right/100%;
}
.btn01 a span,.btn02 a span,.btn03 a span {
	position: relative;
	left: -20px;
}
.btn02 a:hover,.btn03 a:hover {
	opacity: 1;
	border: 2px solid #064cce;
	color: #333;
	background: #fff;
	box-shadow: none;
}
.btn02 a:hover::before,.btn03 a:hover::before {
	background: url("../img/arrow02.png") no-repeat top right/100%;
}
.btn03 a span {
	top: 2px;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.main {
		padding-left: 20px;
		padding-right: 20px;
	}
	.btn01 a {
		width: 280px;
		font-size: 135%;
	}
	.btn02 a {
		width: 280px;
		font-size: 110%;
	}
	.btn01 a::before,.btn02 a::before,.btn03 a::before {
		right: 10px;
	}
	.btn01 a span,.btn02 a span {
		left: -10px;
	}
	.btn03 a {
		width: 240px;
		font-size: 110%;
	}
}
/*--------------------------------------------------
  フッタ
--------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	margin-top: auto;
	background: #064cce;
	font-size: 95%;
	line-height: 1.6;
	position: relative;
}
#footer::before {
	content: "";
	background: url("../img/bg-f.png") no-repeat top right/100%;
	width: 106px;
	height: 107px;
	position: absolute;
	top: -80px;
	right: 15%;
}
#footer p {
	text-align: center;
	color: #fff;
}
#footer p + p {
	margin-top: 6px;
}
#footer p.ttl {
	margin-bottom: 30px;
}
#footer p.ttl a {
	font-size : 43px;
	color : #fff;
}
/* リンク */
#footer .link {
	background: #064cce;
	border-top: 1px solid #FFF;
}
#footer .link ul {
	padding: 15px 0;
}
#footer .link ul li {
	display: inline;
	margin-right: 20px;
	padding-left: 20px;
	list-style: none;
}
#footer .link ul li a {
	color: #FFF;
	text-decoration: none;
}
#footer .link ul li a:hover {
	text-decoration: underline;
}
/* コピーライト */
#copyright {
	padding: 15px 0;
	color: #FFF;
	font-size: 12px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#footer .follow {
		display: none;
	}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#footer .contact li {
		width: 48%;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#footer {
		margin-bottom: 100px;
	}
	#footer::before {
		width: 80px;
		height: 88px;
		top: -60px;
		right: 5%;
	}
	#footer .ttl {
		margin-bottom: 20px;
	}
	#footer p.ttl a {
		font-size: 30px;
	}
	#footer .follow {
		position: fixed;
		width: 100%;
		bottom: 0;
		left: 0;
		z-index: 9999;
	}
	#footer .follow .box {
		width: calc(100% / 3);
		background: #fff;
	}
	#footer .follow .box a {
		min-height: 100px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border-top: 1px solid #064cce;
	}
	#footer .follow .box:first-of-type a {
		background: linear-gradient(180deg, rgba(255, 204, 0, 1) 0%, rgba(255, 0, 0, 1) 50%);
	}
	#footer .follow .box:nth-of-type(2) a {
		border-left: 1px solid #064cce;
		border-right: 1px solid #064cce;
	}
	#footer .follow .box a .ttl {
		font-size : 150%;
		text-align: center;
		color: #333;
	}
	#footer .follow .box:first-of-type a .ttl {
		font-size : 120%;
		color: #fff;
	}
	#footer .follow .box a .tel {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#footer .follow .box a .maru {
		position: relative;
		width: 43px;
		height: 43px;
		background: #fff;
		border-radius: 50%;
	}
	#footer .follow .box:first-of-type a .maru {
		margin-right: 10px;
	}
	#footer .follow .box a .maru img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 80%;
	}
	#footer .follow .box:first-of-type a .maru img {
		width: 24px;
	}
	#copyright {
		padding: 10px 0;
		font-size: 10px;
		margin: 0 auto;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer {
		margin-bottom: 50px;
	}
	#footer p.ttl a {
		font-size: 25px;
	}
	#footer .contact li+li {
		margin-top: 15px;
	}
	#footer .contact li.tel a {
		font-size: 25px;
	}
	#footer .follow .box a {
		min-height: 50px;
		padding: 3px;
		box-sizing: border-box;
		flex-direction: row;
	}
	#footer .follow .box a .ttl {
		font-size: 70%;
		line-height: 1.2em;
	}
	#footer .follow .box:first-of-type a .ttl {
		font-size: 70%;
	}
	#footer .follow .box a .maru {
		width: 25px;
		height: 25px;
		margin-left: 5px;
	}
	#footer .follow .box:first-of-type a .maru {
		margin-right: 0;
	}
	#footer .follow .box:first-of-type a .maru img {
		width: 16px;
	}
	#copyright {
		padding: 5px 0;
	}
}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
/* 枠のマージン・パディング */
.mt { margin-top: 100px; }
.mt50 { margin-top: 50px; }
.mb { margin-bottom: 100px; }
.pt { padding-top: 100px; }
.pb { padding-bottom: 100px; }
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.mb { margin-bottom: 50px; }
	.pt { padding-top: 50px; }
	.pb { padding-bottom: 50px; }
}
@media only screen and (max-width: 640px){ /* スマホ */
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
}
/*------------------------------------------------*/
/* パンくずリスト */
#page_navi {
	margin-bottom: 65px;
	padding-top: 30px;
	color: var(--color-thin);
	font-size: 12px;
	line-height: 1;
	/* フレックス */
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
#page_navi li+li:before {
	content: ">";
	margin-right: 0.5em;
}
#page_navi a {
	color: var(--color-thin);
	text-decoration: none;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#page_navi {
		margin-bottom: 30px;
		padding-top: 15px;
		font-size: 11px;
	}
}
/*------------------------------------------------*/
/* テーブル */
.tbl {
	width: 100%;
	background: #fff;
}
.tbl th,
.tbl td {
	padding: 14px;
	border: 1px solid var(--color-tbl-border);
}
.tbl th {
	white-space: nowrap;
	background: var(--color-tbl-th);
}
@media only screen and (max-width: 640px){ /* スマホ */
	.tbl {
		border-bottom: 1px solid var(--color-tbl-border);
	}
	.tbl th,
	.tbl td {
		display: block;
		width: auto;
		padding: 10px;
		border-bottom: none;
	}
}
/*------------------------------------------------*/
/* 注意書き */
p.attention {
	margin-left: 1em;
	text-indent: -1em;
}
/*------------------------------------------------*/
/* 横100％ */
.w100 {
	width: 100vw;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
}
/*------------------------------------------------*/
/* 横100％背景 */
.bg_wide {
	position: relative;
}
.bg_wide::before,
.bg_wide.bg_after::after {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100vw;
	height: 100%;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	content: "";
	z-index: -1;
}
@media only screen and (max-width: 1150px) {
	.w100,
	.bg_wide::before,
	.bg_wide.bg_after::after {
		width: calc(100% + 50px);
		margin-left: -25px;
		margin-right: 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	.w100,
	.bg_wide::before,
	.bg_wide.bg_after::after {
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: 0;
	}
}
/*------------------------------------------------*/
/* フレックスボックス */
.box_flex_sp {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.box_flex_sp.rev { flex-direction: row-reverse; }
.box_flex_sp.vcen { align-items: center; }
.box_flex_sp.vtop { align-items: flex-start; }
.box_flex_sp.htop { justify-content: flex-start; }
.box_flex_sp.hcen { justify-content: center; }
@media print, screen and (min-width: 641px){ /* PC用 */
	.box_flex {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.box_flex.rev { flex-direction: row-reverse; }
	.box_flex.vcen { align-items: center; }
	.box_flex.vtop { align-items: flex-start; }
	.box_flex.htop { justify-content: flex-start; }
	.box_flex.hcen { justify-content: center; }
}
/*------------------------------------------------*/
/* 箱のパディング */
.box_pad {
	padding: 20px;
}
@media print, screen and (min-width: 641px){ /* PC用 */
	.box_pad { padding: 30px; }
}
