/* ============================================================
   CIRCULINK — Design System
   ============================================================ */

/* ----- Reset & Variables ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #F6F6F3;
  --ink:    #0C0C0C;
  --forest: #1E5C3A;
  --sage:   #4EAA76;
  --mist:   #C8EDD6;
  --stone:  #666660;
  --cream:  #FFFDF7;
  --white:  #FFFFFF;
  --dark:   #0C0C0C;

  --font-en: 'Inter', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--mist); color: var(--forest); }


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--sage);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}


/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--forest);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
  opacity: 0.5;
}
.cursor.hover { width: 6px; height: 6px; }
.cursor-ring.hover { width: 56px; height: 56px; opacity: 0.3; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }


/* ============================================================
   UTILS
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--cream { background: var(--cream); }

.label-row { display: flex; align-items: center; gap: .75rem; }
.label-line { display: block; width: 2rem; height: 1px; background: var(--forest); flex-shrink: 0; }
.label-line--light { background: var(--sage); }
.label-text {
  font-family: var(--font-en);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
}
.label-text--sage { color: var(--sage); }
.label-text--light { color: var(--sage); }

.section-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-top: 1.25rem;
}
.section-heading--en { font-family: var(--font-en); letter-spacing: -.03em; }
.text-green { color: var(--forest); }
.text-sage  { color: var(--sage); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; letter-spacing: .08em; font-family: var(--font-ja);
  padding: .9rem 2rem; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; font-weight: 500;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn--primary:hover { background: #174d2f; }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(12,12,12,.2); }
.btn--outline:hover { border-color: var(--forest); color: var(--forest); }
.btn--white { background: #fff; color: var(--forest); }
.btn--white:hover { background: var(--mist); }
.btn--ghost { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--sage { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn--sage:hover { background: #3d9460; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; letter-spacing: .1em;
  color: var(--forest); border-bottom: 1px solid var(--forest); padding-bottom: .1rem;
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: .7rem; }
.link-arrow--light { color: var(--sage); border-color: var(--sage); }

.tag {
  display: inline-block; font-size: .68rem;
  padding: .2rem .7rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.55);
}
.tag--sm { border-color: rgba(12,12,12,.12); color: var(--stone); }
.tag--green { background: var(--mist); color: var(--forest); border-color: transparent; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: background .5s var(--ease), padding .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(246,246,243,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .85rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.nav--dark { }
.nav--dark:not(.scrolled) .nav__logo-main { color: #fff; }
.nav--dark:not(.scrolled) .nav__logo-sub { color: var(--sage); }
.nav--dark:not(.scrolled) .nav__burger span { background: #fff; }

.nav__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: baseline; gap: .6rem; }
.nav__logo-main {
  font-family: var(--font-en); font-size: 1.1rem;
  font-weight: 700; letter-spacing: .15em; color: var(--ink);
  transition: color .3s;
}
.nav__logo-sub {
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--forest); font-weight: 500;
}
.nav__center { display: flex; gap: 2.25rem; }
.nav__center a {
  font-family: var(--font-en); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); transition: color .3s;
}
.nav__center a:hover,
.nav__center a.active { color: var(--forest); }
.nav--dark:not(.scrolled) .nav__center a { color: rgba(255,255,255,.7); }
.nav--dark:not(.scrolled) .nav__center a:hover { color: #fff; }

.nav__right { display: flex; align-items: center; gap: 1.25rem; }
.nav__sns { display: flex; gap: .9rem; }
.nav__sns a { color: var(--stone); transition: color .3s; display: flex; align-items: center; pointer-events: none; opacity: .35; cursor: default; }
.nav__sns a:hover { color: var(--stone); }
.nav--dark:not(.scrolled) .nav__sns a { color: rgba(255,255,255,.3); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform .3s, opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; background: var(--dark); z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-nav__link {
  font-family: var(--font-en); font-size: 1.8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.9); transition: color .3s;
}
.mobile-nav__link:hover { color: var(--sage); }
.mobile-nav__sns {
  display: flex; gap: 1.5rem; justify-content: center;
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav__sns a { color: rgba(255,255,255,.25); transition: color .3s; pointer-events: none; cursor: default; }
.mobile-nav__sns a:hover { color: rgba(255,255,255,.25); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--dark);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* フラッシュ演出（ページロード時） */
.hero__flash {
  position: absolute; inset: 0; z-index: 50;
  background: #fff; pointer-events: none;
  animation: heroFlash 1.2s cubic-bezier(0.4,0,1,1) 0.1s forwards;
}
@keyframes heroFlash {
  0%   { opacity: .7; }
  30%  { opacity: .15; }
  55%  { opacity: .4; }
  100% { opacity: 0; pointer-events: none; }
}

