/* ============== SECTION HEADER & STICKY LAYOUT ============== */
.about, .pillars, .vision, .services, .process, .works, .recruit, .contact {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 80px;
  padding: 280px 48px;
  position: relative;
  z-index: 1;
}

.micro-data {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--neon-blue);
  opacity: 0.8;
  display: block;
  margin-bottom: 8px;
}

/* ============== TEXT GLASS BACKDROP ============== */
.hero-headline, .hero-sub, .section-title, .about-text, .pillar-jp, .pillar-text, .vision-quote, .vision-item-title, .vision-item-text, .svc-en, .svc-text, .work-name, .contact-headline, .contact-cta-text, .contact-info-block dd {
  text-shadow: 
    0 0 10px rgba(253, 251, 247, 0.9),
    0 0 20px rgba(253, 251, 247, 0.8),
    0 0 30px rgba(253, 251, 247, 0.6),
    0 0 40px rgba(253, 251, 247, 0.4);
}

/* ============== FROST CUSHIONS ============== */
/* Soft backdrop-blur cushions behind major text blocks so the
   animated background doesn't compete with reading. */
.section-head,
.about-text,
.pillar,
.vision-quote,
.vision-item,
.process-step,
.contact-info-block,
.contact-cta {
  position: relative;
}

.section-head::before,
.about-text::before,
.pillar::before,
.vision-quote::before,
.vision-item::before,
.process-step::before,
.contact-info-block::before,
.contact-cta::before {
  content: '';
  position: absolute;
  inset: -12px -16px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 249, 241, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
}

/* 指定された場所の座布団 (frost cushion) を非表示にする。
   全 section-head と .vision-quote の座布団を削除。 */
.section-head::before,
.vision-quote::before {
  display: none;
}

/* CONTACT情報ブロック: 個別の座布団を消して、親の .contact-info に
   1枚の大きな座布団を当てる */
.contact-info-block::before {
  display: none;
}

.contact-info {
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: -20px -16px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 249, 241, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
}

.recruit-text {
  text-shadow: 
    0 0 10px rgba(28, 24, 20, 0.9),
    0 0 20px rgba(28, 24, 20, 0.8),
    0 0 30px rgba(28, 24, 20, 0.6),
    0 0 40px rgba(28, 24, 20, 0.4);
}

/* ============== SECTION BOUNDARY DISSOLUTION ============== */
/* Soft gradient overlays at the top of each section so transitions
   between sections feel "dissolved" rather than hard-edged. */
.about::before,
.pillars::before,
.vision::before,
.services::before,
.process::before,
.works::before,
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 249, 241, 0.65), transparent);
  pointer-events: none;
  z-index: 0;
}

.btn, .stat-block, .process-step, .works-card, .about-image img {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============== OFFICE FULL-BLEED BAND ============== */
/* Full-viewport-width photo band placed between sections.
   z-index: -1 so the 3D canvas (z-index: 0) and section content
   (z-index: 1) render on top of it. */
.office-band {
  position: relative;
  width: 65vw;
  margin-left: auto;
  margin-right: calc(50% - 50vw);   /* anchor to viewport-right edge */
  /* Original photo is 1600x747 → aspect ratio 2.14
     Width 65vw → height = 65vw / 2.14 ≈ 30.4vw to show full image */
  aspect-ratio: 1600 / 747;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.office-band img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: contrast(0.95) saturate(0.6) brightness(1.05);
  opacity: 0.35;
}

.office-band-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 249, 241, 0.4) 0%, transparent 20%, transparent 80%, rgba(255, 249, 241, 0.5) 100%),
    linear-gradient(to right, rgba(255, 249, 241, 0.2), transparent 30%, transparent 70%, rgba(255, 249, 241, 0.2));
  pointer-events: none;
}

.btn:hover, .stat-block:hover, .process-step:hover, .works-card:hover {
  transform: translateY(-8px);
}

.hero-headline em {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.6s ease;
}

.hero-headline em:hover {
  transform: translateY(-10px) rotate(-2deg);
  color: var(--neon-purple);
}

.about > :not(.section-head),
.pillars > :not(.section-head),
.vision > :not(.section-head),
.services > :not(.section-head),
.process > :not(.section-head),
.works > :not(.section-head),
.recruit > :not(.section-head),
.contact > :not(.section-head) {
  grid-column: 2;
}

