/*---------------------------------
全共通CSS
---------------------------------*/

.float-animation {
  display: block !important;
}

/*---------------------------------
カラー項目
---------------------------------*/

/* 共通 > カートページの色変更 */
div.cart_navi li.current,
div.cart_navi li.current:before,
div.cart_navi li.current:after {
  background: var(--main-color);
}

div.cart_navi li,
div.cart_navi li:before,
div.cart_navi li:after {
  background: var(--sub-color-l);
}

/* 共通 > 特定のボタンでFontAwesome適用 */
.wp-embed,
.incart-btn a span,
.item-info .skubutton {
  font-family: FontAwesome, sans-serif;
}

/* 共通 > hiddenの付与 */
.hidden {
  display: none;
  transform: rotate(0deg);
}

.hidden i {
  color: var(--main-color) !important;
}

/* 共通 > おすすめアイテム */
.reccomend {
  background: var(--main-color);
}

.price-delivery i {
  color: var(--main-color);
}

/* 共通 > CTA > PDFファイル */
.file-pdf,
.file-pdf:before {
  color: var(--main-color);
}

/* 共通 > ブログ > 見出しの書式設定 */
footer h3 {
  color: #fff;
}

/* 共通 > スクロールバーのカスタマイズ */
body::-webkit-scrollbar-thumb:hover {
  background: var(--main-color);
}

/* 共通 > 実績記事を出力 > すべて見るボタン */
.post-more span {
  background: var(--main-color);
}

.post-more span:hover {
  background: var(--sub-color);
}

/* 共通 > サイドバー > 拡張機能 > 閲覧履歴 */
.hidden #toggleHis i {
  color: var(--main-color) !important;
}

/* 共通 > ブロックエディタ > 数量入力ボタン */
.wp-block-column-is-layout-flow button i {
  color: var(--main-color);
}

.wp-block-column-is-layout-flow h5.wp-block-heading a:hover {
  background: var(--sub-color-l);
}

/* 共通 > チェックボックスを非表示に */
.ocbutton {
  display: none !imortant;
}

@media screen and (max-width:599px) {

  /* ブロックエディタ用の追加カートボタンを、モバイル時に2カラムに */
  .direct-cart .wp-block-column {
    position: relative;
    vertical-align: top;
  }

  .direct-cart .wp-block-column .button-container {
    display: block;
    right: 8px;
    position: absolute;
  }

  .direct-cart .wp-block-column .button-container button i {
    font-size: 32px;
  }

  .direct-cart .wp-block-column .skubutton {
    width: 100%;
    padding: 1.4em 1em !important;
  }

  .wp-block-column-is-layout-flow button {
    padding: 2px;
  }

  .selects {
    width: 100%;
    display: block;
  }

  .selects select {
    width: 100%;
    display: block;
  }
}

.widget-area-fix section {
  background: #fff;
  border-radius: 5px;
}

.result-child .wp-block-embed {
  width: 96.5%;
  margin: auto;
}

table.item-sku {
  width: 100%;
  margin-bottom: 1em;
}

.ss_price_taxincluded {
  font-size: 1.82857em;
}

.tax_inc_label {
  font-size: 1em !important;
}

.attachment-335x335 {
  margin-bottom: 1em;
}

.page-template-full-width .advgb-tab-body {
  padding: 10px !important;
}

#type-post p a {
  font-weight: bold;
}

#type-post p a,
.info td a {
  color: #0099ff !important;
}

.recruit-detail li::marker {
  color: transparent;
}

.to_reganddeliveryinfo_button {
  background: #efefef !important;
  color: #000 !important;
}

.post-title a {
  font-family: FontAwesome, sans-serif;
}

.morefilter {
  margin-bottom: 0.8em;
}

.price-delivery i {
  font-size: 161%;
  vertical-align: middle;
}

/* 共通 > 実績記事を出力 > すべて見るボタン */
.post-more a {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(https://www.kyoei-bisou.co.jp/wp-content/uploads/2023/01/post-more.jpg);
  width: 100%;
  text-align: center;
  display: block;
  border-radius: 6px;
  background-size: 100% 100%;
  padding-top: calc(8.5 / 16 * 100%);
  position: relative;
}

.post-more a:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
    url(https://www.kyoei-bisou.co.jp/wp-content/uploads/2023/01/post-more.jpg);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
  background-size: 100% 100%;
  transition: 0.2s ease-in-out;
}

.post-more span {
  font-size: 88%;
  display: inline-block;
  padding: 0.2em 0.6em;
  color: #fff;
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.3);
  display: inline-block;
  border-radius: 50px;
  position: absolute;
  top: 40%;
  left: 16%;
  right: 16%;
}

