/* ============================================================
   TETSUKEN — Design System v2.0
   ミニマル・エディトリアルデザイン
   ============================================================ */

/* --- Google Fonts (loaded in HTML head) ---
   Cormorant Garamond: 300,400,500,600,700
   Montserrat: 300,400,500
   Noto Sans JP: 400,500,600,700
   ------------------------------------------------------------ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Colors ── */
  --bg:           #f5f3ef;
  --bg-alt:       #eae7e0;
  --surface:      #ffffff;
  --dark:         #1a1815;
  --dark-mid:     #3d3b38;
  --text:         #1a1815;
  --text-muted:   #706d6a;
  --text-light:   #a8a5a2;
  --primary:      #2d4a3e;
  --primary-dk:   #1e3329;
  --accent:       #9b7b55;
  --accent-dk:    #7d6242;
  --border:       #d8d4cd;
  --border-light: #ebe8e2;
  --footer:       #1a1815;

  /* ── Typography ── */
  --font-en:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-label: 'Montserrat', -apple-system, sans-serif;
  --font-ja:    'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Spacing ── */
  --sp-xs:  24px;
  --sp-sm:  48px;
  --sp-md:  80px;
  --sp-lg:  140px;
  --sp-xl:  200px;

  /* ── Layout ── */
  --container:    1160px;
  --container-sm: 800px;

  /* ── Radius ── */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* ── Shadows ── */
  --sh-xs: 0 2px 12px rgba(26,24,21,0.04);
  --sh-sm: 0 4px 24px rgba(26,24,21,0.06);
  --sh-md: 0 12px 48px rgba(26,24,21,0.08);
  --sh-lg: 0 24px 80px rgba(26,24,21,0.12);

  /* ── Easing ── */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  /* ── Legacy compat ── */
  --color-primary:      var(--primary);
  --color-primary-dark: var(--primary-dk);
  --color-accent:       var(--accent);
  --color-accent-hover: var(--accent-dk);
  --color-text:         var(--text);
  --color-text-muted:   var(--text-muted);
  --color-bg:           var(--bg);
  --color-bg-alt:       var(--bg-alt);
  --color-card:         var(--surface);
  --color-footer:       var(--footer);
  --color-nav:          var(--dark);
  --shadow-sm: var(--sh-xs);
  --shadow-md: var(--sh-sm);
  --shadow-lg: var(--sh-md);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-md);
  --space-section: var(--sp-xl);
  --container: 1160px;
  --font-sans: var(--font-ja);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 { margin-top: 0; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

.reveal-line {
  width: 0;
  height: 1px;
  background: var(--border);
  transition: width 1.2s var(--ease-out);
  display: block;
}
.reveal-line.is-visible { width: 100%; }

/* ============================================================
   HERO FADE-IN (legacy — JS-driven with data-delay)
   ============================================================ */
.fade-in-item { opacity: 0; }
.fade-in-item.is-animated {
  animation: fadeInUp 0.9s cubic-bezier(0, 0, 0.2, 1) forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION HEADER — shared pattern
   ============================================================ */
.section-header {
  margin-bottom: 72px;
}

.section-en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-en::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title-ja {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
              backdrop-filter 0.45s;
}

.site-header.scrolled {
  background: rgba(26, 24, 21, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.logo {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: none;
  z-index: 10;
  transition: opacity 0.25s;
}
.logo:hover { opacity: 0.75; }

/* Hamburger toggle — 3-line CSS */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s;
}
.menu-toggle span:nth-child(2) { width: 70%; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); width: 100%; }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Nav backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.55);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Nav panel */
.main-nav {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  height: 100vh;
  background: var(--dark);
  z-index: 900;
  padding: 80px 40px 48px;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex !important;
  flex-direction: column;
  overflow-y: auto;
}
.main-nav.is-open { transform: translateX(0); }

.menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.25s, transform 0.25s;
  line-height: 1;
}
.menu-close:hover { color: #fff; transform: rotate(90deg); }

.main-nav .nav-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
  opacity: 0.7;
}

.main-nav .menu-item {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-ja);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.25s, padding-left 0.3s var(--ease);
}
.main-nav .menu-item:hover {
  color: #fff;
  padding-left: 6px;
}
.main-nav .menu-item .icon { display: none; }

.main-nav .menu-contact {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-ja);
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav .menu-contact a { color: rgba(255, 255, 255, 0.7); }
.main-nav .menu-contact .icon { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

/* Single static bg — JS will no longer inject divs */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.04);
  transition: transform 10s var(--ease-out), opacity 2s;
  opacity: 1;
}
.hero-bg.is-loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 24, 21, 0.80) 0%,
    rgba(26, 24, 21, 0.25) 50%,
    rgba(26, 24, 21, 0.18) 100%
  );
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  padding: 0 60px 100px;
}

