@charset "UTF-8";

/* ==========================================================================
   TECTUS INTERIOR WORKS - style.css
   Industrial / refined / transparent
   1. Design tokens
   2. Reset & base
   3. Layout parts (container / section head / button)
   4. Header & nav
   5. Hero
   6. About
   7. Works
   8. Service
   9. Flow
   10. Company
   11. Contact
   12. Footer
   13. Motion
   Breakpoints: 768px (tablet) / 1024px (desktop) - mobile first
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* color */
  --c-bg:        #f4f3f1;
  --c-bg-sub:    #eae8e4;
  --c-ink:       #16181a;
  --c-ink-mid:   #55595e;
  --c-ink-thin:  #8c9094;
  --c-line:      rgba(22, 24, 26, .12);
  --c-line-thin: rgba(22, 24, 26, .07);
  --c-steel:     #6d7c88;
  --c-brass:     #ab8a5c;
  --c-white:     #ffffff;

  /* glass */
  --glass-bg:     rgba(255, 255, 255, .55);
  --glass-bg-str: rgba(255, 255, 255, .72);
  --glass-line:   rgba(255, 255, 255, .65);
  --glass-shadow: 0 24px 60px -30px rgba(22, 24, 26, .35);

  /* type */
  --f-en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* layout */
  --header-h: 64px;
  --pad-x: 20px;
  --maxw: 1180px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --header-h: 76px; --pad-x: 40px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 88px; --pad-x: 56px; }
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;          /* 1rem = 10px */
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-ja);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .4s var(--ease), opacity .4s var(--ease);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
button { cursor: pointer; }

::selection { background: var(--c-ink); color: var(--c-bg); }

/* utility */
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

/* ==========================================================================
   3. Layout parts
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  padding-block: 72px;
}
@media (min-width: 768px) { .section { padding-block: 110px; } }
@media (min-width: 1024px) { .section { padding-block: 150px; } }

/* --- section heading --- */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 768px) { .sec-head { margin-bottom: 56px; gap: 24px; } }

.sec-head__num {
  font-family: var(--f-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--c-ink-thin);
}
.sec-head__num::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--c-brass);
}

.sec-head__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-weight: 300;
}
.sec-head__title .en {
  font-family: var(--f-en);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1.1;
}
.sec-head__title .ja {
  font-size: 1.2rem;
  letter-spacing: .18em;
  color: var(--c-ink-mid);
}

/* --- buttons --- */
.btn {
  --btn-fg: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--f-en);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--btn-fg);
  border: 1px solid currentColor;
  position: relative;
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn > i {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { color: var(--c-bg); border-color: var(--c-ink); }
.btn:hover > i { width: 34px; }

.btn--ghost {
  border-color: var(--c-line);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--fill {
  color: var(--c-bg);
  border-color: rgba(255, 255, 255, .35);
}
.btn--fill::before { background: var(--c-white); transform: scaleX(1); opacity: .08; }
.btn--fill:hover { color: var(--c-ink); border-color: var(--c-white); }
.btn--fill:hover::before { opacity: 1; }

/* ==========================================================================
   4. Header & nav
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 243, 241, .6);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--c-line-thin);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.header.is-scrolled { background: rgba(244, 243, 241, .85); }

.header__inner {
  height: 100%;
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* --- logo --- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 22px;
  height: 22px;
  border: 1px solid var(--c-ink);
  position: relative;
  flex-shrink: 0;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--c-brass);
  opacity: .75;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__en {
  font-family: var(--f-en);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: .3em;
}
.logo__ja {
  margin-top: 4px;
  font-family: var(--f-en);
  font-size: .85rem;
  letter-spacing: .22em;
  color: var(--c-ink-mid);
}
@media (min-width: 768px) { .logo__en { font-size: 1.9rem; } }

/* --- global nav (desktop) --- */
.gnav__list { display: flex; align-items: center; gap: 30px; }
.gnav__list a {
  font-family: var(--f-en);
  font-size: 1.3rem;
  letter-spacing: .12em;
  position: relative;
  padding-bottom: 4px;
}
.gnav__list a em {
  font-style: normal;
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--c-brass);
  margin-right: 6px;
  vertical-align: 2px;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.gnav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.gnav__contact {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  margin-left: 30px;
  font-family: var(--f-en);
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--c-bg);
  background: var(--c-ink);
  transition: background .45s var(--ease);
}
.gnav__contact:hover { background: var(--c-steel); }

/* --- burger --- */
.burger {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 110;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--c-ink);
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(28deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-28deg); }

