@charset "Shift-JIS";

/*----------------------------------------------------
Copyright (C) 2018- Hiforest T.okawada　
http://www.hiforest.com/
----------------------------------------------------*/



.modalWrapper article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,div,p,ul{
	display:block;
	box-sizing:border-box;
	border-collapse:collapse;
	font-family:"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif, Verdana, Arial, Helvetica;
}

.modalWrapper img {border:none;}

.modalWrapper div.itemdetail{
	width:96%;
	margin:0 auto 10px;
	padding:0 0 10px;
	border-bottom:solid 1px #eeeeee;
}
.modalWrapper div.itemdetail:after{
	display:table;
	content:"";
	visibility:visible;
	box-sizing:border-box;
	border-collapse:collapse;
	clear:both;
}
.modalWrapper p.itemname{
	display:block;
	width:100%;
	margin:0 0 10px;
	padding:10px 0 10px;
	font-size:18px;
	line-height:20px;
	font-weight:bolder;
	text-align:left;
	border-bottom:solid 1px #eeeeee;
}
.modalWrapper div.imgtext{
	width:98%;
	max-width:480px;
	margin:0 auto;
	padding:0 0;
}
.modalWrapper div.imgtext:after{
	display:table;
	content:"";
	visibility:visible;
	box-sizing:border-box;
	border-collapse:collapse;
	clear:both;
}
.modalWrapper img.mainimg{
	width:calc(50% - 20px);
	margin:0 10px;
	float:left;
}
.modalWrapper p.detailtxt{
	width:50%;
	margin:0 0;
	padding:5em 0;
	float:right;
	font-size:16px;
	line-height:22px;
	text-align:left;
}
.modalWrapper .sp_none{
}
.modalWrapper p.notice{
	width:100%;
	margin:10px 0 0;
	padding:10px 0 0;
	clear:both;
	font-size:12px;
	line-height:16px;
	text-align:center;
	border-top:solid 1px #eeeeee;
}
@media(max-width:640px){
	.modalWrapper p.itemname{
		margin:0 0 5px;
		padding:5px 0 5px;
		font-size:14px;
		line-height:16px;
	}
/*
*/
	.modalWrapper div.imgtext{
		width:100%;
		max-width:600px;
	}
	.modalWrapper img.mainimg{
		display:none;
	}
	.modalWrapper p.detailtxt{
		width:100%;
		margin:0 0;
		padding:0 0;
		float:none;
		font-size:12px;
		line-height:14px;
	}
	.modalWrapper .sp_none{
		display:none;
	}
	.modalWrapper p.notice{
		margin:5px 0 0;
		padding:5px 0 0;
		font-size:10px;
		line-height:14px;
		text-align:left;
	}
}

.modalWrapper table.storestocklist{width:96%; margin:0 auto 10px; padding:0; font-size:100%;}
.modalWrapper table.storestocklist tr:nth-child(2n+1){
	background-color:#f3f3f3;
}
.modalWrapper table.storestocklist th{margin:0; padding:8px 8px; border-bottom:solid 1px #eeeeee; text-align:left; vertical-align:top; font-size:100%; font-weight:normal; color:#333333; }
.modalWrapper table.storestocklist td{width:100px; margin:0; padding:8px 8px; border-bottom:solid 1px #eeeeee; text-align:center; vertical-align:top; font-size:100%; font-weight:normal; color:#333333;}
@media(max-width:640px){
	.modalWrapper table.storestocklist th{
		padding:4px 4px;
		font-size:12px;
	}
	.modalWrapper table.storestocklist td{
		padding:4px 4px;
		font-size:12px;
	}
}
.modalWrapper a{
	text-decoration:none;
	color:#666666;
}
.modalWrapper a:hover{
	text-decoration:underline;
	color:#666666;
}

.tclose {
    position: absolute;
    top: -10px;
    right: -15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url(../img/item-detail/close.png) no-repeat;
}

@media only screen and (max-width: 39.9375em) {
	.modalWrapper div.itemdetail{
		width:96%;
		margin:0 auto 5px;
		padding:0 0 5px;
		border-bottom:solid 1px #eeeeee;
	}
	.modalWrapper table.storestocklist{
		width:96%;
		margin:0 auto 5px;
		padding:0;
		font-size:100%;
	}
}

/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modalWrapper {
	height: auto;
    width: 600px;
    background-image: none;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    padding: 10px 0 10px 30px;
}

.modalWrapper .modalContents h1{
	color: #fff;
	text-align: center;
	font-size: 3rem;
	
}

.modalWrapper .modalContents p{
	color: #fff;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}


.modalWrapper .btm_btn {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

		
.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
  color: #fff;
}

#openModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
}

.modalHidden {
	color: #fff;
	cursor: pointer;
}

.modalHidden {
	width: 25%;
    height: inherit !important;
    display: inline-block;
    margin: 0 !important;
    font-family: 'blg', 'Century Gothic', sans-serif;
    font-size: 1.6rem;
    background-color: #969696;
    color: #000;
    font-weight: bold;
    padding: 0;
	line-height: 1.5;
}
.modalHidden:hover {
	background-color: #969696;
	opacity: 0.5;
	color: #000;
}

@media(max-width:640px){
	.modalWrapper {
		height: 70%;
    	width: 90%;
	}
}