/*
Theme Name: Welcart Basic Child
Description: Welcart Basic Child Theme
Author: BONANZA CREATE
Template: welcart_basic
Version: 1.0.0
*/


:root {
  --main-color: #031731; 
  --text-color: #2c2c2c;
  --text-hover-color: #7a7a7a;
  --border-color: #e9e9e9;
}



/* テーマ調整 --------------------------------------------------------------------------------------------- */
body {
  overflow-x: hidden;
}
.entry-content h3, .item-description h3 {
  font-size: 24px;
}
img {
  max-width: 100%;
}
#content {
  padding: 0;
}
#content h1.post-title, #content h1.page-title {
  font-size: 26px;
  padding: 16px 0;
  border-bottom: 1px solid #CCC;
  margin-bottom: 24px;
  line-height: 1.4em;
  text-shadow: none;
  color: #262626;
  display: block;
  text-align: left;
}
a {
  color: #1175bf;
  text-decoration: none;
  transition: .2s;
}
a:hover {
  color: #262626;
  text-decoration: none;
  transition: .2s;
}

/* カラム調整 */
#main.two-column #content {
  width: 100% !important;
}
#content header {
  position: relative;
  top: 0;
  left: 0;
  margin: 0 0 1.42857em;
  padding: 0;
  border: none;
  transform: none;
}



/* wp-block カスタマイズcss */

/* グループブロック */
/* 貫通背景 */
.wp-block-group.group-bg {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: 50px 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-block-group.group-bg .row {
  align-items: center;
}
.wp-block-group.group-bg.type01 {
  background: url(https://mannira.com/wp-content/uploads/2017/11/subtle_grunge.png);
}
.wp-block-group.group-bg.type02 {
  background: url(https://mannira.com/wp-content/uploads/2017/11/subtle_grunge02.png);
}
.wp-block-group.group-bg.type03 {
  background: url(https://mannira.com/wp-content/uploads/2017/11/subtle_grunge03.png);
}

/* テキスト画像ブロック */
/* 画像サイズ調整 */
.wp-block-media-text.customize {
  width: 100%;
  max-width: 1600px;
}
.wp-block-media-text.customize img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

/* 見出しデザイン */
h2.heading01 {
	position: relative;
	padding-bottom: 20px;
	font-size: 26px;
	text-align: center;
  border: none;
  margin-top: 36px;
}
h2.heading01::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0 6px;
  border-color: #28a745 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}
h2.heading01:first-child {
  margin-top: 0;
}






/* ヘッダー ------------------------------------------------------------------------------------------------------------ */

/* ヘッダートップ */
#header {
  z-index: 21;
  position: fixed;
  width: 100%;
  border: none;
  top: 0;
}
#header .header-wrap {
  width: 100%;
  overflow: visible;
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
}
.header-top {
  background: #000000ad;
}
.logo-wrap {
  width: 300px;
  height: 118px;
  position: absolute;
  z-index: 10;
  -moz-transition: height 0.3s;
  -o-transition: height 0.3s;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
  top: 6px;
  left: 2vw;
  display: inline-block;
}
#logo {
  background: url(https://mannira.com/wp-content/uploads/2017/08/rogo.png);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* ショップメニューバー */
.shop-menu {
  clear: right;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: right;
  margin: 0 10px;
}
.shop-menu .membership {
  padding: .357143em 0;
  overflow: hidden;
  margin-right: 10px;
}
.shop-menu .membership i {
  display: none;
}
.shop-menu .membership ul {
  display: flex;
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.shop-menu .membership li:first-child, .shop-menu .membership li a {
  font-size: 12px;
  border: none;
  margin: 0;
  padding: 0 .833334em;
  border-right: 1px solid #aaa;
}
.shop-menu .membership li:first-child {
  color: #52ab41;
}
.shop-menu .membership li a {
  color: #FFF;
}
.incart-btn {
  margin: 0;
  float: right;
  clear: both;
}

header #site-navigation input#panel.on-off + div.nav-menu-open, header #site-navigation input#panel.on-off:checked + div.nav-menu-open, header #site-navigation input#panel.on-off + div.header-nav-container {
  background-color: #031731;
}





/* ヘッダーナビ ------------------------------------------------------------------------------------------ */
#gnav {
  background: #47B39D;
  margin: 0 0 0 auto;
  float: right;
  text-align: right;
  display: flex;
}
#gnav .sub-menu {
  z-index: 10;
}
#gnav-container ul li a {
  display: block;
  padding: 17px 30px;
  line-height: 28px;
  color: #fff;
  background: #000000d9;
  text-decoration: none;
  -webkit-transition: background .3s ease-in-out;
  transition: background .3s ease-in-out;
}

