/* ===================================================================
   AOKI REFORM — style.css
   Phase 1: CSS変数 / リセット / 共通コンポーネント / 全セクション
   =================================================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Colors */
  --color-primary: #6B4C3B;
  --color-secondary: #4A7C6F;
  --color-accent: #D4935A;
  --color-dark: #2C231C;
  --color-text-primary: #2C231C;
  --color-text-secondary: #6B6156;
  --color-text-light: #847870;
  --color-border: #D4CCC2;
  --color-bg-light: #FAF6F1;
  --color-bg-medium: #EDE6DC;
  --color-bg-warm: #F0E6D8;
  --color-error: #C45B4A;
  --color-success: #4A7C6F;
  --color-info: #5B8BA8;
  --color-primary-hover: #3D6B5E;
  --color-accent-hover: #C4856A;
  --color-line: #06C755;
  --color-line-hover: #05B34C;
  --color-footer-bg: #3A2E25;
  --color-footer-bg-dark: #2C231C;
  --color-footer-bottom: #221A14;

  /* Fonts */
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-handwritten: 'Klee One', 'Zen Kurenaido', cursive;
  --font-accent-en: 'Caveat', 'Shadows Into Light', cursive;
  --font-heading-en: 'DM Serif Display', 'Playfair Display', serif;
  --font-number: 'DM Serif Display', 'Playfair Display', serif;

  /* Font Sizes — Desktop */
  --text-hero-main: clamp(56px, 8vw, 120px);
  --text-hero-sub: clamp(18px, 2.5vw, 28px);
  --text-hero-number: clamp(72px, 10vw, 140px);
  --text-section-title: clamp(36px, 5vw, 56px);
  --text-section-sub: clamp(14px, 1.5vw, 18px);
  --text-h3: clamp(24px, 3vw, 32px);
  --text-h4: clamp(20px, 2.5vw, 24px);
  --text-body: 16px;
  --text-body-large: 18px;
  --text-body-small: 14px;
  --text-label: 12px;
  --text-caption: 13px;
  --text-overline: 11px;
  --text-number-large: clamp(48px, 6vw, 80px);
  --text-number-medium: clamp(32px, 4vw, 48px);
  --text-number-small: clamp(24px, 3vw, 32px);

  /* Line Height / Letter Spacing */
  --leading-tight: 1.3;
  --leading-normal: 1.8;
  --leading-relaxed: 2.0;
  --tracking-tight: -0.02em;
  --tracking-normal: 0.04em;
  --tracking-wide: 0.12em;
  --tracking-extra: 0.2em;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background: var(--color-bg-light);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul, ol { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input, textarea, select { font-family: inherit; }

/* --- UTILITY --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- SECTION TITLE BLOCK (shared) --- */
.section-title-block {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-block.align-left { text-align: left; }
.section-overline {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-main-title {
  font-family: var(--font-handwritten);
  font-size: var(--text-section-title);
  color: var(--color-primary);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 20px;
}
.section-accent-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}
.section-title-block.align-left .section-accent-line {
  margin: 0;
}

/* --- BUTTON SYSTEM --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-secondary);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(74, 124, 111, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 124, 111, 0.35);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(74, 124, 111, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 16px 40px;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.btn-secondary:active {
  transform: translateY(-1px);
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #FFFFFF;
  padding: 16px 40px;
  border: none;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212, 147, 90, 0.3);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 147, 90, 0.4);
}
.btn-accent:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.btn-accent:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(212, 147, 90, 0.3);
}
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-line);
  color: #FFFFFF;
  padding: 16px 40px;
  border: none;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-line:hover {
  background: var(--color-line-hover);
  transform: translateY(-3px);
}
.btn-line:focus-visible {
  outline: 2px solid var(--color-line);
  outline-offset: 2px;
}
.btn-line:active {
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  padding: 14px 36px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: var(--color-secondary);
  color: #FFFFFF;
}
.btn-ghost:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.btn-ghost:active {
  transform: translateY(-1px);
}
.btn-center-wrap {
  text-align: center;
  margin-top: 48px;
}

/* --- NUMBER HIGHLIGHT (inline) --- */
.num-highlight {
  font-family: var(--font-number);
  font-size: var(--text-number-large);
  color: var(--color-primary);
  line-height: 1;
  vertical-align: baseline;
  margin: 0 0.05em;
}

/* --- SCROLL ANIMATIONS --- */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.scroll-fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scroll-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.6s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: all 0.4s ease;
  background: transparent;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44, 35, 28, 0.08);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo .logo-text {
  font-family: var(--font-heading-en);
  font-size: 24px;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  transition: color 0.4s ease;
}
.header-logo .logo-sub {
  font-family: var(--font-handwritten);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  transition: color 0.4s ease;
}
.site-header.scrolled .logo-text { color: var(--color-primary); }
.site-header.scrolled .logo-sub { color: var(--color-text-secondary); }

/* Nav */
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav .nav-link {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  font-weight: 400;
  position: relative;
  transition: color 0.4s ease;
}
.header-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.header-nav .nav-link:hover::after { width: 100%; }
.site-header.scrolled .nav-link { color: var(--color-text-primary); }

.header-nav .nav-cta {
  padding: 10px 24px;
  border: 2px solid #FFFFFF;
  border-radius: 24px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.4s ease;
}
.header-nav .nav-cta:hover {
  background: rgba(255,255,255,0.15);
}
.site-header.scrolled .nav-cta {
  background: var(--color-secondary);
  color: #FFFFFF;
  border-color: var(--color-secondary);
}
.site-header.scrolled .nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}
.header-nav .nav-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #FFFFFF;
  transition: all 0.4s ease;
}
.site-header.scrolled .nav-phone { color: var(--color-primary); }

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  cursor: pointer;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.site-header.scrolled .hamburger span { background: var(--color-primary); }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer .drawer-link {
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-drawer.open .drawer-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer.open .drawer-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-drawer.open .drawer-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-drawer.open .drawer-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-drawer.open .drawer-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-drawer.open .drawer-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-drawer.open .drawer-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-drawer.open .drawer-link:nth-child(7) { transition-delay: 0.35s; }
.mobile-drawer .drawer-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}
.mobile-drawer.open .drawer-buttons {
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer .drawer-buttons a {
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}
.drawer-btn-phone { border: 2px solid #FFFFFF; color: #FFFFFF; }
.drawer-btn-line { background: var(--color-line); color: #FFFFFF; }
.drawer-btn-contact { background: var(--color-secondary); color: #FFFFFF; }

/* ===================================================================
   SECTION 1: HERO
   =================================================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 5s linear forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 35, 28, 0.65) 0%,
    rgba(44, 35, 28, 0.25) 50%,
    rgba(44, 35, 28, 0.05) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 8%;
  max-width: none;
}
.hero-brand {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-brand.anim-in { opacity: 1; transform: translateY(0); }
.hero-title {
  font-family: var(--font-handwritten);
  font-size: var(--text-hero-main);
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-title.anim-in { opacity: 1; transform: translateY(0); }
.hero-title .hero-accent {
  color: var(--color-accent);
  font-size: 1.15em;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(212, 147, 90, 0.3);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-subtitle.anim-in { opacity: 1; transform: translateY(0); }
.hero-buttons {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-buttons.anim-in { opacity: 1; transform: translateY(0); }
.hero-buttons .btn-accent {
  font-size: 16px;
  padding: 18px 36px;
}
.hero-buttons .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  font-size: 16px;
  padding: 18px 36px;
}
.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* Indicators */
.hero-indicators {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-indicators.anim-in { opacity: 1; }
.hero-indicators .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.hero-indicators .dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-scroll-indicator.anim-in { opacity: 1; }
.hero-scroll-indicator span {
  font-family: var(--font-accent-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}
.hero-scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ===================================================================
   SECTION 2: MARQUEE BAND
   =================================================================== */
.marquee-band {
  width: 100vw;
  height: 48px;
  background: var(--color-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-accent-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  padding: 0 24px;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================================
   SECTION 3: CONCEPT
   =================================================================== */
.concept-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.concept-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-text .section-overline {
  text-align: left;
  margin-bottom: 16px;
}
.concept-text .section-main-title {
  text-align: left;
  font-size: 48px;
  margin-bottom: 32px;
}
.concept-text .section-accent-line {
  margin: 0 0 32px 0;
}
.concept-description {
  font-size: var(--text-body-large);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}
.concept-images {
  position: relative;
  height: 500px;
}
.concept-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 420px;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.12);
}
.concept-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 280px;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  border: 8px solid #FFFFFF;
  box-shadow: 0 8px 30px rgba(44, 35, 28, 0.15);
}
.concept-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================================
   SECTION 4: SERVICE
   =================================================================== */
.service-section {
  padding: 120px 0;
  background: var(--color-bg-medium);
}
.service-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.12);
}
.service-card .card-image {
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-medium);
}
.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .card-image img {
  transform: scale(1.06);
}
.service-card .card-body {
  padding: 24px 20px;
}
.service-card .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  background: var(--color-bg-light);
  border-radius: 8px;
}
.service-card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card .card-title {
  font-family: var(--font-handwritten);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.service-card .card-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card .card-link {
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}
.service-card:hover .card-link { gap: 8px; }

/* ===================================================================
   SECTION 5: WORKS DIGEST (Before/After + Cards)
   =================================================================== */
.works-digest-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}

/* Flip Cards */
.flip-showcase {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}
.flip-card {
  perspective: 1000px;
  cursor: pointer;
  height: 320px;
  border-radius: 12px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}
.flip-card-back { transform: rotateY(180deg); }
.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}
.flip-label-before {
  background: rgba(44, 35, 28, 0.75);
  color: #FFFFFF;
}
.flip-label-after {
  background: rgba(74, 124, 111, 0.85);
  color: #FFFFFF;
}
.flip-card-info {
  padding: 16px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44,35,28,0.8));
  color: #FFFFFF;
  border-radius: 0 0 12px 12px;
}
.flip-card-info .flip-category {
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 4px;
}
.flip-card-info .flip-meta {
  font-size: 12px;
  display: flex;
  gap: 12px;
  opacity: 0.7;
}

