/* header */
.ec-header .cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ec-header .cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e60033;
  color: #fff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1;
  height: 15px;
}
.shop-search-form {
  display: flex;
  gap: 6px;
  flex-direction: row;
  justify-content: center;
}
.shop-search-input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 6px 8px;
  font-size: 14px;
}
.menu__box {
  gap: 20px;
  align-items: center;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  margin-top: 0;
}
form button,
form button {
  padding: 8px 10px;
}
.menu-item-search {
}
.menu-item-search form {
  margin: 10px 0;
  background: transparent;
  border: none;
}
.menu-item-search form .shop-search-input {
}
.menu-item-search form .shop-search-button {
}
.woocommerce .logotype img {
  height: 45px;
  max-width: 100%;
}
.menu-item-myaccount .myaccount-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-item-myaccount .myaccount-icon {
  line-height: 1;
}
.wc-tax-label {
  font-size: 0.85em;
  margin-left: -5px;
  color: #666;
}
/* footer */
.age-notice {
  padding-bottom: 12px;
}
.age-limit {
  font-size: 13px;
}
.site-footer .copyright {
  margin-top: 24px;
  opacity: 0.7;
  width: 100%;
}
.site-footer .copyright p {
  text-align: center;
  font-size: 12px;
}

/* ECTOP */
/* 年齢確認（強化版） */
.age-gate {
  position: fixed;
  inset: 0;
  background: #a37467f7;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2147483647;
  padding: 18px;
}

.age-gate.is-show {
  display: flex;
}

.age-gate-box {
  background: #fff;
  padding: 28px 22px;
  border-radius: 14px;
  width: min(92%, 440px);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.age-gate .ttl {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.age-gate .txt {
  margin: 0 0 18px;
  line-height: 1.65;
}

.age-gate .note {
  margin: 12px 0 0;
  font-size: 12px;
  opacity: 0.75;
}

.age-gate .btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate button {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  min-width: 150px;
}

#age-yes {
  background: #3a2a1a;
  color: #fff;
}

#age-no {
  background: #e6e6e6;
  color: #333;
}

/* 注意書き */
.notice {
  margin: 16px 0 24px;
  position: relative;
  width: 90%;
  margin: 0 auto;
  top: 90px;
}

.notice .draft {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left-width: 4px;
  border-left-color: #6b4b2a; /* 濃い茶系 */
  border-radius: 10px;

  background: #fbfaf7; /* 紙っぽい白 */
  color: #3a2a1a; /* 濃い茶 */
  line-height: 1.7;
  font-size: 14px;

  /* うっすら紙質感 */
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.02) 1px,
    transparent 1px,
    transparent 6px
  );
}

.notice .draft span {
  display: inline-block;
  margin: 0 8px 0 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #3a2a1a; /* 濃い茶 */
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* 少しだけ読みやすく */
@media (min-width: 768px) {
  .notice .draft {
    padding: 16px 18px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .notice {
    top: 75px;
  }
}
/* =======================================
   Check Steps Navigation
   ======================================= */

.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.checkout-steps .step-item {
  position: relative;
  text-align: center;
  font-size: 1.5rem;
  color: #999;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.checkout-steps .step-item .step-label {
  display: inline-block;
  padding: 6px 4px;
}

/* 現在ステップ */
.checkout-steps .step-item.is-current {
  color: #000;
  font-weight: 600;
}

.checkout-steps .step-item.is-current .step-label {
  border-bottom: 2px solid #000;
}

/* 矢印（Cart → Checkout → Complete） */
.checkout-steps .step-item::after {
  content: ">";
  font-size: 1.2rem;
  color: #ccc;
  margin-left: 20px;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
}

.checkout-steps .step-item:last-child::after {
  content: none;
}

/* top-shop */
.shop-top .item_area {
}
.shop-top .item_area .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
.shop-top .item_area .message_area {
  margin: 120px 0;
}
.shop-top .item_area .message_area .copy {
  text-align: center;
  border: none;
  margin-bottom: 80px;
}
.shop-top .item_area .message_area .ex {
  text-align: center;
  line-height: 2.7;
}
.shop-top .item_area .item_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
  justify-content: space-around;
  padding-top: 75px;
}
.shop-top .item_area .item_list li {
  width: 20%;
  box-sizing: border-box;
  position: relative;
  transition: 0.3s ease;
}
.shop-top .item_area .item_list li.even {
  margin-bottom: 50px;
}
.shop-top .item_area .item_list li.odd {
  margin-top: 50px;
}
.shop-top .item_area .item_list a img {
  object-fit: cover;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.shop-top .item_area .item_list a:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
.shop-top .item_area .img01 {
  display: block;
  height: auto;
  display: block;
  clip-path: inset(0% 0% 0% 0% round 50% / 35%);
  object-fit: cover;
}
.shop-top .item_area .txt-box {
  position: absolute;
  bottom: 5%;
  left: 0%;
  color: var(--color02);
  border-radius: 4px;
}
.shop-top .item_area .txt-box .itemname-en {
  font-size: 20px;
  margin: 0;
  font-weight: 100;
  letter-spacing: 3px;
}
.shop-top .item_area .txt-box .itemname-jp {
  font-size: 20px;
  margin-left: 2rem;
  font-weight: 300;
  font-family: var(--font_sub02);
}
.more-link-area {
  text-align: center;
  margin-top: 40px;
}

.more-link {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  transition: 0.3s ease;
}

.more-link:hover {
  background: #333;
  color: #fff;
}

/* =======================================
   商品詳細ページ 基本レイアウト
======================================= */

.item-single_area {
  padding: 40px 0;
}

/* タイトル */
.item-single_area .ttl_area {
  margin-bottom: 30px;
}
.item-single_area .ttl_area .jp-ttl,
.item-single_area .ttl_area .en-ttl {
  font-size: 2rem;
  font-weight: 600;
}

/* =======================================
   area01：左 スライダー / 右 テキスト
======================================= */

.item-single_area .area01 {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 0;
}

/* 左：スライダー枠 / 右：テキスト枠 */
.item-single_area .area01 .slide-box {
  width: 30%;
}
.item-single_area .area01 .draft {
  width: 70%;
  padding: 20px 0;
}

.item-single_area .area01 .draft p {
  line-height: 1.8;
}

/* =======================================
   スライダー：メイン（上）＋サムネ（下）
======================================= */

/* メイン画像（楕円クリップ） */
.item-single .product-slider img {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  clip-path: inset(0% 0% 0% 0% round 50% / 35%);
  transition: 0.4s ease;
}

/* activeだけ少し小さく */
.item-single .product-slider .slick-current img {
  transform: scale(0.88); /* 0.82〜0.92で調整 */
}

/* サムネ行 */
.item-single .product-slider-nav {
  margin-top: 18px;
}

/* サムネ */
.item-single .product-slider-nav .product-thumb {
  padding: 6px;
  cursor: pointer;
}
.item-single .product-slider-nav .product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px; /* 丸にしたければ 50% */
  opacity: 0.65;
  transition: 0.25s ease;
}

/* 選択中サムネ */
.item-single .product-slider-nav .slick-current img {
  opacity: 1;
  outline: 2px solid #e89595;
  outline-offset: 2px;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* サムネの余白調整 */
.item-single .product-slider-nav .slick-slide {
  margin: 0 6px;
}
.item-single .product-slider-nav .slick-list {
  margin: 0 -6px;
}

/* =======================================
   area02：本文
======================================= */

.item-single_area .area02 {
  margin-bottom: 40px;
}
/* =========================================
single product tabs
========================================= */
.product-tabs {
  width: 100%;
}

.product-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid #d9d9d9;
  align-items: baseline;
  gap: 4px;
}

.product-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: #efefef;
  border-bottom: 2px solid transparent;
  padding: 14px 24px;
  margin: 0;
  font-family: var(--font_base);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color02);
  cursor: pointer;
  transition: 0.3s;
}

