/*
==============================================
  luciola.css
  Luciola ESTATE — Bespoke Golf Gloves
  Cocoon grayish 子テーマ用カスタムCSS

  対象ページ：
    - トップページ (.gl-*)
    - 撮影ガイドページ (.sg-*)
    - 注文ページ (.op-*)
    - 共通ユーティリティ (.lu-*)

  インクルード方法（functions.php）：
    add_action( 'wp_enqueue_scripts', 'luciola_custom_styles' );F
    function luciola_custom_styles() {
        wp_enqueue_style(
            'luciola-style',
            get_stylesheet_directory_uri() . '/luciola.css',
            array(),
            '1.0.0'
        );
    }
==============================================
*/


/* ==============================================
   Cocoon上書き対策：entry-content 配下を明示
   ============================================== */
.entry-content .gl-wrap,
.gl-wrap {
    max-width: 100%;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #000;
    line-height: 1.9;
    font-size: 16px;
}

/* ヘッダーをボタン配置の基準にする */
.front-top-page #header {
  position: relative;
}
/* 半透明の黒いレイヤー */
.front-top-page #header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ヘッダー画像上のOrder Nowボタン */
/* =========================
   PC表示
========================= */

.front-top-page .header-order-button {
  position: absolute;
  top: calc(50% + 145px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 180px;
  padding: 13px 36px;

  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-decoration: none;

  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  transition: 0.3s;
}

.front-top-page .header-order-button:hover {
  color: #182a24;
  background: #fff;
  text-decoration: none;
}


/* =========================
   スマホ表示
========================= */

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

  /* サイトタイトルが大きくなりすぎないようにする */
  .front-top-page #header .site-name-text {
    font-size: clamp(32px, 9vw, 46px) !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* キャッチフレーズ */
  .front-top-page #header .tagline {
    width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;

    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
  }

  /* Order Now */
  .front-top-page .header-order-button {
    top: calc(50% + 105px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 150px;
    padding: 11px 26px;

    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.12em;
  }
}


/* =========================
   高さが低いスマホ・横向き
========================= */

@media screen and (max-width: 834px) and (max-height: 500px) {

  .front-top-page #header .site-name-text {
    font-size: clamp(28px, 7vw, 38px) !important;
  }

  .front-top-page #header .tagline {
    font-size: 12px;
  }

  .front-top-page .header-order-button {
    top: calc(50% + 80px);
    padding: 9px 24px;
  }
}

/* マウスを載せたとき */
.front-top-page .header-order-button:hover {
  color: #333;
  background: #fff;
  text-decoration: none;
}


/* セクション */
.gl-section {
    margin-bottom: 64px;
}

.gl-eyebrow {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.gl-section-title {
    font-size: 24px;
    font-weight: 400;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d0d0d0;
    letter-spacing: 0.04em;
}

.gl-section-body {
    font-size: 16px;
    color: #555;
    line-height: 2.1;
}

/* ご注文の流れ */
.gl-flow-wrap {
    margin-top: 32px;
    overflow-x: auto;
}

.gl-flow-label {
  font-size: 16px;
  font-weight: 600;
  color: #555;
}

/* インラインスタイルで強制横並び（Cocoon対策） */
.gl-flow {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border: 1px solid #d8d8d8;
    min-width: 480px;
}

.gl-flow-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 26px 16px;
    text-align: center;
    border-right: 1px solid #d8d8d8;
    background: #fafafa;
	
}

.gl-flow-item:last-child { border-right: none; }

.gl-flow-label {
  font-size: 16px;
  font-weight: 600;
  color: #555;
}
/* カメラ・カートなどのアイコン */
.gl-flow-icon {
  display: inline-block;
  font-size: 42px;
  line-height: 1.4;
}
/* 01～04の番号 */
.gl-flow-num {
  font-size: 28px;
  font-weight: 500;
  color: #999;
}

.gl-flow-name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}
.gl-flow-desc {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 撮影ガイド誘導 */
.gl-guide-box {
    background: #f4f4f4;
    border-left: 4px solid #999;
    padding: 20px 22px;
    margin-top: 24px;
}

.gl-guide-text {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 10px;
}

.gl-guide-link {
    display: inline-block;
    font-size: 14px;
    color: #444;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gl-guide-link:hover { color: #222; }

/* 商品カード：強制2カラム */
.gl-products {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    gap: 20px;
    margin-top: 24px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.gl-product-card {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 10px);
    flex: 1 1 calc(50% - 10px);
    min-width: 240px;
    border: 1px solid #d0d0d0;
    background: #fafafa;
    padding: 30px 26px;
    transition: box-shadow 0.2s;
    box-sizing: border-box;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gl-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}


.gl-product-card.featured {
    border-color: #999;
    background: #fff;
    border-top: 3px solid #666;
}

.gl-product-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.15em;
    padding: 3px 10px;
    border: 1px solid #bbb;
    color: #888;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.gl-product-name {
    font-size: 20px;
    font-weight: 500;
    color: #222;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.gl-product-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.9;
    margin-bottom: 20px;
}

.gl-product-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}

