/*
Theme Name: Komata Theme
Theme URI: https://dev.komata-koumuten.co.jp/
Author: 株式会社古俣工務店
Author URI: https://dev.komata-koumuten.co.jp/
Description: 株式会社古俣工務店 公式サイト カスタムテーマ
Version: 1.0.0
License: Proprietary
Text Domain: komata-theme
*/

/* =============================================
   CSS Variables & Reset
   ============================================= */
:root {
  --navy: #1a2e44;
  --navy-dark: #111f30;
  --white: #ffffff;
  --silver: #c0c0c0;
  --light-gray: #e8e8e8;
  --mid-gray: #999;
  --text-dark: #1a1a2e;
  --section-gap: 140px;
  --font-en: 'Barlow', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --header-h: 72px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   Loading Screen
   ============================================= */
#loading {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: loadFadeIn 0.8s ease forwards;
}
.loading-logo span {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--white);
}
.loading-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.loading-line {
  width: 0;
  height: 1px;
  background: var(--silver);
  margin-top: 28px;
  animation: loadLine 1.2s ease 0.4s forwards;
}
@keyframes loadFadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes loadLine { from { width:0; } to { width:120px; } }

/* =============================================
   Header
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.5s ease;
}
#header.scrolled .header-logo img { filter: none; }
.header-logo-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color 0.5s ease;
  line-height: 1.3;
}
#header.scrolled .header-logo-text { color: var(--navy); }

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}
#header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--white) !important; }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--white) !important; }

/* Nav Menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,46,68,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}
.nav-overlay.active { opacity: 1; visibility: visible; }
.nav-menu {
  position: fixed;
  top: 0; right: 0;
  width: 50%;
  max-width: 480px;
  height: 100vh;
  background: var(--navy);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 100px 48px 48px;
}
.nav-menu.active { transform: translateX(0); }
.nav-menu > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-menu.active > ul > li { opacity: 1; transform: translateX(0); }
.nav-menu.active > ul > li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu.active > ul > li:nth-child(2) { transition-delay: 0.15s; }
.nav-menu.active > ul > li:nth-child(3) { transition-delay: 0.2s; }
.nav-menu.active > ul > li:nth-child(4) { transition-delay: 0.25s; }
.nav-menu.active > ul > li:nth-child(5) { transition-delay: 0.3s; }
.nav-menu.active > ul > li:nth-child(6) { transition-delay: 0.35s; }
.nav-menu > ul > li > a {
  display: block;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: padding-left 0.3s ease, color 0.3s ease;
}
.nav-menu > ul > li > a:hover { padding-left: 8px; color: var(--silver); }
.nav-sub { padding-bottom: 10px; }
.nav-sub li a {
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
  position: relative;
}
.nav-sub li a::before {
  content: '—';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}
.nav-sub li a:hover { color: var(--silver); }
.nav-en {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-en);
  margin-top: 2px;
}
.nav-contact-btn {
  display: block;
  margin-top: 32px;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  text-transform: uppercase;
}
.nav-contact-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* =============================================
   Scroll Fade In
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   Section Common
   ============================================= */
.section { padding: var(--section-gap) 0; position: relative; overflow: hidden; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 200;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.section-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--mid-gray);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--navy);
  line-height: 1.4;
}
.section-title-wrap { margin-bottom: 64px; }
.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: var(--font-en);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-ghost-white { border-color: var(--white); color: var(--white); }
.btn-ghost-white:hover { background: var(--white); color: var(--navy); }

/* =============================================
   FV
   ============================================= */
