:root {
  --main-color: #1DBABF;
  --accent-color: #1DBABF;
}

/* ----------------------------------------------- トップページ ----------------------------------------------------------------------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-bottom: 0 !important;
}

.job-img p {
  font-family: Antro Vectra;
}

.drawer-content {
  z-index: -1;
}

@media (max-width: 767px) {}

/* ----------------------------------------------- 下層ページ ----------------------------------------------------------------------------------------------------------------------------------------- */
.page-service-banner.auction::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/auction-bg.png) no-repeat center center / cover;
  transition: transform 0.6s ease;
  z-index: -2;
}

.online-item-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1 !important;
}

/* ページネーション全体 */
.online-pagination {
  text-align: center;
  margin: 40px 0;
  font-size: 16px;
}

/* リンク部分 */
.online-pagination a,
.online-pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s ease;
}

/* ホバー */
.online-pagination a:hover {
  color: #fff;
  background-color: #1ebabf;
  border-color: #1ebabf;
}

/* 現在のページ */
.online-pagination .current {
  background-color: #1ebabf;
  border-color: #1ebabf;
  color: #fff;
  cursor: default;
}

/* 「前へ」「次へ」無効状態 */
.online-pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* スマホ用少し小さく */
@media screen and (max-width: 767px) {

  .online-pagination a,
  .online-pagination span {
    margin: 0 4px;
    padding: 7px 10px;
    font-size: 14px;
  }
}


/* ----------------------------------------------- カートページ ----------------------------------------------------------------------------------------------------------------------------------------- */
h1.cart_page_title {
  margin: 20px 0;
  font-size: 20px;
}

/* カートの中 */
.cart_navi ul {
  display: flex;
}

.cart_navi ul li {
  width: 25%;
  padding: 20px;
  background: #f8f8f8;
  text-align: center;
  border-right: 1px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart_navi ul li:before {
  display: inline-block;
  content: "1";
  padding: 6px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  width: 1.5em;
  margin-right: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart_navi ul li:nth-child(2):before {
  content: "2";
}

.cart_navi ul li:nth-child(3):before {
  content: "3";
}

.cart_navi ul li:nth-child(4):before {
  content: "4";
}

.cart_navi ul li.current {
  background: var(--main-color);
  color: #fff;
}

.cart_navi ul li.current:before {
  background: #fff;
  color: var(--main-color);
}

div#primary input[type="submit"] {
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
}

div#primary input[type="button"] {
  padding: 10px 20px;
}

div#primary input[type="submit"]:hover {
  cursor: pointer;
}

input[type="submit"], input#previouscart {
  border: none;
  border-radius: 4px;
}

input.back_cart_button, input.back_to_customer_button, input#back_button {
  background-color: #efefef !important;
  color: #333 !important;
}

.upbutton {
  margin-top: 40px;
  text-align: right;
}

table#cart_table {
  margin-top: 20px;
  width: 100%;
}

table#cart_table thead {
  background: ;
}

#cart th, #cart td {
  border-top-color: #cccccc !important;
  border-left-color: #cccccc !important;
}

table#cart_table th {
  padding: 18px;
  border: 1px solid #ccc;
}

#cart th {
  /* color: #FFFFFF; */
}

th.num, td.num {
  display: none;
}

table#cart_table td {
  padding: 24px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

td.action {
  border-right: none;
}

th.aright {
  text-align: right;
  font-style: initial;
  font-weight: normal;
  border-right: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}

th.stock, th.action {
  border-right: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}

th.thumbnail {
  border-bottom: 1px solid #CCCCCC;
}

.currency_code {
  display: none;
}

.send {
  margin-top: 50px;
  text-align: center;
}

input#previouscart {
  background: ;
  color: #333;
}

input.to_customerinfo_button {
  background: ;
  color: #333;
}

input.quantity {
  text-align: center;
}

table#confirm_table td {
  border: 1px solid #ccc;
  padding: 16px;
}

table#confirm_table th {
  padding: 16px;
  border: 1px solid #ccc;
}

table#confirm_table {
  width: 100%;
  border-collapse: collapse;
}

/* お客様情報 */
#customer-info h5 {
  margin-top: 40px;
}

h5+form {
  margin-top: 20px;
}

div.cart-page input {
  padding: 5px;
}

div.cart-page input:hover, div.member-page input:hover {
  cursor: pointer;
}

table.customer_form {
  width: 100%;
  border-collapse: collapse;
}

table.customer_form th {
  padding: 16px;
  width: 25%;
  border: 1px solid #ccc;
  vertical-align: middle;
}

table.customer_form td {
  padding: 16px;
  border: 1px solid #ccc;
}

table.customer_form tbody tr:last-child td {
  border-bottom: 1px solid #CCCCCC;
}

table.customer_form td input {
  /* margin: 0 10px; */
}

p.password_policy {
  margin-top: 10px;
}

input.back_cart_button, input.back_to_customer_button {
  background: ;
  color: #333;
}

input.to_deliveryinfo_button, input.to_confirm_button {
  background: ;
  color: #333;
}

/* 配送 */
textarea#note {
  width: 100%;
  height: 100px;
}

/* 完了 */
div#cart_completion h3 {
  font-size: 20px;
}

a.back_to_top_button {
  background: var(--main-color);
  color: #fff;
}