.product-tab-btn:hover {
  opacity: 0.7;
  background-color: var(--color03);
}
.product-tab-btn:focus {
  background-color: var(--color03);
}

.product-tab-btn.active {
  border-bottom: 2px solid var(--color04);
  font-weight: 700;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

/* =========================================
detail tab
========================================= */
#tab-detail {
  color: #232220;
  line-height: 1.9;
}

#tab-detail p {
  margin: 0 0 1.2em;
}

#tab-detail img {
  max-width: 100%;
  height: auto;
  display: block;
}

#tab-detail h1,
#tab-detail h2,
#tab-detail h3,
#tab-detail h4,
#tab-detail h5,
#tab-detail h6 {
  line-height: 1.5;
  margin: 0 0 16px;
}

#tab-detail ul,
#tab-detail ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
}

#tab-detail li {
  margin-bottom: 0.5em;
}

/* =========================================
spec tab
========================================= */
#tab-spec .area03 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

#tab-spec .box01,
#tab-spec .box02 {
  flex: 1 1 0;
  min-width: 280px;
}

#tab-spec .ttl {
}

#tab-spec .spec-area {
}

#tab-spec .spec-list {
}

#tab-spec .spec-list li {
}

#tab-spec .spec-list .name,
#tab-spec .spec-list .value {
}

#tab-spec .spec-list .name {
}

#tab-spec .spec-list .value {
}

/* =========================================
review tab base
========================================= */
#tab-review {
  color: #232220;
}

#tab-review .woocommerce-Reviews {
  width: 100%;
}

#tab-review #comments {
  margin: 0;
}

#tab-review .woocommerce-Reviews-title,
#tab-review .comment-reply-title {
  font-family: var(--font_base);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color01);
  margin: 0 0 20px;
}

#tab-review .woocommerce-noreviews {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #232220;
}

/* =========================================
review list
========================================= */
#tab-review .commentlist {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

#tab-review .commentlist li {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid #d9d9d9;
}

#tab-review .comment_container {
  display: block;
}

#tab-review .avatar {
  display: none;
}

#tab-review .comment-text {
  margin: 0;
  padding: 0;
  border: none;
}

#tab-review .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
}

#tab-review .meta .woocommerce-review__author {
  color: #232220;
  font-weight: 700;
  font-style: normal;
}

#tab-review .meta .woocommerce-review__published-date {
  color: #777;
  font-size: 13px;
}

#tab-review .description p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.9;
  color: #232220;
}

/* =========================================
star rating display
========================================= */
#tab-review .star-rating {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 2px;
  color: #d0d0d0;
  margin-right: 6px;
}

#tab-review .star-rating::before {
  content: "★★★★★";
}

#tab-review .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #f5a623;
}

#tab-review .star-rating span::before {
  content: "★★★★★";
}

/* =========================================
review form
========================================= */
#review_form_wrapper {
  margin-top: 20px;
}

#review_form {
  margin-top: 16px;
}

#review_form .comment-form {
  display: block;
}

#review_form p {
  margin: 0 0 18px;
}

#review_form label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #232220;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea,
#review_form select {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #232220;
  font-family: var(--font_base);
  box-sizing: border-box;
}

#review_form textarea {
  min-height: 180px;
  resize: vertical;
}

#review_form input:focus,
#review_form textarea:focus,
#review_form select:focus {
  outline: none;
  border-color: var(--color01);
}

#review_form .required {
  color: #c96421;
  font-weight: 700;
}

#review_form .comment-notes,
#review_form .logged-in-as,
#review_form .must-log-in {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

#review_form .form-submit {
  margin-top: 24px;
}

/* =========================================
review submit button
========================================= */
#review_form input[type="submit"],
#review_form button[type="submit"],
#review_form .submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border: 1px solid var(--color01);
  background: var(--color01);
  color: #fff;
  font-family: var(--font_base);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

#review_form input[type="submit"]:hover,
#review_form button[type="submit"]:hover,
#review_form .submit:hover {
  background: #fff;
  color: var(--color01);
}

/* =========================================
review rating input
========================================= */
#review_form .comment-form-rating {
  margin-bottom: 20px;
}

#review_form .comment-form-rating label {
  display: block;
}

#review_form select#rating {
  max-width: 220px;
}

/* WooCommerce の p.stars UI を使う場合にも対応 */
#review_form p.stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin: 8px 0 0;
}

