/*
Theme Name: 手作市場テーマ
Description: 手作市場用のテーマです。
Author: コミュースタイル
Version: 0.1
*/

/* @charset "utf-8"; */
/*base color*/
/* {
  color: #4d4d4d;
  color: #a67c52;
  color: #736357;
  color: #c1272d;
} */

/*reset css start ----------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
  margin: 0;
  padding: 0;
  border: 0;
  font-style:normal;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
  display: block;
}
html
{
  overflow-y: scroll;
}
blockquote, q
{
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after
{
  content: '';
  content: none;
}
input, textarea
{
  margin: 0;
  padding: 0;
}
ol, ul
{
  list-style:none;
}
table
{
  border-collapse: collapse;
  border-spacing:0;
  width:100%;
}
caption, th, td
{
  text-align: left;
}
a
{
  text-decoration: none;
  color: #000;
}
a:focus
{
  outline:none;
}
.clearfix:after
{
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix
{
  min-height: 1px;
}
* html .clearfix
{
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}
.both
{
  clear:both;
}
.inline_block
{
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
/*reset css end --------------------------------------------------------------*/
/*favorite css start ------------------------------------------------------------*/
img
{
  max-width:100%;
  height: auto;
  width: auto;
  vertical-align: bottom;
}

a,a:hover
{
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}
a img:hover
{
  filter: alpha(opacity=75);
  -moz-opacity:0.75;
  opacity:0.75;
}

/*favorite css end -------------------------------------------------------------*/
/*base css start ------------------------------------------------------------*/
body{
  color: #4d4d4d;
  font-size: 12px
}
main{
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
section{
  max-width:1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px 30px;
}
.main-flex-box .main-flex-sns{
  display: none;
}
.flex{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
}
.button {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.button {
  background-color: #fff;
  border: 2px solid #a67c52;
  color: #a67c52;
  line-height: 50px;
}
.button:hover {
  background-color: #a67c52;
  border-color: #a67c52;
  color: #fff;
}
.text-b{
  font-weight: bold;
}
.headline{
  margin-top: 20px;
  margin-bottom: 20px;
}
.headline h1{
  color:#a67c52;
  border-bottom: solid 1px #a67c52;
  font-size: 16px;
  font-family: Century Gothic,Avenir-Light, sans-serif;
}
.headline p{
  font-size: 14px;
  font-weight: bold;
}
.headline-text p{
  font-size: 14px;
  margin-bottom: 40px;
}
.more{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/*footer*/
footer{
  background: #ededed;
  margin-top: 20px;
}
footer img{
  width: 250px;
}
footer .footer-box{
  padding: 30px 10px 70px;
}
footer div div{
  margin:30px auto;
  text-align: center;
}
footer .footer-3{
  display: none;
}
/* hukidashi */
.css-fukidashi {
  padding: 0;
  margin: 0;
}
.css-fukidashi .text {
  /* width: 200px; */
  position: relative;
  /* margin:80px 50px 50px;
  padding: 20px;
  border: 1px solid #ccc; */
}
.css-fukidashi .fukidashi {
  display: none;
  width: 500px;
  position: relative;
  top: -90px;
  left: 100px;
  padding: 16px;
  border-radius: 5px;
  background: #a67c52;
  color: #fff;
  font-weight: bold;
}
.css-fukidashi .fukidashi img{
  width: 20px;
  padding-bottom: 3px;
}
/* .css-fukidashi .fukidashi:after {
  position: relative;
  width: 0;
  height: 0;
  left: 0;
  bottom: -19px;
  margin-left: 10px;
  border: solid transparent;
  border-color: rgba(51, 204, 153, 0);
  border-top-color: #33cc99;
  border-width: 10px;
  pointer-events: none;
  content: " ";
} */
@media screen and (min-width: 901px){
.css-fukidashi .text:hover + .fukidashi{
  display: block;
  opacity: 1;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}
}
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}
/*base css end ------------------------------------------------------------*/
/*design css start ------------------------------------------------------------*/
/*news*/
.news h2{
  color:#fff;
  background-color: #a67c52;
  padding: 5px 15px;
  display: inline-block;
  margin-bottom: 10px;
}
.news .flex{
  border-bottom: dashed 2px #b0b0b0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.news .flex .content{
  width : -webkit-calc(100% - 30px) ;
  width : calc(100% - 30px) ;
}
.news .flex .right-arrow i{
  width: 20px;
  font-size: 18px;
  color: #a67c52;
}
/*shop*/
.shop .flex{
  align-items: flex-start;
}
.shop .icon-hanbai{
  justify-content: flex-end;
}
.shop .icon-hanbai div img{
  width: 30px;
}
.shop .icon-hanbai div p{
  display: inline-block;
  margin: 10px 10px 30px 5px;
}
.store{
  width : -webkit-calc(50% - 10px) ;
  width : calc(50% - 10px) ;
  padding: 20px 5px 5px;
}
.store .icon{
  overflow: hidden;
  margin-top: 10px;
}
.store .icon .icon-1{
  width: 100px;
  float: left;
}
.store .icon .icon-2{
  width: 20px;
  float: right;
}
/*information*/
.info .flex{
  border-bottom: dashed 2px #b0b0b0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.info .flex .info-img{
  width: 30%;
  margin-right: 10px;
}
.info .flex .content{
  width : -webkit-calc(70% - 40px) ;
  width : calc(70% - 40px) ;
}
.info .flex .right-arrow i{
  width: 20px;
  font-size: 18px;
  color: #a67c52;
}
.info .flex .content h2{
  color: #a67c52;
}
/*design css end ------------------------------------------------------------*/
/*jquery css start ------------------------------------------------------------*/
/*slider ------------------------------------------------------------*/
main .slider-box{
  width: 130%;
}
main .bx-wrapper{
  border: 0px;
  left: -11.5%;
}
main .slider li{
  position: relative;
}
main .slider li .over-1{
  position: absolute;
  /*top: 0;*/
  left: 0;
  right: 0;
  bottom: 3%;
  margin: auto;
  width:60%;
}
main .slider li .over-2{
  position: absolute;
  /*top: 0;*/
  left: 0;
  right: 0;
  bottom: 3%;
  margin: auto;
  width:70%;
}
main .slider li .over-2 .over-2-title{
  font-size: 6.8vw;
}
main .slider li .over-3{
  position: absolute;
  /*top: 0;*/
  left: 0;
  right: 0;
  bottom: 3%;
  margin: auto;
  padding: 8px;
  width:71%;
  background: rgba(255, 255, 255, 0.9);
}
/*sp menu ------------------------------------------------------------*/
@media screen and (max-width: 900px) {
#global-head {
	position: fixed;
	color: #fff;
	width: 260px;
	text-align: center;
	/*padding-top: 60px;*/
	z-index: 399;
  bottom: 0;
}
#global-head .flex{
  width : -webkit-calc(100% - 60px) ;
  width : calc(100% - 60px) ;
  justify-content: center;
  align-content: center;
}
#global-head .flex div{
  color: #fff;
  /*width : -webkit-calc(25% - 5px) ;
  width : calc(25% - 5px) ;*/
  width: 25%;
}
#global-head .flex div a{
  color: #fff;
}

