/*
Theme Name: onlineshop
Theme URI: hayatokumagai.com/shop
Description: hayatokumagai
Author: H.K
Author URI: 
Template: 
*/

@charset"UTF-8";

html{
   position: relative;
    min-height: 100vh;
   // padding-bottom: 7em;
    box-sizing: border-box;
    font-size: 12px;
	background-color:#fafafa;
}
.tmblr-full{
  margin:2em 0;
}
.form_left{
  display:inline-block;
  width:20%;
  float:left;
  padding-left:10%;
}
.form_right{
  width:70%;
  display:inline-block;
  float:right;
}

form{
 	width: 50%;
    margin: 0 auto;
    padding: 1.5em 0 0;
}
.kaue{
	    font-size: 17px;
    font-weight: bold;
    padding-bottom: 0.5em;
}
.guide{
    margin: 0 auto;
	    margin: 0 auto 3em;
    text-align: center;
	    line-height: 2em;
}
.form_img{
	display:block;
	margin: 0 auto;
	text-align: center;
}
.topic{
	margin: 0 auto 0.5em;
	padding: 2em 0 0;
    font-size: 15px;
    font-weight: normal;
}
textarea,input,select{
	    background-color: #eee;
		-webkit-appearance: none;
	    appearance: none;
		border-radius: 0;
	padding: 1em 0.5em;
    border: 1px solid #aaa;
	width: -webkit-fill-available;
	    font-family: 'EB Garamond', serif,"Hiragino Mincho ProN";
}
select{
	-webkit-appearance: none;
appearance: none;
	border-radius: 0;
color: #222;
}
.select{
	position:relative;
}
.select:after{
	content: "";
position: absolute;
right: 10px;
top: 1em;
width: 10px;
height: 10px;
border-top: 2px solid #ccc;
border-left: 2px solid #ccc;
transform: translateY(-50%) rotate(-135deg);
font-size: 20px;
pointer-events: none;
}
::placeholder {
  color: grey;
}
.p_block{
    margin-top: 0.75em;
    display: inline-block;
}
.submit{
    padding: 1em 0.5em;
    border: none;
    width: 100%;
    margin: 4em auto 0;
    background-color: #45413c;
    color: #fff;
    letter-spacing: .04em;
    font-size: 14px;
    text-align: center;
    font-family: serif;
	cursor:pointer;
}
.error{
	    float: left;
	    font-weight: bold;
	    font-family: 'EB Garamond', serif,"Hiragino Mincho ProN";
}
.form_check{
	display:none;
    font-size: 12px;
}
.time{
	font-size:12px;
	    margin: 1em 0 5em;
}
#title,#shoukei,#souryo,#total{
    height: auto;
    display: flow-root;
    padding: 0.5em 0 0.5em;
    width: 100%;
	    font-size: 14px;
    line-height: 2em;
}
#shoukei{
	margin-top:1em;
}
#shoukei .title{
	    font-size: 15px;
    font-weight: normal;
}
#souryo{
	    padding-top: 0;
}
#title,#total{
	 border-top: 0.1px solid #aaa;
    border-bottom: 0.1px solid #aaa;
}
#total{
	    font-weight: bold;
		font-size:15px;

}
.title{
	     display: inline-block;
 }
.t_price,.t_shoukei{
	float:right;
}
.t_price{
    font-weight: bold;
}
.pr_txt{
	font-size:10px;
}
.form_title{
    font-weight: normal;
}
.form_example{
	    text-align: right;
    color: grey;
	    font-size: 11px;
    margin: 2px auto 4px;
}
.form_footer{
  font-size: 11px;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    padding-bottom: 3em;
	display:none;
}
.form_footer .shop_logo{
    float: inherit;
    display: block;
    margin: 2em auto;
} 
.form_price_check{
    border-top: 0.1px solid rgb(170, 170, 170);
    border-bottom: 0.1px solid rgb(170, 170, 170);
    padding: 0.5em 0px;
    text-align: right;
    font-weight: bold;
    font-size: 16px;
}
.caution{
    font-size: 12px;
    line-height: 2em;
    margin: 3em auto;
}
#submit{
	background-color: transparent!important;
}
.modoru{
	color: #222;
    background-color: transparent;
	border:none;
    border-bottom: 0.1px solid;
    width: fit-content;
    padding: 0;
    margin: 4em auto;
    display: block;
	    font-family: serif;
    text-align: center;
	    letter-spacing: .04em;
	cursor:pointer;
	font-size: 14px;
}
.wpcf7-submit{
  float:right;
  font: 13px/1.57 'EB Garamond', serif,"Hiragino Mincho ProN";
  letter-spacing: .04em;
  padding: 0.25em 1.5em;
  background-color: #BBB;
  color: #fff;
  border-style: none;
}