/* 波紋リップル */
.hero__ripples {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero__ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(78, 170, 118, 0.35);
  animation: rippleExpand 24s cubic-bezier(0.15, 0.5, 0.3, 1) infinite;
  width: 40px; height: 40px;
}
.hero__ripple--1 { animation-delay: 0s; }
.hero__ripple--2 { animation-delay: 4.8s; }
.hero__ripple--3 { animation-delay: 9.6s; }
.hero__ripple--4 { animation-delay: 14.4s; }
.hero__ripple--5 { animation-delay: 19.2s; }

@keyframes rippleExpand {
  0%   { transform: scale(0);    opacity: .9; border-color: rgba(78,170,118,.5); }
  40%  { opacity: .4; }
  100% { transform: scale(50);   opacity: 0;  border-color: rgba(78,170,118,.0); }
}

/* SVG リング */
.hero__rings {
  position: absolute; z-index: 1;
  right: -8vw; top: 50%; transform: translateY(-50%);
  width: min(55vw, 640px); pointer-events: none;
}
.hero__rings-svg { width: 100%; height: auto; display: block; }

.hero__ring {
  fill: none; stroke: var(--sage);
  transform-box: fill-box; transform-origin: center;
}
.hero__ring--1 {
  stroke-width: 1; stroke-dasharray: 14 8; opacity: .18;
  animation: rotateCW 40s linear infinite;
}
.hero__ring--2 {
  stroke-width: 1.5; opacity: .12;
  animation: rotateCCW 26s linear infinite;
}
.hero__ring--3 {
  stroke-width: 1; stroke-dasharray: 6 5; opacity: .2;
  animation: rotateCW 18s linear infinite;
}

/* リング上を動く点 */
.hero__ring-dot {
  fill: var(--sage);
  transform-box: fill-box; transform-origin: center;
}
.hero__ring-dot--1 {
  opacity: .7;
  animation: rotateCW 40s linear infinite;
}
.hero__ring-dot--2 {
  opacity: .5;
  animation: rotateCCW 26s linear infinite;
}
.hero__ring-dot--3 {
  opacity: .4;
  animation: rotateCW 18s linear infinite;
}

/* 十字線 */
.hero__ring-line {
  stroke: var(--sage); stroke-width: .5; opacity: .07;
}

@keyframes rotateCW  { to { transform: rotate(360deg);  } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }

/* グラデーション背景 */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(-45deg, #060f09, #0e2819, #07160b, #031008);
  background-size: 400% 400%;
  animation: gradientShift 16s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* 文字ごとのアニメーション */
.hero__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(4deg);
  animation: charReveal .7s var(--ease-out) forwards;
}
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.hero__video-wrap {
  position: absolute; inset: 0; overflow: hidden;
}
.hero__video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%);
}

/* Floating orbs */
.hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.hero__orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,170,118,.15) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 { width: 60vw; height: 60vw; top: -10%; right: -15%; animation-delay: 0s; }
.hero__orb--2 { width: 40vw; height: 40vw; bottom: 10%; left: -10%; animation-delay: -3s; }
.hero__orb--3 { width: 25vw; height: 25vw; top: 40%; left: 30%; animation-delay: -6s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3%) scale(1.03); }
}

/* Dot grid */
.hero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(78,170,118,.25) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
}

.hero__content {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.hero__eyebrow {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .3s forwards;
}
.hero__eyebrow-line { display: block; width: 2.5rem; height: 1px; background: var(--sage); }
.hero__eyebrow-text {
  font-family: var(--font-en); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sage); font-weight: 500;
}

.hero__heading {
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -.03em; color: #fff;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .9s var(--ease-out) .5s forwards;
}
.hero__heading em { font-style: normal; color: var(--sage); }

.hero__ja {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.65); font-weight: 300;
  letter-spacing: .1em; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .7s forwards;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .9s forwards;
}

.hero__scroll {
  position: absolute; bottom: 2rem; right: clamp(1.25rem, 4vw, 4rem);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-en); font-size: .6rem;
  letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.4);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 3rem; background: rgba(255,255,255,.2);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: .8; transform: scaleY(.7); }
}

/* ライト（白）テーマ上書き */
.hero--light .hero__heading { color: var(--ink); }
.hero--light .hero__heading em { color: var(--forest); }
.hero--light .hero__ja { color: var(--stone); }
.hero--light .hero__eyebrow-text { color: var(--forest); }
.hero--light .hero__eyebrow-line { background: var(--forest); }
.hero--light .hero__scroll { color: rgba(0,0,0,.35); }
.hero--light .hero__scroll-line { background: rgba(0,0,0,.15); }
.hero--light .hero__overlay {
  background: linear-gradient(to top, rgba(255,255,255,.6) 0%, rgba(255,255,255,.1) 60%, transparent 100%);
}
.hero--light .hero__orb {
  background: radial-gradient(circle, rgba(30,92,58,.12) 0%, transparent 70%);
}
.hero--light .hero__ripple { border-color: rgba(30,92,58,.25); }
.hero--light .hero__color-tabs {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.1);
}
.hero--light .hero__color-label { color: rgba(0,0,0,.35); border-color: rgba(0,0,0,.12); }