.flip-hint {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 48px;
  font-style: italic;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

/* Regular Works Cards */
.works-digest-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.card-works {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-works:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.12);
}
.card-works .card-image {
  height: 240px;
  overflow: hidden;
  background: var(--color-bg-medium);
}
.card-works .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card-works:hover .card-image img {
  transform: scale(1.06);
}
.card-works .card-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 4px;
}
.card-works .card-body { padding: 24px; }
.card-works .card-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.card-works .card-meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  display: flex;
  gap: 16px;
}

/* ===================================================================
   SECTION 6: PARALLAX BAND
   =================================================================== */
.parallax-band-1 {
  width: 100vw;
  height: 50vh;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-band-1 .parallax-bg {
  position: absolute;
  inset: -20%;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-band-1 .parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parallax-band-1 .parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 28, 0.55);
}
.parallax-band-1 .parallax-text {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-handwritten);
  font-size: clamp(28px, 4vw, 40px);
  color: #FFFFFF;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 0 var(--container-padding);
}

/* ===================================================================
   SECTION 7: SIMULATOR CTA
   =================================================================== */
.simulator-cta-section {
  padding: 100px 0;
  background: var(--color-bg-warm);
}
.simulator-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
  text-align: center;
  border: 3px dashed var(--color-primary);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}
.simulator-cta-inner .section-main-title {
  font-size: 44px;
}
.simulator-cta-inner .sim-desc {
  font-size: var(--text-body-large);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 36px;
}
.simulator-cta-btn {
  font-size: 18px;
  padding: 20px 48px;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 147, 90, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(212, 147, 90, 0.5); }
}
.simulator-note {
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 24px;
  line-height: 1.6;
}

/* ===================================================================
   SECTION 8: NUMBERS (Track Record)
   =================================================================== */
