@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #F5F0E6;
  --bg-secondary: #E8E2D4;
  --bg-tertiary: #E4DCCC;
  --bg-quaternary: #E0D8C8;
  --bg-quinary: #D8D0C0;
  --text-primary: #3D3229;
  --text-secondary: #8B8070;
  --accent-primary: #9B4D3A;
  --accent-secondary: #6B8E6D;
  --accent-tertiary: #C9A86C;
  --accent-fourth: #7D6B5A;
  --sidebar-width: 280px;
  --sidebar-collapsed: 80px;
  --transition-elegant: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lora', 'Noto Sans JP', serif;
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

strong, b, p {
  color: inherit;
}

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

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.sidebar-dock {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(245, 240, 230, 0.96);
  border-right: 1px solid rgba(125, 107, 90, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  z-index: 1000;
  transition: width 0.3s ease;
}

.sidebar-dock.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.sidebar-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-primary), #7a3d2e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.domain-name {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text-primary);
}

.company-name-jp {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
}

.company-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover {
  background: rgba(155, 77, 58, 0.08);
  color: var(--accent-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

.hero-section {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(155, 77, 58, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(196, 168, 125, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 20%, rgba(107, 142, 109, 0.05) 0%, transparent 40%),
    var(--bg-primary);
}

.hero-image-layer {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 
    24px 24px 0 var(--bg-secondary),
    32px 32px 0 rgba(61, 50, 41, 0.08);
}

.hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 50%;
}

.hero-title-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 98px);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 20px 0;
}

.hero-title-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 68px);
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 32px 0;
}

.hero-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 2px solid var(--accent-primary);
  border-radius: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.28s ease;
}

.btn-primary:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(155, 77, 58, 0.28);
}

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.section-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.services-stack {
  background: var(--bg-secondary);
  padding: 100px 0 120px;
}

.service-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 8px 32px rgba(61, 50, 41, 0.08);
  transition: all 0.28s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 48px rgba(155, 77, 58, 0.22);
  z-index: 10;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-primary), #7a3d2e);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.service-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.service-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-primary);
}

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

.about-gallery {
  position: sticky;
  top: 100px;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 16px 16px 0 rgba(61, 50, 41, 0.1);
}

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

.about-text {
  padding: 40px 0;
}

.drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 600;
  float: left;
  line-height: 1;
  margin-right: 12px;
  color: var(--accent-primary);
}

.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(125, 107, 90, 0.2);
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--accent-primary);
  line-height: 1;
}

.stat-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.process-timeline {
  background: var(--bg-tertiary);
  padding: 100px 0;
  padding-bottom: 120px;
}

.timeline-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 60px;
  transition: all 0.28s ease;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(155, 77, 58, 0.25);
  z-index: 0;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 16px;
  text-align: center;
}

.timeline-step:hover .timeline-marker {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(155, 77, 58, 0.4);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.advantage-cell {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.28s ease;
}

.advantage-cell:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(155, 77, 58, 0.18);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-secondary), #557558);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.advantage-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.advantage-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gallery-strip {
  background: var(--text-primary);
  padding: 60px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--accent-tertiary);
}

.marquee-delimiter {
  color: var(--accent-fourth);
  font-size: 18px;
}

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

.gallery-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 80px 0;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

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

.team-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.profile-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.28s ease;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(155, 77, 58, 0.2);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1/1.2;
  overflow: hidden;
}

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

.profile-info {
  padding: 24px;
}

.profile-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.profile-role {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px;
}

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  background: var(--bg-quinary);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.28s ease;
}

.review-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-primary);
  border-radius: 12px 0 0 12px;
}

.review-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(155, 77, 58, 0.2);
}

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

.faq-item {
  border-bottom: 1px solid rgba(125, 107, 90, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-indicator {
  font-size: 24px;
  color: var(--accent-primary);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer-content {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  padding: 16px 20px;
  border: 2px solid var(--bg-secondary);
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(155, 77, 58, 0.12);
}

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

.btn-submit {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--accent-primary), #7a3d2e);
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.28s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(155, 77, 58, 0.32);
}

.contact-info-block {
  padding: 40px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
}

.site-footer {
  background: var(--bg-secondary);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(125, 107, 90, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.footer-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 20px;
}

.footer-col h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(125, 107, 90, 0.15);
}

.copyright {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  background: var(--bg-primary);
  border: 1px solid rgba(125, 107, 90, 0.2);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(61, 50, 41, 0.15);
  z-index: 2000;
}

.cookie-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.btn-cookie {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-cookie-accept {
  background: var(--accent-primary);
  border: none;
  color: #fff;
}

.btn-cookie-accept:hover {
  background: #7a3d2e;
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

.btn-cookie-decline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: 1px solid rgba(125, 107, 90, 0.2);
  border-radius: 12px;
  cursor: pointer;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.25s ease;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 50, 41, 0.9);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: 80px 32px 32px;
  z-index: 1200;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.mobile-nav-link {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 1px solid rgba(125, 107, 90, 0.15);
  transition: color 0.25s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
}

.thanks-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-secondary), #557558);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 32px;
}

.thanks-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.thanks-message {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .sidebar-dock {
    width: var(--sidebar-collapsed);
  }
  
  .sidebar-brand,
  .sidebar-nav {
    display: none;
  }
  
  .main-content {
    margin-left: var(--sidebar-collapsed);
  }
  
  .hero-content {
    max-width: 100%;
    padding-right: 0;
  }
  
  .hero-image-layer {
    display: none;
  }
  
  .about-split,
  .contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-gallery {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .sidebar-dock {
    width: 100%;
    height: 70px;
    flex-direction: row;
    padding: 12px 16px;
    align-items: center;
  }
  
  .sidebar-logo {
    margin-bottom: 0;
  }
  
  .company-name-jp,
  .company-name-en {
    display: none;
  }
  
  .domain-name {
    font-size: 10px;
  }
  
  .main-content {
    margin-left: 0;
    padding-top: 70px;
  }
  
  .hero-section {
    min-height: auto;
    padding: 60px 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .stats-row {
    flex-wrap: wrap;
    gap: 32px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 100px;
  }
  
  .gallery-showcase {
    grid-template-columns: 1fr;
  }
  
  .team-profiles {
    grid-template-columns: 1fr;
  }
  
  .review-card {
    flex: 0 0 280px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

.intersection-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intersection-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-detail:hover {
  background: var(--accent-primary);
  color: #fff;
}

.page-header {
  background: var(--bg-primary);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.page-header-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--text-secondary);
}

.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.service-detail-section {
  margin-bottom: 60px;
}

.service-detail-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
}

.service-detail-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.detail-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

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

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

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.step-content h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.step-content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.legal-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-text p {
  margin-bottom: 16px;
}

.legal-text ul {
  padding-left: 24px;
}

.legal-text li {
  margin-bottom: 8px;
}