#sidebar {
	font-size: 12px;
	/*padding-top: 120px;*/
	width: 260px;
	height: 100%;
	position: fixed;
	color: #033560;
	background: #fff;
	text-align: left;
}


#global-nav .flex{/*sns*/
  justify-content: center;
  align-content: center;
}
#global-nav .flex div{
  padding: 10px;
}
#global-nav .flex div i{
  font-size: 16px;
}
#global-nav .fa-twitter-square:before,
#global-nav .fa-facebook-official:before,
#global-nav .fa-feed:before, .fa-rss:before{
  margin-right: 5px;
}


#global-nav ul {
	list-style: none;
	margin-left: 0;
}
#global-nav > ul {
  padding-bottom: 80px;
}
#global-nav > ul > li {
	position: relative;
  padding-left: 40px;
}
#global-nav > ul > li > ul >li{
  padding-left: 15px;
}
#global-nav ul .nav-logo{
  width: 250px;
  margin: 40px auto;
}

#global-nav a {
	text-decoration: none;
	display: block;
	padding: 20px 0;
	-moz-transition: background-color .3s linear;
	-webkit-transition: background-color .3s linear;
	transition: background-color .3s linear;
}
/*#global-nav .sub-menu.is-active > a,
#global-nav a:hover {
	color: #fff;
	background: #033560;
}*/

#global-nav .sub-menu-nav a,
#global-nav .sub-menu:hover .sub-menu-nav {
	width: 230px;
}

/* sub-menu icon */
#global-nav .sub-menu-head {
	position: relative;
}
#global-nav .sub-menu-head:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 1px solid #033560;
	border-right: 1px solid #033560;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}


/* sub-menu */
#global-nav .sub-menu-nav {
	position: fixed;
	background: #033560;
	color: #fff;
	top: 0;
	padding-top: 90px;
	left: 260px;
	width: 0;
	height: 100%;
	overflow: hidden;

	-moz-transition: width .2s ease-out;
	-webkit-transition: width .2s ease-out;
	transition: width .2s ease-out;
}
/*#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
	border-color: #fff;
}*/
#global-nav .sub-menu-nav a {
	color: #fff;
}
/*#global-nav .sub-menu-nav a:hover {
	color: #033560;
	background: #fff;
}*/