.numbers-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.numbers-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.numbers-item {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
}
.numbers-item .item-image {
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-medium);
}
.numbers-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.numbers-item .item-body {
  padding: 32px 28px;
}
.numbers-item .item-label {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.numbers-item .item-text {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}
.numbers-item .item-text .num-highlight {
  font-family: var(--font-number);
  font-size: var(--text-number-large);
  color: var(--color-primary);
  line-height: 1;
  display: inline;
  vertical-align: baseline;
  margin: 0 0.05em;
}

/* ===================================================================
   SECTION 9: VOICE DIGEST (Customer Reviews)
   =================================================================== */
.voice-digest-section {
  padding: 120px 0;
  background: var(--color-bg-medium);
  overflow: clip;
}
.voice-slider-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}
.voice-slider {
  display: flex;
  gap: 32px;
  transition: transform 0.5s ease;
  padding: 0 calc(50vw - 280px);
}
.voice-card {
  min-width: 560px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  flex-shrink: 0;
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.voice-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 32px rgba(44, 35, 28, 0.1);
}
.voice-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.voice-card .star {
  width: 20px;
  height: 20px;
  color: #F5B731;
}
.voice-card .star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.voice-card .review-text {
  font-size: 15px;
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-card .reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.voice-card .reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg-medium);
  background: var(--color-bg-medium);
}
.voice-card .reviewer-info {
  display: flex;
  flex-direction: column;
}
.voice-card .reviewer-name {
  font-family: var(--font-handwritten);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.voice-card .reviewer-detail {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}
.voice-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.voice-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.voice-slider-dots .dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* ===================================================================
   SECTION 10: FLOW DIGEST
   =================================================================== */
.flow-digest-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.flow-digest-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.flow-steps-left,
.flow-steps-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.flow-steps-left .flow-step {
  text-align: right;
}
.flow-steps-right .flow-step {
  text-align: left;
}
.flow-illustration {
  text-align: center;
}
.flow-illustration img {
  width: 100%;
  max-width: 605px;
  height: auto;
  border-radius: 12px;
}
.flow-step {
  text-align: center;
  padding: 24px;
}
.flow-step .step-number {
  font-family: var(--font-accent-en);
  font-size: var(--text-number-small);
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.flow-step .step-title {
  font-family: var(--font-handwritten);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.flow-step .step-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   SECTION 11: BLOG DIGEST (Magazine Layout)
   =================================================================== */
.blog-digest-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.blog-magazine-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.blog-feature {
  grid-row: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.blog-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-feature:hover img { transform: scale(1.03); }
.blog-feature .blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(44, 35, 28, 0.8));
}
.blog-feature .blog-category {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-feature .blog-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-feature .blog-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.blog-sub {
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  gap: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(44, 35, 28, 0.06);
}
.blog-sub:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 35, 28, 0.1);
}
.blog-sub .blog-thumb {
  width: 40%;
  min-height: 160px;
  overflow: hidden;
  background: var(--color-bg-medium);
}
.blog-sub .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-sub:hover .blog-thumb img { transform: scale(1.06); }
.blog-sub .blog-info {
  width: 60%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-sub .blog-category {
  font-family: var(--font-accent-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-sub .blog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-sub .blog-date {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ===================================================================
   SECTION 12: AREA
   =================================================================== */
.area-section {
  padding: 100px 0;
  background: var(--color-bg-warm);
}
.area-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}
.area-text .area-list {
  font-size: 15px;
  line-height: 2.0;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}
.area-text .area-note {
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}
.area-map img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(44, 35, 28, 0.1);
}
/* Area Marquee */
.area-marquee {
  width: 100vw;
  height: 44px;
  background: var(--color-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.area-marquee .marquee-track {
  animation: marquee 40s linear infinite;
}
.area-marquee .marquee-item {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  padding: 0 20px;
}

/* ===================================================================
   SECTION 13: CTA BANNER
   =================================================================== */
.cta-banner-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #F0E6D8 0%, #EDE6DC 40%, #FAF6F1 100%);
}
.cta-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}
.cta-banner-inner .section-main-title {
  font-size: 40px;
}
.cta-banner-inner .cta-sub {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-buttons a {
  min-width: 220px;
  height: 56px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.cta-buttons a:hover { transform: translateY(-3px); }
.cta-btn-phone {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.cta-btn-phone:hover { box-shadow: 0 8px 24px rgba(107,76,59,0.15); }
.cta-btn-line-cta {
  background: var(--color-line);
  color: #FFFFFF;
}
.cta-btn-line-cta:hover { box-shadow: 0 8px 24px rgba(6,199,85,0.25); }
.cta-btn-form {
  background: var(--color-secondary);
  color: #FFFFFF;
}
.cta-btn-form:hover { box-shadow: 0 8px 24px rgba(74,124,111,0.25); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--color-footer-bg) 0%, var(--color-footer-bg-dark) 100%);
  color: rgba(255, 255, 255, 0.7);
}
.footer-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px var(--container-padding);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  font-family: var(--font-heading-en);
  font-size: 24px;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-brand .footer-logo-sub {
  font-family: var(--font-handwritten);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-brand .footer-address {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.footer-brand .footer-tel {
  font-family: var(--font-number);
  font-size: 20px;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}
.footer-nav-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-nav-col ul li { margin-bottom: 10px; }
.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.footer-nav-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-sns a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  transition: all 0.3s ease;
}
.footer-sns a:hover {
  background: var(--color-accent);
  color: #FFFFFF;
}
.footer-bottom {
  background: var(--color-footer-bottom);
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===================================================================
   FLOATING CTA (Mobile)
   =================================================================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(44, 35, 28, 0.1);
  padding: 12px 16px;
  display: none;
  gap: 8px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.floating-cta.visible { transform: translateY(0); }
.floating-cta .cta-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.floating-cta .cta-btn-phone-m { border: 2px solid var(--color-primary); color: var(--color-primary); }
.floating-cta .cta-btn-line-m { background: var(--color-line); color: #FFFFFF; }
.floating-cta .cta-btn-contact-m { background: var(--color-secondary); color: #FFFFFF; }

/* ===================================================================
   PHASE 2: PAGE HERO (works / service / detail)
   =================================================================== */
.page-hero {
  width: 100vw;
  height: 40vh;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero .hero-bg .placeholder-img {
  width: 100%;
  height: 100%;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 28, 0.6);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-padding);
}
.page-hero .hero-overline {
  font-family: var(--font-accent-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-hero .hero-title {
  font-family: var(--font-handwritten);
  font-size: clamp(32px, 5vw, 48px);
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.page-hero .hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ===================================================================
   PHASE 2: FILTER BAR (works.html)
   =================================================================== */
.filter-section {
  padding: 48px 0 0;
  background: var(--color-bg-light);
}
.filter-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 24px;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.filter-btn.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
}

/* ===================================================================
   PHASE 2: FEATURE FLIP CARDS (works.html)
   =================================================================== */
.feature-works {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px var(--container-padding);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 16px;
}
.feature-flip {
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  background: #FFFFFF;
  transition: all 0.4s ease;
}
.feature-flip:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.12);
}
.feature-flip .flip-area {
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.feature-flip .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.feature-flip.flipped .flip-inner {
  transform: rotateY(180deg);
}
.feature-flip .flip-front,
.feature-flip .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.feature-flip .flip-back {
  transform: rotateY(180deg);
}
.feature-flip .flip-front .placeholder-img,
.feature-flip .flip-back .placeholder-img,
.feature-flip .flip-front img,
.feature-flip .flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-flip .flip-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}
.flip-label-before {
  background: rgba(44, 35, 28, 0.75);
  color: #FFFFFF;
}
.flip-label-after {
  background: rgba(74, 124, 111, 0.85);
  color: #FFFFFF;
}
.feature-flip .card-info {
  padding: 24px;
}
.feature-flip .card-category {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feature-flip .card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.feature-flip .card-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.feature-flip .card-meta .price {
  font-family: var(--font-number);
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
}
.feature-flip .card-detail-link {
  font-size: 14px;
  color: var(--color-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}
.feature-flip .card-detail-link:hover {
  gap: 10px;
}
.flip-hint {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ===================================================================
   PHASE 2: WORKS GRID (works.html page-level)
   =================================================================== */
.works-grid-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding) 120px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Filter animation for card-works */
.card-works.filter-transition {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.card-works.hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.card-works.visible {
  opacity: 1;
  transform: scale(1);
  position: relative;
  visibility: visible;
}

/* ===================================================================
   PHASE 2: WORKS DETAIL (works-detail.html)
   =================================================================== */
.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 100px var(--container-padding) 0;
  font-size: 14px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--color-secondary);
}
.breadcrumb .separator {
  font-size: 12px;
  color: var(--color-border);
}
.breadcrumb .current {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Detail Hero */
.detail-hero {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-padding) 0;
}
.detail-flip-main {
  width: 100%;
  height: 500px;
  perspective: 1200px;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.1);
}
.detail-flip-main .flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.detail-flip-main.flipped .flip-inner {
  transform: rotateY(180deg);
}
.detail-flip-main .flip-front,
.detail-flip-main .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.detail-flip-main .flip-back {
  transform: rotateY(180deg);
}
.detail-flip-main .flip-front .placeholder-img,
.detail-flip-main .flip-back .placeholder-img,
.detail-flip-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-flip-main .flip-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-accent-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 8px 18px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}

/* Before/After Toggle */
.ba-toggle {
  display: inline-flex;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  margin-top: 16px;
}
.ba-toggle button {
  padding: 10px 28px;
  font-family: var(--font-accent-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.ba-toggle .btn-before {
  background: var(--color-primary);
  color: #FFFFFF;
}
.ba-toggle .btn-after {
  background: transparent;
  color: var(--color-primary);
}
.ba-toggle.showing-after .btn-before {
  background: transparent;
  color: var(--color-primary);
}
.ba-toggle.showing-after .btn-after {
  background: var(--color-secondary);
  color: #FFFFFF;
}

/* Thumbnails */
.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.detail-thumbnails .thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}
.detail-thumbnails .thumb.active {
  border-color: var(--color-accent);
  opacity: 1;
}
.detail-thumbnails .thumb:hover {
  opacity: 1;
}
.detail-thumbnails .thumb .placeholder-img,
.detail-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title Area */
.detail-title-area {
  margin-bottom: 48px;
}
.detail-title-area .detail-category {
  font-family: var(--font-accent-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail-title-area .detail-title {
  font-family: var(--font-handwritten);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--color-primary);
  line-height: 1.3;
}

/* Detail Overview */
.detail-overview {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding) 80px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}
.detail-info-table {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
}
.detail-info-table .info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.detail-info-table .info-row:last-child {
  border-bottom: none;
}
.detail-info-table .info-label {
  color: var(--color-text-light);
  font-size: 13px;
  letter-spacing: 0.04em;
  min-width: 100px;
}
.detail-info-table .info-value {
  color: var(--color-text-primary);
  font-weight: 500;
  text-align: right;
}
.detail-info-table .info-value.price {
  font-family: var(--font-number);
  font-size: 24px;
  color: var(--color-primary);
}
.detail-description {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}
.detail-description h3 {
  font-family: var(--font-handwritten);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
  margin-top: 32px;
}
.detail-description h3:first-child {
  margin-top: 0;
}
.detail-description p {
  margin-bottom: 16px;
}

/* Gallery */
.detail-gallery {
  padding: 80px 0;
  background: var(--color-bg-medium);
}
.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--container-padding);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
.gallery-item {
  min-width: 360px;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 4px 16px rgba(44, 35, 28, 0.08);
}
.gallery-item .placeholder-img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .placeholder-img,
.gallery-item:hover img {
  transform: scale(1.04);
}

/* Voice Quote */
.detail-voice {
  padding: 80px 0;
  background: var(--color-bg-light);
}
.voice-quote-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
  text-align: center;
}
.voice-quote-icon {
  font-size: 64px;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
  font-family: Georgia, serif;
}
.voice-quote-main {
  font-family: var(--font-handwritten);
  font-size: clamp(20px, 3vw, 24px);
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.voice-quote-detail {
  font-size: 15px;
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.voice-reviewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.voice-reviewer .photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-bg-medium);
  flex-shrink: 0;
}
.voice-reviewer .photo .placeholder-img {
  width: 100%;
  height: 100%;
}
.voice-reviewer .reviewer-info .name {
  font-family: var(--font-handwritten);
  font-size: 16px;
  color: var(--color-primary);
}
.voice-reviewer .reviewer-info .meta {
  font-size: 12px;
  color: var(--color-text-light);
}

/* Related Works */
.related-works {
  padding: 80px 0;
  background: var(--color-bg-medium);
}
.related-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ===================================================================
   PHASE 2: SERVICE PAGE (service.html)
   =================================================================== */
.service-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 70px;
  z-index: 50;
  padding: 16px 0;
}
.service-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
}
.service-nav-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 24px;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.service-nav-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.service-nav-btn.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
}

/* Service Detail Sections */
.service-detail {
  padding: 120px 0;
}
.service-detail.bg-light {
  background: var(--color-bg-light);
}
.service-detail.bg-medium {
  background: var(--color-bg-medium);
}
.service-detail-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail.reverse .service-detail-inner {
  direction: rtl;
}
.service-detail.reverse .service-detail-inner > * {
  direction: ltr;
}

/* Overlapping Images [C] */
.service-images {
  position: relative;
  height: 460px;
}
.service-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 35, 28, 0.12);
  z-index: 1;
}
.service-img-main .placeholder-img,
.service-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.1);
  z-index: 2;
}
.service-img-sub .placeholder-img,
.service-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service Text */
.service-text .section-overline {
  text-align: left;
  margin-bottom: 12px;
}
.service-text .section-main-title {
  text-align: left;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}
