/*modal*/
.modal_box {
position: fixed;
display: none;
z-index: 210;
width: 90%;
max-width: 920px;
max-height: 75vh;
margin: 0;
padding: 30px;
text-align: center;
background: #FFF;
}
.recipe_modal_wrapper {
display: flex;
overflow-y: scroll;
}
.recipe_modal_img {
width: 45%;
margin: 0 auto 0 0;
}
.recipe_modal_txt {
width: 50%;
max-height: 400px;
margin: 0 0 0 auto;
padding-right: 20px;
text-align: left;
}
.recipe_modal_txt h3 {
font-size: 26px;
line-height: 1.4;
margin-bottom: 20px;
}
.recipe_modal_txt p {
font-size: 14px;
line-height: 1.6;
margin-bottom: 1em;
}
.recipe_modal_txt p strong {
font-size: 14px;
font-weight: bold;
display: block;
}
.ph_modal_wrapper {
display: flex;
}
.ph_modal_img {
height:calc(75vh - 100px);
margin: 0 auto;
display: flex;
}
.ph_modal_img img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.modal_close {
background: url("../img/common/btn_close.png") center center no-repeat;
background-size: 100% auto;
position: absolute;
top: -35px;
right: -35px;
display: block;
width: 70px;
height: 70px;
cursor: pointer;
}
.modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	display: none;
	width: 100%;
	height: 120%;
	background-color: rgba(0, 0, 0, 0.6);
}
.link_area {
width: 100%;
padding: 20px 0;
margin-bottom: -30px;
}
.link_area ul {
display: flex
}
.link_area ul li {
width: 125px;
height: 50px;
margin: 0 auto;
}
.link_area ul li a.modal_prev {
background: url("../img/common/btn_prev.png") center center no-repeat;
background-size: 100% auto;
width: 125px;
height: 50px;
display: block;
cursor: pointer;
}
.link_area ul li a.modal_next {
background: url("../img/common/btn_next.png") center center no-repeat;
background-size: 100% auto;
width: 125px;
height: 50px;
display: block;
cursor: pointer;
}

@media only screen and (max-width: 768px) {
/*modal*/
.modal_box {
position: fixed;
display: none;
width: 90%;
max-width: 340px;
margin: 0;
padding: 25px;
text-align: left;
background: #FFF;
}
.recipe_modal_wrapper {
display: flex;
flex-wrap: wrap;
overflow-y: scroll;
max-height: calc(70vh - 50px);
}
.recipe_modal_img {
width: 100%;
margin: 0 auto 0 0;
}
.recipe_modal_txt {
width: 100%;
max-height: unset;
margin: 20px auto 0;
padding-right: 15px;
text-align: left;
}
.recipe_modal_txt h3 {
font-size: 20px;
margin-bottom: 15px;
}
.recipe_modal_txt p {
font-size: 12px;
}
.recipe_modal_txt p strong {
font-size: 12px;
}
.ph_modal_wrapper {
display: flex;
}
.ph_modal_img {
max-height:70vh;
margin: 0 auto;
}
.ph_modal_img img {
width: 100%;
height: auto;
object-fit: contain;
}
.modal_close {
background: url("../img/common/btn_close.png") center center no-repeat;
background-size: 100% auto;
position: absolute;
top: -20px;
right: -20px;
display: block;
width: 40px;
height: 40px;
cursor: pointer;
}
.modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 120%;
	background-color: rgba(0, 0, 0, 0.6);
}
.link_area {
width: 100%;
padding: 10px 0;
margin-bottom: -20px;
}
.link_area ul {
display: flex
}
.link_area ul li {
width: 80px;
height: 30px;
margin: 0 auto;
}
.link_area ul li a.modal_prev {
width: 80px;
height: 30px;
}
.link_area ul li a.modal_next {
width: 80px;
height: 30px;
}

}