/* nav-toggle */
#nav-toggle {
	display: none;
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 60px;
  width:60px;
  background-color: #736357;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
  margin: 16px;
}
#nav-toggle span {
	width: 100%;
	height: 4px;
  border-radius: 10px;
	left: 0;
	display: block;
	background: #fff;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}


#overlay {
	display: none;
	position: fixed;
	background: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
}
@media screen and (max-width: 899px) {
	#main-in {
		padding-left: 0;
	}

	#global-head {
		width: 100%;
		/*padding: 10px;*/
		background: #a67c52;
		display: -webkit-flex;
		display: flex;
    height: 60px;
	}

	#sidebar {
		/*display: none;*/
		position: fixed;
		right: -100%;
		top: 0;
		height: 100%;
		width: 100%;
		color: #333;
		background: #fff;
		-webkit-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
    overflow: scroll;
	}

	/* サブメニューは開けない */
	#global-nav .sub-menu-head:after,
	#global-nav .sub-menu-nav {
		display: none;
	}
	#nav-toggle {
		display: block;
	}

	/* nav open */
	.open {
		overflow: hidden;
	}
	.open #overlay {
		display: block;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-100%,0,0);
		transform: translate3d(-100%,0,0);
	}

	/* #nav-toggle close */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* z-index */
	#overlay {
		z-index: 200;
	}
	#sidebar {
		z-index: 300;
	}
	#nav-toggle {
		z-index: 400;
	}
/*スライドメニューの中の開閉*/
  #global-nav label{
    display: block;
  }
  #global-nav input[type="checkbox"].on-off{
      display: none;
  }
  #global-nav .menu label{
    padding: 20px 0;
  }
  #global-nav .menu ul {
      -webkit-transition: all 0.5s;
      -moz-transition: all 0.5s;
      -ms-transition: all 0.5s;
      -o-transition: all 0.5s;
      transition: all 0.5s;
      margin: 0;
      padding: 0;
      list-style: none;
  }
  #global-nav input[type="checkbox"].on-off + ul{
      height: 0;
      overflow: hidden;
  }
  #global-nav input[type="checkbox"]#Panel1:checked + ul{
      height: 600px;
  }
  #global-nav input[type="checkbox"]#Panel2:checked + ul{
      height: 200px;
  }
}

/*@media screen and (max-width: 400px) {
	#sidebar {
		right: -200px;
		width: 200px;
		padding-top: 60px;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-200px,0,0);
		transform: translate3d(-200px,0,0);
	}
}*/

/*pc menu ------------------------------------------------------------*/
#top-head{
  display: none;
}
@media screen and (min-width: 901px){
  #top-head{
    display: block;
  }

.inner {
  width: 1100px;
  margin: 0 auto;
  position: relative;
}

.inner:after {
  content:"";
  clear: both;
  display: block;
}

/*--------header-----------*/
#top-head {
  top: -100px;
  position: absolute;
  margin: 100px auto 0;
  padding: 30px 0 0;
  line-height: 1;
  z-index: 999;
}

#top-head a,
#top-head {
    color: #000;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    position: relative;
    font-size: 36px;
    height: 50px;
}

#top-head .logo a {
  position: absolute;
  width: 100%;
  height: 50px;
}

#global-nav-pc #gnav-ul {
    list-style: none;
    position: absolute;
    top: -30px;
    right: 0;
    width: 100%;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
    margin: 0 auto;
}
#global-nav-pc ul li {
    float: left;
    padding:10px 20px 0;
}
#global-nav-pc .pc-nav-logo{
  width: 150px;
  padding: 0 50px 0 20px;
}

#global-nav-pc .pc-menu{
  width: 130px;
}
#global-nav-pc .pc-menu>a{
  cursor: default;
}
#global-nav-pc .pc-menu .pc-menu-child{
  height: 0px;
  overflow: hidden;
  width: 500px;/*元の設定200px*/
	white-space: nowrap;/*追加設定*/
	transition: all .3s ease;
}
#global-nav-pc .pc-menu .pc-menu-child>li{
  display: block;
  margin-bottom: 0.5em;
}
#global-nav-pc .pc-menu:hover .pc-menu-child{
  height: auto;/* お店開いた時の高さ 元の設定500px */
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
	
	#global-nav-pc .pc-menu .pc-menu-child li{
  display: block;
		margin-left: 0px;
		padding-left: 0px;
	}	
	
