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

:root {
  --primary-color: #D38C44; /* Warm wood tone */
  --secondary-color: #8A9A5B; /* Earthy green */
  --bg-color: #FAFAF7; /* Soft warm white */
  --text-main: #3E3832; /* Deep warm gray/brown */
  --text-light: #7A7269;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 15px 5%;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.btn-contact {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-contact:hover {
  background-color: #ba7835;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 140, 68, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250,250,247,0.9) 0%, rgba(250,250,247,0.4) 50%, rgba(250,250,247,0) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  animation: fadeUp 1s ease forwards;
}

.hero-content h1.seo-title {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-main);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-main);
  font-family: 'Noto Serif JP', serif;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

/* Section Common */
section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Concept Section */
.concept-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.concept-text {
  flex: 1;
}

.concept-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.concept-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.concept-image {
  flex: 1;
  position: relative;
}

.concept-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.concept-image:hover img {
  transform: scale(1.02);
}

.concept-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.concept-badge strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-family: 'Noto Serif JP', serif;
}

/* Services / Works Section */
.services-bg {
  background-color: #f0f0e8;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-img-wrapper {
  overflow: hidden;
  height: 250px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
}

.card-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--text-main);
  color: var(--white);
  padding: 60px 5% 30px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  color: var(--primary-color);
}

.footer-info p {
  color: #ccc;
  margin-bottom: 10px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  color: #888;
  font-size: 0.9rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  .concept-inner {
    flex-direction: column;
  }
  .concept-badge {
    bottom: 10px;
    left: 10px;
  }
  .nav-links, .btn-contact {
    display: none; /* simple hidden for mobile in this demo */
  }
}
