@charset "utf-8";
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	position: relative;
	height: 55px;
	font-family: var(--font-sans);
	text-align: left;
	align-items: flex-start;
	z-index: 1;
}
/* タイトル */
#header h1.title {
	width: 340px;
	height: 100%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
}
#header h1.title a {
	height: 100%;
}
#header h1.title img {
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-width: none;
}
#header .header_box {
	width: 395px;
	height: 100%;
	background: #f69108;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	color: #fff;
	font-size: 34px;
	font-weight: bold;
	font-style: italic;
	white-space: nowrap;
	line-height: 1;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
	justify-content: center;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ヘッダ */
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0;
		background: #fff;
		z-index: 9997;
	}
	#header h1.title {
		width: 48%;
		padding: 10px;
	}
	#header .header_box {
		width: 45%;
		font-size: 28px;
		clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
	}
}
@media only screen and (max-width: 640px) {
	#header {
		height: 40px;
	}
	#header .header_box {
		width: 52%;
		font-size: 4.2vw;
	}
}
/*--------------------------------------------------
  ページタイトル
--------------------------------------------------*/
#page_title {
	overflow: hidden;
	position: relative;
	text-align: center;
}
#page_title p {
	text-align: center;
}
#page_title img {
	width: 100%;
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#wrap {
	overflow: hidden;
	z-index: 1;
}
#wrap::before {
	position: fixed;
	background: url("../img/bg-main.jpg")no-repeat top center/cover;
}
#container {
	text-align: left;
	line-height: 1.8;
}
#container p {
	margin-bottom: 1em;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#wrap {
		min-width: 820px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#container {
		padding-top: 50px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#wrap, #footer {
		min-width: 320px;
	}
	#container {
		padding-top: 40px;
	}
}
/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.main {
	width: 94%;
	max-width: 780px;
	margin: auto;
}
.main_txt {
	padding: 0 20px;
	background: #fff;
}
.box_white {
	background: #fff;
}
@media only screen and (max-width: 640px){ /* スマホ */
	.main_txt {
		padding: 0 15px;
	}
}
/*--------------------------------------------------
  フッタ
--------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	margin-top: auto;
	line-height: 1.6;
}
/* コピーライト */
#copyright {
	padding: 15px 0;
	background: #2a80ef;
	color: #FFF;
	font-size: 12px;
	font-family: var(--font-mei);
	text-align: center;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#footer .follow {
		display: none;
	}
	#footer .contact li {
		width: 48%;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#copyright {
		padding: 10px 0;
		font-size: 10px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer {
		margin-bottom: 60px;
		position: relative;
	}
	#footer .follow {
		position: fixed;
		width: 100%;
		bottom: 0;
		left: 0;
		z-index: 9999;
	}
	#footer .follow.puyon {
		top: auto;
		bottom: 0;
	}
	/*
	#footer .follow .box {
		background: #e9e9eb;
		padding: 3px;
		border-radius: 15px;
	}
	
	#footer .follow .box .in a {
		height: 50px;
		color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		font-weight: 800;
		background: linear-gradient(180deg,rgba(246, 145, 8, 1) 0%, rgba(241, 90, 36, 1) 100%);
		border: 1px solid #282836;
		border-radius: 13px;
		box-shadow: 0 0 2px rgba(40,40,54,0.5);
	}
	*/
	/*
	#footer .follow .box:nth-of-type(2) a {
		background: linear-gradient(180deg,rgba(96, 219, 146, 1) 0%, rgba(6, 199, 85, 1) 100%);
	}
	#footer .follow .box a .tel,#footer .follow .box a .sns {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	*/
	#footer .follow .box a .tel {
		justify-content: space-between;
		width: 100%;
		padding: 0 5px;
	}
	#footer .follow .box a .maru {
		position: relative;
		display: flex;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: #fff;
	}
	#footer .follow .box a .maru img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 20px;
	}
	#footer .follow .box:last-of-type a img {
		margin-right: 0;
	}
	#footer .follow .box a .txt {
		position: relative;
		top: -1px;
		font-size : 6.2vw;
		white-space: nowrap;
		width: 75%;
		text-align: center;
		text-shadow: -1.5px -1.5px 0 rgba(40,40,54,0.5);
	}
	footer .follow .box a .txt_s {
		font-size: 3vw;
		text-shadow: -1.5px -1.5px 0 rgba(40,40,54,0.5);
	}
	#footer .follow .box:first-of-type {
		width: calc(100% - 65px);
	}
	#footer .follow .box:last-of-type {
		width: 60px;
	}
	#footer .follow .box:last-of-type a .txt {
		display: none;
	}
	#copyright {
		padding: 5px 0;
	}
}
	@media only screen and (max-width: 320px) {
		#footer .follow .box a .txt {
			font-size: 5.8vw;
		}
		footer .follow .box a .txt_s {
			font-size: 2.5vw;
		}
	}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
/* 枠のマージン・パディング */
.mb { margin-bottom: 50px; }
.pt { padding-top: 50px; }
.pb { padding-bottom: 50px; }
.pbs { padding-bottom: 20px; }
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.mt { margin-top: 40px; }
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
	.pbs { padding-bottom: 15px; }
}
@media only screen and (max-width: 640px){ /* スマホ */
	.mt { margin-top: 30px; }
	.mb { margin-bottom: 30px; }
	.pt { padding-top: 30px; }
	.pb { padding-bottom: 30px; }
	.pbs { padding-bottom: 10px; }
}
/*------------------------------------------------*/
/* パンくずリスト */
#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: 820px) {
	.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; }
}
