/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

a {
  outline: none;
}

/* ==========================================================================
   1. レイアウト基盤(ヘッダー固定)
   ========================================================================== */

/* 通常時：ヘッダーを画面上部に固定 */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #ffffff;
}

/* 管理バー表示時(PC)：管理バーの高さ分だけ下にずらす */
.admin-bar header.wp-block-template-part {
  top: 32px;
}

/* 管理バー表示時(スマホ)：スマホ用管理バーの高さ分だけ下にずらす */
@media screen and (max-width: 782px) {
  .admin-bar header.wp-block-template-part {
    top: 46px;
  }
}

/* ==========================================================================
   2. ボタン共通スタイル
   ========================================================================== */

/* サイト内の標準ボタンの基本形。
   検索ボタン・フッターメニューのリンクボタン・絞り込みをリセットボタン・「もばらぶウェブサイトへ」リンクボタンは、それぞれ個別にスタイルを
   持つため、ここでは対象から除外している。 */
.wp-element-button:not(
  .wp-block-search__button,
  .wp-block-button_footer-menu > a,
  [href="/"], /* ← hrefが完全に「/」の一致するものだけを除外 */
  .footer-cta-button .wp-block-button__link
) {
  width: 220px !important;
  /* width: 90% !important; */
  height: 56px;
  padding: 0 8px !important;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  transition: all 0.3s ease-out;
  word-break: auto-phrase;

  /* 1199px以下 */
  /* @media screen and (max-width: 1199px) { */
  @media screen and (min-width: 576px) and (max-width: 1199px) {
    max-width: 172px !important;
    padding: 0 16px !important;
  }

  /* 575px以下（sm） */
  @media screen and (max-width: 575px) {
    /* max-width: 250px !important; */
    width: 90% !important;
  }
}

/* 検索バーのブラウザ標準クリアボタン(✕)を非表示にする(Chrome/Edge系) */
.wp-block-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* ==========================================================================
   3. 「カートに追加」ボタン(商品ページ・TOPページ共通のトーン)
   ========================================================================== */

/* === 単一商品ページの「お買い物カゴに追加」ボタン === */
.single_add_to_cart_button {
  background: #0e7490 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease;
}

.single_add_to_cart_button:hover {
  background: #0c5d75 !important;
}

/* 数量ボックス(現状は非表示運用) */
.quantity .qty {
  width: 56px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  display: none; /* 数量選択は不要なため非表示 */
}

.quantity .qty:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: inset 0 0 0 2px #0e7490;
}

/* === TOPページ・商品コレクションブロック内の「お買い物カゴに追加」ボタン === */
.wc-block-components-product-button__button {
  background: #0e7490 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease;
}

.wc-block-components-product-button__button:hover {
  background: #0c5d75 !important;
}

/* カート追加ボタンの高さを揃えて、「お買い物カゴを表示」出現時のがたつきを防止 */
.wp-block-button.wc-block-components-product-button {
  justify-content: flex-start;
  min-height: 153px;
}

/* === カート追加完了後の状態 === */
.add_to_cart_button.is-added,
.single_add_to_cart_button.is-added {
  background: #ccc !important;
  color: #2e2e2e !important;
  pointer-events: none; /* クリック無効化 */
  border: none;
  opacity: 0.8;
}

/* 「お買い物カゴを表示」リンク(カート追加後に出現) */
.wc-block-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: -4px;
  color: #6b7280;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.added_to_cart:hover {
  color: #0e7490;
}

/* 元の「表示」リンク(wc-forward)は非表示にして、上記の独自リンクに統一 */
a.button.wc-forward .wp-element-button {
  display: none;
}

/* ==========================================================================
   4. カテゴリー絞り込みパネル(左カラム)
   ========================================================================== */

/* === パネル全体 === */
.filter-panel {
  --panel-accent: #0e7490;
  --panel-border: #e5e7eb;
  --panel-text: #1f2937;
  --panel-muted: #6b7280;

  background: #ffffff;
  border: 2px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
}

/* === 検索ボックス === */
.filter-panel .wp-block-search__inside-wrapper {
  border: 1px solid #a8a8a8;
  border-radius: 8px;
  overflow: hidden;
}

