@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 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 {
		width: 800px;
		height: auto;
		padding: 0;
		margin: auto;
		line-height: 1;
		background: none;
		position: relative;
	}
	#header h1.title {
		margin: 20px 0;
	}
	#header .fontsize {
		position: absolute;
		right: 0;
		top: 0;
		width: 190px;
	}
	#header .fontsize ul {
		width: auto;
		font-size: 0;
	}
	#header .fontsize ul li {
		display: inline-block;
	}
	#header .fontsize ul li a:hover {
		filter:alpha(opacity=100);
		-moz-opacity: 1;
		opacity: 1;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: #FFE02F; }
	#header .contact .tel a { background: #482E66; }
	#header .contact .btn a { background: #D84B53; }

	/* ヘッダ */
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0 46px 0 0;
		background: #FFE24C;
		z-index: 9997;
	}
	#header h1.title {
		width: calc(100% - 138px);
		height: 100%;
		padding: 10px;
	}
	#header h1.title img {
		width: 180px;
		height: auto;
	}
	/* お問い合わせ */
	#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 {
	width: 800px;
	margin: 0 auto;
	margin-left: auto;
}
#menu ul {
	display: flex;
}
#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%;
}
h2.subtitle {
	padding: 0;
	margin-bottom: 10px;
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#wrap {
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
#container {
	text-align: left;
	line-height: 1.8;
	background-image: url(../img/bg_container.gif);
	background-position: top;
	background-repeat: no-repeat;
	background-color: #FFFFFF;
}
#container .box {
	clear: both;
	padding-top: 10px;
	background-image: url(../img/bg_container2.gif);
	background-position: bottom;
	background-repeat: no-repeat;
}
#container p {
	margin-bottom: 1em;
}
#container h3.sub {
	position: relative;
	margin-bottom: 40px;
	font-size: 23px;
	font-family: var(--font-sans);
	font-weight: 500;
	text-align: center;
}
#container h3.sub::after {
	display: block;
	width: 50px;
	height: 2px;
	margin: 15px auto 0;
	background: var(--color-primary);
	content: "";
}
#leftnavi {
	float: left;
	width: 180px;
	text-align: left;
	margin-left: 16px;
}
#leftnavi .left_sub_title {
	padding: 10px 0 0 0;
}
#leftnavi li {
	margin-bottom: 8px;
}
#main {
	float: right;
	width: 566px;
	margin-right: 16px;
	text-align: left;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#wrap {
		min-width: 800px;
	}
	#container {
		width: 800px;
		margin: auto;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#container {
		padding-top: 50px;
	}
	#container .box {
		padding-top: 0;
	}
	#container h3.sub {
		margin-bottom: 30px;
		font-size: 23px;
	}
	#main, #navi {
		clear: both;
		padding-bottom: 30px;
	}
	#main {
		float: none;
		margin: 0 auto;
	}
	#leftnavi {
		float: none;
		width: 100%;
		margin-left : 0;
		padding-left: 15px;
		padding-right: 15px;
	}
	#leftnavi .left_sub_title {
		display: none;
	}
	#leftnavi ul {
		width: 400px;
		margin: 0 auto 20px;
		display: grid;
		justify-content: space-between;
		grid-template-columns: repeat(2, 49%);
	}
	#leftnavi li {
		display: inline-block;
	}
	#leftnavi li div {
		margin-top: 0;
	}
	#contact02 a span { display: none; }
	#contact02 {
		margin: 14px 0px 0px 0px;
		background-image: url(../img/bana_contact.gif);
		background-repeat: no-repeat;
	}
	#contact02 a {
		display: block;
		width: 180px;
		height: 100px;
		background-image: url(../img/bana_contact.gif);
		background-repeat: no-repeat;
	}
	#contact03 a span { display: none; }
	#contact03 {
		margin: 0px 0px 4px 0px;
		background-image: url(../img/bana_contact02.gif);
		background-repeat: no-repeat;
	}
	#contact03 a {
		display: block;
		width: 566px;
		height: 90px;
		background-image: url(../img/bana_contact02.gif);
		background-repeat: no-repeat;
	}
	h2.subtitle {
		margin: 5px 5px 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#main {
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}
	#wrap, #footer {
		min-width: 320px;
	}
	#container h3.sub {
		margin-bottom: 20px;
		font-size: 20px;
	}
	#leftnavi ul {
		width: 100%;
	}
	#contact02 {
		background: none;
	}
	#contact02 a {
		width: 100%;
		height: 25vw;
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
	#contact03 {
		background: none;
	}
	#contact03 a {
		width: 100%;
		height: 14.8vw;
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
}
/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.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: 800px;
	margin: auto;
	color: #898340;
	line-height: 1.6;
	font-size: x-small;
}
/* リンク */
#footer .link {
	padding: 4px 0px 4px 8px;
	text-align: left;
}
#footer .link ul {
	padding: 0px 0px 2px 0px;
}
#footer .link ul li {
	display: inline-block;
	list-style: none;
	padding: 0px 12px 0px 8px;
	background-image: url(../img/p.gif);
	background-position: 0% 50%;
	background-repeat: no-repeat;
}
#footer .link ul li a {
	color: #898340;
	text-decoration: none;
}
#footer .link ul li a:hover {
	text-decoration: underline;
}
#footer .link p {
	padding-bottom: 0;
}
/* コピーライト */
#copyright {
	clear: both;
	padding: 0px 10px 2px 10px;
	color: #898340;
	font-size: x-small;
	text-align: right;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	
	#footer .contact li {
		width: 48%;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#footer .ttl {
		margin-bottom: 20px;
	}
	#copyright {
		padding: 10px 0;
		font-size: 10px;
		text-align: center;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer .contact li+li {
		margin-top: 15px;
	}
	#footer .contact li.tel a {
		font-size: 25px;
	}
	#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-left: 20px;
	margin-bottom: 10px;
	color: var(--color-thin);
	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: underline;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#page_navi {
		margin-left: 15px;
		margin-bottom: 20px;
		padding-top: 15px;
		font-size: 11px;
	}
}
/*------------------------------------------------*/
#marutbl {
	border: 1px solid #fed87d;
	padding: 10px;
	border-radius: 10px;
}
/* テーブル */
.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; }
}