.post-more span:hover {
  color: #fff;
  transition: 0.2s ease-in-out;
}

/* 共通 > 商品一覧 > 折りたたみテキストボックスの詳しく見るボタン */
.wc-advance-itemdetail summary {
  margin: 1em auto 1em auto;
  display: block;
  background: #1d2975;
  color: #fff;
}

.wc-advance-itemdetail[open]>summary,
.wc-advance-itemdetail>summary:hover {
  background: #0b0d46;
  color: #fff;
}

@keyframes expand {
  0% {
    height: 0;
  }

  100% {
    height: auto;
    animation-name: PullDown;
    animation-duration: 0.2s;
    transition: 0.2s ease-in-out;
  }
}

.wp-block-button__width-25 a {
  min-width: 160px;
}

/* 共通 > ブロックエディタ > 数量入力ボタン */
.wp-block-column-is-layout-flow form {
  margin-bottom: 2em !important;
  overflow: hidden;
}

.wp-block-column-is-layout-flow .skuquantity {
  text-align: center;
  border-radius: 4px;
  height: 33px;
}

.wp-block-column-is-layout-flow button {
  border: none;
  background: none;
  cursor: pointer;
}

.wp-block-column-is-layout-flow button i {
  background: #fff;
  border-radius: 100px;
}

.wp-block-column-is-layout-flow button i:hover {
  color: #0b0d46;
}

.item-info .wp-block-column-is-layout-flow {
  display: inline-block;
  margin-bottom: 5px;
}

.wp-block-column-is-layout-flow .priceright {
  text-align: right;
  margin: 1em 0;
}

.wp-block-column-is-layout-flow h5.wp-block-heading a {
  font-weight: normal;
  position: relative;
  display: block;
  padding: 0.4em;
  border-radius: 4px;
  transition: 0.2s ease-in-out;
  font-size: 15px;
}

.wp-block-column-is-layout-flow h5.wp-block-heading a:hover {
  color: #000;
}

.wp-block-column-is-layout-flow h5.wp-block-heading a:after {
  position: absolute;
  content: "\f105";
  font-size: 1.4em;
  right: 0.5em;
  font-family: FontAwesome;
  transition: 0.2s ease-in-out;
}

.wp-block-column-is-layout-flow h5.wp-block-heading a:hover:after {
  right: 0.3em;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 0.4em;
}

.wp-block-column h4 {
  font-size: 88%;
  letter-spacing: -0.03em;
}

.wc-advance {
  overflow: hidden;
  margin-top: 0.4em;
}

.wc-advance details {
  width: 100%;
}

.wc-advance summary {
  cursor: pointer;
  user-select: none;
  display: flex;
  position: relative;
  padding: 0.4em;
  font-size: 15px;
  border-radius: 0.4em;
  transition: 0.2s ease-in-out;
}

.wc-advance[open] summary,
.wc-advance summary:hover {
  background: #f2f3ff;
}

.wc-advance[open] summary {
  margin-bottom: 1em;
}

.wc-advance[open] div {
  animation-name: PullDown;
  animation-duration: 0.2s;
  transition: 0.2s ease-in-out;
}

.wc-advance>summary::before {
  content: '\f107';
  right: 0.4em;
  position: absolute;
  font-size: 1.4em;
}

.wc-advance[open]>summary::before {
  content: '\f107';
  transform: rotate(180deg);
  /* 180度回転 */
  transition: 0.2s ease-in-out;
}

.wc-advance details[open] {
  transition: 0.2s ease-in-out;
  padding: 0;
}

@media screen and (max-width: 599px) {
  .wp-block-column-is-layout-flow .skuquantity {
    width: 60px !important;
    float: left;
  }

  .wp-block-column-is-layout-flow form .skubutton {
    float: right;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 28px;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
  }
}

@media screen and (min-width: 600px) and (max-width: 779px) {
  .wp-block-column-is-layout-flow form {
    width: 50%;
    margin: auto;
    overflow: hidden;
  }

  .wp-block-column-is-layout-flow .skuquantity {
    margin-right: 1em;
    float: left;
    width: 35px !important
  }

  .wp-block-column-is-layout-flow form .skubutton {
    padding: 0.6em 0.8em;
    float: right;
  }

  .wp-block-column-is-layout-flow button {
    margin: 0 0 0 0;
    padding: 2px;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 20px;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
    text-align: center !important;
  }
}

