@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

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

html, body {
  background: #F8F6F3;
  color: #1A1A1A;
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

strong, p, span, a, li, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

a {
  color: #0B2A4A;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #C4572E;
}

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

:root {
  --color-bg: #F8F6F3;
  --color-graphite: #1A1A1A;
  --color-graphite-light: #2A2A2A;
  --color-cobalt: #0B2A4A;
  --color-emerald: #0F5E4F;
  --color-terracotta: #C4572E;
  --color-white: #FFFFFF;
  --color-line: rgba(0, 0, 0, 0.12);
  --shadow-deep: 0 20px 60px -20px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 8px 30px -10px rgba(0, 0, 0, 0.18);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-mask: cubic-bezier(0.7, 0, 0.2, 1);
}

.layout-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar-dock {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: rgba(248, 246, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--color-line);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: width 0.4s var(--ease-spring);
  overflow: hidden;
}

.sidebar-dock.is-compact {
  width: 80px;
  padding: 24px 12px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  white-space: nowrap;
}

.brand-glyph {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0B2A4A 0%, #1A1A1A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F6F3;
  font-weight: 900;
  font-size: 22px;
  position: relative;
  overflow: hidden;
}

.brand-glyph::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-domain {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  line-height: 1;
}

.brand-jp {
  font-size: 11px;
  font-weight: 500;
  color: #1A1A1A;
  opacity: 0.6;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.sidebar-dock.is-compact .brand-text {
  display: none;
}

.sidebar-dock.is-compact .brand-block {
  justify-content: center;
  margin-bottom: 36px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}

.nav-list a:hover {
  background: rgba(11, 42, 74, 0.08);
  color: #0B2A4A;
  transform: translateX(4px);
}

.nav-list a.is-active {
  background: #0B2A4A;
  color: #F8F6F3;
}

.nav-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar-dock.is-compact .nav-label {
  display: none;
}

.sidebar-dock.is-compact .nav-list a {
  justify-content: center;
  padding: 14px;
}

.cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #C4572E;
  color: #F8F6F3;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.cta-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(196, 87, 46, 0.5);
  color: #F8F6F3;
}

.sidebar-dock.is-compact .cta-call span {
  display: none;
}

.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(248, 246, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-line);
  z-index: 60;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand .brand-domain {
  font-size: 14px;
}

.mobile-brand .brand-glyph {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.burger-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1A1A1A;
  font-size: 22px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 246, 243, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 32px 24px;
  overflow-y: auto;
}

.mobile-overlay.is-open {
  display: flex;
}

.mobile-overlay .brand-block {
  margin-bottom: 24px;
}

.mobile-overlay .nav-list {
  gap: 4px;
}

.mobile-overlay .nav-list a {
  font-size: 22px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
}

.mobile-overlay .cta-call {
  margin-top: 24px;
}

.overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #1A1A1A;
  font-size: 28px;
  cursor: pointer;
}

.main-canvas {
  margin-left: 300px;
  flex-grow: 1;
  min-height: 100vh;
  position: relative;
  transition: margin-left 0.4s var(--ease-spring);
}

.section-block {
  position: relative;
  padding: 100px 60px;
  overflow: hidden;
}

.section-tight {
  padding: 60px 60px;
}

.section-clipped {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.section-clipped-bottom {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4572E;
  margin-bottom: 16px;
}

.display-headline {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.headline-massive {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.subhead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: #1A1A1A;
  opacity: 0.78;
  max-width: 640px;
}

.lead-text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: #1A1A1A;
  opacity: 0.82;
  margin-bottom: 24px;
}

.lead-text + .lead-text {
  margin-top: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C4572E;
  color: #F8F6F3;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
  background: #A8481F;
  color: #F8F6F3;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(196, 87, 46, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: #1A1A1A;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: #0B2A4A;
  color: #0B2A4A;
  transform: translateY(-2px);
}

.btn-cobalt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B2A4A;
  color: #F8F6F3;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-cobalt:hover {
  background: #16406F;
  color: #F8F6F3;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(11, 42, 74, 0.5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-stage {
  min-height: calc(100vh - 60px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 60px 140px;
  overflow: hidden;
  background: #F8F6F3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #0B2A4A 0%, #1A1A1A 100%);
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F6F3;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(15, 94, 79, 0.5), transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(196, 87, 46, 0.4), transparent 60%);
}

