@charset "utf-8";

/*******************************************

-------------------------------------------
wrap
********************************************/

.wrap, .wrapW {
	padding-left: 15px;
	padding-right: 15px;
}
.wrap1080 {width: 1080px; margin: 0 auto;}

@media only screen and (max-width: 767px) {
	.wrapW {
		padding-left: 0;
		padding-right: 0;
	}
	.wrap1080 {
		width: 100%;
	}
}

/*******************************************

-------------------------------------------
header
********************************************/

header {
	width: 100%;	
	background-color: #fff;
	position: relative;
	z-index: 100;
}
header .h_wrap {
	height: 100px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
header .h_logo {
	display: flex;
	align-items: flex-end;
	column-gap: 10px;
}
@media only screen and (max-width: 767px) {
	header .h_wrap {
		height: 50px;
		align-items: center;
		padding-left: 15px;
	}
	header .h_logo {
		column-gap: 6px;
	}
	header .h_logo img:nth-of-type(1) {
		height: 15px;
	}
	header .h_logo img:nth-of-type(2) {
		height: 20px;
	}
	header .search_open {
		width: 50px;
		height: 50px;
		position: absolute;
		top: 0;
		right: 50px;
	}
	header .search_open a {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
	}
	header .search_open a img {
		width: 18px;
		height: 18px;
		opacity: 0.5;
	}
}

/* グロナビ
========================================== */

header nav {
	position: relative;
}
header .gNav .gNavList > ul > li > a {
	display: inline-block;
	padding: 5px;
	position: relative;
}
header .gNav .gNavList > ul > li > a.active,
header .gNav .gNavList > ul > li > a:hover {
	color: #00b0a8;
	opacity: 1;
}
body.sub header .gNav .gNavList > ul > li:nth-of-type(1) > a.active {
	color: #231815;
}
body.sub header .gNav .gNavList > ul > li:nth-of-type(1) > a.active:hover {
	color: #00b0a8;
}
header .gNav .gNavList .h_contact {
	position: absolute;
	top: -56px;
	right: 0;
}
header .gNav .gNavList .h_contact a {
	display: inline-block;
}
header .gNav .gNavList .h_contact .btn_h_tel {
}
header .gNav .gNavList .h_contact .btn_h_mail {
	position: relative;
	top: 1px;
	margin-left: 5px;
}
header .gNav .gNavList .h_contact p {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	margin-top: 5px;
}
@media only screen and (max-width: 767px) {
	header .gNav .gNavList > ul > li > a {
		display: block;
		padding: 10px 5px;
	}
	header .gNav .gNavList .h_contact {
		position: static;
		background-color: #fff;
		border-radius: 0 0 20px 20px;
		padding: 0 20px 30px;
		text-align: center;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	header .gNav .gNavList .h_contact .btn_h_mail {
		top: 0;
		margin-left: 0;
	}
	header .gNav .gNavList .h_contact p {
		width: 100%;
		text-align: center;
		font-size: 14px;
	}	
}
@media only screen and (max-width: 375px) {
	header .gNav .gNavList .h_contact p {
		font-size: 13px;
	}
}

/* ---------------------------
PC
----------------------------- */

@media only screen and (min-width: 768px) {
	header nav {
		display: block!important;
	}
	header .gNav .gNavList > ul {
		height: 65px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		position: relative;
		padding: 0 15px;
	}
	header .gNav .gNavList > ul > li > a.active::after,
	header .gNav .gNavList > ul > li > a:hover::after {
		content: "";
		display: block;
		width: calc(100% - 10px);
		height: 3px;
		background-color: #00b0a8;
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	body.sub header .gNav .gNavList > ul > li:nth-of-type(1) > a.active::after {
		background-color: #fff;
	}
	body.sub header .gNav .gNavList > ul > li:nth-of-type(1) > a.active:hover::after {
		background-color: #00b0a8;
	}
	header .gNav .gNavList > ul > li:last-of-type {
		border-left: 1px solid #bdbab9;
		padding-left: 25px;
	}
	header .gNav .gNavList > ul > li .search_open {
	}
	header .gNav .gNavList > ul > li .search_open a {
		display: inline-block;
	}
	header .gNav .gNavList > ul > li .search_open a::before {
		content: "";
		display: inline-block;
		background: url("../img/common/ic_search_black.svg") center / cover no-repeat;
		width: 15px;
		height: 15px;
		position: relative;
		top: 1px;
		margin-right: 7px;
		transition: all 0.08s linear;
	}
	header .gNav .gNavList > ul > li .search_open a:hover {
		color: #00b0a8;
	}
	header .gNav .gNavList > ul > li .search_open a:hover::before {
		background-image: url("../img/common/ic_search_color.svg");
	}
}

/* ---------------------------
スマホ
----------------------------- */

@media only screen and (max-width: 767px) {
	header nav {
		display: none;
		position: absolute;
		top: 50px;
		left: 0;
		right: 0;
		width: 100%;
		height: calc(100vh - 50px);
		height: calc(100dvh - 50px);
		z-index: 10;
	}
	header .gNav .gNavList {
		background-color: rgba(57,55,130,0.9);
		padding: 15px;
		
	}
	header .gNav .gNavList > ul {
		background-color: #fff;
		border-radius: 20px 20px 0 0;
		padding: 10px 25px 30px;
	}
	header .gNav .gNavList > ul > li {
		border-bottom: 1px dashed #ccc;
	}
	header .gNav .gNavList > ul > li > a::after {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%) rotate(45deg);
		width: 6px;
		height: 6px;
		border-top: solid 3px #aeaeae;
		border-right: solid 3px #aeaeae;
	}
	header .gNav .gNavList > ul > li > a.active::after {
		border-top-color: #00b0a8;
		border-right-color: #00b0a8;
	}
	body.sub header .gNav .gNavList > ul > li:nth-of-type(1) > a.active::after {
		border-top-color: #aeaeae;
		border-right-color: #aeaeae;
	}
	
/* ハンバーガーボタン */
	header .hambMenu {
		width: 50px;
		height: 50px;
		position: absolute;
		top: 0;
		right: 0;
		background-color: #00b0a8;
	}
	header .hambMenu a {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		position: relative;
		opacity: 1!important;
	}
	header .hambMenu a span,
	header .hambMenu a span::before,
	header .hambMenu a span::after {
		display: block;
		width: 30px;
		height: 2px;
		background-color: #fff;
		transition: all .25s linear;
	}
	header .hambMenu a span::before,
	header .hambMenu a span::after {
		content: "";
		position: absolute;
		right: 10px;
		transform-origin: 19%;
	}
	header .hambMenu a span::before {
		top: 15px;
	}
	header .hambMenu a span::after {
		bottom: 15px;
	}
	header .hambMenu a span.close {
		background-color: transparent;
	}
	header .hambMenu a span.close::before {
		top: 17px;
		right: 5px;
		width: 32px;
		transform: rotate(45deg);
	}
	header .hambMenu a span.close::after {
		bottom: 17px;
		right: 5px;
		width: 32px;
		transform: rotate(-45deg);
	}

/* メニューOPEN時の処理 */
	body.menu-open {
		overflow: hidden;
	}
	header .gNav .gNavList {
		height: 100%;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		position: relative;
	}
}

/*******************************************

-------------------------------------------
main
********************************************/

main {
	display: block;
}
body.sitemap main,
body.privacy main {
	border-top: 45px solid #dcdddd;
}
body.sub main section + section {
	margin-top: 70px;
}
@media only screen and (max-width: 767px) {
	body.sitemap main,
	body.privacy main {
		border-top-width: 15px;
	}
	body.sub main section + section {
		margin-top: 60px;
	}
}

/* MV
========================================== */

main .mv {
	position: relative;
}
main .mv img {
	width: 100%;
	height: 470px;
	object-fit: cover;
	object-position: center top;
}
body.home main .mv img {
	height: 900px;
}
body.contact main .mv img,
body.news main .mv img {
	height: 210px;
}
@media only screen and (max-width: 767px) {
	main .mv img {
		height: clamp(12.5rem, 0.796rem + 37.45vw, 18.75rem);/*200px~300px/500px~767px*/
	}
	body.home main .mv img {
		height: clamp(21.875rem, 4.319rem + 56.18vw, 31.25rem);/*350px~500px/500px~767px*/
	}
	body.contact main .mv img,
	body.news main .mv img {
		height: clamp(9.375rem, 6.696rem + 8.57vw, 13.125rem);/*150px~210px/500px~767px*/
	}
}
@media only screen and (max-width: 500px) {
	main .mv img {
		height: clamp(8.125rem, 0.347rem + 38.89vw, 12.5rem);/*130px~200px/320px~500px*/
	}
	body.home main .mv img {
		height: clamp(15.625rem, 7.847rem + 38.89vw, 20rem);/*250px~320px/320px~500px*/
	}
	body.contact main .mv img,
	body.news main .mv img {
		height: clamp(8.125rem, 5.903rem + 11.11vw, 9.375rem);/*130px~150px/320px~500px*/
	}
}

/* パンくずリスト
========================================== */

main .pNav {
}
main .pNav ul {
	display: flex;
	font-size: 12px;
	line-height: 1;
	column-gap: 10px;
}
main .pNav ul li {
	color: #0e154b;
	margin-top: 10px;
}
main .pNav ul li:not(:last-of-type)::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-right: 1px solid #727171;
	border-top: 1px solid #727171;
	transform: rotate(45deg);
	position: relative;
	top: -2px;
	margin-left: 10px;
}
main .pNav ul li a {
	color:  #727171;
}
main .pNav ul li a:hover {
	opacity: 1;
	color: #00b0a8;	
}

/*******************************************

-------------------------------------------
お問い合わせ・ご相談
********************************************/

.contactBox {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	column-gap: 10px;
	position: relative;
	margin-top: 60px;
}
@media only screen and (max-width: 767px) {
	.contactBox {
		margin-top: clamp(5rem, -0.369rem + 26.85vw, 12.5rem);/*80px~200px/320px~767px*/
	}
	.contactBox a {
		position: relative;
		z-index: 1;
	}
	.contactBox > img {
		height: clamp(10rem, -0.738rem + 53.69vw, 25rem);/*160px~400px/320px~767px*/
		position: absolute;
		bottom: 0;
		right: clamp(1.25rem, 0.803rem + 2.24vw, 1.875rem);/* 20px~30px/320px~767px*/
	}
}

/*******************************************

-------------------------------------------
PAGE TOP
********************************************/

.pagetop {
	display: none;
	opacity: 0;
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 56px;
	height: 56px;
	z-index: 1;
}
.pagetop.show {
	display: block;
	opacity: 1;
	animation: fadebtn 0.8s linear;
}
.pagetop.show:hover {
	opacity: 0.8;
}
@keyframes fadebtn {
	0%   {opacity: 0;}
	100% {opacity: 1;}
}
@media only screen and (max-width: 767px) {
	.pagetop {
		right: 15px;
		bottom: 27px;
	}
}

/*******************************************

-------------------------------------------
footer
********************************************/

footer {
	background-color: #393782;
	margin-top: 90px;
	padding-top: 30px;
}
footer .f_sitemap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
footer .f_sitemap a {
	color: #fff;
	display: inline-block;
}
footer .f_sitemap a.f_logo {
	width: 262px;
}
footer .f_sitemap a.f_logo img {
	width: 100%;
}
footer .f_sitemap .f_menuArea {
	width: 100%;
	max-width: 630px;
}
footer .f_sitemap .f_menuArea > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 60px;
}
footer .f_sitemap .f_menuArea > ul > li > a {
	font-weight: 700;
}
footer .f_sitemap .f_menuArea > ul > li > ul {
	border-top: 1px solid #a9a8c9;
	margin-top: 5px;
	padding-top: 5px;
}
footer .f_sitemap > ul {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	column-gap: 10px;
	margin-top: 40px;
}
footer .f_sitemap > ul li:not(:last-of-type)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 15px;
	background-color: #a9a8c9;
	position: relative;
	top: 2px;
	margin-left: 10px;
}
footer .copy {
	background-color: #dcdddd;
	color: #292b2c;
	text-align: center;
	font-size: 12px;
	padding: 10px 15px;
	word-break: normal;
	margin-top: 10px;
}
@media only screen and (max-width: 767px) {
	footer {
		margin-top: 40px;
	}
	footer .f_sitemap {
		display: block;
		text-align: center;
	}
	footer .f_sitemap a {
		font-size: 15px;
		padding: 5px 0;
	}
	footer .f_sitemap a.f_logo {
		width: 150px;
	}
	footer .f_sitemap .f_menuArea {
		padding: 0 20px;
		margin-top: 20px;
	}
	footer .f_sitemap .f_menuArea a {
		display: block;
		padding: 13px 5px;
		position: relative;
	}
	footer .f_sitemap .f_menuArea a::after {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%) rotate(45deg);
		width: 6px;
		height: 6px;
		border-top: solid 3px #a9a8c9;
		border-right: solid 3px #a9a8c9;
	}
	footer .f_sitemap .f_menuArea > ul {
		gap: 0 30px;
	}
	footer .f_sitemap .f_menuArea > ul > li {
		width: 100%;
		border-bottom: 1px solid #a9a8c9;
	}
	footer .f_sitemap .f_menuArea > ul > li:last-of-type {
		border-bottom: none;
	}
	footer .f_sitemap .f_menuArea > ul > li > ul {
		margin-left: 20px;
		border-top: none;
		margin-top: 0;
		padding-top: 0;
	}
	footer .f_sitemap .f_menuArea > ul > li > ul li {
		border-top: 1px dotted #a9a8c9;
	}
	footer .f_sitemap > ul {
		margin-top: 20px;
		padding: 0 70px 0 20px;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 6px;
	}
	footer .f_sitemap > ul li a {
		border: 1px solid #a9a8c9;
		border-radius: 3px;
		padding: 3px 7px;
	}
	footer .f_sitemap > ul li:not(:last-of-type)::after {
		display: none;
	}
	footer .copy {
		font-size: 8px;
	}
}