@media screen and (min-width: 780px) and (max-width: 959px) {
  .wp-block-column-is-layout-flow form {
    width: 100%;
    margin: auto;
    overflow: hidden;
  }

  .wp-block-column-is-layout-flow .skuquantity {
    margin-right: 0.2em;
    float: left;
    width: 22px !important;
    padding: 0.3em 0;
  }

  .wp-block-column-is-layout-flow form .skubutton {
    padding: 0.4em 0.4em;
    float: right;
    font-size: 82%;
    letter-spacing: -0.03em;
  }

  .wp-block-column-is-layout-flow button {
    margin: 0 0 0 0;
    padding: 2px;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 20px;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
    text-align: center;
  }
}

@media screen and (min-width: 960px) and (max-width: 1280px) {
  .wp-block-column-is-layout-flow .skuquantity {
    margin-right: 0em;
    width: 25px !important;
    float: left;
    padding: 0.3em 0;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow button {
    margin: 0 0 0 0;
    padding: 2px;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 20px;
    margin: 0;
  }

  .wp-block-column-is-layout-flow form .skubutton {
    padding: 0.6em 0.6em;
    float: right;
    font-size: 79%;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
  }
}

@media screen and (min-width: 1281px) and (max-width: 1549px) {
  .wp-block-column-is-layout-flow .skuquantity {
    margin-right: 0em;
    width: 25px !important;
    float: left;
    padding: 0.3em 0;
  }

  .wp-block-column-is-layout-flow form .skubutton {
    padding: 0.6em 0.4em;
    float: right;
    letter-spacing: -0.04em;
    font-size: 79%;
    float: right;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow button {
    margin: 8px 0 0 0;
    padding: 2px;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 20px;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
  }
}

@media screen and (min-width:1550px) {
  .wp-block-column-is-layout-flow .skuquantity {
    margin-right: 0.3em;
    width: 40px;
    float: left;
    padding-left: 0;
    padding-right: 0;
  }

  .wp-block-column-is-layout-flow form .skubutton {
    padding: 0.8em 1em;
    float: right;
    letter-spacing: -0.04em;
    font-size: 79%;
    float: right;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow button {
    margin: 8px 0 0 0;
    padding: 2px;
  }

  .wp-block-column-is-layout-flow button i {
    font-size: 20px;
  }

  .wp-block-column-is-layout-flow .button-container {
    float: left;
  }

  .wp-block-column-is-layout-flow .priceright {
    font-size: 15px;
  }
}



/* 共通 > おすすめアイテム */
.reccomend {
  font-size: 88%;
  border-radius: 4px;
  color: #fff;
  margin-left: 0.2rem;
  padding: 0 0.4em;
  display: inline-block;
}

.reccomend i {
  color: #fff;
  margin-right: 0.2rem;
}

/* 共通 > 全般 > おすすめタグがついた商品にマークする為の親要素 */
.itemimg a,
.item-fixity li a {
  position: relative;
}

/* 共通 > 全般 > おすすめタグがついた商品にマーク */
.recommended-mark {
  line-height: 1.6rem;
  background-image: linear-gradient(-20deg, #b721ff 0%, #21d4fd 100%);
  color: #fff;
  display: inline-block;
  padding: 0rem 0.5rem;
  border-radius: 100px;
  font-size: 0.8rem;
  position: absolute;
  right: 0;
  bottom: 0;
}

.recommended-mark i {
  margin-right: 0.3rem;
}

/* 共通 > 全般 > 拡張機能 > アドバンスタブの色設定 */
.advgb-tab {
  border: 1px solid #f2f3ff !important;
  transition: 0.2s ease-in-out;
  border-radius: 90px !important;
  font-size: 92%;
}

.advgb-tab-active {
  border: 1px solid var(--main-color) !important;
}

.advgb-tab:hover {
  border: 1px solid var(--main-color) !important;
  color: #ffffff !important;
}

.advgb-tabs-panel li {
  list-style: none !important;
}

.advgb-tabs-panel li.advgb-tab>a {
  padding: 2px 10px !important;
}

.advgb-tab-body {
  animation-name: RightToLeft;
  animation-duration: 0.2s;
  padding: 0 !important;
}

/* 共通 > コメントエリアの枠線無効化 */
.comments-area {
  border: none;
}

/* 共通 > 実績記事を出力 */
.recruit-genba {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1%;
}

.recruit-genba li {
  display: flex-box;
  list-style: none !important;
  margin: 1% 1% 2% 1% !important;
}

.recruit-genba li img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 共通 > カスタムフィールドのラジオボタンを1行で改行 */
.customkey_shipping label,
.customkey_day-1-time label,
.customkey_day-4-time label {
  display: block;
  line-height: 2em;
}

/* 共通 > リンクのアウトラインを消す */
a {
  outline: none;
}

a:focus,
*:focus {
  outline: none;
}

/* 共通 > アドレス要素を、ノーマル表記に */
address {
  font-style: normal;
}

/* 共通 > 検索ボックスをONにしたときに周囲のコンテンツと重複しないようにする */
.search-box.On form {
  z-index: 9999;
  top: 40px;
}

/* 共通 > セットプラン > 一覧 */
#list-setplan ul {
  flex-wrap: wrap;
}

#list-setplan li img {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 120px rgb(0 0 0 / 20%);
}

.button {
  display: block;
  position: relative;
  width: 50%;
  margin-left: auto;
  animation-name: RightToLeft;
  animation-duration: 0.4s;
}

.button span:hover {
  cursor: pointer;
}

.icon {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-52%);
  width: 11px;
  height: 22px;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}

.icon::before,
.icon::after {
  content: "　";
  position: absolute;
  left: 50%;
  font-size: 100%;
  transition: 0.2s all;
  content: "\f0b0";
  font-family: FontAwesome;
}

.open,
.close {
  margin-left: 27px;
  transition: 0.2s ease-in-out;
}

.open {
  display: inline-block;
}

.close {
  display: none;
}

.contents {
  display: none;
}

.contents li a:before {
  content: "\f114";
  font-family: FontAwesome;
  margin-right: 0.2em;
}

.contents li a {
  display: block;
  padding: 0.22em 0.6em;
  transition: 0.1s ease-in-out;
  color: #888;
}

.contents li a:hover {
  color: #000;
  background: #eee;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* 共通 > カテゴリ > プルダウンボックス > レンタル一覧 > 量が多いのでスクロール対応 */
.page-id-4502 .contents ul {
  overflow-y: scroll;
  z-index: 9999;
}

.rec-text a {
  color: #0099ff;
}

.rec-all a,
.rec-all a:visited {
  color: #0099ff;
}

.rec-all a:hover {
  color: #0033aa;
}

.rec-all a:before {
  content: "\f058";
}

/* 共通 > スクロールアップ */
.translateUp {
  opacity: 0;
  transform: translateY(55px);
  transition: 1.5s;
}

#primary p {
  line-height: 1.7em;
}

/* 共通 > ウィジェットエリア2を非表示に */
#secondary {
  border: none;
}

