/* ===========================================================
   CRAFIT HOUSE 中古リノベーション LP
   =========================================================== */

:root {
  --color-bg:        #ffffff;
  --color-bg-alt:    #e7e8ea;
  --color-ink:       #000000;
  --color-ink-soft:  #555555;
  --color-line:      #d0d1d3;
  --color-warm:      #777777;
  --color-accent:    #c82536;
  --color-accent-dk: #a11d2c;
  --color-cream:     #f0f0f0;
  --color-label:     #888888;
  --color-dark:      #111111;

  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --font-sans:  "Josefin Sans", "Hiragino Kaku Gothic ProN", sans-serif;

  --container:     1120px;
  --radius-card:   4px;
  --radius-circle: 50%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
  overflow-x: hidden;
}

/* ---------- フォーカス（キーボードナビ） ---------- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
a { cursor: pointer; }

/* ---------- アニメーション無効化（動き過敏対応） ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg { opacity: 1 !important; transform: scale(1) !important; }
  .hero-logo { opacity: 0 !important; }
  .reveal-hero, .reveal-up, .reveal-fade { opacity: 1 !important; transform: none !important; }
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; border: none; background: none; padding: 0; }

/* ---------- アニメーション ---------- */
.js-anim .reveal-hero {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim .reveal-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-anim .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.js-anim .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-anim .reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}
.js-anim .reveal-fade.is-visible {
  opacity: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
/* ========== HEADER（コーポレートLPと同仕様） ========== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background .3s, box-shadow .3s;
}
.header__inner {
  max-width: var(--container); margin-inline: auto;
  height: 64px;
  padding-inline: clamp(20px, 5.5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo { display: block; }
.logo-img { height: 68px; width: auto; }
.logo-img--black { display: none; }

.gnav__list { display: flex; gap: clamp(16px, 1.4vw, 24px); list-style: none; }
.gnav__list a {
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.1vw, 15px);
  color: #E7E8EA;
  letter-spacing: .08em;
  transition: opacity .2s;
}
.gnav__list a:hover { opacity: .6; }

.header__right { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }

.hamburger {
  width: 44px; height: 44px; margin-left: 8px;
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  background: none; border: 0; cursor: pointer; z-index: 210;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; height: 1px; width: 100%; background: #E7E8EA; transition: transform .3s, opacity .3s, background .3s; }

/* スクロール後: 半透明白ガラス＋ダークテキスト */
.header.is-scrolled {
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 14px rgba(0,0,0,.06);
}
.header.is-scrolled .logo-img--white { display: none; }
.header.is-scrolled .logo-img--black { display: block; }
.header.is-scrolled .gnav__list a { color: var(--color-ink); }
.header.is-scrolled .hamburger span { background: var(--color-ink); }

/* モバイルドロワー */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .gnav {
    position: fixed; inset: 0 0 0 auto;
    width: min(80vw, 320px); background: var(--color-accent);
    transform: translateX(100%); transition: transform .35s ease;
    display: flex; align-items: center; z-index: 205;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { flex-direction: column; gap: 30px; padding-inline: 44px; }
  .gnav__list a { color: #fff !important; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .hamburger span { background: #fff; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .header__right .btn { display: none; }
}

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: .08em;
  border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--color-accent); color: #fff; padding: 10px 22px; font-size: 13px; }
.btn-primary:hover { background: var(--color-accent-dk); }
.btn-outline { background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-ink); padding: 14px 32px; font-size: 14px; }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-large { padding: 18px 48px; font-size: 15px; }
.btn-primary.btn-large:hover { background: var(--color-accent-dk); }

/* ============================================================
   HERO  ― position: fixed で FV を完全固定、コンテンツが上から被さる
   ============================================================ */
.hero-spacer {
  display: block;
  height: 200vh;          /* ヒーローが占める分のスクロール領域（長めに確保） */
  pointer-events: none;
}

.hero {
  position: fixed;        /* ← ビューポートに固定 */
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  background: #ffffff; /* 初期状態：白背景（コーポレートサイトと統一） */
}