/* カラー切り替えタブ */
.hero__color-tabs {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .5rem .85rem;
}
.hero__color-label {
  font-family: var(--font-en); font-size: .55rem;
  letter-spacing: .2em; color: rgba(255,255,255,.4);
  padding-right: .4rem;
  border-right: 1px solid rgba(255,255,255,.15);
  margin-right: .1rem;
}
.hero__color-tab {
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, border-color .2s;
  flex-shrink: 0;
}
.hero__color-tab:hover { transform: scale(1.2); }
.hero__color-tab.active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}



/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee {
  background: var(--forest); color: #fff; overflow: hidden;
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee__track {
  display: flex; gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 2.5rem;
  padding: 0 2.5rem; white-space: nowrap;
  font-family: var(--font-en); font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.marquee__dot { width: 5px; height: 5px; background: var(--sage); border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   VISION INTRO (index)
   ============================================================ */
.vision-intro { background: var(--bg); }
.vision-intro__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.vision-intro__img {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  aspect-ratio: 4/5;
}
.vision-intro__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.vision-intro__img:hover img { transform: scale(1.04); }
.vision-intro__img-label {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: #fff; font-size: .7rem; letter-spacing: .15em;
  padding: .5rem 1rem; border-radius: 999px;
}
.vision-intro__text { padding: 2rem 0; }
.vision-intro__quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; line-height: 1.6;
  color: var(--ink); margin: 2rem 0;
  border-left: 3px solid var(--forest); padding-left: 1.5rem;
}
.vision-intro__body { color: var(--stone); font-weight: 300; line-height: 1.95; margin-bottom: 2.5rem; }


/* ============================================================
   NUMBERS / STATS
   ============================================================ */
.numbers { background: var(--dark); }
.numbers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.number-item { text-align: center; padding: 2rem 0; }
.number-item__num {
  font-family: var(--font-en); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700; color: var(--sage); line-height: 1;
  margin-bottom: .5rem;
}
.number-item__unit { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.5); margin-left: .3rem; }
.number-item__label { font-size: .85rem; color: rgba(255,255,255,.5); letter-spacing: .05em; }
.number-item__sub { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: .3rem; }


/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 3.5rem;
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.5rem; padding: 2.25rem;
  transition: background .4s, border-color .4s, transform .3s;
}
.service-card:hover { background: rgba(255,255,255,.09); border-color: rgba(78,170,118,.35); transform: translateY(-4px); }
.service-card__icon {
  width: 3rem; height: 3rem; border-radius: .85rem;
  background: rgba(30,92,58,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); margin-bottom: 1.75rem;
  transition: background .3s;
}
.service-card:hover .service-card__icon { background: rgba(30,92,58,.6); }
.service-card__en { font-family: var(--font-en); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sage); margin-bottom: .4rem; }
.service-card__ja { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.service-card__desc { font-size: .84rem; color: rgba(255,255,255,.58); line-height: 1.9; font-weight: 300; margin-bottom: 1.5rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.service-card .tag { margin: 0; }


/* ============================================================
   WORKS HORIZONTAL SCROLL (index)
   ============================================================ */
.works-scroll { }
.works-scroll__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1.5rem;
}
.works-scroll__track-wrap { position: relative; }
.works-scroll__track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory; cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.works-scroll__track::-webkit-scrollbar { height: 3px; }
.works-scroll__track::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 99px; }
.works-scroll__track.dragging { cursor: grabbing; user-select: none; }

.work-card-h {
  display: block;
  flex: 0 0 360px; border-radius: 1.25rem; overflow: hidden;
  background: var(--white); border: 1px solid rgba(12,12,12,.07);
  scroll-snap-align: start;
  transition: box-shadow .3s, transform .3s;
  color: inherit; text-decoration: none; cursor: pointer;
}
.work-card-h:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-6px); }
.work-card-h__img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-card-h:hover .work-card-h__img { transform: scale(1.05); }
.work-card-h__img-wrap { overflow: hidden; }
.work-card-h__body { padding: 1.5rem; }
.work-card-h__meta { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.work-card-h__cat { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--mist); color: var(--forest); padding: .22rem .7rem; border-radius: 999px; }
.work-card-h__year { font-family: var(--font-en); font-size: .72rem; color: var(--stone); }
.work-card-h__title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: .75rem; transition: color .3s; }
.work-card-h:hover .work-card-h__title { color: var(--forest); }
.work-card-h__loc { font-size: .72rem; color: var(--stone); }


/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.blog-card {
  border-radius: 1.25rem; overflow: hidden;
  background: var(--white); border: 1px solid rgba(12,12,12,.07);
  transition: box-shadow .3s, transform .3s;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.blog-card__img-wrap { overflow: hidden; }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card__img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; }