.service-text .section-accent-line {
  margin: 0 0 28px 0;
}
.service-text .lead {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

/* Price Table */
.price-table {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44, 35, 28, 0.04);
  margin-bottom: 28px;
}
.price-table .table-header {
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-accent-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 12px 20px;
  text-transform: uppercase;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.price-row:last-child {
  border-bottom: none;
}
.price-row .service-name {
  color: var(--color-text-primary);
}
.price-row .price-range {
  font-family: var(--font-number);
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}
.price-note {
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 24px;
}
.service-features {
  margin-bottom: 28px;
}
.service-features li {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.service-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Parallax Band */
.parallax-band {
  width: 100vw;
  height: 40vh;
  min-height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-band .parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-band .parallax-bg .placeholder-img {
  width: 100%;
  height: 100%;
}
.parallax-band .parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 28, 0.6);
}
.parallax-band .parallax-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-handwritten);
  font-size: clamp(24px, 4vw, 36px);
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 0 var(--container-padding);
}

/* Pricing Policy */
.pricing-policy {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.pricing-lead {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  padding: 0 var(--container-padding);
}
.policy-cards {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.policy-card {
  text-align: center;
  padding: 40px 28px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  transition: all 0.4s ease;
}
.policy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}
.policy-card .policy-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.policy-card .policy-icon .placeholder-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.policy-card .policy-title {
  font-family: var(--font-handwritten);
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.policy-card .policy-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  padding: 0 var(--container-padding);
}

/* Simulator CTA (service page) */
.simulator-cta-service {
  padding: 100px 0;
  background: linear-gradient(135deg, #F0E6D8 0%, #EDE6DC 40%, #FAF6F1 100%);
}
.simulator-cta-service .cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--container-padding);
}
.simulator-cta-service .section-main-title {
  margin-bottom: 20px;
}
.simulator-cta-service .cta-desc {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}
.simulator-cta-service .cta-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 24px;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(74, 124, 111, 0.25); }
  50% { box-shadow: 0 4px 28px rgba(74, 124, 111, 0.45); }
}
.btn-pulse {
  animation: btn-pulse 2s ease-in-out infinite;
}