#review_form p.stars a {
  position: relative;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
}

#review_form p.stars a::before {
  content: "☆";
  position: absolute;
  inset: 0;
  text-indent: 0;
  font-size: 24px;
  line-height: 1;
  color: #d0d0d0;
}

#review_form p.stars:hover a::before,
#review_form p.stars.selected a.active::before,
#review_form p.stars.selected a.active ~ a::before,
#review_form p.stars a:hover::before,
#review_form p.stars a:hover ~ a::before {
  content: "★";
  color: #f5a623;
}

/* =========================================
links in review
========================================= */
#tab-review a {
  color: var(--color01);
  text-decoration: underline;
  transition: 0.3s;
}

#tab-review a:hover {
  opacity: 0.7;
}

/* =========================================
responsive
========================================= */
@media screen and (max-width: 830px) {
  .product-tab-nav {
    margin-bottom: 24px;
  }

  .product-tab-btn {
    flex: 1 1 33.333%;
    padding: 12px 10px;
    font-size: 14px;
    text-align: center;
  }

  #tab-spec .area03 {
    gap: 20px;
  }

  #tab-spec .box01,
  #tab-spec .box02 {
    min-width: 100%;
  }

  #tab-spec .ttl {
    font-size: 18px;
    margin-bottom: 14px;
  }

  #tab-spec .spec-list li {
    display: block;
  }

  #tab-spec .spec-list .name,
  #tab-spec .spec-list .value {
    width: 100%;
    display: block;
    padding: 12px 14px;
  }

  #tab-spec .spec-list .name {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  #tab-review .woocommerce-Reviews-title,
  #tab-review .comment-reply-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  #review_form input[type="submit"],
  #review_form button[type="submit"],
  #review_form .submit {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 520px) {
  .product-tab-btn {
    font-size: 13px;
    padding: 12px 8px;
  }

  #tab-detail,
  #tab-spec,
  #tab-review {
    font-size: 14px;
  }

  #tab-review .meta {
    display: block;
  }

  #tab-review .meta .star-rating {
    display: block;
    margin: 0 0 8px;
  }
}
/* =======================================
   SP（768px以下）
======================================= */

@media screen and (max-width: 768px) {
  .item-single_area .area01 {
    flex-direction: column;
    gap: 24px;
  }

  .item-single_area .area01 .slide-box,
  .item-single_area .area01 .draft {
    width: 100%;
  }

  .item-single_area .area01 .draft {
    padding: 0;
  }
}

/* 旧価格（打ち消し線部分） */
.item-price del,
.item-price del {
  color: #999;
  opacity: 0.6;
  margin-right: 0.5em;
  font-size: 0.9em;
  text-decoration: line-through;
}
/* セール価格 */
.item-price ins,
.item-price ins {
  color: #e6006e;
  font-weight: bold;
  text-decoration: none;
}

/* キャンペーン価格 */
.tks-sale-label {
  display: block;
  font-size: 0.9em;
  margin-bottom: 0.2em;
  font-weight: 600;
  color: #e6005c;
  letter-spacing: 1px;
}
.woocommerce span.onsale {
  display: none !important;
}
.site-footer .down .link a {
  font-weight: var(--fw-regular);
}

/* tokusho henkin */
.term-page .child_top {
  background: url(../img/webp/term_back.webp) center / cover no-repeat;
}
.refund-page .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
/* =======================================
   価格・カートエリア
   ======================================= */
.cart-page .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
.wc-price-area {
  background: #faf7f7;
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
}