.hero-art-text {
  position: relative;
  z-index: 2;
  padding: 32px;
  text-align: center;
}

.hero-art-text small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-top: 16px;
  opacity: 0.6;
}

.hero-flow-marker {
  position: absolute;
  bottom: -60px;
  right: -40px;
  background: #C4572E;
  color: #F8F6F3;
  padding: 24px 32px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  transform: rotate(4deg);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-deep);
}

.diagonal-rule {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.3), transparent);
  width: 100%;
  pointer-events: none;
}

.section-graphite {
  background: #1A1A1A;
  color: #F8F6F3;
}

.section-graphite .display-headline,
.section-graphite .headline-massive {
  color: #F8F6F3;
}

.section-graphite .subhead,
.section-graphite .lead-text {
  color: #F8F6F3;
  opacity: 0.8;
}

.section-graphite .eyebrow {
  color: #C4572E;
}

.section-cobalt {
  background: #0B2A4A;
  color: #F8F6F3;
}

.section-cobalt .display-headline,
.section-cobalt .headline-massive {
  color: #F8F6F3;
}

.section-cobalt .subhead,
.section-cobalt .lead-text {
  color: #F8F6F3;
  opacity: 0.82;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.service-tile {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 36px 28px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #1A1A1A;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-tile:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-deep);
  border-color: #0B2A4A;
}

.service-tile.is-tilt-right {
  transform: rotate(0.5deg);
}

.service-tile.is-tilt-right:hover {
  transform: translateY(-6px) rotate(0deg);
}

.service-tile-glyph {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(11, 42, 74, 0.1), rgba(196, 87, 46, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  color: #0B2A4A;
}

.section-graphite .service-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8F6F3;
}

.section-graphite .service-tile-glyph {
  background: rgba(196, 87, 46, 0.18);
  color: #C4572E;
}

.section-graphite .service-tile h3 {
  color: #F8F6F3;
}

.section-graphite .service-tile p {
  color: #F8F6F3;
  opacity: 0.78;
}

.service-tile h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-tile p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-tile .price-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #C4572E;
  margin-bottom: 18px;
  padding: 6px 12px;
  background: rgba(196, 87, 46, 0.08);
  border-radius: 8px;
  align-self: flex-start;
}

.service-tile .tile-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0B2A4A;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

.section-graphite .service-tile .tile-link {
  color: #C4572E;
  border-color: rgba(255, 255, 255, 0.12);
}

.tile-link::after {
  content: '→';
  transition: transform 0.3s var(--ease-spring);
}

.tile-link:hover::after {
  transform: translateX(4px);
}

.metric-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.metric-cell {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 28px 24px;
  color: #1A1A1A;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.metric-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.metric-number {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0B2A4A;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  opacity: 0.7;
  text-transform: uppercase;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.process-step {
  position: relative;
  padding: 28px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  color: #1A1A1A;
  transform: rotate(-1deg);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.process-step:nth-child(even) {
  transform: rotate(1deg);
}

.process-step:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.process-step .step-marker {
  font-size: 12px;
  font-weight: 700;
  color: #C4572E;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.process-step p {
  font-size: 13px;
  line-height: 1.55;
  color: #1A1A1A;
  opacity: 0.75;
}

/* Styles for .process-rail inside .section-graphite */
.section-graphite .process-rail {
  gap: 24px;
}

.section-graphite .process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8F6F3;
}

.section-graphite .process-step:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.section-graphite .process-step h4 {
  color: #F8F6F3;
}

.section-graphite .process-step p {
  color: #F8F6F3;
  opacity: 0.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}

.team-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.team-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.team-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #2A2A2A 0%, #0B2A4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F6F3;
  font-size: 48px;
  font-weight: 900;
  overflow: hidden;
  position: relative;
}

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

