/*
 Theme Name:   Welcart Basic Child
 Theme URI:    https://www.welcart.com/archives/4286.html
 Description:  Welcart Basic Child Theme
 Author:       Zummy Products
 Author URI:   https://zummy.net/
 Template:     welcart_basic
 Version:      1.0.0
 License:
 License URI:
 Tags:         welcart, responsive-layout, accessibility-ready
 Text Domain:  welcart-basic-child
*/

/* メニューバーの左右余白を縮小 */
@media screen and (min-width: 62.5em) {
  #site-navigation li a {
    padding: 1em .7em !important;
  }
  .header-nav-container {
    font-size: 95%;
  }
}

/* 写真上部タイトルの余白縮小 */
@media screen and (min-width: 62.5em) {
  #main {
    margin-top: 0 !important;
  }
}
.item_page_title {
  margin: 0 !important;
}
#content header {
  margin: 0 !important;
}

/* 写真表示サイズ */
@media screen and (min-width: 38.75em) {
  #itempage #img-box {
    width: 100%;
  }
}

/* 固定ページ */
.header {
	background: #FFF;
	padding: 10px;
	overflow: hidden;
}
.header_left {
	width: 100%;
}
.header_right {
	width: 100%;
}
@media screen and (min-width: 62.5em) {
	.header_left {
		float: left;
		margin-right: 10px;
		width: 50% !important;
	}
	.header_right {
		float: right;
		width: 47% !important;
	}
	.header_banner {
		float: right;
		width: 30% !important;
	}
}

.notice {
	color: rgb(0, 0, 0);
	font-weight: bold;
	font-size: 1.1em;
}
a.anchor {
	color: #00f;
	text-decoration: underline;
	font-weight: bold;
}

/* LINE風 */
.line-bc {
	padding: 20px 10px;
	max-width: 450px;
	margin: 15px auto;
	text-align: right;
	font-size: 14px;
	background: #7da4cd;
}
.your-comment {
	width: 100%;
	margin: 10px 0;
	overflow: hidden;
}
.your-comment .faceicon {
	float: left;
	margin-right: -50px;
	width: 40px;
}
.your-comment .faceicon img{
	width: 100%;
	height: auto;
	border-radius: 50%;
}
.your-comment .chatting {
	width: 100%;
	text-align: left;
}
.your-comment .says {
	display: inline-block;
	position: relative;
	margin: 0 0 0 50px;
	padding: 10px;
	max-width: 260px;
	border-radius: 12px;
	background: #edf1ee;
}
.your-comment .says:after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 3px;
	left: -19px;
	border: 8px solid transparent;
	border-right: 18px solid #edf1ee;
	-ms-transform: rotate(35deg);
	-webkit-transform: rotate(35deg);
	transform: rotate(35deg);
}
.says p {
	margin: 0;
	padding: 0;
}
.my-comment {
	margin: 10px 0;
}
.my-comment .faceicon {
	float: right;
	margin-left: -50px;
	width: 40px;
}
.my-comment .faceicon img{
	width: 100%;
	height: auto;
	border-radius: 50%;
}
.my-comment .chatting {
	width: 100%;
	text-align: left;
}
.my-comment .says {
	display: inline-block;
	position: relative;
	margin: 0 50px 0 0;
	padding: 10px;
	max-width: 260px;
	border-radius: 12px;
	background: #30e852;
}
.my-comment .says:after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 3px;
	right: -19px;
	border: 8px solid transparent;
	border-right: 18px solid #30e852;
	-ms-transform: rotate(505deg);
	-webkit-transform: rotate(505deg);
	transform: rotate(505deg);
}

/* ツアー名 */
li.cat-item a {
  display: block;
  position: relative;
  text-decoration: none;
  height:35px;
/*  width: 120px; */
  line-height: 37px;
  text-align: center;
  color: #42a5f5;
  border:solid 1px #42a5f5;
  overflow: hidden;
  z-index: 1;
}
li.cat-item a:after {
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  width: 100%;
  background : #42a5f5;
  opacity: 0;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  z-index: -1;
}
li.cat-item a:hover {
  color: #fff;
}
li.cat-item a:hover:after {
  height: 1000%;
  opacity: 1;
}
li.cat-item a:active:after {
  height: 350%;
  opacity: 1;
}

/* 商品一覧ページ */
/* 商品名下部の余白 */
.cat-il.type-grid .itemname {
  height: auto;
}

/**
 * Arrow (写真に重ねて表示するページ遷移用アイコン)
 */
#img-box {
	position: relative;
}
.allow {
	position: absolute;
	width: 32px;
}
.allow-prev {
	top:   50%;
	left:   2%;
}
.allow-top {
	top:    2%;
	left:  50%;
}
.allow-next {
	top:   50%;
	right:  2%;
}

#itempage #img-box {
    width: 100% !important;
}


/**
 * 16.4 Desktop Small 1000px
 */
@media screen and (min-width: 62.5em) {
  #site-navigation li a {
  /*	padding: 1em 1.42857em; */
    padding: 1em 1.2em;
  }

  .one-column #secondary .columnleft {
  /*		width: 240px; */
    width: 300px;
  }

  .one-column #secondary .columncenter {
/*		width: 240px; */
    width: 300px;
  }

  .one-column #secondary .columnright {
/*		width: 420px; */
    width: 300px;
  }


}


/**
 * PJAX
 */
#pjaxImage {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/* ツアー名 */
li.cat-item a {
  display: block;
  position: relative;
  text-decoration: none;
  height:35px;
/*  width: 120px; */
  line-height: 37px;
  text-align: center;
  color: #42a5f5;
  border:solid 1px #42a5f5;
  overflow: hidden;
  z-index: 1;
}
li.cat-item a:after {
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  width: 100%;
  background : #42a5f5;
  opacity: 0;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  z-index: -1;
}
li.cat-item a:hover {
  color: #fff;
}
li.cat-item a:hover:after {
  height: 1000%;
  opacity: 1;
}
li.cat-item a:active:after {
  height: 350%;
  opacity: 1;
}