.wc-price-area .wc-price {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* 数量 + ボタン */
.wc-add-to-cart {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

/* WooCommerce 標準 quantity の軽い調整 */
.wc-add-to-cart .quantity {
  display: inline-flex;
  align-items: center;
}

.wc-add-to-cart .quantity input.qty {
  width: 70px;
  text-align: center;
}

/* 「お買い物カゴに追加」ボタンの横に並べる用のベース */
.wc-add-to-cart .single_add_to_cart_button {
  /* 既存WooCommerceボタンに任せてOK。必要なら margin 調整 */
}

/* カートの中身へ */
.wc-go-to-cart {
  margin-top: 10px;
}
.wc-go-to-cart a {
  font-size: 0.9rem;
  background-color: var(--wc-blue);
  color: #fff;
  width: 250px;
  height: 35.75px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.wc-go-to-cart a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.wc-add-to-cart form {
  margin: 0;
  background-color: transparent !important;
  border: none !important;
}
.wc-add-to-cart form label {
  text-align: center;
  margin: 0;
}

.product-en-ttl {
  font-size: 0.85em;
  margin-top: 4px;
  opacity: 0.8;
}
.woocommerce ul.products li.product .button {
  display: inline !important;
  padding: 3px;
  font-size: 14px;
}
/* カートに追加ボタン */
.single_add_to_cart_button {
  font-size: 0.9rem;
  background-color: var(--color01);
  color: #fff;
  width: 250px;
  height: 35.75px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;

  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}

/* ホバー */
.single_add_to_cart_button:hover:not(.disabled) {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}
/* ===========================
  item-all: 一覧スウォッチ
=========================== */
.item-all .item-swatches {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.item-all .item-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0;
  cursor: pointer;
  position: relative;
}

/* 薄い色でも見えるように内側の影 */
.item-all .item-swatch {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.item-all .item-swatch.is-active {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}
/* ===========================
  item-all: 画像切替アニメ
=========================== */
/* 画像切替（opacityのみ） */
.item-all img.img01 {
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.item-all img.img01.is-switching {
  opacity: 0;
}

/* =======================================
   数量 + / − ボタン付き量調整UI
   ======================================= */

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 数量入力 */
.quantity .qty {
  width: 60px;
  text-align: center;
  padding: 4px 6px;
}

/* + / - ボタン */
.tks-qty-btn {
  border: 1px solid #ccc;
  background: #f5f5f5;
  padding: 4px 10px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  font-size: 1rem;
  color: #575757;
}

.tks-qty-btn:active {
  transform: translateY(1px);
}

/* ネイティブのスピンボタンは隠しておく（ダブり防止） */
.quantity .qty[type="number"]::-webkit-outer-spin-button,
.quantity .qty[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity .qty[type="number"] {
  -moz-appearance: textfield;
}
.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)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt {
  background-color: var(--color02) !important;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
/* =======================================
   関連商品セクション
   ======================================= */

.related_area {
  padding: 40px 0;
}

.related_area .sub-ttl {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* WooCommerce の .related .products をそのまま使う前提 */
.related_area .area {
  /* 必要に応じて余白だけ */
}

/* もし .related .products が横幅いっぱいになり過ぎるなら */
.related_area .products {
  /* max-width: 1000px; margin: 0 auto; なども可 */
}
/* =======================================
   規約・ポリシー系ページ
   ======================================= */

.term-page {
  /* 必要なら背景色や余白 */
}

.term_area {
  padding: 40px 0;
}

.term_area .ttl {
  font-weight: 600;
  margin-bottom: 20px;
}

.term_area .area {
  margin: 0 auto;
}

.term_area .text {
  line-height: 1.8;
  margin-bottom: 12px;
}

/* スマホ時の余白縮小など */
@media screen and (max-width: 768px) {
  .term_area {
    padding: 30px 0;
  }
}
/* =======================================
   カート / チェックアウトページ
   ======================================= */

.cart-page,
.checkout-page {
  /* 全体の余白調整など */
}
.checkout-page .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
.cart-page .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
.woocommerce .quantity .qty {
  border: 1px solid #000;
}
.cart-page .section,
.checkout-page .section {
  padding: 30px 0;
}

/* WooCommerce 本体フォームが container で潰れないように */
.cart_area .area,
.checkout_area .area {
  max-width: 1000px;
  margin: 0 auto;
}
/* =======================================
   ECトップ バナースライダー
   ======================================= */

.shop_banner_area {
  padding: 40px 0;
}

.shop-banner-slider {
  position: relative;
  padding-top: 65px;
}
/* 16:9 比率を維持するためのラッパー */
.shop-banner-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  height: auto;
}
/* 画像が16:9で準備されている前提ならこれだけでもOK */
.shop-banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 1%;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 3px 3px 8px #9d9d9d;
}
.shop_banner_area .container {
  width: 100%;
  margin: 0 auto;
}
/* slick のドット位置など、気になれば調整 */
.shop-banner-slider .slick-dots {
  bottom: 10px;
}
.item_area .mina {
  z-index: 2;
  position: relative;
  top: 45px;
  display: inline-block;
}
.shop-banner-slider .slick-prev,
.shop-banner-slider .slick-next {
  display: none;
}
.shop-banner-slider .slick-dots {
  bottom: 0px;
  display: flex !important;
  justify-content: center;
  align-items: baseline;
  gap: 2rem;
  margin-top: 30px;
  position: relative;
  z-index: 999;
}
/* ドット全体の大きさと色 */
.shop-banner-slider .slick-dots li button {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #818181;
  border: none;
  padding: 0;
  font-size: 0;
}
/* アクティブ状態のドット */
.shop-banner-slider .slick-dots li.slick-active button {
  background-color: #e89595;
  width: 2rem;
  height: 2rem;
}
.shop-banner-slider .slick-dots li.slick-active button:before {
  opacity: 0;
  color: var(--color02);
}
/* スマホ時の余白 */
@media screen and (max-width: 768px) {
  .shop_banner_area {
    padding: 30px 0;
  }
}
/* =========================
  Product Category List (page-store)
  prefix: pcat-
========================= */

.pcat-area {
  padding: 85px 0;
}
.pcat-area .sub-ttl {
  z-index: 2;
  position: relative;
  top: -180px;
}
.pcat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

@media (max-width: 980px) {
  .pcat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .pcat-list {
    grid-template-columns: 1fr;
  }
}

.pcat-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color01);
  box-shadow: var(--b_shadow);
  transform: translateZ(0);
}

.pcat-link {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
}

.pcat-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0));
}

.pcat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.pcat-body {
  padding: 18px 18px 20px;
}

.pcat-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font_sub02);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pcat-desc {
  margin-top: 10px;
  color: var(--color02);
  line-height: 1.7;
  font-size: 14px;
}

/* hover */
.pcat-item:hover .pcat-img {
  transform: scale(1.08);
}
.pcat-item:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}
.pcat-item:hover .pcat-badge {
  filter: brightness(1.02);
}

/* 画像が無い場合もそれっぽく */
.pcat-item .pcat-media:empty {
  aspect-ratio: auto;
  height: 0;
  padding-top: 0;
}

/* =========================
  Product Category List
  prefix: pcat-
========================= */

.pcat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}
@media (max-width: 980px) {
  .pcat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .pcat-list {
    grid-template-columns: 1fr;
  }
}

.pcat-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(65, 65, 65, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  background: var(--color01);
}

/* 濃い左ラインはそのまま */
.pcat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--pcat-bg, #c96421);
}

/* ★ 薄いピンク（カテゴリ色）をカード全体に広げる */
.pcat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pcat-bg, #c96421);
  opacity: 0.08; /* ここで薄さ調整 */
  pointer-events: none;
}

/* hoverでほんの少し濃く */
.pcat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}
.pcat-item:hover::after {
  opacity: 0.12;
}

/* リンク・中央配置 */
.pcat-link {
  position: relative;
  z-index: 1; /* afterの上に内容を出す */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 16px 18px 22px;
  text-decoration: none;
  color: inherit;
}

/* 画像は非表示（今のUIに不要なら） */
.pcat-media {
  display: none;
}

.pcat-body {
  text-align: center;
}
.pcat-head {
  display: flex;
  justify-content: center;
}

/* ★ 文字背景は完全に無し */
.pcat-badge {
  background: none !important;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font_sub02);
  font-weight: var(--fw-medium);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--color05);
}

/* hover時にカテゴリ色へ寄せる（主張しすぎない程度） */
.pcat-item:hover .pcat-badge {
  color: var(--pcat-bg, #c96421);
}

/* 説明 */
.pcat-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color02);
}

/* 矢印 */
.pcat-link::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(65, 65, 65, 0.35);
  border-right: 2px solid rgba(65, 65, 65, 0.35);
  transform: rotate(45deg);
}
.pcat-item:hover .pcat-link::after {
  border-color: rgba(65, 65, 65, 0.55);
}

