:root {
  --sand-warm: #F5F0E8;
  --paper-white: #FFFFFF;
  --graphite: #1A1A1A;
  --warm-gray: #6B6B6B;
  --olive-deep: #606C38;
  --olive-soft: #8B9659;
  --terracotta: #BC6C25;
  --border-sand: #E8E4D9;
  --peach-soft: #FFE8D6;
  --mint-soft: #D8E2DC;
  --radius-card: 28px;
  --radius-pill: 24px;
  --radius-chip: 16px;
  --shadow-float: 0 24px 60px -20px rgba(26, 26, 26, 0.18), 0 6px 20px -8px rgba(26, 26, 26, 0.08);
  --shadow-soft: 0 12px 32px -10px rgba(26, 26, 26, 0.12);
  --shadow-pop: 0 30px 70px -15px rgba(96, 108, 56, 0.35);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Lato', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--sand-warm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

strong, p, span, h1, h2, h3, h4, h5, h6, a, li, label, button, input, textarea, select { color: inherit; }
strong, p, b { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--graphite);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

a { color: var(--olive-deep); text-decoration: none; transition: color 0.25s var(--ease-soft); }
a:hover { color: var(--terracotta); }

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

.section-block { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--olive-deep);
  display: inline-block;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--warm-gray);
  max-width: 640px;
  line-height: 1.7;
}

.floating-card {
  background: var(--paper-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-soft), z-index 0s;
  position: relative;
  z-index: 1;
}
.floating-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-pop); z-index: 12; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--olive-deep);
  color: var(--paper-white) !important;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--olive-deep);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
  min-height: 56px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--graphite); border-color: var(--graphite); color: var(--paper-white) !important; transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(26, 26, 26, 0.4); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--paper-white);
  color: var(--olive-deep) !important;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--olive-deep);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
  min-height: 56px;
  text-decoration: none;
}
.btn-ghost:hover { background: var(--olive-deep); color: var(--paper-white) !important; transform: translateY(-3px); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper-white) !important;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: 2px solid var(--paper-white);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
  text-decoration: none;
}
.btn-outline-light:hover { background: var(--paper-white); color: var(--olive-deep) !important; transform: translateY(-3px); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-sand);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nav-side.left { justify-content: flex-end; padding-right: 1rem; }
.nav-side.right { justify-content: flex-start; padding-left: 1rem; }
.nav-link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--graphite) !important;
  border-radius: 10px;
  transition: all 0.25s var(--ease-soft);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(96, 108, 56, 0.12); color: var(--olive-deep) !important; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--olive-deep);
  color: var(--paper-white) !important;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta); color: var(--paper-white) !important; transform: translateY(-2px); }

.brand-block {
  text-align: center;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--olive-deep) !important;
  line-height: 1;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-domain {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-gray) !important;
  line-height: 1;
}
.brand-name-jp {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--graphite) !important;
  line-height: 1.1;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: all 0.3s var(--ease-soft);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, 0.98);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  z-index: 55;
  padding: 2rem 1.5rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-soft);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  max-height: 100vh;
  overflow-y: auto;
}
.mobile-drawer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 10%, var(--peach-soft), transparent 50%), radial-gradient(circle at 80% 80%, var(--mint-soft), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}
.mobile-drawer.open { transform: translateY(0); top: 108px; }
.mobile-drawer a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--graphite) !important;
  border-bottom: 1px solid var(--border-sand);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
}
.mobile-drawer.open a { opacity: 1; transform: translateY(0); }
.mobile-drawer.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-drawer.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-drawer.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-drawer.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-drawer.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-drawer.open a:nth-child(6) { transition-delay: 0.35s; }
.mobile-drawer.open a:hover { color: var(--olive-deep) !important; padding-left: 12px; }
.mobile-drawer .nav-cta-mobile {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  background: var(--olive-deep);
  color: var(--paper-white) !important;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.hero-canvas {
  position: relative;
  min-height: clamp(620px, 92vh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-warm) 0%, #efe8d8 100%);
}
.hero-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(96, 108, 56, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 232, 214, 0.8), transparent 50%),
    radial-gradient(ellipse at 60% 20%, rgba(216, 226, 220, 0.7), transparent 50%);
  animation: liquidFlow 22s ease-in-out infinite;
  z-index: 1;
}
.hero-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  pointer-events: none;
}
@keyframes liquidFlow {
  0%, 100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
  33% { transform: translate(2%, -2%) scale(1.05); filter: hue-rotate(8deg); }
  66% { transform: translate(-1%, 1%) scale(0.98); filter: hue-rotate(-5deg); }
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding: 4rem 0;
}
.hero-title { margin-bottom: 1.4rem; }
.hero-title .accent-line { display: block; color: var(--olive-deep); font-style: italic; }
.hero-subline {
  font-size: 1.15rem;
  color: var(--graphite);
  max-width: 540px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.5);
  padding: 14px 22px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  display: inline-block;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-floating-tag {
  position: absolute;
  background: var(--paper-white);
  padding: 14px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--graphite) !important;
  z-index: 5;
}
.hero-floating-tag.top-right { top: 24px; right: 0; }
.hero-floating-tag.bottom-left { bottom: 24px; left: 0; }
.hero-floating-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--olive-deep); }

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(96, 108, 56, 0.12), transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(255, 232, 214, 0.7), transparent 50%);
  z-index: -1;
}
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .lead-text { font-size: 1.2rem; }

