/* TIMEGRAPH Official：WordPressだけで必要な追加（管理バー、本文、カード詳細の追加要素、展示室の空き） */

/* ログイン中の管理バーの下にヘッダーと戻るボタンを置く */
.admin-bar .site-header, .admin-bar .product-back { top: 32px; }
.admin-bar .product-back { top: calc(32px + 18px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .product-back { top: calc(46px + 10px); }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
}

/* WordPress・WooCommerceが出す読み上げ専用の文字（価格の説明など）は画面に出さない */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 固定ページの本文（ブロックエディターで書いた文章） */
.sub__content { margin-top: 28px; color: var(--c-ink-soft); }
.sub__content > * + * { margin-top: 1.2em; }
.sub__content h2 { margin-top: 48px; font-family: var(--f-serif); font-weight: 400; font-size: 22px; letter-spacing: .1em; color: var(--c-ink); }
.sub__content h3 { margin-top: 32px; font-family: var(--f-serif); font-weight: 500; font-size: 18px; letter-spacing: .08em; color: var(--c-ink); }
.sub__content ul, .sub__content ol { padding-left: 1.4em; }
.sub__content ul { list-style: disc; }
.sub__content ol { list-style: decimal; }
.sub__content a { text-underline-offset: 3px; }
.sub__content img { margin: 0 auto; }
.sub__img { display: block; }

/* カード詳細：英字ラベル、本文、閉じの一列版、価格。ロゴは見た目を変えずに押せる範囲を44pxにする */
.sheet__logo { display: inline-block; padding: 8.5px 0; margin: -8.5px 0; }
.sheet__en { margin-bottom: 14px; font-family: var(--f-latin); font-size: 12px; letter-spacing: .3em; color: #6b6255; }
.sheet__body { max-width: 760px; padding: 0 clamp(20px, 6.5vw, 76px) 36px; font-size: 14px; line-height: 2.1; color: #3d3831; }
.sheet__body > * + * { margin-top: 1.1em; }
.sheet__close--single { grid-template-columns: 1fr; border-top: 1px solid rgba(36, 33, 29, .1); }
.sheet__close--single > div { max-width: 560px; }
.sheet__price { margin-top: 10px !important; font-family: var(--f-latin); font-size: 18px !important; letter-spacing: .08em; color: var(--c-ink) !important; }
.sheet__price del { opacity: .55; margin-right: .4em; }
.sheet__price--status { display: inline-flex; padding: 2px 14px; border: 1px solid #b8ad9c; border-radius: 16px; font-family: var(--f-sans); font-size: 13px !important; letter-spacing: .14em; color: #4b463f !important; }
.sheet__price ins { text-decoration: none; }

/* 展示室：詳細面の「この商品を見る」、カードが無い展示室、画像の無いカード */
.detail__shop { margin-top: 6px; border: 1px solid rgba(36, 33, 29, .3); border-radius: 4px; }
.detail__shop[hidden] { display: none; }
.room__empty { color: rgba(250, 247, 240, .82); }
.panel__img--none { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #3a342c, #1f1b16); }

/* 商品名の区切り（｜・／）ごとのまとまり：入らない部分だけを次の行へ送る（inc/shop.php の tgo_shop_name()） */
.shop-name { display: inline-block; max-width: 100%; }