.hero-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 24px;
  word-break: keep-all;
  text-shadow: none;
}

.hero p,
.hero-sub {
  font-family: var(--font-ja);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 52px;
  line-height: 1.9;
  text-shadow: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   BUTTONS — new design
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--r-xs);
  transition: all 0.3s var(--ease);
  box-sizing: border-box;
  cursor: pointer;
  border: none;
}

.btn.large {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
  border: none;
  box-shadow: 0 4px 20px rgba(155, 123, 85, 0.3);
  transition: all 0.3s var(--ease);
}
.btn.large:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 123, 85, 0.4);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155, 123, 85, 0.25);
}
.btn.primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 123, 85, 0.35);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn.outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn.outline-white:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* Override for contact section */
.contact .btn.large {
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(155, 123, 85, 0.3);
}
.contact .btn.large:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 123, 85, 0.4);
}

/* ============================================================
   CONTACT / WORRIES
   ============================================================ */
.contact {
  width: 100%;
  background: var(--surface);
  padding: var(--sp-xl) 0;
  position: relative;
}

.contact .section-header {
  text-align: center;
}

/* Legacy h2 selector */
.contact h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.contact h2::after { display: none; }

/* Worries grid */
.worries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.worry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.worry-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(20%);
  border: none;
  box-shadow: none;
}

/* Speech bubble — refined */
.speech {
  background: var(--surface);
  padding: 24px 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 48px rgba(26, 24, 21, 0.04);
  font-family: var(--font-ja);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  line-height: 2.0;
  color: var(--text-muted);
  position: relative;
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.worry-item:hover .speech {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(26, 24, 21, 0.07);
}
.speech::after {
  content: '';
  position: absolute;
  bottom: -11px; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--border-light);
}
.speech::before {
  content: '';
  position: absolute;
  bottom: -9.5px; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--surface);
  z-index: 1;
}

/* Lead text */
.lead {
  max-width: 600px;
  margin: 0 auto 52px;
  text-align: center;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 2.2;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--bg);
  padding: var(--sp-xl) 0;
  position: relative;
}

.services h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.services h2::after { display: none; }

/* Grid: 3 cards separated by hairlines */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.service-card {
  background: var(--surface);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}
.service-card:hover { background: var(--bg); }

