/* 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%;
}

/* ECTOP */

/* =======================================
   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: .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: .3s ease;
  transition: .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 {
  /* 必要なら全体調整 */
}

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

/* タイトル部分 */
.itemm-single_area .ttl_area {
  margin-bottom: 30px;
}

.itemm-single_area .ttl_area .jp-ttl,
.itemm-single_area .ttl_area .en-ttl {
  font-size: 2rem;
  font-weight: 600;
}

/* area01：スライダー + 説明 + 価格/カート */
.itemm-single_area .area01 {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.itemm-single_area .area01 .box {
  flex: 1 1 0;
}
.itemm-single_area .area01 .slide-box {
    width: 30%;
}
.itemm-single_area .area01 .draft {
    width: 70%;
}
/* スライダー側 */
.itemm-single_area .slide-box {
  /* 画像エリアの幅調整など */
}
.item-single .item-slider img {
    width: 100%;
}
.item-slider {
  position: relative;
  width: 100%;
}

.item-slider img {
  display: block;
  width: 100%;
  height: auto;
}

/* 説明＋価格/カート側 */
.itemm-single_area .draft {
  /* テキスト側のベース */
}

/* area02：本文 */
.itemm-single_area .area02 {
  margin-bottom: 40px;
}
.itemm-single_area .area01 .draft p {
    line-height: 1.8;
}
.item-price {}
.item-price .true {}

/* SP */
@media screen and (max-width: 768px) {
  .itemm-single_area .area01 {
    flex-direction: column;
  }
  .itemm-single_area .area03 {
    flex-direction: column;
  }
}
/* 旧価格（打ち消し線部分） */
.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;
}
/* =======================================
   価格・カートエリア
   ======================================= */

.wc-price-area {
  margin-top: 20px;
}

.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;
    margin-bottom: 10px;
}

.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;
}
.wc-add-to-cart form {
    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;
}
/* =======================================
   数量 + / − ボタン付き量調整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;
}

.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;
}

/* =======================================
   関連商品セクション
   ======================================= */

.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 {
  /* 全体の余白調整など */
}
.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;
}
/* 画像が16:9で準備されている前提ならこれだけでもOK */
.shop-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 1%;
    border-radius: 15px;
    aspect-ratio: 4/3;
}
.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: -130px;
}
.shop-banner-slider .slick-prev,
.shop-banner-slider .slick-next {
  display: none;
}
.shop-banner-slider .slick-dots {
  bottom: -30px;
  display: flex !important;
  justify-content: center;
  align-items: baseline;
  gap: 2rem;
  margin-top: 30px;
}
/* ドット全体の大きさと色 */
.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;
  }
}

/* ===========================
   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;
  }
}

@media screen and (max-width: 480px) {
  .checkout-steps {
    column-gap: 12px;
  }
  .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 {
    padding-top: 35px;
}
.item_area .mina {
    top: 0;
    font-size: 2rem;
}
.shop-banner-slider .slick-dots {
    margin-top: 10px;
}
.shop-banner-slider .slick-dots li button {
    width: 15px;
    height: 15px;
}
.shop-banner-slider .slick-dots li.slick-active button {
    background-color: #e89595;
    width: 20px;
    height: 20px;
}
.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%;
}
.itemm-single_area .area01 .draft {
    width: 100%;
}
.itemm-single_area .area01 .slide-box {
    width: 100%;
}
.section.item_area {
  padding-top: 65px;
}
}

/* スマホで4列 */

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

.item-all .item_list li {
    width: 22%;
    padding: 0;
}
.item-all .txt-box .itemname-en {
    font-size: 10px;
    margin: 0;
    font-weight: 100;
    letter-spacing: 1px;
    width: 100px;
    word-wrap: break-word;
}
.item-all .txt-box .itemname-jp {
    margin-left: 0;
    font-size: 10px;
    color: #000;
    width: 100px;
}
.tks-sale-label {
    display: block;
    font-size: 9px;
    margin-bottom: 0.2em;
    font-weight: 600;
    color: #e6005c;
    letter-spacing: 1px;
}
.item-price span {
  font-size: 10px;
}
}