@charset "UTF-8";

:root {
  --cream-light: #F5F0E8;
  --cream-mid: #EBE5DB;
  --cream-dark: #E0D9CC;
  --white: #FFFFFF;
  --olive-main: #6B7B3A;
  --olive-dark: #3A3D20;
  --olive-secondary: #5A5D40;
  --olive-deep: #4A5628;
  --sand-light: #D4C9B0;
  --mustard: #C9B896;
  --beige-soft: #F0E8D8;
  --noise-tint: rgba(107, 123, 58, 0.08);
  --shadow-soft: 0 8px 24px rgba(58, 61, 32, 0.10);
  --shadow-strong: 0 16px 40px rgba(107, 123, 58, 0.25);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-top: 32px 32px 0 0;
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Noto Sans JP', 'Karla', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--olive-dark);
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream-mid) 55%, var(--cream-dark) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 12% 18%, var(--noise-tint) 0px, transparent 2px),
    radial-gradient(circle at 24% 64%, rgba(212, 201, 176, 0.25) 0px, transparent 1.5px),
    radial-gradient(circle at 38% 32%, rgba(107, 123, 58, 0.12) 0px, transparent 2px),
    radial-gradient(circle at 52% 78%, rgba(212, 201, 176, 0.18) 0px, transparent 1px),
    radial-gradient(circle at 68% 22%, rgba(107, 123, 58, 0.08) 0px, transparent 2px),
    radial-gradient(circle at 84% 56%, rgba(201, 184, 150, 0.22) 0px, transparent 1.5px),
    radial-gradient(circle at 92% 84%, rgba(107, 123, 58, 0.10) 0px, transparent 2px);
  background-size: 280px 280px;
  opacity: 0.85;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', 'Noto Sans Symbols 2', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 700;
  color: var(--olive-dark);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p, li, span, a, button, input, textarea, label {
  font-family: 'Noto Sans JP', 'Karla', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--olive-dark);
}

strong, p { color: inherit; }

a { color: var(--olive-main); text-decoration: none; transition: color 0.25s var(--transition-smooth); }
a:hover { color: var(--olive-deep); }

.mono, code, .caption-tech {
  font-family: 'Space Mono', 'Noto Sans Mono CJK JP', 'Courier New', monospace;
  font-size: 13px;
  color: var(--olive-secondary);
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }

button, .btn-action {
  font-family: 'Noto Sans JP', 'Karla', sans-serif;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: inherit;
  transition: all 0.3s var(--transition-spring);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  white-space: nowrap;
}

.cta-primary {
  background: var(--olive-main);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(107, 123, 58, 0.32);
  border: 2px solid var(--olive-main);
}
.cta-primary:hover {
  background: var(--olive-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(74, 86, 40, 0.4);
}

.cta-secondary {
  background: var(--white);
  color: var(--olive-main);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid var(--olive-main);
  box-shadow: var(--shadow-soft);
}
.cta-secondary:hover {
  background: var(--beige-soft);
  color: var(--olive-deep);
  transform: translateY(-2px);
}

.cta-ghost {
  background: transparent;
  color: var(--olive-dark);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid var(--sand-light);
}
.cta-ghost:hover {
  border-color: var(--olive-main);
  color: var(--olive-main);
}

main { position: relative; z-index: 2; }

.workshop-shell {
  width: min(1240px, 92%);
  margin-inline: auto;
  padding-block: clamp(60px, 8vw, 120px);
}

.workshop-shell--narrow { width: min(900px, 92%); }

.section-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--olive-main);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--sand-light);
  border-radius: 999px;
  background: var(--white);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--olive-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--olive-secondary);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 40px;
}

.bg-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--sand-light);
}

.bg-card-pad { padding: clamp(28px, 4vw, 48px); }

.parchment-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 2px solid var(--sand-light);
}

.parchment-head__inner {
  width: min(1320px, 96%);
  margin-inline: auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.parchment-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}

.parchment-nav--left { justify-content: flex-end; }

