/* 　イベント ポップアップ
--------------------------- */

/* オーバーレイ全体 */
.top-event-overlay {
  position: fixed;
  inset: 0; /* top:0;right:0;bottom:0;left:0; */
  background: rgba(0,0,0,0.4);
  z-index: 9998; /* バナーより下、でも他要素より上 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* バナー本体 */
.top-event-banner {
  position: relative;
  width: 300px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #fff;
  border-radius: 6px;
}

.top-event-banner img {
  width: 100%;
  display: block;
}

/* 閉じるボタン */
.close-top-event {
  position: absolute;
  top: -15px;
  right: -15px;
  background: rgba(0,0,0,0.8);
  border: none;
  font-size: 18px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  line-height: 1;
}

/* レスポンシブ */
@media screen and (max-width: 767px){
  .top-event-banner { width: 300px; }
}
@media screen and (min-width: 768px){
  .top-event-banner { width: 400px; }
}


/* footer
--------------------------- */
#footer{
	background-color: #f6faee;
	margin-top: 5rem;
}
@media screen and (min-width: 768px){
	#footer{
		margin-top: 7.5rem;
	}
}
@media screen and (min-width: 992px){
	#footer{
		margin-top: 8.5rem;
	}
}
@media screen and (min-width: 1400px){
	#footer{
		margin-top: 10.58rem;
	}
}

