/* body 
-------------------------------------------------------------- */

body {
	line-height: 1.8;
	color: #323232;
	font-family:YuGothic, "游ゴシック","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 10px;
	background:#faf9f4;
}

a {
	color: #585858;
	text-decoration: none;
}

.blue {
	color: #0000ff	!important;
}

#curtains span {
    background: #ffdc00;
    position: fixed;
    z-index: 99999;
}

#curtains span.top {
	height: 10px;
	left: 0;
	top: 0;
	width: 100%;
}

#curtains span.bottom {
	height: 10px;
	left: 0;
	bottom: 0;
	width: 100%;
}

#curtains span.left {
	height: 100%;
	left: 0;
	top: 0;
	width: 10px;
}

#curtains span.right {
	height: 100%;
	right: 0;
	top: 0;
	width: 10px;
}

/* Small (sm) */
@media (max-width: 639px) {
	#curtains span.top {
		height: 5px;
	}
	#curtains span.bottom {
		height: 5px;
	}
	#curtains span.left {
		width: 5px;
	}
	#curtains span.right {
		width: 5px;
	}
}

.AxisStd-Bold {
	font-family:'AxisStd-Bold';
}

/* #header 
-------------------------------------------------------------- */

#wrapper {
	background: #faf9f4;
}


/* #header 
-------------------------------------------------------------- */

#header {
	background: #faf9f4;
}

#site-title {
	text-align: center;
	width:365px;
	padding: 2em 0;
}

/* Small (sm) */
@media (max-width: 639px) {
	#site-title {
		padding: 1em 0 .5em 0;
		width:220px;
	}
	#header {
		border-bottom: 1px solid #FFDC00;
		z-index:1;
		position:fixed;
		width:100%;
		top:0;
		left:0;
		height:75px;
	}
	#site-title img {
		width:220px;
		height:auto;
	}
}

/* #navi 
-------------------------------------------------------------- */

.junbi {
	position:absolute;
	top:0;
	left:0;
	z-index:2;
	background:url(images/navi/junbi.png) no-repeat 15px center;
	background-size:108px 55px;
	width:108px;
	height:55px;
}

#gnavi a {
	-moz-transition:    opacity .3s ease;
	-webkit-transition: opacity .3s ease;
	-ms-transition:     opacity .3s ease;
	transition:         opacity .3s ease;
}

#gnavi a:hover {
	opacity:.6;
}

#gnavi {
	font-family:'AxisStd-Bold';
}

@media (min-width: 640px) {
	#gnavi {
		text-align: center;
		z-index:2;
		position: relative;
		max-width: 880px;
		margin: 1.5em auto;
	}

	.page #gnavi,
	.archive #gnavi,
	.single #gnavi {
		margin: .5em auto .3em auto;
	}



	#gnavi li {
		position:relative;
		padding: 0 .9em;
		/*
		display:inline-block;
		display:inline-flex;
		display:-webkit-inline-flex;
		display:-ms-inline-flex;
		*/
		text-align: center;
	}

	#gnavi li:first-child {
		padding-left: 0;	
	}

	#gnavi li:last-child {
		padding-right: 0;	
	}
}

/* Small (sm) */
@media (max-width: 639px) {
	#gnavi {
		padding-top: 1em;
		width: 92%;
		margin: 0 auto;
	}
	#gnavi li {
		text-align: center;
		padding: .7em 0;
		width: 49%;
		display:inline-block;
	}
	#gnavi li.navi08 {
		text-align: right;	
	}
	#gnavi li.navi10 {
		text-align: left;
	}
	#gnavi li.navi08,
	#gnavi li.navi09,
	#gnavi li.navi10 {
		width: 32%;
	}
}

#gnavi span.ja {
	display: block;
	font-size: .6em;
	line-height: 1.3;
	padding-top: .5em;
	letter-spacing: 0.1em;
}

