/* =====================================================
   PB-HAL Theme - Main CSS (Modern Japanese)
   ===================================================== */

/* === VARIABLES === */
:root {
  --cream:       #FDFBF7;
  --cream-alt:   #f0ede6;
  --gold:        #bfa15f;
  --gold-dark:   #a08040;
  --dark:        #1c2b1e;
  --green:       #2d6e5a;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --border:      #e2e8f0;
  --white:       #ffffff;
  --serif:       'Noto Serif JP', serif;
  --sans:        'Noto Sans JP', sans-serif;
  --transition:  0.3s ease;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 10px 40px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); line-height: 1.4; }
p { line-height: 1.9; }
.font-serif { font-family: var(--serif); }
.font-sans  { font-family: var(--sans); }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === UTILITIES === */
.text-gold    { color: var(--gold); }
.text-green   { color: var(--green); }
.text-dark    { color: var(--dark); }
.text-muted   { color: var(--text-muted); }
.bg-cream     { background-color: var(--cream); }
.bg-cream-alt { background-color: var(--cream-alt); }
.bg-dark      { background-color: var(--dark); }
.bg-white     { background-color: var(--white); }

.label-en {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(191, 161, 95, 0.15);
  padding: 1rem 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
  transition: padding var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(253, 251, 247, 0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 101;
}
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-label-top {
  font-family: var(--sans);
  font-size: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.logo-name {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.logo-company {
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--gold);
}
.logo-hal {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.logo-label-bottom {
  font-family: var(--sans);
  font-size: 0.45rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* デスクトップナビ */
.primary-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .primary-nav { display: flex; }
}
.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.primary-nav a:hover,
.primary-nav a.current-menu-item { color: var(--green); }
.primary-nav a:hover::after,
.primary-nav a.current-menu-item::after { transform: scaleX(1); }

/* ナビ ドロップダウン */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--green); }
/* ドロップダウン: ホバー時 */
.nav-dropdown-toggle {
  position: relative;
}
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--text);
}

/* 矢印アイコンの回転 */
.nav-dropdown-toggle svg {
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

/* ドロップダウンメニュー */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 110;
}
.nav-dropdown-menu-inner {
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #f1f5f9;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* ホバー領域の隙間を埋める */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 0.75rem;
}
.primary-nav .nav-dropdown-link {
  display: block;
  padding: 8px 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
  border-left: 2px solid transparent;
}
.primary-nav .nav-dropdown-link:hover {
  color: var(--green);
  border-left-color: var(--green);
  background: rgba(241, 245, 249, 0.5);
}
.primary-nav .nav-dropdown-link::after {
  display: none !important;
}

/* =====================================================
   BLOG CARD (参考デザイン準拠)
   ===================================================== */

/* ヘッダーCTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .header-cta { display: flex; }
}
.header-phone {
  text-align: right;
}
.header-phone-label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
}
.header-phone-number {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}
.btn-contact:hover { background: var(--gold-dark); }

/* ハンバーガーボタン */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  position: relative;
  z-index: 101;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.4s ease;
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: opacity 0.4s ease, clip-path 0.5s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  clip-path: circle(150% at calc(100% - 44px) 44px);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-logo-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.1); }
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem 1.5rem;
  gap: 0.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-item {
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.is-open .mobile-nav-item { opacity: 1; transform: translateX(0); }
.mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-en {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.mobile-nav-ja {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.mobile-nav-item:hover .mobile-nav-ja { color: var(--white); }
.mobile-menu-footer {
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 2.5rem;
}
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  gap: 0.5rem;
  transition: background var(--transition);
}
.mobile-menu-btn-call {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.mobile-menu-btn-call:hover { background: rgba(255,255,255,0.1); }
.mobile-menu-btn-consult {
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
}
.mobile-menu-btn-consult:hover { background: var(--gold-dark); }

/* =====================================================
   HERO (Modern Japanese)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 50%, rgba(191,161,95,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 5fr 1fr 6fr;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* 縦書きテキスト */
.hero-text-area {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-text-area { order: 1; } }
.hero-vertical-block {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  height: auto;
}
@media (min-width: 1024px) {
  .hero-vertical-block {
    justify-content: flex-end;
    gap: 5rem;
    height: clamp(380px, 55vh, 500px);
  }
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, min(5vw, 4.5vh), 3.75rem);
  font-weight: 500;
  color: var(--text);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0.5rem;
}
.hero-headline span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.4em;
  line-height: 2;
  white-space: nowrap;
}
/* 段違い配置: 1つ目(時間を、守る。)は上寄せ、2つ目(資産を、育てる)は下にずらす */
.hero-headline span:first-child { padding-top: 0; }
.hero-headline span:last-child { color: var(--gold); padding-top: clamp(1.5em, 4vh, 3em); }
.hero-subcopy {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  line-height: 2.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.8;
}
.hero-subcopy p { position: relative; }
.hero-subcopy p + p { margin-top: 2rem; }
.hero-subcopy p:nth-child(2) { padding-top: 1.5em; }
.hero-subcopy p:nth-child(3) { padding-top: 3em; }
.hero-subcopy p:nth-child(4) { padding-top: 4.5em; }
.hero-cta-area {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero-cta-area { justify-content: flex-start; padding-left: 2rem; margin-left: -8rem; }
}
.hero-cta-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--dark);
  transition: color var(--transition);
}
.hero-cta-link:hover { color: var(--gold); }
.hero-cta-circle {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.hero-cta-circle-border {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(28,43,30,0.2);
  transition: border-color var(--transition);
}
.hero-cta-circle-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--dark);
  transform: scale(0);
  transition: transform 0.4s ease;
}
.hero-cta-link:hover .hero-cta-circle-fill { transform: scale(1); }
.hero-cta-link:hover .hero-cta-circle-border { border-color: var(--dark); }
.hero-cta-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cta-arrow svg { transition: color var(--transition); }
.hero-cta-link:hover .hero-cta-arrow svg { color: var(--white); }
.hero-cta-text { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; }
.hero-cta-label-en {
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity var(--transition);
  font-weight: 700;
}
.hero-cta-link:hover .hero-cta-label-en { opacity: 1; }
.hero-cta-label-ja { font-family: var(--serif); font-size: 0.875rem; letter-spacing: 0.2em; }

/* ヒーロー画像 */
.hero-image-area {
  order: 1;
  position: relative;
  height: 50vh;
}
@media (min-width: 1024px) {
  .hero-image-area {
    order: 2;
    height: 85vh;
  }
}
.hero-image-bg {
  position: absolute;
  top: 3rem;
  left: -3rem;
  width: 100%;
  height: 100%;
  background: var(--cream-alt);
  z-index: 0;
  display: none;
}
@media (min-width: 1024px) { .hero-image-bg { display: block; } }
.hero-image-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 20s ease;
}
.hero-image-wrap:hover img { transform: scale(1.05); }
.hero-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  max-width: 220px;
}
.hero-badge-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.hero-badge-line::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.hero-badge-since {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-badge-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.hero-badge-number sup { font-size: 1rem; color: var(--text-muted); font-weight: 300; margin-left: 2px; }
.hero-badge-label {
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.section-header-left { display: flex; flex-direction: column; }
.section-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  transition: color var(--transition);
  display: none;
}
@media (min-width: 768px) { .section-link { display: inline-block; } }
.section-link:hover { color: var(--text); }

/* =====================================================
   PHILOSOPHY (HOME)
   ===================================================== */
.philosophy-section {
  padding: 10rem 0;
  position: relative;
}
.philosophy-deco-line {
  position: absolute;
  top: 0;
  left: 5rem;
  width: 1px;
  height: 100%;
  background: var(--border);
  display: none;
}
@media (min-width: 1024px) { .philosophy-deco-line { display: block; } }
.philosophy-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .philosophy-inner {
    flex-direction: row;
    gap: 6rem;
    padding-left: 5rem;
  }
}
.philosophy-image {
  width: 100%;
  position: relative;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .philosophy-image { width: 45%; } }
