/* Template 18 - Zen Garden Minimalism */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500&display=swap");

:root {
  --bamboo-green: #6b8e4e;
  --bamboo-dark: #4a6435;
  --bamboo-light: #8fbc6f;
  
  --bg-primary: #f5f3ed;
  --bg-secondary: #ebe9e0;
  --bg-accent: #ffffff;
  
  --text-primary: #2d3319;
  --text-secondary: #6b8e4e;
  --text-muted: #7a7a6e;
}

* {
  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.9;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: 
    linear-gradient(180deg, transparent 0%, transparent 48%, rgba(107, 142, 78, 0.05) 50%, transparent 52%, transparent 100%);
  background-size: 100% 40px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

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

/* Header - Zen Style */
.site-header {
  background: var(--bg-accent);
  border-bottom: 3px solid var(--bamboo-green);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.site-logo a {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bamboo-dark);
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  position: relative;
  padding-left: 15px;
}

.site-logo a::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--bamboo-green);
  animation: symbolFloat 2s ease-in-out infinite;
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.site-logo a:hover {
  color: var(--bamboo-green);
  transform: translateX(5px);
}

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

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

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--bamboo-green);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover {
  color: var(--bamboo-dark);
}

/* Hero Section - Zen */
.section.head {
  padding: 10rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section.head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bamboo-green), transparent);
}

.section.head h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--bamboo-dark);
  letter-spacing: 3px;
  line-height: 1.3;
  animation: zenFade 1.5s ease-out;
}

@keyframes zenFade {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section.head p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 2;
}

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

.section header {
  text-align: left;
  margin-bottom: 4rem;
  position: relative;
  padding-left: 20px;
}

.section header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--bamboo-green), var(--bamboo-light));
}

.section header h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bamboo-dark);
  letter-spacing: 2px;
}

.section header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.9;
}

/* Footer */
.footer {
  background: var(--bg-accent);
  border-top: 3px solid var(--bamboo-green);
  padding: 3rem 0 1rem;
  margin-top: 6rem;
}

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

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

.footer-tagline {
  color: var(--text-muted);
  line-height: 2;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: "・";
  margin-right: 5px;
  color: var(--bamboo-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-links a:hover {
  color: var(--bamboo-dark);
  transform: translateX(5px);
}

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

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

/* Animations */
@keyframes zenSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: zenSlide 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-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  color: var(--bamboo-dark);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 1px;
}