.parchment-nav a {
  color: var(--olive-dark);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--transition-smooth);
  position: relative;
}

.parchment-nav a:hover, .parchment-nav a.is-active {
  background: var(--olive-main);
  color: var(--white);
}

.parchment-nav--right { justify-content: flex-start; }

.crest-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.crest-emblem__glyph {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--olive-main);
  color: var(--white);
  border-radius: 12px;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(107, 123, 58, 0.35);
  letter-spacing: -0.04em;
}

.crest-emblem__host {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--olive-main);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  margin-top: 4px;
}

.crest-emblem__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--olive-dark);
  letter-spacing: 0.04em;
}

.parchment-cta {
  background: var(--olive-main);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(107, 123, 58, 0.30);
}
.parchment-cta:hover { background: var(--olive-deep); color: var(--white); transform: translateY(-1px); }

.hamburger-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--sand-light);
  position: relative;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--olive-dark);
  position: absolute;
  transition: all 0.3s var(--transition-smooth);
}
.hamburger-toggle span:nth-child(1) { transform: translateY(-7px); }
.hamburger-toggle span:nth-child(2) { transform: translateY(0); }
.hamburger-toggle span:nth-child(3) { transform: translateY(7px); }

.hamburger-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.hamburger-toggle.is-open span:nth-child(2) { opacity: 0; }
.hamburger-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: linear-gradient(135deg, var(--cream-light), var(--cream-dark));
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--transition-smooth);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open { transform: translateY(0); }

.mobile-drawer__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--sand-light);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--olive-dark);
  cursor: pointer;
}

.mobile-drawer__crest {
  position: absolute;
  top: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--olive-main);
  letter-spacing: 0.16em;
}

.mobile-drawer__crest-glyph {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--olive-main); color: var(--white);
  border-radius: 8px; font-family: 'Noto Serif JP', serif;
  font-size: 18px; font-weight: 700;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}

.mobile-drawer ul li a {
  display: block;
  padding: 18px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--olive-dark);
  border-bottom: 1px solid var(--sand-light);
  opacity: 0;
  transform: translateY(-12px);
  animation: stagger-in 0.4s var(--transition-smooth) forwards;
}

.mobile-drawer.is-open ul li:nth-child(1) a { animation-delay: 0.08s; }
.mobile-drawer.is-open ul li:nth-child(2) a { animation-delay: 0.16s; }
.mobile-drawer.is-open ul li:nth-child(3) a { animation-delay: 0.24s; }
.mobile-drawer.is-open ul li:nth-child(4) a { animation-delay: 0.32s; }
.mobile-drawer.is-open ul li:nth-child(5) a { animation-delay: 0.40s; }
.mobile-drawer.is-open ul li:nth-child(6) a { animation-delay: 0.48s; }
.mobile-drawer.is-open ul li:nth-child(7) a { animation-delay: 0.56s; }

@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer__cta {
  margin-top: 32px;
  background: var(--olive-main);
  color: var(--white);
  padding: 18px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}

.trail-particle {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--olive-main);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.grab-cursor { cursor: grab; }
.grab-cursor:active { cursor: grabbing; }

.hero-stage {
  position: relative;
  min-height: 92vh;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-glyphs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-glyphs span {
  position: absolute;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: var(--olive-main);
  opacity: 0.10;
  letter-spacing: 0.12em;
  user-select: none;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  width: min(1240px, 92%);
  margin-inline: auto;
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  color: var(--olive-dark);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-headline__accent { color: var(--olive-main); display: block; }

.hero-subline {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--olive-secondary);
  letter-spacing: 0.14em;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-light);
}

.hero-stat__num {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--olive-main);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat__label {
  font-size: 12px;
  color: var(--olive-secondary);
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--sand-light);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.hero-visual:hover img { transform: scale(1.04); }

.hero-visual__plate {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--olive-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual__plate strong { display: block; color: var(--olive-dark); font-size: 14px; margin-top: 4px; font-family: 'Noto Sans JP', sans-serif; }

.drag-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
  margin-top: 48px;
}