.stacking-section { position: relative; }
.stack-card {
  position: sticky;
  top: 80px;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: var(--paper-white);
  border-radius: 36px;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4rem;
  box-shadow: var(--shadow-float);
  z-index: 1;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-soft);
}
.stack-card:nth-child(2) { z-index: 2; }
.stack-card:nth-child(3) { z-index: 3; }
.stack-card:nth-child(4) { z-index: 4; }
.stack-card:nth-child(5) { z-index: 5; }
.stack-card:nth-child(6) { z-index: 6; }
.stack-card:nth-child(7) { z-index: 7; }
.stack-card:hover { transform: translateY(-6px) scale(1.005); z-index: 20; box-shadow: var(--shadow-pop); }
.stack-card .stack-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.stack-card .stack-image img { width: 100%; height: 100%; object-fit: cover; }
.stack-card .stack-content h3 { margin-bottom: 1rem; color: var(--olive-deep); }
.stack-card .stack-content p { color: var(--warm-gray); margin-bottom: 1.4rem; }
.stack-card .stack-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stack-card .price-chip {
  display: inline-block;
  background: var(--sand-warm);
  color: var(--graphite);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.bento-section { background: var(--sand-warm); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* grid-auto-rows: 220px; */
  gap: 1.5rem;
}
.bento-item {
  background: var(--paper-white);
  border-radius: 28px;
  padding: 2rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-soft), z-index 0s;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}
.bento-item:hover { transform: translateY(-6px) scale(1.02); z-index: 10; box-shadow: var(--shadow-pop); outline: 2px solid var(--olive-deep); }
.bento-item.size-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-item.size-2x1 { grid-column: span 2; }
.bento-item.size-1x2 { grid-row: span 2; }
.bento-item.bento-photo { padding: 0; }
.bento-item.bento-photo img { width: 100%; height: 100%; object-fit: cover; }
.bento-item .bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sand-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--olive-deep);
}
.bento-item .bento-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--olive-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.bento-item h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.bento-item p { color: var(--warm-gray); font-size: 0.97rem; }

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.flex-grow-card {
  background: var(--paper-white);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  overflow: hidden;
}
.flex-grow-card:hover { transform: scale(1.06); z-index: 10; border-color: var(--olive-deep); box-shadow: var(--shadow-pop); }
.flex-grow-card .number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--olive-deep);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}
.flex-grow-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.flex-grow-card p { color: var(--warm-gray); font-size: 0.95rem; }

.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}
.masonry-item {
  break-inside: avoid;
  background: var(--paper-white);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), z-index 0s;
  position: relative;
  z-index: 1;
}
.masonry-item:hover { transform: scale(1.03); z-index: 10; box-shadow: var(--shadow-pop); }
.masonry-item img { width: 100%; height: auto; display: block; }
.masonry-item .masonry-meta {
  padding: 1.2rem 1.5rem;
  background: var(--paper-white);
  position: relative;
}
.masonry-item .masonry-meta::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--paper-white));
  pointer-events: none;
}
.masonry-item .masonry-meta h4 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--graphite); }
.masonry-item .masonry-meta p { color: var(--warm-gray); font-size: 0.88rem; margin: 0; }

.node-graph {
  position: relative;
  padding: 4rem 0;
}
.node-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.node-row:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.node-circle {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--paper-white);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive-deep);
  position: relative;
  z-index: 3;
  transition: transform 0.4s var(--ease-spring);
}
.node-circle:hover { transform: scale(1.1); background: var(--olive-deep); color: var(--paper-white); }
.node-content {
  flex: 1;
  background: var(--paper-white);
  border-radius: 24px;
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-soft);
}
.node-content h4 { color: var(--olive-deep); margin-bottom: 0.4rem; }
.node-content p { color: var(--warm-gray); font-size: 0.97rem; margin: 0; }
.node-row::before {
  content: '';
  position: absolute;
  left: 65px;
  top: 130px;
  bottom: -40px;
  width: 3px;
  border-left: 3px dashed var(--olive-deep);
  opacity: 0.4;
  z-index: 1;
}
.node-row:last-child::before { display: none; }
.node-row:nth-child(even)::before { left: auto; right: 65px; }

