/*
Theme Name: Lightning Child SUGIKEN
Template: lightning
Version: 1.3.8
Description: SUGIKEN v4 — Stone & Editorial design system
Author: ATTRACT
*/

/* =========================================================
   SUGIKEN Design System v4
   Stone × Ink × Accent / Editorial layout
   ========================================================= */

:root {
  --sgk-ink: #111111;
  --sgk-ink-soft: #232322;
  --sgk-bg: #ffffff;
  --sgk-bg-soft: #f6f6f4;
  --sgk-bg-alt: #ffffff;
  --sgk-paper: #f6f6f4;
  --sgk-white: #ffffff;
  --sgk-copper: #9a6834;
  --sgk-copper-deep: #7d5428;
  --sgk-line: #e8e8e6;
  --sgk-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --sgk-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --sgk-en: "Jost", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sgk-sans);
  color: var(--sgk-ink);
  background: var(--sgk-bg);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* Lightning 親テーマのグレー背景を上書き */
.site-body,
.site-body-container,
.main-section,
.entry-content {
  background: var(--sgk-bg) !important;
}

::selection { background: var(--sgk-copper); color: #fff; }

/* Hide Lightning default page header (orange band) everywhere on sgk pages */
body.page .page-header,
body.home .page-header,
body.single-works .page-header,
body.post-type-archive-works .page-header,
body.tax-works_cat .page-header,
body.sgk-work-single-page .page-header {
  display: none !important;
}

/* Safety: legacy Lightning slider must not appear above v4 hero */
body.home .ltg-g3-slider-area,
body.home .ltg-slide,
body.home .swiper-container.ltg-slide {
  display: none !important;
}

body.home .site-body-container.container,
body.home .main-section {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.home .entry.entry-full {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

/* Remove Lightning / VK Blocks orange lines on headings */
.entry-content :is(h1, h2, h3, h4).wp-block-heading,
.entry-content :is(h1, h2, h3, h4),
.entry-content .sgk-title,
.sgk-section :is(h1, h2, h3, h4),
.sgk-pagehead :is(h1, h2, h3),
.sgk-hero-title,
.sgk-cta :is(h1, h2, h3, h4),
.sgk-work-card :is(h1, h2, h3, h4) {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.entry-content :is(h1, h2, h3, h4).wp-block-heading::before,
.entry-content :is(h1, h2, h3, h4).wp-block-heading::after,
.entry-content :is(h1, h2, h3, h4)::before,
.entry-content :is(h1, h2, h3, h4)::after,
.sgk-title::before,
.sgk-title::after,
.sgk-cta-title::before,
.sgk-cta-title::after,
.sgk-work-title::before,
.sgk-work-title::after {
  display: none !important;
  content: none !important;
}

/* VK heading block styles */
.entry-content [class*="is-style-vk-heading"],
.sgk-cta [class*="is-style-vk-heading"],
.sgk-work-card [class*="is-style-vk-heading"] {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.entry-content [class*="is-style-vk-heading"]::after,
.sgk-cta [class*="is-style-vk-heading"]::after,
.sgk-work-card [class*="is-style-vk-heading"]::after {
  display: none !important;
}

/* ---------- Header / Footer (Lightning) ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--sgk-line);
  position: relative;
  z-index: 100;
}

.site-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

/* nav-float: Lightning gives logo width:100% and squeezes menu into a narrow column */
@media (min-width: 992px) {
  .site-header--layout--nav-float .site-header-container {
    flex-wrap: nowrap;
  }

  .site-header--layout--nav-float .site-header-logo {
    width: auto !important;
    flex: 0 0 auto;
    max-width: min(280px, 32vw);
    margin-right: 0;
    padding-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .site-header--layout--nav-float .site-header-logo img {
    margin-left: 0;
    max-height: 52px;
    width: auto;
  }

  .site-header--layout--nav-float .global-nav,
  .site-header--layout--nav-float .global-nav--layout--float-right {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    margin-left: auto;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
  }

  .site-header .global-nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    align-items: center;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    gap: 0 2px;
  }

  .site-header .global-nav-list > li {
    flex: 0 0 auto;
    float: none !important;
  }

  .site-header .global-nav-list > li > a {
    padding: 0.65em 0.75em;
    white-space: nowrap;
  }

  .site-header .global-nav-list .global-nav-name {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 991px) {
  .site-header .global-nav {
    display: none !important;
  }

  .site-header-container {
    display: block;
  }

  .site-header-logo {
    text-align: center;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .site-header-logo img {
    max-height: 50px;
    margin-left: auto;
    margin-right: auto;
  }
}

.site-header .global-nav a,
.site-header-logo a {
  letter-spacing: 0.12em;
}

.global-nav > ul > li.menu-item > a:hover {
  color: var(--sgk-copper-deep);
}

.site-footer {
  background: var(--sgk-ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
}

.site-footer.sgk-footer {
  padding: 0 !important;
  overflow: hidden;
}

.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: var(--sgk-copper); }

/* breadcrumb: fixed pages use sgk-pagehead instead */
body.page:not(.home) .breadcrumb {
  display: none !important;
}

/* ---------- Section primitives ---------- */

.sgk-section {
  padding: clamp(72px, 10vw, 120px) 24px;
  background: var(--sgk-bg);
}

.sgk-section + .sgk-section:not(.sgk-dark):not(.sgk-hero):not(.sgk-cta) {
  border-top: 1px solid var(--sgk-line);
}

.sgk-alt {
  background: var(--sgk-bg);
}

.sgk-band {
  background: var(--sgk-bg-soft);
}

.sgk-dark {
  background: var(--sgk-ink);
  color: rgba(255, 255, 255, 0.9);
  border-top: 0;
}

.sgk-dark .sgk-title { color: #fff; }

.sgk-en {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  text-align: center;
  margin-bottom: 12px;
}

.sgk-en::before,
.sgk-en::after {
  display: none;
}

.sgk-en-left {
  text-align: left;
}

.sgk-title-left {
  text-align: left;
}

.sgk-lead-left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 520px;
}

.sgk-title {
  font-family: var(--sgk-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.sgk-lead {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.62);
  margin-bottom: 28px;
}

.sgk-dark .sgk-lead { color: rgba(255, 255, 255, 0.66); }

/* Lead just above grids — keep gap tight */
.sgk-section > .sgk-lead + .wp-block-columns,
.sgk-section > .sgk-lead + .sgk-scope-grid,
.sgk-section > .sgk-lead + .sgk-service-list {
  margin-top: 8px;
}

/* ---------- Hero ---------- */

.sgk-hero {
  min-height: min(88vh, 860px) !important;
  display: flex;
  align-items: center;
}

.sgk-hero .wp-block-cover__background {
  background: linear-gradient(105deg,
    rgba(8, 8, 8, 0.82) 0%,
    rgba(8, 8, 8, 0.48) 55%,
    rgba(8, 8, 8, 0.08) 100%) !important;
  opacity: 1 !important;
}

.sgk-hero .wp-block-cover__image-background {
  will-change: transform;
  transform-origin: center center;
}

.sgk-hero .wp-block-cover__inner-container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  padding: 120px 12px 140px;
}

.sgk-hero-label {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
  padding-left: 0;
  position: relative;
}

.sgk-hero-label::before {
  display: none;
}

.sgk-hero-title {
  font-family: var(--sgk-serif);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 28px;
}

.sgk-hero-title em {
  font-style: normal;
  color: #fff;
  border-bottom: 1px solid var(--sgk-copper);
  padding-bottom: 2px;
}

.sgk-hero-lead {
  font-size: 15px;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 44px;
  max-width: 560px;
}

/* scroll indicator */
.sgk-hero::after {
  content: "SCROLL";
  position: absolute;
  right: 34px;
  bottom: 0;
  font-family: var(--sgk-en);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.65);
  writing-mode: vertical-rl;
  padding-bottom: 92px;
}

.sgk-hero::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--sgk-copper));
  animation: sgkScroll 2.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes sgkScroll {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Buttons ---------- */

.sgk-btn .wp-block-button__link {
  font-family: var(--sgk-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  background: var(--sgk-ink);
  color: #fff;
  border-radius: 0;
  padding: 16px 40px 16px 28px;
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease;
}

.sgk-btn .wp-block-button__link::after {
  content: "→";
  margin-left: 12px;
  display: inline-block;
  transition: transform 0.35s ease;
}

.sgk-btn .wp-block-button__link:hover {
  background: var(--sgk-copper);
  color: #fff;
}

.sgk-btn .wp-block-button__link:hover::after {
  transform: translateX(6px);
}

.sgk-btn-ghost .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.sgk-btn-ghost .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.sgk-btn-dark .wp-block-button__link {
  background: var(--sgk-ink);
}

.sgk-btn-dark .wp-block-button__link:hover {
  background: var(--sgk-copper);
}

/* ---------- Message v4 (editorial) ---------- */

.sgk-message-v4 {
  background: var(--sgk-bg);
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  border-top: 0;
}

.sgk-message-v4::before {
  display: none;
}

.sgk-message-v4 .sgk-statement {
  font-family: var(--sgk-serif);
  font-size: clamp(22px, 3.6vw, 36px);
  line-height: 2.1;
  text-align: center;
  letter-spacing: 0.06em;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 500;
}

.sgk-message-v4 .sgk-statement em {
  font-style: normal;
  font-weight: 600;
  color: var(--sgk-ink);
  position: relative;
}

.sgk-message-v4 .sgk-statement em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 1px;
  background: var(--sgk-copper);
  opacity: 0.55;
}

/* legacy message */
.sgk-message:not(.sgk-message-v4) {
  position: relative;
  overflow: hidden;
}

.sgk-message:not(.sgk-message-v4)::before {
  content: "SUGIKEN";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sgk-en);
  font-size: clamp(72px, 14vw, 180px);
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(166, 115, 64, 0.12);
  white-space: nowrap;
  pointer-events: none;
}

.sgk-statement {
  font-family: var(--sgk-serif);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 2.3;
  text-align: center;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.sgk-statement em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgba(166, 115, 64, 0.22) 68%);
}

/* ---------- Service rows (editorial) ---------- */

.sgk-service-list {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
}

.sgk-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.sgk-service-row-reverse {
  direction: rtl;
}

.sgk-service-row-reverse > * {
  direction: ltr;
}

.sgk-service-row-media {
  position: relative;
  overflow: hidden;
  background: var(--sgk-line);
  aspect-ratio: 16 / 10;
}

.sgk-service-row-feature .sgk-service-row-media {
  aspect-ratio: 16 / 9;
}

.sgk-service-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgk-service-row:hover .sgk-service-row-media img {
  transform: scale(1.03);
}

.sgk-service-row-body {
  padding: 8px 0;
}

.sgk-service-num {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(20, 20, 20, 0.38);
  margin: 0 0 16px;
}

.sgk-service-title {
  font-family: var(--sgk-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  line-height: 1.6;
}

.sgk-service-text {
  font-size: 14px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.68);
  margin: 0;
  max-width: 44em;
}

@media (max-width: 781px) {
  .sgk-service-row,
  .sgk-service-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .sgk-service-row-reverse > * {
    direction: ltr;
  }

  .sgk-service-row-media {
    aspect-ratio: 16 / 10;
  }

  .sgk-service-row-feature .sgk-service-row-media {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Scope list (service detail) ---------- */

.sgk-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  margin-top: 8px;
}

.sgk-scope-compact {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--sgk-line);
}

.sgk-scope-heading {
  font-family: var(--sgk-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: var(--sgk-ink);
}

.sgk-scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgk-scope-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(20, 20, 20, 0.72);
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 1px;
  background: var(--sgk-copper);
}

.sgk-scope-link {
  margin: 28px 0 0;
  text-align: right;
}

.sgk-scope-link a {
  font-family: var(--sgk-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sgk-copper-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--sgk-copper);
  padding-bottom: 3px;
}

.sgk-profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgk-profile-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  line-height: 1.85;
}

.sgk-profile-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--sgk-copper);
  font-weight: 700;
}