/* --- mobile drawer --- */
@media (max-width: 1023px) {
  .gnav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: var(--header-h) var(--pad-x) 60px;
    background: rgba(244, 243, 241, .82);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }

  .gnav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .gnav__list li { width: 100%; border-bottom: 1px solid var(--c-line-thin); }
  .gnav__list li:first-child { border-top: 1px solid var(--c-line-thin); }
  .gnav__list a {
    display: block;
    padding: 18px 4px;
    font-size: 2.2rem;
    letter-spacing: .1em;
  }
  .gnav__list a em { display: inline-block; width: 30px; font-size: 1rem; }
  .gnav__list a::after { display: none; }

  .gnav__contact {
    align-self: flex-start;
    margin-left: 0;
    height: 54px;
    padding: 0 40px;
  }
  body.is-menu-open { overflow: hidden; }
}

@media (min-width: 1024px) {
  .burger { display: none; }
  .gnav { display: flex; align-items: center; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(244,243,241,.2) 0%, rgba(244,243,241,.9) 88%),
    radial-gradient(70% 55% at 78% 18%, rgba(171,138,92,.20) 0%, rgba(171,138,92,0) 70%),
    radial-gradient(85% 70% at 12% 82%, rgba(109,124,136,.26) 0%, rgba(109,124,136,0) 72%),
    linear-gradient(135deg, #e7e5e1 0%, #f4f3f1 45%, #dedbd6 100%);
}
/* 背景写真 */
.hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
/* 写真の上に重ねる白いヴェール（可読性 + 透明感） */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(244,243,241,.86) 0%, rgba(244,243,241,.60) 34%, rgba(244,243,241,.70) 72%, rgba(244,243,241,.95) 100%),
    linear-gradient(105deg, rgba(244,243,241,.92) 0%, rgba(244,243,241,.45) 55%, rgba(230,228,224,.30) 100%);
}
@media (min-width: 768px) {
  .hero__veil {
    background:
      linear-gradient(100deg, rgba(244,243,241,.95) 0%, rgba(244,243,241,.80) 34%, rgba(244,243,241,.32) 66%, rgba(244,243,241,.55) 100%),
      linear-gradient(to bottom, rgba(244,243,241,.55) 0%, rgba(244,243,241,0) 28%, rgba(244,243,241,.88) 100%);
  }
}

/* concrete-ish grid lines */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(to right, rgba(22,24,26,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,24,26,.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 25%, transparent 78%);
}
/* floating glass plate */
.hero__glass {
  position: absolute;
  z-index: 3;
  right: -18%;
  top: 14%;
  width: 78vw;
  max-width: 620px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 55%, rgba(109,124,136,.18) 100%);
  border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--glass-shadow);
  transform: rotate(-4deg);
}
@media (min-width: 768px) { .hero__glass { right: -6%; top: 12%; width: 46vw; } }
@media (min-width: 1024px) { .hero__glass { right: 4%; top: 14%; width: 34vw; } }

.hero__inner { position: relative; z-index: 1; width: 100%;
  max-width: calc(var(--maxw) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.hero__label {
  font-family: var(--f-en);
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: var(--c-ink-mid);
  margin-bottom: 22px;
}
.hero__label::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--c-ink-thin);
}

