/*
Theme Name: VERTEX COATING
Description: 承認済みの静的デザインを引き継いだ独自テーマ。実績管理には同梱の VERTEX 実績管理を使用します。
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 8.1
Text Domain: vertex-coating
*/
.category__grid > a { color:inherit; text-decoration:none; min-width:0; }
.vertex-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding:40px 20px; }
.vertex-pagination .page-numbers { color:inherit; padding:8px 12px; border:1px solid #b39b80; }
.vertex-pagination .current { background:#d9a33c; color:#111113; }
.vertex-empty { padding:30px 0; }
.vertex-placeholder { width:100%; aspect-ratio:3/2; display:grid; place-items:center; background:#171719; color:#d9a33c; }
.admin-bar .vertex-site-header { top:32px; }
@media(max-width:782px){ .admin-bar .vertex-site-header { top:46px; } }
@media(max-width:600px){ #wpadminbar { position:fixed; } .admin-bar .vertex-site-header { top:46px; } }
.vertex-content { max-width:1100px; margin:auto; padding:140px 24px 80px; }
.vertex-content img { max-width:100%; height:auto; }

/* 元HTMLのhead内にある表示調整も保持 */

          html.skip-vertex-loader #vertex-loader {
            display: none !important;
          }
          /* 実績詳細用の導入文余白を、このページでは適用しない */
          body.vertex-privacy-page #policy > .intro {
            padding-top: 0;
          }
          /* ページタイトルを一回り小さく調整 */
          body.vertex-privacy-page .vertex-privacy-title > h1 {
            font-size: clamp(48px, 6.2vw, 88px);
          }
          @media (max-width: 1000px) {
            body.vertex-privacy-page .vertex-privacy-title > h1 {
              font-size: clamp(42px, 6.8vw, 76px);
            }
          }
          @media (max-width: 760px) {
            body.vertex-privacy-page .vertex-privacy-title > h1 {
              font-size: clamp(28px, 8.7vw, 60px);
            }
          }
        
/* Before/After galleries keep the original comparison layout. */
.vertex-ba-thumbnails { margin-top: 14px; }
.vertex-ba-count { font: 12px "Roboto", sans-serif; text-align: right; margin: 10px 0; color: #78694e; }
.vertex-ba-lightbox .lightbox-bottom { flex-wrap: wrap; gap: 14px; }
.vertex-ba-lightbox .sale-lightbox-nav button:disabled { opacity: .35; cursor: default; }
.vertex-media-field[hidden] { display: none; }

/* Home content needs its own height, independent of fixed-header page styles. */
.vertex-home-main { padding-top: 0; overflow: hidden; }
.vertex-home-main .hero .hero__content { transform: none; }
.vertex-home-main .hero {
  height: auto;
  min-height: max(650px, 70vh);
}
@media (max-width: 640px) {
  .vertex-home-main .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .vertex-home-main .hero .hero__content {
    transform: none;
    padding: 40px 0;
  }
}