.section-head {
  grid-column: 1;
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 280px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--black);
  text-transform: uppercase;
}

.section-num .label {
  display: block;
  margin-top: 8px;
  color: var(--gray);
  font-weight: 300;
}

.section-title {
  font-family: var(--font-jp-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--black);
  width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

/* Keyword highlight inside section titles. Muted blue from the connection-line
   palette (#5E8AA8) to tie the typography to the background animation. */
.section-title .title-key {
  font-style: normal;
  color: #5E8AA8;
  font-weight: 500;
  position: relative;
  background-image: linear-gradient(to top,
    rgba(94, 138, 168, 0.14) 0,
    rgba(94, 138, 168, 0.14) 0.18em,
    transparent 0.18em);
  padding: 0 0.05em;
}

.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gray-soft);
  margin-bottom: 24px;
  text-transform: uppercase;
}

@media (max-width: 900px) { 
  .about, .pillars, .vision, .services, .process, .works, .recruit, .contact {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 20px;
  }
  /* 全セクションのコンテンツ要素を 1 カラム目に戻す（PC時の grid-column: 2 を上書き） */
  .about > :not(.section-head),
  .pillars > :not(.section-head),
  .vision > :not(.section-head),
  .services > :not(.section-head),
  .process > :not(.section-head),
  .works > :not(.section-head),
  .recruit > :not(.section-head),
  .contact > :not(.section-head) {
    grid-column: 1;
  }
  .section-head {
    position: relative;
    top: 0;
    min-width: 0;
  }
 }

/* ============== ABOUT ============== */
.about {
  padding: 160px 48px 120px;
  background: transparent;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--gray);
  font-weight: 400;
}

.about-text p { margin-bottom: 24px; }

.about-text strong {
  color: var(--black);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-block {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  padding: 40px 32px;
  border-radius: 12px;
  transition: all 0.5s var(--ease-luxe);
}

.stat-block:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
  border-color: rgba(110, 190, 255, 0.4);
  box-shadow: 0 8px 32px rgba(110, 190, 255, 0.15), 0 0 10px rgba(180, 130, 255, 0.1) inset;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--black);
}

.stat-num .unit {
  font-size: 0.4em;
  color: var(--gray);
  margin-left: 4px;
}

.stat-jp {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
  font-weight: 400;
}

@media (max-width: 900px) { 
  .about { padding: 80px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
 }

/* ============== PILLARS / 信頼・誠実・安心・挑戦 ============== */
.pillars {
  padding: 160px 48px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.pillars-list {
  display: grid;
  grid-template-columns: 1fr;
}

.pillar {
  display: grid;
  grid-template-columns: 80px 200px 1fr 200px;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.6s var(--ease-luxe);
  cursor: pointer;
  position: relative;
  /* a タグ化対応 */
  text-decoration: none;
  color: inherit;
}

.pillar:hover { text-decoration: none; }

.pillar:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.pillar:first-child {
  border-top: 1px solid var(--line);
}

.pillar:hover { padding-left: 16px; }

.pillar:hover .pillar-jp { letter-spacing: 0.18em; }

.pillar:hover .pillar-arrow { transform: translateX(8px); }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-soft);
  letter-spacing: 0.15em;
}

.pillar-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-jp {
  font-family: var(--font-jp-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--black);
  line-height: 1.2;
  transition: letter-spacing 0.6s var(--ease-luxe);
}

.pillar-en {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

.pillar-text {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--gray);
  font-weight: 400;
  max-width: 580px;
}

.pillar-text strong { color: var(--black); font-weight: 500; }

.pillar-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--black);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transition: transform 0.6s var(--ease-luxe);
  padding-top: 8px;
}

@media (max-width: 900px) { 
  .pillars { padding: 80px 20px; }
  .pillar { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .pillar:hover { padding-left: 0; }
  .pillar-arrow { display: none; }
 }

/* ============== VISION / PHILOSOPHY ============== */
.vision {
  padding: 160px 48px;
  background: rgba(244, 241, 237, 0.3);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.vision-quote {
  font-family: var(--font-jp-serif);
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  max-width: 1100px;
  margin: 60px 0 80px;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.vision-quote .accent {
  position: relative;
  display: inline;
  background-image: linear-gradient(to top, var(--black), var(--black) 2px, transparent 2px);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 0% 100%;
  padding-bottom: 0.05em;
  transition: background-size 1.2s var(--ease-expo) 0.6s;
}

.vision-quote .accent::after {
  display: none;
}

.vision-quote.in .accent {
  background-size: 100% 100%;
}

.vision-quote .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line-mid);
}

.vision-item {
  position: relative;
}

.vision-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vision-item-num::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--black);
}

