/* ============================================
   コテラ木材 - 共通スタイルシート
   ============================================ */

:root {
  --bark:      #1A2416;
  --heartwood: #3E3226;
  --cedar:     #639952;
  --pine:      #8FC474;
  --sap:       #D6ECCC;
  --cream:     #F5F3EE;
  --moss:      #245A3A;
  --sky-deep:  #2A5F70;
  --sky-mid:   #4E8FAD;
  --sky-light: #B0D4E8;
  --sky-pale:  #E8F0F2;
  --soil:      #6B5A42;
  --sand:      #C4AD88;
  --gold:      #B89B6A;
  --warm:      #E8DDD0;
}

/* -- Reset -- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--bark);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* -- Noise texture -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

/* ============================================
   Navigation
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 243, 238, 0);
  backdrop-filter: blur(0px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

nav.scrolled {
  background: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* recruit.html ではデフォルトで scrolled 状態 */
nav.nav-solid {
  background: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 90px;
  width: auto;
  transition: all 0.5s;
  background: #ffffff;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(245,243,238,0.85);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  font-weight: 400;
}

nav.scrolled .nav-links a,
nav.nav-solid .nav-links a { color: var(--heartwood); }
.nav-links a:hover { color: var(--pine); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--pine);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--cedar) !important;
  color: var(--cream) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--pine) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.4s;
  display: block;
}

nav.scrolled .hamburger span,
nav.nav-solid .hamburger span { background: var(--bark); }

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(26, 36, 22, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--pine); }

/* ============================================
   Common section styles
   ============================================ */
section { padding: 120px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--cedar);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::after {
  content: '';
  flex: 0 0 48px;
  height: 1px;
  background: var(--cedar);
}

.section-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bark);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--heartwood);
  max-width: 560px;
}

/* ============================================
   Hero (index.html)
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 12s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 36, 22, 0.45) 0%,
    rgba(26, 36, 22, 0.35) 40%,
    rgba(26, 36, 22, 0.7) 70%,
    rgba(26, 36, 22, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 64px 100px;
}

.hero-headline {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFade 1s 0.3s forwards;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 4px 30px rgba(0,0,0,0.3);
}

.hero-headline em {
  font-style: normal;
  color: #F0D58C;
  display: block;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 4px 30px rgba(180,150,60,0.3);
}

.hero-sub {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade 1s 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade 1s 0.8s forwards;
}

@keyframes heroFade {
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  background: var(--cedar);
  color: var(--cream);
  padding: 16px 44px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  display: inline-block;
  font-weight: 500;
}

.btn-primary:hover { background: var(--pine); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(78,122,62,0.3); }

.btn-outline {
  border: 1.5px solid rgba(245,243,238,0.5);
  color: var(--cream);
  padding: 16px 44px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s;
  display: inline-block;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--cream); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  animation: heroFade 1s 1.2s forwards;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(245,243,238,0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245,243,238,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ============================================
   Stats
   ============================================ */
.stats-section {
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -60px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  overflow: hidden;
}

.stat-item {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.05);
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(200,222,187,0.08); }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--cedar);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number small {
  font-size: 1rem;
  color: var(--soil);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--soil);
  font-weight: 400;
}

/* ============================================
   News / 新着情報
   ============================================ */
.news-section {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--bark) 0%, rgba(26, 36, 22, 0.96) 100%);
  position: relative;
}

.news-header {
  margin-bottom: 40px;
}

.news-header .section-label {
  color: var(--pine);
}

.news-header .section-title {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(245, 243, 238, 0.12);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 16px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.08);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.news-item:hover {
  background: rgba(143, 196, 116, 0.06);
  padding-left: 28px;
}

.news-item:hover .news-title {
  color: var(--pine);
}

.news-item:hover .news-arrow::after {
  transform: translateX(4px);
  opacity: 1;
}

/* NEW badge */
.news-badge-new {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--bark);
  background: var(--pine);
  padding: 3px 10px;
  border-radius: 100px;
  animation: newsPulse 2s ease-in-out infinite;
}

@keyframes newsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(143, 196, 116, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(143, 196, 116, 0); }
}