#fv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease;
}
#fv.loaded .fv-bg { transform: scale(1); }
.fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,35,0.52);
}
.fv-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.fv-catch {
  font-family: var(--font-jp);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fvCatch 1.2s ease 1.8s forwards;
}
.fv-sub {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 48px;
  opacity: 0;
  animation: fvCatch 1s ease 2.2s forwards;
}
.fv-btn-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fvCatch 1s ease 2.6s forwards;
}
@keyframes fvCatch {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}
.fv-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fvCatch 1s ease 3s forwards;
}
.fv-scroll span {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.fv-scroll-line {
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.fv-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  animation: scrollLine 1.8s ease-in-out infinite 3s;
}
@keyframes scrollLine { 0% { top:-100%; } 100% { top:100%; } }

/* =============================================
   About
   ============================================= */
#about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img { position: relative; overflow: hidden; }
.about-img::before {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--light-gray);
  z-index: -1;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img:hover img { transform: scale(1.03); }
.about-text-block { padding: 20px 0; }
.about-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2.1;
  color: #444;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.about-sign {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 36px;
}
.about-sign strong { font-weight: 500; font-size: 0.95rem; }

/* =============================================
   Numbers
   ============================================= */
#numbers { background: var(--navy); padding: 100px 0; overflow: hidden; }
#numbers .section-bg-text { color: var(--white); opacity: 0.04; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.numbers-item { text-align: center; padding: 60px 40px; position: relative; }
.numbers-item + .numbers-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 60px; width: 1px;
  background: rgba(255,255,255,0.15);
}
.numbers-num {
  font-family: var(--font-en);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 100;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.numbers-unit { font-family: var(--font-jp); font-size: 1.2rem; font-weight: 300; }
.numbers-label { font-size: 0.75rem; font-weight: 300; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* =============================================
   Strength
   ============================================= */
#strength { background: #f8f8f8; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.strength-card {
  background: var(--white);
  padding: 44px 36px 40px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-top: 3px solid var(--navy);
}
.strength-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.strength-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 100;
  color: var(--light-gray);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  letter-spacing: -0.04em;
}
.strength-icon { width: 44px; height: 44px; margin-bottom: 24px; color: var(--navy); }
.strength-card h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--navy); }
.strength-card p { font-size: 0.85rem; font-weight: 300; line-height: 2; color: #666; }

/* =============================================
   Before / After
   ============================================= */
#beforeafter { background: var(--white); }
.ba-container { max-width: 900px; margin: 0 auto; }
.ba-slider-wrap {
  position: relative; overflow: hidden;
  cursor: col-resize; user-select: none;
  aspect-ratio: 16/9;
}
.ba-after, .ba-before { position: absolute; inset: 0; overflow: hidden; }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { width: 50%; border-right: 2px solid var(--white); }
.ba-handle {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 100%;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.ba-handle-line { width: 2px; height: 100%; background: var(--white); position: absolute; left: 50%; transform: translateX(-50%); }
.ba-handle-btn {
  width: 40px; height: 40px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.ba-handle-btn svg { width: 18px; height: 18px; color: var(--navy); }
.ba-label {
  position: absolute; top: 16px;
  font-family: var(--font-en); font-size: 0.65rem; letter-spacing: 0.25em;
  color: var(--white); background: rgba(0,0,0,0.4); padding: 5px 12px; text-transform: uppercase;
}
.ba-label.after-label { left: 16px; }
.ba-label.before-label { right: 16px; }
.ba-caption { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--mid-gray); letter-spacing: 0.1em; }
.ba-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.ba-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--light-gray); cursor: pointer; border: none;
  transition: background 0.3s ease;
}
.ba-dot.active { background: var(--navy); }

/* =============================================
   Works
   ============================================= */