/* ===================================================================
   PHASE 2: RESPONSIVE ADDITIONS
   =================================================================== */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  /* Filter bar */
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .filter-btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 18px;
  }

  /* Feature flip */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .feature-flip .flip-area { height: 250px; }

  /* Works grid */
  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Detail */
  .detail-flip-main { height: 280px; border-radius: 12px; }
  .detail-thumbnails .thumb { width: 60px; height: 60px; }
  .detail-title-area .detail-title { font-size: 26px; }
  .detail-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-item { min-width: 280px; height: 210px; }

  /* Related */
  .related-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Service page */
  .service-nav-inner {
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .service-nav-btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 18px;
  }
  .service-detail { padding: 80px 0; }
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail.reverse .service-detail-inner {
    direction: ltr;
  }
  .service-images {
    height: 280px;
    order: -1;
  }
  .service-img-main { width: 75%; height: 240px; }
  .service-img-sub { width: 50%; height: 160px; }
  .service-text .section-main-title { font-size: 28px; }
  .service-buttons { flex-direction: column; }
  .policy-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .parallax-band .parallax-bg { background-attachment: scroll; }
  .voice-quote-block { padding: 32px 20px; margin: 0 var(--container-padding); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   PLACEHOLDER IMAGES
   =================================================================== */
.placeholder-img {
  background: linear-gradient(135deg, var(--color-bg-medium) 0%, var(--color-bg-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 12px;
  font-family: var(--font-accent-en);
  letter-spacing: 0.1em;
}

/* ===================================================================
   RESPONSIVE: 1024px
   =================================================================== */
@media (max-width: 1024px) {
  .header-nav { gap: 20px; }
  .header-nav .nav-link { font-size: 13px; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===================================================================
   RESPONSIVE: 768px
   =================================================================== */
@media (max-width: 767px) {
  :root {
    --text-hero-main: clamp(32px, 10vw, 48px);
    --text-hero-sub: clamp(14px, 4vw, 18px);
    --text-hero-number: clamp(48px, 14vw, 72px);
    --text-section-title: clamp(28px, 7vw, 36px);
    --text-section-sub: clamp(11px, 3vw, 14px);
    --text-h3: clamp(20px, 5vw, 26px);
    --text-h4: clamp(18px, 4.5vw, 22px);
    --text-body: 15px;
    --text-body-large: 16px;
    --text-number-large: clamp(36px, 10vw, 56px);
    --text-number-medium: clamp(28px, 7vw, 40px);
    --container-padding: 20px;
  }

  /* Header */
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .site-header { padding: 0 20px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content {
    padding: 0 var(--container-padding);
    justify-content: flex-end;
    padding-bottom: 140px;
    max-width: 100%;
  }
  .hero-subtitle { font-size: 16px; margin-bottom: 32px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn-accent,
  .hero-buttons .btn-secondary { width: 100%; text-align: center; }

  /* Concept */
  .concept-section { padding: 80px 0; }
  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  .concept-images { height: 300px; order: -1; }
  .concept-img-main { width: 75%; height: 260px; }
  .concept-img-sub { width: 50%; height: 180px; }
  .concept-text .section-main-title { font-size: 32px; }

  /* Service */
  .service-section { padding: 80px 0; }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .service-card .card-image { height: 160px; }
  .service-card .card-body { padding: 16px 14px; }
  .service-card .card-title { font-size: 17px; }

  /* Works Digest */
  .works-digest-section { padding: 80px 0; }
  .flip-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .flip-card { height: 260px; }
  .works-digest-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Parallax */
  .parallax-band-1 .parallax-bg {
    background-attachment: scroll;
  }

  /* Simulator CTA */
  .simulator-cta-inner { padding: 40px 24px; }
  .simulator-cta-inner .section-main-title { font-size: 32px; }

  /* Numbers */
  .numbers-section { padding: 80px 0; }
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .numbers-item .item-image { height: 180px; }

  /* Voice */
  .voice-digest-section { padding: 80px 0; }
  .voice-slider {
    gap: 16px;
    padding: 0 calc(50vw - 150px);
  }
  .voice-card {
    min-width: 300px;
    padding: 28px 24px;
  }

  /* Flow */
  .flow-digest-section { padding: 80px 0; }
  .flow-digest-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .flow-illustration {
    order: -1;
  }
  .flow-illustration img {
    max-width: 300px;
  }
  .flow-steps-left,
  .flow-steps-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .flow-steps-left .flow-step,
  .flow-steps-right .flow-step {
    text-align: center;
  }

  /* Blog */
  .blog-digest-section { padding: 80px 0; }
  .blog-magazine-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .blog-feature { height: 250px; }
  .blog-sub { flex-direction: column; }
  .blog-sub .blog-thumb { width: 100%; min-height: 160px; }
  .blog-sub .blog-info { width: 100%; }

  /* Area */
  .area-section { padding: 80px 0; }
  .area-inner { grid-template-columns: 1fr; gap: 32px; }
  .area-map { order: -1; }

  /* CTA Banner */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons a { width: 100%; max-width: 320px; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px var(--container-padding);
  }

  /* Floating CTA */
  .floating-cta { display: flex; }

  /* Section title */
  .section-title-block { margin-bottom: 40px; }
}

/* ===================================================================
   PHASE 4: VOICE PAGE (voice.html)
   =================================================================== */

/* --- Voice Summary --- */
.voice-summary {
  padding: 80px 0;
  background: var(--color-bg-light);
}
.summary-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.08);
  text-align: center;
}
.summary-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.summary-logo-area .google-icon {
  width: 24px;
  height: 24px;
}
.summary-logo-area .summary-badge {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}
.summary-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.summary-stars .star {
  width: 28px;
  height: 28px;
}
.summary-stars .star svg {
  width: 100%;
  height: 100%;
}
.summary-score {
  font-family: var(--font-number);
  font-size: clamp(48px, 6vw, 56px);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.summary-count {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}
.summary-metrics {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.summary-metric {
  text-align: center;
}
.summary-metric .metric-value {
  font-family: var(--font-number);
  font-size: 32px;
  color: var(--color-primary);
  line-height: 1.2;
}
.summary-metric .metric-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* --- Voice Reviews Grid --- */
.voice-reviews {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding) 120px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Google Review Style Card */
.review-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
  transition: all 0.4s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}

/* Star Rating */
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.review-stars .star {
  width: 18px;
  height: 18px;
}
.review-stars .star svg {
  width: 100%;
  height: 100%;
}

/* Review Text */
.review-text {
  font-size: 15px;
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  margin-bottom: 24px;
}
.review-text .quote-mark {
  font-family: var(--font-heading-en);
  font-size: 48px;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 0.5;
  display: block;
  margin-bottom: 8px;
}

/* Reviewer Info */
.review-card .reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.review-card .reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg-medium);
}
.review-card .reviewer-details {
  display: flex;
  flex-direction: column;
}
.review-card .reviewer-name {
  font-family: var(--font-handwritten);
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.review-card .reviewer-meta {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

/* Review Project Photo */
.review-photo {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 4px;
}
.review-photo img,
.review-photo .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.review-card:hover .review-photo img,
.review-card:hover .review-photo .placeholder-img {
  transform: scale(1.04);
}

/* --- Video Section --- */
.video-section {
  padding: 100px 0;
  background: var(--color-bg-medium);
}
.video-container {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 0 var(--container-padding);
}
.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.12);
  cursor: pointer;
  margin-bottom: 16px;
}
.video-placeholder .video-thumb {
  position: absolute;
  inset: 0;
}
.video-placeholder .video-thumb img,
.video-placeholder .video-thumb .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.video-placeholder:hover .video-overlay {
  background: rgba(0, 0, 0, 0.15);
}
.video-placeholder .play-btn {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.video-placeholder:hover .play-btn {
  transform: scale(1.1);
  background: #FFFFFF;
}
.play-btn .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--color-primary);
  margin-left: 4px;
}
.video-caption {
  text-align: center;
  font-family: var(--font-handwritten);
  font-size: 18px;
  color: var(--color-primary);
}

/* Video Capability Note */
.video-capability-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.capability-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 36px;
  border-left: 4px solid var(--color-accent);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(44, 35, 28, 0.06);
}
.capability-icon {
  flex-shrink: 0;
  margin-top: 4px;
}
.capability-content .capability-title {
  font-family: var(--font-handwritten);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.capability-content .capability-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.capability-formats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.format-badge {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 16px;
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Voice Parallax Band */
.voice-parallax-band .parallax-text {
  font-family: var(--font-handwritten);
  font-size: clamp(24px, 4vw, 36px);
}

/* ===================================================================
   PHASE 4: FLOW PAGE (flow.html)
   =================================================================== */

/* --- Page Nav (Sticky) --- */
.page-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 70px;
  z-index: 50;
  padding: 0;
}
.page-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: center;
  gap: 0;
}
.page-nav-link {
  padding: 20px 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.page-nav-link:hover {
  color: var(--color-primary);
}
.page-nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

/* --- Flow Section --- */
.flow-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}

/* House Illustration */
.flow-illustration-main {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 var(--container-padding);
  text-align: center;
}
.flow-illustration-main img,
.flow-illustration-main .placeholder-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Step Items (Alternating Layout) */
.flow-step-item {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.flow-step-item:last-child {
  margin-bottom: 0;
}
/* Even steps: reverse layout */
.flow-step-item:nth-child(even) {
  direction: rtl;
}
.flow-step-item:nth-child(even) > * {
  direction: ltr;
}

.flow-step-text .step-number-large {
  font-family: var(--font-accent-en);
  font-size: clamp(48px, 6vw, 64px);
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}
.flow-step-text .step-title {
  font-family: var(--font-handwritten);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-primary);
  margin-bottom: 20px;
}
.flow-step-text .step-desc {
  font-size: 15px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}
.flow-step-text .step-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.flow-step-text .meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 500;
  background: rgba(74, 124, 111, 0.08);
  padding: 6px 14px;
  border-radius: 16px;
}

/* Step Image */
.flow-step-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 35, 28, 0.1);
  height: 300px;
}
.flow-step-image img,
.flow-step-image .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flow Parallax Band */
.flow-parallax-band .parallax-text {
  font-family: var(--font-handwritten);
  font-size: clamp(24px, 4vw, 36px);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 120px 0;
  background: var(--color-bg-medium);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}