.team-meta {
  padding: 24px 20px;
}

.team-meta .role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4572E;
  margin-bottom: 6px;
}

.team-meta h4 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.team-meta p {
  font-size: 13px;
  color: #1A1A1A;
  opacity: 0.7;
  line-height: 1.55;
}

.review-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #1A1A1A;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-deep);
}

.review-stars {
  color: #C4572E;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: #1A1A1A;
  opacity: 0.85;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0B2A4A, #0F5E4F);
  color: #F8F6F3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
}

.review-author-meta {
  font-size: 12px;
  color: #1A1A1A;
  opacity: 0.65;
  margin-top: 2px;
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
  position: relative;
}

.faq-item.is-open {
  border-color: #0B2A4A;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  color: #1A1A1A;
  cursor: pointer;
  font-family: inherit;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 42, 74, 0.1);
  color: #0B2A4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.faq-item.is-open .faq-toggle {
  background: #0B2A4A;
  color: #F8F6F3;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-mask);
}

.faq-answer-inner {
  padding: 0 28px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #1A1A1A;
  opacity: 0.78;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
}

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

.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: #F8F6F3;
  color: #1A1A1A;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: #0B2A4A;
  background: #FFFFFF;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info-block {
  background: #0B2A4A;
  color: #F8F6F3;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.contact-info-block::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(196, 87, 46, 0.18);
  pointer-events: none;
}

.contact-info-block h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #F8F6F3;
}

.contact-info-block .info-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-block .info-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-block .info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C4572E;
}

.contact-info-block .info-value {
  font-size: 17px;
  font-weight: 600;
  color: #F8F6F3;
  word-break: break-all;
}

.contact-info-block a {
  color: #F8F6F3;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-info-block a:hover {
  color: #C4572E;
}

.footer-block {
  background: #1A1A1A;
  color: #F8F6F3;
  padding: 80px 60px 32px 360px;
  position: relative;
  overflow: hidden;
}

.footer-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 87, 46, 0.6), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-brand-block .brand-text {
  margin-top: 16px;
}

.footer-brand-block .brand-domain {
  color: #F8F6F3;
}

.footer-brand-block .brand-jp {
  color: #F8F6F3;
  opacity: 0.6;
}

.footer-tagline {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #F8F6F3;
  opacity: 0.72;
  max-width: 360px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4572E;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #F8F6F3;
  opacity: 0.8;
  font-size: 14px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-col a:hover {
  color: #C4572E;
  opacity: 1;
}

.footer-meta {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 13px;
  color: #F8F6F3;
  opacity: 0.7;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.footer-meta strong {
  color: #F8F6F3;
}

.footer-meta address {
  font-style: normal;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: #1A1A1A;
  color: #F8F6F3;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-deep);
  z-index: 200;
  display: block;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #F8F6F3;
}

.cookie-banner p {
  font-size: 13px;
  color: #F8F6F3;
  opacity: 0.78;
  margin-bottom: 16px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-accept,
.cookie-decline {
  flex: 1;
  min-width: 100px;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease;
}

.cookie-accept {
  background: #C4572E;
  color: #F8F6F3;
}

.cookie-accept:hover {
  background: #A8481F;
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: #F8F6F3;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-banner-links {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  font-size: 12px;
}

.cookie-banner-links a {
  color: #F8F6F3;
  opacity: 0.7;
  text-decoration: underline;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-layout.is-reversed {
  direction: rtl;
}

.split-layout.is-reversed > * {
  direction: ltr;
}

.split-art {
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #0B2A4A, #1A1A1A);
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-deep);
}

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

.split-art-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F6F3;
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -0.05em;
  background: radial-gradient(circle at 30% 30%, rgba(15, 94, 79, 0.4), transparent 60%);
}

.section-heading-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
}

.gallery-tile {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #1A1A1A, #0B2A4A);
  transform: rotate(-1deg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-tile:nth-child(even) {
  transform: rotate(1deg);
}

.gallery-tile:nth-child(3n) {
  transform: rotate(-2deg);
}

.gallery-tile:hover {
  transform: rotate(0) scale(1.02);
  box-shadow: var(--shadow-deep);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F6F3;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.04em;
  background: radial-gradient(circle at 50% 50%, rgba(196, 87, 46, 0.3), transparent 70%);
  text-align: center;
  padding: 16px;
}

.gallery-tile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: #F8F6F3;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-tile:hover .gallery-tile-caption {
  opacity: 1;
}

.page-hero {
  padding: 160px 60px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin-top: 16px;
}

.breadcrumb-trail {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #1A1A1A;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.breadcrumb-trail a {
  color: #1A1A1A;
  opacity: 0.7;
}

.breadcrumb-trail a:hover {
  opacity: 1;
  color: #C4572E;
}

.prose-block {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
  color: #1A1A1A;
}

.prose-block h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #1A1A1A;
}

.prose-block h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1A1A1A;
}