img {
      height: auto;
  max-width: 100%;
}
.img_bk{
margin-top:150px;
}
.tag{
margin:30px auto;
  line-height: 2em;
}
#product{
	    display: inline-table;
}
.product{
	max-width:48%;
    display: inline-block;
	margin-bottom: 5em;
	font-size:14px;
}
.product:nth-child(2n){
	margin-left:2%;
}
.product:nth-child(2n-1){
	margin-right:2%;
}
.product_title{
		font-size:16px;
}
.product_price{
	font-size:20px;	
	margin: 0.5em auto;
}
.product_exp{
	
}
a{
  text-decoration: none;
  color: #222;
}

#check{
    font-size: 17px;
    text-align: center;
    margin-bottom: 3em;
    font-weight: bold;
}
.caption a, #sidebar a, #sidebar2 a,#category_list a{
  color: #222;
} 
#sidebar li{
  line-height:2em;
  color:#222;
}
  .comment{
    width:600px;
    margin:2em auto 0;
    font-size:12px;
    text-align:left;
    line-height:2em;
  }

.pager{
    margin: 10px auto;
    text-align: left;
}
 
a.page-numbers,
.pager .current{
    background-color: #fff;
    border: solid 1px #999;
    padding:8px 12px;
    margin:0 2px;}
 
.pager .current{
    background-color: #999;
    color: #fff;}
 
.pager a:hover{
    color: #fff;
    border: solid 1px #999;
    background-color: #999;
}

body {
  margin:0;
  line-height: 22px;
  font:14px/1.57 'EB Garamond', serif,"Hiragino Mincho ProN";
  letter-spacing:.04em;
  height:100%;
}

#wrapper{
  width:88vw;
  margin:0em auto 5em;
	    max-width: 800px;
}
#s_wrapper{
  width:100vw;
  margin:0 auto 6em;
}

#veil{
    display: none;
    position: absolute;
    top:0;
    height: 100%;
    width: 100%;
    background-color: #aaa;
    z-index: 1;
    mix-blend-mode: multiply;
}

header {
  top: 0;
  margin: 3em auto 0;
  width:85vw;
  width: calc(95vw - 9%);
  width: -webkit-calc(95vw - 7%);
  font:21px/1.57 'EB Garamond', serif,"Hiragino Mincho ProN";
  z-index:2;
	//display:none;
}

#sidebar{
  right:0;
  width: 20%;
  position: absolute;
  margin: 0;
  font-size:16px;
  padding-top: 45px;
  letter-spacing:.05em;
}
#sidebar2{
    display: none;
}
#sidebar2 li{
}
#sidebar2 , #sidebar li,#sidebar2 li,#category_list li{
  list-style:none;
}

#category_list li:hover{
  opacity:1.0;
}
#sidebar li:hover{
  opacity:1.0;
}

#sidebar li span{
opacity:0.5;
}
.month-list li:first-child{
  cursor: pointer;
}

.month-list li:not(:first-child){
  display: none;
}

#sidebar .current-cat{
  opacity:1.0;
}

#category_list .current-cat{
  opacity:1.0;
}

#category_list{
margin:20px auto;
  width:100%;
  display:none;
}

#category_list li{
display:inline-block;
  opacity: 0.5;
}

#category_list span:not(:first-child){
margin:auto 2px;
opacity: 0.5;
}