.philosophy-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.philosophy-image-deco {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: var(--cream-alt);
  z-index: -1;
  display: none;
}
@media (min-width: 1024px) { .philosophy-image-deco { display: block; } }
.philosophy-content { flex: 1; }
.philosophy-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 3rem;
}
.philosophy-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 4rem;
}
.philosophy-items { display: flex; flex-direction: column; gap: 3rem; }
.philosophy-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.philosophy-item-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.philosophy-item h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.philosophy-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.9; font-weight: 300; }

/* =====================================================
   SERVICES (HOME - List style)
   ===================================================== */
.services-home {
  background: var(--white);
  padding: 8rem 0;
}
.services-list { display: flex; flex-direction: column; }
.service-list-item {
  display: block;
  border-top: 1px solid #f1f5f9;
  padding: 3rem 0;
  transition: border-color var(--transition);
  text-decoration: none;
}
.service-list-item:last-child { border-bottom: 1px solid #f1f5f9; }
.service-list-item:hover { border-color: var(--border); }
.service-list-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .service-list-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.service-list-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.service-list-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--text-light);
  transition: color var(--transition);
  min-width: 1.5rem;
}
.service-list-item:hover .service-list-num { color: var(--gold); }
.service-list-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--text-muted);
  transition: letter-spacing 0.5s ease, color var(--transition);
}
.service-list-item:hover .service-list-title {
  letter-spacing: 0.15em;
  color: var(--text);
}
.service-list-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .service-list-right { width: 50%; } }
.service-list-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 280px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}
@media (min-width: 768px) { .service-list-desc { display: block; } }
.service-list-item:hover .service-list-desc { opacity: 1; }
.service-list-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.service-list-item:hover .service-list-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* =====================================================
   CASES (HOME - Horizontal scroll)
   ===================================================== */
