@charset "UTF-8";
/* CSS Document */

body{
font-family: kinuta-maruminfuji-stdn, serif;
display: none;
font-size: 14px;
color: #404040;
background-color: #fff;
line-height: 1.5;
position: relative;
}

img{
vertical-align:bottom;
max-width:100%;
height:auto;
}

p{
letter-spacing: 1px;
}
#wrapper{
width: 80%;
margin: 0 auto;
}

a{
text-decoration: none;
}

span1 ,.shopbutton{
font-size: 13px;
color:#ccc;
margin-left: 20px
}

header,footer{
width:100%;
}

nav ul{
margin-top: 50px;
}
nav ul li{
margin: 0 18%;
}

nav ul li a{
text-decoration: none;
color: #000;
font-weight: normal;
text-align: center;
line-height: 50px;
font-size: 18px;
}

nav ul li a,.subname:hover{
-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
 color:#000;
}

nav ul li img{
margin-bottom: 10px;
width: 45%;
margin-left: 15%;
}

header{
position: relative;
}

h1{
margin:4.0263% 0 0 5.5%;
padding: 0;
position:fixed;
z-index: 2;
width:50px;
height:72px;
font-size: 16px;
}

h1 a{
color: #404040;
text-decoration: none;
}

.link{
text-decoration: none;
color: #47acac;
transition: all 0.2s;
}

.link:hover{
color: #ccc;
}

.title{
font-family: 'Noto Serif JP', serif;
font-size: 10px;
margin:30px 0 30px 80%;
position: relative;
}

.title{
animation: fadein 1.5s;
}



@keyframes fadein{
from{
transform: translateX(30px);
opacity: 0;
}
to{
transform: translateX(0);
opacity: 1;
}

}


h2{
font-size: 27px;
font-weight: normal;
-ms-writing-mode: tb-rl;
 writing-mode: vertical-rl;
padding-top: 50px;
letter-spacing:0.3em;
}


h6{
border-left:solid #404040 1px;
height: 100px;
-ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
-webkit-text-orientation: sideways;
  text-orientation: sideways;
  font-size: 12px;
  position: absolute; 
	border-bottom: thin #A92F31;
  top:25px;
  left: 60px
	
}

h3{
font-size: 20px;
}

article #topics{
position: relative;
margin-bottom: 120px;
}

section{
margin: 0 5% 50px;
}

.kiji{
padding: 20px;
transition-duration: 0.3s;
}

.kiji:hover{
background-color:#fbfaf3;
transition: 0.3s;
}
.kiji img{
transition: 0.5s;
transition-duration: 0.3s;
}
.kiji img:hover{
transform: scale(1.1);
}

.img-box{
overflow: hidden;
}
.number{
font-size: 30px;
font-family:  'Raleway', sans-serif;
float:left;
margin: 7px 13px 0 0;
color: #47acac;
}
.kiji .topic_text{
font-size: 17px;
font-weight: bold;
margin: 20px 0 10px;
color: #000;
}

.kiji p{
color: #000;
}
/*ーーーーーーーーー*/

.caution{
font-size: 13px;
  color: #959595;
  text-align: right;
  
}

/*アニメーション要素までスクロールした時のスタイル*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translatex(0);
}


.shopbutton:hover{
background: #FFBA89;
-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.shopbutton{
background-color:#e99372;
border-radius: 30px;
width: 100px;
line-height: 40px;
text-align: center;
margin: 20px auto;
}


.shop a{
color: #404040;
text-decoration: none;
 position: relative;
  display: inline-block;
	padding: 0 20px;
}

.shop{
text-align:right;
	margin: 100px 10% 20px;
}


/*footer*/
footer small{
font-size: 12px;
line-height: 40px;
}

footer{
text-align: center;
background-color: #FFFFFF;
margin: 0 auto;
  border-top: #414141 solid 1px;
		width: 90%;
}

footer a{
color: #414141;
text-decoration: none;
font-size: 13px;
margin: 0 10px;
transition: all 0.2s;
}

footer a:hover{
color: #ccc;
}
aside #sns{
  text-align: center;
}

#sns ul {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    width: 140px;
    padding:100px 0 30px; 
}
#mini-menu{
margin: 10px 0;
}

.facebook,.twitter,.instaglam{
  width: 27px;
  height: 27px;
}



/*---------------------------タブレット---------------------*/
@media screen and (min-width:600px){

h1{
width:70px;
}
nav ul{
margin-top: 100px;
}

  .active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

section{
margin:50px 15%;
}

article #topics{
position: relative;
margin-bottom: 180px;
}


}


/*----------------------------PC------------------------------*/
@media screen and (min-width:960px){

#wrapper{
width:100%;
flex-wrap: wrap;
display: flex;
justify-content: space-between;
}

aside{
position: relative;
width:264px;
}

section{
margin: 50px 0 0 5%;
}
section:first-child{
margin: 50px -20px 0 3%;
}

aside{
width:18.30%;
}

main{
width: 71.7%;
padding: 0 5%;
}
 #topics{
margin-bottom: 200px;
}

section:first-child{
margin: 50px -20px 0 3%;
}

.topics-list{
display: flex;
}

span1{
color: #414141;
}


}