#works { background: #f8f8f8; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.works-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.works-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.works-card:hover img { transform: scale(1.06); }
.works-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,20,35,0);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px;
  transition: background 0.4s ease;
}
.works-card:hover .works-card-overlay { background: rgba(10,20,35,0.72); }
.works-card-title {
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.1em; color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.works-card-cat {
  font-family: var(--font-en); font-size: 0.65rem; letter-spacing: 0.25em; color: rgba(255,255,255,0.6);
  margin-bottom: 6px; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}
.works-card:hover .works-card-title,
.works-card:hover .works-card-cat { opacity: 1; transform: translateY(0); }
.works-more { text-align: center; }

/* =============================================
   Gallery
   ============================================= */
#gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 48px; }
.gallery-item { overflow: hidden; aspect-ratio: 1; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,46,68,0); transition: background 0.4s ease;
}
.gallery-item:hover::after { background: rgba(26,46,68,0.25); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
#lightbox.active { opacity: 1; visibility: visible; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 2rem; cursor: pointer;
  line-height: 1; opacity: 0.8; transition: opacity 0.3s;
  background: none; border: none;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s ease; font-size: 1.2rem;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =============================================
   Voice
   ============================================= */
#voice { background: #f5f5f5; }
.voice-slider { position: relative; overflow: hidden; }
.voice-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.voice-card { min-width: 100%; padding: 0 10%; }
.voice-card-inner { background: var(--white); padding: 48px; position: relative; max-width: 760px; margin: 0 auto; }
.voice-quote { font-family: var(--font-en); font-size: 5rem; font-weight: 100; color: var(--light-gray); line-height: 0.6; margin-bottom: 20px; }
.voice-text { font-size: 0.9rem; line-height: 2.2; color: #555; font-weight: 300; margin-bottom: 28px; }
.voice-stars { color: var(--navy); letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 14px; }
.voice-name { font-size: 0.8rem; letter-spacing: 0.15em; color: var(--mid-gray); }
.voice-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.voice-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--navy); background: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; color: var(--navy);
}
.voice-btn:hover { background: var(--navy); color: var(--white); }
.voice-btn svg { width: 20px; height: 20px; }
.voice-dots { display: flex; gap: 8px; }
.voice-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--light-gray); border: none; cursor: pointer;
  transition: background 0.3s ease;
}
.voice-dot.active { background: var(--navy); }

/* =============================================
   Qualification
   ============================================= */
#qualification { background: var(--white); }
.qual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.qual-block h3 {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em;
  color: var(--navy); text-transform: uppercase; font-family: var(--font-en);
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--light-gray);
}
.qual-permit p { font-size: 0.85rem; line-height: 1.8; color: #555; font-weight: 300; margin-bottom: 8px; }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qual-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #f8f8f8; }
.qual-item-num { font-family: var(--font-en); font-size: 1.4rem; font-weight: 200; color: var(--navy); line-height: 1; min-width: 36px; }
.qual-item-text { font-size: 0.78rem; font-weight: 400; color: var(--text-dark); line-height: 1.5; }
.qual-full { grid-column: 1 / -1; }
.qual-iso {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px; background: var(--navy); color: var(--white);
}
.qual-iso-icon svg { width: 36px; height: 36px; }
.qual-iso-text h4 { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.12em; margin-bottom: 4px; }
.qual-iso-text p { font-size: 0.78rem; font-weight: 300; opacity: 0.7; }

/* =============================================
   Awards
   ============================================= */
#awards { background: #f8f8f8; }
.awards-list { max-width: 800px; margin: 0 auto; }
.award-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--light-gray); align-items: start; }
.award-year { font-family: var(--font-en); font-size: 1.2rem; font-weight: 200; color: var(--navy); letter-spacing: 0.05em; line-height: 1.4; }
.award-name { font-size: 0.9rem; font-weight: 400; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 4px; }
.award-note { font-size: 0.78rem; font-weight: 300; color: var(--mid-gray); }

/* =============================================
   FAQ
   ============================================= */
#faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-q {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer;
  font-size: 0.9rem; font-weight: 400; letter-spacing: 0.06em;
  color: var(--text-dark); transition: color 0.3s ease; list-style: none;
}
.faq-q:hover { color: var(--navy); }
.faq-q-mark { font-family: var(--font-en); font-size: 1.1rem; font-weight: 300; color: var(--navy); min-width: 24px; }
.faq-q-text { flex: 1; }
.faq-icon { width: 24px; height: 24px; position: relative; min-width: 24px; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute;
  background: var(--navy); transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before { width: 14px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after { width: 1px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner { padding: 0 0 24px 44px; font-size: 0.85rem; font-weight: 300; line-height: 2; color: #666; }

/* =============================================
   Column
   ============================================= */
#column { background: #f8f8f8; }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; }
.column-card { background: var(--white); overflow: hidden; transition: box-shadow 0.35s ease; }
.column-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.column-img { overflow: hidden; aspect-ratio: 16/10; }
.column-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.column-card:hover .column-img img { transform: scale(1.05); }
.column-body { padding: 22px 24px 28px; }
.column-date { font-family: var(--font-en); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--mid-gray); margin-bottom: 8px; }
.column-title { font-size: 0.87rem; font-weight: 400; line-height: 1.7; letter-spacing: 0.05em; color: var(--text-dark); }

/* =============================================
   News
   ============================================= */
#news { background: var(--white); }
.news-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.news-filter-btn {
  padding: 7px 20px;
  border: 1px solid var(--light-gray); background: none;
  font-size: 0.72rem; letter-spacing: 0.15em; cursor: pointer;
  transition: all 0.3s ease; font-family: var(--font-en); color: var(--mid-gray);
}
.news-filter-btn.active, .news-filter-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.news-list { margin-bottom: 48px; }
.news-item {
  display: grid; grid-template-columns: 120px 100px 1fr;
  align-items: center; gap: 24px; padding: 20px 0;
  border-bottom: 1px solid var(--light-gray); transition: background 0.3s ease;
}
.news-item:hover { background: #fafafa; padding-left: 8px; }
.news-date { font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--mid-gray); }
.news-cat { display: inline-block; padding: 4px 12px; background: var(--navy); color: var(--white); font-size: 0.65rem; letter-spacing: 0.15em; white-space: nowrap; }
.news-title { font-size: 0.87rem; font-weight: 400; letter-spacing: 0.06em; color: var(--text-dark); transition: color 0.3s ease; }
.news-item:hover .news-title { color: var(--navy); }

/* =============================================
   Recruit
   ============================================= */
#recruit { position: relative; min-height: 500px; display: flex; align-items: center; overflow: hidden; }
.recruit-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); }
.recruit-overlay { position: absolute; inset: 0; background: rgba(10,20,35,0.72); }
.recruit-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 120px 40px; }
.recruit-catch { font-family: var(--font-jp); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300; letter-spacing: 0.2em; color: var(--white); margin-bottom: 24px; line-height: 1.8; }
.recruit-text { font-size: 0.88rem; font-weight: 300; letter-spacing: 0.12em; color: rgba(255,255,255,0.75); margin-bottom: 40px; line-height: 2; }

/* =============================================
   Footer
   ============================================= */
