/*
 Theme Name: Storefront Child
 Theme URI: https://example.com/
 Description: Storefront の子テーマ
 Author: Hynak
 Template: storefront
 Version: 1.0.0
 Text Domain: storefront-child
*/
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&family=Zen+Old+Mincho:wght@400;700;900&display=swap");

:root {
  --color-01: #1a385f;
  --color-02: #838486;
  --color-03: #dc143c;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #000;
}

a {
  color: #000;
  text-decoration: none;
}

button:focus,
a:focus {
  outline: none;
}

/*
ヘッダーロゴ周りの調整
------------------------ */
#masthead {
  border-bottom: none;
  margin-bottom: 1rem;
  background: none;
}

/* ロゴ */
#masthead div.col-full div.site-branding {
  width: 40%;
}

#masthead div.col-full div.site-branding .site-title a {
  position: relative;
  white-space: nowrap;
  text-indent: -9999px;
  text-overflow: clip;
  display: block;
  color: transparent;
}

#masthead div.col-full div.site-branding .site-title a::before {
  content: "";
  display: block;
  background: url(assets/img/common/logo_auction.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 250%;
  padding-top: 0;
  /*22.7272%*/
  position: absolute;
  left: 0;
  top: -100%;
}

.storefront-handheld-footer-bar {
  display: none !important;
}

.hy-refine-fab-footer {
  display: none;
}

.hy-refine-apply {
  color: #fff;
  background: #1a385f;
  padding: .3rem 1.2rem !important;
}

.hy-refine-section h4 {
  background: #1a385f;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 600px) {
  #masthead {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
  }

  #masthead img {
    display: block;
    margin: 0 auto 20px auto;
    width: 50%;
  }

  #masthead .site-branding {
    display: none;
  }

  #masthead .header-actions {
    margin: 0 auto;
  }

  .hy-refine-fab-footer {
    display: inline-flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10001;
    font-size: 13px;
    padding: 16px 20px;
    border: 0;
    border-radius: 91px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    background: #1a385f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }


  /* ===== オーバーレイ ===== */
  .hy-refine-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 10000;
  }

  /* ===== 絞り込みパネル化（既存ウィジェットを流用） ===== */
  .widget.widget_hy_auction_refine {
    position: fixed;
    left: 0;
    width: 90%;
    right: 0;
    bottom: -54px;
    z-index: 10002;
    max-height: 84vh;
    overflow: auto;

    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);

    transform: translateY(105%);
    transition: transform .25s ease;

    /* 余白はお好みで */
    padding: 12px 16px 24px;
  }

  /* 開いた状態 */
  body.hy-refine-open .widget.widget_hy_auction_refine {
    transform: translateY(0);
    bottom: 20px;
    bottom: 14px;
    left: 21px;
    border-radius: 20px;
  }

  /* モーダル開いてる間は背面スクロール禁止 */
  body.hy-refine-open {
    overflow: hidden;
    height: 100%;
    touch-action: none;
  }

  /* オーバーレイ表示 */
  body.hy-refine-open .hy-refine-overlay {
    display: block;
  }

  /* ===== モバイル追従ボタン ===== */
  .hy-refine-fab {
    display: none;
  }

}

/* (max-width: 600px) */

#masthead div.col-full .header-actions {
  flex: 0 1 auto;
}

/* searchボタン */
#masthead .header-actions .site-search .widget_product_search form.woocommerce-product-search .search-field {
  background-color: #f5f5f5;
  border: #ccc solid 1px;
  border-radius: 100vh;
  box-shadow: none;
}

#masthead .header-actions .site-search .widget_product_search form::before {
  color: var(--color-01);
}

/* お知らせ */
#masthead .header-actions .header-quick-links a {
  border: #000 solid 1px;
  border-radius: 100vh;
  color: #000;
  background-color: #fff;
  font-weight: 700;
  transition: all ease 400ms;
  font-size: 0.9rem;
  padding: 0.8em 1.2em;
  min-width: 10em;
  box-sizing: border-box;
  text-align: center;
}

#masthead .header-actions .header-quick-links a.header-news {
  background-color: #000;
  color: #fff;
}

#masthead .header-actions .header-quick-links a.header-news:hover,
#masthead .header-actions .header-quick-links a.header-news:active {
  background-color: #fff;
  color: #000;
}

#masthead .header-actions .header-quick-links a.header-account:hover,
#masthead .header-actions .header-quick-links a.header-account:active {
  background-color: #000;
  color: #fff;
}