#category_list p{
margin:0;
}

#category_list li:last-of-type span{
display:none;
}

.name{
     font-size: 18px;
    display: inline-block;
    position: absolute;
    margin-top: 10px;
    color:#BBB;
}
#name{
	margin:4em 0;
	font-size: 14px;
	text-align: center;
}
#name div{
	    display: inline-block;
}
.logomark{
  display:inline-block;
  margin-right:12px;
    width:50px;
}
.logoname{
  display:inline-block;
  width: 100px;
    margin-right: 2em;
    margin-top: 8px;
}
#name .logoname{
	width:240px;
	max-width: 85vw;
	  cursor:pointer;
}

#menu{
  font-size:13px;
    display:block;
	float:right;
}
#menu_sp .works_menu{
  margin-left:1em;
  display: none;
}
#menu_sp{
    font-size: 14px;
    position: fixed;
    width: 50%;
    height: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    z-index: 2;
}

#menu_sp{
    display:none;
}

  #icons_sp a{
  display:inline-block;
  line-height:2em;
  }
  #icons_sp span{
  float: left;
  margin-left:1em;
  }
 
  #icons_sp img{
  width:20px;
}

#icons_sp{
    width: auto;
    margin-right: 0;
    float: left;
  margin-top:1em;
}
  #mt_sp{
  position:initial;
  }

#menu > a:not(:first-child){
  margin-left:3%;
}
.works{
  float:left;
  display: inline-block;
  padding: 0 0.75em 1.5em;
  position: relative;
  z-index: 1;
}
.works a:not(:first-child){
  margin-top: 1.5em;
}
.works_menu{
display:none;
}
.next, .prev, .back{
  color: #777;
  cursor:pointer;
  display:none;
  position:fixed;
  z-index:2;
}
.next{
  right:2%;
  top:50%;
  width:40px;
}
.prev{
  left:2%;
  top:50%;
  width:40px;
}
.back{
  right:2%;
  top:4em;
  width:20px;
  opacity:0.6;
}

#mt{
      display: block;
    right: 0;
}
#mt a:first-child{
  float:left;
}

  #mt_sp{
    text-align: left;
    display: inline;
  }
  #mt_sp .works{
        float: inherit;
    padding: 0;
    display: inline;
  }
  #mt_sp a:first-child {
    float: inherit;
}
  #mt_sp .works .mt:first-child {
    margin:0;
}
  #mt_sp #me{
    text-align: left;
    float: left;
    margin: 0;
    display: contents;
  }
  #mt_sp p,#me p{
  margin: 0 0 2em 1em;
  }
  #mt_sp > p:first-child{
  margin-top:50%;
      margin-bottom: 2em;
  }

.about-image{
  float:right;
}

#me{
  position:relative;
}
#me p{
margin:0;
}

.mt{
  text-decoration: none;
}
.works .mt:first-child{
  margin:0 1em 1.5em;
  }
#me{
  float:right;
  margin:0 1% 0 8%;
}
#prof img{
    width: 666px;
    border: none;
    margin: 10px auto 0;
    display: block;
}
  .bk_a{
  margin:0 4em 0 0;
}
.bk_b{
  margin:0 2em 0 0;
}
#bio p:last-child{
margin:0;
}
.bio_icon{
  width:80px;
  margin:100px -30px 0 0;
  }
.bio_a div:first-child{
float:left;
}
#bio{
  line-height: 2em;
  margin:70px auto;
}
.bio{
	text-align:center;
}
.bio2{
	display:none;
	    margin-left: 1em;
}
.bio_a, .bio_b,.bio_c{
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.bio_a{
float:right;
}
.bio_b,.bio_c{
float:left;
  margin-right:2em;
  height:410px;
}
.bio_b br, .bio_c p br{
  display:none;
  }
.bio_b p, .bio_c p{
margin:auto;
  float:left;
}
.bio_year p{
float:inherit;
}
    .bio_bk{
  margin:0;
  }
.bio_d{
	display: block;
	width: 670px;
	margin: 5em auto;
	max-width: 90%;
	border-top: 0.1px solid #000;
    padding-top: 5%;
}
.photo_cap{
	font-size: 9px;
    width: 666px;
	  max-width: 100%;
    margin: 0 auto;
    text-align: right;
}
#icons{
  text-align: right;
  float:right;
  width:9%;
}
#icons a{
    margin-left: 10%;
    opacity:1;
}
#icons img{
  width:15px;
}
  #slidemenu{
  margin-top: -0.4em;
  color:#AAA;
  cursor:pointer;
  overflow:hidden;
  text-align: right;
  width: 3em;
  float: right;
	  margin-right: 3px;
  }
