@charset "UTF-8";
/* ■■■■■■■■■■■■■■■■■■■■ 現場品質監査（page-guard.php）専用 ■■■■■■■■■■■■■■■■■■■■
   テーマ共通CSSとの衝突を避けるため、すべて .gd 配下にスコープしています */

html {
  scroll-behavior: smooth;
}

.gd,
.gd-header,
.gd-footer {
  --ink: #171411;
  --ink-soft: #25211c;
  --paper: #f6f2ea;
  --paper-deep: #ebe3d6;
  --white: #ffffff;
  --text: #000;
  --muted: #4d4d4d;
  --line: #d8cec0;
  --brass: #b69a61;
  --spruce: #2e4a47;
  --shadow: rgba(14, 11, 9, 0.22);
  /* サイト共通（rebuild_styles.css）に合わせたフォント */
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Noto Sans", "Noto Sans JP", sans-serif;
}

.gd {
  display: block;
  padding-top: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  font-feature-settings: "palt";
}

.gd *,
.gd *::before,
.gd *::after,
.gd-header,
.gd-header *,
.gd-footer,
.gd-footer * {
  box-sizing: border-box;
}

.gd ::selection {
  color: var(--white);
  background: var(--spruce);
}

.gd img {
  display: block;
  max-width: 100%;
}

.gd a {
  color: inherit;
  text-decoration: none;
}

/* テーマのリセット（* { margin: 0 }）で消える余白を戻す */
.gd h1,
.gd h2,
.gd h3,
.gd p {
  margin: 0 0 1em;
  padding: 0;
}

/* 本文：TOPの .rebuild p と同じ */
.gd p {
  font-size: 18px;
  line-height: 1.9;
}

/* アンカー移動時に固定ヘッダーへ隠れないように */
.gd [id] {
  scroll-margin-top: 96px;
}

/* ---------- ヒーロー ---------- */
.gd .hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.gd .hero__picture,
.gd .hero__image,
.gd .hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gd .hero__picture {
  display: block;
}

.gd .hero__image {
  object-fit: cover;
  object-position: center;
}

.gd .hero__shade {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.88), rgba(15, 13, 11, 0.56) 42%, rgba(15, 13, 11, 0.18) 76%),
    linear-gradient(0deg, rgba(15, 13, 11, 0.72), rgba(15, 13, 11, 0.08) 48%);
}

.gd .hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 56px));
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 118px 0 80px;
}

.gd .eyebrow,
.gd .section-kicker {
  margin-bottom: 18px;
  color: var(--brass);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.gd .hero h1 {
  max-width: 740px;
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 600;
  line-height: 1.22;
}

.gd .hero h1 span {
  display: block;
}

.gd .hero__lead {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.gd .hero__brand {
  position: absolute;
  right: 44px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 270px;
  color: rgba(255, 255, 255, 0.88);
}

.gd .hero__brand-logo {
  width: 270px;
  height: auto;
  opacity: 0.94;
}

.gd .hero__brand small {
  display: block;
  width: 100%;
  font-size: 12px;
  text-align: center;
}

/* ---------- ボタン ---------- */
.gd .cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gd .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 190px;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.gd .button--light {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--white);
}

.gd .button--line {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.gd .button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- セクション共通 ---------- */
.gd .section {
  padding: 104px 44px;
}

.gd .statement,
.gd .problem,
.gd .quality-system,
.gd .visibility,
.gd .reason {
  position: relative;
  overflow: hidden;
}

.gd .statement > *,
.gd .problem > *,
.gd .quality-system > *,
.gd .visibility > *,
.gd .reason > * {
  position: relative;
  z-index: 1;
}

.gd .statement::before,
.gd .problem::before,
.gd .quality-system::before,
.gd .visibility::before,
.gd .reason::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.1;
}

.gd .statement {
  color: var(--white);
  background: var(--ink);
}

.gd .statement::before {
  inset: 0;
  /* 白文字が読めるよう暗いオーバーレイを重ねる */
  background-image:
    linear-gradient(rgba(23, 20, 17, 0.92), rgba(23, 20, 17, 0.92)),
    url("images/concept/guard/renewal/statement-bg.webp");
  background-position: center;
  opacity: 1;
}

.gd .statement__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.gd .statement h2,
.gd .section-heading h2,
.gd .split__copy h2,
.gd .reason h2,
.gd .cta h2 {
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.5;
}

.gd .statement p:last-child,
.gd .section-heading p,
.gd .split__copy p,
.gd .reason p,
.gd .cta p {
  color: var(--muted);
}

.gd .statement p:last-child,
.gd .quality-system .split__copy p,
.gd .pdca .section-heading h2 {
  color: rgba(255, 255, 255, 0.78);
}

.gd .section-heading {
  width: min(1040px, 100%);
  margin: 0 auto 46px;
}

.gd .section-heading--center {
  text-align: center;
}

.gd .section-heading p {
  max-width: 760px;
}

.gd .section-heading--center p {
  margin-right: auto;
  margin-left: auto;
}

/* ---------- 課題カード ---------- */
.gd .problem-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 auto;
}

