
/*--------------------------------------------------------------
	Nakagusukuson
--------------------------------------------------------------*/

/*	 Background
---------------------------------------------------------------*/
.BGpt {
	display: block;
	padding: 50px 0px 50px;
	background-position: 0% 0%;
	background-repeat:repeat;
	background-size:auto;
	background-image:url(../images/common/nakagusuku_bg.png);
}

/*	 Box inner
---------------------------------------------------------------*/
.BGpt .inner {
	position: relative;
	display: block;
	width: 100%;
	max-width: 90%;
	margin: 0px auto;
}

/*	 h2
---------------------------------------------------------------*/
#contents h2.midashi {
	position: relative;
	display: block;
	padding: 0;
	font-size: 1.7em;
	font-weight: 500;
	margin: 0px auto 50px;
	border: none;
}
#contents h2.midashi span {
	position:relative;
	display: inline-block;
	background-position: 0% 0%;
	background-repeat:repeat;
	background-size:auto;
	background-image:url(../images/common/nakagusuku_bg.png);
	z-index: 100;
}
#contents .BGgreen h2.midashi span {
	position:relative;
	display: inline-block;
	background-position: 0% 0%;
	background-repeat:repeat;
	background-size:auto;
	background-color: rgba(51, 204, 204, 0.25);
	background-image:url(../images/common/nakagusuku_bg.png);
	z-index: 100;
}
#contents .BGgreen h2.midashi span:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(51, 204, 204, 0.25);
	z-index: 1000;
}
#contents h2.midashi:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: black;
  z-index: 10;
}

@media only screen and (max-width: 767px) {
#contents h2.midashi {
	margin: 0px auto 30px;
	font-size: 1.4em;
}
#contents h2.midashi:after {
	display: none;
}
}


/*	 Box inner 2 green
---------------------------------------------------------------*/
.BGgreen {
	position: relative;
	display: block;
	width: 100%;
	padding: 5vw 0px;
	margin: 10vw auto;
	background-color: rgba(51, 204, 204, 0.25);
	z-index: 10;
}


.BGgreen::before {
	content: '';
	position: absolute;
	top: -10vw;
	left: 0;
	border-bottom: 10vw solid rgba(51, 204, 204, 0.25);
	border-left: 100vw solid transparent;
}
.BGgreen::after {
	content: '';
	position: absolute;
	bottom: -10vw;
	left: 0;
	border-top: 10vw solid rgba(51, 204, 204, 0.25);
	border-left: 100vw solid transparent;
}

/*--- Safari hack ---*/
_::-webkit-full-page-media, _:future, :root .BGgreen::before {
	top: -9.9vw;
	border-bottom: 10vw solid rgba(51, 204, 204, 0.25);
}
_::-webkit-full-page-media, _:future, :root .BGgreen::after {
	bottom: -9.9vw;
	border-top: 10vw solid rgba(51, 204, 204, 0.25);
}

_:lang(x)+_:-webkit-full-screen-document, .BGgreen::before {
	top: -9.9vw;
	border-bottom: 10vw solid rgba(51, 204, 204, 0.25);
}
_:lang(x)+_:-webkit-full-screen-document, .BGgreen::after {
	bottom: -9.9vw;
	border-top: 10vw solid rgba(51, 204, 204, 0.25);
}


/*
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-color-index:0) {
.BGgreen::before {
	content: '';
	position: absolute;
	top: -10vw;
	left: 0;
	border-bottom: 10vw solid rgba(51, 204, 204, 0.25);
	border-left: 100vw solid transparent;
}
.BGgreen::after {
	content: '';
	position: absolute;
	bottom: -10vw;
	left: 0;
	border-top: 10vw solid rgba(51, 204, 204, 0.25);
	border-left: 100vw solid transparent;
}
}
*/


/*	 Yoko Box List
---------------------------------------------------------------*/
.yokoBox {
	display:flex;
	width: 100%;
	max-width: 1000px;
	margin: 0px auto 50px;
	background-color: #fff;
}
.yokoBox .img {
	width: 40%;
	min-height: 0%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.yokoBox .txt {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 60%;
	padding: 20px;
}
#contents .yokoBox .txt h3,
.yokoBox .txt p {
	max-width: 100%;
	min-height: 0;
}
#contents .yokoBox .txt h3 {
	margin-bottom: 10px;
	color: #33cccc;
	font-weight: 500;
	font-size: 1.2em;
	line-height: 1.3;
}
.yokoBox .txt p {
	font-size: 0.9em;
}

