/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #595757;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

/* ========================================
   共通コンポーネント
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #11494E;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #6DB66E;
  color: #fff;
}

.btn-primary:hover {
  background-color: #5ca05d;
  opacity: 1;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #11494E;
  line-height: 1;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-weight: 500;
  color: #595757;
}

.nav-list a:hover {
  color: #6DB66E;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #595757;
  transition: all 0.3s ease;
}

/* ========================================
   メインビジュアル（Hero）
   ======================================== */
.hero {
  background: linear-gradient(135deg, #6DB66E 0%, #11494E 100%);
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-background {
  background-image: url('../img/hero-main.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  width: 100%;
  padding: 6rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .btn-primary {
  background-color: #6DB66E;
  color: #fff;
  border: 2px solid #6DB66E;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary:hover {
  background-color: #5ca05d;
  border-color: #5ca05d;
  opacity: 1;
}

/* ========================================
   3つの強みセクション
   ======================================== */
.strengths {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.strength-card {
  background-color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.strength-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #6DB66E;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.strength-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #11494E;
}

.strength-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.strength-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0.8rem;
}

.strength-text:last-child {
  margin-bottom: 0;
}

/* ========================================
   サービス概要セクション
   ======================================== */
.services {
  padding: 5rem 0;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: #6DB66E;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #6DB66E;
}

.service-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* ========================================
   お知らせセクション
   ======================================== */
.news {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

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

.news-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-date {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.news-text {
  font-size: 1rem;
  color: #595757;
  line-height: 1.8;
}

/* ========================================
   会社概要セクション
   ======================================== */
.about {
  padding: 5rem 0;
  background-color: #fff;
}

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

.about-list dt {
  font-weight: 700;
  color: #11494E;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.about-list dt:first-child {
  margin-top: 0;
}

.about-list dd {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  padding-left: 1rem;
  border-left: 3px solid #e9ecef;
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #595757;
}

.required {
  color: #dc3545;
  font-size: 0.85rem;
  margin-left: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6DB66E;
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  font-size: 1.1rem;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background-color: #11494E;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  /* ヘッダー */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 300px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-list li {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .logo-img {
    height: 32px;
  }

  .logo-text {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 400px;
  }

  .hero-background {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* 3つの強み */
  .strengths {
    padding: 3rem 0;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* サービス */
  .services {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* お知らせ */
  .news {
    padding: 3rem 0;
  }

  .news-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* 会社概要 */
  .about {
    padding: 3rem 0;
  }

  /* お問い合わせ */
  .contact {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}
