/*
 Theme Name:   Kiosko Child
 Template:     kiosko
*/

@import url("../kiosko/style.css");
.inquiry-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* WooCommerce 全ページのカート追加ボタンを非表示 */
.woocommerce a.button.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce .cart {
    display: none !important;
}
/* 商品一覧・関連商品ページの「お買い物カゴに追加」ボタンを非表示 */
.wp-block-button__link.wp-element-button.wc-block-components-product-button__button {
    display: none !important;
}

h2 {
	text-align: center;
}
h2.wp-block-post-title {
	display: none;
}
/* 商品問合せボタン→スマホ（768px以下）の時だけ中央寄せ */
@media (max-width: 768px) {
  .inquiry-button {
    display: block;         /* ブロック要素にして */
    margin: 20px auto;      /* 左右autoで中央寄せ、上下に余白 */
    text-align: center;     /* テキストを中央寄せ（お守り的に） */
    width: auto;            /* 横幅は今のサイズのまま */
  }
}