/* Date */
.news-date {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(245, 243, 238, 0.45);
  min-width: 90px;
}

/* Category badge */
.news-category {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  min-width: 72px;
  text-align: center;
}

.news-cat-event {
  background: rgba(184, 155, 106, 0.2);
  color: var(--gold);
  border: 1px solid rgba(184, 155, 106, 0.3);
}

.news-cat-product {
  background: rgba(99, 153, 82, 0.15);
  color: var(--cedar);
  border: 1px solid rgba(99, 153, 82, 0.25);
}

.news-cat-info {
  background: rgba(78, 143, 173, 0.15);
  color: var(--sky-mid);
  border: 1px solid rgba(78, 143, 173, 0.25);
}

.news-cat-media {
  background: rgba(214, 236, 204, 0.12);
  color: var(--sap);
  border: 1px solid rgba(214, 236, 204, 0.2);
}

.news-cat-recruit {
  background: rgba(196, 173, 136, 0.15);
  color: var(--sand);
  border: 1px solid rgba(196, 173, 136, 0.25);
}

/* Title */
.news-title {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.88);
  transition: color 0.3s;
}

/* Arrow */
.news-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.news-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--pine);
  transform: translateX(0);
  opacity: 0;
  transition: all 0.35s;
}

.news-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--pine);
  border-right: 1.5px solid var(--pine);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: all 0.35s;
}

.news-item:hover .news-arrow::before {
  opacity: 1;
  right: -2px;
}

/* Latest item highlight */
.news-item-latest {
  background: rgba(143, 196, 116, 0.04);
}

/* Responsive: News */
@media (max-width: 900px) {
  .news-section { padding: 64px 0 48px; }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 18px 12px;
  }

  .news-item:hover {
    padding-left: 16px;
  }

  .news-badge-new {
    order: -1;
  }

  .news-date {
    min-width: auto;
  }

  .news-title {
    flex-basis: 100%;
    font-size: 0.88rem;
    padding-left: 0;
  }

  .news-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .news-section { padding: 48px 0 36px; }

  .news-header { margin-bottom: 28px; }

  .news-item {
    padding: 16px 8px;
    gap: 6px 12px;
  }

  .news-category {
    font-size: 0.62rem;
    padding: 3px 10px;
    min-width: auto;
  }

  .news-title {
    font-size: 0.82rem;
  }
}

/* ============================================
   Intro / About
   ============================================ */
.intro-section {
  padding: 120px 0 80px;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text-area .section-title {
  margin-bottom: 28px;
}

.intro-body {
  font-size: 0.95rem;
  line-height: 2.4;
  color: var(--heartwood);
}

.intro-body strong {
  color: var(--bark);
  font-weight: 500;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.intro-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.intro-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,222,187,0.2);
  border-radius: 10px;
}

.intro-feature-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--bark);
  font-weight: 400;
}

.intro-feature-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--soil);
  font-weight: 300;
  margin-top: 2px;
}

.intro-img-area {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.intro-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.intro-img-area:hover img { transform: scale(1.03); }

.intro-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(26, 36, 22, 0.9);
  backdrop-filter: blur(8px);
  color: var(--sap);
  padding: 14px 24px;
  border-radius: 6px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

/* ============================================
   Flow
   ============================================ */
.flow-section {
  position: relative;
  color: var(--cream);
  padding: 120px 0;
  overflow: hidden;
  background: var(--bark);
}

.flow-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.3) saturate(0.7);
}

.flow-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 36, 22, 0.6) 0%,
    rgba(42, 95, 112, 0.4) 50%,
    rgba(26, 61, 43, 0.6) 100%
  );
}

.flow-section > * { position: relative; z-index: 1; }

.flow-header {
  text-align: center;
  margin-bottom: 80px;
}

.flow-header .section-label {
  justify-content: center;
  color: var(--sky-light);
}

.flow-header .section-label::after { display: none; }
.flow-header .section-title { color: var(--cream); }

.flow-header-desc {
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(245,243,238,0.7);
  max-width: 520px;
  margin: 0 auto;
}

.flow-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--sky-light), var(--pine), var(--sand));
  transform: translateX(-50%);
  opacity: 0.35;
}