/* 共通 > ブログ記事一覧出力 */
.category-news .entry {
  display: flex-box;
}

.detail-box {
  animation-name: RightToLeft;
  animation-duration: 0.25s;
}

.type-grid {
  animation-name: RightToLeft;
  animation-duration: 0.25s;
}

.fitvidsignore {
  animation-name: RightToLeft;
  animation-duration: 0.8s;
}

/* 共通 > 入力フォームの注釈 */
.customkey_company_name th:after {
  content: "";
  font-size: 12px;
  display: block;
}

.customkey_company_name .iopt_text {
  width: 100%;
}

.item-description {
  margin: 2em 0 3em 0;
}

.item-description p {
  line-height: 2em;
}

.feature-head h3:before,
#feature-strong h3:before {
  display: none;
  height: 1.4em !important;
}

.entry-content h2 {
  border-bottom: none;
  margin-bottom: 0;
}

.entry-content h3 {
  border-left: none;
  padding-left: 0;
}

.entry-content h2::before,
.entry-content h3::before,
.entry-content h4::before,
.entry-content h5::before {
  content: "";
  height: 1.4em;
  left: 0;
  margin-right: 0.6em;
  position: absolute;
}

.entry-content h4 {
  border-bottom: 1px solid #ccc;
  background: #fff !important;
}

/* 共通 > スクロールバーのカスタマイズ */
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: #fff;
  transition: 0.2s ease-in-out;
}

body::-webkit-scrollbar:hover {
  background: #eee;
  box-shadow: inset 0 0 3px #999;
}

body::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background: #999;
  border-radius: 5px;
}

/* 共通 > 埋め込みYoutube動画のアスペクト比率を調節 */
.is-type-video .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.item-sku {
  border-top: none !important;
}

/* 共通 > カートに入れるボタン&SKUボタンの外観変更 */
.incart-btn a,
.skubutton {
  border-radius: 4px;
  font-family: FontAwesome, sans-serif !important;
  font-display: swap;
}

.incart-btn span {
  font-family: FontAwesome, sans-serif !important;
}

.skubutton {
  animation-name: BottomUp;
  animation-duration: 0.25s;
  border-radius: 5px !important;
  font-family: FontAwesome, sans-serif !important;
}

.skubutton i {
  background: red;
}

.incart-btn a:hover,
.skubutton:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 5px rgba(255, 150, 60, 0.6), 0 4px 15px rgba(255, 150, 60, 0.6);
}

/* 共通 > カートに入れるボタンのカウンター */
.incart-btn .total-quant {
  line-height: 1.9em;
}

header .incart-btn .total-quant {
  line-height: 1.9em;
  padding-left: 0.15em;
}