.hero__title {
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 200;
  line-height: 1.16;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.hero__title span { display: block; }
.hero__title span:last-child { padding-left: .8em; }

.hero__lead {
  max-width: 34em;
  font-size: 1.4rem;
  line-height: 2.1;
  color: var(--c-ink-mid);
  margin-bottom: 40px;
}
@media (min-width: 768px) { .hero__lead { font-size: 1.5rem; } }

.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  font-family: var(--f-en);
  font-size: .95rem;
  letter-spacing: .3em;
  color: var(--c-ink-thin);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 68px;
  background: linear-gradient(to bottom, var(--c-ink-thin), transparent);
  animation: scrollLine 2.6s var(--ease) infinite;
  transform-origin: top center;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ==========================================================================
   6. About
   ========================================================================== */
.about__body { display: grid; gap: 44px; }
@media (min-width: 1024px) {
  .about__body {
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 56px;
    align-items: start;
  }
  .about__text  { grid-column: 1; grid-row: 1; }
  .about__stats { grid-column: 1; grid-row: 2; }
  .about__media { grid-column: 2; grid-row: 1 / span 2; }
}

/* --- 施工風景の写真 --- */
.about__media { position: relative; margin-bottom: 52px; }

.about__fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line-thin);
}
.about__fig img { width: 100%; height: 100%; object-fit: cover; }

.about__fig--main { aspect-ratio: 3 / 2; }

.about__fig--sub {
  position: absolute;
  left: 14px;
  bottom: -40px;
  width: 44%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  border: 7px solid var(--c-bg);
  box-shadow: var(--glass-shadow);
}
@media (min-width: 1024px) {
  .about__media { margin-bottom: 40px; }
  .about__fig--main { aspect-ratio: 4 / 5; }
  .about__fig--sub { left: -46px; bottom: -46px; width: 52%; max-width: 260px; }
}

.about__catch {
  font-size: clamp(2.2rem, 5.6vw, 3.4rem);
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.about__text p { color: var(--c-ink-mid); margin-bottom: 1.6em; }
.about__text p:last-child { margin-bottom: 0; }

.about__stats {
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.about__stats li {
  background: var(--glass-bg-str);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 24px 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 480px) and (max-width: 1023px) {
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .about__stats li { flex-direction: column; align-items: flex-start; }
}
.about__stats .num {
  font-family: var(--f-en);
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: .02em;
}
.about__stats .num em {
  font-style: normal;
  font-size: .35em;
  letter-spacing: .1em;
  margin-left: 4px;
  color: var(--c-brass);
}
.about__stats .cap {
  font-size: 1.15rem;
  letter-spacing: .16em;
  color: var(--c-ink-mid);
}

/* ==========================================================================
   7. Works
   ========================================================================== */
.works { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-sub) 100%); }

.works__grid { display: grid; gap: 28px; }
@media (min-width: 600px) { .works__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (min-width: 1024px) { .works__grid { grid-template-columns: repeat(3, 1fr); gap: 52px 32px; } }

.work-card a { display: block; }

.work-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--c-line-thin);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
/* 写真 */
.work-card__img img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.work-card a:hover .work-card__img img { transform: scale(1.055); }

/* 番号を読ませるための足元スクリム */
.work-card__img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(22,24,26,.48) 0%, rgba(22,24,26,0) 42%);
}
.work-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(160deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 45%);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.work-card a:hover .work-card__img { transform: translateY(-6px); box-shadow: var(--glass-shadow); }
.work-card a:hover .work-card__img::after { opacity: 1; }