.flow-item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  min-height: 130px;
  position: relative;
}

.flow-item-left { padding: 24px 36px 24px 0; text-align: right; }
.flow-item-right { padding: 24px 0 24px 36px; text-align: left; }

.flow-item:nth-child(odd) .flow-item-content { grid-column: 1; }
.flow-item:nth-child(odd) .flow-item-center { grid-column: 2; }
.flow-item:nth-child(odd) .flow-item-empty { grid-column: 3; }
.flow-item:nth-child(even) .flow-item-empty { grid-column: 1; }
.flow-item:nth-child(even) .flow-item-center { grid-column: 2; }
.flow-item:nth-child(even) .flow-item-content { grid-column: 3; }

.flow-item:nth-child(even) .flow-item-content { text-align: left; padding: 24px 0 24px 36px; }
.flow-item:nth-child(odd) .flow-item-content { text-align: right; padding: 24px 36px 24px 0; }

.flow-item-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.flow-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(42, 95, 112, 0.4);
  border: 1.5px solid rgba(176, 212, 232, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 6px rgba(176, 212, 232, 0.08);
  transition: all 0.4s;
  flex-shrink: 0;
}

.flow-item:hover .flow-node {
  transform: scale(1.12);
  box-shadow: 0 0 0 12px rgba(176, 212, 232, 0.12);
  border-color: rgba(176, 212, 232, 0.7);
}

.flow-node-arrow {
  width: 1px;
  height: 18px;
  background: rgba(176, 212, 232, 0.3);
  position: relative;
}

.flow-node-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid rgba(176, 212, 232, 0.4);
}

.flow-item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--sky-light);
  opacity: 0.7;
  margin-bottom: 6px;
}

.flow-item-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.flow-item-desc {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(245, 243, 238, 0.7);
}

.flow-item:last-child .flow-node-arrow { display: none; }

/* ============================================
   Services banner
   ============================================ */
.services-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.services-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transition: transform 8s ease;
}

.services-banner:hover .services-banner-img { transform: scale(1.03); }

.services-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 36, 22, 0.1) 0%,
    rgba(245, 243, 238, 0) 30%,
    rgba(245, 243, 238, 0.95) 90%,
    rgba(245, 243, 238, 1) 100%
  );
}

.services-banner-text {
  position: absolute;
  bottom: 48px;
  left: 0; right: 0;
  text-align: center;
}

.services-banner-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--bark);
  letter-spacing: 0.1em;
}

/* ============================================
   Service cards
   ============================================ */
#services { padding-top: 60px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s;
}

.service-card:hover { transform: translateY(-4px); }

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.service-card:hover .service-card-bg { transform: scale(1.06); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 36, 22, 0.05) 0%,
    rgba(26, 36, 22, 0.5) 40%,
    rgba(26, 36, 22, 0.92) 100%
  );
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 36px;
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--sky-light);
  margin-bottom: 12px;
  opacity: 0.8;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.service-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.service-desc {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(245, 243, 238, 0.75);
}
.service-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sap);
  text-decoration: none;
  transition: color 0.3s;
}
.service-link:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* ============================================
   Philosophy
   ============================================ */
.philosophy-section {
  overflow: hidden;
  position: relative;
  padding: 0;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.philosophy-left {
  padding: 100px 72px;
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, var(--bark) 0%, #243320 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philosophy-right {
  position: relative;
  overflow: hidden;
}

.philosophy-right-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
  transition: transform 8s ease;
}

.philosophy-right:hover .philosophy-right-bg { transform: scale(1.04); }

.philosophy-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 36, 22, 0.3) 0%,
    transparent 40%
  );
}

.philosophy-right-text {
  position: absolute;
  z-index: 2;
  bottom: 48px;
  right: 48px;
  font-family: 'Zen Old Mincho', serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(200, 222, 187, 0.45);
  line-height: 1;
}

.philosophy-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--sap);
  margin-bottom: 36px;
  position: relative;
  padding-left: 24px;
}

.philosophy-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pine), transparent);
}