@media (max-width: 600px) {
  #masthead .header-actions .header-quick-links a {
    font-size: 12px;
    padding: 0.6em 1.2em;
    min-width: 8em;
  }
}

/* (max-width: 600px) */

/*
ナビメニュー（エリア）
------------------------ */
#masthead .storefront-primary-navigation {
  margin-top: 1rem;
  border-top: none;
}

#masthead .storefront-primary-navigation .primary-navigation {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  padding: 6px;
  background-color: #fff;
}

#masthead .storefront-primary-navigation .primary-navigation ul li:first-child {
  border-left: none;
}

#masthead .storefront-primary-navigation .primary-navigation ul li a {
  color: var(--color-01);
  font-weight: 700;
}

/* 並び替えボタン */
#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort {
  gap: 0.5em 0;
}

#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort .nav-sort-ttl {
  margin-right: 0.5em;
  margin-left: 1em;
  font-size: 14px;
}

#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort .woocommerce-ordering {
  margin-right: 0;
}

#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort select {
  padding: 0.5em 0 0.5em 0.5em;
  border-radius: 4px;
  box-sizing: border-box;
  width: 10em;
  border-color: var(--color-01);
}

/* 絞り込みボタン */
#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort button.hy-filter-open {
  background-color: var(--color-01);
  color: #fff;
  border-radius: 4px;
  min-width: 8em;
  box-sizing: border-box;
  text-align: center;
  display: block;
  border-bottom: #031d3d solid 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  top: 0;
  margin: 0 0.5rem 0 1rem;
}

#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort button.hy-filter-open:hover,
#masthead .storefront-primary-navigation .primary-navigation .nav-right .nav-sort button.hy-filter-open:active {
  opacity: 0.85;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
  top: 1px;
  border-bottom: #031d3d solid 1px;
}

/* 絞り込み　モーダル */
#hy-filter-modal .hy-modal__panel .hy-auction-refine {
  border: #eee solid 4px;
  padding: 1rem 2rem;
}

/*
ナビメニュー（エリア）
------------------------ */
.site-footer {
  background-color: var(--color-01);
  color: #fff;
  padding: 0;
}

ul#menu-footer {
  gap: 0 2em;
}

.widget_nav_menu ul li::before {
  margin-left: -1em;
}

ul#menu-footer li a {
  color: #fff;
  text-decoration: none !important;
}

.site-footer .site-info {
  padding: 0 0 1rem;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 2rem 0 20vw;
  }

  .site-footer .widget {
    margin-bottom: 2rem;
  }

  ul#menu-footer li {
    font-size: 0.85rem;
  }

  .site-footer .site-info {
    font-size: 0.55rem;
    white-space: nowrap;
    text-align: center;
  }
}

/* (max-width: 600px) */

/* --------------------------------------
コンテンツ
-------------------------------------- */
#content {
  padding-top: 6rem;
  margin-top: -3rem;
  background-color: #f2f7fc;
}

@media (max-width: 600px) {
  #content {
    padding-top: 2rem;
    margin-top: 0;
  }
}

/* (max-width: 600px) */

/* パンくず */
.storefront-breadcrumb {
  background: #fff;
  position: relative;
}

@media (max-width: 600px) {
  .storefront-breadcrumb {
    margin-bottom: 0 !important;
  }
}

/* (max-width: 600px) */

/*
物件一覧
------------------------ */
#main ul.products li a {
  color: #000;
}

/* カウントダウン */
#main ul.products li .auction-time-countdown>span>span {
  background-color: var(--color-03);
  color: #fff;
  margin: 0;
  padding: 0.1em 0.2em 0.2em 0.2em;
}

/*
ページ見出し
------------------------ */
@media (max-width: 600px) {
  #main h1.entry-title {
    font-size: 1.5rem;
    font-weight: 700;
  }
}

/* (max-width: 600px) */

/*サイトタイトルのフォントサイズを調整*/
.site-branding .site-title {
  font-size: 1.3em;
}

@media (min-width: 768px) {

  .site-branding,
  .site-search,
  .site-header-cart,
  .site-logo-anchor,
  .site-logo-link,
  .custom-logo-link {
    margin-bottom: 0;
  }

  .woocommerce-active .site-header .site-branding {
    width: 50%;
  }

  .woocommerce-active .site-header .site-search {
    width: auto;
    margin-bottom: 0;
  }
}

.storefront-primary-navigation {
  margin-top: 2em;
  border-top: solid 1px #f0f0f0;
}

/* ===== Custom primary nav (Storefront child) ===== */
@media (min-width: 768px) {
  .primary-navigation {
    width: 100%;
  }
}