.sgk-profile-list-compact li {
  padding-left: 0;
}

.sgk-profile-list-compact li::before {
  display: none;
}

.sgk-profile-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(20, 20, 20, 0.55);
}

@media (max-width: 781px) {
  .sgk-scope-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sgk-scope-compact {
    margin-top: 40px;
    padding-top: 36px;
  }

  .sgk-scope-link {
    text-align: left;
  }
}

/* ---------- Bento (legacy) ---------- */

.sgk-bento {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.sgk-bento-side {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
}

.sgk-bento .sgk-card-main .wp-block-image img {
  aspect-ratio: 3 / 4;
}

.sgk-bento .sgk-bento-side .wp-block-image img {
  aspect-ratio: 16 / 10;
}

@media (max-width: 899px) {
  .sgk-bento {
    grid-template-columns: 1fr;
  }

  .sgk-bento .sgk-card-main .wp-block-image img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Design line (scroll) ---------- */

.sgk-design-line {
  position: fixed;
  top: 0;
  left: 24px;
  width: 1px;
  height: 100vh;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sgk-design-line__track {
  position: absolute;
  inset: 0;
  background: var(--sgk-line);
}

.sgk-design-line__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--sgk-copper);
  transition: height 0.08s linear;
}

body.sgk-has-design-line .sgk-design-line {
  opacity: 1;
}

.sgk-design-line.is-over-footer {
  opacity: 0 !important;
  visibility: hidden;
}

@media (max-width: 781px) {
  .sgk-design-line {
    left: 10px;
  }
}

/* ---------- Service cards ---------- */

.sgk-card {
  background: var(--sgk-white);
  position: relative;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  box-shadow: 0 1px 0 var(--sgk-line);
  border: 1px solid var(--sgk-line);
}

.sgk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(20, 20, 20, 0.08);
}