.philosophy-body {
  font-size: 0.9rem;
  line-height: 2.4;
  color: rgba(245, 243, 238, 0.7);
}

/* ============================================
   Gallery
   ============================================ */
.gallery-section {
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(245,243,238,0.9);
  font-weight: 400;
}

/* ============================================
   Workshop
   ============================================ */
.workshop-section {
  position: relative;
  padding: 120px 0;
  background: var(--heartwood);
  overflow: hidden;
}

.workshop-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.6);
}

.workshop-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(62, 50, 38, 0.5) 0%, rgba(26, 61, 43, 0.5) 100%);
}

.workshop-section > * { position: relative; z-index: 1; }

.workshop-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: stretch;
  margin-top: 56px;
}

.workshop-main {
  background: rgba(26, 36, 22, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 56px;
  color: var(--cream);
  border: 1px solid rgba(200, 222, 187, 0.1);
}

.workshop-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--sap);
}

.workshop-text {
  font-size: 0.9rem;
  line-height: 2.2;
  color: rgba(245,243,238,0.75);
  margin-bottom: 32px;
}

.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workshop-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--sap);
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 222, 187, 0.1);
  font-weight: 400;
}

.workshop-item::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--pine);
  flex-shrink: 0;
}

.workshop-sub-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workshop-sub {
  background: rgba(245, 243, 238, 0.97);
  padding: 32px;
  border-radius: 8px;
  border-left: 3px solid var(--cedar);
  transition: all 0.3s;
}

.workshop-sub:hover { transform: translateX(6px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.workshop-sub-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 10px;
  font-size: 1rem;
}

.workshop-sub-text {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--heartwood);
}

/* ============================================
   Recruit section (on index.html)
   ============================================ */
.recruit-section {
  position: relative;
  color: var(--cream);
  padding: 120px 0;
  overflow: hidden;
  background: var(--moss);
}

.recruit-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.6);
}

.recruit-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 61, 43, 0.65) 0%, rgba(42, 95, 112, 0.45) 100%);
}

.recruit-section > * { position: relative; z-index: 1; }

.recruit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.recruit-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--sap);
  margin-bottom: 16px;
}

.recruit-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.recruit-body {
  font-size: 0.9rem;
  line-height: 2.2;
  color: rgba(245, 243, 238, 0.75);
  margin-bottom: 40px;
}

.recruit-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.recruit-tag {
  border: 1px solid rgba(200, 222, 187, 0.35);
  color: var(--sap);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 400;
}

.btn-green {
  background: var(--pine);
  color: var(--bark);
  padding: 16px 40px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.4s;
}

.btn-green:hover { background: var(--sap); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 175, 96, 0.25); }

.recruit-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(200, 222, 187, 0.1);
  transition: all 0.3s;
}

.recruit-point:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200, 222, 187, 0.25);
}

.recruit-point-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 122, 62, 0.2);
  border-radius: 50%;
}

.recruit-point-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sap);
  font-size: 1rem;
}

.recruit-point-text {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(245, 243, 238, 0.7);
}

/* ============================================
   Contact
   ============================================ */
.contact-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.2) saturate(0.5);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(245,243,238,0.75);
  margin-bottom: 48px;
}

.contact-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-section .section-title { color: var(--cream); }
.contact-section .section-label { justify-content: center; color: var(--pine); }
.contact-section .section-label::after { display: none; }

.contact-section .btn-outline {
  border-color: rgba(245,243,238,0.4);
  color: var(--cream);
}

.contact-section .btn-outline:hover {
  background: rgba(245,243,238,0.1);
  border-color: var(--cream);
}

.contact-info-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245,243,238,0.6);
  font-size: 0.85rem;
}

.contact-info-item span[role="img"] {
  font-size: 1.2rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form,
.apply-form {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(245,243,238,0.8);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-group label .required {
  background: var(--cedar);
  color: var(--cream);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(245,243,238,0.2);
  border-radius: 6px;
  color: var(--cream);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,243,238,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pine);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(124,175,96,0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,243,238,0.5)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bark);
  color: var(--cream);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* File upload */
.file-upload-area {
  border: 1.5px dashed rgba(245,243,238,0.25);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--pine);
  background: rgba(124,175,96,0.08);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.file-upload-text {
  font-size: 0.85rem;
  color: rgba(245,243,238,0.7);
  margin-bottom: 6px;
}

.file-upload-hint {
  font-size: 0.72rem;
  color: rgba(245,243,238,0.4);
}

.file-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--sap);
}

