@charset "utf-8";
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	position: relative;
	height: 80px;
	padding: 15px;
	background: #fff;
	font-family: var(--font-sans);
	text-align: left;
	z-index: 0;
}
/* タイトル */
#header h1.title {
	height: 100%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
}
#header h1.title img {
	width: 182px;
}
/* お問い合わせ */
#header .contact a {
	display: block;
}
#header .contact a img {
	vertical-align: middle;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#header::before {
		content: "";
		background: #f7f7f7;
		width: 540px;
		height: 80px;
		border-radius: 0 0 0 100px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: -1;
	}
	#header .contact {
		column-gap: 10px;
		line-height: 1.2;
	}
	#header .contact a {
		background: #00c4cc;
		border-radius: 26px;
		width: 288px;
		height: 54px;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		font-size : 29px;
		color : #FFFFFF;
		border: 2px solid #7fe1e5;
		padding-left: 5px;
		box-sizing: border-box;
		font-weight : 500;
	}
	#header .contact a .maru {
		background: #fff;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-right: 10px;
	}
	#header .contact a .txt {
		position: relative;
		top: -3px;
	}
	#header .contact a img {
		width: 22px; 
	}
	#header .contact .txt_b {
		display: block;
		font-size : 20px;
		color : #00C4CC;
		font-weight: 500;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: var(--color-secondary); }
	#header .contact .tel a { background: var(--color-primary); }

	/* ヘッダ */
	#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: auto;
		padding: 0 10px;
	}
	#header h1.title img {
		width: 125px;
		height: 100%;
		object-fit: contain;
	}
	/* お問い合わせ */
	#header .contact .tel a {
		width: 46px;
		height: 50px;
		padding: 0 10px;
		/* 縦方向中央揃え */
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#header .contact .txt_b,#header .contact .txt {
		display: none;
	}
}
/*--------------------------------------------------
  メニュー
--------------------------------------------------*/
#menu {
	width: 100%;
	margin-left: auto;
	border: 1px solid #fed300;
}
#menu ul {
	display: flex;
	justify-content: center;
	align-items: center;
}
#menu li li::before {
	display: none;
}
#menu li {
	position: relative;
}
#menu li a {
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--color-font);
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	border-left: 1px solid #fed300;
	padding: 15px 36px;
	box-sizing: border-box;
	position: relative;
}
#menu li:last-of-type a {
	border-right: 1px solid #fed300;
}
#menu > ul > li.on > a,
#menu > ul > li > a:hover {
	opacity: 1;
	color: #f5a20e;
}
#menu > ul > li.on > a::before,
#menu > li > a:hover::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #f9f4a7;
	border: 4px solid #fff;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	z-index: -1;
}
#menu ul li ul {
	display: none;
	position: absolute;
	top: 55px;
	left: 0;
	background: rgba(255,255,255,0.6);
	width: 100%;
	z-index: 9999;
}
#menu ul li:nth-child(2) ul,
#menu ul li:nth-child(5) ul {
	width: 120%;
}
#menu ul li ul li a {
	padding: 15px 10px;
	text-align: center;
	border-bottom: 1px solid #fed300;
	color: var(--color-font);
	border-right: 0;
	border-left: 0;
	font-size: 16px;
}
#menu ul li ul li:hover > a {
	opacity: 1;
	color: #f5a20e;
	background-color: #f9f4a7; 
	box-shadow: inset 0 0 0 4px #fff;
	outline-offset: -4px;
	border-bottom: 1px solid #fed300 !important;
}
#menu ul li:hover > ul {
	display: block;
}
#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 span {
	background: #fed300;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 0 30px;
	font-size : 51px;
	color : #333;
	font-weight: 400;
	min-height: 110px;
	white-space: nowrap;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#sub_ttl span {
		font-size: 35px;
		min-height: auto;
		padding: 10px 20px;
	}
}
@media only screen and (max-width: 640px) {
	#sub_ttl img {
		height: 180px;
		object-fit: cover;
	}
	#sub_ttl span {
		font-size: 25px;
		white-space: nowrap;
	}
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#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: 54px;
	font-weight: normal;
	padding-bottom: 15px;
	border-bottom: 3px solid #fff;
}
#container h3.sub.gray {
	border-bottom: 3px solid #f7f7f7;
}
#container h3.sub::first-letter {
	color: #f5a20e;
}
#container h3.sub::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 350px;
	height: 3px;
	background: var(--color-primary);
}
#container h3.sub span.fs {
	font-size: 35px;
}
#container h4.sub {
	position: relative;
	margin-bottom: 40px;
	font-size: 45px;
	font-weight: normal;
	padding-bottom: 15px;
	border-bottom: 3px solid #fff;
	padding-left: 30px;
}
#container h4.sub.gray {
	border-bottom: 3px solid #f7f7f7;
}
#container h4.sub::before {
	content: "";
	background: #fed300;
	width: 8px;
	height: 50%;
	position: absolute;
	top: 10px;
	left: 0;
}
#container h4.sub::after {
	content: "";
	background: #f5a20e;
	width: 8px;
	height: calc(50% - 10px);
	position: absolute;
	top: auto;
	bottom: 10px;
	left: 0;
}
#container h5.sub {
	position: relative;
	margin-bottom: 40px;
	font-size: 24px;
	font-weight: normal;
	padding: 19px 10px 19px 50px;
	background: #f7f7f7;
}
#container h5.sub::before {
	content: "";
	width: 26px;
	height: 3px;
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	background: #fed300;
}
@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: 25px;
	}
	#container h3.sub span.fs {
		font-size: 70%;
	}
	#container h4.sub {
		font-size: 20px;
		padding-left: 10px;
		margin-bottom: 10px;
	}
	#container h4.sub::before {
		width: 4px;
		top: 0;
	}
	#container h4.sub::after {
		width: 4px;
		height: calc(50% - 5px);
		bottom: 10px;
	}
	#container h5.sub {
		margin-bottom: 20px;
		font-size: 20px;
		padding: 10px 10px 10px 40px;
	}
	#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: 25px;
	}
	#container h3.sub span.fs {
		font-size: 60%;
	}
	#container h3.sub::after {
		width: 50%;
	}
	#container h5.sub {
		font-size: 18px;
	}
}