/* placeholder textures (画像に差し替え可) */
.work-card__img--1 { background: linear-gradient(135deg, #d9d6d1 0%, #b9b5ae 100%); }
.work-card__img--2 { background: linear-gradient(135deg, #cfd4d7 0%, #97a1a8 100%); }
.work-card__img--3 { background: linear-gradient(135deg, #ded5c6 0%, #b6a086 100%); }
.work-card__img--4 { background: linear-gradient(135deg, #d5d3cf 0%, #a8a49d 100%); }
.work-card__img--5 { background: linear-gradient(135deg, #dcdedd 0%, #adb5b4 100%); }
.work-card__img--6 { background: linear-gradient(135deg, #cbc7c2 0%, #8f8b85 100%); }

.work-card__no {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--f-en);
  font-size: 3.4rem;
  font-weight: 200;
  line-height: 1;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .04em;
}

.work-card__body { padding-top: 18px; }
.work-card__cat {
  font-family: var(--f-en);
  font-size: 1.05rem;
  letter-spacing: .2em;
  color: var(--c-ink-thin);
  margin-bottom: 8px;
}
.work-card__title {
  font-family: var(--f-en);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.work-card__desc { font-size: 1.3rem; color: var(--c-ink-mid); }

.works__more { margin-top: 48px; text-align: center; }
@media (min-width: 768px) { .works__more { margin-top: 72px; } }

/* ==========================================================================
   8. Service
   ========================================================================== */
.service { background: var(--c-bg-sub); }

.service__list { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
@media (min-width: 600px)  { .service__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service__list { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  padding: 34px 24px 40px;
  background: var(--glass-bg-str);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .6s var(--ease), transform .6s var(--ease);
}
.service-card:hover { background: var(--c-white); }
@media (min-width: 768px) { .service-card { padding: 44px 30px 52px; } }

/* サムネイル（カード幅いっぱいに裁ち落とし） */
.service-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: -34px -24px 26px;
  border-bottom: 1px solid var(--c-line-thin);
}
.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.18) contrast(1.02);
  transition: transform 1.3s var(--ease), filter .8s var(--ease);
}
.service-card:hover .service-card__thumb img { transform: scale(1.06); filter: grayscale(0); }
@media (min-width: 768px) { .service-card__thumb { margin: -44px -30px 30px; } }

.service-card__num {
  font-family: var(--f-en);
  font-size: 1.05rem;
  letter-spacing: .26em;
  color: var(--c-brass);
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1.5;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line-thin);
}
.service-card__desc { font-size: 1.3rem; color: var(--c-ink-mid); }

/* ==========================================================================
   9. Flow
   ========================================================================== */
.flow__list {
  display: grid;
  gap: 0;
  counter-reset: flow;
}
@media (min-width: 1024px) {
  .flow__list { grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
}

.flow-item {
  position: relative;
  padding: 26px 0 26px 30px;
  border-top: 1px solid var(--c-line);
}
.flow-item:last-child { border-bottom: 1px solid var(--c-line); }
.flow-item::before {           /* node on the rail */
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--c-ink);
  background: var(--c-bg);
}
.flow-item::after {            /* vertical rail */
  content: "";
  position: absolute;
  left: 4px;
  top: 34px;
  bottom: -1px;
  width: 1px;
  background: var(--c-line);
}
.flow-item:last-child::after { display: none; }

@media (min-width: 1024px) {
  .flow-item {
    padding: 34px 20px 0 0;
    border-top: 1px solid var(--c-line);
    border-bottom: none !important;
  }
  .flow-item::before { top: -5px; left: 0; }
  .flow-item::after { display: none; }
}

.flow-item__step {
  font-family: var(--f-en);
  font-size: 1.05rem;
  letter-spacing: .26em;
  color: var(--c-ink-thin);
  margin-bottom: 8px;
}
.flow-item__title {
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.flow-item__desc { font-size: 1.3rem; color: var(--c-ink-mid); }

/* ==========================================================================
   10. Company
   ========================================================================== */
.company { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-sub) 100%); }

.company__body { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .company__body { grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
}

.company__table { border-top: 1px solid var(--c-line); }
.company__table > div {
  display: grid;
  gap: 2px 24px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--c-line-thin);
}
@media (min-width: 600px) {
  .company__table > div { grid-template-columns: 160px 1fr; padding: 20px 4px; }
}
.company__table dt {
  font-size: 1.2rem;
  letter-spacing: .18em;
  color: var(--c-ink-thin);
}
.company__table dd { font-size: 1.4rem; }

.company__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.08) 100%),
    repeating-linear-gradient(0deg, rgba(22,24,26,.055) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(22,24,26,.055) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #e3e1dd 0%, #cfccc6 100%);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.company__map span {
  font-family: var(--f-en);
  font-size: 1.1rem;
  letter-spacing: .34em;
  color: var(--c-ink-mid);
  padding: 10px 20px;
  border: 1px solid var(--c-line);
  background: var(--glass-bg);
}

/* ==========================================================================
   11. Contact
   ========================================================================== */
.contact { background: var(--c-bg-sub); padding-bottom: 90px; }

.contact__panel {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(80% 60% at 85% 8%, rgba(171,138,92,.28) 0%, rgba(171,138,92,0) 65%),
    radial-gradient(70% 60% at 5% 95%, rgba(109,124,136,.32) 0%, rgba(109,124,136,0) 70%),
    linear-gradient(150deg, #22262a 0%, #16181a 55%, #1d2124 100%);
  padding: 44px 22px 48px;
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) { .contact__panel { padding: 64px 48px 68px; } }
@media (min-width: 1024px) {
  .contact__panel { grid-template-columns: .85fr 1.15fr; gap: 64px; padding: 84px 72px 88px; }
}
.contact__panel::before {   /* glass sheen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}
.contact__panel > * { position: relative; z-index: 1; }

/* パネル背景の写真（スケルトン躯体） */
.contact__panel > .contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: grayscale(.4) contrast(1.08);
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.contact__panel .sec-head__num { color: rgba(255, 255, 255, .5); }
.contact__panel .sec-head__title { margin-top: 10px; color: #fff; }
.contact__panel .sec-head__title .ja { color: rgba(255, 255, 255, .6); }

.contact__lead {
  margin-top: 22px;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, .72);
}

.contact__tel {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__tel .cap {
  font-size: 1.1rem;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
}
.contact__tel a {
  font-family: var(--f-en);
  font-size: clamp(2.8rem, 7vw, 3.6rem);
  font-weight: 200;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #fff;
}

/* --- form --- */
.contact__form { display: grid; gap: 20px; }
@media (min-width: 600px) { .contact__form { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--full, .form-submit { grid-column: 1 / -1; }

.form-row label {
  font-size: 1.15rem;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-row .req {
  font-size: .95rem;
  letter-spacing: .1em;
  padding: 2px 7px;
  color: var(--c-ink);
  background: var(--c-brass);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%),
                    linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-row select option { color: var(--c-ink); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, .32); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-brass);
  background: rgba(255, 255, 255, .1);
}

.form-submit {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
@media (min-width: 600px) { .form-submit { flex-direction: row; align-items: center; gap: 24px; } }
.form-note { font-size: 1.1rem; color: rgba(255, 255, 255, .45); }
.form-note a { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.form-note a:hover { color: #fff; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, .72);
  padding-top: 52px;
}
.footer .logo__mark { border-color: rgba(255, 255, 255, .7); }
.footer .logo__ja { color: rgba(255, 255, 255, .5); }
.footer a:hover { color: #fff; }

.footer__inner { display: grid; gap: 36px; padding-bottom: 44px; }
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 56px; }
}

.footer .logo__en { color: #fff; }
.footer__addr {
  margin-top: 20px;
  font-size: 1.2rem;
  line-height: 2;
  color: rgba(255, 255, 255, .55);
}

.footer__nav { display: flex; gap: 48px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a {
  font-family: var(--f-en);
  font-size: 1.25rem;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .7);
}

.footer__copy {
  padding: 18px var(--pad-x) 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}
.footer__copy small {
  font-family: var(--f-en);
  font-size: 1.05rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .4);
}

/* ==========================================================================
   13. Motion (scroll reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