/* Small (sm) */
@media (max-width: 639px) {
	#wrapper {
	  width: 100%;
	  height: 100%;
	}
	#wrapper.active #nav-menu {
	  background: rgba(255, 255, 255, 0.9);
	  height: 100%;
	}
	#wrapper.active #nav-menu .menu-list-container {
	  display: block;
	}
	.active #nav-menu {
		z-index: 1000;
	}
	#nav-menu {
	  color: #323232;
	  position: fixed;
	  top: 0;
	  width: 100%;
	  height: 52px;
	  right: 0;
	  /*overflow: hidden;*/
	  -webkit-transform: translate(0, 0);
	  -moz-transform: translate(0, 0);
	  -ms-transform: translate(0, 0);
	  -o-transform: translate(0, 0);
	  transform: translate(0, 0);
	  -webkit-transition: all 0.4s ease-in;
	  -moz-transition: all 0.4s ease-in;
	  -o-transition: all 0.4s ease-in;
	  transition: all 0.4s ease-in;
	}
	#nav-menu .menu-icon-container {
	  position: absolute;
	  top: 18px;
	  right: 4%;
	  z-index: 9999;
	}
	#nav-menu .menu-list-container {
	  position: absolute;
	  top: 50%;
	  width: 100%;
	 /* opacity: 0;*/
	 display: none;

	  -webkit-transition: opacity 0.3s;
	  -moz-transition: opacity 0.3s;
	  -o-transition: opacity 0.3s;
	  transition: opacity 0.3s;
	}
	#nav-menu .menu-list-container ul {
	  -webkit-transform: translate(0, -50%);
	  -moz-transform: translate(0, -50%);
	  -ms-transform: translate(0, -50%);
	  -o-transform: translate(0, -50%);
	  transform: translate(0, -50%);
	  width: 100%;
	}
	#nav-menu .menu-list-container ul li {
	  /*width: 100%;*/
	  text-align: center;
	}
	#nav-menu .menu-list-container ul li span.ja {
		font-size: .6em;
		margin-bottom: 1.5em	!important;
	}
}


/* .menu-icon
---------------------------------------------------- */

/* Small (sm) */
@media (max-width: 639px) {
	.menu-icon {
	  display: block;
	  float: left;
	  cursor: pointer;
	  -webkit-transition: all 0.2s ease-in;
	  -moz-transition: all 0.2s ease-in;
	  -o-transition: all 0.2s ease-in;
	  transition: all 0.2s ease-in;
	}
	.menu-icon span {
	  display: block;
	  width: 30px;
	  height: 4px;
	  background: #333333;
	  margin-bottom: 7px;
	  border-radius: 4px;
	  -webkit-transition: all 0.4s ease-out;
	  -moz-transition: all 0.4s ease-out;
	  -o-transition: all 0.4s ease-out;
	  transition: all 0.4s ease-out;
	}
	.menu-icon span.bar3 {
	  margin-bottom: 5px;
	}
	.menu-icon span.bar1 {
	  margin-top: 2px;
	}
	.menu-icon.active span {
		margin-bottom: 8px;
	}
	.menu-icon.active {
	  -webkit-transform: rotate(-45deg);
	  -moz-transform: rotate(-45deg);
	  -ms-transform: rotate(-45deg);
	  -o-transform: rotate(-45deg);
	  transform: rotate(-45deg);
	}
	.menu-icon.active .bar1 {
	  -webkit-transform: rotate(0deg) translateY(16px);
	  -moz-transform: rotate(0deg) translateY(16px);
	  -ms-transform: rotate(0deg) translateY(16px);
	  -o-transform: rotate(0deg) translateY(16px);
	  transform: rotate(0deg) translateY(16px);
	}
	.menu-icon.active .bar2 {
	  opacity: 0;
	}
	.menu-icon.active .bar3 {
	  -webkit-transform: rotate(-90deg) translateX(8px);
	  -moz-transform: rotate(-90deg) translateX(8px);
	  -ms-transform: rotate(-90deg) translateX(8px);
	  -o-transform: rotate(-90deg) translateX(8px);
	  transform: rotate(-90deg) translateX(8px);
	}

}