.vision-item-title {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 20px;
}

.vision-item-text {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.95;
  color: var(--gray);
  font-weight: 400;
}

@media (max-width: 900px) { 
  .vision { padding: 80px 20px; }
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
 }

/* ============== SERVICES ============== */
.services {
  padding: 160px 48px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
}

.service {
  display: grid;
  /* svc-num | svc-icon | svc-name | svc-text | svc-arrow
     名前列は最低200px、説明文との比は 1:2 で読みやすいバランスに */
  grid-template-columns: 64px 60px minmax(200px, 1.2fr) minmax(0, 2fr) 40px;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.5s var(--ease-luxe), padding 0.5s var(--ease-luxe);
  cursor: pointer;
  position: relative;
  /* a タグ化対応 */
  text-decoration: none;
  color: inherit;
}

.service:hover { text-decoration: none; }

.service:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* Soft frost cushion behind each service row so background animation
   doesn't compete with the text. */
.service::before {
  content: '';
  position: absolute;
  inset: 0 -8px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 249, 241, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.service:first-child { border-top: 1px solid var(--line); }

.service:hover { padding-left: 16px; padding-right: 16px; background: var(--light-gray); }

.service:hover .svc-icon { transform: translateX(4px); }

.service:hover .svc-arrow { transform: translateX(8px); }

.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.15em;
}

.svc-icon {
  width: 48px; height: 48px;
  transition: transform 0.5s var(--ease-luxe);
}

.svc-icon svg {
  width: 100%; height: 100%;
  stroke: var(--black);
  stroke-width: 1;
  fill: none;
}

.svc-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-en {
  font-family: var(--font-en);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  /* 英単語の途中で改行させない（日本語の通常改行は維持） */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  line-height: 1.25;
}

.svc-jp {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.svc-text {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
  font-weight: 400;
}

.svc-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--black);
  text-align: right;
  transition: transform 0.5s var(--ease-luxe);
}

@media (max-width: 900px) { 
  .services { padding: 80px 20px; }
  .service { grid-template-columns: 60px 1fr; gap: 16px; padding: 28px 0; }
  .svc-icon, .svc-text, .svc-arrow { display: none; }
 }

/* ============== PROCESS ============== */
.process {
  padding: 160px 48px;
  background: rgba(244, 241, 237, 0.3);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 280px;
  transition: all 0.5s var(--ease-luxe);
}

.process-step:hover { 
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-6px);
  border-color: rgba(180, 130, 255, 0.4);
  box-shadow: 0 8px 32px rgba(180, 130, 255, 0.15), 0 0 15px rgba(110, 190, 255, 0.1) inset;
}

.process-step:hover .ps-num { color: var(--neon-purple); text-shadow: 0 0 12px rgba(180,130,255,0.4); }

.ps-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--gray-soft);
  line-height: 1;
  transition: color 0.5s var(--ease-luxe), text-shadow 0.5s;
}

.ps-line {
  width: 24px; height: 2px;
  background: var(--neon-purple);
  box-shadow: 0 0 8px var(--neon-purple);
}

.ps-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
}

.ps-jp {
  font-family: var(--font-jp-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
}

.ps-desc {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--gray);
  font-weight: 400;
  margin-top: auto;
}

@media (max-width: 900px) { 
  .process { padding: 80px 20px; }
  .process-flow { grid-template-columns: 1fr; }
  .process-step { min-height: auto; }
 }

/* ============== WORKS ============== */
.works {
  padding: 160px 48px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.works-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.works-tab {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line-mid);
  cursor: pointer;
  transition: all 0.4s var(--ease-luxe);
  color: var(--gray);
}

.works-tab:hover, .works-tab.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.work {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 200px 100px;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.5s var(--ease-luxe), background 0.5s var(--ease-luxe);
  cursor: pointer;
  position: relative;
  /* aタグ化対応: 下線消去・色継承 */
  text-decoration: none;
  color: inherit;
}

.work:hover { text-decoration: none; }

