/* ============================================================
   有限会社丹羽工業 コーポレートサイト
   Design System / Base Stylesheet
============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, p, ul, ol, li, h1, h2, h3, h4, h5, h6, figure, table, th, td { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
html { scroll-behavior: smooth; }

/* ---------- Design Tokens ---------- */
:root{
  --c-white:      #ffffff;
  --c-bg:         #f6f6f3;
  --c-bg-dark:    #171a1e;
  --c-ink:        #1d2023;
  --c-ink-2:      #4a5058;
  --c-ink-soft:   #767c84;
  --c-line:       #e2e1dc;
  --c-line-dark:  #34383e;
  --c-accent:     #1f4e8c;
  --c-accent-2:   #3568ad;
  --c-accent-soft:#e7edf5;

  --font-en:   "Aboreto", "Zen Old Mincho", serif;
  --font-head: "YakuHanMPs", "Zen Old Mincho", serif;
  --font-body: "YakuHanJPs", "Noto Sans JP", "Roboto", sans-serif;

  --container: 1160px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

body{
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* ---------- Layout ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
/* Right-pinned container: right gutter stays fixed at 80px; on ultra-wide
   viewports, only the LEFT gutter grows to absorb extra space, so content
   never drifts away from the right edge. Falls back to symmetric 80/80
   padding once the viewport is narrower than the content max-width. */
.container-r{
  width: 100%;
  max-width: 1760px;
  margin-left: auto;
  margin-right: 0;
  padding: 0 80px;
}
@media (max-width: 980px){
  .container-r{ padding: 0 40px; }
}
@media (max-width: 640px){
  .container-r{ padding: 0 24px; }
}
.section{ padding: 96px 0; }
.section--sm{ padding: 64px 0; }
.section--bg{ background: var(--c-bg); }
.section--dark{ background: var(--c-bg-dark); color: #eceef0; }
.section--dark h2, .section--dark h3{ color: #fff; }

.section-head{
  text-align: center;
  margin-bottom: 56px;
}
.section-head.left{ text-align: left; }
.kicker{
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--c-accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section--dark .kicker{ color: #7fa4d6; }
.section-title{
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
}
.section-lead{
  color: var(--c-ink-2);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}
.section-head.left .section-lead{ margin: 0; }
.section--dark .section-lead{ color: #c2c6cc; }

.eyebrow-en{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--c-ink-soft);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 14px;
  letter-spacing: .08em;
  border: 1px solid var(--c-ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-ink);
  transition: all .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ background: var(--c-ink); color: #fff; }
.btn--primary{
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.btn--primary:hover{ background: #163a68; border-color: #163a68; }
.btn--ghost-light{
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn--ghost-light:hover{ background: #fff; color: var(--c-ink); }
.btn--block{ width: 100%; }
.btn--sm{ padding: 12px 22px; font-size: 13px; }
.btn-row{ display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row.center{ justify-content: center; }
.btn svg{ width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled{
  border-color: var(--c-line);
  box-shadow: 0 2px 18px rgba(0,0,0,.05);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1320px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--c-ink);
}
.brand__mark{
  width: 36px; height: 36px;
  border: 1.5px solid var(--c-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  flex: none;
}
.brand small{
  display: block;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--c-ink-soft);
  margin-top: 2px;
  font-weight: 400;
}

.nav-desktop{
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-desktop a{
  font-size: 13.5px;
  letter-spacing: .06em;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after{ transform: scaleX(1); }
.nav-desktop a.is-active{ color: var(--c-accent); }

.header-side{ display: flex; align-items: center; gap: 22px; }
.header-tel{ text-align: right; display: flex; flex-direction: column; }
.header-tel span{ font-size: 10.5px; color: var(--c-ink-soft); letter-spacing: .04em; }
.header-tel strong{
  font-family: var(--font-en);
  font-size: 19px;
  letter-spacing: .03em;
  color: var(--c-ink);
}
.header-tel strong::before{ content: "📞 "; font-size: 13px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  background: #fff;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span{
  width: 20px; height: 1.5px;
  background: var(--c-ink);
  transition: all .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel{
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--c-white);
  z-index: 480;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
  padding: 36px 28px 120px;
  display: none;
}
.mobile-panel.is-open{ transform: translateX(0); }
.mobile-panel a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  letter-spacing: .05em;
}
.mobile-panel .m-tel{
  margin-top: 32px;
  display: block;
  text-align: center;
  background: var(--c-accent);
  color: #fff;
  padding: 18px;
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: .04em;
}
.mobile-panel .m-note{
  text-align: center;
  font-size: 12px;
  color: var(--c-ink-soft);
  margin-top: 10px;
}

/* mobile fixed bottom CTA bar */
.mobile-cta-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 490;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 18px rgba(0,0,0,.12);
}
.mobile-cta-bar a{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-size: 13.5px;
  letter-spacing: .04em;
}
.mobile-cta-bar a:first-child{ background: var(--c-ink); color: #fff; }
.mobile-cta-bar a:last-child{ background: var(--c-accent); color: #fff; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg,#1b2028 0%,#242b35 45%,#1a2632 100%);
}
.hero__frame{
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 96px);
  animation: frameShift 26s linear infinite;
}
@keyframes frameShift{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 480px 0, 0 480px; }
}
.hero__glow{
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(53,104,173,.35), transparent 60%);
  filter: blur(10px);
}
.hero__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,13,18,.82) 0%, rgba(10,13,18,.35) 45%, rgba(10,13,18,.55) 100%);
}
.hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 200px 24px 72px;
  max-width: 1320px;
  margin: 0 auto;
}
.hero__eyebrow{
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .32em;
  color: #a8c1e6;
  margin-bottom: 22px;
}
.hero__title{
  font-size: clamp(34px, 5.4vw, 62px);
  font-family: var(--font-head);
  line-height: 1.55;
  margin-bottom: 26px;
  letter-spacing: .05em;
}
.hero__sub{
  font-size: 15px;
  color: #d8dbe0;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 2;
}
.hero__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__brandline{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .18em;
  color: #9aa4b1;
  line-height: 1.8;
}
.hero__scroll{
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: #9aa4b1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after{
  content:"";
  width: 1px; height: 44px;
  background: linear-gradient(#9aa4b1, transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine{
  0%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
  50.1%{ transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero{
  position: relative;
  padding: 168px 0 64px;
  background: var(--c-bg-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero::before{
  content:"";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 88px);
}
.page-hero .container{ position: relative; z-index: 2; }
.breadcrumb{
  font-size: 12px;
  color: #9aa4b1;
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.breadcrumb a:hover{ color: #fff; }
.breadcrumb span{ margin: 0 8px; }
.page-hero .kicker{ color: #7fa4d6; }
.page-hero h1{
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 16px;
}
.page-hero p{
  color: #c2c6cc;
  max-width: 620px;
  font-size: 14.5px;
}

/* ---------- Grid utilities ---------- */
.grid{ display: grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }

/* ---------- Photo placeholder ---------- */
.ph{
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, rgba(29,32,35,.05) 0 2px, transparent 2px 14px),
    linear-gradient(150deg,#e9e9e5,#dcdcd6);
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph--wide{ aspect-ratio: 16/9; }
.ph--tall{ aspect-ratio: 3/4; }
.ph--square{ aspect-ratio: 1/1; }
.ph--dark{
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px),
    linear-gradient(150deg,#2a2f36,#1b1e22);
  border-color: var(--c-line-dark);
}
.ph__inner{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--c-ink-soft);
  text-align: center;
  padding: 12px;
}
.ph--dark .ph__inner{ color: #7c828b; }
.ph__inner svg{ width: 30px; height: 30px; opacity: .55; }
.ph__inner span{ font-size: 11.5px; letter-spacing: .04em; line-height: 1.6; }
.ph__corner{
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(29,32,35,.3);
}
.ph--dark .ph__corner{ border-color: rgba(255,255,255,.25); }
.ph__corner--tl{ top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ph__corner--br{ bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* ---------- Intro / two-col ---------- */
.split{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.split.reverse{ grid-template-columns: .95fr 1.05fr; }
.split.reverse .split__media{ order: 2; }

/* ---------- Reason cards ---------- */
.reasons{ counter-reset: reason; }
.reason{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
}
.reason:last-child{ border-bottom: 1px solid var(--c-line); }
.reason__num{
  font-family: var(--font-en);
  font-size: 40px;
  color: var(--c-accent-soft);
  -webkit-text-stroke: 1px var(--c-accent);
  color: transparent;
  line-height: 1;
}
.reason__body h3{ font-size: 19px; margin-bottom: 12px; }
.reason__body p{ color: var(--c-ink-2); font-size: 14.5px; }

/* ---------- Stats ---------- */
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-line-dark);
}
.stat{
  padding: 40px 20px;
  text-align: center;
  border-left: 1px solid var(--c-line-dark);
}
.stat:first-child{ border-left: none; }
.stat__num{
  font-family: var(--font-en);
  font-size: clamp(28px, 3.4vw, 42px);
  color: #fff;
  line-height: 1;
}
.stat__num span{ font-size: 16px; margin-left: 3px; color: #9aa4b1; }
.stat__label{
  margin-top: 14px;
  font-size: 12.5px;
  color: #9aa4b1;
  letter-spacing: .04em;
}

/* ---------- Cards (business / works) ---------- */
.card{
  background: #fff;
  border: 1px solid var(--c-line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card:hover{ box-shadow: 0 18px 36px rgba(20,24,30,.08); transform: translateY(-4px); }
.biz-card{ display: flex; flex-direction: column; }
.biz-card__media{ position: relative; }
.biz-card__num{
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  background: rgba(23,26,30,.72);
  color: #fff;
  padding: 5px 10px;
}
.biz-card__body{ padding: 26px 26px 30px; }
.biz-card__body h3{ font-size: 17px; margin-bottom: 10px; }
.biz-card__body p{ font-size: 13.5px; color: var(--c-ink-2); margin-bottom: 16px; }
.biz-card__link{
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-card__link svg{ width: 12px; height: 12px; transition: transform .3s var(--ease); }
.biz-card:hover .biz-card__link svg{ transform: translateX(4px); }

.work-card__media{ position: relative; }
.work-card__tag{
  position: absolute; top: 12px; left: 12px;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 5px 12px;
}
.work-card__body{ padding: 20px 22px 24px; }
.work-card__body h3{ font-size: 15px; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.work-card__body p{ font-size: 12.5px; color: var(--c-ink-soft); }

/* ---------- Tabs / filter ---------- */
.tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.tabs.scrollx{
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.tab{
  flex: none;
  padding: 10px 22px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.tab:hover{ border-color: var(--c-accent); color: var(--c-accent); }
.tab.is-active{ background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* ---------- Anchor pill nav (business page) ---------- */
.pillnav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 22px 0;
  margin-top: 36px;
}
.pillnav a{
  padding: 9px 18px;
  border: 1px solid var(--c-line);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--c-ink-2);
  transition: all .25s var(--ease);
}
.pillnav a:hover{ border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-soft); }

/* ---------- Business detail block ---------- */
.biz-block{
  padding: 88px 0;
  border-top: 1px solid var(--c-line);
  scroll-margin-top: 96px;
}
.biz-block__label{ font-size: 12px; color: var(--c-ink-soft); letter-spacing: .18em; margin-bottom: 10px; font-family: var(--font-en); }
.biz-block h2{ font-size: clamp(22px,2.6vw,28px); margin-bottom: 4px; }
.biz-block .catch{
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--c-accent);
  margin: 18px 0 22px;
}
.biz-block p.lead{ color: var(--c-ink-2); font-size: 14.5px; margin-bottom: 16px; }

.mini-list{ margin-top: 22px; }
.mini-list li{
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}
.mini-list li:last-child{ border-bottom: 1px solid var(--c-line); }
.mini-list h4{ font-size: 14.5px; color: var(--c-ink); }
.mini-list p{ font-size: 13.5px; color: var(--c-ink-2); }

.tick-list li{
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--c-ink-2);
}
.tick-list li::before{
  content:"";
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--c-accent);
}

/* ---------- Table ---------- */
.info-table{ width: 100%; border-top: 1px solid var(--c-line); }
.info-table tr{ border-bottom: 1px solid var(--c-line); }
.info-table th, .info-table td{
  text-align: left;
  padding: 18px 16px;
  font-size: 14px;
  vertical-align: top;
}
.info-table th{
  width: 190px;
  color: var(--c-ink-soft);
  font-weight: 500;
  letter-spacing: .03em;
}
.info-table td{ color: var(--c-ink); }

.compare-table{ width: 100%; }
.compare-table th, .compare-table td{
  border: 1px solid var(--c-line);
  padding: 16px;
  font-size: 13.5px;
  text-align: left;
}
.compare-table thead th{
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: .04em;
}
.compare-table tbody th{ background: var(--c-bg); font-weight: 500; width: 200px; }

/* ---------- Flow / steps ---------- */
.flow{ counter-reset: step; }
.flow-item{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  position: relative;
  padding-bottom: 44px;
}
.flow-item:last-child{ padding-bottom: 0; }
.flow-item::before{
  content:"";
  position: absolute;
  left: 44px; top: 78px; bottom: 4px;
  width: 1px;
  background: var(--c-line);
}
.flow-item:last-child::before{ display: none; }
.flow-num{
  width: 88px; height: 88px;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-family: var(--font-en);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  background: #fff;
  z-index: 2;
}
.flow-body{ padding-top: 14px; }
.flow-body h3{ font-size: 16px; margin-bottom: 8px; }
.flow-body p{ font-size: 13.5px; color: var(--c-ink-2); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--c-bg-dark);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content:"";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 96px);
}
.cta-band .container{ position: relative; z-index: 2; text-align: center; }
.cta-band h2{ font-size: clamp(22px,2.8vw,30px); color: #fff; margin-bottom: 18px; }
.cta-band p{ color: #c2c6cc; font-size: 14px; max-width: 620px; margin: 0 auto 34px; line-height: 2; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--c-ink);
  color: #c7cbd1;
  padding: 72px 0 26px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{
  font-family: var(--font-head);
  font-size: 18px;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-brand small{
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: #9aa4b1;
  margin-top: 8px;
  letter-spacing: 0;
  line-height: 1.9;
}
.footer-col h4{
  font-size: 12.5px;
  letter-spacing: .1em;
  color: #9aa4b1;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-col li{ margin-bottom: 12px; font-size: 13px; }
.footer-col a:hover{ color: #fff; }
.footer-col address{ font-style: normal; font-size: 13px; line-height: 2; color: #c7cbd1; }
.footer-tel{ font-family: var(--font-en); font-size: 20px; color: #fff; margin-top: 10px; display: block; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  font-size: 11.5px;
  color: #767c84;
}
.footer-sns{ display: flex; gap: 14px; }
.footer-sns a{
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all .25s var(--ease);
}
.footer-sns a:hover{ background: #fff; color: var(--c-ink); }
.footer-sns svg{ width: 15px; height: 15px; }

/* ---------- Forms ---------- */
.form-group{ margin-bottom: 26px; }
.form-group label{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}
.req{
  font-size: 10.5px;
  background: #b3312c;
  color: #fff;
  padding: 2px 7px;
  letter-spacing: .04em;
}
.opt{
  font-size: 10.5px;
  background: var(--c-line);
  color: var(--c-ink-soft);
  padding: 2px 7px;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group input[type=file],
.form-group textarea{
  width: 100%;
  border: 1px solid var(--c-line);
  padding: 14px 16px;
  font-size: 14.5px;
  background: #fff;
  transition: border-color .25s;
}
.form-group input:focus, .form-group textarea:focus{
  outline: none;
  border-color: var(--c-accent);
}
.form-group textarea{ min-height: 160px; resize: vertical; }
.form-hint{ font-size: 12px; color: var(--c-ink-soft); margin-top: 8px; }
.radio-group, .check-group{ display: flex; flex-wrap: wrap; gap: 12px; }
.radio-pill{
  border: 1px solid var(--c-line);
  padding: 11px 18px;
  font-size: 13.5px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.radio-pill:has(input:checked){ border-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent); }
.radio-pill input{ accent-color: var(--c-accent); }
.form-note-top{
  background: var(--c-accent-soft);
  border: 1px solid #cdddf0;
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  margin-bottom: 40px;
}
.consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 30px 0;
  color: var(--c-ink-2);
}
.consent input{ margin-top: 4px; accent-color: var(--c-accent); }
.consent a{ color: var(--c-accent); text-decoration: underline; }
.field-error{ color: #b3312c; font-size: 12px; margin-top: 8px; display: none; }
.form-group.has-error input, .form-group.has-error textarea{ border-color: #b3312c; }
.form-group.has-error .field-error{ display: block; }

/* ---------- Misc ---------- */
.tel-inline{ color: var(--c-accent); }
.divider{ height: 1px; background: var(--c-line); margin: 64px 0; }
.map-frame{ width: 100%; aspect-ratio: 16/8; border: 1px solid var(--c-line); }
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: none; }

.thanks-box{
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  border: 1px solid var(--c-line);
}
.thanks-box svg{ width: 46px; height: 46px; color: var(--c-accent); margin-bottom: 24px; }
.thanks-box h1{ font-size: 22px; margin-bottom: 22px; }
.thanks-box p{ font-size: 14px; color: var(--c-ink-2); margin-bottom: 14px; }

.privacy h2{ font-size: 17px; margin: 40px 0 14px; }
.privacy p, .privacy li{ font-size: 14px; color: var(--c-ink-2); margin-bottom: 10px; }
.privacy li{ padding-left: 18px; position: relative; }
.privacy li::before{ content:"・"; position: absolute; left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .nav-desktop, .header-tel{ display: none; }
  .nav-toggle{ display: flex; }
  .mobile-panel{ display: block; }
  .mobile-cta-bar{ display: grid; }
  body{ padding-bottom: 58px; }

  .split{ grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split__media{ order: 0; }
  .grid-2{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .stats{ grid-template-columns: repeat(2,1fr); }
  .stat{ border-left: none; border-top: 1px solid var(--c-line-dark); }
  .stat:nth-child(2n){ border-left: 1px solid var(--c-line-dark); }
  .stat:nth-child(-n+2){ border-top: none; }
  .reason{ grid-template-columns: 1fr; gap: 12px; }
  .mini-list li{ grid-template-columns: 1fr; gap: 6px; }
  .hero__content{ padding-top: 150px; }
  .hero__footer{ flex-direction: column; align-items: flex-start; }
  .hero__scroll{ writing-mode: horizontal-tb; }
}
@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .compare-table{ display: block; overflow-x: auto; white-space: nowrap; }
  .info-table th{ width: 130px; }
  .flow-item{ grid-template-columns: 64px 1fr; gap: 16px; }
  .flow-num{ width: 64px; height: 64px; font-size: 17px; }
  .flow-item::before{ left: 31px; top: 58px; }
}
@media (max-width: 560px){
  .header-side .btn{ display: none; }
  .brand{ font-size: 14px; gap: 9px; }
  .brand__mark{ width: 32px; height: 32px; font-size: 12px; }
  .brand small{ font-size: 8px; letter-spacing: .1em; }
  .site-header .container{ padding: 0 16px; }
}

/* ============================================================
   TOP PAGE v2 — Figma design (node 24:478)
   New, page-scoped components. Shared chrome (header/footer/
   cta band) is overridden in-place so the whole site inherits
   the refreshed look; other pages' unique content is untouched.
============================================================ */

/* ---- Header: transparent-over-hero, solid on scroll ---- */
.site-header{
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--c-line);
  box-shadow: 0 2px 18px rgba(0,0,0,.05);
}
.brand, .header-tel span, .header-tel strong{ color:#fff; transition: color .3s var(--ease); }
.brand__mark{ border-color:#fff; transition: border-color .3s var(--ease); }
.nav-desktop a{ color:#fff; transition: color .3s var(--ease); }
.nav-desktop a.is-active{ color: var(--c-accent); }
.nav-toggle{ border-color: rgba(255,255,255,.5); background: transparent; }
.nav-toggle span{ background:#fff; }
.site-header.is-scrolled .brand,
.site-header.is-scrolled .header-tel span,
.site-header.is-scrolled .header-tel strong{ color: var(--c-ink); }
.site-header.is-scrolled .brand__mark{ border-color: var(--c-ink); }
.site-header.is-scrolled .nav-desktop a{ color: var(--c-ink); }
.site-header.is-scrolled .nav-desktop a.is-active{ color: var(--c-accent); }
.site-header.is-scrolled .nav-toggle{ border-color: var(--c-line); background:#fff; }
.site-header.is-scrolled .nav-toggle span{ background: var(--c-ink); }

/* ---- Eyebrow block: small JP label + giant Aboreto EN word ---- */
.eyebrow-block{ display:flex; flex-direction:column; gap:20px; margin-bottom:28px; }
.eyebrow-block__label{
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .26em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.eyebrow-block__en{
  font-family: var(--font-en);
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1;
  color: var(--c-accent);
  text-transform: uppercase;
}
.eyebrow-block.on-dark .eyebrow-block__label,
.eyebrow-block.on-dark .eyebrow-block__en{ color:#fff; }
.eyebrow-block.center{ align-items:center; text-align:center; }

/* ---- Hero (photo) ---- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #171a1e;
}
.hero__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.25) 45%, rgba(10,13,18,.42) 100%);
}
.hero__giant{
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 121px);
  bottom: clamp(40px, 8vh, 90px);
  font-family: var(--font-en);
  font-size: clamp(26px, 4.6vw, 90px);
  line-height: 1.18;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
  margin: 0;
}
.hero__content{
  position: absolute;
  z-index: 3;
  top: calc(50% - 38px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(88%, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__heading{
  font-family: var(--font-head);
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.55;
  letter-spacing: .05em;
  margin-bottom: 22px;
  max-width: 620px;
}
.hero__lead{
  font-size: 15px;
  letter-spacing: .02em;
  color: #f1f2f4;
  max-width: 520px;
  line-height: 2;
}
@media (max-width: 900px){
  .hero__giant{ display:none; }
}
@media (max-width: 640px){
  .hero__content{ width: 88%; }
}

/* ---- About section ---- */
.about{ padding: 130px 0; overflow: hidden; }
.about__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.about__col-text{ display:flex; flex-direction:column; gap:40px; }
.about__lead{ font-size: 15px; color: var(--c-ink-2); line-height: 1.9; }
.about__lead p{ margin-bottom: 14px; }
.about__lead p:last-child{ margin-bottom:0; }
.about__collage-wrap{
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 430/307;
}
.about__collage-frame{
  position: absolute;
  left: -22px; bottom: -22px;
  width: 78%; height: 68%;
  background: var(--c-bg);
  z-index: -1;
}
.about__collage{
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.about__collage img{ width:100%; height:100%; object-fit:cover; }

.about__photo-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}
.about__photo-frame{
  position: absolute;
  top: -20px; right: -20px;
  width: 55%; height: 46%;
  background: var(--c-bg);
  z-index: -1;
}
.about__photo-frame2{ display: none; }
.about__photo{
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.about__photo img{ width:100%; height:100%; object-fit:cover; }

/* Desktop: the photo panel stretches to match the text column's full
   height (top aligns with the ABOUT title, bottom aligns with the small
   house photo), and the backdrop panel grows tall enough to reach the
   top of the section (i.e. right where the hero ends) with a slight
   deliberate overlap into the text column on its left edge. */
@media (min-width: 981px){
  .about__photo-wrap{ height: 100%; aspect-ratio: auto; }
  .about__photo-frame{
    top: -130px;
    left: -190px;
    right: -80px; /* pokes all the way through the container-r's fixed 80px right gutter, to the true viewport edge */
    bottom: 18%;
    width: auto;
    height: auto;
  }
  /* Second, slightly darker panel — matches the Figma design's #ebebeb
     accent band. It peeks out below-left of the photo (mirroring the
     lighter panel's top-left peek), staying clear of the photo's own
     opaque box so it actually reads as visible, not hidden behind it. */
  .about__photo-frame2{
    display: block;
    position: absolute;
    top: 65%;
    bottom: 18%;
    left: -190px;
    right: 45%;
    background: #ebebeb;
    z-index: -1;
  }
}

@media (max-width: 980px){
  .about__grid{ grid-template-columns: 1fr; gap: 48px; }
  .about{ padding: 88px 0; }
  .about__photo-wrap{ order: -1; }
}

/* ---- Reason section v2 (photo bg + translucent cards) ---- */
.reason2{
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background: var(--c-bg);
}
.reason2__bg{
  position: absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
}
.reason2__scrim{ display: none; }
.reason2 .container{ position: relative; z-index: 2; }
.reason2__head{ max-width: 640px; margin: 0 auto 56px; }
.reason2__grid{
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.reason2-card{
  background: rgba(255,255,255,.92);
  padding: 40px;
  width: 330px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.reason2-card h3{
  font-size: 24px;
  text-align: center;
  color: var(--c-ink);
  margin-bottom: 8px;
  line-height: 1.5;
}
.reason2-card__en{
  display:block;
  text-align:center;
  font-family: var(--font-en);
  font-size: 13.5px;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.reason2-card p{ font-size: 14px; color: var(--c-ink-2); line-height: 1.9; }

/* ---- Business grid v2 (photo cards) ---- */
.biz2-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.biz2-card{
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.biz2-card__img{ width:100%; aspect-ratio: 4/3; overflow:hidden; background:#e5e5e5; }
.biz2-card__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.biz2-card__body{ padding: 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.biz2-card__body h3{ font-size: 16px; color: var(--c-ink); line-height:1.5; }
.biz2-card__body p{ font-size: 13.5px; color: var(--c-ink-2); line-height: 1.9; flex:1; }
.biz2-card__link{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 12.5px; letter-spacing:.06em; color: var(--c-accent);
  padding-top: 4px;
}
.biz2-card__link svg{ width:12px; height:12px; transition: transform .3s var(--ease); }
.biz2-card:hover .biz2-card__link svg{ transform: translateX(4px); }

@media (max-width: 980px){
  .biz2-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .biz2-grid{ grid-template-columns: 1fr; }
}

/* ---- Recruit band v2 ---- */
.recruit2{
  position: relative;
  background: #2a2a2a;
  margin-top: 160px;
  padding: 130px 0;
  overflow: hidden;
  color: #fff;
}
.recruit2__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
  object-position: center center;
}
.recruit2 .container{ position: relative; z-index: 2; }
.recruit2__grid{
  display: flex;
  justify-content: flex-end;
}
.recruit2__box{
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 28px;
}
.recruit2__box h2{ font-size: clamp(22px,2.8vw,28px); color:#fff; line-height:1.5; }
.recruit2__box p{ font-size: 13.5px; color:#e3e5e8; line-height:1.9; }

@media (max-width: 900px){
  .recruit2__grid{ justify-content:center; }
  .recruit2__box{ align-items:center; text-align:center; }
}

/* ---- CTA v2 (light) ---- */
.cta2{ background:#f2f2f2; padding: 130px 0; text-align:center; }
.cta2__heading{ font-size: clamp(22px,2.8vw,30px); color:#000; margin: 16px 0 24px; }
.cta2__text{ font-size: 14px; color:#000; max-width: 620px; margin: 0 auto; line-height: 2; }
.btn--ghost-dark{ background:#fff; border-color: rgba(0,0,0,.55); color: var(--c-ink); }
.btn--ghost-dark:hover{ background: var(--c-ink); border-color: var(--c-ink); color:#fff; }

/* ---- Footer / dark tone match ---- */
.site-footer{ background:#2a2a2a; }

/* ---- WORKS mosaic gallery (top page excerpt) ---- */
.works-mosaic{
  display: grid;
  grid-template-columns: 742fr 1002fr;
  gap: 8px;
  align-items: stretch;
}
.works-mosaic__tile{
  position: relative;
  display: block;
  overflow: hidden;
  background: #232b27;
}
.works-mosaic__tile img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .65;
  transition: transform .5s var(--ease);
}
.works-mosaic__tile:hover img{ transform: scale(1.04); }
.works-mosaic__cap{
  position: relative; z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #fff;
}
.works-mosaic__cap--sm{ padding: 30px; }
.works-mosaic__cap h3{ font-size: 15px; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; color:#fff; }
.works-mosaic__cap p{ font-size: 12.5px; letter-spacing: .02em; color: #fff; }

.works-mosaic__tall{ height: 100%; }
.works-mosaic__cluster{ display: flex; flex-direction: column; gap: 8px; }
.works-mosaic__row{
  display: grid;
  grid-template-columns: 366fr 620fr;
  gap: 8px;
  aspect-ratio: 1002 / 349;
}
.works-mosaic__full{ aspect-ratio: 1002 / 381; }

@media (max-width: 900px){
  .works-mosaic{ grid-template-columns: 1fr; }
  .works-mosaic__tall{ height: auto; aspect-ratio: 4/3; }
  .works-mosaic__row{ grid-template-columns: 1fr; aspect-ratio: auto; gap: 8px; }
  .works-mosaic__row .works-mosaic__tile{ aspect-ratio: 4/3; }
  .works-mosaic__full{ aspect-ratio: 4/3; }
  .works-mosaic__cap{ padding: 28px; }
  .works-mosaic__cap--sm{ padding: 28px; }
}

/* ---- WORKS section: dark tone (per updated Figma) ---- */
.works-dark{
  background: #2a2a2a;
}
.works-dark .section-title{ color: #fff; }
.works-dark .section-lead{ color: #c2c6cc; }

/* ============================================================
   BUSINESS PAGE v2 — Figma design (node 46:413)
   Inner-page photo hero + restyled business detail sections.
============================================================ */

/* ---- Inner-page photo hero (shorter than the top-page hero) ---- */
.page-hero2{
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #171a1e;
}
.page-hero2__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero2__overlay{
  position: absolute; inset: 0;
  background: rgba(10,13,18,.45);
}
.page-hero2__content{
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 56px;
}
.page-hero2__label{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.page-hero2__title{
  font-family: var(--font-en);
  font-size: clamp(38px, 6.2vw, 80px);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.05;
}
@media (max-width: 640px){
  .page-hero2{ min-height: 320px; }
  .page-hero2__content{ padding-top: 120px; padding-bottom: 36px; }
}

/* ---- Business intro (photo band + title/lead row) ---- */
.biz-intro{ padding: 130px 0; }
.biz-intro__band{
  width: 100%;
  aspect-ratio: 1760/480;
  background: #e0e0e0;
  overflow: hidden;
  margin-bottom: 72px;
}
.biz-intro__band img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-intro__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.biz-intro__row .section-title{ margin-bottom: 8px; }
.biz-intro__en{
  font-family: var(--font-en);
  font-size: clamp(28px, 3.6vw, 48.5px);
  color: #7fa4d6;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.biz-intro__lead{
  color: var(--c-ink-2);
  font-size: 14.5px;
  line-height: 1.9;
  max-width: 620px;
}
@media (max-width: 900px){
  .biz-intro{ padding: 88px 0; }
  .biz-intro__row{ flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---- Business detail sections (photo-right rows) ---- */
.biz3{ padding: 0 0 130px; }
.biz3 > .container{ display: flex; flex-direction: column; align-items: center; gap: 80px; }
.biz3-bg{ background: #ebebeb; padding-top: 130px; }
.biz3-group{ display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; }
.biz3-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  scroll-margin-top: 96px;
}
.biz3-row__text{ display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 521px; }
.biz3-row__label{ font-family: var(--font-en); font-size: 12px; color: var(--c-ink-soft); letter-spacing: .18em; }
.biz3-row__title{ font-size: 28px; color: var(--c-ink); margin: 0; }
.biz3-row__catch{ font-family: var(--font-head); font-weight: 500; font-size: 19px; color: var(--c-accent); margin-top: 7px; }
.biz3-row__lead{ color: var(--c-ink-2); font-size: 14.5px; line-height: 1.9; margin-top: 4px; }
.biz3-row__lead p + p{ margin-top: 14px; }
.biz3-row__photo{
  width: 519px; max-width: 46%;
  height: 400px;
  background: #e6e6e6;
  overflow: hidden;
  flex: none;
}
.biz3-row__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.biz3-table{ width: 100%; max-width: 1080px; margin: 0 auto; overflow-x: auto; }

@media (max-width: 900px){
  .biz3{ padding-bottom: 80px; }
  .biz3-bg{ padding-top: 80px; }
  .biz3 > .container{ gap: 56px; }
  .biz3-group{ gap: 28px; }
  .biz3-row{ flex-direction: column; align-items: flex-start; gap: 28px; }
  .biz3-row__text{ max-width: none; }
  .biz3-row__photo{ width: 100%; max-width: none; height: auto; aspect-ratio: 519/400; }
}

/* ---- Estate section (photo band + title/lead/button row) ---- */
.biz-estate{ padding: 130px 0; scroll-margin-top: 96px; }
.biz-estate__row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.biz-estate__head h2{ font-size: 28px; color: var(--c-ink); margin-bottom: 6px; }
.biz-estate__body{ display: flex; flex-direction: column; gap: 20px; max-width: 620px; width: 100%; }
.biz-estate__body .btn{ align-self: flex-start; }
.biz-estate__catch{ font-family: var(--font-head); font-weight: 500; font-size: 19px; color: var(--c-accent); }
.biz-estate__lead{ color: var(--c-ink-2); font-size: 14.5px; line-height: 1.9; }
@media (max-width: 900px){
  .biz-estate{ padding: 80px 0; }
  .biz-estate__row{ flex-direction: column; }
}

/* ============================================================
   WORKS PAGE v2 — Figma design (node 184:541)
============================================================ */
.works-stack{ display: flex; flex-direction: column; align-items: center; gap: 80px; }

.works-filter{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
  border: 1px solid #f0f0f0;
  padding: 40px;
  width: 100%;
}
.works-filter__label{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--c-ink);
  flex: none;
  white-space: nowrap;
}
.tabs--left{ justify-content: flex-start; margin-bottom: 0; flex: 1 1 auto; }

.works-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 28px;
  width: 100%;
}
.works-card{ display: flex; flex-direction: column; background: #fff; }
.works-card__img{ width: 100%; aspect-ratio: 340/255; overflow: hidden; background: #e5e5e5; }
.works-card__img img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.works-card__placeholder{
  position: relative;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.works-card__placeholder img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: blur(1px); }
.works-card__placeholder svg{ position: relative; width: 30px; height: 30px; opacity: .55; color: var(--c-ink-soft); }
.works-card__placeholder span{ position: relative; font-size: 11.5px; letter-spacing: .04em; color: var(--c-ink-soft); }
.works-card__body{ display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 19px 22px 24px 0; }
.works-card__tag{ background: #2a2a2a; color: #fff; font-size: 11px; letter-spacing: .06em; padding: 5px 12px; }
.works-card__title{ font-size: 15px; font-weight: 700; color: var(--c-ink); letter-spacing: .04em; }
.works-card__meta{ font-size: 12.5px; color: var(--c-ink-soft); letter-spacing: .02em; }

.works-fb{ display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.works-fb p{ font-size: 13.5px; color: var(--c-ink-2); }

@media (max-width: 900px){
  .works-filter{ padding: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .works-grid{ grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 560px){
  .works-grid{ grid-template-columns: 1fr; }
}

/* ---- Others (3-card grid) ---- */
.others{ padding-bottom: 130px; }
.others-grid{ display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.others-card{
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 32px 28px;
  flex: 1 1 320px;
  max-width: 360px;
}
.others-card h3{ font-size: 16px; margin-bottom: 12px; }
.others-card p{ font-size: 13.5px; color: var(--c-ink-2); line-height: 1.9; }