#footer { background: var(--navy); color: var(--white); }
.footer-map { width: 100%; height: 320px; }
.footer-map iframe { width: 100%; height: 100%; display: block; filter: grayscale(50%); }
.footer-main { padding: 72px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 60px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo-text { font-size: 0.85rem; font-weight: 300; letter-spacing: 0.15em; }
.footer-info p { font-size: 0.78rem; font-weight: 300; line-height: 2; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.footer-info a { color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer-info a:hover { color: var(--white); }
.footer-nav h4, .footer-nav2 h4 {
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  font-family: var(--font-en); color: rgba(255,255,255,0.4);
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav ul li a, .footer-nav2 ul li a {
  display: block; font-size: 0.8rem; font-weight: 300;
  color: rgba(255,255,255,0.6); letter-spacing: 0.08em;
  padding: 6px 0; transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-nav ul li a:hover, .footer-nav2 ul li a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-sns { display: flex; gap: 14px; }
.footer-sns a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.3s ease;
}
.footer-sns a:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }
.footer-sns svg { width: 16px; height: 16px; }
.footer-copy { font-family: var(--font-en); font-size: 0.68rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); }

/* =============================================
   Fixed CTA
   ============================================= */
.fixed-cta { position: fixed; bottom: 32px; right: 32px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.cta-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.12em; cursor: pointer; transition: all 0.3s ease;
  white-space: nowrap; border: none; font-family: var(--font-jp);
}
.cta-tel { background: var(--navy); color: var(--white); }
.cta-tel:hover { background: var(--navy-dark); }
.cta-contact { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.cta-contact:hover { background: var(--navy); color: var(--white); }
.cta-btn svg { width: 16px; height: 16px; }

/* Back to top */
#back-top {
  position: fixed; bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.4s ease; z-index: 900; border: none;
}
#back-top.visible { opacity: 1; visibility: visible; }
#back-top:hover { background: var(--navy-dark); transform: translateY(-2px); }
#back-top svg { width: 18px; height: 18px; }

/* =============================================
   404 Page
   ============================================= */
.page-404 { background: var(--navy); min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 40px; }
.page-404 .num-404 { font-family: var(--font-en); font-size: clamp(80px, 20vw, 180px); font-weight: 100; color: rgba(255,255,255,0.08); line-height: 1; margin-bottom: -20px; letter-spacing: -0.04em; }
.page-404 h1 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 300; letter-spacing: 0.2em; margin-bottom: 20px; }
.page-404 p { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 48px; line-height: 2; }
.page-404 .btn-ghost-white { margin: 0 8px; }
.page-404-links { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page-404-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; }
.page-404-links a:hover { color: var(--white); border-color: var(--white); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1023px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { width: 70%; }
}
@media (max-width: 767px) {
  :root { --section-gap: 88px; }
  #header { padding: 0 20px; }
  .container { padding: 0 24px; }
  .section-bg-text { font-size: 15vw; }
  .strength-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: 1fr; }
  .numbers-item + .numbers-item::before { top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 1px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav-menu { width: 90%; max-width: 100%; padding: 80px 28px 40px; }
  .column-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 80px 70px 1fr; gap: 10px; }
  .fixed-cta { bottom: 20px; right: 16px; }
  .cta-btn { padding: 10px 14px; font-size: 0.7rem; }
  #back-top { left: 16px; bottom: 20px; }
  .qual-list { grid-template-columns: 1fr; }
  .award-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .voice-card { padding: 0 4%; }
  .voice-card-inner { padding: 32px 28px; }
  .fv-btn-wrap { flex-direction: column; align-items: center; }
  .footer-map { height: 220px; }
  .qual-iso { flex-direction: column; text-align: center; }
}


/* ===== ABOUTセクション 画像サイズ修正 ===== */
.about-img img {
  width: 100%;
  height: 460px !important;
  aspect-ratio: unset !important;
  object-fit: cover;
  object-position: center top;
}
.about-img {
  max-width: 100%;
}
@media (max-width: 767px) {
  .about-img img {
    height: 320px !important;
    object-position: center 15%;
  }
  .about-inner {
    max-width: 480px;
    margin: 0 auto;
  }
}