.blog-card__cat { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--mist); color: var(--forest); padding: .22rem .7rem; border-radius: 999px; display: inline-block; margin-bottom: .75rem; }
.blog-card__date { font-family: var(--font-en); font-size: .72rem; color: var(--stone); margin-bottom: .5rem; }
.blog-card__title { font-size: 1rem; font-weight: 700; line-height: 1.5; transition: color .3s; }
.blog-card:hover .blog-card__title { color: var(--forest); }


/* ============================================================
   SNS SECTION
   ============================================================ */
.sns { background: var(--cream); }
.sns__platforms {
  display: flex; flex-wrap: wrap; gap: 1rem; margin: 3rem 0;
}
.sns__platform {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(12,12,12,.12);
  font-size: .82rem; font-weight: 500; color: var(--ink);
  transition: background .3s, border-color .3s, color .3s, transform .2s;
}
.sns__platform:hover { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-2px); }
.sns__platform svg { flex-shrink: 0; }

.sns__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem;
}
.sns__post {
  aspect-ratio: 1; border-radius: 1rem; overflow: hidden;
  background: var(--mist); position: relative;
}
.sns__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sns__post:hover img { transform: scale(1.08); }
.sns__post__overlay {
  position: absolute; inset: 0;
  background: rgba(30,92,58,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  color: #fff; font-size: .75rem; letter-spacing: .1em; text-align: center; padding: 1rem;
}
.sns__post:hover .sns__post__overlay { opacity: 1; }


/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta {
  background: var(--forest); position: relative; overflow: hidden;
  text-align: center;
}
.contact-cta__circles { position: absolute; inset: 0; pointer-events: none; }
.contact-cta__circle {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.contact-cta__circle--1 { width: 100vw; height: 100vw; max-width: 900px; max-height: 900px; border: 1px solid rgba(255,255,255,.06); }
.contact-cta__circle--2 { width: 60vw; height: 60vw; max-width: 600px; max-height: 600px; border: 1px solid rgba(255,255,255,.08); }
.contact-cta__inner { position: relative; max-width: 660px; margin: 0 auto; }
.contact-cta__heading { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.3; margin: 1.5rem 0 1.25rem; }
.contact-cta__body { color: rgba(255,255,255,.68); font-size: .95rem; font-weight: 300; line-height: 1.95; margin-bottom: 2.75rem; }
.contact-cta__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #080808; color: rgba(255,255,255,.45); padding: 5rem 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer__logo { font-family: var(--font-en); font-weight: 700; font-size: 1.1rem; letter-spacing: .15em; color: #fff; margin-bottom: .6rem; }
.footer__tagline { font-size: .82rem; line-height: 1.85; }
.footer__sns { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer__sns a { color: rgba(255,255,255,.2); transition: color .3s; display: flex; align-items: center; pointer-events: none; cursor: default; }
.footer__sns a:hover { color: rgba(255,255,255,.2); }
.footer__col-label { font-family: var(--font-en); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer__links a { font-size: .83rem; transition: color .3s; }
.footer__links a:hover { color: var(--sage); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .72rem; }


/* ============================================================
   WORKS PAGE
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 4rem) 0 4rem; background: var(--dark); overflow: hidden; }
.page-hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem); }
.page-hero__heading { font-family: var(--font-en); font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; margin: 1.25rem 0 1.5rem; }
.page-hero__sub { color: rgba(255,255,255,.55); font-size: 1rem; font-weight: 300; line-height: 1.9; max-width: 520px; }

.filter-bar {
  padding: 2.5rem clamp(1.25rem, 4vw, 4rem) 0;
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: .75rem; flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-en); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .55rem 1.25rem; border-radius: 999px;
  border: 1px solid rgba(12,12,12,.15);
  background: transparent; color: var(--stone); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }

.works-masonry {
  max-width: 1280px; margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 4rem) 7rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  scroll-margin-top: var(--nav-h);
}

.work-card-v {
  display: block;
  border-radius: 1.25rem; overflow: hidden;
  background: var(--white); border: 1px solid rgba(12,12,12,.07);
  transition: box-shadow .3s, transform .3s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.work-card-v:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-6px); }
.work-card-v__img-wrap { overflow: hidden; position: relative; }
.work-card-v__img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.work-card-v:hover .work-card-v__img { transform: scale(1.06); }
.work-card-v__overlay {
  position: absolute; inset: 0;
  background: rgba(30,92,58,.0); transition: background .4s;
  display: flex; align-items: center; justify-content: center;
}
.work-card-v:hover .work-card-v__overlay { background: rgba(30,92,58,.25); }
.work-card-v__overlay-icon {
  width: 3rem; height: 3rem; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s;
}
.work-card-v:hover .work-card-v__overlay-icon { opacity: 1; transform: scale(1); }
.work-card-v__body { padding: 1.5rem; }
.work-card-v__meta { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.work-card-v__cat { font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; background: var(--mist); color: var(--forest); padding: .2rem .65rem; border-radius: 999px; }
.work-card-v__year { font-family: var(--font-en); font-size: .7rem; color: var(--stone); }
.work-card-v__title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: .6rem; transition: color .3s; }
.work-card-v:hover .work-card-v__title { color: var(--forest); }
.work-card-v__result { font-size: .82rem; color: var(--stone); line-height: 1.7; font-weight: 300; margin-bottom: 1rem; }
.work-card-v__footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.work-card-v__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.work-card-v__loc { font-size: .7rem; color: var(--stone); }


/* ============================================================
   VISION PAGE
   ============================================================ */
.vision-hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background: var(--dark); position: relative; overflow: hidden;
}
.vision-hero__bg {
  position: absolute; inset: 0;
  background: url('../images/pexels-hands-1838659.jpg') center/cover no-repeat;
  opacity: .55;
  transform: scale(1.04);
}
.vision-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.2) 100%);
  z-index: 1;
}
.vision-hero__content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 8rem clamp(1.25rem, 4vw, 4rem) 5rem; }
.vision-hero__heading { font-family: var(--font-en); font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.1; margin: 1.5rem 0; }
.vision-hero__sub { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,.6); font-weight: 300; max-width: 600px; line-height: 1.9; }

.vision-manifesto { background: var(--bg); padding-bottom: clamp(2rem, 4vw, 3rem); }
.vision-manifesto__text {
  max-width: 880px; margin: 0 auto;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 300; line-height: 2;
  color: var(--ink); text-align: center; padding: 0.5rem 0;
}
.vision-manifesto__text + .vision-manifesto__text { margin-top: 1.5rem; }
.vision-manifesto__text:last-of-type { padding-bottom: 0; }
.vision-manifesto__text strong { font-weight: 700; color: var(--forest); }
.vision-manifesto__text.reveal { transform: none; }
.vision-manifesto__text.reveal.visible { transform: none; }

.vision-values { background: var(--dark); }
.vision-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  border: 1px solid rgba(255,255,255,.09); border-radius: 1.5rem; padding: 2.5rem;
  transition: border-color .3s, background .3s;
}
.value-card:hover { border-color: rgba(78,170,118,.3); background: rgba(255,255,255,.04); }
.value-card__num { font-family: var(--font-en); font-size: .7rem; letter-spacing: .25em; color: var(--sage); margin-bottom: 1.25rem; }
.value-card__title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.value-card__body { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.95; font-weight: 300; }

.vision-fullbleed {
  position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--dark);
}
.vision-fullbleed__bg {
  position: absolute; inset: 0;
  background: url('https://picsum.photos/seed/nature2/1600/900') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 0s;
}
.vision-fullbleed__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.vision-fullbleed__text { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 800px; padding: 2rem; }
.vision-fullbleed__text h2 { font-size: clamp(1.8rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.vision-fullbleed__text p { font-size: 1rem; color: rgba(255,255,255,.7); font-weight: 300; line-height: 1.9; }


/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-list { max-width: 1280px; margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 4rem) 7rem; }
.blog-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card--featured { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 1.5rem; overflow: hidden; }
.blog-card--featured .blog-card__img { height: 100%; min-height: 320px; }
.blog-card--featured .blog-card__body { padding: 3rem; }
.blog-card--featured .blog-card__title { font-size: 1.5rem; margin-bottom: 1rem; }
.blog-card__excerpt { font-size: .85rem; color: var(--stone); line-height: 1.85; font-weight: 300; margin-top: .75rem; }


/* ============================================================
   OPENING
   ============================================================ */
.opening {
  position: fixed; inset: 0; z-index: 9000;
  background: #060f09;
  display: flex; align-items: center; justify-content: center;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1),
              opacity .4s ease;
}
.opening.exit {
  transform: translateY(-100%);
}

.opening__inner {
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
  text-align: center;
}

/* SVGリング */
.opening__ring-wrap {
  width: clamp(140px, 22vw, 200px);
  margin-bottom: 1.5rem;
  position: relative;
}
.opening__svg { width: 100%; height: auto; display: block; }

.opening__arc {
  fill: none; stroke: var(--sage); stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 502;       /* 2π × 80 ≈ 502 */
  stroke-dashoffset: 502;
  transform-origin: center; transform: rotate(-90deg);
  animation: arcDraw 1.6s cubic-bezier(0.4, 0, 0.2, 1) .3s forwards;
  opacity: .9;
}
.opening__arc--dashed {
  stroke-width: 1; stroke: rgba(78,170,118,.4);
  stroke-dasharray: 8 6;
  stroke-dashoffset: 377;      /* 2π × 60 ≈ 377 */
  animation: arcDraw 2s cubic-bezier(0.4, 0, 0.2, 1) .6s forwards,
             rotateCCW 12s linear 2.2s infinite;
}
@keyframes arcDraw { to { stroke-dashoffset: 0; } }

.opening__dot {
  fill: var(--sage); opacity: 0;
  transform-origin: 100px 100px;
  animation: dotAppear .3s ease 1.8s forwards,
             rotateCW 3s linear 2s infinite;
}
@keyframes dotAppear { to { opacity: 1; } }

/* テキスト */
.opening__logo {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .2em; color: #fff;
  opacity: 0; transform: translateY(16px);
  animation: openingFadeUp .8s var(--ease-out) 1.2s forwards;
}
.opening__by {
  font-family: var(--font-en); font-size: .7rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--sage); opacity: 0;
  animation: openingFadeUp .6s var(--ease-out) 1.5s forwards;
}
.opening__tagline {
  font-family: var(--font-en); font-size: clamp(.8rem, 1.5vw, 1rem);
  color: rgba(255,255,255,.55); font-weight: 300; letter-spacing: .12em;
  margin-top: .5rem; opacity: 0;
  animation: openingFadeUp .6s var(--ease-out) 1.8s forwards;
}
.opening__ja {
  font-size: clamp(.75rem, 1.4vw, .9rem);
  color: rgba(255,255,255,.35); font-weight: 300; letter-spacing: .1em;
  opacity: 0;
  animation: openingFadeUp .6s var(--ease-out) 2s forwards;
}

/* プログレスバー */
.opening__bar-wrap {
  width: clamp(120px, 20vw, 180px);
  height: 1px; background: rgba(255,255,255,.1);
  margin-top: 2.5rem; border-radius: 999px; overflow: hidden;
  opacity: 0; animation: openingFadeUp .4s ease 1.2s forwards;
}
.opening__bar {
  height: 100%; width: 0%;
  background: var(--sage); border-radius: 999px;
  transition: width .05s linear;
}

@keyframes openingFadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; }
.reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-2.5rem); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(2.5rem); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { animation-delay: .15s; transition-delay: .1s; }
.delay-2 { animation-delay: .3s;  transition-delay: .2s; }
.delay-3 { animation-delay: .45s; transition-delay: .3s; }
.delay-4 { animation-delay: .6s;  transition-delay: .4s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .works-masonry { grid-template-columns: repeat(2, 1fr); }
  .blog-list__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--featured { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); }
  .sns__grid { grid-template-columns: repeat(4, 1fr); }
  .sns__grid .sns__post:last-child { display: none; }
}

@media (max-width: 768px) {
  .nav__center, .nav__right .nav__sns { display: none; }
  .nav__burger { display: flex; }

  .vision-intro__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-list__grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__img { height: 240px; }
  .blog-card--featured .blog-card__body { padding: 1.5rem; }
  .vision-values__grid { grid-template-columns: 1fr; }
  .works-masonry { grid-template-columns: 1fr; }
  .sns__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero__heading { font-size: clamp(2.8rem, 14vw, 4rem); }
  .work-card-h { flex: 0 0 300px; }
  .sns__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: .5rem; }
}


/* ============================================================
   NEWS LIST
   ============================================================ */

.news-filter {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2.5rem;
}
.news-filter__btn {
  font-family: var(--font-en); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(12,12,12,.15);
  background: transparent; color: var(--stone); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.news-filter__btn:hover,
.news-filter__btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }

.news-list {
  list-style: none;
  border-top: 1px solid rgba(12,12,12,.08);
}
.news-list--full { max-width: 860px; }

.news-item { border-bottom: 1px solid rgba(12,12,12,.08); }
.news-item__link {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.4rem 0;
  transition: color .25s;
  flex-wrap: wrap;
}
.news-item__link:hover { color: var(--forest); }
.news-item__link:hover .news-item__arrow { transform: translate(3px, -3px); }

.news-item__date {
  font-family: var(--font-en); font-size: .72rem;
  color: var(--stone); letter-spacing: .08em;
  white-space: nowrap; flex-shrink: 0;
  padding-top: .2rem;
}
.news-item__cat {
  font-size: .65rem; letter-spacing: .1em;
  background: var(--mist); color: var(--forest);
  padding: .2rem .7rem; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
}
.news-item__title-group {
  flex: 1; min-width: 200px;
}
.news-item__title {
  font-size: .92rem; font-weight: 500;
  flex: 1; line-height: 1.6;
  min-width: 200px;
}
.news-item__excerpt {
  display: block; font-size: .78rem;
  color: var(--stone); margin-top: .3rem;
  font-weight: 300; line-height: 1.7;
}
.news-item__arrow {
  flex-shrink: 0; color: var(--forest);
  transition: transform .25s var(--ease);
  margin-top: .15rem;
}

@media (max-width: 640px) {
  .news-item__link { gap: .75rem; padding: 1.2rem 0; }
  .news-item__title { width: 100%; min-width: unset; }
  .news-item__arrow { display: none; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Hero */
.contact-hero {
  position: relative;
  background: var(--dark);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  overflow: hidden;
}
.contact-hero__bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.contact-hero__ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(78,170,118,.25);
  animation: rippleExpand 20s cubic-bezier(0.15,0.5,0.3,1) infinite;
}
.contact-hero__ripple--1 { width: 40px; height: 40px; animation-delay: 0s; }
.contact-hero__ripple--2 { width: 40px; height: 40px; animation-delay: 6.5s; }
.contact-hero__ripple--3 { width: 40px; height: 40px; animation-delay: 13s; }

.contact-hero__content { position: relative; z-index: 1; max-width: 640px; }
.contact-hero__heading {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
}
.contact-hero__heading em {
  font-style: normal;
  color: var(--sage);
}
.contact-hero__sub {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.85;
  font-weight: 300;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Info panel */
.contact-info {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.contact-info__block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(12,12,12,.08);
}
.contact-info__block:last-of-type { border-bottom: none; }
.contact-info__label {
  font-family: var(--font-en);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .6rem;
  font-weight: 500;
}
.contact-info__value {
  font-size: .9rem;
  color: var(--forest);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-info__value:hover { border-color: var(--forest); }
.contact-info__sns {
  display: flex; gap: 1rem; margin-top: .25rem;
}
.contact-info__sns a {
  color: var(--stone); transition: color .3s; display: flex; align-items: center;
}
.contact-info__sns a:hover { color: var(--forest); }
.contact-info__note {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--mist); border-radius: 12px;
  padding: 1rem 1.25rem; margin-top: 3rem;
}
.contact-info__note svg { flex-shrink: 0; color: var(--forest); margin-top: .1rem; }
.contact-info__note p { font-size: .8rem; color: var(--forest); line-height: 1.6; }

/* Form */
.contact-form-wrap { min-width: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1.75rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group--check { gap: .75rem; }

.form-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.form-required {
  font-size: .62rem; letter-spacing: .08em;
  background: var(--forest); color: #fff;
  padding: .15rem .5rem; border-radius: 999px;
  font-weight: 500;
}
.form-optional {
  font-size: .62rem; letter-spacing: .08em;
  background: rgba(12,12,12,.07); color: var(--stone);
  padding: .15rem .5rem; border-radius: 999px;
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid rgba(12,12,12,.12);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ja);
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(12,12,12,.3); }
.form-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(78,170,118,.15);
}
.form-input.error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.12);
}

.form-select-wrap { position: relative; }
.form-select { cursor: pointer; padding-right: 2.5rem; }
.form-select-arrow {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--stone);
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.form-error {
  font-size: .75rem;
  color: #e05252;
  min-height: 1rem;
  letter-spacing: .02em;
}

/* Checkbox */
.form-check {
  display: flex; align-items: center; gap: .75rem;
  cursor: pointer;
}
.form-check__input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.form-check__box {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid rgba(12,12,12,.2);
  border-radius: 5px; background: #fff;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; justify-content: center;
}
.form-check__input:checked + .form-check__box {
  background: var(--sage); border-color: var(--sage);
}
.form-check__input:checked + .form-check__box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-check__input:focus-visible + .form-check__box {
  box-shadow: 0 0 0 3px rgba(78,170,118,.25);
}
.form-check__label {
  font-size: .85rem;
  color: var(--ink);
  line-height: 1.6;
}
.form-check__link {
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
}

/* Submit button */
.form-submit { display: flex; justify-content: flex-start; }
.btn--submit {
  padding: 1rem 2.5rem;
  font-size: .9rem;
  min-width: 180px;
  justify-content: center;
}
.btn--submit:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 4rem 2rem;
}
.contact-success__icon {
  width: 72px; height: 72px;
  background: var(--mist); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--forest);
}
.contact-success__heading {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}
.contact-success__body {
  color: var(--stone);
  line-height: 1.85;
  font-size: .92rem;
}

/* Responsive */
/* ============================================================
   WORK DETAIL PAGE
   ============================================================ */

/* Hero */
.wd-hero {
  position: relative;
  height: clamp(360px, 55vw, 600px);
  overflow: hidden;
  margin-top: var(--nav-h);
}
.wd-hero__img-wrap { position: absolute; inset: 0; }
.wd-hero__img { width: 100%; height: 100%; object-fit: cover; }
.wd-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.wd-hero__content {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; padding-bottom: clamp(2rem, 5vw, 4rem);
  color: #fff;
}
.wd-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-en); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.wd-back:hover { color: #fff; }
.wd-hero__meta {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: .75rem;
}
.wd-hero__year, .wd-hero__loc {
  font-family: var(--font-en); font-size: .72rem;
  letter-spacing: .1em; color: rgba(255,255,255,.7);
}
.wd-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: .75rem;
}
.wd-hero__result {
  font-family: var(--font-en); font-size: .85rem;
  color: var(--sage); letter-spacing: .08em;
}