/* 中央ロゴ（初期状態で表示、bloom後にフェードアウト） */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.hero-logo.is-hidden {
  opacity: 0;
}
.hero-logo img {
  width: clamp(400px, 28vw, 400px);
  margin: 0 auto 20px;
  display: block;
}
.hero-logo-sub {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.45em;
  color: var(--color-label);
  text-transform: uppercase;
  margin: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/20230609-_A1_0452.jpg');
  background-size: cover;
  background-position: center;
  /* 初期状態：縮小表示。スクロールで拡大しながらぼわぁっと出現 */
  opacity: 0;
  transform: scale(0.55);
  transform-origin: center center;
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-bg.is-bloomed {
  opacity: 1;
  transform: scale(1.0);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,18,15,.15) 0%,
    rgba(20,18,15,.35) 60%,
    rgba(20,18,15,.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 280px 40px 0;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  align-self: flex-start;
}
.hero-eyebrow {
  display: none;
}
.hero-copy {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  letter-spacing: .04em;
  margin-bottom: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.hero-copy span {
  display: block;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-indicator span {
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.6);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(255,255,255,.8);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 150%; }
}

/* ---------- アンカースクロールオフセット（固定ヘッダー分） ---------- */
section[id], div[id] { scroll-margin-top: 72px; }

/* ============================================================
   共通レイアウト
   ============================================================ */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 15px;
  color: var(--color-ink-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONCEPT（リード文）
   ============================================================ */
/* ヒーローの上に被さるセクション群に z-index を付与 */
.concept, .features, .works,
.gallery-ticker-section, .contact, .site-footer {
  position: relative;
  z-index: 10;
}



.concept {
  background-image: url('../images/section2/concept-image.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}
.concept-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.45) 0%,
    rgba(10,10,10,.55) 100%
  );
}
.concept-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: left;
  margin-left: 48px;
  transform: translateY(-100px);
}
.concept-heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .04em;
  margin-bottom: 32px;
  color: #fff;
}
.concept-body {
  font-size: 17px;
  line-height: 2;
  color: rgba(255,255,255,.8);
}
.concept-body p { margin-bottom: 1.2em; }
.concept-body p:last-child { margin-bottom: 0; margin-top: 0; }
.concept-body strong {
  color: #fff;
  font-weight: 600;
  font-size: 1.2em;
}
.concept .eyebrow { color: rgba(255,255,255,.6); }
.concept-image {
  position: relative;
}
.concept-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.concept-image-label {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to bottom, transparent, rgba(20,18,15,.6));
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
}

/* ============================================================
   FEATURES（3つの強み）
   ============================================================ */
