/* Accordion styles */
.winery-explains {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
.winery-explain {
	/*width: 100%; */
	margin: 0 8px 15px;
	overflow: hidden;
	/* CLOSEボタン用 */
	position: relative;
	padding-bottom: 40px;
}
.winery-explain.closed{
	padding-bottom: 0;
}
.winery-explain:not(.closed){
	/* background: #efefef; */
	border-radius: 8px;
}
.winery-explain h2{
	font-size: 18px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	text-align: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
	height: 60px;
}
.winery-explain.closed h2{
	margin: 0;
	color: #fff;
	border-radius: 8px;
	text-align: center;
	background: #92983b;
	
}
.winery-explain.closed h2::after {
	content: "";
	background-image: url("https://cocoscocos.itembox.design/item/material/image_material/touch_icon_white.png");
	background-size: contain;
	width: 50px;
	height: 50px;
}

.winery-explain:not(.closed) h2::after {
	content: '\2716';
	line-height: 30px;
	font-size: 30px;
	background-size: contain;
	width: 45px;
	height: 45px;
}
.winery-explain img{
	width: auto;
	max-height: 600px;
	max-width: 90%;
	display: block;
	margin: 10px auto;
}
.winery-explain.closed .winery-explain-inner {
	border: none;
}
.winery-explain.closed .winery-explain-inner:before {
	display: none;
}
.winery-explain.closed > .winery-explain-inner > *:not(h2), .winery-explain.closed > .winery-explain-inner > * > * {
	max-height: 0;
	padding: 0;
	margin: 0;
}
.winery-explain-content:not(.closed){
	padding: 0 10px;
}
.winery-explain.closed > .winery-explain-inner > div {
    display: none;
}


.winery-explain-content.closed {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  transition: all .35s;
}
.winery-explain-content strong{
	background: linear-gradient(transparent 60%, #ffcc81 60%);
	font-weight: bold;
}
.winery-explain-content h3 {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	font-size: large;
	font-weight: bold;
	margin: 18px 0 10px;
}
.winery-explain-content h3:after, .winery-explain-content h3:before {
	content: "";
	height: 2px;
	min-width: 38px;
	background: #91983b;
	flex-grow: 1;
}
.winery-explain-content h4{
	padding: .25em 0 .25em .75em;
	border-left: 6px solid #ccc;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
}
.winery-explain-content p{
	font-weight: 300;
	font-size: 16px;
	margin: 10px 0;
}

/* ↓↓未実装項目↓↓ */
.winery-explain-close {
	display: flex;
	justify-content: flex-end;
	padding: 1em;
	font-size: 0.75em;
	background: #2c3e50;
	cursor: pointer;
}
.winery-explain-close:hover {
	background: #1a252f;
}
/* ↑↑未実装項目↑↑ */


.winery-explain-inner {
	background: #ffffff;
	border-radius: 8px;
	margin: 0 8px 15px;
	padding-bottom: 40px;
	position: relative;
	border: solid 5px #e8e8e8;
}
/* ↓↓閉じるボタンここから↓↓ 
.winery-explain-inner:before {
	content: "";
	position: absolute;
	background: #ffffff;
	background-image: url(https://cocoscocos.itembox.design/item/material/image_material/close.png);
	border-radius: 50%;
	bottom: -20px;
	left: 50%;
	line-height: 50px;
	font-size: 50px;
	background-size: contain;
	width: 50px;
	height: 50px;
	border: solid 5px#e8e8e8;
	cursor: pointer;
}
/* ↑↑閉じるボタンここまで↑↑ */

.winery-explain .winery-explain-close-button-bottom {
	display: block;
	position: absolute;
	background: #ffffff;
	background-image: url(https://cocoscocos.itembox.design/item/material/image_material/close.png);
	border-radius: 50%;
	bottom: 35px;
	left: 50%;
	line-height: 50px;
	font-size: 50px;
	transform: translate(-50%, 0);
	background-size: contain;
	width: 50px;
	height: 50px;
	border: solid 5px#e8e8e8;
	cursor: pointer;
}

.winery-explain.closed .winery-explain-close-button-bottom{
	display: none;
}

.winery-explain-baloon{
	position: relative;
	padding: 20px;
	background-color: #fffdf3;
	border-radius: 10px;
	width:fit-content;
	max-width:90%;
	margin:auto;
	box-shadow: 6px 6px 0px 0px #d9d2ab;         /* 吹き出し本体の影 */
}


/* 三角アイコン */
..winery-explain-balloon::before{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: 27px;
	bottom: -18px;
	border-top: 15px solid #d9d2ab;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
}
/* 三角アイコンの影 */
..winery-explain-balloon::after{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: 20px;
	bottom: -15px;
	border-top: 15px solid #fffdf3;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
}


.hukidashi-box{
  width: fit-content;
  border: 2px solid darkgray;
  border-radius: 20px;
  padding: 8px;
  background-color: cornsilk;
  font-size: medium;
  margin:8px auto;
}

/* 類似商品検索ボタン */
a#winery-explain-wine-srearch {
	display: block;
	margin: 0 auto;
	text-align: center;
	font-size: 18px;
	font-weight: 900;
	color: #fff;
	background: #92983b;
	max-width: 80%;
	padding-top: 10px;
	padding-bottom: 10px;
}
@media screen and (min-width:1024px) {
	.winery-explain-content h3{
		font-size: 24px;
	}
	.winery-explain-content h3:after, .winery-explain-content h3:before {
		min-width: 38px;
	}
}