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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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: 1.2rem;
  color: #11494E;
}

.section-lead {
  text-align: center;
  color: #555;
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.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;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
  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: 1.5rem;
  align-items: center;
}

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

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

.nav-cta {
  background-color: #6DB66E;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.nav-cta:hover {
  background-color: #5ca05d;
  color: #fff !important;
  opacity: 1 !important;
}

.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;
  position: relative;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px 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: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.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;
  text-align: center;
}

.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;
  text-align: left;
}

.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;
  margin-bottom: 1rem;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.service-details li {
  font-size: 0.95rem;
  color: #555;
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.service-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6DB66E;
  font-weight: 700;
}

/* ========================================
   CTAセクション（中間）
   ======================================== */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #6DB66E 0%, #11494E 100%);
  color: #fff;
}

.cta-inner {
  text-align: center;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-section .btn-primary {
  background-color: #fff;
  color: #11494E;
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.cta-section .btn-primary:hover {
  background-color: #f0f0f0;
  opacity: 1;
}

/* ========================================
   代表メッセージセクション
   ======================================== */
.message {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.message-content {
  max-width: 800px;
  margin: 0 auto;
}

.message-text {
  background-color: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.message-text p {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 1.2rem;
}

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

.message-signature {
  margin-top: 2rem !important;
  font-weight: 700;
  color: #11494E !important;
  text-align: right;
}

/* ========================================
   対応事例セクション
   ======================================== */
.cases {
  padding: 5rem 0;
  background-color: #fff;
}

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

.case-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: #f8f9fa;
  border-left: 4px solid #6DB66E;
}

.case-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background-color: #6DB66E;
  padding: 0.2rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}

.case-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #11494E;
  margin-bottom: 0.8rem;
}

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

/* ========================================
   FAQセクション
   ======================================== */
.faq {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

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

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #11494E;
  padding: 1.5rem 2rem;
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #6DB66E;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  padding: 0 2rem 1.5rem;
}

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

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

.news-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.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: #f8f9fa;
}

.about-list {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.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 #6DB66E;
}

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

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f8f9fa;
  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;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6DB66E;
  box-shadow: 0 0 0 3px rgba(109, 182, 110, 0.15);
}

.form-group textarea {
  resize: vertical;
}

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

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.5rem;
}

.footer-company {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.footer-nav-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav-list a {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.footer-text {
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .section-lead {
    font-size: 0.95rem;
    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: 400px;
  }

  .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;
  }

  .nav-cta {
    display: inline-block;
    margin: 0.5rem auto;
  }

  .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;
  }

  .hero-description br {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* 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;
  }

  /* CTA */
  .cta-section {
    padding: 3rem 0;
  }

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

  .cta-text br {
    display: none;
  }

  /* 代表メッセージ */
  .message {
    padding: 3rem 0;
  }

  .message-text {
    padding: 2rem 1.5rem;
  }

  /* 対応事例 */
  .cases {
    padding: 3rem 0;
  }

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

  /* FAQ */
  .faq {
    padding: 3rem 0;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
    padding-right: 2.5rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.5rem 1.2rem;
  }

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

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

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

  .about-list {
    padding: 2rem 1.5rem;
  }

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

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

  /* フッター */
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .footer-nav-list {
    justify-content: center;
  }
}