.cases-home { background: var(--cream); padding: 8rem 0; overflow: hidden; }
.cases-scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .cases-scroll-header { padding: 0 calc((100vw - 1400px) / 2); } }
.cases-scroll-controls { display: flex; gap: 1rem; }
.cases-scroll-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.cases-scroll-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.cases-scroll-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 0 1.5rem 3rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cases-scroll-track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .cases-scroll-track { padding: 0 calc((100vw - 1400px) / 2) 3rem; } }
.case-card {
  min-width: 320px;
  background: var(--white);
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  height: auto;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (min-width: 768px) { .case-card { min-width: 420px; max-width: 420px; } }
.case-card.is-visible { opacity: 1; transform: translateX(0); }
.case-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.case-card-header::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.case-card-client { font-size: 0.75rem; font-family: var(--sans); color: var(--text-muted); }
.case-card-title { font-family: var(--serif); font-size: 1.25rem; color: var(--text); line-height: 1.6; margin-bottom: 1.5rem; }
.case-card-flow { display: flex; flex-direction: column; gap: 1rem; }
.case-card-before {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}
.case-card-arrow { margin-left: 1rem; }
.case-card-after {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}
.case-card-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.case-card-category { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); }
.case-card-num { font-family: var(--serif); font-size: 3rem; color: #f1f5f9; font-weight: 700; line-height: 1; }

/* ケーススタディ カードリンク */
.case-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.case-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ケーススタディ アーカイブ一覧 */
.case-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.case-archive-card {
  min-width: unset;
  max-width: unset;
  height: auto;
  scroll-snap-align: unset;
  opacity: 1;
  transform: none;
}

/* ケーススタディ 個別ページ */
.case-single-hero {
  background: var(--cream-alt);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.case-single-hero-inner {
  max-width: 800px;
}
.case-single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.case-single-category {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}
.case-single-client {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.case-single-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.case-single-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.case-single-summary-box {
  flex: 1;
  min-width: 200px;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
}
.case-single-summary-before {
  background: var(--white);
  border: 1px solid var(--border);
}
.case-single-summary-after {
  background: var(--white);
  border: 2px solid var(--gold);
}
.case-single-summary-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.case-single-summary-before .case-single-summary-label { color: var(--text-muted); }
.case-single-summary-after .case-single-summary-label { color: var(--gold); }
.case-single-summary-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}
.case-single-summary-arrow {
  flex-shrink: 0;
}
.case-single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .case-single-layout { grid-template-columns: 1fr; }
}
.case-single-content h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.case-single-content h3:first-child { margin-top: 0; }
.case-single-content p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1rem;
}
.case-single-comment-box {
  background: var(--cream-alt);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 6rem;
}
.case-single-comment-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}
.case-single-comment {
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
}
.case-single-comment::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 0.5rem;
}
.case-single-comment p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 2fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand-logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-brand-logo-label { font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.footer-brand-logo-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.9; color: rgba(255,255,255,0.6); font-weight: 300; }
.footer-menu h3 {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-menu li { margin-bottom: 1rem; }
.footer-menu a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.footer-menu a::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}
.footer-menu a:hover { color: var(--white); }
.footer-menu a:hover::before { opacity: 1; }
.footer-contact { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-contact { grid-column: auto; } }
.footer-contact h3 {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-contact-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-phone {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.footer-contact-phone:hover { color: var(--gold); }
.footer-contact-text { color: rgba(255,255,255,0.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-tagline { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* =====================================================
   PAGE HEADER (共通ページタイトルエリア)
   ===================================================== */
.page-header {
  background: var(--cream);
  padding: 7rem 0 2rem;
}
.page-header-inner {
  text-align: left;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.page-header-en { display: block; margin-bottom: 0.5rem; }
.page-header-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-philosophy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 8rem;
}
@media (min-width: 768px) { .about-philosophy { grid-template-columns: 1fr 1fr; } }
.about-philosophy-text { order: 2; }
@media (min-width: 768px) { .about-philosophy-text { order: 1; } }
.about-philosophy-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.about-philosophy-title mark {
  background: rgba(191,161,95,0.15);
  color: inherit;
  padding: 0 0.25rem;
}
.about-philosophy-text p { font-size: 0.875rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.5rem; }
.about-philosophy-image {
  order: 1;
  position: relative;
  height: 400px;
}
@media (min-width: 768px) { .about-philosophy-image { order: 2; } }
.about-philosophy-image img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-md); }

.rep-card {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 8rem;
}
@media (min-width: 768px) { .rep-card { flex-direction: row; align-items: flex-start; } }
.rep-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.rep-info { flex: 1; }
.rep-label { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 0.5rem; }
.rep-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 1.5rem; }
.rep-bio { font-size: 0.875rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1.5rem; }
.rep-bio p { margin-bottom: 0.75rem; }
.rep-bio p:last-child { margin-bottom: 0; }
.rep-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rep-cert {
  font-size: 0.625rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
}

.company-table { border-top: 1px solid var(--border); max-width: 700px; margin: 0 auto; }
.company-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
@media (min-width: 768px) { .company-row { grid-template-columns: 1fr 2fr; align-items: center; } }
.company-label { font-weight: 500; color: var(--green); }
.company-value { color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.flow-section { margin-bottom: 8rem; }
.flow-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 3rem; }
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .flow-grid { grid-template-columns: repeat(4, 1fr); }
  .flow-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
  }
}
.flow-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.flow-step {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition);
}
.flow-item:hover .flow-step { border-color: var(--dark); transform: scale(1.05); }
.flow-item h4 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.flow-item p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; max-width: 180px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 8rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.service-card.is-visible { opacity: 1; transform: translateY(0); }
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.service-card-icon svg {
  display: block;
  flex-shrink: 0;
}
.service-card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.9; flex: 1; margin-bottom: 1.5rem; }
.service-card-checks { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.service-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }
.service-check-icon { color: var(--gold); flex-shrink: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--white);
}
.pricing-card-featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  position: relative;
}
@media (min-width: 768px) { .pricing-card-featured { transform: translateY(-1rem); } }
.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-plan { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--text-muted); }
.pricing-card-featured .pricing-plan { color: var(--gold); }
.pricing-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.pricing-price span { font-family: var(--sans); font-size: 0.875rem; font-weight: 400; color: var(--text-muted); margin-left: 0.25rem; }
.pricing-card-featured .pricing-price span { color: rgba(255,255,255,0.5); }
.pricing-desc { font-size: 0.875rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); color: var(--text-muted); line-height: 1.9; }
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.1); }
.pricing-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pricing-feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.pricing-feature-icon { color: var(--gold); flex-shrink: 0; }
.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid;
  transition: all var(--transition);
}
.pricing-btn-outline { border-color: var(--dark); color: var(--dark); }
.pricing-btn-outline:hover { background: var(--dark); color: var(--white); }
.pricing-btn-gold { border-color: var(--gold); background: var(--gold); color: var(--white); }
.pricing-btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.pricing-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 2rem; }