/* ホバー時 */
#gnav-container ul li a:hover {
  background: #fafafa;
  color: #3a3a3a;
}
#gnav-container ul li a:hover .sub-menu {
  display: block;
}

#gnav ul li .sub-menu {
  font-size: 14px;
  text-align: left;
  display: none;
  position: absolute;
  width: 200px;
  background: #000000d9;
}
#gnav ul li .sub-menu li {
  float: none;
  margin-left: 0;
  display: block;
}
#gnav ul li .sub-menu li:list-child {
  border-bottom: none;
}
#gnav ul li .sub-menu li a {
  color: #FFF;
  padding: 10px 15px;
}
#gnav ul li .sub-menu li a:hover {
  background: #fafafa;
  color: #3B4552;
}
#gnav ul li .sub-menu .sub-menu {
  left: 100%;
  top: -1px;
}
#header-right {
  height: 92px;
  z-index: 6;
  position: absolute;
  right: 0;
  top: 14px;
  margin-right: 10px;
}
body #header #gnav {
  background: none;
}
#gnav ul li {
  display: inline-block;
  position: relative;
  opacity: 0.8;
}

/* グローバルナビ アイコンメニュー */
.gnav-icon-btn {
  display: flex;
  align-items: center;
}
.gnav-icon-btn i {
  font-size: 30px;
  color: #C13584;
  padding-left: 12px;
  padding-right: 12px;
  transition: all 0.6s;
}
/* ホバー時 */
.gnav-icon-btn ul li a:hover i {
  color: #FFF;
}


/* スクロール時、サイトロゴ縮小 */
header.smaller .logo-wrap {
  height: 80px !important;
}



/* ハンバーガーメニュー --------------------------------------------------------------------------------------------- */

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 20;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgb(0 0 0 / 85%);
  text-align: center;
  width: 100%;
  transform: translateY(-100%);
  transition: all 0.6s;
  padding-top: 140px;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

/* スマホドロアー */
nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
  border-bottom: 1px solid rgb(255 255 255 / 30%);
  position: relative;
}
/* 親要素のみ */
nav.globalMenuSp #gnav-ul>li>a {
  font-size: 1.2em;
  background: rgb(255 255 255 / 10%);
}
nav.globalMenuSp #gnav-ul>li:has(.sub-menu)>a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(135deg);
  margin-right: 10px;
  position: absolute;
  left: 4vw;
  top: 20px;
}

nav.globalMenuSp .sub-menu {
  padding: 0 5vw;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9em;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
   transform: translateY(0%);
}