.sgk-card .wp-block-image {
  margin: 0;
  overflow: hidden;
}

.sgk-card .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.sgk-card:hover .wp-block-image img {
  transform: scale(1.07);
}

.sgk-card-num {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(20, 20, 20, 0.38);
  padding: 24px 28px 0;
  margin: 0;
}

.sgk-card-title {
  font-family: var(--sgk-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 28px 0;
  margin: 0 0 10px;
}

.sgk-card-text {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(23, 23, 21, 0.72);
  padding: 0 28px 30px;
  margin: 0;
}

/* main card = 店舗施工 を一回り強調 */
.sgk-card-main {
  border-top: 2px solid var(--sgk-ink);
}

/* ---------- Reason ---------- */

.sgk-reason-num {
  font-family: var(--sgk-en);
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
  font-weight: 500;
  color: rgba(20, 20, 20, 0.1);
  -webkit-text-stroke: 0;
  margin: 0 0 10px;
}

.sgk-reason-title {
  font-family: var(--sgk-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sgk-ink);
  margin: 0 0 12px;
  padding-bottom: 0;
  position: relative;
}

.sgk-reason-title::after {
  display: none;
}

.sgk-reason-text {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.68);
  margin: 0;
}

/* Dark band: keep light stroke numerals */
.sgk-dark .sgk-reason-num {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.sgk-dark .sgk-reason-title {
  color: #fff;
}

.sgk-dark .sgk-reason-text {
  color: rgba(255, 255, 255, 0.72);
}

.sgk-reason-grid {
  margin-top: 8px !important;
  gap: 28px !important;
}

.sgk-reason-grid .wp-block-column {
  margin-bottom: 0;
}

/* ---------- Works (custom post type) ---------- */

.sgk-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.sgk-works .wp-block-shortcode {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.sgk-works-empty {
  max-width: 1160px;
  margin: 0 auto 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.62);
  text-align: left;
}

.sgk-works .sgk-works-more,
.sgk-works > .wp-block-buttons {
  display: flex;
  justify-content: center !important;
  width: 100%;
  max-width: 1160px;
  margin: 48px auto 0 !important;
  clear: both;
}

.sgk-works .sgk-works-more .wp-block-button,
.sgk-works > .wp-block-buttons .wp-block-button {
  margin: 0;
}

@media (max-width: 999px) {
  .sgk-works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .sgk-works-grid { grid-template-columns: 1fr; }
}

.sgk-work-card {
  display: block;
  position: relative;
  z-index: 1;
  cursor: pointer;
  background: var(--sgk-white);
  text-decoration: none;
  color: var(--sgk-ink);
  border: 1px solid var(--sgk-line);
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.sgk-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
  border-color: rgba(154, 104, 52, 0.35);
  color: var(--sgk-ink);
  text-decoration: none;
}

.sgk-work-card:focus-visible {
  outline: 2px solid var(--sgk-copper);
  outline-offset: 3px;
}

.sgk-work-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sgk-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgk-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgk-work-card:hover .sgk-work-thumb img {
  transform: scale(1.07);
}

.sgk-work-noimg {
  font-family: var(--sgk-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(23, 23, 21, 0.35);
}

.sgk-work-body { padding: 22px 24px 24px; }

.sgk-work-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sgk-copper-deep);
  border: 1px solid var(--sgk-copper);
  padding: 3px 12px;
  margin: 0 0 12px;
}

.sgk-work-title {
  font-family: var(--sgk-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.sgk-work-excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(23, 23, 21, 0.66);
  margin: 0 0 14px;
}

.sgk-work-more {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--sgk-copper);
  margin: 0;
}