.hover-reveal-list { display: flex; flex-direction: column; gap: 0; }
.hover-reveal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-sand);
  position: relative;
  cursor: default;
  transition: padding-left 0.3s var(--ease-soft);
}
.hover-reveal-row:first-child { border-top: 1px solid var(--border-sand); }
.hover-reveal-row:hover { padding-left: 1.5rem; }
.hover-reveal-row .name { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; color: var(--graphite); transition: color 0.3s; }
.hover-reveal-row:hover .name { color: var(--olive-deep); }
.hover-reveal-row .role { color: var(--warm-gray); font-size: 0.95rem; }
.hover-reveal-tooltip {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  background: var(--paper-white);
  border-radius: 20px;
  padding: 0.8rem 1.2rem 0.8rem 0.8rem;
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-spring);
  z-index: 5;
  min-width: 240px;
}
.hover-reveal-tooltip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hover-reveal-tooltip .info strong { display: block; font-size: 0.95rem; color: var(--graphite); }
.hover-reveal-tooltip .info span { font-size: 0.82rem; color: var(--warm-gray); }
.hover-reveal-row:hover .hover-reveal-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

.coverflow {
  position: relative;
  perspective: 1400px;
  padding: 3rem 0;
}
.coverflow-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  min-height: 420px;
  position: relative;
  padding: 0 calc(50% - 180px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.coverflow-track::-webkit-scrollbar { display: none; }
.cover-card {
  flex: 0 0 360px;
  scroll-snap-align: center;
  background: var(--paper-white);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: var(--shadow-float);
  transition: all 0.6s var(--ease-spring);
  position: relative;
  z-index: 1;
}
.cover-card.active { transform: scale(1.05); z-index: 10; box-shadow: var(--shadow-pop); }
.cover-card.left { transform: scale(0.85); opacity: 0.5; z-index: 2; }
.cover-card.right { transform: scale(0.85); opacity: 0.5; z-index: 2; }
.cover-card.hidden-side { transform: scale(0.7); opacity: 0; }
.cover-card .stars { color: var(--olive-deep); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 4px; }
.cover-card .quote { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.6; color: var(--graphite); margin-bottom: 1.4rem; font-style: italic; }
.cover-card .author { font-weight: 700; color: var(--graphite); }
.cover-card .author-role { font-size: 0.88rem; color: var(--warm-gray); }
.coverflow-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.coverflow-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper-white);
  border: 2px solid var(--olive-deep);
  color: var(--olive-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s var(--ease-spring);
}
.coverflow-btn:hover { background: var(--olive-deep); color: var(--paper-white); transform: scale(1.08); }

.accordion-item {
  background: var(--paper-white);
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-soft);
}
.accordion-item.open { box-shadow: var(--shadow-pop); }
.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--graphite);
}
.accordion-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--olive-deep);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-spring);
}
.accordion-item.open .accordion-icon { background: var(--olive-deep); color: var(--paper-white); transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-soft);
  padding: 0 1.8rem;
}
.accordion-item.open .accordion-content { padding: 0 1.8rem 1.5rem; max-height: 500px; }
.accordion-content p { color: var(--warm-gray); }

.split-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.split-form, .split-info {
  background: var(--paper-white);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-float);
}
.form-field { margin-bottom: 1.5rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); margin-bottom: 0.5rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-sand);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--graphite);
  transition: border-color 0.3s var(--ease-soft);
  outline: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--warm-gray); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--olive-deep); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field .error-msg { color: var(--terracotta); font-size: 0.85rem; margin-top: 0.3rem; display: none; }
.form-field.error input, .form-field.error textarea { border-color: var(--terracotta); }
.form-field.error .error-msg { display: block; }
.form-success { display: none; background: rgba(96, 108, 56, 0.1); color: var(--olive-deep); padding: 1.5rem; border-radius: 16px; font-weight: 700; text-align: center; }