/* メインビジュアル ---------------------------------------------------------------------------------------------- */
.main_header_img {
    position: relative;
    margin-bottom: 4px;
    border-bottom: 1px solid #000;
}
/*トップページ　ドットオーバーレイimg要素*/
.dot-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dot-overlay:before {
    background: url(https://mannira.com/wp-content/uploads/2017/08/dot-ol.png);
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* main-visual.js
-----------------------------------------*/
.Opening {
position:relative;
background-color: #FFF;
}
.Opening ul li{
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
}
.Opening ul li img.Opening__text{
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform:translate(-50%, -50%);
  z-index: 9;
}
.Opening ul li span img.Opening__img{
  max-width: inherit;
  width: 100%;
  height: auto;
}





/* トップページ以外 固定ヘッダー -------------------------------------------- */
.page-header {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.page-header .page-title {
  font-size: 2.6em;
  line-height: 1.2em;
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  margin-bottom: 0;
  max-width: 100%;
  display: inline-block;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Meiryo, sans-serif;
  color: #FFF;
  text-shadow: 0 0 10px #000;
  letter-spacing: 0.1em;
}

/* 固定ページヘッダー画像 */
.page-bg-img-wrap {
  display: block;
  height: 380px;
  width: 100%;
  top: 0;
  position: relative;
  z-index: -1;
}
body.page-template-img-header-page .page-bg-img-wrap {
  display: block;
  height: 380px;
  width: 100%;
  top: 0;
  position: relative;
  z-index: -1;
}
body.page-template-img-header-page #content {
  margin-top: 0;
}
body.page-template-img-header-page #content .wrap {
  padding-top: 0;
}

/* その他ページ用 */
.page-bg-img-wrap.default {
  height: 128px;
}
.page-bg-img-wrap.default .page-bg-img {
  height: 128px;
}

.page-bg-img {
  background-size: cover;
  display: inline;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 380px;
  width: 100%;
  z-index: -5;
  background-color: #3e3e3e;
}
/* お品書きページのヘッダー画像 */
body.page-id-1237 .page-bg-img {
  background: url(https://mannira.com/wp-content/uploads/2017/08/IMG_0029.png) no-repeat center center;
}
/* ご注文ページのヘッダー画像 */
body.page-id-1282 .page-bg-img {
  background: url(https://mannira.com/wp-content/uploads/2017/10/IMG_0218.jpg) no-repeat center center;
}
/* お問い合わせページのヘッダー画像 */
body.page-id-18 .page-bg-img {
  background: url(https://mannira.com/wp-content/uploads/2017/09/gaikan01.png) no-repeat center center;
}
/* ドットオーバーレイ */
.dot-overlay-wrap {
  background: url(https://mannira.com/wp-content/uploads/2017/08/dot-ol.png) repeat;
  height: 100%;
}
/* ヘッダー画像がある固定ページ共通設定 */
body.page-id-1237 .page-bg-img, body.page-id-1282 .page-bg-img, body.page-id-18 .page-bg-img {
  background-size: cover;
  display: inline;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 380px;
  width: 100%;
  z-index: -5;
}






/* トップ コンセプトエリア */
body.home #concept-area {
  color: #fff;
  text-align: center;
  background: transparent;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
body.home #concept-area::before {
  background: url(https://mannira.com/sakaeya_wp/wp-content/uploads/2020/09/sakaeya-bg-gaikan_ps.jpg) no-repeat left top;
  background-size: cover;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 108px;
  content: "";
  z-index: -1;
  background-position: 100% center;
  box-sizing: border-box;
  overflow: hidden;
}
body.home #concept-area h2 {
  margin-top: 0;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ipaexm", ipaexm, serif;
  font-size: 48px;
  line-height: 70px;
  margin-bottom: 24px;
}
body.home #concept-area p {
  width: 100%;
  font-size: 1.2rem;
  box-sizing: border-box;
  line-height: 2rem;
  padding: 0 1.2rem;
}
#concept-area .wrap {
  max-width: 730px;
}



/* メインコンテンツエリア */
#main-wrap {
  background: #FFF;
}
#main {
  margin: 0 auto;
  padding: 70px 1.2rem;
}
body.home #main {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2rem 100px;
  max-width: 1600px;
}



/* ウィジェットエリア */
.one-column #secondary {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.one-column #secondary .columnleft, .one-column #secondary .columncenter, .one-column #secondary .columnright {
  flex: 1;
  width: auto;
  float: none;
  margin: 0;
  text-align: center;
}
#secondary section {
  margin: 0;
  padding: 0;
}




/* フッター ------------------------------------------------------------------------------------------------------------------- */
#site-info {
  display: flex;
}
.footer-left-cont, .footer-right-cont {
  flex: 1;
}
/* フッター 左側 */
/* フッターナビ */
footer nav ul ul {
  margin: 0.2rem 0 0 0;
}
footer nav li {
  width: 100%;
  float: none;
  margin: 0;
  padding: 7px 1.2rem;
  position: relative;
}
footer nav li li {
  width: 100%;
  margin: 0;
  padding-right: 0;
  float: none;
}
footer nav ul li::before {
  content: '\f105';
  font-family: FontAwesome;
  position: absolute;
  top: 7px;
  left: 0;
}
footer nav .sub-menu li::before {
  content: '\f105';
  font-family: FontAwesome;
  position: absolute;
  top: 7px;
  left: 0;
}

/* フッター 右側 */
.footer-right-cont p {
  margin-bottom: 10px;
}
.footer-right-cont-item {
  margin-bottom: 30px;
}
.footer-right-cont-item:last-child {
  margin-bottom: 0;
}


/* トップへボタン */
#toTop {
  position: fixed;
  right: 50px;
  bottom: 5%;
}


/* 投稿一覧ページ 詳細ボタン */
.post-footer  {
  padding: 0;
  background: none;
}
.post-footer a {
  width: auto;
  display: inline-block;
  padding: .714286em 1.07143em;
  background: #000;
}

/* 投稿ページ ------------------------------------------------------------------------- */
.entry-meta .date:before, .entry-meta .cat:before {
  content: none;
}





/* ご注文ページ ----------------------------------------------------------------- */

.order-list a {
  color: var(--text-color);
  text-decoration: none;
}
.order-list a:hover {
  color: #6d6d6d;
  text-decoration: none;
}

/* お知らせ */
.vk_posts .postListText_title {
  margin: 0;
}

