@charset "UTF-8";

/* ========================================
   GREEN GARDEN - Common Styles
   ======================================== */

/* ========================================
   Page Loader
   ======================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F2EEE3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 300px;
  max-width: 70vw;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: auto;
}

.loader-spinner {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.loader-spinner span {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-spinner span:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-spinner span:nth-child(2) {
  animation-delay: -0.16s;
}

.loader-spinner span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes loaderBounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* CSS Variables */
:root {
  /* Corporate Colors - 落ち着きのある明るい黄緑 */
  --primary-color: #8cb369;
  --primary-dark: #6f9c4d;
  --primary-light: #a8c98a;
  --primary-pale: #f2f7ec;

  /* Accent Colors */
  --accent-color: #96bc72;
  --accent-dark: #7da85a;

  /* Neutral Colors */
  --text-color: #4a4a4a;
  --text-light: #6b6b6b;
  --text-muted: #9a9a9a;
  --bg-white: #ffffff;
  --bg-cream: #faf9f6;
  --bg-light: #f6f5f2;
  --border-color: #e5e5e3;

  /* Typography */
  --font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  --font-family-en: 'Poppins', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.8;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #F2EEE3;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
  background: var(--primary-color);
  padding: 8px 0;
}

.header-top .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.header-contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--bg-white);
  font-size: 0.875rem;
}

.header-contact-info a {
  color: var(--bg-white);
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-contact-info a:hover {
  opacity: 0.8;
}

.header-main {
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-family-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.05em;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 5px;
}

.nav-menu a {
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 80%;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-color);
  margin: 3px 0;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 20px;
  display: inline-block;
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

/* ========================================
   Main Visual / Hero
   ======================================== */
.hero {
  position: relative;
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--bg-white);
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.1em;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Section Common Styles
   ======================================== */
.section {
  padding: var(--section-padding);
}

.section-cream {
  background: var(--bg-cream);
}

.section-green {
  background: var(--primary-pale);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .en-title {
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Wave Separator */
.wave-separator {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-separator svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-separator.wave-cream svg path {
  fill: var(--bg-cream);
}

.wave-separator.wave-white svg path {
  fill: var(--bg-white);
}

.wave-separator.wave-green svg path {
  fill: var(--primary-pale);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary-color);
}

.btn-white:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.card-content p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #5a7a58;
  color: var(--bg-white);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-main .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-text {
  color: var(--bg-white);
}

.footer-logo .logo-text span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
}

.footer-nav h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-nav ul a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--primary-light);
  margin-top: 3px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Page Header (Sub Pages)
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 120px 0 60px;
  margin-top: var(--header-height);
  text-align: center;
  color: var(--bg-white);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header .en-title {
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  opacity: 0.8;
  text-transform: uppercase;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-light);
  padding: 15px 0;
}

.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.breadcrumb li::after {
  content: '>';
  margin-left: 10px;
  color: var(--text-muted);
}

.breadcrumb li:last-child::after {
  content: none;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb li:last-child {
  color: var(--text-color);
}

/* ========================================
   Utilities
   ======================================== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .footer-main .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --header-height: 70px;
  }

  .header-top {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    height: calc(100vh - var(--header-height));
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .footer-main .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
  }
}