.primary-navigation.custom-nav .col-full {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  /* width: 100%; */
}

/* メインメニューULをフレックス化 */
.primary-navigation.custom-nav .nav-primary {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  /* 折り返し可能 */
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  border-right: solid 1px #f0f0f0;
  margin-right: auto;
}

.primary-navigation.custom-nav .nav-primary>li {
  flex: 1 0 auto;
  /* 各メニュー項目は可能な限り均等に */
  text-align: center;
  border-left: 1px solid #f0f0f0;
}

.primary-navigation.custom-nav .nav-primary>li>a {
  display: block;
  white-space: nowrap;
  /* 日本語が改行で割れないように */
  line-height: 1;
  padding: 1.2rem 0.9rem;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.primary-navigation.custom-nav .nav-primary>li>a:hover,
.primary-navigation.custom-nav .nav-primary>li>a:focus {
  background: #f5f5f5;
  border-color: #ccc;
}

/* モバイル：1行キープ＋横スクロール（大量に増えても崩れない） */
@media (max-width: 768px) {
  .primary-navigation.custom-nav .col-full {
    padding-block: 0.35rem;
  }

  .primary-navigation.custom-nav .nav-primary {
    flex-wrap: nowrap;
    /* 折り返さない */
    overflow-x: auto;
    /* 横スクロールで受ける */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    scroll-snap-type: x proximity;
    /* 使い勝手向上（任意） */
  }

  .primary-navigation.custom-nav .nav-primary>li {
    scroll-snap-align: start;
  }

  /* スクロールバー（任意） */
  .primary-navigation.custom-nav .nav-primary::-webkit-scrollbar {
    height: 6px;
  }

  .primary-navigation.custom-nav .nav-primary::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
}

/* 任意：選択中メニューを強調 */
.primary-navigation.custom-nav .nav-primary>li.current-menu-item>a,
.primary-navigation.custom-nav .nav-primary>li.current_page_item>a {
  font-weight: 700;
  border-color: #bbb;
}

.nav-sort {
  display: flex;
  font-size: 0.875em;
  align-items: center;
}

p.nav-sort-ttl {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin: 0 7px 0 0;
  /* font-weight: normal; */
}

.nav-right {
  flex: 1 0 auto;
  padding: 0 5px;
  margin-left: auto;
}

/* ===== Header actions (logo 右) ===== */
.site-header .col-full {
  display: flex;
  align-items: center;
  /* gap: 1rem; */
  padding: 0;
}

.site-header .site-branding {
  margin-right: auto;
}

/* ロゴを左に、右側を押し出す */

.header-actions {
  flex: 1 1 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  /* 検索とボタン群の間 */
}

/* 検索ボックスの最低限の体裁 */
.header-actions .site-search form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.header-actions .site-search input[type="search"] {
  height: 2.2rem;
  padding: 0 0.6rem;
}

.header-actions .site-search button[type="submit"] {
  height: 2.2rem;
  padding: 0 0.8rem;
}

/* 右側のクイックリンク（お知らせ / ログイン / 登録 / マイアカウント） */
.header-quick-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-quick-links a {
  display: inline-block;
  line-height: 1;
  padding: 0.55rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.header-quick-links a:hover,
.header-quick-links a:focus {
  background: #f5f5f5;
  border-color: #ccc;
}
.header__logo{
  display:none;
}
/* 重要：ボタンが増えても崩さない（モバイルは横スクロール） */
@media (max-width: 768px) {
  .header-actions {
    gap: 0.6rem;
  }

  .header-actions .site-search {
    flex: 1 1 auto;
  }

  .header-actions .site-search input[type="search"] {
    width: 100%;
  }

  .header-quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-quick-links a {
    flex: 0 0 auto;
  }
  .header__logo{
  display:block;
}

}

/* ===== Auctions countdown: 1行表示にする ===== */
.auction-time-countdown {
  white-space: nowrap;
  /* 途中で折り返さない */
  text-align: center;
  font-size: 12px;
}

/* 行を横並びに */
.auction-time-countdown .wc_auctions_countdown-row {
  display: flex;
  align-items: baseline;
  /* 数字と単位のベースラインを揃える */
  gap: 0;
  /* 単位間のスペースを入れたい時は .25em などに */
  /* margin: auto; */
}

/* 物件一覧でのタイマーを中央寄せにする */
li .auction-time-countdown .wc_auctions_countdown-row {
  justify-content: center;
}

/* セクション内を縦→横に（プラグインの既定を上書き） */
.auction-time-countdown .wc_auctions_countdown-section {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline;
  margin: 0;
  /* 既定の左右マージンを打ち消し */
  width: auto;
  margin: 0 0.6em 0 0;
  font-size: 1.6em;
}

/* 「残り時間」ラベルを非表示に */
/* span.time-left {
  display: none;
} */
/* 数字と単位を同じ行に */
.auction-time-countdown .wc_auctions_countdown-amount {
  line-height: 1;
  margin: 0;
  font-size: 125%;
}

.auction-time-countdown .wc_auctions_countdown-period {
  display: inline !important;
  /* ブロック化されているのを解除 */
  line-height: 1;
  margin-left: 0;
  /* 例：数字との間隔を空けない */
  font-size: 100%;
}

.property-meta {
  margin-top: 1.5rem;
  /* padding: 1rem; */
  /* border: 1px solid #eee; */
  /* border-radius: 0.6rem; */
}

.property-meta h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: bold;
}

.property-meta__table {
  width: 100%;
  border-collapse: collapse;
}

.property-meta__table th,
.property-meta__table td {
  padding: 0.5rem 0.6rem;
  vertical-align: top;
  border-top: 1px solid #f0f0f0;
}

.property-meta__table th {
  width: 8em;
  color: #555;
  font-weight: 600;
  background: #fafafa;
}

.property-meta__table tr:first-child th,
.property-meta__table tr:first-child td {
  border-top: none;
}

/* 物件情報ページ 説明・オークション履歴を非表示に */
.woocommerce-tabs .panel h2:first-of-type {
  display: none;
}

ul.myacct-cards {
  margin: 0;
}

.hy-auction-refine {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
}

.hy-refine-section h4 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1rem;
}