/* dark section variant */
.sgk-dark .sgk-work-card { background: var(--sgk-ink-soft); color: #fff; }
.sgk-dark .sgk-work-title { color: #fff; }
.sgk-dark .sgk-work-excerpt { color: rgba(255, 255, 255, 0.6); }

/* archive page */
.sgk-works-archive { padding: 56px 24px 104px; }

.sgk-works-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.sgk-works-filter a {
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 8px 22px;
  border: 1px solid var(--sgk-line);
  color: var(--sgk-ink);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sgk-works-filter a:hover,
.sgk-works-filter a.is-active {
  border-color: var(--sgk-copper);
  background: var(--sgk-copper);
  color: #fff;
}

.sgk-works-archive .navigation.pagination {
  margin-top: 48px;
  text-align: center;
}

.sgk-works-archive .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 0;
  margin: 0 3px;
  border: 1px solid var(--sgk-line);
  color: var(--sgk-ink);
  text-decoration: none;
  font-family: var(--sgk-en);
}

.sgk-works-archive .page-numbers.current,
.sgk-works-archive .page-numbers:hover {
  background: var(--sgk-ink);
  border-color: var(--sgk-ink);
  color: #fff;
}

/* single works — legacy selectors (single-works.php uses sgk-work-single-* ) */
.single-works .page-header,
.single-works .breadcrumb,
body.sgk-work-single-page .page-header,
body.sgk-work-single-page .breadcrumb {
  display: none !important;
}

.single-works .site-body-container,
.single-works .main-section,
body.sgk-work-single-page .site-body-container,
body.sgk-work-single-page .main-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.single-works .entry-header,
.single-works .entry-footer,
.single-works .page-link {
  display: none !important;
}

/* ---------- Single work detail ---------- */

.sgk-work-single {
  background: var(--sgk-bg);
}

.sgk-work-hero {
  position: relative;
  min-height: clamp(240px, 42vw, 480px);
  background-size: cover;
  background-position: center;
  background-color: var(--sgk-ink-soft);
}

.sgk-work-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.08) 0%,
    rgba(8, 8, 8, 0.28) 100%
  );
}

.sgk-work-single-head {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px 0;
}

.sgk-work-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 17, 0.45);
  margin-bottom: 20px;
}

.sgk-work-breadcrumb a {
  color: rgba(17, 17, 17, 0.55);
  text-decoration: none;
}

.sgk-work-breadcrumb a:hover {
  color: var(--sgk-copper-deep);
}

.sgk-work-single-cat {
  display: inline-block;
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sgk-copper-deep);
  border: 1px solid rgba(154, 104, 52, 0.35);
  padding: 6px 14px;
  margin: 0 0 18px;
}

.sgk-work-single-title {
  font-family: var(--sgk-serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
  color: var(--sgk-ink);
}

.sgk-work-single-lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(17, 17, 17, 0.62);
  margin: 0 0 8px;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-work-single-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 24px clamp(56px, 8vw, 88px);
}

body.sgk-work-single-page .main-section,
body.single-works .main-section {
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
}

body.sgk-work-single-page .site-body-container.container,
body.single-works .site-body-container.container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.sgk-work-single-content > h2.wp-block-heading {
  font-family: var(--sgk-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sgk-copper-deep);
  border: 0 !important;
  padding: 0 !important;
  margin: 48px 0 20px;
}

.sgk-work-single-content > h2.wp-block-heading:first-child {
  margin-top: 0;
}

.sgk-work-single-content > h2.wp-block-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--sgk-copper);
  margin-top: 14px;
}

.sgk-work-single-content > p {
  font-size: 15px;
  line-height: 2.05;
  color: rgba(17, 17, 17, 0.82);
  margin: 0 0 1.2em;
}

.sgk-work-single-content .wp-block-list {
  margin: 0 0 2em;
  padding: 0;
  list-style: none;
}

.sgk-work-single-content .wp-block-list li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--sgk-line);
  font-size: 14px;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.78);
}

.sgk-work-single-content .wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sgk-copper);
}

.sgk-work-single-content .wp-block-list li:last-child {
  border-bottom: 0;
}

.sgk-work-single-content .wp-block-gallery {
  max-width: 1100px;
  margin: 56px auto 0 !important;
  padding: 0 !important;
}

.sgk-work-single-content .wp-block-gallery.has-nested-images {
  gap: 10px !important;
}

.sgk-work-single-content .wp-block-gallery .wp-block-image {
  overflow: hidden;
  background: var(--sgk-bg-soft);
}

.sgk-work-single-content .wp-block-gallery .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgk-work-single-content .wp-block-gallery .wp-block-image:hover img {
  transform: scale(1.03);
}

.sgk-work-single-cta {
  background: var(--sgk-bg-soft);
  border-top: 1px solid var(--sgk-line);
  padding: clamp(56px, 8vw, 88px) 24px;
}

.sgk-work-single-cta-title {
  font-family: var(--sgk-serif);
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.sgk-work-single-cta-text {
  font-size: 14px;
  line-height: 2;
  color: rgba(17, 17, 17, 0.58);
  margin: 0 auto 32px;
  max-width: 820px;
}

.sgk-work-single-cta .sgk-contact-channels {
  max-width: 960px;
  margin: 0 auto;
}

.sgk-work-single-related {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 24px;
  border-top: 1px solid var(--sgk-line);
}

.sgk-work-single-related-title {
  font-family: var(--sgk-serif);
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.06em;
  margin: 0 0 36px;
}

.sgk-work-single-back {
  text-align: center;
  padding: 0 24px clamp(72px, 10vw, 104px);
}

.sgk-work-single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sgk-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--sgk-line);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.sgk-work-single-back-link:hover {
  color: var(--sgk-copper-deep);
  border-color: var(--sgk-copper);
}