.drag-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: grab;
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s var(--transition-spring), z-index 0s 0.3s, border-color 0.25s;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drag-tile.is-dragging { cursor: grabbing; z-index: 100; box-shadow: var(--shadow-strong); border-color: var(--olive-main); transform: scale(1.04); transition: transform 0.18s var(--transition-spring), box-shadow 0.18s; }

.drag-tile:hover { z-index: 10; transform: translateY(-4px); border-color: var(--olive-main); box-shadow: var(--shadow-strong); }

.drag-tile--large { grid-column: span 2; grid-row: span 2; padding: 0; }
.drag-tile--wide { grid-column: span 2; }
.drag-tile--tall { grid-row: span 2; }

.drag-tile__index {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--olive-main);
  letter-spacing: 0.16em;
}

.drag-tile__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--olive-dark);
  margin: 8px 0;
}

.drag-tile__desc { font-size: 14px; color: var(--olive-secondary); line-height: 1.7; }
.drag-tile__price { font-family: 'Space Mono', monospace; font-size: 16px; color: var(--olive-deep); font-weight: 700; margin-top: 8px; }

.drag-tile__image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.drag-tile__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(transparent, rgba(58, 61, 32, 0.85)); color: var(--white); }
.drag-tile__overlay .drag-tile__title, .drag-tile__overlay .drag-tile__desc { color: var(--white); }

.drag-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--olive-main);
  margin-top: 14px;
  font-size: 14px;
}

.drag-tile:hover .drag-tile__cta { color: var(--olive-deep); }

.benefits-flexgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--transition-spring);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover { transform: scale(1.06); z-index: 10; box-shadow: var(--shadow-strong); border-color: var(--olive-main); }
.benefits-flexgrid:hover .benefit-card:not(:hover) { transform: scale(0.97); opacity: 0.88; }

.benefit-card__num {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--olive-main);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.benefit-card__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--olive-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.benefit-card__body {
  font-size: 14px;
  color: var(--olive-secondary);
  line-height: 1.75;
}

.node-graph {
  position: relative;
  margin-top: 56px;
  padding: 40px 0;
}

.node-graph__line {
  position: absolute;
  top: 100px;
  left: 0; right: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--olive-main) 50%, transparent 50%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
}

.node-graph__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.node-step {
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  transition: all 0.35s var(--transition-spring);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.node-step:hover { transform: scale(1.1) translateY(-6px); z-index: 10; box-shadow: var(--shadow-strong); border-color: var(--olive-main); }

.node-step__num {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--olive-main);
  line-height: 1;
}

.node-step__label {
  font-size: 12px;
  color: var(--olive-dark);
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.4;
}

.node-step__desc {
  font-size: 11px;
  color: var(--olive-secondary);
  margin-top: 8px;
  line-height: 1.5;
  display: none;
}

.node-step:hover .node-step__desc { display: block; }

.masonry-flow {
  column-count: 3;
  column-gap: 18px;
  margin-top: 40px;
}

.masonry-tile {
  break-inside: avoid;
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  transition: all 0.35s var(--transition-spring);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: block;
}

.masonry-tile:hover { transform: scale(1.03) translateY(-4px); z-index: 10; box-shadow: var(--shadow-strong); border-color: var(--olive-main); }

.masonry-tile img { width: 100%; height: auto; display: block; }
.masonry-tile--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.masonry-tile--square img { aspect-ratio: 1 / 1; object-fit: cover; }
.masonry-tile--wide img { aspect-ratio: 4 / 3; object-fit: cover; }

.masonry-tile__caption {
  padding: 18px 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--olive-dark);
}

.masonry-tile__meta {
  padding: 0 20px 18px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--olive-secondary);
  letter-spacing: 0.1em;
}

.coverflow-stage {
  position: relative;
  margin-top: 40px;
  perspective: 1400px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateX(var(--shift, 0)) rotateY(var(--rot, 0deg)) scale(var(--scale, 1));
  width: min(440px, 80%);
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s var(--transition-smooth);
  opacity: var(--opa, 0.4);
  z-index: var(--zidx, 1);
}