.gl-product-features li {
    font-size: 14px;
    color: #555;
    padding: 7px 0 7px 16px !important;
    border-bottom: 1px solid #eee;
    position: relative;
    line-height: 1.6;
    list-style: none !important;
}

.gl-product-features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #bbb;
}

/* Cocoon がデフォルトで li に付けるスタイルを除去 */
.entry-content .gl-product-features li::marker,
.gl-product-features li::marker {
    content: none;
}

.gl-product-btn {
    display: block;
    text-align: center;
	margin-top: auto;
    border: 1px solid #888 !important;
    color: #444 !important;
    text-decoration: none !important;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 12px;
    transition: all 0.2s;
    background: transparent;
}

.gl-product-btn:hover {
    background: #444 !important;
    color: #fff !important;
    border-color: #444 !important;
}
/*
.gl-product-btn.primary {
    background: #555 !important;
    color: #fff !important;
    border-color: #555 !important;
}

.gl-product-btn.primary:hover {
    background: #333 !important;
    border-color: #333 !important;
}
*/
/* 会員登録説明 */
.gl-member-box {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    gap: 16px;
    margin-top: 24px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.gl-member-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
    min-width: 220px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 22px;
    box-sizing: border-box;
}

.gl-member-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.gl-member-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.gl-member-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.9;
}


/* 撮影ガイドページ */
.sg-wrap {
  max-width: 100%;
  margin: 0 auto;
  color: #000;
  font-size: 12px;
  padding: 0 16px 56px;
}
/* 警告ボックス */
.sg-alert {
  background: #f5f5f5;
  border-left: 3px solid #aaa;
  padding: 14px 18px;
  margin-bottom: 36px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.sg-alert strong { color: #444; }

/* ご用意いただくもの（一目でわかるサマリー） */
.sg-required-intro {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.sg-required {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 580px) { .sg-required { grid-template-columns: 1fr; } }
.sg-required-item {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid #bbb;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sg-required-item:hover {
  border-color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sg-required-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  text-decoration: none;
  z-index: 1;
}
.sg-required-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
  background: #666;
  padding: 2px 10px;
  border-radius: 2px;
}
.sg-required-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 12px;
}
.sg-required-title {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.sg-required-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.sg-required-jump {
  font-size: 14px;
  color: #aaa;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

/* セクション */
.sg-section { margin-bottom: 40px; scroll-margin-top: 20px; }
.sg-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sg-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  letter-spacing: 0.03em;
}
.sg-section-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* 方法選択カード（スリーブケース／A4用紙） */
.sg-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 580px) { .sg-methods { grid-template-columns: 1fr; } }
.sg-method {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 20px;
}
.sg-method-label {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
  border: 1px solid #333;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.sg-method-title {
  font-size: 16px;
  font-weight: 800;
  color: #444;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.sg-method-body {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
}
.sg-method-body li {
  list-style: none;
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
}
.sg-method-body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #ccc;
}
.sg-method-or {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #bbb;
  margin: -8px 0 20px;
}

/* ステップグリッド */
.sg-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 580px) { .sg-steps { grid-template-columns: 1fr; } }

.sg-step {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 20px;
}
.sg-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.sg-step-num {
  font-size: 22px;
  font-weight: 300;
  color: #aaa;
  line-height: 1;
  min-width: 36px;
}
.sg-step-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.03em;
}
.sg-step-body {
  font-size: 14px;
  color: #777;
  line-height: 1.9;
}
.sg-step-body li {
  list-style: none;
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
}
.sg-step-body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #ccc;
}

/* 撮影例／採寸例 */
.sg-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 14px;
}
@media (max-width: 580px) { .sg-photo-grid { grid-template-columns: 1fr; } }
.sg-photo-item { }
.sg-photo-item-label {
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 8px;
}
.sg-photo-box {
  background: #f0f0f0;
  border: 1px dashed #ccc;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.sg-photo-box img {
  max-width: 100%;
  height: auto;
}
.sg-photo-placeholder {
  text-align: center;
  color: #bbb;
  font-size: 10px;
  padding: 32px;
}
.sg-photo-caption {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}
.sg-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sg-tag {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #666;
  border: 1px solid #ccc;
  padding: 3px 10px;
  background: #f5f5f5;
}