.hy-refine-section label {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.25rem 1rem 0.25rem 0;
}

.hy-refine-block {
  margin-bottom: 0.5rem;
}

.hy-refine-block .hy-parent {
  font-weight: 600;
}

.hy-children {
  margin: 0.25rem 0 0.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.hy-refine-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center !important;
}

.hy-refine-apply {
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.hy-refine-reset {
  line-height: 2.2;
  text-decoration: underline;
}

.custom-nav .nav-right {
  display: flex;
  align-items: center;
}

.custom-nav .nav-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-nav .hy-filter-open {
  margin-left: 0.5rem;
}

.hy-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}

.hy-refine-block .hy-parent {
  font-weight: 600;
}

.hy-children {
  margin: 0.25rem 0 0.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* グリッド全体 */
.hy-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}

/* 京都の後で強制改行（次の要素から新しい行に） */
.hy-pref-break {
  grid-column: 1 / -1;
  height: 0;
}

/* 県ブロック */
.hy-refine-block .hy-parent {
  font-weight: 600;
}

/* ふつうの県：子タームは横並びチップ */
.hy-refine-block .hy-children {
  margin: 0.25rem 0 0.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* 大阪・兵庫は1行占有（フル幅）＋子は縦に1行ずつ */
.hy-refine-block.is-wide {
  grid-column: 1 / -1;
}

.hy-refine-block.is-wide .hy-children {
  display: flex;
  margin-left: 1.25rem;
}

.hy-refine-block.is-wide .hy-children label {
  display: block;
  margin: 0.25rem 0;
}

ul#menu-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

/* --------------------------------------
物件詳細
-------------------------------------- */
#page #main .product .summary .auction-ajax-change .time-left,
#page #main .product .summary .auction-ajax-change .auction-time-countdown {
  color: var(--color-03);
}

/* === 絞り込み：右下固定ボタン === */
.hy-filter-open {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9999;
  /* 見た目（必要なら調整） */
  padding: 12px 16px;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-weight: 600;
}

/* --------------------------------------
物件カウントダウンが無ければラベルも非表示に
-------------------------------------- */
/* 直後のカウントダウンが“未設定/空”なら .time-left を非表示 */
.time-left:has(+ .auction-time-countdown:not([data-time])) {
  display: none !important;
}

.time-left:has(+ .auction-time-countdown[data-time=""]) {
  display: none !important;
}

.time-left:has(+ .auction-time-countdown[data-time="0"]) {
  display: none !important;
}

/* プラグインが空の行だけ出しているとき（例の <span class="wc_auctions_countdown-row ..."></span> ） */
.time-left:has(+ .auction-time-countdown .wc_auctions_countdown-row:empty) {
  display: none !important;
}