/* ===== ABOUTセクション スマホ修正 ===== */
@media (max-width: 1023px) {
  /* 1カラム時、画像を小さく中央配置 */
  .about-img {
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .about-img img {
    height: 380px !important;
    object-position: center 10% !important;
  }
  .about-text-block {
    text-align: center;
  }
  .about-sign {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .about-img {
    max-width: 260px !important;
  }
  .about-img img {
    height: 300px !important;
  }
}


/* =============================================
   古俣工務店 下層ページ 共通CSS追記
   ============================================= */

/* --- Page Hero --- */
.page-hero {
  position: relative; padding: 160px 0 80px; background: var(--navy); overflow: hidden; min-height: 280px;
  display: flex; align-items: flex-end;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label,
.page-hero-en {
  font-family: var(--font-en); font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.35em; color: rgba(255,255,255,0.45); text-transform: uppercase;
  margin-bottom: 10px; display: block;
}
.page-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 300;
  letter-spacing: 0.15em; color: var(--white); line-height: 1.5;
}

/* --- Breadcrumb --- */
.breadcrumb { padding: 16px 0; background: var(--bg-gray); border-bottom: 1px solid var(--light-gray); }
.breadcrumb ul, .breadcrumb-list {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.72rem; color: var(--mid-gray); letter-spacing: 0.05em;
}
.breadcrumb ul li, .breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb ul li + li::before, .breadcrumb-list li + li::before { content: '/'; margin-right: 8px; color: var(--light-gray); font-size: 0.6rem; }
.breadcrumb ul li a, .breadcrumb-list a { color: var(--navy); transition: color 0.3s; }
.breadcrumb ul li a:hover, .breadcrumb-list a:hover { color: var(--mid-gray); }

/* --- Container narrow --- */
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 40px; }

/* --- Section --- */
.section { padding: 100px 0; position: relative; }
.section-bg { background: var(--bg-gray); }
.sec-label { font-family: var(--font-en); font-size: 0.65rem; font-weight: 300; letter-spacing: 0.35em; color: var(--mid-gray); text-transform: uppercase; display: block; margin-bottom: 8px; }
.sec-title { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 300; letter-spacing: 0.12em; color: var(--navy); line-height: 1.5; margin-bottom: 48px; }

/* --- Ghost Button --- */
.btn-ghost { display: inline-block; padding: 14px 40px; border: 1px solid var(--navy); color: var(--navy); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; transition: background 0.3s ease, color 0.3s ease; font-family: var(--font-en); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* --- Table --- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th { width: 180px; padding: 18px 20px; font-size: 0.85rem; font-weight: 500; color: var(--navy); background: #f9f9f9; border-bottom: 1px solid var(--light-gray); text-align: left; vertical-align: top; letter-spacing: 0.08em; }
.info-table td { padding: 18px 20px; font-size: 0.85rem; font-weight: 300; color: #555; border-bottom: 1px solid var(--light-gray); line-height: 1.9; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px; background: var(--light-gray); }
.timeline-item { position: relative; padding: 0 0 40px; }
.timeline-dot { position: absolute; left: -28px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.timeline-year { font-family: var(--font-en); font-size: 1rem; font-weight: 300; color: var(--navy); letter-spacing: 0.1em; margin-bottom: 4px; }
.timeline-text { font-size: 0.85rem; font-weight: 300; color: #555; line-height: 1.8; }

/* --- Card grid --- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card-item { background: var(--white); border-top: 3px solid var(--navy); padding: 0; transition: transform 0.35s ease, box-shadow 0.35s ease; overflow: hidden; }
.card-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 24px 28px 28px; }
.card-title { font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 10px; }
.card-desc { font-size: 0.82rem; font-weight: 300; line-height: 2; color: #666; }

/* --- Greeting --- */
.greeting-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.greeting-photo img { width: 100%; border-radius: 2px; }
.greeting-text p { font-size: 0.88rem; font-weight: 300; line-height: 2.4; color: #444; margin-bottom: 40px; }
.greeting-sign { text-align: right; }
.greeting-position { font-size: 0.75rem; font-weight: 300; color: var(--mid-gray); letter-spacing: 0.15em; margin-bottom: 6px; }
.greeting-name { font-size: 1.4rem; font-weight: 400; letter-spacing: 0.2em; color: var(--navy); }

/* --- Access --- */
.access-map { margin-bottom: 40px; }
.access-info-title { font-size: 1.1rem; font-weight: 500; color: var(--navy); letter-spacing: 0.1em; margin-bottom: 24px; }
.access-detail dt { font-size: 0.8rem; font-weight: 500; color: var(--navy); float: left; clear: left; width: 100px; padding: 12px 0; border-bottom: 1px solid var(--light-gray); letter-spacing: 0.08em; }
.access-detail dd { font-size: 0.85rem; font-weight: 300; color: #555; padding: 12px 0 12px 120px; border-bottom: 1px solid var(--light-gray); line-height: 1.8; }
.access-detail dd a { color: var(--navy); border-bottom: 1px solid var(--navy); }

/* --- Staff card --- */
.staff-card { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--light-gray); }
.staff-photo { width: 200px; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; }
.staff-name { font-size: 1.2rem; font-weight: 500; color: var(--navy); letter-spacing: 0.1em; margin-bottom: 4px; }
.staff-dept { font-size: 0.75rem; font-weight: 300; color: var(--mid-gray); letter-spacing: 0.15em; margin-bottom: 16px; }
.staff-headline { font-size: 0.95rem; font-weight: 400; color: var(--navy); line-height: 1.8; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--navy); }
.qa-block { margin-bottom: 20px; }
.qa-q { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.qa-a { display: flex; align-items: flex-start; gap: 12px; font-size: 0.82rem; font-weight: 300; color: #555; line-height: 2; }
.qa-label { min-width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 0.7rem; font-weight: 500; flex-shrink: 0; }
.qa-label.q { background: var(--navy); color: var(--white); }
.qa-label.a { background: var(--light-gray); color: var(--navy); }

/* --- Works grid --- */
.works-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.works-filter-btn { padding: 8px 22px; border: 1px solid var(--light-gray); background: none; font-size: 0.75rem; letter-spacing: 0.12em; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-jp); color: var(--mid-gray); }
.works-filter-btn.active, .works-filter-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.works-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.works-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.works-card:hover img { transform: scale(1.06); }
.works-card-overlay { position: absolute; inset: 0; background: rgba(10,20,35,0); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: background 0.4s ease; }
.works-card:hover .works-card-overlay { background: rgba(10,20,35,0.72); }
.works-card-title { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.08em; color: var(--white); opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.works-card:hover .works-card-title { opacity: 1; transform: translateY(0); }

/* --- News list --- */
.news-list-page a { display: grid; grid-template-columns: 110px 90px 1fr; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--light-gray); transition: background 0.3s ease; }
.news-list-page a:hover { background: #fafafa; }
.news-date { font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--mid-gray); }
.news-cat { display: inline-block; padding: 4px 12px; background: var(--navy); color: var(--white); font-size: 0.65rem; letter-spacing: 0.12em; white-space: nowrap; text-align: center; }
.news-title-text { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text-dark); }

/* --- Day timeline --- */
.day-timeline { position: relative; }
.day-item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--light-gray); align-items: start; }
.day-time { font-family: var(--font-en); font-size: 1.4rem; font-weight: 200; color: var(--navy); letter-spacing: 0.05em; }
.day-content h3 { font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.day-content p { font-size: 0.82rem; font-weight: 300; color: #666; line-height: 2; }

/* --- Responsive (下層ページ追加分) --- */
@media (max-width: 1023px) {
  .card-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-card { grid-template-columns: 160px 1fr; gap: 28px; }
  .greeting-grid { grid-template-columns: 220px 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .container-narrow { padding: 0 24px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 130px 0 60px; min-height: 220px; }
  .works-grid { grid-template-columns: 1fr; }
  .staff-card { grid-template-columns: 1fr; }
  .staff-photo { width: 160px; margin: 0 auto; }
  .info-table th { width: 120px; padding: 14px 12px; font-size: 0.8rem; }
  .info-table td { padding: 14px 12px; }
  .day-item { grid-template-columns: 60px 1fr; gap: 20px; }
  .news-list-page a { grid-template-columns: 80px 70px 1fr; gap: 12px; }
  .greeting-grid { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 260px; margin: 0 auto; }
}

/* --- Single post --- */
.single-post { padding: 0; }
.single-post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--light-gray); }
.single-post-body { font-size: 0.9rem; font-weight: 300; line-height: 2.2; color: #444; margin-bottom: 56px; }
.single-post-body p { margin-bottom: 1.5em; }
.single-post-body h2 { font-size: 1.1rem; font-weight: 500; color: var(--navy); margin: 2em 0 1em; }
.single-post-body img { max-width: 100%; height: auto; margin: 2em 0; }
.single-post-nav { padding-top: 40px; border-top: 1px solid var(--light-gray); }