.footer_contactArea{
	position: relative;
}
.footer_contact{
	margin-bottom: 0;
}
.footer_contact li{
	list-style: none;
}
.footer_contact li:first-child{
	margin-bottom: 1px;
}
.footer_contact li a{
	display: block;
	position: relative;
}
.footer_con_img{
	position: relative;
}
.footer_con_img::before{
	position: absolute;
	content: "";
	background-color: rgba(0,0,0,0.15);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.footer_con_img::after{
	position: absolute;
	content: "";
	background-color: rgba(0,0,0,0.7);
	width: 100%;
	height: 100%;
	top: 50%;
	left: 50%;	
	transform: translate(-50%,-50%);
	opacity: 0;
	transition: .3s;
}
a:hover .footer_con_img::after{
	width: 91.1%;
	height: 86.6%;
	opacity: 1;
	transition: .3s;
}
.footer_con_img img{
	max-width: 100%;
	height: auto;
}
.footer_con_txt{
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;
}
.footer_con_txt .tit{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: 400;
	letter-spacing: 0.03em;
	font-size: 1.73rem;
	margin-bottom: 0.917rem;
}
.footer_con_txt .txt{
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0;
	margin-bottom: 0;
}
.footer_con_arrow{
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid #fff;
	display: block;
}
.footer_con_arrow::after{
	position: absolute;
	content: "";
	width: 16px;
	height: 11px;
	background-image: url("../images/arrow_w.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	display: block;
}
@media screen and (min-width: 768px){
	.footer_contact{
		display: flex;
	}
	.footer_contact li{
		width: 50%;
	}
	.footer_contact li:first-child{
		margin-bottom: 0;
	}
	.footer_con_arrow{
		width: 60px;
		height: 60px;
	}
}
@media screen and (min-width: 992px){
	.footer_con_txt{
		width: 76.6%;
	}	
	.footer_con_txt .tit{
		font-size: 2.23rem;
	}
	.footer_con_arrow{
		width: 65px;
		height: 65px;
	}
}
@media screen and (min-width: 1200px){
	.footer_con_arrow{
		width: 75px;
		height: 75px;
	}
}
@media screen and (min-width: 1400px){
	.footer_con_txt{
		width: 71.6%;
	}	
}
@media screen and (min-width: 1600px){
	.footer_con_txt{
		width: 66.6%;
		max-width: 600px;
	}
	.footer_con_txt .txt{
		font-size: 1rem;
	}
	.footer_con_arrow{
		width: 80px;
		height: 80px;
	}
}

.footer_left{
	padding: 4rem 0;
	border-bottom: 1px solid rgba(218,219,218,0.5);
}
.footer_left_inner{
	width: 86%;
	margin-right: auto;
	margin-left: auto;
}
.footer_logo{
	width: 180px;
	margin-bottom: 1.63rem;
}
.footer_logo a, .footer_logo img{
	display: block;
	width: 100%;
	height: 100%;
}
.footer_company{
	margin-bottom: 2.98rem;
}
.footer_company li{
	list-style: none;
}
.footer_company li:first-child{
	margin-bottom: 1.217rem;
}
.footer_company_tit{
	font-size: 1.058rem;
	letter-spacing: 0.02em;
	border-bottom: 1px solid rgba(218,219,218,0.5);
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	line-height: 3.2;
	margin-bottom: 0.77rem;
}
.footer_company_txt{
	font-size: 0.88rem;
	letter-spacing: 0;
	line-height: 1.7;
	margin-bottom: 0;
}
.footer_line{
	background-color: #fff;
	color: #282d27;
	width: 100%;
	height: 100%;
	aspect-ratio: 17 / 4;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0.588rem;
	font-size: 1rem;
	line-height: 1.5;
	transition: .3s;
}
.footer_line img{
	width: 20px;
	margin-right: 10px;
}
.footer_line:hover{
	text-decoration: none;
	opacity: 0.8;
	transition: .3s;
}
@media screen and (min-width: 576px){
	.footer_left_inner{
		max-width: 300px;
	}
	.footer_logo{
		margin-bottom: 2.13rem;
	}
	.footer_company{
		margin-bottom: 3.48rem;
	}
	.footer_company li:first-child{
		margin-bottom: 1.517rem;
	}
}
@media screen and (min-width: 768px){
	.footer{
		display: flex;
	}
	.footer_left{
		width: 35%;
	}
	.footer_left_inner{
		width: 80%;
		max-width: 340px;
	}
	.footer_logo{
		margin-bottom: 3.13rem;
	}
	.footer_company{
		margin-bottom: 5.48rem;
	}
	.footer_company li:first-child{
		margin-bottom: 2.517rem;
	}
}
@media screen and (min-width: 992px){
	.footer_left{
		padding: 6.23rem 0;
	}
}
@media screen and (min-width: 1400px){
	.footer_left{
		padding: 8.23rem 0;
		width: 33.33%;
	}
}
@media screen and (min-width: 1600px){
	.footer_logo{
		width: 225px;
	}
}
/* footer_right */
.footer_right{
	width: 86%;
	margin-right: auto;
	margin-left: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 4rem 0;
}
.footer_nav_block{
	width: calc((100% - 2rem)/2);
}
.footer_nav_tit{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1.17rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.7;
	margin-bottom: 1.35rem;
}
.footer_nav_tit .f-eng{
	display: block;
	font-weight: 400;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	margin-bottom: 0.31rem;
}
.footer_nav{
	margin-bottom: 0;
}
.footer_nav > li{
	list-style: none;
}
.footer_nav > li:last-child{
	margin-bottom: 0;
}
.footer_nav > li > a{
	display: inline-block;
	color: #616560;
	font-size: 0.88rem;
	letter-spacing: 0;
	line-height: 2.3;
	font-weight: 500;
	transition: .3s;
}
.footer_nav > li > a:hover{
	text-decoration: none;
	opacity: 0.7;
	transition: .3s;
}
.footer_nav > li > a .f-eng{
	font-weight: 300;
}
.footer_nav > li > ul{
	margin-left: 1rem;
}
.footer_nav > li > ul > li{
	list-style: none;
}
.footer_nav > li > ul > li a{
	display: inline-block;
	color: #616560 ;
	font-size: 0.88rem;
	line-height: 2.3;
	font-weight: 500;
	transition: .3s;
}
.footer_nav > li > ul > li a:hover{
	text-decoration: none;
	opacity: 0.7;
	transition: .3s;
}
.footer_nav > li > ul > li a .f-eng{
	font-weight: 300;
}
.footer_nav_block:nth-child(1), .footer_nav_block:nth-child(2){
	margin-bottom: 3rem;
}
.footer_nav_block:nth-child(2) .footer_nav > li{
	margin-bottom: 1.35rem;
}
.footer_nav_block:nth-child(2) .footer_nav > li:last-child{
	margin-bottom: 0;
}
@media screen and (min-width: 576px){
	.footer_right{
		padding: 0;
	}
	.footer_nav_block{
		width: calc(100% / 3);
		border-left: 1px solid rgba(218,219,218,0.5);;
		padding-left: 1.4rem;
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
	.footer_nav_block:nth-child(1), .footer_nav_block:nth-child(2){
		margin-bottom: 0;
	}
	.footer_nav_tit .f-eng{
		margin-bottom: 0.61rem;
	}
}
@media screen and (min-width: 768px){
	.footer_right{
		width: 65%;
		margin: 0;
	}
}
@media screen and (min-width: 992px){
	.footer_right{
		width: 62.78%;
	}
	.footer_nav_block{
		padding: 6rem 0 0 1.94rem;
	}
	.footer_nav_block:nth-child(2) .footer_nav > li{
		margin-bottom: 1.85rem;
	}
}
@media screen and (min-width: 1400px){
	.footer_right{
		width: 66.67%;
	}
	.footer_nav_block{
		padding: 8.23rem 0 0 2.94rem;
	}
}

.footer_bottom{
	background-color: #5a9433;
	color: #fff;
	padding: 1.44rem 0 6rem;
}
.footer_bottom_inner{
	width: 86%;
	margin-right: auto;
	margin-left: auto;
}
.footer_link{
	margin-bottom: 0;
	display: flex;
}
.footer_link li{
	list-style: none;
	padding-right: 7px;
	margin-right: 7px;
	position: relative;
}
.footer_link li::after{
	position: absolute;
	content: "";
	background-color: #fff;
	width: 1px;
	height: 50%;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.footer_link li:last-child{
	padding-right: 0;
	margin-right: 0;
}
.footer_link li:last-child::after{
	content: none;
}
.footer_link li a{
	color: #fff;
	font-size: 0.823rem;
	letter-spacing: 0;
}
.footer_link li a:hover{
	text-decoration: none;
	opacity: 0.8;
	transition: .3s;
}
.copyright{
	margin-bottom: 0;
	font-weight: 400;
	letter-spacing: 0.02em;
	font-size: 0.88rem;
	line-height: 1;
	margin-top: 0.8rem;
}
@media screen and (min-width: 576px){
	.footer_link li{
		padding-right: 10px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 768px){
	.footer_bottom{
		padding: 1.94rem 0;
	}
	.footer_bottom_inner{
		width: 92.88%;
		max-width: 1672px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.footer_link li{
		padding-right: 13px;
		margin-right: 13px;
	}
	.copyright{
		margin-top: 0;
	}
}
@media screen and (min-width: 992px){
	.footer_bottom{
		padding: 2.44rem 0;
	}
}
@media screen and (min-width: 1400px){
	.footer_bottom{
		padding: 2.94rem 0;
	}
}


/*1分後にモーダル表示*/
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: none; /* 初期状態で非表示にします */
}
.modal-mask {
  position: absolute;
  width: 100%;
  height: 100vh;
  opacity: 1;
  background: rgba(0, 0, 0, 0.4); /* 背面のbodyを少しだけ暗くし、操作できないニュアンスを出す */
}
.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  max-width: 1000px;
  background: #f5f5f5;
  transform: translate(-50%, -50%);
  box-shadow: 3px 3px 5px #888; /* 背面のbodyの上に立体的にのせているイメージ */
  padding: 3rem 1rem 2rem;
}
.modal-inner {
  position: relative; /* 閉じるボタンの相対位置の基準とする */
  margin: 10px auto;
  width: 90%;
  height: auto;
}
.modal-inner_item {
  display: block;
}
.modal-inner_img img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
}
.modal-inner_close {
  position: absolute;
  top: calc(-14% - 8px); /* 位置の基準とする親要素のmargin分と、親要素からはみ出す距離（ここでは8px)を引く */
  right: calc(-5% - 8px);
  padding: 3px;
  color: #000;
  border: none;
  border-radius: 50%;
  background-color: inherit;
  font-size: 2rem;
  cursor: pointer;
}
@media screen and (min-width: 992px) {
  .modal-container {
    padding: 3rem 2rem;
  }
  .modal-inner_close {
    top: calc(-12% - 8px);
  }
}


/* 767以下の表示設定
----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 576px) {
ul.footer_menu {
	display: none;
}
}
@media screen and (max-width: 575px) {
	/*　フッター固定メニュー　*/
	ul.footer_menu {
		width: 100%;
		height: 50px;
		display: flex;
		margin: 0;
		padding: 0;
		position: fixed;
		bottom: 0;
		left:0;
		z-index: 999;
        transition: all .4s;
		border-top: 1px solid rgba(246, 250, 238, 0.5);
	}
	ul.footer_menu li {
		width: calc(100% / 3);
		margin: 0;
		list-style: none;
		position: relative;
	}
	ul.footer_menu li:not(:last-child)::after{
		position: absolute;
		content: "";
		width: 1px;
		height: 100%;
		background-color: rgba(246, 250, 238, 0.5);
		top: 0;
		right: 0;
	}
	ul.footer_menu li a {
		border: none;
		text-align: center;
		text-decoration: none;
		width: 100%;
			height: 100%;
        font-size: 0.9375rem;
		letter-spacing: 0.08em;
		background-color: #5a9433;
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}