.work:focus-visible {
  outline: 2px solid var(--ink, #1c1814);
  outline-offset: 4px;
}

.work::before {
  content: '';
  position: absolute;
  inset: 0 -8px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 249, 241, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.work:hover { padding-left: 16px; padding-right: 16px; background: var(--light-gray); }

.work:hover .work-link { transform: translateX(8px); }

.work.is-hidden { display: none; }

.work-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-soft);
  letter-spacing: 0.15em;
}

.work-name {
  font-family: var(--font-jp-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--black);
}

.work-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.work-tag {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tag span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--line-mid);
  color: var(--gray);
  text-transform: uppercase;
}

.work-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--black);
  text-align: right;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease-luxe);
}

@media (max-width: 900px) { 
  .works { padding: 80px 20px; }
  .work { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .work-tag, .work-link { display: none; }
 }

/* ============== RECRUIT ============== */
.recruit {
  padding: 160px 48px;
  background: var(--black);
  color: var(--white);
}

.recruit .section-num { color: var(--gray-faint); }

.recruit .section-num .label { color: var(--gray-soft); }

.recruit .section-title { color: var(--white); }

.recruit .section-title .en { color: var(--gray-faint); }

.recruit .section-head { border-bottom-color: rgba(252, 252, 252, 0.12); }

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

.recruit-text {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--gray-faint);
  font-weight: 400;
  max-width: 700px;
}

.recruit-text strong {
  color: var(--white);
  font-weight: 500;
}

.recruit-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.recruit-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s var(--ease-luxe);
  text-transform: uppercase;
}

.recruit-cta:hover {
  background: transparent;
  color: var(--white);
  outline: 1px solid var(--white);
}

.recruit-cta.is-disabled,
.recruit-cta.is-disabled:hover {
  background: rgba(252, 252, 252, 0.24);
  color: rgba(252, 252, 252, 0.2);
  outline: 1px solid rgba(252, 252, 252, 0.18);
  cursor: not-allowed;
}

.recruit-cta::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.4s var(--ease-luxe);
}

.recruit-cta:hover::after { transform: translateX(4px); }

.recruit-cta.is-disabled:hover::after { transform: none; }

.recruit-note {
  margin: 0;
  color: rgba(252, 252, 252, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 900px) { 
  .recruit { padding: 80px 20px; }
  .recruit-grid { grid-template-columns: 1fr; gap: 40px; }
 }

/* ============== CONTACT ============== */
.contact {
  padding: 160px 48px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.contact-headline {
  font-family: var(--font-jp-serif);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 60px 0 60px;
  max-width: 1100px;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  position: relative;
}

/* Frost cushion behind contact-headline so background doesn't compete */
.contact-headline::before {
  content: '';
  position: absolute;
  inset: -16px -20px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 249, 241, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
}

.contact-headline em {
  font-style: normal;
  position: relative;
  /* inline (not inline-block) so the browser can break lines properly */
  display: inline;
  background-image: linear-gradient(to top, var(--black), var(--black) 2px, transparent 2px);
  background-position: 0 100%;
  background-repeat: repeat-x;
  padding-bottom: 0.05em;
}

.contact-headline em::after {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-block dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-info-block dd {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  font-weight: 400;
}

.contact-info-block dd.big {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-cta-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: rgba(244, 241, 237, 0.6);
  backdrop-filter: blur(12px);
}

.contact-cta-text {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--black);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 32px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s var(--ease-luxe);
  text-transform: uppercase;
}

.contact-btn:hover {
  background: var(--white);
  color: var(--black);
  outline: 1px solid var(--black);
}

.contact-btn::after {
  content: '→';
  transition: transform 0.4s var(--ease-luxe);
}

.contact-btn:hover::after { transform: translateX(4px); }

@media (max-width: 900px) { 
  .contact { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
 }

/* ============== FOOTER ============== */
.footer {
  position: relative;
  z-index: 1;
  padding: 80px 48px 32px;
  background: rgba(244, 241, 237, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  margin-bottom: 16px;
  line-height: 0;
}

.footer-logo img {
  display: block;
}

.footer-tagline {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--gray);
  max-width: 380px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

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

.footer-col li a {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--black);
  transition: color 0.3s;
  font-weight: 400;
}

.footer-col li a:hover { color: var(--gray); }

.footer-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) { 
  .footer { padding: 60px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
 }

/* ============== UTIL ============== */
.reveal { opacity: 0; transform: translateY(30px); }

@media (prefers-reduced-motion: reduce) { 
  html { scroll-behavior: auto !important; }
 }