.info-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-sand); }
.info-row:last-child { border-bottom: none; }
.info-row .info-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand-warm); display: flex; align-items: center; justify-content: center; color: var(--olive-deep); flex-shrink: 0; }
.info-row .info-label { font-size: 0.8rem; color: var(--warm-gray); letter-spacing: 0.1em; text-transform: uppercase; }
.info-row .info-value { font-weight: 700; color: var(--graphite); }
.info-row a.info-value:hover { color: var(--olive-deep); }

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--mint-soft), var(--peach-soft));
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 108, 56, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 108, 56, 0.18) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-pin {
  background: var(--olive-deep);
  color: var(--paper-white);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-float);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-canvas {
  background: var(--olive-deep);
  color: var(--paper-white);
  border-radius: 36px 36px 0 0;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  margin-top: 4rem;
}
.footer-canvas a { color: var(--paper-white) !important; }
.footer-canvas a:hover { color: var(--peach-soft) !important; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.footer-brand .brand-block { align-items: flex-start; text-align: left; }
.footer-brand .brand-mark { color: var(--paper-white) !important; }
.footer-brand .brand-domain { color: rgba(255, 255, 255, 0.7) !important; }
.footer-brand .brand-name-jp { color: var(--paper-white) !important; }
.footer-brand p { color: rgba(255, 255, 255, 0.78); margin-top: 1.2rem; }
.footer-col h5 { font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--peach-soft); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--paper-white);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-pop);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border-sand);
}
.cookie-banner .cookie-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--peach-soft); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.cookie-banner h6 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--graphite); }
.cookie-banner p { font-size: 0.85rem; color: var(--warm-gray); margin: 0; }
.cookie-banner a { font-weight: 700; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-actions button { flex: 1; padding: 10px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; cursor: pointer; border: 2px solid var(--olive-deep); transition: all 0.25s var(--ease-soft); }
.cookie-actions .cookie-accept { background: var(--olive-deep); color: var(--paper-white); }
.cookie-actions .cookie-accept:hover { background: var(--graphite); border-color: var(--graphite); }
.cookie-actions .cookie-decline { background: transparent; color: var(--olive-deep); }
.cookie-actions .cookie-decline:hover { background: var(--sand-warm); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-prose { max-width: 820px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.6rem; margin: 2.2rem 0 0.8rem; color: var(--olive-deep); }
.legal-prose h3 { font-size: 1.25rem; margin: 1.6rem 0 0.5rem; }
.legal-prose p, .legal-prose li { color: var(--graphite); margin-bottom: 0.9rem; line-height: 1.8; }
.legal-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.thank-you-card {
  text-align: center;
  background: var(--paper-white);
  border-radius: 36px;
  padding: clamp(3rem, 6vw, 5rem);
  box-shadow: var(--shadow-pop);
  max-width: 720px;
  margin: 4rem auto;
}
.thank-you-card .check-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--olive-deep);
  color: var(--paper-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  animation: popIn 0.6s var(--ease-spring);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.thank-you-card h1 { margin-bottom: 1rem; }
.thank-you-card p { color: var(--warm-gray); font-size: 1.1rem; margin-bottom: 2rem; }
.thank-you-card .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.container-inner { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; overflow-x: hidden; }

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-side { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; max-width: 100%; overflow-x: hidden; }
  .hero-visual { aspect-ratio: 16/10; max-height: 420px; max-width: 100%; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-item.size-2x2 { grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .bento-item.size-1x2 { grid-row: span 1; }
  .flex-grow-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { column-count: 2; }
  .split-contact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .stack-card { grid-template-columns: 1fr; min-height: auto; padding: 2rem; top: 60px; }
  .stack-card .stack-image { aspect-ratio: 16/10; }
  .node-row, .node-row:nth-child(even) { flex-direction: column; text-align: center; }
  .node-row::before, .node-row:nth-child(even)::before { left: 50%; right: auto; transform: translateX(-50%); top: 130px; bottom: -40px; }
  .hover-reveal-tooltip { display: none; }
  .hover-reveal-row { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 1.4rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; overflow-x: hidden; }
  .hero-canvas { min-height: auto; padding: 3rem 0; overflow-x: hidden; }
  .hero-floating-tag { display: none; }
  .hero-inner { max-width: 100%; overflow-x: hidden; }
  .hero-visual { max-width: 100%; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.size-2x2, .bento-item.size-2x1, .bento-item.size-1x2 { grid-column: span 1; grid-row: span 1; }
  .flex-grow-grid { grid-template-columns: 1fr; }
  .masonry-grid { column-count: 1; }
  .footer-top { grid-template-columns: 1fr; max-width: 100%; }
  .cover-card { flex: 0 0 280px; padding: 1.6rem; max-width: 100%; }
  .cover-card .quote { font-size: 1rem; }
  .stack-card { padding: 1.5rem; position: relative; top: 0; max-width: 100%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .coverflow-track { min-height: 360px; }
  .section-block { overflow-x: hidden; }
  .container-inner { max-width: 100%; padding: 0 1rem; overflow-x: hidden; }
}

::selection { background: var(--olive-deep); color: var(--paper-white); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--sand-warm); }
::-webkit-scrollbar-thumb { background: var(--olive-deep); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }
