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

:root {
  --bg-primary: #F9F7F2;
  --bg-secondary: #EDE8E0;
  --bg-tertiary: #EAE4DC;
  --text-primary: #2B2520;
  --text-secondary: #8A8178;
  --accent-primary: #B8860B;
  --accent-secondary: #6B8E7D;
  --accent-tertiary: #C9A227;
  --accent-fourth: #9E7B5A;
  --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

strong, p, span {
  color: inherit;
}


.fluid-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.fluid-canvas-bg::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: 
    radial-gradient(ellipse 180px 120px at 20% 30%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 140px 180px at 70% 60%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 200px 100px at 40% 80%, rgba(158, 123, 90, 0.05) 0%, transparent 50%);
  animation: fluidDrift 32s ease-in-out infinite;
}

@keyframes fluidDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -10px) rotate(2deg); }
  50% { transform: translate(-5px, 15px) rotate(-2deg); }
  75% { transform: translate(-15px, -5px) rotate(1deg); }
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(48px, 10vw, 132px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  margin-bottom: 1rem;
}

.subsection-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}


.corner-dock {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  border-right: 2px solid var(--accent-primary);
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(184, 134, 11, 0.15);
  transition: all 0.3s ease;
}

.corner-dock.scroll-state {
  padding: 0 16px;
  bottom: 16px;
}

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

.dock-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
}

.dock-domain {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.domain-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.brand-name {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

.dock-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

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

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


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}


.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.36s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-menu.active {
  opacity: 1;
  transform: scale(1);
}

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

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
}


.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-animate {
  display: inline-block;
  transform: translateY(100%);
  animation: heroReveal 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes heroReveal {
  to { transform: translateY(0); }
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-top: 24px;
  font-family: var(--font-body);
}


.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(184, 134, 11, 0.3);
}


.ripple-trigger {
  position: relative;
  overflow: hidden;
}

.ripple-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(184, 134, 11, 0.4);
  transform: scale(0.5);
  opacity: 0;
  animation: rippleOut 800ms ease-out forwards;
  pointer-events: none;
}

.ripple-trigger:hover::before {
  opacity: 1;
}

@keyframes rippleOut {
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}


.hero-visual {
  position: relative;
}

.liquid-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(43, 37, 32, 0.12);
}

.liquid-frame img {
  width: 100%;
  height: auto;
  display: block;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}


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

.section-alt {
  background: var(--bg-secondary);
}

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


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

.service-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.22);
  z-index: 100;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 16px;
}


.about-section {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 60px;
  align-items: start;
}

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

.gallery-slider {
  display: flex;
  gap: 12px;
  overflow: hidden;
}

.gallery-image {
  flex-shrink: 0;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.stat-number {
  font-size: 50px;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}


.process-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.process-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.process-step:hover .process-marker {
  transform: scale(1.1);
}

.process-label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: var(--accent-primary);
  opacity: 0.3;
}


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

.advantage-badge {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.advantage-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.15);
}

.badge-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-secondary);
}


.achievements-banner {
  background: var(--text-primary);
  padding: 40px 24px;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marqueeSlide 18s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  color: var(--accent-tertiary);
  font-size: 18px;
  font-weight: 600;
}

.marquee-delimiter {
  color: var(--accent-fourth);
}

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


.counter-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-primary);
}

.counter-label {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
}


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

.profile-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.22);
  z-index: 100;
}

.profile-image {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.profile-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 14px;
  color: var(--text-secondary);
}


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

.faq-row {
  border-radius: 20px;
  background: var(--bg-primary);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-question:focus {
  outline: none;
}

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

.faq-row.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 32px;
}

.faq-row.active .faq-answer {
  max-height: 300px;
  padding: 0 32px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
}


.reviews-section {
  background: var(--bg-tertiary);
  padding: 80px 0;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}

.review-stars {
  color: var(--accent-tertiary);
  font-size: 18px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 600;
}


.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 2px solid var(--accent-primary);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-width: 3px;
}

.form-input::placeholder {
  color: var(--text-secondary);
}

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

.submit-button {
  width: 100%;
  padding: 18px 32px;
  border-radius: 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border: none;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(184, 134, 11, 0.3);
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 4px;
}


.site-footer {
  background: var(--bg-secondary);
  padding: 60px 24px 40px;
  border-top: 2px solid var(--accent-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}


.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow: 0 8px 32px rgba(43, 37, 32, 0.15);
  z-index: 9997;
  max-width: 400px;
  border: 1px solid var(--accent-primary);
  display: block;
}

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

.cookie-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

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


@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    position: static;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-chain {
    flex-direction: column;
    gap: 16px;
  }

  .process-connector {
    width: 2px;
    height: 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .dock-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .section {
    padding: 60px 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 100px 16px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}