@charset "utf-8";
/*==================================================
  ヘッダ
--------------------------------------------------*/
#header {
	position: relative;
	height: 80px;
	padding: 15px;
	background: #fff;
	text-align: left;
}
/* タイトル */
#header h1.title {
	height: 100%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
}
#header h1.title img {
	object-fit: contain;
	object-position: left;
	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 {
		padding: 0;
		padding-right: 50px;
		height: 70px;
	}
	#header h1.title {
		width: 258px;
		position: absolute;
		top: 0;
		left: 50px;
		display: block;
		z-index: 99;
	}
	@media only screen and (max-width: 1200px) {
		#header h1.title {
			left: 5px;
		}
	}
	#header h1.title img {
		height: auto;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: var(--color-primary); }
	#header .contact .tel a { background: var(--color-secondary); }
	#header .contact .btn a { background: var(--color-primary); }

	/* ヘッダ */
	#header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0 46px 0 0;
		z-index: 9997;
		background: rgba(255,255,255,0.8);
	}
	#header h1.title {
		width: 120px;
		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: 640px){ /* スマホ */
}
/*--------------------------------------------------
  メニュー
--------------------------------------------------*/
#menu {
	margin-left: auto;
}
#menu ul {
	display: flex;
	column-gap: 30px;
}
#menu li {
	background: url("../img/menu.png") no-repeat left center;
	padding-left: 20px;
}
#menu li a {
	display: block;
	color: var(--color-font);
	font-size: 18px;
	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 {
	position: relative;
	text-align: center;
}
#page_title p {
	text-align: center;
}
#sub_ttl img {
	width: 100%;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
}
@media only screen and (max-width: 640px){ /* スマホ */
}
/*--------------------------------------------------
  コンテナ
--------------------------------------------------*/
#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;
	padding-top: 60px;
	margin-bottom: 10px;
	font-size: 46px;
	text-align: center;
	background: url("../img/h3.png") no-repeat center top;
	font-family: var(--font-sans);
}
#container h3.sub .en {
	color: var(--color-secondary);
	font-size: 20px;
	font-weight: normal;
	font-weight: 500;
	display: block;
}
#container h3.ribbon {
	font-family: var(--font-sans);
	background: url("../img/top/h3.png") no-repeat center / contain;
	width: 738px;
	aspect-ratio: 738 / 205;
	margin: 0 auto;
	font-size: 41px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 85px;
	box-sizing: border-box;
}

#container h3.ribbon span {
	display: inline-block;
	white-space: pre;
}
#container h4.sub {
	color: var(--color-primary);
	font-size: 33px;
	text-align: center;
	font-family: var(--font-sans);
}
@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 {
		font-size: 30px;
	}
	#container h3.sub .en {
		font-size: 14px;
	}
	#container h3.ribbon {
		width: 100%;
		font-size: min(5vw, 4rem);
		padding-top: 11vw;
	}
	#container h4.sub {
		font-size: 23px;
	}
	#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.ribbon {
		padding-top: 10vw;
	}
	#container h4.sub {
		font-size: 20px;
	}
}
/*--------------------------------------------------
  メイン
--------------------------------------------------*/
.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: linear-gradient(
		90deg,
		#45acd0 0%,
		#76d1b5 50%,
		#a9da91 100%
	);
	font-size: 14px;
	line-height: 1.6;
	position: relative;
	padding: 150px 0 200px;
}
#footer .footer_curve {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 90px;
	display: block;
}
/* リンク */
#footer .link {
	margin-bottom: 50px;
}
#footer .link ul li {
	display: inline;
	margin-right: 20px;
	list-style: none;
	background: url("../img/menu.png") no-repeat left top 3px;
	padding-left: 20px;
}
#footer .link ul li a {
	color: #FFF;
	font-size: 18px;
	text-decoration: none;
}
#footer .link ul li a:hover {
	text-decoration: underline;
}
#footer .sns ul {
	width: 318px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
#footer .sns ul li a {
	width: 90px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	box-shadow : 0px 0px 3px rgba(252, 224, 121, 0.75);
	border-radius: 10px;
}
#footer .sns ul li a img {
	height: 40px;
	width: auto;
}
/* コピーライト */
#copyright {
	padding: 15px 0;
	color: #FFF;
	font-size: 12px;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#footer {
		padding: 50px 0 120px;
	}
	#footer .footer_curve {
		height: 50px;
	}
	#footer p.ttl {
		margin-bottom: 20px;
	}
	#copyright {
		padding: 10px 0;
		font-size: 10px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#footer {
		padding: 50px 15px 120px;
	}
	#copyright {
		padding: 5px 0;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#footer .sns ul {
		width: 100%;
	}
	#footer .sns ul li a {
		width: 80px;
		height: 80px;
	}
}
/*--------------------------------------------------
  共通
--------------------------------------------------*/
/* 枠のマージン・パディング */
.mt { margin-top: 50px; }
.mb { margin-bottom: 50px; }
.pt { padding-top: 50px; }
.pb { padding-bottom: 50px; }
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
}
@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; }
}

.p-idx_pt {
	display: none;
	position: fixed;
	right: 4rem;
	bottom: 12rem;
	z-index: 300;
	}
.p-idx_flb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 120px;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 300;
	background: #ffffffcb;
}
.p-idx_flb a {
	background : linear-gradient(90deg, rgba(77, 170, 214, 1) 0%, rgba(83, 175, 208, 1) 16.42%, rgba(100, 191, 190, 1) 39.09%, rgba(127, 216, 161, 1) 65.29%, rgba(131, 219, 157, 1) 68.28%, rgba(155, 204, 122, 1) 100%);
	color: #fff;
	font-size: 27px;
	padding: 10px 50px;
	border-radius : 28px;
	font-family: var(--font-sans);
	font-weight: bold;
}
.p-idx_flb a::after {
	content: "";
	position: relative;
	top: 2px;
	display: inline-block;
	width: 16px;
	height: 22px;
	background: #fff;
	margin-left: 10px;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	.p-idx_pt {
		right: 1rem;
	}
	.p-idx_pt img {
		width: 100px;
	}
	.p-idx_flb {
		height: 80px;
	}
	.p-idx_flb a {
		font-size: 20px;
	}
	.p-idx_flb a::after {
		width: 15px;
		height: 20px;
		top: 3px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */ 
	.p-idx_flb {
		padding-right: 60px;
	}
	.p-idx_flb a {
		font-size: 14px;
		padding: 10px 15px;
	}
	.p-idx_flb a::after {
		width: 10px;
		height: 15px;
		top: 3px;
		margin-left: 5px;
	}
	.p-idx_pt {
		right: 5px;
	}
	.p-idx_pt img {
		width: 60px;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */ 
	.p-idx_flb a {
		font-size: 13px;
		padding: 8px 10px;
	}
	.p-idx_pt img {
		width: 55px;
	}
}