/* =========================
  Single Product Category (single-product)
  prefix: spcat-
========================= */

.spcat-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.spcat-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(65, 65, 65, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;

  /* ベース */
  background: var(--color01);
  color: var(--color05);

  transition: 0.25s ease;
}

/* 左アクセント（濃い） */
.spcat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--spcat-bg, #c96421);
  opacity: 0.95;
}

/* ★薄い面（カテゴリ色を全体に薄く） */
.spcat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--spcat-bg, #c96421);
  opacity: 0.1; /* 0.06〜0.14くらいで調整 */
  pointer-events: none;
}

.spcat-name {
  position: relative;
  z-index: 1;
  font-family: var(--font_sub02);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--color05);
  line-height: 1;
}

/* hoverで少しだけ色を寄せる（やりすぎない） */
.spcat-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.1);
  border-color: rgba(65, 65, 65, 0.16);
}
.spcat-item:hover::after {
  opacity: 0.14;
}
.spcat-item:hover .spcat-name {
  color: var(--spcat-bg, #c96421);
}

/* =========================
  Product Category Archive
  prefix: pcat- (archive only)
========================= */

.pcat-archive .pcat-hero {
  padding: 60px 0 10px;
}
.pcat-archive .child-ttl {
}
.pcat-archive .item_list li {
  width: 22%;
}
.pcat-archive .item_area {
  padding-top: 65px;
}
.pcat-archive .pcat-hero__box {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(65, 65, 65, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  background: var(--color01);
  padding: 18px 18px 16px 18px;
}

/* 左の濃いライン */
.pcat-archive .pcat-hero__box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: var(--pcat-bg, #c96421);
  opacity: 0.95;
}

/* 全体に薄い面 */
.pcat-archive .pcat-hero__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pcat-bg, #c96421);
  opacity: 0.08; /* 薄さはここで調整 */
  pointer-events: none;
}

/* 中身はafterの上へ */
.pcat-archive .pcat-hero__box > * {
  position: relative;
  z-index: 1;
}

.pcat-archive .pcat-hero__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pcat-archive .pcat-hero__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color02);
  font-family: var(--font_sub02);
}

.pcat-archive .pcat-hero__name {
  font-size: 20px;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
  color: var(--color05);
  font-family: var(--font_sub02);
}

.pcat-archive .pcat-hero__desc {
  margin-top: 10px;
  color: var(--color02);
  line-height: 1.8;
  font-size: 14px;
}

.pcat-archive .pcat-hero__nav {
  margin-top: 12px;
}

.pcat-archive .pcat-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color05);
  font-size: 14px;
  font-family: var(--font_sub02);
  border-bottom: 1px solid rgba(65, 65, 65, 0.25);
  padding-bottom: 2px;
  transition: 0.2s ease;
}

.pcat-archive .pcat-hero__back:hover {
  color: var(--pcat-bg, #c96421);
  border-bottom-color: var(--pcat-bg, #c96421);
}
/* ======================================
  バリエーション（色）
====================================== */
.item-single_area .variations {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.item-single_area .variations tr {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ラベル */
.item-single_area .variations .label {
  width: 80px;
  font-weight: 600;
  font-size: 14px;
}

/* セレクト */
.item-single_area .variations .value {
  flex: 1;
}

.item-single_area .variations select {
  width: 100%;
  max-width: 260px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  appearance: none;

  /* 矢印 */
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='%23666' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

/* hover / focus */
.item-single_area .variations select:hover {
  border-color: #999;
}

.item-single_area .variations select:focus {
  outline: none;
  border-color: #333;
}

/* クリア */
.item-single_area .reset_variations {
  margin-left: 12px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
}

.item-single_area .reset_variations:hover {
  text-decoration: underline;
}

/* SP */
@media (max-width: 768px) {
  .item-single_area .variations tr {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .item-single_area .variations .label {
    width: auto;
  }

  .item-single_area .variations select {
    max-width: 100%;
  }
}

/* =========================
  Product Search Result
  prefix: shop-search-
========================= */

.shop-search-result .shop-search-head__box {
  border-radius: var(--radius);
  border: 1px solid rgba(65, 65, 65, 0.1);
  box-shadow: var(--b_shadow);
  background: var(--color01);
  padding: 16px 18px;
}

.shop-search-result .shop-search-head__label {
  font-size: 12px;
  color: var(--color02);
  letter-spacing: 0.08em;
  margin: 0;
}

.shop-search-result .shop-search-head__keyword {
  margin: 6px 0 0;
  font-family: var(--font_sub02);
  font-weight: var(--fw-medium);
  color: var(--color05);
}

.shop-search-result .shop-search-head__nav {
  margin-top: 10px;
}

.shop-search-result .shop-search-head__back {
  display: inline-flex;
  text-decoration: none;
  color: var(--color05);
  border-bottom: 1px solid rgba(65, 65, 65, 0.25);
  padding-bottom: 2px;
}
.shop-search-result .shop-search-head__back:hover {
  color: var(--color03);
  border-bottom-color: var(--color03);
}
.shop-search-result .item_list li {
  width: 22%;
}
.shop-search-result .item_list {
  margin-top: 65px;
}
.shop-search-result .area {
  margin-bottom: 45px;
}

/* =========================
   page-shop  (WooCommerce)
   ========================= */
.shop-filter {
  padding: 45px 0 65px;
}
.shop-filter-form {
  margin: 0 0 18px;
}
.shop-filter-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.shop-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shop-filter-label {
  font-weight: 700;
  font-size: 13px;
  opacity: 0.8;
}
.shop-filter-select {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
}
.shop-filter-reset {
  margin-left: auto;
}
.shop-filter-reset-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
@media (max-width: 768px) {
  .shop-filter-select {
    min-width: 180px;
    width: 100%;
  }
  .shop-filter-reset {
    margin-left: 0;
  }
}
/* サブカテゴリ */
.pcat-children {
  padding: 6px 0 0;
}
.pcat-children__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.pcat-children__item a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  text-decoration: none;
}

/* =========================
   ADDRESS (WooCommerce)
   ========================= */
/* ✅ 郵便番号は必ず表示 */
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #shipping_postcode_field {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* ✅ 請求先 都道府県も必ず表示 */
.woocommerce-checkout #billing_state_field {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* 標準住所1/2は非表示（3分割を使う前提） */
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field {
  display: none !important;
}

/* ship-to-different-address を表示 */
.woocommerce-checkout #ship-to-different-address {
  display: block !important;
  margin: 16px 0;
}

/* shipping欄の上余白（必要なら） */
.woocommerce-shipping-fields {
  padding-top: 65px;
}

/* ロック中の見た目 */
.woocommerce-checkout .is-locked {
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.03);
}
.woocommerce form .form-row .optional {
  visibility: hidden !important;
}

/* =========================
   My Account (WooCommerce)
   ========================= */
/* マイページ：住所画面のWooCommerce見出しがページタイトルと被るので消す */
.woocommerce-Address-title h2 {
  display: none;
}
.woocommerce .col2-set,
.woocommerce-page .col2-set {
  display: flex;
  flex-direction: column;
  margin-bottom: 45px;
}
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  float: left;
  width: 100% !important;
}
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  float: right;
  width: 100% !important;
}
.myaccount-page .child_top {
  background: url(../img/webp/item_back.webp) center / cover no-repeat;
}
.myaccount-page .myaccount_area {
  padding: 24px 0 40px;
}

/* 余白のベース */
.myaccount-page .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
}

