/*
Theme Name: VISIGUARD
Description: 管理画面から文章・画像・料金・配色を編集できるVISIGUARD専用テーマ。
Author: ReBORN
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: visiguard-copy
*/
html { color-scheme: dark; }
body { margin: 0; background: #080a0c; color: #f5f6f8; }
.vg-site {
  --vg-black: #080a0c; --vg-panel: #12161b; --vg-silver: #c2c9d1;
  --vg-white: #f5f6f8; --vg-muted: #b2bac4; --vg-rule: #353c46;
  background: var(--vg-black); color: var(--vg-white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
.vg-site *, .vg-site *::before, .vg-site *::after { box-sizing: border-box; }
.vg-site h1, .vg-site h2, .vg-site h3, .vg-site h4, .vg-site p, .vg-site figure, .vg-site dl, .vg-site dd { margin: 0; }
.vg-site h1, .vg-site h2, .vg-site h3, .vg-site h4 { color: var(--vg-white); font-weight: 600; line-height: 1.5; }
.vg-site h2 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); letter-spacing: .04em; }
.vg-site h3, .vg-site h4 { font-size: 1.25rem; }
.vg-site img { display: block; max-width: 100%; height: auto; }
.vg-site a { color: inherit; text-underline-offset: .3em; }
.vg-site a:focus-visible, .vg-site button:focus-visible { outline: 2px solid var(--vg-white); outline-offset: 5px; }
.vg-site .vg-wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.vg-site .vg-section { padding-block: clamp(64px, 7.5vw, 112px); }
.vg-site .vg-panel { background: var(--vg-panel); border-block: 1px solid var(--vg-rule); }
.vg-site .vg-eyebrow { color: var(--vg-silver); font-family: Arial, Helvetica, sans-serif; font-size: .875rem; line-height: 1.5; letter-spacing: .17em; margin-bottom: 16px; }
.vg-site .vg-heading { margin-bottom: 40px; }
.vg-site .vg-split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.vg-site .vg-split-heading .vg-heading { margin-bottom: 0; }
.vg-site .vg-split-heading > p { color: var(--vg-silver); }
.vg-site .vg-copy p + p { margin-top: 14px; }
.vg-site .vg-skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); background: #f5f6f8; color: #080a0c; padding: 12px 20px; z-index: 10000; }
.vg-site .vg-skip:focus { transform: none; }
.vg-site .vg-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--vg-rule); }
.vg-site .vg-wordmark { width: 232px; }
.vg-site .vg-header-label { font-size: .875rem; color: var(--vg-silver); letter-spacing: .05em; }
.vg-site .vg-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; padding-block: 56px 72px; }
.vg-site .vg-hero-copy { min-width: 0; }
.vg-site .vg-hero h1 { font-size: clamp(3.5rem, 7.3vw, 6.25rem); font-weight: 500; line-height: 1.2; letter-spacing: .05em; }
.vg-site .vg-hero h1 span { color: var(--vg-silver); }
.vg-site .vg-hero-description { max-width: 31rem; margin-top: 36px; padding-left: 20px; border-left: 2px solid var(--vg-silver); }
.vg-site .vg-hero-description h2 { font-size: .875rem; margin-bottom: 8px; letter-spacing: .08em; color: var(--vg-silver); }
.vg-site .vg-hero-description p { font-size: 1rem; line-height: 1.9; }
.vg-site .vg-hero-image { min-width: 0; background: #000; }
.vg-site .vg-hero-image img { width: 100%; }
.vg-site .vg-damage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vg-site .vg-damage-grid img { width: 100%; }
.vg-site .vg-protection-row { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.vg-site .vg-protection-row h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); margin-bottom: 16px; }
.vg-site .vg-protection-row img { width: 100%; }
.vg-site .vg-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vg-site .vg-feature img { aspect-ratio: 3 / 2; width: 100%; object-fit: contain; background: #000; }
.vg-site .vg-feature-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding-block: 22px 14px; border-bottom: 1px solid var(--vg-rule); margin-bottom: 14px; }
.vg-site .vg-feature-heading > span { color: var(--vg-silver); font-size: .875rem; font-family: Arial, sans-serif; }
.vg-site .vg-feature > p { color: var(--vg-silver); }
.vg-site .vg-film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.vg-site .vg-film { min-width: 0; border-top: 2px solid var(--vg-silver); padding-top: 24px; }
.vg-site .vg-film-top { display: flex; gap: 20px; align-items: baseline; }
.vg-site .vg-film-top > span { color: var(--vg-muted); font-family: Arial, sans-serif; font-size: .875rem; }
.vg-site .vg-film-top h3 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 500; letter-spacing: .015em; }
.vg-site .vg-film-description { margin-block: 12px 24px; min-height: 5.7em; color: var(--vg-silver); }
.vg-site .vg-film-description span { font-size: .875rem; }
.vg-site .vg-film > img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #000; }
.vg-site .vg-film-copy { padding-top: 28px; }
.vg-site .vg-film-copy h4 { margin-bottom: 16px; }
.vg-site .vg-film-copy p { color: var(--vg-silver); }
.vg-site .vg-film-copy p + p { margin-top: 12px; }
/* The retained Swiper 6 library displays the original three photographs. */
.vg-site .vg-gallery { width: 100%; position: relative; overflow-x: auto; }
.vg-site .vg-gallery.swiper-container-initialized { overflow: hidden; }
.vg-site .swiper-wrapper { display: flex; width: 100%; height: 100%; position: relative; z-index: 1; transition-property: transform; box-sizing: content-box; }
.vg-site .swiper-slide { flex-shrink: 0; width: calc((100% - 48px) / 3); height: 100%; position: relative; transition-property: transform; }
.vg-site .swiper-slide + .swiper-slide { margin-left: 24px; }
.vg-site .swiper-container-initialized .swiper-slide + .swiper-slide { margin-left: 0; }
.vg-site .swiper-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #000; }
.vg-site .vg-gallery-controls { display: none; position: relative; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.vg-site .vg-gallery-controls button { font: inherit; font-size: .875rem; background: transparent; color: var(--vg-white); border: 1px solid var(--vg-rule); min-width: 64px; min-height: 44px; padding: 8px 16px; cursor: pointer; }
.vg-site .vg-gallery-controls button:hover { border-color: var(--vg-silver); }
.vg-site .vg-gallery-controls .swiper-button-disabled { opacity: .45; cursor: default; }
.vg-site .swiper-pagination { display: flex; justify-content: center; flex-wrap: wrap; }
.vg-site .swiper-pagination .swiper-pagination-bullet { min-width: 32px; width: 32px; height: 44px; position: relative; cursor: pointer; display: inline-block; border: 0; padding: 0; }
.vg-site .swiper-pagination-bullet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #727d8b; position: absolute; top: 19px; left: 13px; }
.vg-site .swiper-pagination-bullet-active::before { background: var(--vg-white); }
.vg-site .swiper-notification { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.vg-site .vg-faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 56px; }
.vg-site .vg-faq { min-width: 0; }
.vg-site .vg-faq > div { border-top: 1px solid var(--vg-rule); padding-block: 24px; }
.vg-site .vg-faq > div:first-child { border-top-color: var(--vg-silver); }
.vg-site .vg-faq > div:last-child { border-bottom: 1px solid var(--vg-rule); }
.vg-site .vg-faq dt { font-size: 1.0625rem; font-weight: 600; line-height: 1.7; margin-bottom: 12px; }
.vg-site .vg-faq dd { color: var(--vg-silver); line-height: 1.9; }
.vg-site .vg-price-grid { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--vg-silver); }
.vg-site .vg-price { padding: 32px 0; }
.vg-site .vg-price + .vg-price { border-left: 1px solid var(--vg-rule); padding-left: 40px; }
.vg-site .vg-price h3 { font-size: 1rem; font-weight: 500; color: var(--vg-silver); margin-bottom: 16px; }
.vg-site .vg-price > p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; line-height: 1.2; }
.vg-site .vg-price strong { font-family: Arial, Helvetica, sans-serif; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 400; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.vg-site .vg-price > p span { font-size: 1rem; }
.vg-site .vg-price-notes { margin-top: 20px; color: var(--vg-muted); font-size: .875rem; }
.vg-site .vg-price-notes p + p { margin-top: 6px; }
.vg-site .vg-order-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.vg-site .vg-order-copy > p + p { margin-top: 16px; }
.vg-site .vg-order-copy .vg-store { font-size: 1.25rem; line-height: 1.6; padding-block: 8px 12px; }
.vg-site .vg-store strong { font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 500; }
.vg-site .vg-footer { padding-block: 56px 24px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.vg-site .vg-footer-logo { width: 264px; }
.vg-site .vg-footer-tagline { font-size: .875rem; color: var(--vg-silver); margin-top: 12px; letter-spacing: .16em; }
.vg-site .vg-producer { text-align: right; }
.vg-site .vg-producer p { font-size: .75rem; color: var(--vg-silver); letter-spacing: .12em; margin-bottom: 12px; }
.vg-site .vg-producer img { width: 150px; }
.vg-site .vg-copyright { grid-column: 1 / -1; font-size: .75rem; color: var(--vg-muted); border-top: 1px solid var(--vg-rule); padding-top: 20px; }
/* Ordinary WordPress pages use the same readable baseline. */
.vg-document { width: min(100% - 40px, 880px); margin: 64px auto; color: #f5f6f8; font: 1rem/1.9 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; overflow-wrap: anywhere; }
.vg-document img { max-width: 100%; height: auto; }
.vg-document a { color: #c2c9d1; }
@media (max-width: 999px) {
  .vg-site .vg-wrap { width: calc(100% - 64px); }
  .vg-site .vg-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .vg-site .vg-hero { gap: 20px; }
  .vg-site .vg-header-label { max-width: 16em; text-align: right; }
  .vg-site .vg-hero h1 { font-size: clamp(3.5rem, 7.3vw, 4.75rem); }
  .vg-site .vg-faq-layout { grid-template-columns: 1fr; gap: 0; }
  .vg-site .swiper-slide { width: calc((100% - 20px) / 2); }
  .vg-site .swiper-slide + .swiper-slide { margin-left: 20px; }
  .vg-site .swiper-container-initialized .vg-gallery-controls { display: flex; }
  .vg-site .vg-order-layout { grid-template-columns: 1fr 1.3fr; gap: 32px; }
}
@media (max-width: 699px) {
  .vg-site .vg-wrap { width: calc(100% - 40px); }
  .vg-site .vg-header { min-height: 72px; padding-block: 14px; }
  .vg-site .vg-wordmark { width: 190px; }
  .vg-site .vg-header-label { display: none; }
  .vg-site .vg-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 48px; }
  .vg-site .vg-hero h1 { font-size: clamp(3.5rem, 13vw, 5rem); line-height: 1.2; }
  .vg-site .vg-hero-description { margin-top: 24px; padding-left: 16px; }
  .vg-site .vg-hero-image { max-width: 560px; }
  .vg-site .vg-split-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .vg-site .vg-heading { margin-bottom: 28px; }
  .vg-site .vg-desktop-break { display: none; }
  .vg-site .vg-damage-grid { gap: 12px; }
  .vg-site .vg-protection-row { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .vg-site .vg-feature-grid { gap: 28px 16px; }
  .vg-site .vg-feature-heading { gap: 8px; padding-top: 16px; }
  .vg-site .vg-feature-heading h3 { font-size: 1.125rem; }
  .vg-site .vg-film-grid { grid-template-columns: 1fr; gap: 48px; }
  .vg-site .vg-film-top h3 { font-size: clamp(1.35rem, 6vw, 2rem); }
  .vg-site .vg-film-description { min-height: 0; }
  .vg-site .vg-faq-layout, .vg-site .vg-order-layout { grid-template-columns: 1fr; gap: 0; }
  .vg-site .vg-price-grid { grid-template-columns: 1fr; }
  .vg-site .vg-price + .vg-price { padding-left: 0; border-left: 0; border-top: 1px solid var(--vg-rule); }
  .vg-site .vg-price { padding-block: 28px; }
  .vg-site .vg-footer { grid-template-columns: 1fr auto; gap: 32px 20px; padding-top: 40px; }
  .vg-site .vg-footer-logo { width: 200px; }
  .vg-site .vg-producer img { width: 104px; }
}
@media (max-width: 639px) {
  .vg-site .swiper-slide { width: 92%; }
  .vg-site .swiper-slide + .swiper-slide { margin-left: 16px; }
}
@media (max-width: 389px) {
  .vg-site .vg-feature-grid, .vg-site .vg-damage-grid { grid-template-columns: 1fr; }
  .vg-site .vg-footer { grid-template-columns: 1fr; }
  .vg-site .vg-producer { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .vg-site .swiper-wrapper, .vg-site .swiper-slide { transition-duration: 0ms !important; }
}

/* Values are supplied by the WordPress editing screen. */
.vg-site .vg-wrap { width: min(100% - 96px, var(--vg-content-width, 1200px)); }
.vg-site .vg-section { padding-block: clamp(48px, 7.5vw, var(--vg-section-space, 112px)); }
.vg-site h2 { font-size: clamp(1.7rem, 2.5vw, var(--vg-heading-size, 40px)); }
.vg-site .vg-hero h1 { font-size: clamp(3rem, 7.3vw, var(--vg-hero-size, 100px)); }
.vg-site .vg-hero-description p, .vg-site .vg-copy p, .vg-site .vg-feature > p,
.vg-site .vg-film-copy p, .vg-site .vg-film-description, .vg-site .vg-faq dd,
.vg-site .vg-order-copy > p:not(.vg-store), .vg-site .vg-protection-row p,
.vg-site .vg-split-heading > p { font-size: var(--vg-body-size, 16px); }
.vg-site .vg-gallery-many.swiper-container-initialized .vg-gallery-controls { display: flex; }
.vg-site .vg-gallery-single.swiper-container-initialized .vg-gallery-controls { display: none; }
.vg-site .vg-price:nth-child(odd) { border-left: 0; padding-left: 0; }
.vg-site .vg-price:nth-child(n+3) { border-top: 1px solid var(--vg-rule); }
@media (max-width: 999px) { .vg-site .vg-wrap { width: calc(100% - 64px); } }
@media (max-width: 699px) {
  .vg-site .vg-wrap { width: calc(100% - 40px); }
  .vg-site .vg-hero h1 { font-size: clamp(3rem, 13vw, var(--vg-hero-size, 100px)); }
}
