@charset "utf-8";
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	position: relative;
	height: 80px;
	padding: 15px;
	background: #538861;
	font-family: var(--font-sans);
	text-align: left;
}
/* タイトル */
#header h1.title {
	height: 100%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
}
#header h1.title a {
	width: 320px;
}
#header h1.title 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 a {
		display: none;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: #00401e; }
	#header .contact .tel a { background: #00401e; }
	#header .contact .btn a { background: #538861; }

	/* ヘッダ */
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0 46px 0 0;
		z-index: 9997;
	}
	#header h1.title {
		width: calc(100% - 138px);
		height: 100%;
		padding: 10px;
	}
	#header h1.title a {
		width: auto;
		height: 40px;
	}
	/* お問い合わせ */
	#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;
	}
}
/*--------------------------------------------------
  メニュー
--------------------------------------------------*/
#menu {
	margin-left: auto;
}
#menu ul {
	display: flex;
}
#menu li a {
	display: block;
	color: #fff;
	font-size: 98%;
	font-weight: 400;
	text-decoration: none;
	padding: 0 20px;
	position: relative;
}
#menu li:not(:last-of-type) a::before {
	content: "";
	background: #fff;
	width: 1px;
	height: 20px;
	position: absolute;
	top: 0;
	right: 0;
}
#menu li.on a,
#menu li a:hover {
	color : #00401E;
	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%;
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#wrap {
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
#container {
	text-align: left;
	line-height: 1.8;
}
#container p {
	margin-bottom: 1em;
}
#container h2.sub,#container h3.sub,#footer h3.sub {
	position: relative;
	margin-bottom: 40px;
	font-size: 32px;
	font-family: var(--font-serif);
	font-weight: 500;
	color: #00401E;
	line-height: 1.2em;
	padding-left: .5em;
}
#footer h3.sub {
	display: inline-block;
	color: #fff;
	text-align: left;
}
#container h2.sub::before,#container h3.sub::before,#footer h3.sub::before {
	content: "";
	background: #00401e;
	width: 7px;
	height: 80%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
#footer h3.sub::before {
	top: 8px;
	transform: none;
	height: 65px;
}
#footer h3.sub::before {
	background: #fff;
}
#container h2.sub span,#container h3.sub span,#footer h3.sub span {
	font-size : 20px;
	display: block;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#wrap {
		min-width: 1150px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#container {
		padding-top: 50px;
	}
	#container h2.sub,#container h3.sub,#footer h3.sub {
		margin-bottom: 30px;
		font-size: 23px;
	}
	#container h2.sub span, #container h3.sub span, #footer h3.sub span {
		font-size: 80%;
	}
	
	#footer h3.sub::before {
		top: 5px;
		height: 50px;
	}
	#main, #navi {
		clear: both;
		padding-bottom: 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#wrap, #footer {
		min-width: 320px;
	}
	#container h2.sub,#container h3.sub,#footer h3.sub {
		margin-bottom: 20px;
		font-size: 20px;
	}
	#container h2.sub span, #container h3.sub span, #footer h3.sub span {
		font-size: 70%;
	}
	#footer h3.sub::before {
		top: 4px;
		height: 42px;
	}
}
/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.main {
	width: 1150px;
	max-width: 100%;
	margin: auto;
	padding: 0 25px;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.main {
		padding-left: 20px;
		padding-right: 20px;
	}
}
/*--------------------------------------------------
  フッタ
--------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	margin-top: auto;
	background: url("../img/bg-f.jpg") no-repeat center/cover;
	font-size: 14px;
	line-height: 1.6;
	color: #fff;
}
#footer .main {
	padding-top: 50px;
	padding-bottom: 50px;
}
#footer p.ttl {
	margin-bottom: 30px;
}
#footer .ttl img {
	width: 305px;
}
/* リンク */
#link {
	min-width: 395px;
}
#link .sns_f_box {
	line-height : 34.5px;
	text-align: right;
	text-decoration: underline;
	position: relative;
}
#link .sns_f_box ul {
	margin-bottom: 30px;
}
#link .fb_box {
	right: 0;
	position: relative;
	bottom: 0;
}
#link .fb_box .waku {
	text-align: center;
	margin-bottom: 20px;
	padding: 0 10px;
}
/* コピーライト */
#copyright {
	padding: 15px 0;
	color: #FFF;
	font-size: 12px;
	border-top: 1px solid #FFF;
	text-align: center;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#footer .contact li {
		width: 48%;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#footer .main {
		align-items: flex-end;
	}
	#footer p.ttl {
		margin-bottom: 20px;
	}
	#footer .ttl img {
		width: 180px;
	}
	#link {
		min-width: auto;
		width: 190px;
	}
	#copyright {
		padding: 10px 0;
		font-size: 10px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer .main {
		flex-direction: column;
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#footer p.ttl {
		text-align: center;
		margin-bottom: 15px;
	}
	#footer .footer_box {
		width: 100%;
		flex-direction: column;
		margin-bottom: 0px;
	}
	#footer .footer_box .ttl_box {
		margin: 0 auto;
		text-align: center;
	}
	#link {
		width: 100%;
	}
	#link .fb_box {
		margin-bottom: 20px;
	}
	#copyright {
		padding: 5px 0;
	}
}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
/* 枠のマージン・パディング */
.mt { margin-top: 100px; }
.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: 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: 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; }
}
