/* ========================================
   まごころ解体 - Style Sheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #3A3530;
  background: #FFFCF8;
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.75; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* --- Sample Banner --- */
.sample-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: #3F4F6F;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.05em;
}
.sample-banner a { color: #F5D98A; text-decoration: underline; }

/* --- Typography --- */
.section-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #8B7355;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.center { text-align: center; }
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 600;
  color: #3F4F6F;
  line-height: 1.5;
  margin-bottom: 20px;
}
.section-title.center { text-align: center; }
.section-desc {
  font-size: 15px;
  color: #6B6560;
  margin-bottom: 48px;
  line-height: 1.9;
}
.section-desc.center { text-align: center; }

/* --- Header --- */
.header {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.1);
  transition: box-shadow 0.3s, top 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(63, 79, 111, 0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
  color: #3F4F6F;
  line-height: 1.2;
}
.logo-sub {
  font-size: 10px;
  color: #8B7355;
  letter-spacing: 0.1em;
}
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 13px;
  font-weight: 500;
  color: #3A3530;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: #8B7355;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a:hover { opacity: 1; }
.nav-cta {
  background: #3F4F6F !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.85 !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 24px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #3F4F6F;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #FFFCF8;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  padding: 120px 32px 40px;
  overflow-y: auto;
}
.nav-mobile.open { right: 0; }
.nav-mobile-inner { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: #3A3530;
  border-bottom: 1px solid rgba(139, 115, 85, 0.1);
}
.nav-mobile-cta {
  margin-top: 20px;
  background: #3F4F6F;
  color: #fff !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 28px;
  border: none !important;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 36px;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(63, 79, 111, 0.55) 0%,
    rgba(58, 53, 48, 0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.hero-pre {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 2;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: #8B7355;
  color: #fff;
}
.btn-primary:hover { background: #7A6448; opacity: 1; }
.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.25); opacity: 1; }
.btn-full { width: 100%; justify-content: center; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- About --- */
.about { background: #FFFCF8; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(63, 79, 111, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
}
.about-badge-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge-label {
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 0.1em;
}
.about-icon { margin-bottom: 24px; }
.about-text p {
  color: #5A5550;
  margin-bottom: 16px;
  line-height: 2;
  font-size: 14.5px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(139, 115, 85, 0.15);
}
.about-stat { text-align: center; }
.about-stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 700;
  color: #3F4F6F;
  line-height: 1;
}
.about-stat-unit {
  font-size: 14px;
  color: #8B7355;
  margin-left: 2px;
}
.about-stat-label {
  display: block;
  font-size: 12px;
  color: #8B7355;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* --- Services --- */
.services {
  background: #F5EDE0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(63, 79, 111, 0.08);
}
.service-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
}
.service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: #3F4F6F;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: #6B6560;
  line-height: 1.8;
}

/* --- Ceremony --- */
.ceremony { background: #FFFCF8; }
.ceremony-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.ceremony-lead {
  font-size: 15px;
  color: #5A5550;
  line-height: 2;
  margin-bottom: 36px;
}
.ceremony-steps { display: flex; flex-direction: column; gap: 24px; }
.ceremony-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ceremony-step-num {
  width: 36px; height: 36px;
  background: #3F4F6F;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.ceremony-step-content h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  color: #3F4F6F;
  margin-bottom: 4px;
}
.ceremony-step-content p {
  font-size: 14px;
  color: #6B6560;
  line-height: 1.7;
}
.ceremony-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.ceremony-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
}
.ceremony-quote {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(63, 79, 111, 0.85));
  padding: 40px 28px 28px;
  color: #fff;
}
.ceremony-quote p {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 1.8;
}
.ceremony-quote span {
  font-size: 13px;
  opacity: 0.8;
  display: block;
  margin-top: 8px;
}

/* --- Works --- */
.works { background: #F5EDE0; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(63, 79, 111, 0.08);
}
.work-image {
  position: relative;
  overflow: hidden;
}
.work-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s;
}
.work-card:hover .work-image img { transform: scale(1.05); }
.work-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(63, 79, 111, 0.85);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.work-body { padding: 24px; }
.work-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: #3F4F6F;
  margin-bottom: 10px;
}
.work-body p {
  font-size: 14px;
  color: #6B6560;
  line-height: 1.8;
  margin-bottom: 12px;
}
.work-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #8B7355;
}

/* --- Voices --- */
.voices { background: #FFFCF8; }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.voice-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(139, 115, 85, 0.1);
  transition: transform 0.3s;
}
.voice-card:hover { transform: translateY(-2px); }
.voice-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.voice-text {
  font-size: 14.5px;
  color: #4A4540;
  line-height: 2;
  margin-bottom: 20px;
}
.voice-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.voice-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 15px;
  color: #3F4F6F;
}
.voice-info {
  font-size: 12px;
  color: #8B7355;
}