/* 共通 > 一覧のリストの行間調節 */
.btn-simple-next,
.itemname,
.cf-cartbot li {
  line-height: 1.4rem;
}

/* 共通 > 検索ボックスの外観変更 */
#ajaxsearchlite1 {
  border-radius: 3px !important;
}

/* 共通 > HTMLの基本的な書式設定 */
html {
  scroll-behavior: smooth;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* 共通 > 全般 > ギャラリーの下余白 */
.wp-block-gallery {
  margin-bottom: 1em;
}

/* 共通 > 全般 > カラムの余白設定 */
.wp-block-column {
  padding: 10px !important;
}

/* 共通 > 全般 > 特定記事のみ下線を消去 */
.category-construction-ex #cf-result article {
  border-bottom: none;
}

/* 共通 > サイドバー > 拡張機能 > 閲覧履歴 */
.lastViewedList:before {
  content: "\f017  閲覧履歴";
  display: block;
  border-bottom: 1px solid #ccc;
  line-height: 2em;
  padding: 0.4em;
}

.lastViewedList li {
  padding: 0.4em;
  font-size: 92%;
  line-height: 1.4em;
}

.lastViewedList li img {
  border-radius: 10px;
}

.lastViewedContent {
  padding: 0.5em 0 0 0;
  line-height: 1.2em;
  font-size: 94%;
}

/* 共通 > サイドバー > 拡張機能 > .lastViewedListおよび.hiddenに対するスタイル */
.lastViewedList {
  animation-name: PullDown;
  animation-duration: 0.2s;
  transition: 0.2s ease-in-out;
  border-radius: 7px;
}

#block-10,
#block-11 {
  position: relative;
  animation-name: PullDown;
  animation-duration: 0.2s;
  transition: 0.2s ease-in-out;
}

/* 共通 > サイドバー > 拡張機能 > トグルボタンの回転 */
#toggleHis {
  font-size: 19px;
  transform-origin: center;
  transition: transform 0.3s ease;
  transform: rotate(225deg);
  background: none;
  border: none;
  position: absolute;
  right: 10px;
  top: 8px;
  color: #555;
  cursor: pointer;
}

.hidden #toggleHis {
  transform: rotate(0deg);
  background: none;
}

.hidden #toggleHis i {
  color:  !important;
}

.header-third::-webkit-scrollbar {
  width: 1px;
  scrollbar-width: thin;
  width: 1px;
  height: 2px;
}

.header-third::-webkit-scrollbar-track {
  background-color: #fff;
}

.header-third::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

.header-third ul {
  margin: 0 -40px;
  z-index: 0;
  position: relative;
}

.header-third li img {
  display: block;
  margin: auto;
  mix-blend-mode: multiply;
}

.header-third li {
  display: flex-box;
  list-style: none !important;
}

.header-third li a {
  display: block;
  font-weight: bold;
  color: var(--main-color);
  line-height: 1.4em;
  padding: 2px 4px;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
}

.header-third li a:hover {
  text-decoration: none;
  background: var(--sub-color-l);
  box-shadow: inset 0 2px 8px rgba(50, 50, 255, 0.05), inset 0 -5px 15px rgba(255, 255, 255, 0.4), 0 2px 0px rgba(50, 50, 255, 0.2);
}

.header-third ul {
  display: flex;
  animation-name: RightToLeft;
  animation-duration: 0.2s;
  text-align: center;
}

@media screen and (max-width:599px) {

  /* スマホ > カテゴリ > プルダウンボックス */
  .switch_content ul {
    width: 100%;
  }

  .header-third {
    margin-bottom: 1em;
  }

  .header-third {
    width: 100%;
    overflow-x: auto;
  }

  .header-third ul {
    margin: 10px 0 14px 0;
  }

  .header-third li {
    flex: 0 0 calc(24.22% - 10px);
    margin: 0.2% 0.2%;
    font-size: 62%;
    letter-spacing: -0.08em;
  }

  .header-third li img {
    width: 100%;
  }
}

@media screen and (min-width: 600px) and (max-width: 1559px) {
  .header-third {
    display: block;
    overflow-x: auto;
    margin-bottom: 1em;
  }

  .header-third ul {
    margin: 0 0 15px 0;
    justify-content: center;
  }

  .header-third li {
    margin: 0.4% 0.6%;
  }

  .header-third li a {
    font-size: 11px;
    letter-spacing: -0.04rem;
    position: relative;
    z-index: 9000;
  }

  .header-third li img {
    width: 100%;
  }
}