.filter-panel .wp-block-search__input {
  border: none !important;
  padding: 10px 12px !important;
  font-size: 14px;
}

/* 検索窓・検索ボタンともにクリック時の枠線(フォーカスリング)は表示しない */
.filter-panel .wp-block-search__input:focus {
  outline: none;
  box-shadow: none;
}

.filter-panel .wp-block-search__button {
  background: transparent !important;
  color: var(--panel-muted) !important;
  border: none !important;
}

.filter-panel .wp-block-search__button:focus {
  outline: none;
}

/* === 見出し「カテゴリーで絞り込み」 === */
.filter-panel h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--panel-muted);
  text-transform: uppercase;
  margin: 24px 0;
}

/* === カテゴリーリスト === */
.filter-panel .wc-block-product-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-panel .wc-block-product-categories-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  border-left: 2px solid transparent;
  padding: 9px 12px;
  border-radius: 6px;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.filter-panel .wc-block-product-categories-list-item:hover {
  background: #f8fafc;
}

.filter-panel .wc-block-product-categories-list-item a {
  color: var(--panel-text);
  font-size: 14px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

/* 件数バッジ(WooCommerce標準の前後カッコ表示は打ち消して数字のみにする) */
.filter-panel .wc-block-product-categories-list-item-count {
  flex-shrink: 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--panel-muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  white-space: nowrap;
}

.filter-panel .wc-block-product-categories-list-item-count::before,
.filter-panel .wc-block-product-categories-list-item-count::after {
  content: "";
}

/* 現在選択中のカテゴリーの強調表示(JSで付与する is-current-category と連動) */
.filter-panel .wc-block-product-categories-list-item.is-current-category {
  border-left-color: var(--panel-accent);
  background: #f0fdfa;
}

.filter-panel .wc-block-product-categories-list-item.is-current-category a {
  font-weight: 600;
  color: var(--panel-accent);
}

.filter-panel
  .wc-block-product-categories-list-item.is-current-category
  .wc-block-product-categories-list-item-count {
  background: var(--panel-accent);
  color: #ffffff;
}

/* リストの黒丸(マーカー)を非表示 */
.wc-block-product-categories-list-item {
  list-style: none;
  margin-bottom: 16px;
}

.wc-block-product-categories-list-item > a:focus {
  outline-style: none !important;
}

.wc-block-product-categories-list-item > a:focus-visible {
  outline: 2px solid #f0fdfa !important;
  outline-offset: 2px;
}

/* === 絞り込みをリセットボタン(独自クラス .filter-reset-button のみを対象) === */
.filter-reset-button {
  /* display: inline-block; */
  background: transparent !important;
  color: var(--panel-muted, #6b7280) !important;
  border: none !important;
  padding: 8px !important;
  /* font-size: 13px; */
  /* text-underline-offset: 3px; */
  box-shadow: none !important;
  display: flex;
}

.filter-reset-button > div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: inherit;
  overflow: hidden;
  text-align: center;
  height: 56px;
  padding: 0 32px !important;
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
  word-break: auto-phrase;

  /* 1199px以下 */
  /* @media screen and (max-width: 1199px) { */
  @media screen and (min-width: 576px) and (max-width: 1199px) {
    /* max-width: 172px !important;
    padding: 0 8px !important; */
  }

  /* 575px以下（sm） */
  @media screen and (max-width: 575px) {
    width: 100% !important;
  }
}

/* カテゴリー未選択状態では非活性(薄く・押下不可)にする */
.filter-reset-button.is-inactive .wp-block-button__link,
.filter-reset-button.is-inactive .wp-block-button__link:hover,
.filter-reset-button.is-inactive .wp-block-button__link:focus {
  opacity: 0.4 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   5. サイトタイトル・ヘッダーアイコン
   ========================================================================== */

/* === サイトタイトル(ホバー・クリック時) === */
.wp-block-site-title a {
  transition: opacity 0.3s ease;
}

.wp-block-site-title a:hover {
  text-decoration: none;
  opacity: 0.75;
}

.wp-block-site-title > a:focus {
  outline: none !important;
}

/* === アカウントアイコン === */
.wc-block-customer-account__account-icon {
  transition: opacity 0.3s ease;
}

.wc-block-customer-account__account-icon:hover {
  text-decoration: none;
  opacity: 0.75;
}

.wc-block-customer-account__account-icon:focus,
.wc-block-customer-account__link:focus {
  outline: none !important;
}

/* === カートアイコン === */
.wc-block-mini-cart__button {
  transition: opacity 0.3s ease;
}

.wc-block-mini-cart__button:hover {
  text-decoration: none;
  opacity: 0.75;
}

.wc-block-mini-cart:focus,
.wc-block-mini-cart__button:focus {
  outline: none !important;
}

/* ==========================================================================
    6. フッター
    ========================================================================= */

/* フッターメニューのホバー時 */
.wp-block-button_footer-menu {
  transition: opacity 0.3s ease;
}

.wp-block-button_footer-menu:hover {
  text-decoration: none;
  opacity: 0.75;
}

.wp-block-button_footer-menu > a:focus {
  outline: none !important;
}

/* 「もばらぶウェブサイトへ」リンクボタン(独自クラス .footer-cta-button) */
.footer-cta-button .wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 56px;
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.footer-cta-button .wp-block-button__link::after {
  content: "↗";
  font-size: 12px;
  transition: transform 0.15s ease;
}

.footer-cta-button .wp-block-button__link:hover {
  background: #0e7490 !important;
  border-color: #0e7490 !important;
  color: #ffffff !important;
}

.footer-cta-button .wp-block-button__link:hover::after {
  transform: translate(2px, -2px);
}

/* ヘッダー・フッターの背景を透明にして、内部のスペーサーの色も透明に見せる */
header,
footer {
  background: transparent !important;
  background-color: transparent !important;
}

/* ==========================================================================
   7. ミニお買い物カゴ(ドロワー)
   ========================================================================== */

.mini-cart-drawer {
  max-width: 100vw; /* 画面幅を超える場合は画面幅に合わせる */
  box-sizing: border-box;
}

.wc-block-components-drawer__close {
  justify-content: flex-end !important;
}

.wc-block-mini-cart__title {
  justify-content: center;
}

.wc-block-mini-cart__footer-actions {
  flex-direction: column;
  align-items: center;
}

.wc-block-mini-cart__footer-actions a {
  background: #0e7490 !important;
  border-color: #0e7490 !important;
  color: #ffffff !important;
  max-width: 200px;
  padding: 8px;
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

.wc-block-mini-cart__footer-actions a:hover {
  background: #0c5d75 !important;
}

.wc-block-components-quantity-selector {
  display: none;
}

/* ==========================================================================
   8. カートページ
   ========================================================================== */

.wc-block-cart__submit-button {
  background: #0e7490 !important;
  border-color: #0e7490 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  max-width: 200px;
  padding: 8px;
  border-radius: 4px !important;
  transition: background-color 0.15s ease;
}

.wc-block-cart__submit-button:hover {
  background: #0c5d75 !important;
}

.wc-block-cart__submit-container {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   9. チェックアウトページ
   ========================================================================== */

.wc-block-components-checkout-place-order-button {
  background: #0e7490 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  max-width: 400px;
  transition: background-color 0.15s ease;
}

.wc-block-components-checkout-place-order-button:hover {
  background: #0c5d75 !important;
}

.wc-block-checkout__terms {
  display: flex;
  justify-content: center;
}

.wc-block-checkout__actions_row {
  justify-content: center !important;
}

/* ==========================================================================
   10. マイアカウントページ
   ========================================================================== */

/* 「変更を保存」ボタンを内包するクラス無し<p>を中央揃えにする */
.woocommerce-EditAccountForm > p:not([class]) {
  display: flex;
  justify-content: center;
}

.woocommerce-Button {
  background: #0e7490 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  max-width: 400px;
  margin: 0 auto;
  transition: background-color 0.15s ease;
}

.woocommerce-Button:hover {
  background: #0c5d75 !important;
}

/* 「注文」 */
/* マイアカウント > 注文履歴テーブルの列幅調整 */
.woocommerce-orders-table {
  table-layout: fixed;
  width: 100%;
}

.woocommerce-orders-table__header,
.woocommerce-orders-table__cell {
  padding: 8px;
  word-break: break-word;
}

/* 各列の幅を個別に指定 */
.woocommerce-orders-table__header-order-number,
.woocommerce-orders-table__cell-order-number {
  width: 15%;
}

.woocommerce-orders-table__header-order-date,
.woocommerce-orders-table__cell-order-date {
  width: 20%;
}

.woocommerce-orders-table__header-order-status,
.woocommerce-orders-table__cell-order-status {
  width: 20%;
}

.woocommerce-orders-table__header-order-total,
.woocommerce-orders-table__cell-order-total {
  width: 20%;
}

.woocommerce-orders-table__header-order-actions,
.woocommerce-orders-table__cell-order-actions {
  width: 25%;
  text-align: left;
}

/* 「表示」ボタン自体が横に間延びしないように */
.woocommerce-orders-table__cell-order-actions .woocommerce-button {
  display: inline-block;
  width: auto;
}

/* WooCommerce標準の nowrap 指定を解除し、セル内に収まるようにする */
.woocommerce table.my_account_orders .button,
.woocommerce-account .woocommerce-orders-table__cell-order-actions a {
  white-space: normal;
  word-break: break-word;
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0; /* 既存の margin-bottom:1em を打ち消す */
}

.woocommerce-account
  .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions
  a {
  /* 中央寄せをやめて左寄せに */
  /* margin: 0; */
  padding-left: 0;
  width: auto !important;
  text-align: left;
  line-height: 1.4em;
}

/* セル自体もはみ出しを防ぐ */
.woocommerce-orders-table__cell-order-actions {
  overflow: hidden;
}

/* ダウンロード */
/* 「商品を見る」非表示 */
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward {
  display: none;
}

/* 住所 */
.woocommerce-Addresses.col2-set {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* 不要な擬似要素を消す（floatが並んだときのレイアウト崩れ防止の名残） */
.woocommerce-Addresses.col2-set::before,
.woocommerce-Addresses.col2-set::after {
  content: none;
  display: none;
}

.woocommerce-Addresses.col2-set .col-1,
.woocommerce-Addresses.col2-set .col-2 {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 24px;
  background: #fafafa;
  width: auto; /* WooCommerce標準の width:48% を明示的に打ち消す */
  float: none; /* float:right も念のため打ち消す */
}

.woocommerce-Addresses.col2-set .woocommerce-Address-title h2 {
  margin-top: 0;
  border-bottom: 3px solid #0e7490;
  /* padding-bottom: 2px; */
  display: inline-block;
}

/* アカウント詳細 */
fieldset {
  margin-top: 40px;
  margin-bottom: 40px;
}
/* 「*」を非表示に */
.woocommerce form .form-row .required {
  display: none;
}

/* 姓名位置入れ替え */
.woocommerce form .form-row-last {
  float: left;
  clear: left;
}

/* 名 */
.woocommerce form .form-row-first {
  float: right;
}

/* ログインページ */
/* ログインフォーム全体の余白調整 */
.woocommerce-form-login {
  max-width: 480px;
}

/* 中央寄せ */
.woocommerce:has(.woocommerce-form-login) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 「ログイン」文言を消す（.woocommerce が .woocommerce-form-login を含んでいるという条件を満たすときだけ.woocommerce の直下の h2 を消す） */
.woocommerce:has(.woocommerce-form-login) > h2 {
  display: none;
}

/* テキスト入力欄(ユーザー名・パスワード) */
.woocommerce-form-login .woocommerce-form-row input[type="text"],
.woocommerce-form-login .woocommerce-form-row input[type="password"],
.woocommerce-form-login .woocommerce-form-row input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  box-sizing: border-box;
}

.woocommerce-form-login .woocommerce-form-row input[type="text"]:focus,
.woocommerce-form-login .woocommerce-form-row input[type="password"]:focus,
.woocommerce-form-login .woocommerce-form-row input[type="email"]:focus {
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
  outline: none;
}

/* ラベル */
.woocommerce-form-login label {
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

/* ログインボタン */
.woocommerce-form-login button.woocommerce-form-login__submit.wp-element-button {
  background: #0e7490 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.woocommerce-form-login button.woocommerce-form-login__submit.wp-element-button:hover {
  background: #0b5d74 !important;
  color: #fff !important;
}

/* 「ログイン状態を保存」チェックボックス */
.woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0e7490;
  cursor: pointer;
}

/* ボタンとチェックボックスを含む行を縦並びに変更 */
.woocommerce-form-login p.form-row:has(button.woocommerce-form-login__submit) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ボタンの表示順を後ろに */
.woocommerce-form-login
  p.form-row:has(button.woocommerce-form-login__submit)
  button.woocommerce-form-login__submit {
  order: 1;
}

.woocommerce-form-login p.form-row:has(button.woocommerce-form-login__submit) label {
  order: 2;
}

/* 「パスワードをお忘れですか?」リンク */
.woocommerce-LostPassword.lost_password {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.woocommerce-LostPassword.lost_password a {
  color: #0e7490;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.15s ease;
}

.woocommerce-LostPassword.lost_password a:hover {
  color: #0b5d74;
}

/* ==========================================================================
    11. 問い合わせページ
    ========================================================================= */
/* コンタクトフォーム */
/* フォーム全体 */
.wpcf7 {
  max-width: 760px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

/* 「必須」バッジ */
/* （woocommerce-MyAccount-content内のものは除外したい） */
/* aria-label="コンタクトフォーム"内のものだけ適用したい */
[aria-label="コンタクトフォーム"] .required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  vertical-align: middle;
}

/* テキストボックス */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-size: 16px;
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* プレースホルダーの色 */
.wpcf7 ::placeholder {
  color: #9ca3af;
}

/* 高さ */
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* フォーカス */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

/* セレクトボックス */
.wpcf7 select {
  cursor: pointer;
  height: 48px;
}

/* プライバシーポリシー */
.wpcf7 .wpcf7-acceptance {
  display: flex;
  align-items: center;
  margin: 32px 0 24px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #374151;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0e7490;
  transform: none;
}
.wpcf7-list-item {
  margin: 0;
}

.wpcf7 input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 8px;
}

/* ボタン */
.wpcf7 input[type="submit"] {
  background: #0e7490 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

/* ホバー */
.wpcf7 input[type="submit"]:not(:disabled):hover {
  background: #155e75 !important;
}

/* 無効時 */
.wpcf7 input[type="submit"]:disabled {
  background: #cbd5e1 !important;
  color: #fff !important;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #dc2626;
}

/* 送信メッセージ */
.wpcf7-response-output {
  margin-top: 20px !important;
  border-radius: 8px;
  padding: 14px !important;
}

/* スマホ */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 24px;
    margin: 20px;
  }
}

/* ==========================================================================
   11. レスポンシブ(参考・現状未使用)
   ========================================================================== */

/* ブレークポイント一覧(参考): sm: 576px / md: 768px / lg: 960px / xl: 1200px */

/* md以上
@media screen and (min-width: 768px) {
  .filter-panel {
    padding: 24px;
  }
}
*/

/* md未満
@media screen and (max-width: 767px) {
  .filter-panel {
    padding: 12px;
  }
}
*/

/* //メディアクエリ
// min-width
$breakpoint-up: (
  "sm": "screen and (min-width: 576px)",
  "md": "screen and (min-width: 768px)",
  "lg": "screen and (min-width: 960px)",
  "xl": "screen and (min-width: 1200px)",
) !default;

// max-width
$breakpoint-down: (
  "sm": "screen and (max-width: 575px)",
  "md": "screen and (max-width: 767px)",
  "lg": "screen and (max-width: 959px)",
  "xl": "screen and (max-width: 1199px)",
) !default; */

/* ブログ途中から有料機能 */
.premium-box {
  margin: 40px 0;
  padding: 32px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
}

.premium-box h3 {
  margin-top: 0;
  font-size: 18px;
  color: #1a1a1a;
}

.premium-box p {
  margin: 8px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.premium-login-notice {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #ddd;
  font-size: 13px;
  color: #888;
}

.premium-login-notice a {
  color: #0e7490;
  font-weight: 600;
  text-decoration: underline;
}

.premium-login-notice a:hover {
  text-decoration: none;
}

.premium-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #0e7490;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.premium-button:hover {
  background: #0b5a70;
}

.premium-button:active {
  transform: scale(0.98);
}