/* 料金テーブル */
.pricing-table-wrap {
  max-width: 700px;
  margin: 0 auto;
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing-table th {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
}
.pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.pricing-table tbody tr:hover { background: rgba(191,161,95,0.05); }
.pricing-includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

/* お客様の声 */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
/* カードリンク */
.voice-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.voice-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.voice-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
/* カードヘッダー（プロフィール） */
.voice-card-header {
  background: var(--cream-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.voice-card-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.voice-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.voice-card-info { flex: 1; min-width: 0; }
.voice-card-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.voice-card-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.voice-card-location {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}
/* カードボディ（引用文） */
.voice-card-body {
  padding: 1.75rem 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.voice-card-body::before {
  content: '\201C';
  position: absolute;
  top: 0.25rem;
  right: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}
.voice-card-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-card-readmore {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.voice-scroll-btns { display: none; }
@media (max-width: 767px) {
  .voice-scroll-btns { display: flex; gap: 0.5rem; }
}

/* お客様の声 アーカイブページ */
.voice-grid-archive {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* お客様の声 シングルページ */
.voice-single-hero {
  background: var(--cream-alt);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.voice-single-hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.voice-single-profile {
  text-align: center;
}
.voice-single-photo {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  margin: 0 auto 1.5rem;
  display: block;
  height: auto;
}
.voice-single-profile-info {
  text-align: center;
}
.voice-single-date {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.voice-single-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.voice-single-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.voice-single-location {
  font-size: 0.75rem;
  color: var(--text-light);
}
.voice-single-intro {
  padding-top: 0.5rem;
}
.voice-single-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.voice-single-lead {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text-muted);
}

/* インタビューQ&A コンテンツ */
.voice-single-content {
  max-width: 760px;
  margin: 0 auto;
}
.voice-single-content h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.6;
}
.voice-single-content p {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .voice-single-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .voice-single-photo {
    max-width: 180px;
  }
}

/* =====================================================
   CASES PAGE
   ===================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
.case-full-card {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.case-full-card.is-visible { opacity: 1; transform: translateY(0); }
.case-full-image { height: 260px; overflow: hidden; }
.case-full-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-full-card:hover .case-full-image img { transform: scale(1.03); }
.case-full-body { padding: 2.5rem; }
.case-full-category {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}
.case-full-client { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.case-full-title { font-family: var(--serif); font-size: 1.375rem; color: var(--text); margin-bottom: 2rem; line-height: 1.5; }
.case-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.case-before-label, .case-after-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.case-before-label { color: var(--text-muted); }
.case-after-label { color: var(--gold); }
.case-before-text { font-size: 0.875rem; color: var(--text-muted); }
.case-after-text { font-size: 0.875rem; color: var(--text); font-weight: 500; }
.case-metrics {
  font-size: 0.75rem;
  color: var(--white);
  background: var(--dark);
  padding: 0.5rem 1rem;
  display: inline-block;
}
.case-testimonial {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-style: italic;
}

/* =====================================================
   FAQ PAGE
   ===================================================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.faq-item.is-visible { opacity: 1; transform: translateY(0); }
.faq-item.is-open { border-color: var(--dark); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}
.faq-question-text {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
  flex: 1;
}
.faq-item.is-open .faq-question-text { color: var(--dark); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.faq-icon-plus, .faq-icon-minus { transition: opacity var(--transition); }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: flex; color: var(--gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px dashed var(--border);
  margin: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.9;
  padding-top: 1.25rem;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 8fr; } }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  height: fit-content;
}
.contact-info-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.contact-phone-link:hover { color: var(--gold); }
.contact-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  background: var(--cream);
  padding: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.contact-promises { margin-top: 0.5rem; }
.contact-promise-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-promise { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact-promise-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-promise-heading { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.contact-promise-text { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; }

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--dark);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .contact-form-card { padding: 3.5rem; } }
.contact-form-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.form-group:focus-within label { color: var(--dark); }
label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.form-required { color: #ef4444; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-input-underline {
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1rem;
  width: 100%;
  outline: none;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-input-underline::placeholder { color: var(--text-light); }
.form-input-underline:focus { border-color: var(--dark); }
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 1rem;
  outline: none;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-select:focus { border-color: var(--dark); }
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 1rem;
  outline: none;
  color: var(--text);
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--transition);
}
.form-textarea::placeholder { color: var(--text-light); }
.form-textarea:focus { border-color: var(--dark); }
.form-submit {
  display: inline-flex;
  align-items: center;
  padding: 1rem 3rem;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--dark);
  transition: all var(--transition);
  cursor: pointer;
}
.form-submit:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  border-radius: 2px;
}
.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  border-radius: 2px;
}

/* =====================================================
   BLOG (single.php / archive.php)
   ===================================================== */
.blog-archive-header { background: var(--cream); padding: 8rem 0 4rem; text-align: center; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  cursor: pointer;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
  background: var(--cream-alt);
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.1); }
.blog-card-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.blog-card-body { padding: 0; }
.blog-card-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.625rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.blog-card-date { font-size: inherit; color: inherit; }
.blog-card-author { font-size: inherit; color: inherit; }
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.blog-card:hover .blog-card-title { color: var(--green); }
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.blog-card-readmore {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  transition: gap 0.3s;
}
.blog-card:hover .blog-card-readmore { gap: 1rem; }
.blog-card-readmore svg { transition: transform 0.3s; }
.blog-card:hover .blog-card-readmore svg { transform: translateX(4px); }

/* 記事本文 */
.single-article { max-width: 780px; margin: 0 auto; padding-top: 5rem; }
.article-header { margin-bottom: 3rem; }
.article-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.article-date { font-size: 0.875rem; color: var(--text-muted); }
.article-cat {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.15rem 0.6rem;
}
.article-title { font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.4; margin-bottom: 2rem; }
.article-thumb { height: 400px; overflow: hidden; margin-bottom: 3rem; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-content { font-size: 1rem; line-height: 1.9; }
.article-content h2 { font-family: var(--serif); font-size: 1.5rem; margin: 3rem 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold); }
.article-content h3 { font-family: var(--serif); font-size: 1.25rem; margin: 2.5rem 0 1rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.article-content p { margin-bottom: 1.5rem; }
.article-content ul, .article-content ol { padding-left: 2rem; margin-bottom: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; list-style: disc; }
.article-content img { margin: 2rem 0; box-shadow: var(--shadow-sm); border-radius: 4px; max-width: 100%; height: auto; }
.article-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.9rem; }
.article-content th { background: var(--dark); color: var(--white); padding: 0.75rem 1rem; text-align: left; font-weight: 500; }
.article-content td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.article-content strong { color: var(--text); }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* スクロール誘導 */
.scroll-hint {
  text-align: center;
  padding: 1.5rem 0 0;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ブログ グリッド内スクロール誘導 */
.blog-grid-scroll-hint {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem 0;
  color: var(--text-light);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.3s;
}
.blog-grid-scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* カテゴリフィルター */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.blog-filter-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
  white-space: nowrap;
}
.blog-filter-tab:hover,
.blog-filter-tab.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* 目次 */
.article-toc {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin: 2rem 0 3rem;
  font-size: 0.875rem;
}
.article-toc:empty { display: none; }
.article-toc-title {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}
.article-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}
.article-toc li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-toc a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.article-toc a:hover { color: var(--gold); }

/* SNSシェア */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-share-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-share-btns {
  display: flex;
  gap: 0.75rem;
}
.article-share-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}
.article-share-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* タグ */
.article-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
}
.article-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 著者プロフィール */
.article-author {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
}
.article-author-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.article-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}
.article-author-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.article-author-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.article-author-bio {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* 前後の記事ナビ */
.article-nav {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.article-nav-link {
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s;
}
.article-nav-link:hover { border-color: var(--gold); }
.article-nav-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}
.article-nav-title {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--text);
  display: block;
  line-height: 1.5;
}

/* 関連記事 */
.article-related {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.article-related-heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* =====================================================
   FLOATING CTA (モバイル)
   ===================================================== */
.floating-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) { .floating-cta { display: none; } }
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.floating-btn:hover { transform: scale(1.1); }
.floating-btn-call { background: var(--white); color: var(--green); border: 1px solid var(--border); }
.floating-btn-consult {
  background: var(--gold);
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.6875rem;
  font-weight: 700;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem;
}
.not-found-num { font-family: var(--serif); font-size: clamp(6rem, 20vw, 12rem); font-weight: 700; color: var(--cream-alt); line-height: 1; margin-bottom: 2rem; }
.not-found h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1rem; }
.not-found p { color: var(--text-muted); margin-bottom: 2.5rem; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid var(--dark);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* トップへ戻る */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-color: var(--gold);
}