.accordion-item:first-child {
  border-top: 1px solid var(--color-border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}
.accordion-trigger:hover {
  color: var(--color-primary);
}
.accordion-trigger .q-number {
  font-family: var(--font-accent-en);
  font-size: 13px;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  font-weight: 600;
}
.accordion-trigger .q-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  flex: 1;
  line-height: 1.5;
}
.accordion-trigger .accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: transform 0.4s ease;
}
.accordion-item.open .accordion-trigger .accordion-icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content p {
  padding: 0 0 24px 0;
  margin-left: 48px;
  font-size: 15px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* --- Warranty Section --- */
.warranty-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.warranty-lead {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  padding: 0 var(--container-padding);
}

/* 3-Column Warranty Cards */
.warranty-cards {
  max-width: var(--container-max);
  margin: 0 auto 80px;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.warranty-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
  transition: all 0.4s ease;
}
.warranty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}
.warranty-card .warranty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.warranty-card .warranty-title {
  font-family: var(--font-handwritten);
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.warranty-card .warranty-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Warranty Table */
.warranty-table-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.warranty-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
}
.warranty-table thead th {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
}
.warranty-table tbody tr {
  background: #FFFFFF;
  transition: background 0.2s ease;
}
.warranty-table tbody tr:hover {
  background: var(--color-bg-light);
}
.warranty-table tbody td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
}
.warranty-table tbody tr:last-child td {
  border-bottom: none;
}
.warranty-table .period-cell {
  font-family: var(--font-number);
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 700;
}