/* 見出し（WC標準 h2/h3） */
.myaccount-page .woocommerce h2,
.myaccount-page .woocommerce h3 {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* -------------------------
   2カラム（左ナビ / 右コンテンツ）
   ------------------------- */
.myaccount-page .woocommerce-account .woocommerce-MyAccount-navigation,
.myaccount-page .woocommerce-account .woocommerce-MyAccount-content {
  width: 100%;
}

@media (min-width: 900px) {
  .myaccount-page .woocommerce-account {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: start;
  }
}

/* -------------------------
   左ナビ
   ------------------------- */
.myaccount-page .woocommerce-MyAccount-navigation {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fbfaf7; /* 紙っぽい白 */
  overflow: hidden;
}

/* ulの初期スタイル潰し */
.myaccount-page .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.myaccount-page .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.myaccount-page .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 10px;
  color: #3a2a1a; /* 濃い茶 */
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.myaccount-page .woocommerce-MyAccount-navigation a:hover {
  background: rgba(58, 42, 26, 0.07);
}

/* アクティブ（現在地） */
.myaccount-page .woocommerce-MyAccount-navigation .is-active > a {
  background: #3a2a1a;
  color: #fff;
}

/* -------------------------
   右コンテンツ
   ------------------------- */
.myaccount-page .woocommerce-MyAccount-content {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: 16px 14px;
}

@media (min-width: 768px) {
  .myaccount-page .woocommerce-MyAccount-content {
    padding: 22px 20px;
  }
}

/* WC通知（成功/エラー） */
.myaccount-page .woocommerce-message,
.myaccount-page .woocommerce-info,
.myaccount-page .woocommerce-error {
  margin: 0 0 14px;
  border-radius: 10px;
}

/* -------------------------
   フォーム（ログイン/登録/住所/詳細）
   ------------------------- */
.myaccount-page .woocommerce form .form-row {
  margin: 0 0 12px;
}

.myaccount-page .woocommerce label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #3a2a1a;
}

.myaccount-page .woocommerce input[type="text"],
.myaccount-page .woocommerce input[type="email"],
.myaccount-page .woocommerce input[type="password"],
.myaccount-page .woocommerce input[type="tel"],
.myaccount-page .woocommerce input[type="search"],
.myaccount-page .woocommerce select,
.myaccount-page .woocommerce textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #3a2a1a;
  outline: none;
}

.myaccount-page .woocommerce textarea {
  min-height: 120px;
  resize: vertical;
}

.myaccount-page .woocommerce input:focus,
.myaccount-page .woocommerce select:focus,
.myaccount-page .woocommerce textarea:focus {
  border-color: rgba(58, 42, 26, 0.55);
  box-shadow: 0 0 0 3px rgba(58, 42, 26, 0.12);
}

/* -------------------------
   ボタン
   ------------------------- */
.myaccount-page .woocommerce a.button,
.myaccount-page .woocommerce button.button,
.myaccount-page .woocommerce input.button,
.myaccount-page .woocommerce #respond input#submit {
  background: #3a2a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.myaccount-page .woocommerce a.button:hover,
.myaccount-page .woocommerce button.button:hover,
.myaccount-page .woocommerce input.button:hover {
  filter: brightness(1.05);
}

/* “戻る/キャンセル”系が白ボタンになるテーマがあるので統一 */
.myaccount-page .woocommerce .button.alt {
  background: #3a2a1a;
  color: #fff;
}

/* -------------------------
   テーブル（注文履歴など）
   ------------------------- */
.myaccount-page .woocommerce table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 16px;
}

.myaccount-page .woocommerce table.shop_table th,
.myaccount-page .woocommerce table.shop_table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
}

.myaccount-page .woocommerce table.shop_table th {
  background: #fbfaf7;
  font-weight: 700;
  color: #3a2a1a;
}

.myaccount-page .woocommerce table.shop_table tr:last-child th,
.myaccount-page .woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

/* スマホでテーブルがはみ出す場合 */
@media (max-width: 640px) {
  .myaccount-page .woocommerce table.shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* -------------------------
   アドレス表示ボックス
   ------------------------- */
.myaccount-page .woocommerce-Address {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 14px 14px;
  background: #fbfaf7;
  margin: 0 0 14px;
}

.myaccount-page .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.myaccount-page .woocommerce-Address-title h3 {
  margin: 0;
}

/* -------------------------
   細かい整形
   ------------------------- */
.myaccount-page .woocommerce .woocommerce-MyAccount-content p {
  line-height: 1.8;
  margin: 0 0 12px;
  color: #3a2a1a;
}

/* リンク */
.myaccount-page .woocommerce a {
  color: #3a2a1a;
}

.myaccount-page .woocommerce a:hover {
  opacity: 0.85;
}
/* 住所ボックスの「編集」リンクを必ず見えるように */
body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0px;
  margin-bottom: 10px;
}
body.woocommerce-account .woocommerce-Address-title a.edit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 3px;
  background: #3a2a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: right;
  width: 100% !important;
}
/* 住所ブロック */
.woocommerce-Address {
  margin-bottom: 20px;
}