#slidemenu img{
  width: 65px;
  z-index:0;
}
#post_page{
  padding:15px 0;
  margin:0 auto;
  width:100%;
  font-size:14px;
  line-height:2em;
}

#post{
    margin: 0 auto;
    width: 100%;
    font-size: 12px;
    line-height: 2em;
}
/*#post .exhibition:nth-child(15), #post .exhibition:nth-child(27), #post .exhibition:nth-child(30){
		display:none;
	}*/
#blog{
    padding: 15px 0;
    margin: 0;
    width: 100%;
    font-size: 12px;
    line-height: 2em;
}
#post_single,#post_art {
  display:inline-block;
  margin:2em 0 0 5%;
  width: 95%;
  line-height: 2em;
  letter-spacing: 0.04em;
  font-size: 13px;
	  }
#post_single img{
       width: 100%;
}
#post_single img, #post_art img{
    padding-left: 1px;
    margin: 0 auto;
    display: block;
}

#article img:not(:first-child){
margin-top:1em;
}
#article br{
	display:none;
}
.artwork{
    margin: 0 auto;
    display: inline-block;    
  text-align:left;
  padding-bottom: 1em;
  padding-right: 1em;
}
#info{
text-align:center;
}
.info_l,.info_r{
	line-height:2.4em;
}
.info_l{
	text-align:left;
	float:left;
		    letter-spacing: 0.1em;
		margin-bottom:4em;
	width:100%;


}
.info_r{
	text-align:right;
		float:right;
}
.description{
	line-height:1.8em;
	display:block;
	margin-top:1em;
	font-size:11.4px;
}
#artwork{
    position: fixed;
    left: 0;
    width: 40%;
    height: 100vh;
    top: 0;
}


.artwork img{
width:70%;
}

#post_art p span{
  color: grey;
  margin-right: 5em;
  width: 5em;
  display: inline-block;
  margin-bottom: 0.5em;
}
.ex_title{
    width: 90%;
    margin:0 0% 8em 7.5%;
    display: block;
    bottom: 0;
    position: absolute;
}
.pr{
	margin-top:.5em;
	font-size: 14px;
}
.ti{
	font-size: 16px;
}
.cart_btn{
	    width: 95%;
    margin: 0 auto;
    position: relative;
    display: inline-block;
	 padding: .5em .25em;
    border: none;
    background-color: #45413c;
    color: #eee;
    letter-spacing: .04em;
    font-size: 14px;
    text-align: center;
 	cursor:pointer;
}
.cart_btn a{
    display: block;
    padding: 0.5em;
	color:#eee;
}
.howto, .order{
	margin-bottom: 2em;
    font-size: 11px;
    /* color: grey; */
    border-bottom: 0.1px solid #000;
    width: fit-content;
    line-height: 1.5em;
	cursor:pointer;
}
.howto_block{
	display: none;
    background-color: #eee;
    width: 70%;
    position: absolute;
    padding: 4%;
    z-index: 2;
    max-width: 650px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
		    line-height: 1.8em;
		font-size:13px;

}
.howto_close{
	    width: 24px;
    position: absolute;
    right: 5%;
	cursor:pointer;
}
.howto_txt{
    margin-bottom: 2em;
    padding-bottom: 2em;
	border-bottom: 0.1px solid #aaa;
}
.howto_txt strong{
	margin-bottom:.5em;
	display:inline-block;
}
.doui{
	margin-top:3em;
	display:none;
}
.notp{
	background-color:transparent!important;
	padding: 0!important;
}
#back{
    text-align: right;
    position: relative;
    margin: 3em 0 2em;
    width: 100%;
}
#back a{
	    width: fit-content;
	 border-bottom: 0.1px solid #000;
	    line-height: 1.5em;  
}
.center{
	text-align:center!important;
}
.project,.note{
margin:0 auto;
}
.form_title{
	margin-top:1em;
}