/* ===================================================================
   PHASE 4: RESPONSIVE
   =================================================================== */
@media (max-width: 767px) {
  /* Voice Summary */
  .voice-summary { padding: 60px 0; }
  .summary-card { padding: 36px 24px; }
  .summary-metrics { gap: 24px; }
  .summary-metric .metric-value { font-size: 26px; }

  /* Voice Reviews */
  .voice-reviews { padding: 0 var(--container-padding) 80px; }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .review-card { padding: 28px 24px; }
  .review-photo { height: 160px; }

  /* Video Section */
  .video-section { padding: 60px 0; }
  .capability-card {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }

  /* Page Nav */
  .page-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-nav-link {
    padding: 16px 20px;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* Flow Section */
  .flow-section { padding: 80px 0; }
  .flow-illustration-main { margin-bottom: 48px; }
  .flow-step-item {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  .flow-step-item:nth-child(even) { direction: ltr; }
  .flow-step-image {
    height: 220px;
    order: -1;
  }

  /* FAQ Section */
  .faq-section { padding: 80px 0; }
  .accordion-trigger { padding: 20px 0; }
  .accordion-trigger .q-text { font-size: 15px; }
  .accordion-content p { margin-left: 0; }

  /* Warranty Section */
  .warranty-section { padding: 80px 0; }
  .warranty-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .warranty-table { font-size: 14px; }
  .warranty-table thead th,
  .warranty-table tbody td {
    padding: 12px 16px;
  }
}

/* ===================================================================
   PHASE 5: COMPANY PAGE (company.html)
   =================================================================== */

/* --- Greeting Section --- */
.greeting-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.greeting-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}
.greeting-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.12);
  border: 8px solid #FFFFFF;
  outline: 3px solid var(--color-border);
}
.greeting-photo img,
.greeting-photo .placeholder-img {
  width: 100%;
  height: auto;
  min-height: 450px;
  display: block;
}
.greeting-role {
  font-family: var(--font-accent-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.greeting-name {
  font-family: var(--font-handwritten);
  font-size: clamp(28px, 3.5vw, 32px);
  color: var(--color-primary);
  margin-bottom: 20px;
}
.greeting-motto {
  font-family: var(--font-handwritten);
  font-size: 20px;
  color: var(--color-accent);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--color-accent);
}
.greeting-text {
  font-size: 15px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}
.greeting-text p + p {
  margin-top: 16px;
}
.greeting-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.greeting-badge {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 16px;
  background: rgba(74, 124, 111, 0.08);
  color: var(--color-secondary);
  font-weight: 500;
}

/* --- Staff Section --- */
.staff-section {
  padding: 120px 0;
  background: var(--color-bg-medium);
}
.staff-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.staff-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
  transition: all 0.4s ease;
}
.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}
.staff-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--color-bg-light);
  box-shadow: 0 4px 16px rgba(44, 35, 28, 0.1);
}
.staff-photo img,
.staff-photo .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.staff-role {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.staff-name {
  font-family: var(--font-handwritten);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.staff-comment {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}
.staff-cert {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(74, 124, 111, 0.08);
  color: var(--color-secondary);
  display: inline-block;
}

/* --- Company Info Section --- */
.company-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}
.company-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.company-table {
  width: 100%;
}
.company-table .table-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.company-table .table-label {
  width: 140px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}
.company-table .table-value {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.6;
}
.company-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.08);
  background: var(--color-bg-medium);
}
.company-map iframe,
.company-map .placeholder-img {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================================================
   PHASE 5: BLOG LIST PAGE (blog.html)
   =================================================================== */

/* --- Blog Filter --- */
.blog-filter-section {
  padding: 48px 0 0;
  background: var(--color-bg-light);
}
.blog-filter-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* --- Blog Grid --- */
.blog-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px var(--container-padding) 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Feature Article */
.blog-feature-card {
  grid-column: 1 / -1;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.blog-feature-card img,
.blog-feature-card > .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-feature-card:hover img,
.blog-feature-card:hover > .placeholder-img {
  transform: scale(1.03);
}
.blog-feature-card .blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(44, 35, 28, 0.8));
  z-index: 2;
}
.blog-feature-card .blog-category {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-feature-card .blog-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-feature-card .blog-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Standard Blog Card */
.blog-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 35, 28, 0.06);
  cursor: pointer;
  transition: all 0.4s ease;
  display: block;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}