/* もしカウントダウン自体が隠されているなら（class/inline-style/hidden対応） */
.time-left:has(+ .auction-time-countdown[hidden]) {
  display: none !important;
}

.time-left:has(+ .auction-time-countdown[style*="display:none"]) {
  display: none !important;
}

/* ========== My Account Dashboard (Hynak) ========== */
.hy-myacct {
  --hy-gap: 12px;
  --hy-card-bg: #fff;
  --hy-card-border: #e5e7eb;
  --hy-text: #111827;
  --hy-muted: #6b7280;
  --hy-link: #2563eb;

  --hy-badge-bg: #ecfdf5;
  --hy-badge-text: #065f46;
  --hy-badge-border: #10b981;
  --hy-radius: 12px;
}

/* grid */
.hy-myacct--dashboard .hy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--hy-gap);
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

/* card */
.hy-myacct--dashboard .hy-card {
  background: var(--hy-card-bg);
  border: 1px solid var(--hy-card-border);
  border-radius: var(--hy-radius);
}

.hy-myacct--dashboard .hy-card__body {
  padding: 14px;
  color: var(--hy-text);
}

/* titles / count */
.hy-myacct--dashboard .hy-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.hy-myacct--dashboard .hy-card__count {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem;
}

/* lists inside cards */
.hy-myacct--dashboard .hy-card__list {
  margin: 0;
  padding-left: 1rem;
  color: var(--hy-muted);
  max-height: 12rem;
  /* 長くなった時の崩れ防止 */
  overflow: auto;
}

.hy-myacct--dashboard .hy-bid-list__item {
  margin: 0.25rem 0;
}

/* links */
.hy-myacct--dashboard .hy-bid-list__link,
.hy-myacct--dashboard .hy-link,
.hy-myacct--dashboard .hy-card__link {
  color: var(--hy-link);
  text-decoration: none;
}

.hy-myacct--dashboard .hy-bid-list__link:hover,
.hy-myacct--dashboard .hy-link:hover,
.hy-myacct--dashboard .hy-card__link:hover {
  text-decoration: underline;
}

.hy-myacct--dashboard a:focus-visible {
  outline: 2px solid var(--hy-link);
  outline-offset: 2px;
  border-radius: 6px;
}

/* badge: 「（最高入札中）」 */
.hy-myacct--dashboard .hy-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  padding: 0.15em 0.6em;
  white-space: nowrap;
}

.hy-myacct--dashboard .hy-badge--winning {
  background: var(--hy-badge-bg);
  color: var(--hy-badge-text);
  border: 1px solid var(--hy-badge-border);
  margin-left: 0.35em;
}

/* empty state */
.hy-myacct--dashboard .hy-card__empty {
  color: var(--hy-muted);
}

/* settings list */
.hy-myacct--dashboard .hy-settings-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--hy-muted);
}

.hy-myacct--dashboard .hy-settings-list__item {
  margin: 0.25rem 0;
}

/* dark mode (OS設定に追随。サイトがライト固定なら削除可) */
@media (prefers-color-scheme: dark) {
  .hy-myacct {
    --hy-card-bg: #0b0e13;
    --hy-card-border: #1f2937;
    --hy-text: #e5e7eb;
    --hy-muted: #9ca3af;
    --hy-link: #93c5fd;

    --hy-badge-bg: #062e26;
    --hy-badge-text: #6ee7b7;
    --hy-badge-border: #10b981;
  }
}

/* WooCommerce Checkout Form Adjustments */
p#billing_state_field {
  max-width: 45%;
}

p#billing_postcode_field {
  max-width: 45%;
}

/* ダッシュボードにお届け先住所は不要なため非表示 */
.u-column2.col-2.woocommerce-Address {
  display: none;
}

/* 20251223青山追加 */
.top-mv {
  padding: 40px 0;
  background: #f5f7fb;
}

.top-mv__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-mv__title {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.top-mv__lead {
  margin: 0 0 16px;
  opacity: .8;
}

.top-mv__cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.auction-min-price{
      font-size: 1.41575em;
    margin-top: -30px;
}
.bid_button.button.alt{
  background-color: #dc143c;
  border-color: #dc143c;
}
.js-login-note, .js-register-note {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 9999 !important;
  margin-top: 12px !important;
  padding: 10px !important;
  background: #fffbcc !important;
  font-size: 14px !important;
  color: #000 !important;
}
.js-login-note p, .js-register-note p {
  display: block !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .woocommerce-MyAccount-content .col2-set#customer_login .col-1, .col2-set.addresses .col-1 {
    width: 100%;
  }
}