.service-image {
  margin-bottom: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-image img { transform: scale(1.05); }

.service-number {
  display: block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-content h3 {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.service-content h3 span {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.service-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.95;
}

/* ============================================================
   WORKS
   ============================================================ */
.works {
  background: var(--dark);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Hide canvas wave */
#bgCanvas { display: none; }

.works .container { position: relative; z-index: 2; }

/* Tint section labels for dark bg */
.works .section-en { color: rgba(255, 255, 255, 0.38); }
.works .section-en::before { background: rgba(255, 255, 255, 0.3); }
.works .section-title { color: #fff; }
.works .section-title-ja { color: rgba(255, 255, 255, 0.45); }

.works h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 60px;
}
.works h2::after { display: none; }

/* 2-column grid with breathing room */
.works .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
  background: transparent;
  padding: 0 8px;
}

.work-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.work-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-link:hover .work-item img { transform: scale(1.06); }

.work-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(26,24,21,0.72) 0%, transparent 55%);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-link:hover .work-item figcaption { opacity: 1; }

/* Mobile: always show caption */
.work-overview-actions {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* ============================================================
   REPRESENTATIVE
   ============================================================ */
.representative-section {
  background: var(--bg-alt);
  padding: var(--sp-xl) 0;
}

.representative-section .section-title { color: var(--text); }

/* New 2-column editorial layout */
.representative-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}

/* legacy card — override */
.representative-card {
  display: contents;
}

.rep-photo {
  aspect-ratio: 1 / 1;          /* 正方形 */
  width: 340px;                 /* 縮小 */
  max-width: 100%;
  overflow: hidden;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.rep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  transition: filter 0.6s var(--ease);
}
.rep-photo:hover img { filter: grayscale(0%); }

.rep-info {
  text-align: left;
  flex: unset;
}

.rep-title-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.rep-title-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.rep-info h3 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.rep-info .title {
  font-family: var(--font-ja);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.rep-intro {
  font-family: var(--font-ja);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 2.1;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 2px solid var(--border);
}

.rep-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0;
}

/* ============================================================
   NEWS TIMELINE
   ============================================================ */
.news {
  background: var(--surface);
  padding: var(--sp-xl) 0;
}

.news h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: left;
  margin-bottom: 12px;
}
.news h2::after { display: none; }

.news-intro {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: left;
  margin-bottom: 0;
}

.news-list,
.timeline {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.timeline::before { display: none; }

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  padding: 28px 8px 28px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.timeline-item:first-child { border-top: 1px solid var(--border-light); }
.timeline-item:hover { padding-left: 12px; background: var(--bg-alt); }
.timeline-item::before { display: none; }

.timeline-more {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 8px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
  white-space: nowrap;
}
.timeline-more::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.timeline-item:hover .timeline-more {
  color: var(--accent);
  gap: 14px;
}
.timeline-item:hover .timeline-more::after { width: 32px; }

.news-more {
  margin-top: 56px;
  text-align: center;
}
.news-more .btn {
  padding: 14px 40px;
}

.timeline-date {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
  font-weight: 500;
}

.timeline-content {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.timeline-content h3 {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

/* ============================================================
   RECRUIT SECTION (index page band)
   ============================================================ */
.recruit {
  position: relative;
  background: var(--primary);
  padding: var(--sp-lg) 0;
  overflow: hidden;
}
.recruit-overlay { display: none; }

.recruit-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.recruit h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 14px;
}
.recruit-sub {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 48px;
}
.recruit p {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 48px;
}

.recruit .btn.large {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  transition: all 0.3s var(--ease);
}
.recruit .btn.large:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   ABOUT / COMPANY INFO
   ============================================================ */
.about {
  background: var(--bg);
  padding: var(--sp-xl) 0 var(--sp-lg);
  position: relative;
  text-align: left;
}
.about-bg { display: none; }

.about h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.about h2::after { display: none; }

.about h3 {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
}

.about > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* Company profile table */
.company-profile {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  max-width: 600px;
  margin: 0 auto 64px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.company-profile dt,
.company-profile dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  margin: 0;
}
.company-profile dt {
  font-weight: 500;
  color: var(--text);
}
.company-profile dd {
  color: var(--text-muted);
}

/* SNS */
.SNSContainer {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.SNSContainer h3 {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
}
.social-links a:hover { transform: translateY(-3px); }
.social-links a.line-link:hover {
  background: #06C755;
  color: #fff;
  border-color: #06C755;
}
.social-links a.insta-link:hover {
  background: #E4405F;
  color: #fff;
  border-color: #E4405F;
}

/* Map */
.map-wrap {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  position: relative;
  z-index: 1;
}

/* ============================================================
   HP RECRUIT BAND — 広告枠（信州Webデザイン / てつ建とは別事業者）
   → 本体サイトと明確に差別化するため、配色・タイポを別系統に
   ============================================================ */
.hp-recruit {
  position: relative;
  background: #ece6d8;           /* 暖色クリーム: フッターの #1a1815 と完全に対比 */
  padding: 88px 20px 96px;
  text-align: center;
  border-top: 1px solid rgba(26, 24, 21, 0.08);
  border-bottom: 1px solid rgba(26, 24, 21, 0.08);
  /* 布目のようなごく薄いテクスチャ（広告枠の"紙面感"を演出） */
  background-image:
    radial-gradient(ellipse at top left, rgba(155, 123, 85, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(45, 74, 62, 0.06) 0%, transparent 55%);
}
.hp-recruit-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 広告であることを明示する小さなバッジ（右上固定） */
.hp-recruit-sponsor {
  position: absolute;
  top: 18px;
  right: 22px;
  margin: 0;
  padding: 4px 10px;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 24, 21, 0.55);
  border: 1px solid rgba(26, 24, 21, 0.18);
  border-radius: 2px;
  background: transparent;
}

.hp-recruit-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #6a5434;              /* 深いブラウン */
  margin: 0 0 18px;
}
.hp-recruit-title {
  font-family: var(--font-ja);  /* 本体は Cormorant だがここは日本語書体で差別化 */
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1f1c17;
  margin-bottom: 20px;
  line-height: 1.5;
}
.hp-recruit-text {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: rgba(26, 24, 21, 0.65);
  line-height: 1.95;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}
.hp-recruit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hp-recruit-btn {
  display: inline-block;
  background: #1f1c17;
  color: #ece6d8;
  border: 1px solid #1f1c17;
  padding: 14px 34px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hp-recruit-btn:hover {
  background: transparent;
  color: #1f1c17;
  transform: translateY(-2px);
}
.hp-recruit-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(26, 24, 21, 0.3);
  color: rgba(26, 24, 21, 0.7);
  border-radius: 50%;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.hp-recruit-insta:hover {
  background: #E4405F;
  border-color: #E4405F;
  color: #fff;
  transform: translateY(-2px);
}

/* 発信者（広告主）名 */
.hp-recruit-brand {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 24, 21, 0.12);
  font-family: var(--font-ja);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(26, 24, 21, 0.55);
}
.hp-recruit-brand::before {
  content: '— ';
  color: rgba(26, 24, 21, 0.4);
}

@media (max-width: 768px) {
  .hp-recruit { padding: 72px 20px 80px; }
  .hp-recruit-sponsor { top: 14px; right: 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 72px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 32px;
}

.footer-left h3 {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-left p {
  font-size: 0.78rem;
  line-height: 1.95;
  letter-spacing: 0.03em;
  margin: 0;
}
.site-footer .footer-left a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s;
}
.site-footer .footer-left a:hover { color: #fff; text-decoration: underline; }

.footer-right { text-align: right; }
.footer-right a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  transition: color 0.25s;
}
.footer-right a:hover { color: #fff; }
.footer-right p { margin: 4px 0; font-size: 0.75rem; }

.footer-copy {
  display: flex;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   FLOAT CONTACT BUTTON
   ============================================================ */
.float-contact-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-xs);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(155, 123, 85, 0.4);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
.float-contact-btn:hover {
  background: var(--accent-dk);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(155, 123, 85, 0.5);
}
.float-contact-btn .btn-icon {
  font-size: 0.95rem;
}
.float-contact-btn .btn-text { display: block; }

/* メニュー開時はフロートボタンを隠してナビ電話番号との重なりを回避 */
body.menu-open .float-contact-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

/* ============================================================
   WORKS DETAIL (shared)
   ============================================================ */
.works-detail {
  padding: var(--sp-xl) 0;
  background: var(--bg);
}
.works-detail .container { text-align: center; }

.works-detail h1 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 20px;
}
.works-detail h1::after { display: none; }

.works-detail .works-lead {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 880px;
  margin: 0 auto 40px;
  line-height: 1.95;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .representative-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
  }
  .rep-photo {
    aspect-ratio: 1 / 1;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
  }
  .representative-card { display: flex; flex-direction: column; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sp-lg: 80px;
    --sp-xl: 100px;
  }

  .header-inner { padding: 0 20px; }

  /* Hero */
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero-inner { padding: 0 24px 72px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); word-break: normal; }
  .hero p, .hero-sub { font-size: 0.82rem; margin-bottom: 40px; }
  .hero-scroll { right: 24px; bottom: 24px; }
  .hero-label { font-size: 0.6rem; letter-spacing: 0.2em; }

  /* Contact */
  .contact h2 { font-size: 1.6rem; }
  .worries { grid-template-columns: 1fr; gap: 48px; }
  .worry-item img { width: 90px; height: 90px; }
  .speech { font-size: 0.875rem; line-height: 1.9; }
  .lead { font-size: 0.875rem; line-height: 2.2; max-width: none; }

  /* Services */
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 24px; }
  .services h2 { font-size: 1.6rem; }

  /* Works */
  .works .grid { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .works h2 { font-size: 1.6rem; margin-bottom: 40px; }
  .work-item figcaption { opacity: 1; }

  /* Representative */
  .representative-inner { grid-template-columns: 1fr; gap: 36px; }
  .rep-photo { aspect-ratio: 1 / 1; width: 240px; }
  .rep-info { text-align: center; }
  .rep-intro { border-left: none; border-top: 2px solid var(--border); padding-left: 0; padding-top: 20px; }
  .rep-actions { justify-content: center; flex-direction: column; align-items: center; }
  .rep-actions .btn { width: 100%; max-width: 260px; text-align: center; }
  .rep-title-label { justify-content: center; }

  /* News */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 8px 20px 0;
  }
  .timeline-more { margin-top: 8px; }
  .news h2 { font-size: 1.6rem; }

  /* Recruit */
  .recruit h2 { font-size: 1.8rem; }

  /* About */
  .about h2 { font-size: 1.6rem; }
  .company-profile { grid-template-columns: 100px 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-right { text-align: left; }
  .footer-right p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0;
  }

  /* Nav */
  .main-nav { width: 80%; max-width: 300px; padding: 72px 28px 36px; }

  /* Float btn */
  .float-contact-btn { bottom: 20px; right: 20px; height: 48px; font-size: 0.6rem; }
}