.features {
  background: var(--color-bg);
  padding: 96px 0 100px;
}
/* Features diagram wrapper */
.features-diagram {
  position: relative;
  max-width: 900px;
  margin-right: auto;
  margin-left: -160px;
  margin-top: 120px;
}
.features-connector {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 1;
}
.fc-dot { transition: none; }
.fc-dot--a1,
.fc-dot--a2 { opacity: 0; }
.features-connector.is-ready .fc-dot--a1,
.features-connector.is-ready .fc-dot--a2 { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .fc-dot--a1, .fc-dot--a2 { display: none; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 64px 160px;
  position: relative;
  z-index: 1;
}
.features-grid .feature-item:first-child {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 0 0 auto;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 40px;
}
.features-grid .feature-item:first-child .feature-circle {
  flex-shrink: 0;
  transform: translate(-110px, -40px);
}
.features-grid .feature-item:first-child > div:last-child {
  transform: translateY(-30px);
}
.features-grid .feature-item:nth-child(2) {
  flex-direction: row-reverse;
  align-items: center;
  text-align: left;
  gap: 40px;
}
.features-grid .feature-item:nth-child(2) .feature-circle {
  flex-shrink: 0;
}
.features-grid .feature-item:nth-child(3) {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 40px;
}
.features-grid .feature-item:nth-child(3) .feature-circle {
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.feature-circle {
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.feature-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.feature-item--design .feature-circle img { filter: brightness(1.5); }
.feature-item:hover .feature-circle img {
  transform: scale(1.06);
}
.feature-key {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-bottom: 8px;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.feature-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-ink-soft);
  max-width: 280px;
}

/* ============================================================
   WORKS
   ============================================================ */
.works {
  background: #e4e6e8;
  padding: 8px 0 24px;
  color: var(--color-ink);
}
/* Works セクション見出し */
.works-section-head {
  text-align: left;
  margin-top: 72px;
  margin-bottom: 48px;
  margin-left: clamp(0px, 25%, 320px);
}
.works-head-cols {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.works-head-cols h2 {
  flex: 0 0 auto;
}
.works-section-head .eyebrow {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
  margin-bottom: 16px;
}
.works-section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--color-ink);
  margin-bottom: 32px;
}
.works-head-body {
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 520px;
}
.works-head-body p { margin: 0; }

/* Why CRAFIT HOUSE セクション見出し */
.features-section-head {
  text-align: left;
}
.features-section-head .eyebrow {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
  margin-bottom: 16px;
}
.features-head-cols {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.features-head-cols h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--color-ink);
  margin: 0;
  flex: 0 0 auto;
  max-width: 22em;
}
.features-head-body {
  padding-top: 6px;
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.features-head-body p { margin: 0; }
@media (max-width: 640px) {
  .features-head-cols { flex-direction: column; gap: 20px; }
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.work-item {
  display: block;
}
.work-meta {
  margin-bottom: 20px;
  padding-top: 24px;
}
.work-body {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.work-text {
  flex: 1;
  font-size: 14px;
  line-height: 2;
  color: var(--color-ink-soft);
}

/* PC: 3枚見せカルーセル（フル幅） */
@media (min-width: 900px) {
  .work-carousel {
    aspect-ratio: unset !important;
    height: auto !important;
    overflow: hidden;
    border-radius: 0;
    width: calc(100vw - clamp(60px, 8vw, 120px) + 80px);
    margin-inline: calc(50% - 50vw + clamp(60px, 8vw, 120px)) 0;
  }
  .work-carousel .carousel-slides {
    display: flex !important;
    flex-direction: row !important;
    gap: 0;
    width: 100% !important;
    height: auto !important;
    transition: transform 0.5s ease !important;
  }
  .work-carousel .carousel-slide {
    flex: 0 0 33.333%;
    width: 33.333%;
    padding-right: 8px;
    box-sizing: border-box;
    margin-right: 0;
    height: auto !important;
    aspect-ratio: 3/2;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .work-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* ビフォースライドはデスクトップでも1枚幅100%表示 */
  .work-carousel.showing-before .carousel-slide:first-child {
    flex: 0 0 100%;
    width: 100%;
  }

  .work-carousel .carousel-btn {
    display: flex !important;
  }
  .work-carousel .carousel-btn.next {
    right: unset;
    left: calc(100vw - 56px - clamp(60px, 8vw, 120px));
  }
  .work-carousel .carousel-dots {
    display: flex !important;
  }
  .work-meta,
  .work-body {
    margin-inline-start: calc(50% - 50vw + clamp(60px, 8vw, 120px));
  }
  .work-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    align-items: start;
    width: calc(100vw - clamp(60px, 8vw, 120px) + 80px);
    max-width: none;
  }
  .work-text { grid-column: 1; padding-right: 24px; }
  .work-staff { grid-column: 2; }
}

/* カルーセル */
.work-carousel {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}
.before-slides .carousel-slide img { object-position: center 60% !important; }

.carousel-slides[hidden],
.carousel-dots[hidden],
.work-carousel .carousel-slides[hidden],
.work-carousel .carousel-dots[hidden] { display: none !important; }
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.carousel-btn:hover { background: rgba(0,0,0,.55); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* ---------- BEFORE オーバーレイ ---------- */
.before-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  border-radius: inherit;
  overflow: hidden;
  z-index: 5;
}
.before-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-carousel.is-before .before-overlay {
  opacity: 1;
  pointer-events: auto;
}
.work-carousel.is-before .carousel-btn,
.work-carousel.is-before .carousel-dots,
.work-carousel.showing-before .carousel-btn,
.work-carousel.showing-before .carousel-dots {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.before-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 6;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: #111;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s;
  display: none;
}
.before-badge.is-visible { display: block; }
.work-carousel.is-before .before-badge {
  background: rgba(255,255,255,.95);
  color: #111;
}
.before-badge:hover { background: rgba(255,255,255,1); }
.work-carousel.is-before .before-badge:hover { background: rgba(255,255,255,1); }

/* COMING SOON オーバーレイ */
.before-overlay.is-coming-soon {
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.before-overlay.is-coming-soon::after {
  content: 'COMING SOON';
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 500;
  opacity: 0.9;
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.work-num {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
}
.work-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: .04em;
  color: #505050;
  line-height: 1.5;
  margin-bottom: 0;
}
.work-divider {
  width: 32px;
  height: 1px;
  background: var(--color-line);
}
.work-staff {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .work-staff { margin-top: 0; padding-left: 64px; }
}
.work-staff-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 2px;
}
.work-staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-staff-name {
  font-size: 12px;
  color: var(--color-label);
  letter-spacing: .06em;
}
.work-staff-comment {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-top: 2px;
}

/* ============================================================
   GALLERY TICKER
   ============================================================ */
.gallery-ticker-section {
  background: var(--color-bg-alt);
  padding: 64px 0;
  overflow: hidden;
}
.gallery-ticker-wrap { overflow: hidden; width: 100%; }
.gallery-ticker {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: galleryScroll 28s linear infinite;
}
.gallery-ticker:hover { animation-play-state: paused; }
.gallery-ticker-slide { flex: 0 0 auto; width: 72vw; }
.gallery-ticker-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  width: 100%;
}
.gallery-ticker-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact {
  background: var(--color-cream);
  padding: 96px 0 100px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-lead .eyebrow {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
  margin-bottom: 16px;
}
.contact-lead h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin-bottom: 24px;
}
.contact-lead p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 2;
}

/* STEPリスト */
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 36px 0 0;
}
.contact-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}
.contact-step:last-child { padding-bottom: 0; }
.contact-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 19px;
  width: 1px;
  height: calc(100% - 32px);
  background: var(--color-line);
}
.contact-step:last-child::before { display: none; }
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
  background: var(--color-cream);
  position: relative;
  z-index: 1;
}
.step-body h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 6px;
}
.step-body p {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  margin: 0;
}