@media (max-width: 781px) {
  .sgk-work-single-head,
  .sgk-work-single-body,
  .sgk-work-single-cta-title,
  .sgk-work-single-cta-text {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sgk-work-single-content .wp-block-gallery.has-nested-images {
    gap: 6px !important;
  }
}

/* legacy: [latest_posts_images] 等の画像整形 */
.sgk-works img:not(.sgk-work-thumb img) {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ---------- Flow ---------- */

.sgk-flow .wp-block-columns {
  position: relative;
  counter-reset: step;
}

.sgk-step {
  background: var(--sgk-white);
  border: 1px solid var(--sgk-line);
  padding: 34px 26px 30px;
  position: relative;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.sgk-step:hover {
  border-color: var(--sgk-copper);
  transform: translateY(-4px);
}

.sgk-step-num {
  font-family: var(--sgk-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--sgk-copper);
  margin: 0 0 12px;
}

.sgk-step-title {
  font-family: var(--sgk-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.sgk-step-text {
  font-size: 13px;
  line-height: 2;
  color: rgba(23, 23, 21, 0.7);
  margin: 0;
}

.sgk-flow-v4 .sgk-step {
  opacity: 1;
  background: var(--sgk-white);
}

.sgk-flow-v4 .sgk-step.is-active {
  opacity: 1;
  border-color: var(--sgk-ink);
}

.sgk-flow-v4 .sgk-step-num {
  color: rgba(20, 20, 20, 0.45);
}

.sgk-flow-v4 .sgk-step.is-active .sgk-step-num {
  color: var(--sgk-copper);
}

.sgk-stagger > .sgk-card,
.sgk-stagger > .sgk-bento-side {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgk-stagger.is-visible > .sgk-card,
.sgk-stagger.is-visible > .sgk-bento-side {
  opacity: 1;
  transform: none;
}

/* ---------- CTA band ---------- */

.sgk-cta {
  min-height: clamp(380px, 44vw, 520px) !important;
  display: flex !important;
  align-items: center;
}

.sgk-cta .wp-block-cover__background {
  background: linear-gradient(
    105deg,
    rgba(17, 17, 17, 0.94) 0%,
    rgba(17, 17, 17, 0.72) 52%,
    rgba(17, 17, 17, 0.82) 100%
  ) !important;
  opacity: 1 !important;
}

.sgk-cta .wp-block-cover__inner-container {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 24px;
}

.sgk-cta-title {
  font-family: var(--sgk-serif);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: left;
  max-width: 640px;
  margin: 0 0 32px;
  border: 0 !important;
}

.sgk-cta .wp-block-buttons {
  justify-content: flex-start !important;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.sgk-cta .wp-block-button {
  margin: 0;
}

.sgk-cta .wp-block-button__link {
  border: 0 !important;
  box-shadow: none !important;
}

.sgk-cta .sgk-btn:not(.sgk-btn-line) .wp-block-button__link {
  background: #fff !important;
  color: var(--sgk-ink) !important;
}

.sgk-cta .sgk-btn:not(.sgk-btn-line) .wp-block-button__link:hover {
  background: var(--sgk-copper) !important;
  color: #fff !important;
}

.sgk-cta .sgk-btn-line .wp-block-button__link {
  min-width: 180px;
}

/* ---------- Contact ---------- */

.sgk-contact-info {
  max-width: 960px;
  margin: 0 auto 40px;
  border: 1px solid var(--sgk-line);
  background: var(--sgk-bg-soft);
}

.sgk-contact-info-heading {
  margin: 0;
  padding: 14px 24px;
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  border-bottom: 1px solid var(--sgk-line);
  background: var(--sgk-white);
}

.sgk-contact-info-list {
  margin: 0;
  padding: 0;
}

.sgk-contact-info-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-contact-info-row:last-child {
  border-bottom: 0;
}

.sgk-contact-info-row dt {
  margin: 0;
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(17, 17, 17, 0.42);
  padding-top: 2px;
}

.sgk-contact-info-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sgk-ink);
}

.sgk-contact-info-address dd {
  letter-spacing: 0.04em;
}

.sgk-contact-info-tel dd {
  font-family: var(--sgk-en);
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.sgk-contact-info-tel dd a {
  color: var(--sgk-ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sgk-contact-info-tel dd a:hover {
  color: var(--sgk-copper-deep);
}

.sgk-contact-page-btn {
  margin-top: 8px !important;
}

.sgk-contact .sgk-contact-page-btn,
.sgk-contact > .wp-block-buttons {
  justify-content: center !important;
}

.sgk-contact-card {
  background: var(--sgk-white);
  border: 1px solid var(--sgk-line);
  box-shadow: none;
  padding: 0;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.sgk-contact-card .sgk-contact-info {
  max-width: none;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--sgk-line);
  background: var(--sgk-bg-soft);
}

.sgk-contact-card .sgk-contact-form-wrap,
.sgk-contact-card .wp-block-shortcode:last-child,
.sgk-contact-card .wpforms-container {
  padding: 40px 34px 48px;
}

.sgk-contact-card .wp-block-shortcode:has(.sgk-contact-info) {
  margin: 0;
}

.sgk-form-guide {
  padding: 24px 34px 0;
  border-bottom: 1px solid var(--sgk-line);
  background: var(--sgk-white);
}

.sgk-form-guide-lead {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sgk-ink);
}

.sgk-form-guide-steps {
  margin: 0 0 16px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(20, 20, 20, 0.72);
}

.sgk-form-guide-note {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(20, 20, 20, 0.55);
}

.sgk-contact-card .wp-block-columns { margin-bottom: 0; }

.sgk-tel {
  font-family: var(--sgk-en);
  font-size: 30px;
  letter-spacing: 0.08em;
}

.sgk-tel a { color: var(--sgk-ink); text-decoration: none; }
.sgk-tel a:hover { color: var(--sgk-copper-deep); }

.sgk-map {
  margin: 0;
  line-height: 0;
}

.sgk-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  /* カラー表示（旧: デザイン用 grayscale フィルター） */
}

/* ---------- Contact channels (LINE / Tel / Form) ---------- */

.sgk-contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 48px;
}

.sgk-channel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 22px;
  border: 1px solid var(--sgk-line);
  background: var(--sgk-white);
  text-decoration: none;
  color: var(--sgk-ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sgk-channel:hover {
  border-color: var(--sgk-copper);
  box-shadow: 0 12px 32px rgba(23, 23, 21, 0.08);
  transform: translateY(-2px);
}

.sgk-channel-line {
  border-color: rgba(6, 199, 85, 0.35);
  background: linear-gradient(180deg, rgba(6, 199, 85, 0.06), var(--sgk-white));
}

.sgk-channel-line:hover {
  border-color: #06c755;
}

.sgk-channel-label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sgk-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: #06c755;
  border: 1px solid rgba(6, 199, 85, 0.35);
  padding: 4px 10px;
}

.sgk-channel-title {
  font-family: var(--sgk-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sgk-channel-text {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(23, 23, 21, 0.68);
  flex: 1;
}

.sgk-channel-tel-num {
  display: block;
  margin-top: 6px;
  font-family: var(--sgk-en);
  font-size: 20px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--sgk-ink);
}

.sgk-channel-action {
  font-family: var(--sgk-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sgk-copper-deep);
  margin-top: 8px;
}

.sgk-channel-line .sgk-channel-action {
  color: #059647;
}

.sgk-btn-line .wp-block-button__link {
  background: #06c755 !important;
  color: #fff !important;
  border: 0 !important;
}

.sgk-btn-line .wp-block-button__link:hover {
  background: #05a847 !important;
}

/* ---------- Mobile sticky contact bar ---------- */

.sgk-sticky-bar {
  display: none;
}

@media (max-width: 781px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .sgk-sticky-bar {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--sgk-line);
    box-shadow: 0 -10px 28px rgba(23, 23, 21, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .sgk-sticky-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px) / 3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    color: var(--sgk-ink);
    border-right: 1px solid var(--sgk-line);
  }

  .sgk-sticky-bar a:last-child {
    border-right: 0;
  }

  .sgk-sticky-bar__line {
    background: #06c755;
    color: #fff !important;
    font-size: 12px;
  }

  .sgk-sticky-bar__tel {
    background: var(--sgk-bg-soft);
  }

  .sgk-sticky-bar__form {
    background: var(--sgk-ink);
    color: #fff !important;
  }

  .sgk-contact-channels {
    grid-template-columns: 1fr;
  }

  .sgk-contact-info-row {
    grid-template-columns: 72px 1fr;
    padding: 14px 18px;
    gap: 10px 14px;
  }

  .sgk-contact-info-heading {
    padding: 12px 18px;
  }

  .sgk-contact-card .sgk-form-guide + .wp-block-shortcode .wpforms-container,
  .sgk-contact-card .wpforms-container {
    padding: 28px 20px 36px;
  }

  .sgk-form-guide {
    padding: 20px 20px 0;
  }

  .sgk-footer-contact-row-tel dd {
    font-size: 20px;
  }
}

/* ---------- Footer ---------- */

.sgk-footer {
  background: var(--sgk-ink);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
}

.sgk-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sgk-footer a:hover {
  color: var(--sgk-copper);
}

.sgk-footer-main {
  padding: 72px 24px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sgk-footer-main-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 48px;
  align-items: start;
}

.sgk-footer-aside {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.sgk-footer-logo {
  font-family: var(--sgk-en);
  font-size: 28px;
  letter-spacing: 0.28em;
  margin: 0 0 16px;
  color: #fff;
}

.sgk-footer-tagline {
  font-family: var(--sgk-serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
}

.sgk-footer-address {
  font-size: 13px;
  line-height: 2;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.sgk-footer-rep {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.sgk-footer-nav-title {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.38em;
  color: var(--sgk-copper);
  margin: 0 0 20px;
}

.sgk-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgk-footer-nav li {
  margin: 0 0 12px;
}

.sgk-footer-nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.sgk-footer-tel {
  font-family: var(--sgk-en);
  font-size: 26px;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.sgk-footer-tel a { color: #fff; }

.sgk-footer-contact-list {
  margin: 0 0 4px;
  padding: 0;
}

.sgk-footer-contact-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  margin: 0 0 10px;
  align-items: baseline;
}

.sgk-footer-contact-row dt {
  margin: 0;
  font-family: var(--sgk-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sgk-copper);
}

.sgk-footer-contact-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.sgk-footer-contact-row-tel dd {
  font-family: var(--sgk-en);
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.sgk-footer-contact-row-tel dd a {
  color: #fff;
}

.sgk-footer-fax,
.sgk-footer-hours {
  font-size: 13px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

.sgk-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.sgk-footer-cta {
  display: block;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--sgk-copper);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sgk-copper) !important;
  text-align: center;
  box-sizing: border-box;
}

.sgk-footer-cta:hover {
  background: var(--sgk-copper);
  color: #fff !important;
}

.sgk-footer-line {
  display: block;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #06c755;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #06c755 !important;
  text-align: center;
  box-sizing: border-box;
}

.sgk-footer-line:hover {
  background: #06c755;
  color: #fff !important;
}

.sgk-footer-sns {
  font-size: 13px;
  margin: 8px 0 0;
  word-break: break-word;
}

.sgk-footer-bottom {
  padding: 24px;
}

.sgk-footer-bottom-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sgk-footer-copy,
.sgk-footer-sub {
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.sgk-footer-sub span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.25);
}

/* Hide default Lightning footer widgets/nav when using sgk footer */
.sgk-footer ~ .site-footer-copyright,
.sgk-footer .footer-nav,
.sgk-footer .site-footer-content {
  display: none;
}

@media (max-width: 899px) {
  .sgk-footer-main-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sgk-footer-aside {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .sgk-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 781px) {
  .sgk-footer-main {
    padding: 40px 20px 28px;
  }

  .sgk-footer-bottom {
    padding: 18px 20px 24px;
  }

  .sgk-footer-brand {
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sgk-footer-aside {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sgk-footer-nav,
  .sgk-footer-contact {
    text-align: left;
  }

  .sgk-footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    width: 100%;
  }

  .sgk-footer-nav li {
    margin: 0;
  }

  .sgk-footer-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sgk-footer-contact-row {
    grid-template-columns: 44px 1fr;
  }

  .sgk-footer-logo {
    font-size: 22px;
    letter-spacing: 0.16em;
  }

  .sgk-footer-tagline {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .sgk-footer-address {
    font-size: 12px;
    line-height: 1.85;
  }

  .sgk-footer-tel {
    font-size: 22px;
  }

  .sgk-footer-actions {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sgk-footer-line,
  .sgk-footer-cta {
    width: 100%;
  }

  .sgk-footer-sub {
    line-height: 1.8;
    font-size: 12px;
  }

  body:has(.sgk-sticky-bar) .sgk-footer-bottom {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  /* Lightning mobile menu — SUGIKEN tone */
  #vk-mobile-nav-menu-btn {
    top: auto !important;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    right: 12px !important;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--sgk-ink) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.22);
    font-size: 10px !important;
    letter-spacing: 0.08em;
    z-index: 9998;
  }

  #vk-mobile-nav,
  .vk-mobile-nav {
    background: var(--sgk-ink) !important;
  }

  .vk-mobile-nav .acc-btn,
  .vk-mobile-nav .menu-item a,
  .vk-mobile-nav .global-nav-name {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .vk-mobile-nav .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .vk-mobile-nav .menu-item a {
    padding: 16px 20px !important;
    font-size: 14px !important;
    letter-spacing: 0.08em;
  }

  .vk-mobile-nav .menu-item.current-menu-item > a,
  .vk-mobile-nav .menu-item.current_page_item > a {
    color: var(--sgk-copper) !important;
  }
}

/* company profile table */
.sgk-profile-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sgk-profile-table th,
.sgk-profile-table td {
  border-bottom: 1px solid var(--sgk-line);
  padding: 18px 16px;
  vertical-align: top;
  line-height: 1.9;
}

.sgk-profile-table th {
  width: 28%;
  font-family: var(--sgk-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sgk-ink);
  background: var(--sgk-bg-soft);
}

.sgk-profile-table td a {
  color: var(--sgk-copper-deep);
  text-decoration: none;
}

.sgk-profile-table td a:hover {
  text-decoration: underline;
}

.sgk-inline-cta {
  font-family: var(--sgk-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--sgk-copper-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--sgk-copper);
  padding-bottom: 4px;
}

.sgk-inline-cta:hover {
  color: var(--sgk-ink);
}

@media (max-width: 781px) {
  .sgk-profile-table th,
  .sgk-profile-table td {
    display: block;
    width: 100%;
  }
  .sgk-profile-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }
}

/* WPForms を馴染ませる */
.sgk-contact .wpforms-container .wpforms-field-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.sgk-contact .wpforms-container .wpforms-required-label {
  color: var(--sgk-copper-deep);
}

.sgk-contact .wpforms-container .wpforms-field-description {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(20, 20, 20, 0.55);
  margin-top: 6px;
}

.sgk-contact .wpforms-container input[type="text"],
.sgk-contact .wpforms-container input[type="email"],
.sgk-contact .wpforms-container textarea,
.sgk-contact .wpforms-container select {
  border: 0 !important;
  border-bottom: 1px solid var(--sgk-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 12px 4px !important;
  transition: border-color 0.3s ease;
}

.sgk-contact .wpforms-container input:focus,
.sgk-contact .wpforms-container textarea:focus {
  border-bottom-color: var(--sgk-copper) !important;
  box-shadow: none !important;
  outline: none;
}

.sgk-contact .wpforms-container button[type="submit"] {
  display: block !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 24px auto 0 !important;
  background: var(--sgk-ink) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 16px 32px !important;
  letter-spacing: 0.12em !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.35s ease !important;
}

.sgk-contact .wpforms-container button[type="submit"]:hover {
  background: var(--sgk-copper) !important;
}

/* ---------- Legal (privacy policy) ---------- */

.sgk-legal-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.78);
}

.sgk-legal-updated {
  margin: 0 0 32px;
  font-size: 13px;
  color: rgba(20, 20, 20, 0.5);
}

.sgk-legal-body h2 {
  font-family: var(--sgk-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-legal-body h2:first-of-type {
  margin-top: 0;
}

.sgk-legal-body ul,
.sgk-legal-body ol {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.sgk-legal-body li {
  margin-bottom: 8px;
}

.sgk-legal-body a {
  color: var(--sgk-copper-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 104, 52, 0.35);
}

.sgk-legal-body a:hover {
  border-bottom-color: var(--sgk-copper);
}

/* ---------- ZEH page (report layout — not service-page pattern) ---------- */

.sgk-zeh-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.sgk-zeh-doc__kicker {
  font-family: var(--sgk-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sgk-copper-deep);
  margin: 56px 0 12px;
}

.sgk-zeh-doc__title {
  font-family: var(--sgk-serif);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--sgk-ink);
  margin: 0 0 20px;
  border-left: 3px solid var(--sgk-copper);
  padding-left: 18px;
}

.sgk-zeh-doc__lead {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(20, 20, 20, 0.7);
  margin: 0 0 40px;
}

.sgk-zeh-doc__figure {
  margin: 0 0 48px;
}

.sgk-zeh-doc__figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.sgk-zeh-doc__h2 {
  font-family: var(--sgk-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-zeh-doc__body {
  font-size: 14.5px;
  line-height: 2.15;
  color: rgba(20, 20, 20, 0.78);
  margin: 0 0 20px;
}

.sgk-zeh-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 28px 0 40px;
  border-top: 1px solid var(--sgk-ink);
  border-bottom: 1px solid var(--sgk-ink);
}

.sgk-zeh-pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-zeh-pillar:last-child {
  border-bottom: 0;
}

.sgk-zeh-pillar__n {
  font-family: var(--sgk-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--sgk-copper-deep);
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding-top: 2px;
}

.sgk-zeh-pillar__t {
  font-family: var(--sgk-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.sgk-zeh-pillar__d {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(20, 20, 20, 0.65);
  margin: 0;
}

.sgk-zeh-report {
  background: var(--sgk-paper);
  border: 1px solid var(--sgk-line);
  padding: 28px 22px 32px;
  margin: 36px 0;
}

.sgk-zeh-report__label {
  font-family: var(--sgk-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.45);
  margin: 0 0 8px;
}

.sgk-zeh-report__h {
  font-family: var(--sgk-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}

.sgk-zeh-report .sgk-zeh {
  margin-bottom: 28px;
}

.sgk-zeh-report .sgk-zeh:last-child {
  margin-bottom: 0;
}

.sgk-zeh-report h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.sgk-zeh table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sgk-zeh th,
.sgk-zeh td {
  border: 1px solid var(--sgk-line);
  text-align: center;
  padding: 10px 6px;
}

.sgk-zeh thead th {
  background: var(--sgk-ink);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.sgk-zeh tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.7); }

.sgk-zeh tbody tr:last-child td:last-child {
  color: var(--sgk-copper-deep);
  font-weight: 700;
}

.sgk-zeh-note {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(20, 20, 20, 0.5);
  margin: 12px 0 0;
}

.sgk-zeh-policy {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: zeh-policy;
}

.sgk-zeh-policy li {
  counter-increment: zeh-policy;
  position: relative;
  padding: 22px 0 22px 52px;
  border-bottom: 1px solid var(--sgk-line);
}

.sgk-zeh-policy li::before {
  content: counter(zeh-policy, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--sgk-en);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--sgk-copper-deep);
}

.sgk-zeh-policy strong {
  display: block;
  font-family: var(--sgk-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.sgk-zeh-policy p {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(20, 20, 20, 0.7);
  margin: 0;
}

.sgk-zeh-foot {
  margin-top: 48px;
  padding: 28px 24px;
  background: var(--sgk-ink);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.sgk-zeh-foot p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
}

.sgk-zeh-foot a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  margin: 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.sgk-zeh-foot a:hover {
  border-bottom-color: var(--sgk-copper);
  color: var(--sgk-copper);
}

@media (min-width: 782px) {
  .sgk-zeh-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .sgk-zeh-pillar {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    border-bottom: 0;
    border-right: 1px solid var(--sgk-line);
  }

  .sgk-zeh-pillar:last-child {
    border-right: 0;
  }

  .sgk-zeh-report {
    padding: 36px 40px 40px;
  }
}

@media (max-width: 600px) {
  .sgk-zeh {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sgk-zeh table {
    min-width: 520px;
  }
}

/* ---------- FAQ ---------- */

.sgk-faq-item {
  background: var(--sgk-white);
  border: 1px solid var(--sgk-line);
  margin: 0 0 12px;
  padding: 0;
}

.sgk-faq-item summary {
  font-family: var(--sgk-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.sgk-faq-item summary::-webkit-details-marker { display: none; }

.sgk-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sgk-copper);
  font-family: var(--sgk-en);
  font-size: 18px;
}

.sgk-faq-item[open] summary::after { content: "–"; }

.sgk-faq-item .wp-block-details__content,
.sgk-faq-item > p,
.sgk-faq-item p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(23, 23, 21, 0.72);
}

/* ---------- Page head (blog / sub pages) ---------- */

.sgk-pagehead {
  padding: 88px 24px 56px;
  background: var(--sgk-bg);
}

/* ---------- Reveal animation (always visible — broken IO must not hide content) ---------- */

.sgk-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sgk-reveal { opacity: 1; transform: none; transition: none; }
  .sgk-hero::before { animation: none; }
}

/* ---------- Responsive ---------- */

.sgk-br-sp { display: none; }

@media (max-width: 781px) {
  .sgk-section { padding: 72px 20px; }
  .sgk-hero-v4.wp-block-cover { min-height: 620px !important; }
  .sgk-hero .wp-block-cover__inner-container {
    padding: 88px 20px 96px;
    box-sizing: border-box;
  }
  .sgk-hero-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
  }
  .sgk-hero-title {
    font-size: clamp(21px, 5.8vw, 28px);
    line-height: 1.72;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }
  .sgk-hero-title em {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  .sgk-br-sp { display: inline; }
  .sgk-hero-lead {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 32px;
  }
  .sgk-hero .sgk-btns {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
    width: 100%;
  }
  .sgk-hero .sgk-btns .wp-block-button {
    width: 100%;
    margin: 0;
  }
  .sgk-hero .sgk-btns .wp-block-button__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .sgk-message-v4 .sgk-statement {
    font-size: clamp(19px, 5.2vw, 24px);
    line-height: 2;
    letter-spacing: 0.04em;
    padding: 0 4px;
  }
  .sgk-cta-title {
    font-size: clamp(20px, 5.4vw, 26px);
    line-height: 1.75;
    letter-spacing: 0.04em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .sgk-cta .wp-block-buttons {
    justify-content: center !important;
  }

  .sgk-cta .wp-block-button,
  .sgk-cta .wp-block-button__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .sgk-hero::after, .sgk-hero::before { display: none; }
  .sgk-reason-num { font-size: 42px; }
  .sgk-stats { margin-top: -30px; }
  .sgk-contact-card { padding: 0; }
}