@media screen and (min-width:1560px) {
  .header-third {
    display: block;
    overflow-x: auto;
    margin-bottom: 1em;
  }

  .header-third ul {
    margin: 0 0 15px 0;
    justify-content: center;
  }

  .header-third li a {
    font-size: 11px;
    letter-spacing: -0.04rem;
    position: relative;
    z-index: 9000;
  }

  .header-third li img {
    width: 100%;
  }
}

@media screen and (min-width:960px) {
  /* ラップトップ > サイドバー用 */
  #secondary section,
  .two-column #secondary {
    width: 280px;
  }
}

/* 以下、通常ディスプレイ用 */
@media screen and (min-width: 960px) and (max-width: 1366px) {

  .post-template-default #main.two-column #content,
  .page-template-default .two-column #content {
    width: 67.5% !important;
  }
}

/* 以下、高解像度ディスプレイ用メイン領域のとサイドバーの幅微調整 */
@media screen and (min-width: 1367px) and (max-width: 1499px) {

  .post-template-default #main.two-column #content,
  .page-template-default .two-column #content {
    width: 72.5% !important;
  }
}

@media screen and (min-width: 1500px) and (max-width: 1799px) {

  .post-template-default #main.two-column #content,
  .page-template-default .two-column #content {
    width: 75.5% !important;
  }
}

@media (min-width: 1800px) {

  .post-template-default #main.two-column #content,
  .page-template-default .two-column #content {
    width: 77.5% !important;
  }
}

@media screen and (min-width: 1000px) {
  .category-ev-festa .feature-head section,
  .category-ev-local-festa .feature-head section,
  .category-ev-ceremony .feature-head section,
  .category-ev-ceremony .feature-head section,
  .category-ev-exhibition .feature-head section,
  .category-ev-seminar .feature-head section,
  .category-ev-other .feature-head section,
  .category-ev-sports .feature-head section,
  .category-ev-food .feature-head section {
    margin-top: 20% !important;
    top: 50% !important;
  }

  .category-ev-local-festa .feature-head p,
  .category-ev-food .feature-head p,
  .category-ev-ceremony .feature-head p,
  .category-ev-sports .feature-head p,
  .category-ev-other .feature-head p,
  .category-ev-exhibition .feature-head p,
  .category-ev-seminar .feature-head p,
  .category-ev-festa .feature-head p {
    margin-bottom: 0em;
  }
}
/*---------------------------------
商品一覧出力&ページネーション用CSS
---------------------------------*/

/* 共通 > 商品ページから引っ張ってきたグリッドレイアウト */
.item-fixity {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0 0 2rem 0 !important;
}

.item-fixity li {
  list-style: none !important;
  margin: 1%;
}

.item-fixity li img {
  width: 100%;
  margin-bottom: 0.6em;
  height: auto;
  border-radius: 6px;
}

.item-fixity article {
  display: block !important;
}

/* 共通 > 商品一覧の出力埋め込み > すべて見るボタン */
.item-fixty-all a {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic/images/item-fixty-all.jpg);
  width: 100%;
  text-align: center;
  display: block;
  border-radius: 6px;
  background-size: 100% 100%;
  padding-bottom: 42%;
}

.item-fixty-all a:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
    url(https://www.kyoei-bisou.co.jp/wp-content/themes/welcart_basic/images/item-fixty-all.jpg);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
  background-size: 100% 100%;
  transition: 0.2s ease-in-out;
}

.item-fixty-all span {
  color: #fff;
  background: #1d2975;
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.3);
  display: inline-block;
  border-radius: 50px;
  padding: 0.2em 0.8em;
}

.item-fixty-all span:hover {
  color: #fff;
  background: #0b0d46;
  transition: 0.2s ease-in-out;
}

/* 共通（PC含む） */
.sub-child-term {
  margin-top: 1.4rem !important;
  display: block;
}

/* 共通 > カート内容のポップアップをスクロール */
#cart {
  overflow-y: auto;
}

/* 共通 > グリッド状レイアウト */
div.type-grid {
  padding: 2% !important;
}

.sub-child-term ul {
  display: flex;
  flex-wrap: wrap;
  /* PCは折り返し */
  gap: 0.5em;
  margin-top: 0.4rem !important;
}

.sub-child-term ul li {
  display: block;
  margin-top: 0.5em;
}

.sub-child-term ul li a {
  padding: 0.4rem 0.6rem;
  background: #eee;
  font-size: 92%;
  border-radius: 100px;
}

.sub-child-term ul li a:hover {
  background: #ddd;
}


/* スマホだけ横スクロール */
@media screen and (max-width: 768px) {
  .sub-child-term ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }
  .sub-child-term ul li {
    flex: 0 0 auto;
  }
}

/* 共通 > グリッド状レイアウト */
.cat-il.type-grid .itemimg img {
  border-radius: 5px;
}