@media screen and (max-width:768px) {
  #cart table#cart_table {
    width: 1000px;
  }

  .page-id-59 .send input {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ----------------------------------------------- メンバーページ ----------------------------------------------------------------------------------------------------------------------------------------- */
#memberpages div.loginbox {
  width: 100% !important;
}

.new-entry .nav a {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  border-radius: 4px;
  padding: 10px 20px;
  margin-top: 15px;
}

h1.member_page_title {
  margin: 40px 0;
  font-size: 24px;
  font-weight: 500;
}

form#loginform>*:not(:first-child) {
  gap: 20px;
  margin-top: 20px;
}

.new-entry h2 {
  font-size: 24px;
  font-weight: 500;
}

.new-entry {
  margin-top: 60px;
}

div#primary form {
  margin-top: 40px;
}

.header_explanation ul {
  line-height: 2;
}

/* ----------------------------------------------- 商品一覧ページ ----------------------------------------------------------------------------------------------------------------------------------------- */
a.online-tab.current {
  color: #191919;
}

ul.item-list.category {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

li.category-item {
  width: 30%;
  background: #f8f8f8;
  padding: 10px;
}

img.category-item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* セール中のラベル表示 */
li.category-item.in-sale {
  position: relative;
}

li.category-item.in-sale:after {
  display: inline-block;
  content: "SALE";
  background: var(--main-color);
  color: #fff;
  padding: 0px 5px;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* ----------------------------------------------- 商品詳細ページ ----------------------------------------------------------------------------------------------------------------------------------------- */
span.cart-button input[type="submit"] {
  font-family: FontAwesome;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  /* padding-top: 13px; */
  width: 200px;
  height: 44px;
  background-color: #1DBABF;
  border-radius: 4px;
}

.imb_box_org {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mainimage-box {
  width: 80%;
}

img.main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #F5f5f5;
}

.subimages {
  width: 15%;
  display: flex;
  flex-direction: column;
}

.subimages img {
  border: 1px solid #F5f5f5;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 10px;
}

.subimages img:hover {
  cursor: pointer;
}

.itemsoldout {
  margin-top: 10px;
  font-size: 16px;
}

.single-text-blue {
  display: none;
}

div#itempage form .itemimg, div#itempage form>h3, .exp.clearfix>.field {
  display: none;
}

.single-sub-img {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.single-sub-img img {
  width: 24%;
}

.skuform .skuname, .skuform .field {
  display: none;
}

.skuform .c-box {
  margin-bottom: 43px;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.skuform span.quantity {
  display: flex;
  gap: 10px;
  align-items: center;
}

span.quantity input {
  border: 2px solid #F5FAFA;
  border-radius: 4px;
  width: 48px;
  height: 48px;
  text-align: center;
  /* padding-top: 12px; */
}

@media screen and (max-width: 767px) {
  .single-sub-img img {
    width: 31.5%;
  }
}

/* ----------------------------------------------- お問い合わせページ ----------------------------------------------------------------------------------------------------------------------------------------- */
input.wpcf7-form-control.wpcf7-submit.has-spinner, input.wpcf7-form-control.wpcf7-previous {
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover, input.wpcf7-form-control.wpcf7-previous:hover {
  cursor: pointer;
}

input.wpcf7-form-control.wpcf7-previous {
  border-radius: 4px;
  border: 0;
}

/* --------------------------------------------------- タブレット --------------------------------------------------- ------------------------------------------------------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:1024px) {}


/* --------------------------------------------------- スマホ --------------------------------------------------- ------------------------------------------------------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:639px) {

  /* ----------------------------------------------- 共通 ----------------------------------------------------------------------------------------------------------------------------------------- */
  /* 改行 */
  .display-pc {
    display: none;
  }

  .display-sp {
    display: block;
  }

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


  /* -----------------------------------------------フッター----------------------------------------------------------------------------------------------------------------------------------------- */

  /* -----------------------------------------------トップページ ----------------------------------------------------------------------------------------------------------------------------------------- */

  /* ----------------------------------------------私たちについてページ ----------------------------------------------------------------------------------------------------------------------------------------- */

  /* -----------------------------------------------商品詳細ページ ----------------------------------------------------------------------------------------------------------------------------------------- */

  /* -----------------------------------------------商品一覧ページ ----------------------------------------------------------------------------------------------------------------------------------------- */

  /* -----------------------------------------------カートページ ----------------------------------------------------------------------------------------------------------------------------------------- */
  div#cart {
    overflow: scroll;
  }

  .cart_navi ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart_navi ul li {
    width: 50%;
    padding: 10px 0;
    border: none;
  }

  #cart .upbutton {
    padding-right: 0px;
    text-align: left !important;
  }

  #cart .upbutton input {
    display: block;
    margin-top: 10px;
  }

  table.customer_form tr {
    display: flex;
    flex-direction: column;
  }

  td.thumbnail a {}

  #content #wc_cart img, #content #wc_confirm img {
    width: 150px;
    height: 150px;
    object-fit: cover;
  }

  /* お客様情報 */
  #customer-info th, #delivery-info th, #newmember th {
    width: 100% !important;
  }

  table.customer_form th {
    display: block;
    width: 100%;
    max-width: 100% !IMPORTANT;
    box-sizing: border-box;
  }

  input#cardno, input#seccd {
    display: block;

  }

}