/* Japanese font stack - local fallback for reliability */
:root {
  --atelier-cream: #FFFCF8;
  --fabric-mist: #F8F4EC;
  --cotton-pearl: #F0EBE4;
  --deep-charcoal: #181518;
  --slate-gray: #282528;
  --precise-blue: #4B73C3;
  --deep-navy: #2A4488;
  --blue-gradient: linear-gradient(135deg, #4B73C3, #2A4488);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.92;
  color: var(--slate-gray);
  background: var(--atelier-cream);
  overflow-x: hidden;
}

strong, p {
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-charcoal { color: var(--deep-charcoal); }
.text-slate { color: var(--slate-gray); }
.text-blue { color: var(--precise-blue); }
.text-white { color: #ffffff; }

.bg-cream { background: var(--atelier-cream); }
.bg-mist { background: var(--fabric-mist); }
.bg-pearl { background: var(--cotton-pearl); }
.bg-charcoal { background: var(--deep-charcoal); color: var(--atelier-cream); }
.bg-blue { background: var(--precise-blue); color: #ffffff; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-regular { font-weight: 400; }

.uppercase { text-transform: uppercase; letter-spacing: 0.18em; }
.stretched { transform: scaleX(1.09); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 54px;
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 24px 84px rgba(75, 115, 195, 0.32);
  transition: all 0.38s ease-out;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 96px rgba(75, 115, 195, 0.42);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--deep-charcoal);
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(75, 115, 195, 0.24);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.28s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--precise-blue);
  color: #ffffff;
  border-color: var(--precise-blue);
}

.btn-cta-pill {
  padding: 9px 18px;
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 10px;
  font-weight: 500;
  border-radius: 9999px;
  box-shadow: 0 10px 24px rgba(75, 115, 195, 0.24);
  transition: all 0.26s ease;
  white-space: nowrap;
}

.btn-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(75, 115, 195, 0.34);
}

header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 980px;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 9999px;
  border: 1px solid rgba(75, 115, 195, 0.12);
  box-shadow: 0 16px 48px rgba(75, 115, 195, 0.10);
  transition: all 0.38s ease-out;
}

header.scrolled {
  top: 12px;
  padding: 8px 16px;
  width: calc(100% - 32px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 12px 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--precise-blue);
}

.logo-domain {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--deep-charcoal);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.logo-company {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: var(--slate-gray);
  margin-left: 4px;
  line-height: 1.35;
}

.pill-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}

.nav-item {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-gray);
  cursor: pointer;
  transition: all 0.26s ease;
}

.nav-item:hover {
  color: var(--precise-blue);
  transform: scale(1.06);
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 9999;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--deep-charcoal);
  margin: 4px auto;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 253, 250, 0.99);
  z-index: 9998;
  padding-top: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-item {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-charcoal);
  padding: 12px 24px;
  transition: all 0.26s ease;
}

.mobile-nav-item:hover {
  color: var(--precise-blue);
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--deep-charcoal);
  cursor: pointer;
}

.mobile-contact {
  margin-top: auto;
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(75, 115, 195, 0.10);
  width: 100%;
}

@keyframes meshFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(30px, -20px) scale(1.05);
    opacity: 0.8;
  }
  50% {
    transform: translate(-20px, 30px) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translate(20px, 20px) scale(1.02);
    opacity: 0.7;
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-16px);
  }
  60% {
    transform: translateY(-8px);
  }
}

@keyframes staggerScale {
  0% {
    opacity: 0;
    transform: scale(0.68);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes elasticBounce {
  0% {
    transform: scaleX(1.09) translateY(0);
  }
  30% {
    transform: scaleX(1.09) translateY(-12px);
  }
  50% {
    transform: scaleX(1.09) translateY(0);
  }
  70% {
    transform: scaleX(1.09) translateY(-6px);
  }
  100% {
    transform: scaleX(1.09) translateY(0);
  }
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes morphOpen {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 500px;
    opacity: 1;
  }
}

@keyframes morphClose {
  from {
    max-height: 500px;
    opacity: 1;
  }
  to {
    max-height: 0;
    opacity: 0;
  }
}

.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: var(--atelier-cream);
  overflow: hidden;
}

.mesh-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: meshFloat ease-in-out infinite;
}

.mesh-spot:nth-child(1) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(75, 115, 195, 0.15), transparent 70%);
  top: 10%;
  right: 15%;
  animation-duration: 36s;
}

.mesh-spot:nth-child(2) {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 235, 228, 0.8), transparent 70%);
  bottom: 20%;
  left: 10%;
  animation-duration: 42s;
  animation-delay: -12s;
}

.mesh-spot:nth-child(3) {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(75, 115, 195, 0.08), transparent 70%);
  top: 50%;
  left: 50%;
  animation-duration: 38s;
  animation-delay: -8s;
}

.mesh-spot:nth-child(4) {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(248, 244, 236, 0.6), transparent 70%);
  bottom: 10%;
  right: 25%;
  animation-duration: 52s;
  animation-delay: -20s;
}

.mesh-spot:nth-child(5) {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(75, 115, 195, 0.10), transparent 70%);
  top: 30%;
  left: 20%;
  animation-duration: 44s;
  animation-delay: -16s;
}

.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 0;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding-left: 80px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(3.2rem, 8.5vw, 8.5rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  letter-spacing: 0.004em;
  transform: scaleX(1.09);
  animation: elasticBounce 2.4s ease-out infinite;
  transform-origin: left center;
}

.hero-subtitle {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.6;
  max-width: 560px;
  margin-top: 28px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  margin-top: 40px;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-charcoal);
  animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--precise-blue);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 600px;
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath d='M50,50 Q200,100 350,50 T350,350 Q200,300 50,350 T50,50' fill='white'/%3E%3C/svg%3E");
  mask-size: 80%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath d='M50,50 Q200,100 350,50 T350,350 Q200,300 50,350 T50,50' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 80%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,253,250,0.3), rgba(248,244,236,0.2));
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--precise-blue);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  letter-spacing: 0.004em;
  transform: scaleX(1.09);
  margin-bottom: 48px;
}

.section-subtitle {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.8;
  max-width: 640px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
}

.service-card {
  background: var(--fabric-mist);
  border: 1px solid rgba(75, 115, 195, 0.12);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.38s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  z-index: 96;
  box-shadow: 0 24px 64px rgba(75, 115, 195, 0.15);
}

.service-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-title {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 12px;
}

.service-desc {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-price {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--precise-blue);
  transition: all 0.26s ease;
}

.service-link:hover {
  gap: 10px;
}

.about-section {
  background: var(--fabric-mist);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--precise-blue), transparent);
  opacity: 0.3;
}

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

.about-content h2 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  letter-spacing: 0.004em;
  transform: scaleX(1.09);
  margin-bottom: 32px;
}

.about-content p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 2;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--precise-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.process-section {
  background: var(--deep-charcoal);
  color: var(--atelier-cream);
  position: relative;
}

.process-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--precise-blue), transparent);
  opacity: 0.3;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.process-sticky {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding-right: 60px;
}

.process-sticky h2 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--atelier-cream);
  line-height: 0.66;
  letter-spacing: 0.004em;
  transform: scaleX(1.09);
  margin-bottom: 24px;
}

.process-sticky p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: rgba(255, 253, 250, 0.7);
  line-height: 1.8;
}

.process-steps {
  padding-left: 60px;
  border-left: 1px solid rgba(75, 115, 195, 0.2);
}

.process-step {
  padding: 32px 0;
  position: relative;
  transition: all 0.28s ease;
}

.process-step:hover {
  z-index: 96;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -61px;
  top: 40px;
  width: 20px;
  height: 20px;
  background: var(--precise-blue);
  border-radius: 50%;
  border: 3px solid var(--deep-charcoal);
}

.step-number {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--precise-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.step-title {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--atelier-cream);
  margin-bottom: 12px;
}

.step-desc {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: rgba(255, 253, 250, 0.6);
  line-height: 1.8;
}

.marquee-section {
  background: var(--cotton-pearl);
  padding: 40px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marqueeMove 20s linear infinite;
  gap: 56px;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.marquee-icon {
  font-size: 18px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--atelier-cream);
  border: 1px solid rgba(75, 115, 195, 0.12);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.38s ease;
}

.advantage-card:hover {
  transform: scale(1.04);
  z-index: 96;
  box-shadow: 0 24px 64px rgba(75, 115, 195, 0.12);
}

.advantage-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.advantage-title {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 12px;
}

.advantage-desc {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.7;
}

.team-section {
  background: var(--fabric-mist);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--atelier-cream);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.28s ease;
  border: 1px solid transparent;
}

.team-item:hover,
.team-item.active {
  border-color: var(--precise-blue);
  box-shadow: 0 8px 32px rgba(75, 115, 195, 0.10);
}

.team-item-icon {
  font-size: 24px;
}

.team-item-info h4 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 4px;
}

.team-item-info p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  color: var(--slate-gray);
}

.team-visual {
  background: var(--cotton-pearl);
  border-radius: 24px;
  padding: 40px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-photo.active {
  opacity: 1;
}

.faq-section {
  background: var(--atelier-cream);
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  border-left: 3px solid transparent;
  transition: all 0.28s ease;
  margin-bottom: 8px;
}

.faq-item:hover {
  z-index: 96;
}

.faq-item.active {
  border-left-color: var(--precise-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--fabric-mist);
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.28s ease;
}

.faq-item:hover .faq-question {
  background: var(--cotton-pearl);
}

.faq-question h4 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-charcoal);
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--precise-blue);
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.44s ease-out-cubic;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.44s ease-out-cubic;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 20px 28px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.8;
}

.reviews-section {
  background: var(--deep-charcoal);
  color: var(--atelier-cream);
  overflow: hidden;
}