.coverflow-card[data-pos="0"] { --shift: 0px; --rot: 0deg; --scale: 1; --opa: 1; --zidx: 5; }
.coverflow-card[data-pos="-1"] { --shift: -320px; --rot: 28deg; --scale: 0.85; --opa: 0.55; --zidx: 3; }
.coverflow-card[data-pos="1"] { --shift: 320px; --rot: -28deg; --scale: 0.85; --opa: 0.55; --zidx: 3; }
.coverflow-card[data-pos="-2"] { --shift: -540px; --rot: 38deg; --scale: 0.7; --opa: 0.25; --zidx: 1; }
.coverflow-card[data-pos="2"] { --shift: 540px; --rot: -38deg; --scale: 0.7; --opa: 0.25; --zidx: 1; }
.coverflow-card[data-pos="3"], .coverflow-card[data-pos="-3"] { opacity: 0; }

.coverflow-card__stars { color: var(--olive-main); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.coverflow-card__quote { font-family: 'Noto Serif JP', serif; font-size: 17px; line-height: 1.85; color: var(--olive-dark); margin-bottom: 20px; }
.coverflow-card__author { font-size: 13px; color: var(--olive-secondary); }
.coverflow-card__author strong { display: block; color: var(--olive-dark); font-size: 15px; margin-bottom: 2px; }

.coverflow-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.coverflow-controls button {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand-light);
  color: var(--olive-dark);
  font-size: 20px;
  font-weight: 700;
}
.coverflow-controls button:hover { background: var(--olive-main); color: var(--white); border-color: var(--olive-main); }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--olive-main); }

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  font-size: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--beige-soft);
  display: grid; place-items: center;
  font-size: 16px;
  color: var(--olive-main);
  font-weight: 700;
  transition: transform 0.3s var(--transition-spring), background 0.3s;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__toggle { transform: rotate(45deg); background: var(--olive-main); color: var(--white); }

.faq-item__body { padding: 0 24px 22px; color: var(--olive-secondary); line-height: 1.85; font-size: 15px; }

.split-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.split-sticky__left {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--sand-light);
}

.split-sticky__left img { width: 100%; height: 100%; object-fit: cover; }

.split-sticky__right { display: flex; flex-direction: column; gap: 28px; }

.split-sticky__block { background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-lg); padding: 28px; transition: all 0.3s var(--transition-smooth); }
.split-sticky__block:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: var(--olive-main); z-index: 2; }
.split-sticky__block h3 { font-size: 22px; margin-bottom: 10px; }
.split-sticky__block p { color: var(--olive-secondary); line-height: 1.8; font-size: 15px; }

.team-reveal { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand-light);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  position: relative;
}

.team-row:first-child { border-top: 1px solid var(--sand-light); }

.team-row:hover { background: var(--white); padding-left: 18px; padding-right: 18px; border-radius: var(--radius-md); z-index: 10; box-shadow: var(--shadow-strong); border-color: var(--olive-main); }

.team-row__name { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: var(--olive-dark); }

.team-row__role { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--olive-secondary); letter-spacing: 0.1em; margin-top: 4px; }

.team-reveal__popover {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--olive-main);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-strong);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
  min-width: 240px;
  z-index: 20;
}

.team-row:hover .team-reveal__popover { opacity: 1; }

.team-reveal__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; background: var(--beige-soft);
  flex-shrink: 0; border: 2px solid var(--olive-main);
}

.team-reveal__avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-reveal__meta strong { display: block; color: var(--olive-dark); font-size: 14px; font-family: 'Noto Serif JP', serif; }
.team-reveal__meta span { font-size: 12px; color: var(--olive-secondary); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.field-line {
  margin-bottom: 22px;
  position: relative;
}

.field-line label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.field-line input,
.field-line textarea,
.field-line select {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--sand-light);
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: var(--olive-dark);
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s var(--transition-smooth);
}