/* --- Flow --- */
.flow { background: #F5EDE0; }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flow-step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.flow-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(63, 79, 111, 0.12);
  margin-bottom: 8px;
}
.flow-icon {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
}
.flow-step h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  color: #3F4F6F;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13.5px;
  color: #6B6560;
  line-height: 1.7;
}

/* --- Company --- */
.company { background: #FFFCF8; }
.company-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}
.company-table th,
.company-table td {
  padding: 18px 16px;
  font-size: 14.5px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 140px;
  font-weight: 600;
  color: #3F4F6F;
  font-family: 'Noto Serif JP', serif;
}
.company-table td {
  color: #5A5550;
}
.company-table a { color: #3F4F6F; text-decoration: underline; }

/* --- Contact --- */
.contact {
  background: linear-gradient(160deg, #3F4F6F 0%, #2D3A52 100%);
  color: #fff;
}
.contact .section-label { color: rgba(255,255,255,0.6); }
.contact .section-title { color: #fff; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 32px;
  font-size: 14.5px;
}
.contact-phone {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  padding: 20px 24px;
  border-radius: 12px;
}
.contact-phone-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: block;
}
.contact-phone-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  display: block;
  line-height: 1.3;
}
.contact-phone-hours {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: block;
}
.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.8);
}
.required {
  background: #C2756B;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8B7355;
}
.form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form-group select option { color: #3A3530; background: #fff; }

/* --- Footer --- */
.footer {
  background: #2A3448;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .section { padding: 72px 0; }
  .section-title { font-size: 26px; }

  /* Header */
  .nav-desktop { display: none; }
  .hamburger { display: block; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { max-width: 480px; margin: 0 auto; }
  .about-stats { gap: 12px; }
  .about-stat-num { font-size: 28px; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Ceremony */
  .ceremony-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ceremony-image { max-width: 480px; margin: 0 auto; }

  /* Works */
  .works-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Voices */
  .voices-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Flow */
  .flow-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form { padding: 24px; }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-links { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Company */
  .company-table th {
    width: 110px;
    font-size: 13px;
  }
  .company-table td { font-size: 13.5px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 23px; }
  .sample-banner { font-size: 11px; padding: 6px 12px; }
  .header { top: 32px; }
  .hero { margin-top: 32px; }
  .about-stat-num { font-size: 24px; }
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .company-table th { padding-top: 16px; padding-bottom: 0; }
  .company-table td { padding-bottom: 16px; }
}

/* ========================================
   Additional Enhancements
   ======================================== */

/* --- Decorative Elements --- */
.about::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 115, 85, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about { position: relative; overflow: hidden; }

.ceremony::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 79, 111, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ceremony { position: relative; overflow: hidden; }

/* --- Service Card Accent --- */
.service-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #8B7355, #C2756B);
  border-radius: 2px;
  margin: 0 auto 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

/* --- Voice Card Decoration --- */
.voice-card::before {
  content: '\201C';
  font-family: 'Noto Serif JP', serif;
  font-size: 64px;
  color: rgba(139, 115, 85, 0.1);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.voice-card {
  position: relative;
  overflow: hidden;
}

/* --- Flow Step Connector --- */
.flow-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(139, 115, 85, 0.25);
  border-bottom: 2px solid rgba(139, 115, 85, 0.25);
  transform: translateY(-50%) rotate(-45deg);
}

.flow-step:last-child::after {
  display: none;
}

/* --- Work Card Date Pill --- */
.work-meta span {
  background: rgba(139, 115, 85, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* --- Button Hover Effects --- */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* --- Contact Form Focus States --- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8B7355;
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.12);
}

/* --- Scroll-driven subtle parallax for hero --- */
@supports (animation-timeline: scroll()) {
  .hero-bg img {
    animation: heroParallax linear;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
  }
  @keyframes heroParallax {
    from { transform: scale(1.05) translateY(-2%); }
    to { transform: scale(1.05) translateY(4%); }
  }
}

/* --- Selection Color --- */
::selection {
  background: rgba(63, 79, 111, 0.2);
  color: inherit;
}

/* --- Focus Visible for Accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3F4F6F;
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* --- Print Styles --- */
@media print {
  .sample-banner,
  .header,
  .nav-mobile,
  .nav-overlay,
  .hero-scroll { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 32px 0; }
  body { font-size: 12px; }
}

/* --- Ceremony step hover --- */
.ceremony-step {
  padding: 12px;
  border-radius: 10px;
  transition: background 0.3s;
}

.ceremony-step:hover {
  background: rgba(139, 115, 85, 0.04);
}

/* --- About image hover --- */
.about-image img {
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* --- Logo hover --- */
.logo:hover {
  opacity: 1 !important;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
  transition: transform 0.3s;
}

/* --- Company table row hover --- */
.company-table tr {
  transition: background 0.3s;
}

.company-table tr:hover {
  background: rgba(139, 115, 85, 0.03);
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F5EDE0;
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 115, 85, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 115, 85, 0.5);
}