.prose-block p {
  margin-bottom: 16px;
  color: #1A1A1A;
  opacity: 0.85;
}

.prose-block ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.prose-block li {
  margin-bottom: 8px;
  color: #1A1A1A;
  opacity: 0.85;
}

.prose-block strong {
  color: #0B2A4A;
  font-weight: 700;
}

.thanks-stage {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 60px;
  background: linear-gradient(145deg, #0B2A4A 0%, #1A1A1A 100%);
  color: #F8F6F3;
}

.thanks-stage h1 {
  color: #F8F6F3;
}

.thanks-stage p {
  color: #F8F6F3;
  opacity: 0.85;
}

.thanks-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 60px 50px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.success-glyph {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #C4572E;
  color: #F8F6F3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 16px 40px -10px rgba(196, 87, 46, 0.5);
}

.magnet-target {
  transition: transform 0.4s var(--ease-spring);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-spring);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0B2A4A;
  color: #F8F6F3;
  border: none;
  cursor: pointer;
  font-size: 18px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: #C4572E;
  transform: translateY(-4px);
}

.cookie-banner ~ .scroll-top {
  bottom: 80px;
}

@media (max-width: 1024px) {
  .sidebar-dock {
    display: none;
  }
  .mobile-bar {
    display: flex;
  }
  .main-canvas {
    margin-left: 0;
    padding-top: 56px;
  }
  .section-block,
  .section-tight,
  .hero-stage,
  .page-hero,
  .footer-block,
  .thanks-stage {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-rail,
  .review-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid,
  .split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  .hero-art {
    transform: rotate(-1deg);
  }
}

@media (max-width: 640px) {
  .section-block,
  .section-tight,
  .hero-stage,
  .page-hero,
  .footer-block,
  .thanks-stage {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-stage {
    min-height: auto;
  }
  .service-rail,
  .review-rail,
  .team-grid,
  .gallery-grid,
  .metric-rail,
  .process-rail,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-step,
  .service-tile,
  .team-card,
  .gallery-tile {
    transform: none !important;
  }
  .process-step:hover,
  .service-tile:hover,
  .team-card:hover,
  .gallery-tile:hover {
    transform: translateY(-4px) !important;
  }
  .btn-primary,
  .btn-secondary,
  .btn-cobalt {
    width: 100%;
    justify-content: center;
  }
  .display-headline {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
  .headline-massive {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }
  .hero-flow-marker {
    bottom: -20px;
    right: -10px;
    padding: 10px 14px;
    font-size: 11px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }
  .thanks-card {
    padding: 36px 24px;
  }
  .contact-form,
  .contact-info-block {
    padding: 28px 24px;
  }
}