/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.main {
	width: 1150px;
	max-width: 100%;
	margin: auto;
	padding: 0 25px;
}
.top_links::before {
	background: #f9f4a7;
}
.top_links .top_links_box ul {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(3, 350px);
	gap: 20px 0;
}
.top_links .top_links_box li a {
	background: #fff;
	box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
	min-height: 83px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #333;
	font-weight: 500;
	line-height: 1.2em;
	position: relative;
}
.top_links .top_links_box li a::before {
	content: "";
	background: url("../img/top/arrow01.png") no-repeat bottom right/100%;
	width: 43px;
	height: 43px;
	position: absolute;
	bottom: 0;
	right: 0;
}
.top_links .top_links_box.w3 ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 20px;
}
.top_links .top_links_box.w3 li {
	width: 350px;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.main {
		padding-left: 20px;
		padding-right: 20px;
	}
	.top_links .top_links_box ul {
		grid-template-columns: repeat(2, 48%);
	}
	.top_links .top_links_box li a {
		min-height: 70px;
		font-size: 125%;
	}
	.top_links .top_links_box.w3 li {
		width: 48%;
	}
}
@media only screen and (max-width: 640px) {
	.top_links .top_links_box ul {
		grid-template-columns: 100%;
	}
	.top_links .top_links_box.w3 li {
		width: 100%;
	}
}
/*--------------------------------------------------
  フッタ
--------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	margin-top: auto;
	background: var(--color-primary);
	font-size: 14px;
	line-height: 1.6;
}
#footer .txt_box {
	width: 592px;
}
#footer p.ttl {
	margin-bottom: 30px;
}
#footer p.ttl img {
	width: 250px;
}
/* お問い合わせ */
#footer .footer_contact {
	padding-left: calc(50vw - 550px);
}
#footer .footer_contact .footer_box {
	width: calc(100% - 58%);
	position: relative;
}
#footer .footer_contact .footer_box::before {
	content: "HIROSE";
	position: absolute;
	top: -2px;
	right: -2px;
	font-size: 79px;
	color: rgba(255, 255, 255,0.2);
	line-height: 1;
	font-family: var(--font-com);
}
#footer .footer_contact .footer_box .contact {
	margin: 20px auto;
}
#footer .footer_contact .footer_box .contact li a {
	display: flex;
	align-items: center;
	line-height: 40px;
	padding: 2px 5px 8px;
	background: #fff;
	box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
	font-size: 29px;
	border-radius: 26px;
	color: #333;
	width: 288px;
	font-weight: bold;
}
#footer .footer_contact .footer_box .contact li a .maru {
	width: 40px;
	height: 40px;
	background: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-right: 10px;
	position: relative;
	top: 3px;
}
#footer .footer_contact .footer_box .contact li a img {
	width: 22px;
	vertical-align: middle;
}
#footer .footer_contact .footer_box .contact  li.btn a {
	cursor: unset;
}
#footer .footer_contact .footer_box .contact  li.btn a:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#footer .footer_contact .map {
	width: 58%;
}
#footer .footer_contact .map iframe {
	width: 100%;
	height: 100%;
	border: none;
}
/* リンク */
#footer .link {
	background: #f7f7f7;
	padding-top: 50px;
	padding-bottom: 50px;
}
#footer .link .link_box {
	display: grid;
	justify-content: flex-start;
	grid-template-columns: 230px 250px 1fr 1fr 1fr;
}
#footer .link .link_box:last-of-type {
	margin-bottom: 0;
}
#footer .link ul {
	padding: 0;
	margin-bottom: 20px;
}
#footer .link ul li {
	text-align: left;
}
#footer .link ul li.mb {
	margin-bottom: 20px;
}
#footer .link ul li a {
	color: #666;
	font-weight: bold;
	font-size: 110%;
	text-decoration: none;
}
#footer .link ul li a:hover {
	text-decoration: underline;
}
#footer .link ul li ul li {
	position: relative;
	padding-left: 10px;
}
#footer .link ul li ul li::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	width: 7px;
	height: 1px;
	background: #666;
}
#footer .link ul li ul li a {
	font-weight: normal;
	font-size: 14px;
}
/* コピーライト */
#copyright {
	padding: 15px 0;
	color: #666;
	font-size: 12px;
	text-align: center;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#footer .footer_contact .footer_box {
		width: 100%;
		padding-bottom: 15px;
	}
	#footer .footer_contact .footer_box::before {
		font-size: 60px;
		right: -25px;
	}
	#footer .txt_box {
		width: 600px;
		margin: 0 auto;
	}
	#footer p.ttl {
		margin-bottom: 20px;
	}
	#footer p.ttl img {
		width: 180px;
	}
	#footer .map iframe {
		width: 100%;
		height: 250px;
		border: none;
	}
	#copyright {
		padding: 10px 0;
		font-size: 10px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer .txt_box {
		width: 100%;
	}
	#footer .txt_box p {
		text-align: center;
	}
	#footer .footer_contact .footer_box::before {
		font-size: 45px;
	}
	#footer .footer_contact .footer_box .contact li {
		width: 250px;
		margin: 0 auto 15px;
	}
	#footer .footer_contact .footer_box .contact li a {
		font-size: 23px;
		width: 250px;
	}
	#copyright {
		padding: 5px 0;
	}
		@media only screen and (max-width: 320px) {
		#footer .txt_box p {
			font-size: 90%;
		}
	}
}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
.btn01 a {
	background: #fed300;
	border-radius: 35px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
	padding: 8px 40px 12px 50px;
	font-size : 29px;
	color : #333333;
	min-width: 400px;
	min-height: 70px;
	text-align: left;
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
}
.btn01 a span {
	position: relative;
}
.btn01 a span::before {
	content: "";
	background: #fff;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 13px;
	left: -30px;
}
.yellow_btn a, .sns_btn a {
	position: relative;
	background: var(--color-primary);
	font-size: 29px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
	color: #333;
	width: 400px;
	display: flex;
	align-items: center;
	border-radius: 35px;
	line-height: 66px;
	padding-bottom: 4px;
	padding-left: 50px;
}
.yellow_btn a::before {
	content: "";
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	top: calc(50% - 9px);
	left: 20px;
}
.yellow_btn.arrow a::after {
	content: "";
	background: url("../img/arrow.png") no-repeat center/100%;
	width: 11px;
	height: 16px;
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
}
.sns_btn a {
	background: #fff;
	border: 2px solid #1877F2;
	padding-left: 15px;
	line-height: 62px;
}
.sns_btn a img {
	width: 40px;
	position: relative;
	top: 3px;
	margin-right: 10px;
}
.btn_box {
	column-gap: 15px;
}
.btn02 a {
	display: flex;
	align-items: center;
	line-height: 40px;
	padding: 2px 5px 8px;
	background: #fff;
	font-size: 29px;
	border-radius: 26px;
	color: #333;
	width: 353px;
	font-weight: bold;
}
.btn02.fax a {
	width: 290px;
	opacity: 1;
}
.btn02 a .maru {
	width: 40px;
	height: 40px;
	background: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-right: 10px;
	position: relative;
	top: 3px;
}
.btn02 a .maru img {
	width: 22px;
	vertical-align: middle;
}
.btn02 a .fs {
	font-size: 20px;
	font-weight: normal;
	padding-left: 5px;
}
/* 枠のマージン・パディング */
.mt { margin-top: 100px; }
.mb { margin-bottom: 100px; }
.pt { padding-top: 100px; }
.pb { padding-bottom: 100px; }
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.btn01 a {
		padding: 8px 30px 12px 50px;
		font-size: 125%;
		min-height: 50px;
		min-width: auto;
	}
	.btn01 a span::before {
		width: 15px;
		height: 15px;
		top: 8px;
	}
	.mb { margin-bottom: 50px; }
	.pt { padding-top: 50px; }
	.pb { padding-bottom: 50px; }
	
	.yellow_btn a, .sns_btn a {
		font-size: 135%;
		width: 280px;
		line-height: 50px;
	}
	.sns_btn a {
		line-height: 46px;
	}
	.btn02 a {
		font-size: 135%;
		width: 280px;
	}
	.btn02.fax a {
		width: 230px;
	}
	.btn02 a .fs {
		font-size: 80%
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	.btn01 a {
		padding: 8px 30px 12px 50px;
		font-size: 125%;
		min-height: 50px;
		min-width: auto;
	}
	.btn01 a span::before {
		width: 15px;
		height: 15px;
		top: 8px;
	}
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
	.yellow_btn,.sns_btn {
		width: 250px;
		margin: 0 auto;
	}
	.yellow_btn a, .sns_btn a {
		font-size: 110%;
		width: 250px;
		text-align: center;
	}
	.btn02 a {
		width: 250px;
	}
}
/*------------------------------------------------*/
/* パンくずリスト */
#page_navi {
	margin-bottom: 50px;
	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: 768px) {  /* タブレット以下 */
	/* tableにスクロールバーを追加 */
	.tbl_scroll {
		overflow: auto;
		margin-bottom: 15px;
		white-space: nowrap;
	}
	.tbl_scroll table {
		margin-bottom: 0;
	}
	.tbl_scroll::-webkit-scrollbar{
		height: 5px;
	}
	.tbl_scroll::-webkit-scrollbar-track{
		background: #F1F1F1;
	}
	.tbl_scroll::-webkit-scrollbar-thumb {
		background: #BCBCBC;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	.tbl:not(.no_responsive) {
		border-bottom: 1px solid var(--color-tbl-border);
	}
	.tbl:not(.no_responsive) th,
	.tbl:not(.no_responsive) 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;
}
.bg_gray::before {
	background: #f7f7f7;
}
.bg_yellow::before {
	background: #f9f4a7;
}
.bg_txt::after {
	position: absolute;
	top: 0;
	right: calc(((100vw - 100%) / 2) * -1);
	color: #fff;
	font-size: 85px;
	font-family: var(--font-com);
	line-height: 1;
	z-index: -1;
	white-space: nowrap;
}
@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;
	}
	.bg_txt::after {
		margin-right: 0;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.bg_txt::after {
		font-size: 45px;
	}
}
@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;
	}
	.bg_txt::after {
		font-size: 20px;
	}
}
/*------------------------------------------------*/
/* フレックスボックス */
.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; }
}