.cs {
  position: absolute;
  width: 100%;
  height: max-content;
  top: 0;
  margin: auto;
  bottom: 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.2em;
}
.photo-caption{
  position:fixed;
  bottom:20%;
  left:2em;
  font-size: 13px;
}
  .metaslider .flex-control-nav{
  line-height: 40px;
  }

#container {
  overflow:hidden;
  margin:0 auto;
  top:0;
  padding:0;

}
  .spmain{
display:none;
  }
  .main{
display:block;
  }

#main{
  overflow:hidden;
  margin: 0 auto;
  width:fit-content;
}
#cover{
/*display:none;*/
}
#gallery{
  display:none;
  position: fixed;
  align-items: center;
    width: 100%;
  height: 100vh;
  z-index:2;
  margin-top:-30px;
}
#gallery img{
 position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 750px;
  max-height: 80%;
  z-index:3;
}
#main .thumbnail{
 width:50%;
  float:left;
}
.thumbnail{
  position:relative;
}
#main .caption{
  font-size:18px;
  padding-left:5%;
  display:inline-block;
  width:45%;
   position: relative;
  top: 45%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}

.caption h3{
margin:0 auto;
}

#main .caption p{
  font-size:14px;
}

.content{
 width:30%;
 display:inline-block;
  margin:0px auto 60px;
}

#article{
    display: block;
    right: 2.5%;
    width: 55%;
    line-height: 2em;
    letter-spacing: .04em;
    font-size: 13px;
    position: relative;
	float:right;
}
.line{
  margin: 20% auto;
}

.caption{
  width: 100%;
  line-height: 1em;
  text-align: center;
  margin: 1em 0;
}

#main .title{
margin-bottom:20px;
}
.article{
width: 75%;
    display: inline-block;
    margin: 0;
}
 .article .title{
  font-weight: bold;
  margin-bottom:2em;
  font-size: 14px;
}
.caption .title{
	padding-bottom:1em;
}
.stock, .price{
  margin:0 0 auto 0;
	    width: 100%;
}
.stock{
	color:crimson;
}
.contents {
  margin-top: 50px;
}

#footer {
  /*display: none;*/
    height: 2em;
    width: 96%;
    line-height: 8px;
    font-size: 12px;
    letter-spacing: .05em;
    margin: 9em auto 2em;
	  position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.law{
    display: inline-block;
    margin: 0 auto;
	float:left;
	font-size:10px;
}
.law span{ 
	padding:.5em;
}
.footer{
	text-align:center;
	display: inline-block;
	float:right;
    font-size: 10px;
    color: #555;
}
.shop_logo{
	margin-top: -16px;
	float: left;
}
#law{
	    width: 100%;
    margin: 0 auto 8em;
    line-height: 1.7em;
}
#law p{
    margin: 1em auto;
    display: inline-block;
	width:100%;
}
h2{
	    font-size: 20px;
	    margin: 0 auto 1em;
			font-weight:normal;
}
h3{
	      font-size: 16px;
    margin: 0.5em auto 0;
    border-top: #000 solid 0.9px;
    padding-top: 1.5em;
}
.more{
  margin-top:20px;
  width: 6em;
  border: solid 1px #BBB;
  padding: 5px 0;
  display: block;
  text-align: center;
  background-color: #fff;
  color: #000;
  float:right;
}  

#timer{
  text-align: center;
  font-size: 80px;
  position: absolute;
  top: -120px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 0;
}