/* 技術説明 */
.sg-tech-box {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.sg-tech-label {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sg-tech-body {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
}
.sg-tech-note {
  font-size: 14px;
  color: #999;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

/* NGリスト */
.sg-ng-box {
  border: 1px solid #ddd;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.sg-ng-title {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.sg-ng-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) { .sg-ng-grid { grid-template-columns: 1fr; } }
.sg-ng-item {
  font-size: 12px;
  color: #666;
  padding: 8px 10px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sg-ng-mark {
  color: #aaa;
  font-size: 14px;
  flex-shrink: 0;
}

/* CTA */
.sg-cta {
  background: #444;
  padding: 28px;
  text-align: center;
}
.sg-cta-title {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.sg-cta-desc {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 18px;
  line-height: 1.8;
}
.sg-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 12px;
  color: #bbb;
  line-height: 2;
}
.sg-cta-btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 30px;
  transition: all 0.2s;
}
.sg-cta-btn:hover {
  background: #fff;
  color: #444;
  text-decoration: none;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {
    .gl-hero { height: 320px; width: 100%; margin-left: 0; }
    .gl-hero-title { font-size: 24px; }
    .gl-products { display: block !important; }
    .gl-product-card { width: 100%; margin-bottom: 16px; }
    .gl-member-box { display: block !important; }
    .gl-member-item { width: 100%; margin-bottom: 12px; }
}

/* ========================================
   オーダーフォーム：項目見出し
======================================== */
/* ========================================
   全項目の見出しを統一
======================================== */

.wcpa_wrap .wcpa_field_label,
.woocommerce div.product form.cart .variations th.label {
    position: relative;
    display: block;
    box-sizing: border-box;
    padding-left: 14px !important;
    margin: 20px 0 0px !important;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

/* 左のライン */
.wcpa_wrap .wcpa_field_label::before,
.woocommerce div.product form.cart .variations th.label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 3px;
    height: 20px;
    background-color: #076a75;
    border-radius: 2px;
}
.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: #076a75;
    font-size: 1.25em
}

/* WCPA：項目と項目の間を広く */
.wcpa_wrap .wcpa_form_item {
    margin-bottom: 36px !important;
}


/* 着用タイプに「（必須）」を表示 */
.woocommerce div.product form.cart .variations th.label label::after {
    content: "（必須）";
    color: #d9534f;
    font-size: 13px;
    font-weight: normal;
    margin-left: 5px;
}
/* WCPAの * を非表示にして「（必須）」に変更 */
.wcpa_wrap .wcpa_required_ast {
    font-size: 0;
}

.wcpa_wrap .wcpa_required_ast::after {
    content: "（必須）";
    font-size: 13px;
    font-weight: normal;
    color: #e24040;
    margin-left: 5px;
}

/* ========================================
   着用タイプをWCPA項目と同じ見た目にする
======================================== */

/* バリエーション表を通常ブロック化 */
.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: 36px !important;
    border: 0;
}

.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* 着用タイプの項目名 */
.woocommerce div.product form.cart .variations th.label {
    position: relative;
    padding: 0 0 0 14px !important;
    margin: 0 0 6px !important;
    border: 0 !important;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
	background: #fff;
    text-align: left;
}


/* 選択欄 */
.woocommerce div.product form.cart .variations td.value {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* selectをWCPA入力欄と近い見た目に */
.woocommerce div.product form.cart .variations select {
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px;

    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
}

/* ========================================
   バリエーション価格表示
======================================== */

.woocommerce-variation-price {
    display: flex !important;
    align-items: center;
    min-height: 52px;

    margin: 20px 0 28px !important;
    padding: 12px 16px;

    background: #f7f5f1;
    border-radius: 5px;

    box-sizing: border-box;
}

/* 「価格：」を常に表示 */
.woocommerce-variation-price::before {
    content: "価格：";
    margin-right: 8px;

    font-size: 14px;
    font-weight: 500;
    color: #666;
}

/* 選択後に表示される価格 */
.woocommerce-variation-price .price {
    margin: 0 !important;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* 金額の色を統一 */
.woocommerce-variation-price .price .amount {
    color: #333;
}
/* バリエーションの「クリア」を非表示 */
.reset_variations {
    display: none !important;
}

/* お買い物カゴに追加ボタン */
.woocommerce div.product form.cart .single_add_to_cart_button {
    background-color: #076a75 !important;
    color: #fff !important;
    border: none !important;
	opacity: 1 !important;
}

/* マウスを乗せたとき */
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background-color: #076a75 !important;
    color: #fff !important;
	opacity: 0.7 !important;

}
/* 商品ページの更新日を非表示 */
.single-product .date-tags {
    display: none !important;
}

/* ========================================
   商品説明：不要な見出し・タブを非表示
======================================== */

/* 「説明」「追加情報」「レビュー」のタブ部分だけ消す */
.single-product .woocommerce-tabs > ul.tabs {
    display: none !important;
}

/* 目次を消す */
#toc {
    display: none !important;
}
/* 商品コード・カテゴリーをまとめて非表示 */
.single-product .product_meta {
    display: none !important;
}

/* 「追加情報」の内容をすべて消す */
.single-product #tab-additional_information {
    display: none !important;
}

/* 関連商品・関連記事エリアを非表示 */
.single-product .under-entry-content {
    display: none !important;
}
/* 説明の下のライン */
.article h2::before {
  border-bottom: solid 4px #076a75 !important;
}
/*  */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #076a75;
}

/* アップロードの元の英語の文字を消す */
.wau_wrapper_div {
  padding: 0px !important;
}
/* 1. 外側の箱の枠線と余白をリセットする（下側の隙間だけ残す） */
.wau_wrapper_div {
    border-left: none !important;    /* 箱全体の左線を消す */
    padding-left: 0 !important;      /* 箱全体の余白を消す */
    margin-bottom: 25px !important;  /* 下のボタンとの隙間を確保 */
    display: block !important;
}

/* 2. 元の英語（Upload an image:）を透明にして画面から消す */
.wau_wrapper_div label[for="wau_file_addon"] {
    font-size: 0 !important;
    display: block !important;
    margin-bottom: 12px !important;  /* 文字とアップロードボタンの間の隙間 */
}

/* 3. 【★ここを改良】日本語テキストの「すぐ左側」にだけ青い縦線を入れる 
.wau_wrapper_div label[for="wau_file_addon"]::before {
    content: "採寸画像をアップロードしてください" !important;
    font-size: 15px !important;
    color: #333333 !important;
    font-weight: bold !important;
    border-left: 3px solid #076a75 !important;
    padding-left: 12px !important;
    display: inline-block !important;
 */ 
/* 4. 「ファイルを選択」ボタン周りの見栄え */
.wau_wrapper_div input[type="file"] {
    color: #333333 !important; 
    background-color: #f0f0f0 !important; /* ボタンの背景を薄いグレーに */
    padding: 18px !important;
    border-radius: 5px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
	font-size: 16px;
}
.wc-block-components-form a {
  color: #1967d2 !important;
}
 /* 余白を小さく */
.wcpa_form_outer {
    margin: 1em 0 0em 0 !important;
}
/* 下側のページ用パンくずだけ非表示 */
.breadcrumb-page.pbp-main-before {
    display: none !important;
}

/* 個人情報・採寸データ説明 */
.privacy-consent-details {
    margin: 3px 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

/* Product Addonsが自動挿入する改行を無効化 */
.privacy-consent-details > br,
.privacy-consent-content > br {
    display: none;
}

/* 三角＋「ここをクリックして～」 */
.privacy-consent-details summary {
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.3;
}

/* 開いた本文 */
.privacy-consent-content {
 /*    max-height: 180px;*/
    overflow-y: auto;
    padding: 4px 12px 0px;
    line-height: 1.7;
    font-size: 12px;
}
.privacy-consent-content a, .privacy-consent-content a:hover {
    color: #0066cc;;
}
/* 本文の段落間隔 */
.privacy-consent-content p {
    margin: 0 0 4px;
}

.privacy-consent-content p:last-child {
    margin-bottom: 0;
}

/* チェックアウトページのリンク色 */
body.woocommerce-checkout .entry-content a:not(.button):not(.wp-element-button) {
    color: #0066cc;
    text-decoration: underline;
}

/* マウスを重ねたとき */
body.woocommerce-checkout .entry-content a:not(.button):not(.wp-element-button):hover {
    color: #004999;
}


/* カートのクーポン入力欄を広げる */
body.woocommerce-cart .coupon input#coupon_code {
    width: 250px !important;
    max-width: 100%;
    box-sizing: border-box;
}
/* スマートフォンでは画面幅に合わせる */
@media screen and (max-width: 600px) {
    body.woocommerce-cart .coupon input#coupon_code {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* カート・チェックアウトページの文字間隔 */
body.woocommerce-cart main,
body.woocommerce-cart main *,
body.woocommerce-checkout main,
body.woocommerce-checkout main * {
  letter-spacing: -0.005em !important;
}

/* 送料無料表示 */
.product-free-shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  line-height: 1.6;
}

/* トラックアイコン */
.shipping-truck {
  font-size: 18px;
  line-height: 1;
}

/* 商品価格の下の余白を狭くする */
.single-product .summary p.price {
  margin-bottom: 0 !important;
}

/* 送料無料表示の上下の余白 */
.single-product .product-free-shipping {
  margin-top: 0 !important;
  margin-bottom: 40px !important;
}


/* お支払いページのプレースホルダーを薄くする */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #aaa !important;
    opacity: 1;
}