/* タイトル */
.woocommerce-Address-title h3 {
  font-size: 16px;
  font-weight: 700;
}

/* billing / shipping 見分け */
.woocommerce-Address-title h3:before {
  content: "📍 ";
}
/* =========================================
   Reviews / Ratings (WooCommerce)
   - 星は残す
   - 投稿者名 / アイコンは非表示
   - 「日付 + 内容」中心のミニマル表示
   Scope: .item-single と #reviews（干渉防止）
========================================= */

/* ===========================
   商品詳細 上部の評価サマリー
=========================== */
.item-single .wc-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.item-single .wc-rating-summary .star-rating {
  font-size: 14px;
}

.item-single .wc-rating-link {
  font-size: 13px;
  opacity: 0.8;
  text-decoration: none;
}
.item-single .wc-rating-link:hover {
  opacity: 1;
}

/* ===========================
   レビュー全体
=========================== */
#reviews {
  margin-top: 34px;
}

#reviews .comments-area,
#reviews #comments {
  margin-bottom: 40px;
}

/* 見出し（レビュー：◯件） */
#reviews .woocommerce-Reviews-title {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 「レビューはまだありません」 */
#reviews .woocommerce-noreviews,
#reviews .no-comments {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  opacity: 0.85;
}

/* ===========================
   レビュー一覧（表示）
=========================== */
#reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* 1レビュー */
#reviews .commentlist li {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

/* アイコン・投稿者名などを非表示（要望） */
#reviews .commentlist .avatar,
#reviews .commentlist .meta .woocommerce-review__author,
#reviews .commentlist .woocommerce-review__author,
#reviews .commentlist .woocommerce-review__dash {
  display: none !important;
}

/* コンテナ */
#reviews .commentlist .comment_container {
  display: grid;
  gap: 10px;
}

/* comment-text（星＋メタ＋本文が入る） */
#reviews .commentlist .comment-text {
  margin: 0 !important;
}

/* 上段メタ（＝日付だけ見せる） */
#reviews .commentlist .comment-text > .meta {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

/* meta 内は time だけ表示 */
#reviews .commentlist .comment-text > .meta * {
  display: none;
}
#reviews .commentlist .comment-text > .meta time {
  display: inline;
}

/* 星は残す（位置調整だけ） */
#reviews .commentlist .star-rating {
  margin: 0;
  font-size: 13px; /* お好みで */
}

/* 本文 */
#reviews .commentlist .description {
  margin: 0;
  line-height: 1.9;
  font-size: 14px;
}
#reviews .commentlist .description p {
  margin: 0;
}

/* 返信リンク等は非表示 */
#reviews .commentlist .reply {
  display: none !important;
}

/* ===========================
   投稿フォーム（星入力＋テキスト）
=========================== */
#reviews #respond {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#reviews #reply-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  top: 10px;
}

#reviews .comment-form {
  display: block;
  margin-top: 20px;
}

#reviews .logged-in-as {
  margin: 0 0 10px;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.6;
}

#reviews .logged-in-as a {
  color: #3a2a1a;
  text-decoration: underline;
}

/* 星入力（投稿フォーム側） */
#reviews p.stars {
  margin: 6px 0 14px;
}
#reviews p.stars a {
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  margin-right: 6px;
}

/* ラベル */
#reviews .comment-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}

/* 入力 */
#reviews .comment-form textarea,
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form input[type="url"],
#reviews .comment-form select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  outline: none;
  font-size: 14px;
  line-height: 1.7;
}

#reviews .comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

#reviews .comment-form textarea:focus,
#reviews .comment-form input:focus,
#reviews .comment-form select:focus {
  border-color: rgba(58, 42, 26, 0.55);
  box-shadow: 0 0 0 3px rgba(58, 42, 26, 0.1);
}

/* 送信ボタン */
#reviews .form-submit {
  margin: 0;
}

#reviews .form-submit .submit {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  background: #3a2a1a;
  color: #fff;
}

#reviews .form-submit .submit:hover {
  filter: brightness(1.05);
}

#reviews .form-submit .submit:active {
  transform: translateY(1px);
}

/* 管理者の編集リンク（必要なら残す） */
#reviews .edit-link a {
  font-size: 12px;
  opacity: 0.8;
  text-decoration: underline;
  color: inherit;
}

/* スマホ */
@media (max-width: 768px) {
  #reviews .comments-area,
  #reviews #comments {
  }

  #reviews .commentlist li {
    padding: 12px;
  }
}

/* 記事リンク */
/* =========================
   Top News Simple
========================= */
.top-news-simple {
  padding: 80px 0;
  background: var(--color01);
}

.top-news-simple__head {
  margin-bottom: 28px;
}
.top-news-simple__sub {
  margin: 0 0 8px;
  color: var(--color04);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.top-news-simple__title {
  margin: 0;
  color: var(--color02);
  z-index: 2;
  position: relative;
  top: -10px;
  display: inline-block;
}

.top-news-simple__list {
  border-top: 1px solid rgba(111, 97, 93, 0.2);
}

.top-news-simple__item {
  border-bottom: 1px solid rgba(111, 97, 93, 0.2);
}

.top-news-simple__link {
  display: grid;
  grid-template-columns: 130px 220px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  color: inherit;
  text-decoration: none;
  transition:
    background 0.3s ease,
    padding-left 0.3s ease;
}

.top-news-simple__link:hover {
  background: rgba(239, 144, 177, 0.06);
  padding-left: 16px;
}

.top-news-simple__date {
  color: var(--color02);
  line-height: 1.6;
  white-space: nowrap;
}

.top-news-simple__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.top-news-simple__cat,
.top-news-simple__cats .sep {
  color: var(--color04);
  line-height: 1.6;
  white-space: nowrap;
}

.top-news-simple__cat--empty {
  color: rgba(111, 97, 93, 0.5);
}

.top-news-simple__post-title {
  margin: 0;
  color: var(--color05);
  font-weight: var(--fw-medium);
  line-height: 1.6;
  min-width: 0;
}

.top-news-simple__bottom {
  margin-top: 28px;
  text-align: right;
}

.top-news-simple__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color02);
  font-weight: var(--fw-medium);
  text-decoration: none;
  border-bottom: 1px solid var(--color04);
  padding-bottom: 4px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.top-news-simple__more:hover {
  color: var(--color04);
  border-color: var(--color04);
}