.gd .problem-card,
.gd .inspection-list li,
.gd .cycle article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(25, 20, 15, 0.08);
}

.gd .problem-card {
  padding: 30px;
}

.gd .problem-card span,
.gd .inspection-list span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brass);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
}

.gd .problem-card h3,
.gd .inspection-list h3,
.gd .cycle h3,
.gd .feature-list h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

/* カード内の本文は少し小さく */
.gd .problem-card p,
.gd .inspection-list p,
.gd .cycle p,
.gd .feature-list p {
  font-size: 16px;
}

.gd .problem-card p,
.gd .inspection-list p,
.gd .cycle p,
.gd .feature-list p,
.gd .note {
  margin-bottom: 0;
  color: var(--muted);
}

.gd .quality-system,
.gd .pdca {
  color: var(--white);
  background: var(--ink-soft);
}

.gd .problem::before {
  top: 34px;
  right: -12%;
  width: min(920px, 72vw);
  height: 390px;
  background-image: url("images/concept/guard/renewal/problem-bg.webp");
  background-position: center;
  opacity: 0.1;
  filter: grayscale(1);
}

/* ---------- 施工マニュアル ---------- */
.gd .quality-system::before {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(37, 33, 28, 0.3), rgba(37, 33, 28, 0.86)),
    url("images/concept/guard/renewal/quality-system-bg.webp");
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.gd .split {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 64px;
  margin: 0 auto;
}

.gd .split--reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.gd .quality-assets {
  display: grid;
  gap: 24px;
}

.gd .document-showcase {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
}

.gd .document-showcase__page {
  position: absolute;
  display: block;
  height: auto;
  background: var(--white);
  border: 1px solid rgba(23, 20, 17, 0.12);
  box-shadow: 0 22px 54px rgba(7, 6, 5, 0.26);
}

.gd .document-showcase--manual .document-showcase__page {
  width: 76%;
}

.gd .document-showcase--manual .document-showcase__page--back {
  top: 42px;
  right: 22px;
  transform: rotate(2deg);
}

.gd .document-showcase--manual .document-showcase__page--front {
  left: 24px;
  bottom: 34px;
  transform: rotate(-2deg);
}

/* ---------- 家守りとは ---------- */
.gd .iemamori {
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.94), rgba(246, 242, 234, 0.94)),
    url("images/concept/guard/renewal/iemamori-bg.webp") center / cover;
}

.gd .section-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.gd .section-logo img {
  width: min(360px, 78vw);
  height: auto;
}