/* 共通 > 関連タグ・カテゴリボタン */
#cf-similar small span a,
#cf-similar-post small span a,
#cf-similar-tag small span a {
  background: #fff;
  color: #555;
  border-radius: 100px;
  transition: 0.2s ease-in-out;
  border: 1px solid #555;
  padding: 3px 7px;
}

#cf-similar small span a:hover,
#cf-similar-post small span a:hover,
#cf-similar-tag small span a:hover {
  background: #1d2975;
  color: #fff;
  text-decoration: none;
  border: 1px solid #1d2975;
}

/* 共通 > 子要素から親要素へ(類似パンくず) */
.childtotop a {
  display: none;
}

.childtotop a:last-child {
  display: inline;
}

/* 共通 > タクソノミーに子要素を出力 */
.has_child {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

.has_child li {
  border: 1px solid #ddd;
  border-radius: 2px;
  color: #555;
  display: inline-block;
  padding: 3px 8px;
  text-decoration: none;
  margin: 2px;
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  transition: all 0.7s;
}

.no_child {
  display: none;
}

@media screen and (max-width:599px) {

  /* スマホ > グリッド状レイアウト */
  ul.recruit-genba,
  div.type-grid {
    margin: 0 2% !important;
  }

  /* スマホ > 商品一覧の出力埋め込み > アイテム一覧を並べるCSS */
  .item-fixity li {
    margin: 1% 1% 4% 1%;
    width: 48%;
    font-size: 88%;
  }

  /* スマホ > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all span {
    margin: 40% 0 0em 0;
    font-size: 92%;
  }

  .users-list ul {
    display: flex;
    padding: 1%;
    margin: 0;
    flex-wrap: wrap;
  }

  .users-list ul li {
    text-align: center;
    width: 30%;
    padding: 1%;
    list-style: none !important;
  }

  /* スマホ > カート内容のポップアップをスクロール */
  #cart {
    max-height: 320px;
  }
}

@media screen and (min-width: 600px) and (max-width: 959px) {

  ul.recruit-genba,
  div.type-grid {
    margin: 2% !important;
  }

  /* タブレット > 商品詳細ページ > アイテム一覧を並べるCSS */
  .item-fixity li {
    margin: 1%;
    width: 18%;
  }

  /* タブレット > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all span {
    margin-top: 45%;
    font-size: 70%;
  }
}

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

  /* ラップトップ > 商品詳細ページ > アイテム一覧を並べるCSS */
  .item-fixity li {
    margin: 1%;
    width: 18%;
  }

  /* ラップトップ > 商品一覧の出力埋め込み > すべて見るボタン */
  .item-fixty-all span {
    margin-top: 42%;
    font-size: 80%;
  }

  /* ラップトップ > カート内容のポップアップをスクロール */
  #cart {
    max-height: 400px;
  }

  /* ラップトップ > 全幅強制対応 */
  #main.two-column #content {
    width: 100% !important;
  }

  /* ラップトップ > グリッド状レイアウト */
  div.type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
  }

  div.type-grid article {
    float: none !important;
    flex: 0 0 calc((100% - 14%) / 5) !important;
    max-width: calc((100% - 14%) / 5) !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}

@media screen and (min-width:1380px) {

  /* デスクトップ > グリッド状レイアウト */
  div.type-grid article {
    flex: 0 0 calc((100% - 15.5%) / 6) !important;
    max-width: calc((100% - 15.5%) / 6) !important;
  }
}

/* 共通 > ページネーションのカスタマイズ */
.pagination_wrapper {
    text-align: center;
}

.pagination_wrapper .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination_wrapper .page-numbers li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.pagination_wrapper .page-numbers li a,
.pagination_wrapper .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    min-width: 40px;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;
    background: transparent;
    color: #111;

    font-size: 16px;
    line-height: 1;
    text-decoration: none;

    box-sizing: border-box;
    transition: 0.2s ease-in-out;
}

/* 現在ページ */
.pagination_wrapper .page-numbers li span.current {
    background: #1d2975;
    color: #fff;
}

/* ホバー */
.pagination_wrapper .page-numbers li a:hover {
    background: #1d2975;
    color: #fff;
    text-decoration: none;
}

/* dots */
.pagination_wrapper .page-numbers li span.dots {
    background: transparent;
    color: #111;
}

/* 前後ボタン */
.pagination_wrapper .page-numbers li a.prev,
.pagination_wrapper .page-numbers li a.next {
    background: transparent;
    color: #111;
    border: none;
}

/* 前後ボタン hover */
.pagination_wrapper .page-numbers li a.prev:hover,
.pagination_wrapper .page-numbers li a.next:hover {
    background: #1d2975;
    color: #fff;
}