.reviews-section .section-title {
  color: var(--atelier-cream);
}

.reviews-carousel {
  display: flex;
  gap: 24px;
  padding: 40px 0;
  perspective: 1000px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review-card {
  background: rgba(255, 253, 250, 0.05);
  border: 1px solid rgba(75, 115, 195, 0.15);
  border-radius: 24px;
  padding: 32px;
  width: 320px;
  flex-shrink: 0;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  scroll-snap-align: center;
}

.review-card.active {
  transform: scale(1.15) rotateY(0deg);
  z-index: 100;
  background: rgba(255, 253, 250, 0.10);
  border-color: rgba(75, 115, 195, 0.30);
}

.review-card:not(.active) {
  transform: scale(0.85) rotateY(-18deg);
  opacity: 0.6;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--precise-blue);
}

.review-text {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--atelier-cream);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--precise-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(75, 115, 195, 0.20);
  border: 1px solid rgba(75, 115, 195, 0.30);
  color: var(--atelier-cream);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--precise-blue);
  border-color: var(--precise-blue);
}

.contact-section {
  background: var(--fabric-mist);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  background: var(--atelier-cream);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(75, 115, 195, 0.10);
}

.contact-card h4 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--precise-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.contact-card p,
.contact-card a {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--deep-charcoal);
  line-height: 1.7;
}

.contact-map {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  margin-top: 16px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  background: var(--atelier-cream);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(75, 115, 195, 0.10);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 24px;
  background: var(--fabric-mist);
  border: 1px solid rgba(75, 115, 195, 0.14);
  border-radius: 9999px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--deep-charcoal);
  transition: all 0.28s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--precise-blue);
  box-shadow: 0 0 0 3px rgba(75, 115, 195, 0.10);
}

.form-group textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 20px 40px;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--atelier-cream);
  border: 1px solid rgba(75, 115, 195, 0.15);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  z-index: 9990;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 12px;
}

.cookie-banner p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  color: var(--slate-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cookie-banner-links {
  margin-bottom: 20px;
}

.cookie-banner-links a {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  color: var(--precise-blue);
  text-decoration: underline;
  margin-right: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 9999px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.26s ease;
  border: none;
}

.cookie-btn.accept {
  background: var(--blue-gradient);
  color: #ffffff;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--slate-gray);
  border: 1px solid rgba(75, 115, 195, 0.20);
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

footer {
  background: var(--cotton-pearl);
  border-top: 2px solid var(--precise-blue);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
  color: var(--precise-blue);
}

.footer-logo span {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-charcoal);
}

.footer-brand p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.7;
}

.footer-col h5 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--deep-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  transition: color 0.26s ease;
}

.footer-col a:hover {
  color: var(--precise-blue);
}

.footer-contact p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(75, 115, 195, 0.10);
}

.footer-bottom p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--deep-charcoal);
  letter-spacing: 0.08em;
}

.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  letter-spacing: 0.004em;
  transform: scaleX(1.09);
  margin-bottom: 20px;
}

.page-hero p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.8;
  max-width: 600px;
}

.thankyou-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-content h1 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  margin-bottom: 24px;
}

.thankyou-content p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.8;
  margin-bottom: 40px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(75, 115, 195, 0.10);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 2;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  transition: all 0.38s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 96;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(24, 21, 24, 0.8));
  opacity: 0;
  transition: opacity 0.38s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
}

.detail-section {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.detail-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-image-main {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.detail-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content h2 {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 0.66;
  margin-bottom: 24px;
}

.detail-content p {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 2;
  margin-bottom: 24px;
}

.detail-features {
  list-style: none;
  margin: 32px 0;
}

.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 13px;
  color: var(--slate-gray);
}

.detail-features li::before {
  content: '✓';
  color: var(--precise-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--fabric-mist);
  border-radius: 16px;
  margin-top: 32px;
}

.detail-price span {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--precise-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.detail-price strong {
  font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-charcoal);
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 100px 0 60px;
  }
  
  .hero-content {
    padding: 0 40px;
    text-align: center;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-visual {
    min-height: 400px;
    margin-top: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .about-grid,
  .contact-grid,
  .team-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .process-sticky {
    position: relative;
    top: 0;
    padding-right: 0;
  }
  
  .process-steps {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(75, 115, 195, 0.20);
    padding-top: 40px;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pill-nav {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(75, 115, 195, 0.10);
  }
  
  .header-inner {
    padding: 8px 16px;
  }
  
  .logo-company {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card.featured {
    grid-column: span 1;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-carousel {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .review-card {
    width: 100%;
    max-width: 360px;
  }
  
  .review-card.active {
    transform: scale(1);
  }
  
  .review-card:not(.active) {
    transform: scale(0.95);
    opacity: 0.8;
  }
  
  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
  }
  
  .page-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 20px;
  }
  
  .btn-primary {
    padding: 20px 40px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    margin-bottom: 32px;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}