/* 商品一覧 */
.order-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 4rem 2%;
  margin-bottom: 30px;
}
.order-list .entry {
  flex-basis: 32%;
}
.sp-leftcont {
  float: none;
  width: auto;
  margin-bottom: 10px;
  height: auto;
  overflow: hidden;
}
.sp-leftcont img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.sp-rightcont {
  width: 100%;
  margin: 0;
  float: none;
  padding: 0;
}
.post-content .entry {
  margin-bottom: 30px;
  border: none;
  width: 50%;
  padding: 1%;
  box-sizing: border-box;
}
.sp-rightcont p.title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 0.8em;
  line-height: 1.2em;
}
.sp-rightcont .price-area {
    margin-bottom: 10px;
}
span.price {
  font-size: 2em;
  font-weight: bold;
  color: #ED5B14;
  margin: 0px;
  padding: 0px;
}




/* 商品詳細ページ ---------------------------------------------------------------------------------------------- */
#itempage #img-box {
  width: 42%;
}
#itempage .item-info {
  padding-top: 1.2em;
}
.summary-box.clearfix {
  width: 56%;
  float: right;
}
.detail-box {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 26px;
  margin-top: 26px;
}
h2.item-name {
  font-size: 1.8em;
  margin-bottom: 0.2em;
  line-height: 1em;
}
.entry-content p, .item-description p {
  margin-bottom: 0.5em;
}

/* 商品名 */
#itempage .itemcode {
  margin-bottom: 10px;
}

/* タグ */
.tag-area ul li {
  display: inline-block;
  margin: 0.2em 0.3em;
  padding: 0.4em 1em;
  font-size: 13px;
  font-weight: bold;
  background: #767676;
  color: #FFF;
  border-radius: 0.3rem;
}
/* タグカラー設定 */
.tag-area .tag-cool-reizou {
  background: #0056d7;
}
.tag-area .tag-cool-reitou {
  background: #00b9d7;
}
.tag-area .tag-inc-shipping-cost {
  background: #0dd700;
}



/* アイテムオプション */
.item-info .item-option dt, .item-info .itemGpExp dt {
  margin: 0;
  vertical-align: middle;
}
/* 価格 */
.item-info .field_price {
  font-size: 3em;
  font-weight: bold;
  color: #ED5B14;
  margin-bottom: 0.4em;
  padding: 0px;
  text-align: right;
  width: auto;
  display: block;
  line-height: 1em;
}



/* カートページ */
.customer_form input#search_zipcode {
  margin: 16px 0 8px;
  padding: 5px 20px;
  width: 100%;
  line-height: 1em;
  height: 3em;
}
div.cart_navi li {
  margin-bottom: 0.4em;
}


/* カートのフィールド用のスタイル */
.display-none {
  display: none;
}
span.em {
  color: red;
  font-weight: bold;
}



/* reCaptcha v3 位置変更　左下 */
.grecaptcha-badge {
  left:6px!important;
  width:70px!important;
  z-index: 999;
}
.grecaptcha-badge:hover{left:6px!important;width:256px!important;}


/* clearfix */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clearfix:before {
  content: "";
  display: block;
  clear: both;
}
.clearfix {
  display: block;
}



/* メディアクエリ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */


/* PC */
@media only screen and (min-width: 1200px) {}
/* PC・タブレット */
@media only screen and (max-width: 1199.98px) {}

/* PC・タブレット */
@media only screen and (min-width: 992px) {}
/* タブレット */
@media only screen and (max-width: 991.98px) {
  /* ロゴ縮小 */
  header .logo-wrap {
    height: 80px !important;
  }
  /* メニュー非表示 */
  #header-right {
    display: none;
  }
  /*　スマホ･タブレット　ハンバーガーメニュー　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 21;
    right: 20px;
    top: 40px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #BBBBBB;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }

}

/* タブレット */
@media only screen and (min-width: 768px) {}
/* タブレット・スマホ */
@media only screen and (max-width: 767.98px) {
  body.home #concept-area h2 {
    font-size: 28px;
  }
  body.home #concept-area p {
    font-size: 16px;
  }
  .wp-block-media-text.customize {
    grid-template-columns: 1fr;
  }
  .wp-block-media-text.customize .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
  }
  .wp-block-media-text.customize .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 2;
    margin-top: 32px;
    padding: 0;
  }
  /* 商品一覧 */
  .order-list .entry {
    flex-basis: 48%;
  }
  /* 商品詳細 */
  #itempage #img-box {
    width: 100%;
    float: none;
    margin-bottom: 30px;
  }
  .summary-box.clearfix {
    width: 100%;
    float: none;
  }
}

/* タブレット・スマホ */
@media only screen and (min-width: 576px) {}
/* スマホ */
@media only screen and (max-width: 575.98px) {
  /* 商品一覧 */
  .order-list .entry {
    flex-basis: 100%;
  }
}
