/* ========================================
   Base Styles - cheryus.comベースデザイン
   ======================================== */

:root {
  /* Colors - Spring Natural Palette */
  --color-primary: #D0E699;        /* メイン: 黄緑（若草色） */
  --color-primary-dark: #b8cf7a;
  --color-sub1: #FFEC99;           /* サブ1: 黄色（菜の花） */
  --color-sub2: #FFCCD6;           /* サブ2: ピンク（桜・パステル） */
  --color-accent1: #66C0E0;        /* アクセント1: 水色（空・水） */
  --color-accent2: #FF6677;        /* アクセント2: ピンク（濃いめ） */
  --color-accent3: #865000;        /* アクセント3: 茶色（大地） */

  --color-white: #FFFFFF;
  --color-cream: #FFFEF5;          /* クリーム色の背景 */
  --color-gray-50: #fdfcf7;
  --color-gray-100: #f7f5ef;
  --color-gray-200: #ebe8df;
  --color-gray-300: #d9d5c8;
  --color-gray-500: #8a8577;
  --color-gray-700: #5c5647;
  --color-gray-900: #3d3829;

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --section-padding: 120px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
  height: var(--header-height);
}

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

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

.logo-img {
  height: auto;
  width: 180px;
  margin-top: -4px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
}

.nav-list a:hover {
  color: var(--color-accent3);
}

.btn-contact {
  background: var(--color-accent3);
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 6px;
}

.btn-contact:hover {
  background: var(--color-gray-700);
  color: var(--color-white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gray-900);
  transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;
  background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
}

.hero-title .highlight {
  color: var(--color-accent2);
}

.hero-description {
  margin-top: 24px;
  font-size: 18px;
  color: var(--color-gray-500);
  line-height: 2;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shape {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-sub2) 50%, var(--color-sub1) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

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

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

.btn-primary:hover {
  background: var(--color-gray-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-200);
}

.btn-secondary:hover {
  border-color: var(--color-gray-300);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-300);
}

.btn-outline:hover {
  border-color: var(--color-gray-900);
}

.btn-large {
  padding: 18px 48px;
  font-size: 16px;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--section-padding) 0;
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--color-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-gray-900);
  margin-bottom: 24px;
}

.about-text p:not(.about-lead) {
  color: var(--color-gray-500);
}

.info-list {
  background: var(--color-sub1);
  border-radius: 16px;
  padding: 40px;
}

.info-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(134, 80, 0, 0.15);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-500);
}

.info-item dd {
  font-size: 15px;
  color: var(--color-gray-900);
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: linear-gradient(180deg, var(--color-sub2) 0%, var(--color-white) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-gray-100);
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--color-primary);
  border-radius: 16px;
  color: var(--color-accent3);
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.service-description {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.8;
}

/* ========================================
   News Section
   ======================================== */
.news {
  background: var(--color-white);
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.news-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.news-date {
  font-size: 14px;
  color: var(--color-gray-500);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  border-radius: 4px;
  flex-shrink: 0;
}

.news-title {
  font-size: 15px;
  color: var(--color-gray-900);
  transition: color var(--transition-fast);
}

.news-title:hover {
  color: var(--color-accent2);
}

.news-more {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent1) 100%);
  color: var(--color-accent3);
}

.contact .section-label {
  color: var(--color-accent3);
}

.contact .section-title {
  color: var(--color-accent3);
}

.contact-content {
  text-align: center;
}

.contact-lead {
  font-size: 18px;
  color: var(--color-gray-700);
  margin-bottom: 40px;
  line-height: 2;
}

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

.contact .btn-primary:hover {
  background: var(--color-gray-700);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-accent3);
  color: var(--color-white);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo .logo-img {
  height: auto;
  width: 200px;
  filter: brightness(0) invert(1);
  margin-top: -16px;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-sub1);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.copyright {
  font-size: 13px;
  color: var(--color-primary);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .container {
    padding: 0 32px;
  }

  .hero-title {
    font-size: 44px;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 64px;
    min-height: auto;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
  }

  .about-lead {
    font-size: 18px;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .news-title {
    width: 100%;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}