.contact-form-box {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.contact-form-box .eyebrow { margin-bottom: 0; }
.contact-form-box h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: .04em;
  margin: 0;
}
.contact-form-box p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.9;
  margin: 0;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.tel-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 24px;
  border: 1.5px solid var(--color-line);
  border-radius: 999px;
  transition: border-color .2s;
}
.tel-cta:hover { border-color: var(--color-ink); }
.tel-cta-label { font-size: 10px; letter-spacing: .1em; color: var(--color-label); }
.tel-cta-number { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #3d3d3d;
  padding: 40px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-inner .logo img { height: 56px; }
.footer-bottom {
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 900px) {
  .gallery-ticker-slide { width: 30vw; }
  .gallery-ticker { gap: 16px; }
}

@media (max-width: 860px) {
  body { padding-top: 56px; }
  .header { height: 56px; }
  .header__inner { height: 56px; }

  .concept-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-left: 20px;
  }
  .concept-image { order: -1; }
  .concept-image img { aspect-ratio: 16/9; }

  /* Features */
  .features-diagram {
    margin-left: 0;
    margin-top: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid .feature-item:first-child {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .features-grid .feature-item:first-child .feature-circle {
    transform: none;
  }
  .features-grid .feature-item:first-child > div:last-child {
    transform: none;
  }
  .features-grid .feature-item:nth-child(2) {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .features-grid .feature-item:nth-child(3) {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: clamp(24px, 8vw, 64px);
  }
  .feature-circle {
    width: clamp(100px, 30vw, 160px);
    height: clamp(100px, 30vw, 160px);
  }
  .feature-title { white-space: normal; }

  /* Works */
  .works-section-head {
    margin-left: 0;
    margin-top: 40px;
    margin-bottom: 32px;
  }
  .works-head-cols {
    flex-direction: column;
    gap: 16px;
  }
  .works-head-cols h2 {
    white-space: normal;
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 0;
  }
  .works-head-body {
    min-width: 0;
    width: 100%;
    font-size: 13px;
    gap: 12px;
  }
  .works-head-body p {
    white-space: normal !important;
  }

  .work-body {
    flex-direction: column;
    gap: 16px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-inner { padding: 0 20px; }
  .hero-content { padding: 360px 20px 0; }
  .hero-copy { font-size: clamp(26px, 7.5vw, 38px); }
  .hero-logo img { width: 320px !important; }
  .hero-logo-sub { font-size: 13px !important; }
  .scroll-indicator { right: 24px; }

  .concept  { padding: 64px 0 72px; }
  .features { padding: 64px 0 72px; }
  .works    { padding: 8px 0 48px; }
  .contact  { padding: 64px 0 72px; }

  /* ① Concept オーバーレイを少し濃くしてテキスト読みやすく */
  .concept-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,.55) 0%,
      rgba(10,10,10,.70) 100%
    );
  }

  /* ② Features STAFF・ESTATE サークルの左余白 */
  .features-grid .feature-item:nth-child(2),
  .features-grid .feature-item:nth-child(3) {
    padding-left: clamp(16px, 5vw, 40px);
  }

  /* ③ Works タイトルをモバイルで少し小さく */
  .work-title { font-size: clamp(15px, 4.2vw, 20px); }

  /* ④ Stepサークルを少し大きく */
  .step-circle { width: 48px; height: 48px; font-size: 15px; }

  /* ⑤ 電話番号を大きく・タップしやすく */
  .tel-cta-number { font-size: 24px; }
  .tel-cta { padding: 16px 32px; }
}

@media (max-width: 480px) {
  .contact-form-box { padding: 36px 24px; }
  .btn-large { padding: 16px 32px; font-size: 14px; }
  .concept-body strong { font-size: 1.05em; }
}