/* =====================================================
   RESPONSIVE HELPERS
   ===================================================== */
@media (max-width: 767px) {
  .site-header { padding: 0.5rem 0; }
  .site-logo img { width: 140px; height: auto; }
  .section, .section-lg { padding: 4rem 0; }
  .philosophy-section { padding: 5rem 0; }
  .hero-headline { font-size: 1.75rem; letter-spacing: 0.25em; gap: 1rem; }
  .hero-headline span { line-height: 1.8; }
  .hero-subcopy { font-size: 0.6875rem; }
  .hero-vertical-block { gap: 1.5rem; }

  /* ヒーロー: スマホで画像非表示 + ゴールド光彩 */
  .hero-image-area { display: none; }
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
  .hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background:
      radial-gradient(ellipse at 15% 25%, rgba(191,161,95,0.25) 0%, transparent 45%),
      radial-gradient(ellipse at 85% 65%, rgba(191,161,95,0.18) 0%, transparent 45%),
      radial-gradient(ellipse at 50% 90%, rgba(191,161,95,0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 10%, rgba(191,161,95,0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  /* サービス詳細カードのアイコン非表示 */
  .service-card-icon { display: none; }

  /* サービス一覧 */
  .service-list-item { padding: 1.25rem 0; }
  .service-list-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 0.75rem; }
  .service-list-left { gap: 0.75rem; flex: 1; }
  .service-list-title { font-size: 0.875rem; }
  .service-list-num { font-size: 0.625rem; min-width: 1.25rem; }
  .service-list-arrow { width: 28px; height: 28px; flex-shrink: 0; }

  /* ケーススタディ */
  .case-card { min-width: 300px; max-width: 300px; height: auto; min-height: 420px; padding: 2rem; }
  .case-card-title { font-size: 1rem; }

  /* お客様の声（スライド化） */
  .voice-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }
  .voice-grid::-webkit-scrollbar { display: none; }
  .voice-card {
    min-width: 85vw;
    max-width: 85vw;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
}
