:root {
  --primary-color: #4a7856;
  --secondary-color: #8fb397;
  --accent-color: #a67c52;
  --base-color: #f9f7f2;
  --text-color: #333333;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  vertical-align: middle;
}

[x-cloak] {
  display: none !important;
}

/* Section Base Styling */
section {
  padding: 5rem 1.5rem;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 1rem;
  }
}

/* Custom Utilities */
.text-shadow-sm {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-wood {
  background-color: var(--accent-color);
  background-image: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
}

/* Extracted from Templates */
/* From ./parts/index-hero.html */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #333;
  color: #ffffff;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 120, 86, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: heroZoom 20s infinite alternate;
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-section .hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.2;
}

.hero-section .hero-title .main-text {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero-section .hero-title .sub-text {
  display: block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.2em;
}

.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-section .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.hero-section .scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, transparent);
  position: relative;
  overflow: hidden;
}

.hero-section .scroll-indicator .line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* From ./parts/index-services.html */

#services {
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
  opacity: 0.5;
  pointer-events: none;
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(74, 120, 86, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 120, 86, 0.1);
  border-color: var(--secondary-color);
}

.service-icon-box {
  background-color: var(--base-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-icon-box span {
  font-size: 32px;
}

.section-title-wrapper {
  margin-bottom: 4rem;
  text-align: center;
}

.section-title-wrapper .en-title {
  display: block;
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title-wrapper .jp-title {
  font-size: 2.25rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title-wrapper .jp-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* From ./parts/index-voices.html */

#voices {
  background-color: #ffffff;
  position: relative;
}

.voice-card {
  background: var(--base-color);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 120, 86, 0.05);
}

.voice-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--secondary-color);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(74, 120, 86, 0.08);
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.voice-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.voice-tag {
  font-size: 0.75rem;
  background: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--primary-color);
  font-weight: bold;
  border: 1px solid var(--secondary-color);
}

/* From ./parts/index-about.html */

#about {
  position: relative;
  overflow: hidden;
  background-color: var(--base-color);
}

#about .about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#about .about-content {
  position: relative;
  z-index: 2;
}

#about .section-tag {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
}

#about .section-title {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.3;
}

#about .about-text {
  line-height: 1.8;
  color: #555;
  margin-bottom: 2.5rem;
}

#about .info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#about .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#about .info-label {
  font-weight: 700;
  min-width: 100px;
  color: var(--primary-color);
}

#about .representative-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 550px;
  border: 12px solid white;
  transform: rotate(2deg);
}

#about .representative-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#about .representative-image-container:hover img {
  transform: scale(1.05) rotate(-2deg);
}

#about .accent-leaf {
  position: absolute;
  bottom: -20px;
  right: -20px;
  color: var(--secondary-color);
  opacity: 0.2;
  font-size: 8rem;
  z-index: 1;
  user-select: none;
}

@media (max-width: 1024px) {
  #about .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  #about .representative-image-container {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
    transform: rotate(0deg);
  }
}

/* From ./parts/index-info.html */

.info-section {
  background-color: #f9f7f2;
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url('https://cdn.simpleicons.org/leaf/4A7856/20');
  opacity: 0.03;
  filter: grayscale(1);
  pointer-events: none;
}

.info-section .info-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(74, 120, 86, 0.1);
  border: 1px solid rgba(143, 179, 151, 0.2);
}

.info-section .info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .info-section .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-section .status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #4a7856;
  color: white;
}

.info-section .day-off {
  color: #a67c52;
  font-weight: 700;
}

/* From ./parts/index-contact.html */

.contact-section {
  background-color: #f0f4f1;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#4a7856 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  opacity: 0.1;
  pointer-events: none;
}

.contact-section .contact-card {
  background: white;
  border-radius: 2rem;
  box-shadow: 0 10px 30px -10px rgba(74, 120, 86, 0.15);
  border: 1px solid rgba(74, 120, 86, 0.1);
}

.contact-section .btn-tel {
  background-color: #4a7856;
  transition: all 0.3s ease;
}

.contact-section .btn-tel:hover {
  background-color: #3d6347;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 120, 86, 0.3);
}

.contact-section .btn-line {
  background-color: #06c755;
  transition: all 0.3s ease;
}

.contact-section .btn-line:hover {
  background-color: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}

.contact-section .leaf-icon {
  color: #4a7856;
  font-variation-settings: 'FILL' 1;
}