.top-news-simple__empty {
  margin: 0;
  color: var(--color02);
  line-height: 1.8;
  text-align: center;
  padding: 24px 0;
}

@media screen and (max-width: 991px) {
  .top-news-simple__link {
    grid-template-columns: 120px 180px 1fr;
    gap: 18px;
  }
}

@media screen and (max-width: 767px) {
  .top-news-simple {
    padding: 60px 0;
  }

  .top-news-simple .container {
    width: min(100% - 24px, 1100px);
  }

  .top-news-simple__head {
    margin-bottom: 20px;
  }

  .top-news-simple__link {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 16px 4px;
  }

  .top-news-simple__post-title {
    line-height: 1.7;
  }

  .top-news-simple__bottom {
    margin-top: 20px;
    text-align: center;
  }
}

/* ===========================
Responsive
=========================== */

@media screen and (max-width: 768px) {
  .checkout-steps {
    column-gap: 20px;
    margin: 20px 0;
  }
  .checkout-steps .step-item {
    font-size: 1.2rem;
  }
  .checkout-steps .step-item::after {
    margin-left: 12px;
    right: -18px;
  }
  .item-single_area .area01 .draft {
    width: 100%;
  }
  .item-single_area .area01 .slide-box {
    width: 100%;
  }
  .item-single_area .slick-slide {
    margin: 0 5px;
  }
}
@media screen and (max-width: 481px) {
  .woocommerce {
    display: block !important;
  }
}
@media screen and (max-width: 480px) {
  .checkout-steps {
    column-gap: 12px;
  }
  .pcat-area .sub-ttl {
    top: -45px;
  }
  .checkout-steps .step-item {
    font-size: 1.1rem;
  }
  .checkout-steps .step-item.is-current .step-label {
    border-bottom-width: 1.5px;
  }
  .ec_top-bg {
    background: url(../img/ec/ecback.webp) center / contain no-repeat;
  }
  .shop-top .item_area .item_list li {
    width: 45%;
  }
  .shop-top .item_area .item_list li.odd {
    margin-top: 25px;
  }
  .shop-top .item_area .item_list li.even {
    margin-bottom: 25px;
  }
  .item_area .mina {
    top: 0;
    font-size: 2rem;
  }
  .shop-banner-slider .slick-dots {
    margin-top: 10px;
    gap: 12px;
  }
  .shop-banner-slider .slick-dots li button {
    width: 10px;
    height: 10px;
  }
  .shop-banner-slider .slick-dots li.slick-active button {
    background-color: #e89595;
    width: 15px;
    height: 15px;
  }
  .ec_top-products .p-img {
    width: 80px;
    transform: rotate(-4deg);
  }
  .ec_top-bg {
    height: 161px;
  }
  .ec_top {
    position: relative;
    height: 200px;
  }
  .ec_top-inner {
    top: 90%;
  }
  .ec_top-products .p2 {
    right: 0%;
    bottom: 2%;
    transform: rotate(8deg) !important;
  }
  .ec_top-products .p3 {
    right: 20%;
    bottom: 13%;
  }
  .item-single_area .area01 .draft {
    width: 100%;
  }
  .item-single_area .area01 .slide-box {
    width: 100%;
  }
  .section.item_area {
    padding-top: 20px;
  }
  .shop-top .item_area .txt-box .itemname-en {
    font-size: 16px;
    margin: -5px;
    font-weight: 400;
    letter-spacing: 2px;
    width: 100%;
    color: var(--color05);
  }
  .shop-top .item_area .txt-box .itemname-jp {
    font-size: 17px;
    margin-left: 10px;
    font-weight: 300;
    font-family: var(--font_sub02);
    width: 100%;
  }
  .shop-top .item_area .item-price span {
    font-size: 16px;
  }
  .item-single_area .area01 .draft {
    width: 100%;
  }
  .woocommerce-variation-add-to-cart {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer .down .link {
    flex-direction: column;
    gap: 4px;
  }

  /* スラッシュ非表示 */
  .site-footer .down .link p {
    display: none;
  }
  .age-limit {
    font-size: 12px;
  }
  .site-footer .copyright p {
    text-align: center;
  }
  .pcat-archive .item_list li {
    width: 47%;
  }
  .pcat-archive .shop-filter {
    padding: 15px 0 20px;
  }
  .child_top .child-ttl {
    font-size: 25px;
    line-height: 1.8;
  }

  /* =========================================
  480px以下：価格行を
  1行目「%OFF + 旧価格」
  2行目「現価格 + (税込)」
  に固定して崩れを防ぐ
========================================= */
  /* 価格ブロックを flex-wrap 化 */
  .item-all .txt-box .item-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
  }

  /* 読み上げ用テキストはレイアウトに影響させない */
  .item-all .txt-box .item-price .screen-reader-text {
    display: none;
  }

  /* 並び順を明示（意図した順に整列） */
  .item-all .txt-box .item-price .tks-sale-label {
    order: 1;
  }
  .item-all .txt-box .item-price del {
    order: 2;
  }
  .item-all .txt-box .item-price ins {
    order: 4;
  }
  .item-all .txt-box .item-price .wc-tax-label {
    order: 5;
  }

  .item-all .txt-box .item-price::after {
    content: "";
    flex: 0 0 100%;
    order: 3;
  }
  .item-all .txt-box .item-price .wc-tax-label {
    white-space: nowrap;
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.8;
  }
  .item-all .txt-box .item-price del {
    opacity: 0.6;
    font-size: 12px;
  }

  .item-all .txt-box .item-price ins {
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
  }
  .item-all .txt-box .item-price .tks-sale-label {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
}