.file-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.file-item-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-remove {
  background: none;
  border: none;
  color: rgba(245,243,238,0.5);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.file-remove:hover {
  color: #e57373;
}

.form-submit {
  background: var(--cedar);
  color: var(--cream);
  border: none;
  padding: 18px 56px;
  font-size: 0.88rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s;
  display: block;
  margin: 36px auto 0;
}

.form-submit:hover {
  background: var(--pine);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78,122,62,0.3);
}

.form-submit--green {
  background: var(--pine);
  color: var(--bark);
}

.form-submit--green:hover {
  background: var(--sap);
  box-shadow: 0 8px 30px rgba(124,175,96,0.25);
}

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(245,243,238,0.4);
  margin-top: 16px;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  color: var(--pine);
}

.form-success-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sap);
  margin-bottom: 12px;
}

.form-success-text {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(245,243,238,0.6);
}

/* ============================================
   Access
   ============================================ */
.access-section {
  padding: 96px 48px;
  background: var(--cream);
}

.access-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.access-info .section-label {
  display: block;
  margin-bottom: 12px;
}

.access-dl {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.access-dl dt {
  font-weight: 500;
  color: var(--heartwood);
}

.access-dl dd {
  color: var(--bark);
}

.access-map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--moss);
  color: rgba(245, 243, 238, 0.5);
  padding: 72px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,243,238,0.06);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  background: var(--moss);
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(245,243,238,0.45);
}

.footer-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--sky-light);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(245,243,238,0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--sap); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(245,243,238,0.25);
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Recruit page specific
   ============================================ */
.page-header {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--moss);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.6);
}

.page-header-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 61, 43, 0.65) 0%, rgba(42, 95, 112, 0.45) 100%);
}

.page-header > * { position: relative; z-index: 1; }
.page-header .container { text-align: center; }

.page-header-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--sap);
  margin-bottom: 16px;
}

.page-header-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
}

.page-header-sub {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(245,243,238,0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* Message section */
.message-section {
  padding: 100px 0;
  background: white;
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--bark);
  margin-bottom: 28px;
  position: relative;
  padding-left: 24px;
}

.message-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pine), transparent);
}

.message-body {
  font-size: 0.92rem;
  line-height: 2.4;
  color: var(--heartwood);
}

.message-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Points section */
.points-section { padding: 100px 0; }

.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.point-card {
  background: white;
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.point-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
  width: 72px;
  height: 72px;
  line-height: 72px;
  margin: 0 auto 20px;
  background: rgba(200,222,187,0.2);
  border-radius: 50%;
}

.point-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 12px;
}

.point-text {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--heartwood);
}

/* Job table */
.job-section {
  padding: 100px 0;
  background: white;
}

.job-table {
  width: 100%;
  margin-top: 48px;
  border-collapse: collapse;
}

.job-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.job-table th {
  width: 180px;
  padding: 24px 28px;
  text-align: left;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bark);
  background: rgba(200,222,187,0.08);
  vertical-align: top;
}

.job-table td {
  padding: 24px 28px;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--heartwood);
}

.job-table td ul { padding-left: 20px; }
.job-table td li { margin-bottom: 4px; }