.field-line input:focus,
.field-line textarea:focus,
.field-line select:focus { border-bottom-color: var(--olive-main); }

.field-line textarea { resize: vertical; min-height: 100px; }

.contact-info {
  background: var(--olive-main);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-strong);
}

.contact-info h2 { color: var(--white); margin-bottom: 24px; }
.contact-info a { color: var(--white); }
.contact-info a:hover { color: var(--mustard); }

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-info__row:last-child { border-bottom: none; }

.contact-info__label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--mustard);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.contact-info__value { color: var(--white); font-size: 16px; font-weight: 600; }
.contact-info__sub { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 4px; }

.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-md);
  padding: 22px;
  max-width: 380px;
  box-shadow: var(--shadow-strong);
  font-size: 13px;
  color: var(--olive-secondary);
  line-height: 1.6;
}

.cookie-consent-banner h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--olive-dark);
  margin-bottom: 8px;
}

.cookie-consent-banner__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-consent-banner button { padding: 9px 18px; border-radius: var(--radius-md); font-weight: 700; font-size: 13px; min-height: 38px; }
.cookie-consent-banner .accept-all { background: var(--olive-main); color: var(--white); border: 1px solid var(--olive-main); }
.cookie-consent-banner .decline-all { background: var(--white); color: var(--olive-dark); border: 1px solid var(--sand-light); }

.site-footline {
  background: var(--olive-main);
  color: var(--white);
  border-radius: var(--radius-top);
  padding: 64px 0 24px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.site-footline__inner {
  width: min(1240px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footline h4 { color: var(--white); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-family: 'Space Mono', monospace; margin-bottom: 18px; }

.site-footline__crest { display: flex; flex-direction: column; gap: 8px; max-width: 280px; }

.site-footline__glyph {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--white); color: var(--olive-main);
  border-radius: 12px; font-family: 'Noto Serif JP', serif;
  font-size: 26px; font-weight: 700;
  margin-bottom: 6px;
}

.site-footline__host { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--mustard); letter-spacing: 0.18em; text-transform: lowercase; }

.site-footline__name { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--white); }

.site-footline__about { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.85); margin-top: 14px; }

.site-footline ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footline ul li a { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.site-footline ul li a:hover { color: var(--white); }

.site-footline__legal { padding: 24px 0 0; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.18); }

.site-footline__legal-row {
  width: min(1240px, 92%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

.site-footline__legal-row a { color: rgba(255, 255, 255, 0.85); }
.site-footline__legal-row a:hover { color: var(--white); }

.legal-page { padding: 140px 0 80px; }
.legal-page__inner { width: min(880px, 92%); margin-inline: auto; background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-lg); padding: 56px clamp(24px, 4vw, 56px); box-shadow: var(--shadow-soft); }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.legal-page h2 { font-size: 22px; margin: 32px 0 12px; color: var(--olive-main); }
.legal-page h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--olive-secondary); line-height: 1.85; margin-bottom: 10px; font-size: 15px; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }

.thankyou-stage { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; position: relative; z-index: 2; }
.thankyou-stage h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.thankyou-stage p { font-size: 17px; color: var(--olive-secondary); margin-bottom: 28px; max-width: 540px; margin-inline: auto; }

.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.page-hero__title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page-hero__lead { font-size: 17px; color: var(--olive-secondary); max-width: 640px; margin: 0 auto; line-height: 1.85; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.service-detail-grid__media { border-radius: var(--radius-xl); overflow: hidden; background: var(--white); box-shadow: var(--shadow-strong); border: 1px solid var(--sand-light); }
.service-detail-grid__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.service-detail-grid__body h2 { font-size: 30px; margin-bottom: 14px; }
.service-detail-grid__price {
  background: var(--olive-main);
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: 'Space Mono', monospace;
  margin: 14px 0 24px;
}
.service-detail-grid__price small { font-size: 12px; opacity: 0.85; }

.feature-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 40px 0;
}