@media screen and (min-width: 1025px) {
	.bio{
	display:none;
	}
	.bio2{	
	display:block;
	}
	#bio{
  line-height: 1.9em;
  margin:70px auto;
  height:410px;
  width:670px;
}
	.form_img img{
		width:50%;
	}
	.cart_btn{
		max-width:500px;
	}

}

@media screen and (max-width: 1024px) {
  	.description, .pr, .ti{
		display: inline-block;
	}
	.pr_txt{
		    display: block;
	}
	.pr,.ti{
		margin:0 auto 1em;
}
	.ti{
		width:57.5%;
		float:left;
	}
		.pr{
		width:42.5%;
		float:right;
		text-align:right;
			font-size:14px;
	}
	.description{
		width:100%;
	}

	.cart_btn{
		width:calc(100% - .5em);
	}
	#law{
		width:90%;
		font-size: 12px;
}
  .metaslider .flex-control-nav{
  line-height: 20px;
  }
	#artwork{
		width: 100%;
    position: relative;
    float: left;
    height: auto;
    display: inline-block;
	}
  #slidemenu img{
    width:25px;
  }
  #container{
  margin:0 auto;
}
	#s_wrapper{
		margin-bottom:0;
	}
  .news{
    margin: 10% auto 30%;
  width:100%;
  }
  #blog{
    margin: auto;
    width: auto;
  }
  #gallery{
    margin-top:0;
}
  #gallery img{
  width: 90%;
}
.next, .prev{
  z-index:0;
  opacity:0;
}
	.product{
		max-width:90%;
		margin:0 5% 3em!important;
	}
  #name span{
 display:none;
}
  #icons a:first-child{
  margin-top:2em;
  }
  #icons .bio{
  margin-top:2em;
  }
  #menu a:not(:first-child){
    font-size:18px;
}
.img_bk{
margin-top:100px;
}

form{
  width:100%;
}
header {
  margin: 50px auto 25px;
}
  #post_single img,  #post_art img{
    width: 100%;
}
 
 .img_pc > img{
      margin: 0 auto;
    display: block;
  }
.photo-caption{
  position:relative;
  bottom:auto;
  left:0;
  font-size: 13px;
  margin-bottom:2em;
}
.pager{
  margin:10px 0;
}
  #category_list{
  display:inline-block;
  margin:0 auto 20px;
  }
 .back{
  right:2em;
  top:4em;
  width:20px;
  }

  #main{
  margin:0% auto 0;
    height:auto;
}
.alignright{
  float: left;
    margin-left: 0;
    display: contents;
}
#main .thumbnail{
 width:100%;
}

#main .caption{
  font-size:14px;
  display:block;
  padding:0;
  width:100%;
   position: relative;
  top: 0%;
  -webkit-transform: translateY(0%); /* Safari用 */
  transform: translateY(0%);
  }
  .comment{
    width:600px;
    margin:2em auto 0;
    font-size:12px;
    text-align:left;
  }
#post_page{
  margin:0 auto;
  width:100%;
  font-size:13px;
  line-height:2em;
	padding:0;
}
  
#main .caption p{
  font-size:14px;
}
  
.slick-slider{
display:none;
  }
	#name{
	margin:3em 0;
	}
  .about-image{
  float:left;
  display: contents;
  width:50%;
}

.content .caption #category{
 margin:0 auto 1em;
}

  #main .title{
  margin-bottom:5px;
  }

 .content .title{
  margin-bottom:0;
  }


.more{
    margin-top:10px;
    }
    
  .content:nth-child(2n){
  margin: 0 0 1vw 1%;
  display:inline-block;
}
  .content:nth-child(2n-1){
  margin: 0 1% 1vw 0;
  display:inline-block;
}
  .exhibition, .project, .note{
    margin:0 auto 5em;
	      max-width: 100%;
	  width:100%!important;
}
	.logoname{
  display:inline-block;
  width: 90px;
  margin: 3px 1em 1em 0;
}