/* Body */
.wd-container { max-width: 800px; }

.wd-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9; font-weight: 300;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(12,12,12,.08);
}

.wd-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2.5rem;
}

/* Metrics */
.wd-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(12,12,12,.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.wd-metric {
  background: var(--cream);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.wd-metric__value {
  font-family: var(--font-ja);
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  font-weight: 700; color: var(--forest);
  letter-spacing: -.01em;
  margin-bottom: .4rem;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}
.wd-metric__label {
  font-size: .68rem; color: var(--stone);
  letter-spacing: .06em;
}

/* Sections */
.wd-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.wd-section { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(12,12,12,.08); }
.wd-section:last-child { border-bottom: none; }
.wd-section__heading {
  font-size: 1.05rem; font-weight: 700;
  color: var(--forest);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.wd-section__heading::before {
  content: '';
  display: block; width: 3px; height: 1.1em;
  background: var(--sage); border-radius: 2px;
  flex-shrink: 0;
}
.wd-section__body {
  font-size: .95rem; line-height: 1.95;
  color: var(--ink); font-weight: 300;
}
.wd-section__figure { margin-top: 1.5rem; }
.wd-section__img {
  width: 100%;
  border-radius: 1rem; object-fit: cover;
  max-height: 480px; display: block;
}
.wd-section__caption {
  font-size: .78rem; color: var(--stone);
  text-align: center; margin-top: .5rem;
  font-style: italic; letter-spacing: .03em;
}
.wd-shop {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: var(--cream); border-radius: 1.25rem;
  border: 1px solid rgba(12,12,12,.08);
}
.wd-shop__label {
  font-size: .68rem; letter-spacing: .12em;
  color: var(--sage); font-weight: 600;
  text-transform: uppercase; margin-bottom: .75rem;
}
.wd-shop__name {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin-bottom: 1rem;
}
.wd-shop__list {
  list-style: none; display: flex; flex-direction: column; gap: .45rem;
  margin-bottom: 1.25rem;
}
.wd-shop__list li {
  font-size: .85rem; color: var(--ink); font-weight: 300;
  display: flex; gap: 1rem;
}
.wd-shop__list li span {
  font-size: .72rem; color: var(--stone);
  letter-spacing: .05em; min-width: 5rem; padding-top: .1rem;
}
.wd-shop__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--forest); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.wd-closing {
  margin-top: 3rem; padding: 2.5rem;
  background: var(--cream); border-radius: 1.25rem;
  border-left: 4px solid var(--sage);
}
.wd-closing__text {
  font-size: .95rem; line-height: 1.9;
  color: var(--ink); font-weight: 300;
}
.wd-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}
.wd-gallery__img {
  width: 100%; height: 380px;
  object-fit: cover; border-radius: .75rem;
}

/* CTA */
/* News Detail */
.nd-hero { position: relative; height: 60vh; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--dark); }
.nd-hero__img-wrap { position: absolute; inset: 0; }
.nd-hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.nd-hero__content { position: relative; z-index: 2; padding-bottom: 3rem; }
.nd-hero__meta { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.nd-hero__date { font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .06em; }
.nd-hero__title { font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; line-height: 1.4; max-width: 800px; }
.nd-body { background: var(--bg); }
.nd-container { max-width: 780px; }
.nd-lead { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 2; color: var(--ink); font-weight: 300; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(12,12,12,.08); }
.nd-sections { display: flex; flex-direction: column; gap: 3rem; }
.nd-section__heading { font-size: 1.1rem; font-weight: 700; color: var(--forest); margin-bottom: 1rem; padding-left: .8rem; border-left: 3px solid var(--sage); }
.nd-section__text { font-size: .95rem; line-height: 2; color: var(--ink); font-weight: 300; }

.wd-cta {
  background: var(--dark);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.wd-cta__inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.wd-cta__text {
  color: rgba(255,255,255,.7);
  font-size: .95rem; font-weight: 300;
}

/* Related */
.wd-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wd-related__card {
  display: block;
  border-radius: 12px; overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wd-related__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.wd-related__img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.wd-related__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wd-related__card:hover .wd-related__img-wrap img { transform: scale(1.04); }
.wd-related__body { padding: 1.25rem; }
.wd-related__title {
  font-size: .9rem; font-weight: 700;
  margin: .5rem 0 .4rem; line-height: 1.4;
}
.wd-related__loc { font-size: .72rem; color: var(--stone); }

/* Responsive */
@media (max-width: 768px) {
  .wd-metrics { grid-template-columns: repeat(3, 1fr); }
  .wd-related__grid { grid-template-columns: 1fr; }
  .wd-cta__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .wd-metrics { grid-template-columns: 1fr; }
}


@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .contact-info__block { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
  .contact-info__note { margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-hero__sub br { display: none; }
}