.gd .stats {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 auto 16px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gd .stat {
  padding: 34px 24px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.gd .stat__number {
  display: block;
  margin-bottom: 10px;
  color: var(--spruce);
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
}

.gd .stat__label {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.gd .note {
  width: min(1180px, 100%);
  margin: 0 auto;
  font-size: 13px;
  text-align: right;
}

.gd .section-video {
  width: min(980px, 100%);
  margin: 42px auto 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(14, 11, 9, 0.16);
}

.gd .section-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 検査内容 ---------- */
.gd .inspection {
  background: var(--paper);
}

.gd .inspection-list {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.gd .inspection-list li {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.gd .inspection-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.gd .inspection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd .inspection-copy {
  flex: 1;
  padding: 22px;
}

/* ---------- PDCA ---------- */
.gd .cycle {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.gd .cycle article {
  padding: 28px;
  color: var(--text);
}

.gd .cycle span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brass);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
}

/* ---------- 見える化 ---------- */
.gd .visibility {
  background: var(--white);
}

.gd .visibility::before {
  top: 0;
  left: -18%;
  width: min(980px, 82vw);
  height: 520px;
  background-image: url("images/concept/guard/renewal/visibility-bg.webp");
  background-position: center;
  opacity: 0.08;
}

.gd .image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.gd .image-panel--documents {
  padding: 28px;
  background: linear-gradient(135deg, rgba(246, 242, 234, 0.96), rgba(235, 227, 214, 0.96));
}

.gd .image-panel--documents .document-showcase {
  min-height: 520px;
  border-color: var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(246, 242, 234, 0.58));
}

.gd .document-showcase--report .document-showcase__page--back {
  width: 43%;
  top: 50%;
  left: 42px;
  transform: translateY(-50%) rotate(-2.5deg);
}

.gd .document-showcase--report .document-showcase__page--front {
  width: 48%;
  top: 50%;
  right: 40px;
  transform: translateY(-50%) rotate(1.6deg);
}

.gd .feature-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.gd .feature-list div {
  padding-left: 22px;
  border-left: 3px solid var(--brass);
}

/* ---------- 導入理由 ---------- */
.gd .reason {
  background: var(--paper-deep);
}

.gd .reason::before {
  right: -10%;
  bottom: -80px;
  width: min(820px, 78vw);
  height: 340px;
  background-image: url("images/concept/guard/renewal/reason-bg.webp");
  background-position: center;
  opacity: 0.09;
  filter: grayscale(1);
}

.gd .reason__inner {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin: 0 auto;
}

.gd .reason__inner > div:first-child {
  max-width: 820px;
}

.gd .reason__copy {
  padding: 30px 34px;
  margin: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 154, 97, 0.22);
  border-left: 4px solid var(--brass);
  border-radius: 6px;
}

.gd .reason__copy p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.9;
}

.gd-header__nav a:focus-visible,
.gd .button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

/* ---------- CTA ---------- */
.gd .cta {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 44px;
  color: var(--white);
  background: var(--ink);
}

.gd .cta > img,
.gd .cta__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gd .cta > img {
  max-width: none;
  object-fit: cover;
}

.gd .cta__shade {
  background: linear-gradient(90deg, rgba(16, 13, 11, 0.86), rgba(16, 13, 11, 0.62), rgba(16, 13, 11, 0.42));
}

.gd .cta__inner {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.gd .cta p {
  color: rgba(255, 255, 255, 0.78);
}

.gd .cta__actions {
  justify-content: center;
  margin-top: 34px;
}

/* ---------- ヘッダー（header-guard.php） ----------
   テーマの header { position: sticky; height: 110px; background: #fff } を上書き */
.gd-header {
  position: fixed;
  z-index: 20000;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 44px;
  color: var(--white);
  background: rgba(23, 20, 17, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-family: var(--font-sans);
  line-height: 1.6;
}

.gd-header a {
  color: inherit;
  text-decoration: none;
}

.gd-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gd-header__logo {
  display: block;
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

.gd-header__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.gd-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 14px;
}

.gd-header__nav a {
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- フッター（footer-guard.php） ---------- */
.gd-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 44px;
  color: rgba(255, 255, 255, 0.68);
  background: #0f0d0b;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.85;
}

.gd-footer div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gd-footer strong {
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
}

.gd-footer p {
  margin: 0;
  text-align: right;
}

.gd-header__nav a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

/* ---------- タブレット ---------- */
@media (max-width: 1040px) {
  .gd-header {
    padding: 18px 28px;
  }

  .gd-header__nav {
    gap: 16px;
  }

  .gd .hero,
  .gd .hero__inner {
    min-height: 700px;
  }

  .gd .hero h1 {
    font-size: 54px;
  }

  .gd .statement h2,
  .gd .section-heading h2,
  .gd .split__copy h2,
  .gd .reason h2,
  .gd .cta h2 {
    font-size: 30px;
  }

  .gd .problem-grid,
  .gd .inspection-list,
  .gd .cycle,
  .gd .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gd .split,
  .gd .split--reverse,
  .gd .reason__inner {
    grid-template-columns: 1fr;
  }

  .gd .document-showcase--report .document-showcase__page--back {
    left: 28px;
  }

  .gd .document-showcase--report .document-showcase__page--front {
    right: 28px;
  }
}

/* ---------- スマートフォン（テーマのsp.cssと同じ767px） ---------- */
@media (max-width: 767px) {
  .gd {
    font-size: 15px;
  }

  /* TOPのSP時（.rebuild p 16px）に合わせる */
  .gd p,
  .gd .hero__lead,
  .gd .reason__copy p {
    font-size: 16px;
  }

  .gd .problem-card p,
  .gd .inspection-list p,
  .gd .cycle p,
  .gd .feature-list p {
    font-size: 15px;
  }

  /* テーマのsp.cssは header を固定・高さ54pxにしているので上書き */
  .gd-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 12px 20px 10px;
  }

  .gd-header__logo {
    width: 140px;
  }

  .gd-header__sub {
    font-size: 12px;
  }

  .gd-header__nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .gd-header__nav a {
    flex: 0 0 auto;
  }

  .gd-footer {
    flex-direction: column;
    padding: 28px 20px;
  }

  .gd-footer p {
    text-align: left;
  }

  .gd [id] {
    scroll-margin-top: 110px;
  }

  .gd .hero,
  .gd .hero__inner {
    min-height: 660px;
  }

  /* 縦長画面で右側の人物が切れないよう、表示位置を右寄せ */
  .gd .hero__image {
    object-position: 60% center;
  }

  .gd .hero__shade {
    background:
      linear-gradient(180deg, rgba(15, 13, 11, 0.88), rgba(15, 13, 11, 0.66) 44%, rgba(15, 13, 11, 0.28)),
      linear-gradient(0deg, rgba(15, 13, 11, 0.82), rgba(15, 13, 11, 0.08) 58%);
  }

  .gd .hero__inner {
    width: calc(100% - 40px);
    justify-content: flex-start;
    padding: 140px 0 120px;
  }

  .gd .hero h1 {
    font-size: 40px;
  }

  .gd .hero__lead {
    font-size: 16px;
  }

  .gd .hero__brand {
    right: 20px;
    bottom: 22px;
    width: 154px;
  }

  .gd .hero__brand-logo {
    width: 154px;
  }


  .gd .section,
  .gd .cta {
    padding: 72px 20px;
  }

  .gd .statement h2,
  .gd .section-heading h2,
  .gd .split__copy h2,
  .gd .reason h2,
  .gd .cta h2 {
    font-size: 26px;
  }

  .gd .problem-grid,
  .gd .inspection-list,
  .gd .cycle,
  .gd .stats {
    grid-template-columns: 1fr;
  }

  .gd .split,
  .gd .split--reverse,
  .gd .reason__inner {
    gap: 36px;
  }

  /* 導入理由の見出しはSPでは改行しない */
  .gd .reason h2 br {
    display: none;
  }

  .gd .reason__copy {
    padding: 20px;
  }

  .gd .reason__copy p {
    font-size: 16px;
    line-height: 1.9;
  }

  .gd .problem-card,
  .gd .cycle article {
    padding: 24px;
  }

  .gd .inspection-list li {
    min-height: auto;
    padding: 0;
  }

  .gd .stat {
    padding: 26px 20px;
  }

  .gd .stat__number {
    font-size: 36px;
  }

  .gd .note {
    text-align: left;
  }

  .gd .document-showcase {
    min-height: 270px;
  }

  .gd .document-showcase--manual .document-showcase__page {
    width: 82%;
  }

  .gd .document-showcase--manual .document-showcase__page--back {
    top: 28px;
    right: 12px;
  }

  .gd .document-showcase--manual .document-showcase__page--front {
    left: 12px;
    bottom: 24px;
  }

  .gd .image-panel--documents {
    padding: 16px;
  }

  .gd .image-panel--documents .document-showcase {
    min-height: 390px;
  }

  .gd .document-showcase--report .document-showcase__page--back {
    width: 48%;
    left: 14px;
  }

  .gd .document-showcase--report .document-showcase__page--front {
    width: 54%;
    right: 14px;
  }

  .gd .button {
    width: 100%;
    min-width: 0;
  }

  .gd .cta__actions {
    width: 100%;
  }
}

@media (hover: hover) {
  .gd-header__nav a,
  .gd .button {
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .gd-header__nav a:hover,
  .gd .button:hover {
    opacity: 0.78;
  }
}