#post{
margin-top:0;
width: 100%;
  text-align:center;
}
#post_single,#post_art{
margin:2em auto 4em;
  width:100%;
}
  .artwork{
   width: auto;
    margin: 0 auto;
    display: inline-block;
  text-align: left;
  }
  
    .ex_title{
  width: 70%;
  margin: 0 auto;
  display: table;
	margin: 0 0% 8em 7.5%;
}
		.ex_title{
		position:relative;
 	   margin: 2em auto;
        padding-top: 1em;
	}
	#article{
		    padding-bottom: 0;
    		width: 70%;
   			margin: 0 15%;
		right:0;
	}
.exhibition .title, .project .title, ..note .title{
font-size:16px;
  margin: 1.5em auto 0.5em;
}

  #footer {
  height:3em;
  }
  
  #menu{
    display:none;
  }
  	#back{
	    text-align: center;
    margin: 2em auto;
    display: inline-block;
    width: 100%;
	}
	.howto{
		margin: 3em auto 2em;
	}
	.howto_block{
		font-size: 11px;
		width: 80%;
	}
	.howto_block h2{
		font-size: 16px;
	}
	.howto_close{
		width:18px;
	}
	#footer{
		    display: inline-block!important;
    position: relative;
		margin-top:0;
		height:auto;
		width:100%;
		/*visibility:hidden;*/
	}
	.footer, .law{
		    width: 100%;
    float: inherit;
    text-align: center;
    margin: 1.2em auto;
	}
	.shop_logo{
		    float: inherit;
    margin: 0 auto 1.2em;
    display: inline-block;
    text-align: center;
    width: 100%;
}

}

@media screen and (max-width: 640px) {
  #container{
      margin: 0 auto;
  }
	#article{
		    padding-bottom: 0;
    		width: 90%;
   			margin: 0 5%;
	}

  #wrapper{
	width:90vw;
  }
  #main{
  max-width:100%;
  }  
  .spmain{
    display:block;
    margin: 0 auto;
  width: fit-content;
  width: -moz-fit-content;
  }
  .main{
display:none;
  }
.ex_title{
   width: 90%;
}
	.cart_btn{
		width:calc(100% - 0.5em);
	}
  #main{
  margin-top:0;
  max-width:100%;
}
.exhibition .title, .project .title, .note .title{
font-size: 12px;
  }
  .stock, .price{
        font-size: 12px;
  }
	.ti, .pr{
		font-size:16px;
	}

  .exhibition .caption{
    margin-top: 1em;
}
  #post_art p span{
  margin-right: 1em;
}

  .artwork{
  padding-right:0;
  }

}
@media screen and (max-width: 430px) {
	.howto_block{
		font-size:9px;
		    line-height: 1.6em;
	}
	.howto_block h2{
		font-size:13px;
	}
	.caution br{
		display:none;
	}
	.guide br{
		display:none;
	}
	.law{
		font-size:9px;
	}
}
@media screen and (min-width: 1400px){
	#law{
		    max-width: 1200px;
	}
	#article{
		padding-bottom: 10em;
	}
	.ex_title{
		    padding-bottom: 4em;
    margin-left: 5%;
	}
}
@media screen and (min-width: 1025px) {
 header{
  width:85vw;
}
	#wrapper{
		  max-width:85vw;
	}

  #menu{
  font-size: 13px;
  }
  #mt > a{
  margin: auto 1.5em;
}
  #icons_sp a:not(:first-child){
  margin-left: 0.5em;
}
.exhibition:nth-child(3n-2){
  margin-right:1.6%;
}
.exhibition:nth-child(3n){
  margin-left:1.6%;
}
.exhibition{
  margin: 0 auto 50px;
}
.project{
  margin: 0 auto 180px;
}
.note{
  margin: 30px auto 140px;
}

.exhibition{
    display:inline-block;
  }

  .content:nth-child(2n){
  margin: 0 0 3vw 2%;
  display:inline-block;
}
  .content:nth-child(2n-1){
  margin: 0 2% 3vw 0;
  display:inline-block;
}

.mt:hover, .bio:hover{
 cursor:pointer;
  color: #666;
}
.works .mt:first-child:hover{
    cursor:default;
  }
  #slidemenu{
  display:none;
  }
}