#global-nav-pc ul li a {
    padding: 5px 5px;
    position: relative;
    display: inline-block;
}

#global-nav-pc ul li a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   -webkit-transform: scaleX(0);
   -ms-transform: scaleX(0);
   transform: scaleX(0);
   background-color: #c1272d;/* ホバー時のアンダーライン */
   -webkit-transition: all .5s ease;
   transition: all .5s ease;
}

#global-nav-pc ul li a:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}
/* #global-nav-pc .pc-nav-sns{
  padding: 0;
} */
nav span{
    background:#666;
    height:2px;
    display:block;
    position:relative;
    width:50px;
    left:0;
}


/*--------固定化されたときのCSS-----------*/
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 30px;
    /* background: #fff;
    background: rgba(255,255,255,.7); */
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed .logo {
  position: relative;
    font-size: 24px;
    color: #333;
}

#top-head.fixed .logo a {
  position: absolute;
  width: 100%;
  height: 30px;

}
#top-head.fixed #global-nav-pc ul li a {
    color: #333;
}
}
@media screen and (min-width: 1100px){
  #global-nav-pc .pc-nav-logo{
    padding: 0 200px 0 20px;
  }
}
/*jquery css end ------------------------------------------------------------*/
/*pc css start*/
@media screen and (min-width: 401px) {
  main .slider li .over-2 p{
    font-size: 3.2vw;
  }
  main .slider li .over-3{
    font-size: 3.5vw;
  }
}
@media screen and (min-width: 901px){
/* --- ie11対応 ---- */
  #global-nav-pc .pc-nav-logo>a>img { width: 140px; height:auto; }
/* --- ie11対応 ---- */
  body{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-flex-box{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
  }
  .main-flex-box .main-flex-content{
    width: 900px;
  }
  .main-flex-box .main-flex-sns{
    width: 200px;
    display: block;
  }
  .headline p,p,.news h2,.button,.info .flex .content h2{
    font-size: 16px;
  }
  .headline-text p {
    font-size: 22px;
  }
  #global-head,
  #nav-toggle,
  #sidebar{
    display: none;
  }
  section{
    max-width: 900px;
  }
  main .slider-box {
    width: 100%;
    margin: 94px 0 0;/* pcメニューの隙間 */
  }
  main .slider li .over-3 {
    width: 740px;
  }
  main .bx-wrapper{
    left: 0%;
  }
  main .slider li .over-1{
    width:60%;
  }
  main .slider li .over-2 .over-2-title{
    font-size: 40px;
  }
  main .slider li .over-2 p{
    font-size: 24px;
  }
  main .slider li .over-3{
    font-size: 24px;
    line-height: 2;
  }
  .headline h1 {
    font-size: 32px;
  }
  .news a:hover .flex{
    background: #ededed;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
  }
  .store .icon .icon-1 {
    width: 150px;
  }
  .store .icon .icon-2 {
    width: 30px;
    float: right;
  }
  .flex-sp{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
  }
  .info .flex-sp>a{
    width: 20%;
  }
  .info .flex-sp>a:hover{
    background: #ededed;
  }
  .info .flex {
    border-bottom: none;
    padding: 5px;
  }
  .info .flex .info-img {
    width: 100%;
    margin-right: 0;
  }
  .info .flex .content {
    margin-top: 10px;
    width: 100%;
  }
  .info .right-arrow{
    overflow: hidden;
    width: 100%;
  }
  .info .flex .right-arrow i {
    float: right;
  }
  footer .footer-box {
    padding: 0;
  }
  footer .copyright{
    background-color: #a67c52;
    color: #fff;
    padding: 10px 0;
    margin-bottom: 0;
  }
  footer .footer-box .flex-sp{
    flex-direction: row-reverse;
    justify-content: center;
    align-content: center;
  }
  footer .footer-box .footer-1,
  footer .footer-box .footer-2,
  footer .footer-box .footer-3{
    width: 33%;
    border-right: solid 1px #858585;
    height: 250px;
  }
  footer .footer-box .footer-1{
    border-right: none;
  }
  footer .footer-box .flex-sp .footer-2>div{
    width: 100%;
    margin: 0 0 30px 30px;
  }
  footer .footer-box .flex-sp .footer-3 a{
    display: block;
  }
  footer .footer-box .flex-sp .footer-2 p,
  footer .footer-box .flex-sp .footer-3 a{
    text-align: left;
    font-size: 16px;
  }
  footer .footer-3{
    display: block;
  }
  footer .footer-3>div{
    margin: 30px 0 30px 30px;
  }
}

/*pc css end*/