/* 共通 > ページおくり機能の下余白調節 */
.pagination_wrapper{margin-bottom:2em;}

.other-tag{background:#eee;border:1px solid #ccc;padding:0.4em 0.6em;border-radius:4px;line-height:1.7em;margin-bottom:0.4em;}
.other-tag h2{border-bottom:1px solid #ccc;padding:0.4em 0;margin-bottom:0.4em;}

.type-grid img{border-radius:5px;}

@media screen and (max-width:599px) {
div.type-grid{margin:3%;}
}
}

@media screen and (min-width: 600px) and (max-width: 959px) { 
div.type-grid{margin:3%;}
}

@media screen and (min-width:960px) {
/* ラップトップ > カテゴリ > 類似タグ出力 */

div.type-grid{display:flex;flex-wrap:wrap;gap:3%;}
div.type-grid article{float:none !important;flex: 0 0 calc((100% - 14%) / 5) !important;max-width: calc((100% - 14%) / 5) !important;
margin:0 !important;box-sizing:border-box;}

/* ラップトップ > 2カラムレイアウトをフル表示に */
#main.two-column #content {width: 100% !important;}
}

@media screen and (min-width:1380px) {
div.type-grid article{float:none !important;flex: 0 0 calc((100% - 15.5%) / 6) !important;max-width: calc((100% - 15.5%) / 6) !important;}
}
.cat-il.type-grid .itemimg img {border-radius:5px;}

/* 共用 > 検索結果 > ○○をお探しですか？ */
#search-if {
    padding: 0;
    border-radius: 4px;
    text-align: center;
    animation-name: BottomUp;
    animation-duration: 1.6s;
	overflow:hidden;
	display:block;
	bottom:0;
	background:#ebebff;
}
#search-if small {
    color: #999;
}
#search-if ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#search-if li {
    line-height: 200%;
    margin: 0.5%;
}
#search-if li a {
    display: block;
    padding: 0.2em 0;
}
#search-if select {
    border: none;
    border-radius: 4px;
    position: relative;
    border: #9ea7e1 1px solid;
}
#search-if select:hover {
    border: #1d2975 1px solid;
}
#search-if select option {
    padding: 1%;
    line-height: 2em;
    height: 30px;
    position: relative;
    background: #1d2975;
    color: #fff;
}

@media screen and (max-width: 599px) {
	#search-if {
        padding: 1em 0 0.4em 0;
    }
	
    /* スマホ > 検索結果 > ○○をお探しですか？ */
    #search-if small {
        display: block;
    }
    #search-if h3 {
        font-size: 105%;
        text-align: center;
    }
    #search-if ul {
        margin: 1% 0;
    }
    #search-if li {
        padding: 1%;
        width: 48%;
        font-size: 88%;
    }
    #search-if li select {
        width: 100%;
    }
    #search-if li:last-child {
        text-align: center;
    }

    /* スマホ > カート内容のポップアップをスクロール */
    #cart {
        max-height: 320px;
        overflow-y: auto;
    }
}

@media screen and (min-width: 600px) and (max-width: 959px) { 

.page-header{display:block;overflow:hidden;}

    /* タブレット > 検索結果 > ○○をお探しですか？ */
    #search-if {
        padding: 1em 0 0.4em 0 !important;
    }
    #search-if h3 {
        font-size: 141%;
    }
    #search-if ul {
        margin: 1% 0;
    }

    /* タブレット > カート内容のポップアップをスクロール */
    #cart {
        max-height: 400px;
        overflow-y: auto;
    }
	
	#page-header{display:block;}
}

@media screen and (min-width: 960px) {
    /* ラップトップ > 検索結果 > ○○をお探しですか？ */
	
	#search-if {
		text-align:center;
    padding: 0;
    border-radius: 4px;
    text-align: center;
    animation-name: BottomUp;
    animation-duration: 1.6s;
	overflow:hidden;
	position:fixed;
	display:block;
	bottom:10px;
	z-index:9999;
	width:80%;
	justify-content:center;
}

    #search-if {
        padding: 1em 0 0.4em 0;display:flex;
    }
    #search-if small {
        font-size: 100%;
    }
		#search-if h3 {
			font-size: 141%;display:flex;padding:1.3% 0.4%;
		}
    #search-if ul {
        margin: 1% 0;display:flex;    justify-content: flex-start;gap: 12px;
    }
	
	  #search-if li {
    display: block;
    margin: 0;
    white-space: nowrap;
  }


    /* ラップトップ > カート内容のポップアップをスクロール */
    #cart {
        max-height: 400px;
        overflow-y: auto;
    }
	
	#main.two-column #content {
        width: 100% !important;
    }
}