.pillar-card { background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-md); padding: 22px; transition: all 0.3s var(--transition-smooth); }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: var(--olive-main); }
.pillar-card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--beige-soft); color: var(--olive-main); display: grid; place-items: center; font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.pillar-card h3 { font-size: 17px; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; color: var(--olive-secondary); line-height: 1.7; }

.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.blog-card { background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--transition-smooth); cursor: pointer; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: var(--olive-main); }
.blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.blog-card__body { padding: 22px 24px; }
.blog-card__date { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--olive-secondary); letter-spacing: 0.12em; }
.blog-card__title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--olive-dark); margin: 10px 0 8px; line-height: 1.4; }
.blog-card__excerpt { font-size: 14px; color: var(--olive-secondary); line-height: 1.7; }

.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

.thanks-art {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--olive-main);
  color: var(--white);
  display: grid; place-items: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 60px;
  font-weight: 700;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-strong);
}

.service-cards-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }

.service-tile { background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-lg); padding: 26px; transition: all 0.3s var(--transition-smooth); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: var(--olive-main); z-index: 10; }
.service-tile__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 18px; }
.service-tile__num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--olive-main); letter-spacing: 0.16em; }
.service-tile__title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--olive-dark); margin: 10px 0; line-height: 1.4; }
.service-tile__desc { font-size: 14px; color: var(--olive-secondary); line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
.service-tile__price { font-family: 'Space Mono', monospace; font-size: 17px; font-weight: 700; color: var(--olive-deep); margin-bottom: 14px; }
.service-tile__link { color: var(--olive-main); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream-light); }
::-webkit-scrollbar-thumb { background: var(--olive-main); border-radius: 4px; opacity: 0.6; }
::-webkit-scrollbar-thumb:hover { background: var(--olive-deep); }

::selection { background: var(--olive-main); color: var(--white); }

@media (min-width: 1024px) {
  .hero-stage { min-height: 100vh; }
}

@media (max-width: 1023px) {
  .parchment-nav { display: none; }
  .hamburger-toggle { display: flex; }
  .parchment-head__inner { grid-template-columns: auto 1fr auto; }
  .parchment-head__inner > .crest-emblem { grid-column: 2; justify-self: center; }
  .parchment-head__inner > .hamburger-toggle { grid-column: 3; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .drag-canvas { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .drag-tile--large { grid-column: span 2; grid-row: span 2; }
  .benefits-flexgrid { grid-template-columns: 1fr; }
  .benefits-flexgrid:hover .benefit-card:not(:hover) { transform: none; opacity: 1; }
  .node-graph__row { grid-template-columns: repeat(3, 1fr); }
  .masonry-flow { column-count: 2; }
  .split-sticky { grid-template-columns: 1fr; }
  .split-sticky__left { position: relative; top: auto; }
  .contact-split { grid-template-columns: 1fr; }
  .site-footline__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-cards-row { grid-template-columns: repeat(2, 1fr); }
  .blog-list { grid-template-columns: 1fr; }
  .feature-pillars { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .drag-canvas { grid-template-columns: 1fr; }
  .drag-tile--large { grid-column: span 1; grid-row: span 1; }
  .masonry-flow { column-count: 1; }
  .node-graph__row { grid-template-columns: repeat(2, 1fr); }
  .service-cards-row { grid-template-columns: 1fr; }
  .site-footline__inner { grid-template-columns: 1fr; }
  .site-footline__legal-row { flex-direction: column; gap: 10px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row a, .hero-cta-row button { width: 100%; }
  .cookie-consent-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
  .team-reveal__popover { display: none; }
  .legal-page__inner { padding: 32px 22px; }
  .hero-glyphs { display: none; }
  .hero-headline { font-size: clamp(32px, 8vw, 48px); }
  .hero-visual { max-width: 100%; margin-inline: auto; }
  .node-step { min-width: 0; width: 100%; }
  .coverflow-card { width: 90%; padding: 24px 20px; }
  .coverflow-card__quote { font-size: 15px; }
}