.blog-card .card-image {
  height: 200px;
  overflow: hidden;
}
.blog-card .card-image img,
.blog-card .card-image .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .card-image img,
.blog-card:hover .card-image .placeholder-img {
  transform: scale(1.06);
}
.blog-card .card-body {
  padding: 24px;
}
.blog-card .card-category {
  font-family: var(--font-accent-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-card .card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-card .card-date {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ===================================================================
   PHASE 5: BLOG DETAIL PAGE (blog-detail.html)
   =================================================================== */

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 24px 0;
  background: var(--color-bg-light);
}
.breadcrumb-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: var(--color-text-light);
  transition: color 0.3s ease;
}
.breadcrumb-inner a:hover {
  color: var(--color-accent);
}
.breadcrumb-separator {
  color: var(--color-border);
}

/* --- Article Container --- */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px var(--container-padding) 80px;
}
.article-category {
  font-family: var(--font-accent-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.article-title {
  font-family: var(--font-handwritten);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}
.article-date {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}
.article-eyecatch {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 8px 32px rgba(44, 35, 28, 0.1);
}
.article-eyecatch img,
.article-eyecatch .placeholder-img {
  width: 100%;
  height: auto;
  min-height: 300px;
  display: block;
}

/* --- Article Body --- */
.article-body {
  font-size: 16px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
}
.article-body h2 {
  font-family: var(--font-handwritten);
  font-size: 26px;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 36px;
  margin-bottom: 16px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body img,
.article-body .placeholder-img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.article-body .placeholder-img {
  min-height: 300px;
}
.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  margin: 24px 0;
  background: var(--color-bg-medium);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-secondary);
}
.article-body ul {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}
.article-body ul li {
  margin-bottom: 8px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* --- Related Articles --- */
.related-section {
  padding: 80px 0 120px;
  background: var(--color-bg-medium);
}
.related-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===================================================================
   PHASE 5: CONTACT PAGE (contact.html)
   =================================================================== */

/* --- Contact Methods --- */
.contact-methods {
  padding: 80px 0;
  background: var(--color-bg-light);
}
.methods-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.method-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(44, 35, 28, 0.06);
  transition: all 0.4s ease;
}
.method-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(44, 35, 28, 0.1);
}
.method-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.method-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-primary);
}
.method-title {
  font-family: var(--font-handwritten);
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.method-info {
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.method-info.phone-number {
  font-family: var(--font-number);
  font-size: 24px;
  color: var(--color-primary);
}
.method-hours {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}
.method-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}
.method-btn:hover {
  transform: translateY(-2px);
}
.method-btn-phone {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.method-btn-phone:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}
.method-btn-line {
  background: var(--color-line);
  color: #FFFFFF;
}
.method-btn-line:hover {
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.3);
}
.method-btn-form {
  background: var(--color-secondary);
  color: #FFFFFF;
}
.method-btn-form:hover {
  box-shadow: 0 6px 20px rgba(74, 124, 111, 0.3);
}

/* --- Contact Form Section --- */
.contact-form-section {
  padding: 0 0 120px;
  background: var(--color-bg-light);
}
.form-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(44, 35, 28, 0.08);
}
.form-group {
  margin-bottom: 28px;
}
.form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.form-label .required {
  font-size: 11px;
  color: var(--color-error);
  margin-left: 6px;
  font-weight: 700;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  background: #FFFFFF;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 147, 90, 0.12);
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
}
.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.form-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--color-text-primary);
  cursor: pointer;
}
.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}
.form-privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.form-privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  cursor: pointer;
  flex-shrink: 0;
}
.form-privacy-check label {
  font-size: 14px;
  color: var(--color-text-secondary);
  cursor: pointer;
}
.form-privacy-check label a {
  color: var(--color-accent);
  text-decoration: underline;
}
.form-submit {
  text-align: center;
  margin-top: 36px;
}
.form-submit .btn-accent {
  min-width: 280px;
  font-size: 17px;
  padding: 18px 48px;
}
.form-note {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 var(--container-padding);
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Form Validation */
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--color-error);
}
.form-error {
  display: block;
  font-size: 13px;
  color: var(--color-error);
  margin-top: 6px;
}
.form-privacy-check.has-error .form-error {
  margin-top: 8px;
}
.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.form-success h3 {
  font-family: var(--font-handwritten);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.form-success p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ===================================================================
   PHASE 5: PRIVACY POLICY PAGE (privacy.html)
   =================================================================== */
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--container-padding) 80px;
}
.privacy-title {
  font-family: var(--font-handwritten);
  font-size: 32px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
}
.privacy-date {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 60px;
}
.privacy-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}
.privacy-body p {
  font-size: 15px;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.privacy-body ul {
  margin: 8px 0 16px;
  padding-left: 24px;
}
.privacy-body ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  list-style: disc;
  margin-bottom: 4px;
}

/* ===================================================================
   PHASE 5: 404 PAGE (404.html)
   =================================================================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  text-align: center;
  padding: var(--container-padding);
}
.error-content {
  max-width: 500px;
}
.error-number {
  font-family: var(--font-number);
  font-size: clamp(80px, 15vw, 120px);
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
  animation: pulse-404 3s ease-in-out infinite;
}
@keyframes pulse-404 {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.22; transform: scale(1.02); }
}
.error-illustration {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}
.error-illustration .placeholder-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.error-title {
  font-family: var(--font-handwritten);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.error-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.error-home-link {
  display: inline-flex;
}

/* ===================================================================
   PHASE 5: RESPONSIVE (767px)
   =================================================================== */
@media (max-width: 1024px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .methods-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  /* Company - Greeting */
  .greeting-section { padding: 80px 0; }
  .greeting-inner { grid-template-columns: 1fr; gap: 40px; }
  .greeting-photo { max-width: 300px; margin: 0 auto; }
  .greeting-photo img,
  .greeting-photo .placeholder-img { min-height: 350px; }

  /* Company - Staff */
  .staff-section { padding: 80px 0; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .staff-card { padding: 28px 16px; }
  .staff-photo { width: 96px; height: 96px; }

  /* Company - Info */
  .company-section { padding: 80px 0; }
  .company-inner { grid-template-columns: 1fr; gap: 40px; }
  .company-map { height: 300px; }

  /* Blog List */
  .blog-grid { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 80px; }
  .blog-feature-card { height: 260px; }
  .blog-feature-card .blog-overlay { padding: 24px; }
  .blog-feature-card .blog-title { font-size: 20px; }

  /* Blog Detail */
  .article-container { padding: 60px var(--container-padding) 60px; }
  .related-section { padding: 60px 0 80px; }
  .related-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  /* Contact */
  .contact-methods { padding: 60px 0; }
  .methods-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .contact-form-section { padding: 0 0 80px; }
  .form-container { padding: 32px 20px; margin: 0 var(--container-padding); }
  .form-submit .btn-accent { min-width: auto; width: 100%; }
  .form-checkbox-group { gap: 12px; }

  /* Privacy */
  .privacy-container { padding: 80px var(--container-padding) 60px; }
  .privacy-title { font-size: 26px; }

  /* 404 */
  .error-number { font-size: clamp(60px, 20vw, 80px); }
}

@media (max-width: 480px) {
  .staff-grid { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
}

/* ===================================================================
   RESPONSIVE: 375px
   =================================================================== */
@media (max-width: 375px) {
  :root {
    --container-padding: 16px;
  }
  .hero-content { padding-bottom: 120px; }
  .concept-text .section-main-title { font-size: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  .cta-banner-inner .section-main-title { font-size: 28px; }
  .simulator-cta-inner .section-main-title { font-size: 26px; }
}

/* ===================================================================
   ACCESSIBILITY: prefers-reduced-motion
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