.wide .bar4 {
	display:none;
	font-family:'AxisStd-Bold';
}

.bar5 {
	display:none;
	font-size: .45em;
	text-align: center;
	font-family:'AxisStd-Bold';
}

.bar4 {
	font-size: .45em;
	text-align: center;
	font-family:'AxisStd-Bold';
}

.active .bar4 {
	display:none;
}

.active .bar5 {
	display: block;
	padding-top:1.3em;
	-webkit-transform: rotate(45deg) translateX(-20px) !important;
	-moz-transform: rotate(45deg) translateX(-20px) !important;
	-ms-transform: rotate(45deg) translateX(-20px) !important;
	-o-transform: rotate(45deg) translateX(-20px) !important;
	transform: rotate(45deg) translateX(-20px) !important;
}

#sns {
	position: fixed;
	top: 40%;
	right: 2%;
	z-index:1;
}

.wide #sns li {
	margin:.5em 0;
}

#instagram-sp {
	position:fixed;
	top:15px;
	left:4%;
}

/* #content 
-------------------------------------------------------------- */

.wide #content {
	margin-top:4em;	
}

#content a {
	/*word-break: break-all;*/
	overflow-wrap : break-word;
}

/* Small (sm) */
@media (max-width: 639px) {
	#content {
		margin-top:0em;
		padding-top:100px;
		font-size:.85em;
	}
}

#content img {
	max-width: 100%;
	height: auto;	
}

#content p {
	margin-bottom: 1.8em;
}

#content a {
	-moz-transition:    opacity .3s ease;
	-webkit-transition: opacity .3s ease;
	-ms-transition:     opacity .3s ease;
	transition:         opacity .3s ease;
}

#content .grid-title a:hover {
	opacity:.5;
}

.page #content,
.single #content {
	max-width: 675px;
	margin-right: auto;
	margin-left: auto;
	width:92%;
}

.page.page-id-2 #content {
	max-width: 770px;
}

.page.page-id-4661 #content {
	max-width: 100%;
	width:100%;
	overflow: hidden;
}

.inner {
	max-width:960px;
	width:92%;
	margin: 0 auto;	
}

/* #loading
---------------------------------------------------- */

#loading {
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height: 100%;
	background: #faf9f4;;
}


.loader,
.loader:after {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.loader {
	font-size: 4px;
	position: absolute;
	top:50%;
	left:50%;
	margin-left: -20px;
	margin-top: -20px;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(255, 218, 0, 0.1);
	border-right: 1.1em solid rgba(255, 218, 0, 0.1);
	border-bottom: 1.1em solid rgba(255, 218, 0, 0.1);
	border-left: 1.1em solid rgba(255, 218, 0, 1);
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* #pagination 
-------------------------------------------------------------- */

#pagination {
	padding: 2em 0;
	text-align:center;
}

#pagination a,
#pagination span {
	padding:.8em 1em;
	display:inline-block;
	border:1px solid #ffdc00;
	margin: .2em;
	line-height:1;
}

#pagination a:hover, 
#pagination span.current {
	background: #ffdc00;
	color:white;
}

.screen-reader-text {
	display:none;
}

a.hoverimage img  {
	-moz-transition:    opacity .3s ease;
	-webkit-transition: opacity .3s ease;
	-ms-transition:     opacity .3s ease;
	transition:         opacity .3s ease;
}

a.hoverimage:hover img {
	opacity:.6;
}

/* #footer 
-------------------------------------------------------------- */
#footer {
	text-align: center;
	padding: 6em 0 3em 0;
	font-size: .7em;
}

#footer h3 {
	margin-bottom: 1.2em;	
}

.chibi-logo {
	margin-bottom: 2em;	
}

#footer p {
	margin-bottom: 1.6em;	
}

#copyright {
	margin-top: 1.6em;	
	font-size: .8em;
	font-family:'AxisStd-Bold';
}