@media only screen and (max-width: 767px) {
.yokoBox {
	flex-direction: column;
	max-width: 100%;
	margin: 0px auto 50px;
}
.yokoBox .img {
	order: 2;
	width: 100%;
	height: 0;
	padding-top: 80.989%;
	background-size: contain;
}
.yokoBox .txt {
	order: 1;
	width: 100%;
}
}

/*	 Common Box List
---------------------------------------------------------------*/

.BoxList ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	
	width: 100%;
	max-width: 100%;
}
.BoxList ul li {
	display: flex;
	flex-direction: column;
	width: 30%;
	padding: 0px;
	margin-bottom: 50px;
	list-style: none;
	background-color: #fff;
}
.BoxList ul li .img {
	min-height: 0%;
}
.BoxList ul li .txt {
	display: flex;
	min-height: 0%;
}

@media only screen and (min-width: 767px) {
.BoxList ul li:nth-child(3n+1) {
	margin-right: 5%;
}
.BoxList ul li:nth-child(3n+3) {
	margin-left: 5%;
}
}

#contents .BoxList ul li h3,
#contents .BoxList ul li > p {
	display: flex;
	justify-content: center;
}
#contents .BoxList ul li > p {
    min-height: 0%;
	margin-top: auto;
	padding: 0;
}
#contents .BoxList ul li h3 {
	align-items: center;
	
	min-height: 70px;
	margin: 0;
	padding: 0px 20px;
	color: #33cccc;
	font-weight: 500;
	font-size: 1.2em;
	line-height: 1.3;
}
#contents .BoxList ul li > p {
	flex-grow: 1;
	padding: 0px 20px 20px;
}
#contents .BoxList ul li > p.txt {
	flex-grow: 1;
	padding: 0px 20px 20px;
	font-weight: 300;
	background:#F90
}


@media only screen and (max-width: 767px) {
.BoxList ul {
	justify-content: space-between;
}
	
.BoxList ul li {
	width: 48%;
	margin-bottom: 50px;
	background-color: #fff;
}

}

@media only screen and (max-width: 600px) {
.BoxList ul {
	justify-content: center;
}
.BoxList ul li {
	width: 100%;
	margin-bottom: 30px;
}

}

/*	 Shop List
---------------------------------------------------------------*/
.shopList ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	
	width: 100%;
	max-width: 100%;
}
.shopList ul li {
	display: flex;
	flex-direction: column;
	width: 45%;
	padding: 0px;
	margin-bottom: 50px;
	background-color: #fff;
}

.shopList ul li .img {
	min-height: 0%;
	text-align:center;
}
.shopList ul li .img img {
	padding-top: 20px;
	max-width: 300px;
}
.shopList ul li .txt {
	display: flex;
	min-height: 0%;
}


#contents .shopList ul li .s_btn_l {
	margin-bottom: 20px;
}

@media only screen and (min-width: 767px) {
.shopList ul li:nth-child(2n+1) {
	margin-right: 5%;
}
.shopList ul li:nth-child(2n+2) {
	margin-left: 5%;
}
}

#contents .shopList ul li h3,
#contents .shopList ul li > p {
	display: flex;
	justify-content: center;
	
	max-width: 100%;
}
#contents .shopList ul li h3 {
	align-items: center;
	
	min-height: 70px;
	margin: 0;
	padding: 0px 20px;
	color: #33cccc;
	font-weight: 500;
	font-size: 1em;
	line-height: 1.3;
}
#contents .shopList ul li > p {
    min-height: 0%;
	padding: 0px 20px 20px;
	font-weight: 300;
	font-size: 0.95em;
}

/*----- detail -----*/
.shopList ul li .detail {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-basis: auto;
	
	width: 100%;
	max-width: 90%;
	min-height: 0%;
	
	margin-left: auto;
	margin-right: auto;
	padding: 10px 0px 20px;
	border-top: 1px dashed #999;
}
#contents .shopList ul li .detail h4,
#contents .shopList ul li .detail address {
	max-width: 100%;
}
#contents .shopList ul li .detail p {
	max-width: 100%;
	font-size: 0.9em;
}

@media only screen and (max-width: 767px) {
.shopList ul {
	justify-content: space-between;
}
	
.shopList ul li {
	width: 48%;
	margin-bottom: 50px;
	background-color: #fff;
}

}

@media only screen and (max-width: 600px) {
.shopList ul {
	justify-content: center;
}
.shopList ul li {
	width: 100%;
	margin-bottom: 30px;
}

}
