@charset "UTF-8";

:root {
  /* WooCommerce */
  /*--woo-price-color: #b3af54;*/
  --woo-price-color: #e41818;
  --woo-button-color: #7f54b3;
  --woo-button-hover-color: #7249a4;
  --woo-button-text-color: #ffffff;
}

/* WordPress基本 */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  margin: 0;
  flex: 1 1 100%;
}

.gallery-item img {
  height: auto;
}

/* カラム数別 */
.gallery-columns-1 .gallery-item {
  flex-basis: 100%;
}

.gallery-columns-2 .gallery-item {
  flex-basis: calc(50% - 10px);
}

.gallery-columns-3 .gallery-item {
  flex-basis: calc(33.333% - 10px);
}

.gallery-columns-4 .gallery-item {
  flex-basis: calc(25% - 10px);
}

.gallery-columns-5 .gallery-item {
  flex-basis: calc(20% - 10px);
}

.gallery-columns-6 .gallery-item {
  flex-basis: calc(16.666% - 10px);
}

.gallery-columns-7 .gallery-item {
  flex-basis: calc(14.285% - 10px);
}

.gallery-columns-8 .gallery-item {
  flex-basis: calc(12.5% - 10px);
}

.gallery-columns-9 .gallery-item {
  flex-basis: calc(11.111% - 10px);
}

/* レスポンシブ：スマホでは1カラムに */
@media (max-width: 767px) {
  .gallery-item {
    flex-basis: 100% !important;
  }
}


/* WooCommerce */

.woocommerce-product-gallery .flex-control-nav {
  margin-top: 15px;
}

.woocommerce div.product div.images .flex-control-nav {
  margin-top: 10px;
}

.woocommerce span.onsale {
  background: var(--woo-price-color);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: var(--woo-price-color);
  font-size: 1.6em;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
  background: var(--woo-button-color);
  color: var(--woo-button-text-color);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:disabled[disabled]:hover {
  background: var(--woo-button-color);
  color: var(--woo-button-text-color);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
  background: var(--woo-button-hover-color);
  color: var(--woo-button-text-color);
}

.woocommerce div.product form.cart .variations select {
  padding: 6px;
  width: 100%;
  display: block;
  margin: 0;
}

.woocommerce div.product form.cart .variations tr td,
.woocommerce div.product form.cart .variations tr th {
  display: block;
}

.woocommerce div.product form.cart .variations tr th label {
  margin: 0;
}

.woocommerce div.product form.cart .variations tr:not(:first-child) th {
  padding-top: 10px;
}

.woocommerce div.product form.cart .button {
  /*padding: 12px;*/
}

.woocommerce-variation-add-to-cart.variations_button {
  display: flex;
  align-items: stretch;
  min-height: 48px;
}

.woocommerce div.product form.cart div.quantity {
  display: flex;
  align-items: stretch;
}

/* Single Product */
.woocommerce .related.products {
  clear: both;
}

/* Checkout */
.woocommerce .col-1,
.woocommerce .col-2,
 .woocommerce .col-3 {
  max-width: none;
}

/* Woo Forms */
.form-row label {
  display: block;
}
.password-input {
  width: 100%;
  display: block;
  position: relative;
}
.woocommerce form .form-row {
  gap: 4px;
}

.woocommerce-input-wrapper {
  flex: 1;
}

/* With Elementor */
#primary.content-area {
  margin: 3rem auto;
}
@media (min-width: 576px) {
  #primary.content-area {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  #primary.content-area {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  #primary.content-area {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  #primary.content-area {
    max-width: 1140px;
  }
}

/* Product Loop */
.woocommerce-loop-product__link {
  position: relative;
}
.optib-shop-product-out-of-stock {
  position: absolute;
  top: 0;
  left: 0;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: .3em .5em;
  border: solid 1px #000;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Checkout: Payments */
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 1.2em;
  line-height: 1 !important;
}

#payment .wc_payment_methods li:not(:last-of-type) {
  border-bottom: 1px solid rgba(104, 87, 125, .14);
}

.woocommerce-checkout #payment div.payment_box {
  margin-bottom: 0 !important;
}

/* グループ商品 */
.woocommerce-js div.product form.cart .group_table .button {
  padding: .8em;
  font-weight: 400;
  font-size: .9rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  table.woocommerce-grouped-product-list,
  .woocommerce-grouped-product-list tbody,
  .woocommerce-grouped-product-list tr,
  .woocommerce-grouped-product-list th,
  .woocommerce-grouped-product-list td {
    display: block;

  }
}

/* マイアカウント */
.woocommerce-MyAccount-navigation ul {
  border: solid 0.0525rem #ddd;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link::before {
  content: none;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link > a {
  display: block;
  padding: 1rem;
}
.woocommerce-MyAccount-navigation-link:not(:first-child) {
  border-top: solid 0.0525rem #ddd;
}

.woocommerce-MyAccount-content .u-columns .u-column1,
.woocommerce-MyAccount-content .u-columns .u-column2 {
  padding: 1em;
  background: #f7f7f7;
}

.woocommerce-Addresses a {
  text-decoration: underline;
}

@media (hover: hover) {
  .woocommerce-Addresses a:hover {
    text-decoration: none;
  }
}

/* WooCommerce form custom */
:root {
  --wc-form-border-color: #ccc;
}
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
  width: 100%;
}

.woocommerce form .form-row::after, .woocommerce form .form-row::before, .woocommerce-page form .form-row::after, .woocommerce-page form .form-row::before {
  content: none;
}
#order_review_heading {
  padding-top: .5rem;
}

/* WooCommerce form yomigana */
label[for*="yomigana"] {
  display: block;
  width: 100%;
}

/* WooCommerce Product custom */
.site-main {
  padding: 0 1rem;
}

.site-main .product span.onsale {
  left: 1rem;
}

@media only screen and (min-width: 767px) {
  .site-main > .woocommerce-breadcrumb {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .summary.entry-summary .woocommerce-breadcrumb {
    display: none;
  }
}

/* WooCommerce My Account Menu */
.woocommerce-MyAccount-navigation ul {
  padding: 0;
}

/* WooCommerce Notice */
.woocommerce .woocommerce-notices-wrapper a {
  text-decoration: underline;
}
@media (hover: hover) {
  .woocommerce .woocommerce-notices-wrapper a:hover {
    text-decoration: none;
  }
}

/* WooCommerce Shop Headline */
.woocommerce-products-header {
  margin-bottom: 1em;
}

/* Checkout Error Message */
.woocommerce-checkout .checkout .checkout-inline-error-message {
  width: 100%;
}