/* Apply section */
.apply-section {
  padding: 100px 0;
  background: linear-gradient(145deg, var(--bark) 0%, #243320 100%);
  position: relative;
  overflow: hidden;
}

.apply-section .container {
  position: relative;
  z-index: 1;
}

.apply-header {
  text-align: center;
  margin-bottom: 48px;
}

.apply-header .section-label {
  justify-content: center;
  color: var(--pine);
}

.apply-header .section-label::after { display: none; }
.apply-header .section-title { color: var(--cream); }

.apply-header-desc {
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(245,243,238,0.65);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   Works page
   ============================================ */
.works-section {
  padding: 100px 0;
  background: var(--cream);
}

.works-grid {
  columns: 3;
  column-gap: 20px;
  margin-top: 56px;
}

.works-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.works-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.works-item:hover img {
  transform: scale(1.05);
}

.works-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(to top, rgba(26, 36, 22, 0.8), transparent);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(245, 243, 238, 0.95);
  font-weight: 400;
}

/* Works CTA */
.works-cta {
  padding: 100px 0;
  background: linear-gradient(145deg, var(--bark) 0%, #243320 100%);
}

.works-cta-inner {
  text-align: center;
}

.works-cta-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
}

.works-cta-text {
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(245, 243, 238, 0.7);
  margin-bottom: 40px;
}

/* Works responsive */
@media (max-width: 900px) {
  .works-grid { columns: 2; }
}

@media (max-width: 600px) {
  .works-grid { columns: 1; }
}

/* ============================================
   Mobile timeline
   ============================================ */
@media (max-width: 640px) {
  .flow-timeline::before { left: 30px; top: 0; bottom: 0; }
  .flow-item { grid-template-columns: 64px 1fr !important; }
  .flow-item-center { grid-column: 1 !important; grid-row: 1; }
  .flow-item-content { grid-column: 2 !important; grid-row: 1; text-align: left !important; padding: 16px 0 16px 20px !important; }
  .flow-item-empty { display: none; }
  .flow-node { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .recruit-inner { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .intro-img-area { max-height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .points-grid { grid-template-columns: 1fr 1fr; }
  .message-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================
   DIY Navi (index.html)
   ============================================ */
.diynavi-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm) 100%);
}

.diynavi-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.diynavi-lead {
  font-size: 0.98rem;
  line-height: 2.1;
  color: var(--heartwood);
  margin-bottom: 28px;
}

.diynavi-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 36px;
}

.diynavi-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bark);
}

.diynavi-feature-ic {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: var(--sap);
  border-radius: 12px;
}

.diynavi-btns { display: flex; }

/* Browser-style preview frame */
.diynavi-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.diynavi-frame {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(26, 36, 22, 0.22);
  border: 1px solid rgba(26, 36, 22, 0.08);
}

.diynavi-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bark);
}

.diynavi-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(245, 243, 238, 0.35);
}

.diynavi-frame-url {
  margin-left: 12px;
  flex: 1;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--sap);
  background: rgba(245, 243, 238, 0.1);
  border-radius: 8px;
  padding: 3px 0;
}

.diynavi-iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background: var(--cream);
}

.diynavi-preview-note {
  font-size: 0.8rem;
  color: var(--cedar);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .diynavi-inner { grid-template-columns: 1fr; gap: 48px; }
  .diynavi-text { text-align: left; }
  .diynavi-iframe { height: 70vh; min-height: 480px; }
  .philosophy-inner { grid-template-columns: 1fr; }
  .philosophy-right { min-height: 300px; }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { padding: 0 32px 80px; }
  .stats-section { margin-top: -40px; }
  .stats-grid { margin: 0 24px; }
  .access-inner { grid-template-columns: 1fr; }
  .access-section { padding: 72px 24px; }
}

@media (max-width: 600px) {
  .diynavi-features { grid-template-columns: 1fr; gap: 12px; }
  .diynavi-frame { max-width: 100%; }
  .diynavi-iframe { height: 78vh; min-height: 440px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 300px; }
  .hero-content { padding: 0 20px 60px; }
  section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .recruit-points { gap: 12px; }
  .recruit-point { padding: 20px; }
  .workshop-main { padding: 36px 24px; }
  .philosophy-left { padding: 60px 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; margin: 0 16px; }
  .stat-item { padding: 28px 16px; }
  .stat-number { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16/9; }
  .intro-features { grid-template-columns: 1fr; }
  .contact-info-row { flex-direction: column; gap: 16px; align-items: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form,
  .apply-form { margin-top: 36px; }
  .points-grid { grid-template-columns: 1fr; }
  .job-table th {
    display: block;
    width: 100%;
    padding: 16px 20px 4px;
  }
  .job-table td {
    display: block;
    padding: 4px 20px 16px;
  }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
