/* Template 49 - Soft Beige Minimalist / Japanese Zen */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #C9B8A3 0%, #D4C4B0 100%);
  --gradient-2: linear-gradient(135deg, #B8A89A 0%, #CFC0B1 100%);
  --gradient-3: linear-gradient(135deg, #D8C8B8 0%, #E8D8C8 100%);
  --gradient-4: linear-gradient(135deg, #A89888 0%, #B8A898 100%);
  --gradient-5: linear-gradient(135deg, #C8B8A8 0%, #D8C8B8 100%);

  --bg-primary: #FAF8F5;
  --bg-secondary: #F0EDE8;
  --glass-bg: rgba(201, 184, 163, 0.1);
  --glass-border: rgba(201, 184, 163, 0.2);

  --text-primary: #3A3530;
  --text-secondary: #5A534D;
  --text-muted: #8A8378;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 184, 163, 0.03) 100%);
  pointer-events: none;
  z-index: -1;
}

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

/* Header with Japanese minimalism */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--glass-border);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #3A3530;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 3px;
}

.site-logo a:hover {
  color: #8A8378;
  transform: translateY(-2px);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
  letter-spacing: 2px;
}

.site-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.site-nav a:hover {
  color: var(--text-primary);
}

.site-nav a:hover::before {
  width: 10px;
}

/* Hero Section */
.section.head {
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section.head h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 3.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #3A3530;
  line-height: 1.4;
  letter-spacing: 5px;
  animation: zenFadeIn 1.5s ease;
}

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

.section.head p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 2;
  font-weight: 300;
}

/* Section Styling */
.section {
  padding: 6rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 5rem;
}

.section header h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #3A3530;
  letter-spacing: 4px;
  position: relative;
  display: inline-block;
}

.section header h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  width: 30px;
  height: 1px;
  background: var(--text-primary);
}

.section header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50px;
  width: 30px;
  height: 1px;
  background: var(--text-primary);
}

.section header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 2;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 2;
  font-weight: 300;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 300;
  letter-spacing: 2px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--glass-border);
}

.copyright a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 1s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.15s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.3s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.45s;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.6rem;
  color: #3A3530;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 2px;
}
