/* CSSリセットとベーススタイル */
:root {
    --primary: #0056b3;
    --primary-dark: #003d7a;
    --primary-light: #e6f0ff;
    --secondary: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    padding-top: 70px;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

/* ヘッダースタイル */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.header-logo i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 10px;
}

.header-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

/* ナビゲーション */
.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin: 0 15px;
    position: relative;
}

.nav-list a {
    padding: 5px 0;
    position: relative;
    font-weight: 500;
}

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

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

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



/* ヘッダーアクション */
.header-actions {
    display: flex;
    align-items: center;
}

.language-switcher {
    display: flex;
    border: 1px solid var(--gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-right: 20px;
}

.lang-btn {
    padding: 5px 10px;
    border: none;
    background-color: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

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

.phone {
    display: flex;
    align-items: center;
    color: var(--dark);
}

.phone i {
    margin-right: 5px;
    color: var(--primary);
}

/* ヘッダーハンバーガー */
.hamburger {
    display: none; /* デフォルトでは非表示（PC表示時） */
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1000;
  }
  
  .hamburger-box {
    display: inline-block;
    width: 30px;
    height: 24px;
    position: relative;
  }
  
  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }
  
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s ease;
  }
  
  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }


  
  .hamburger-inner::before {
    top: -8px;
  }
  
  .hamburger-inner::after {
    bottom: -8px;
  }
  
  .hamburger.active .hamburger-inner {
    transform: rotate(45deg);
  }
  
  .hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(0deg);
    opacity: 0;
  }
  
  .hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-90deg);
  }
  
  /* モバイル表示時 */
  @media (max-width: 768px) {
    .hamburger {
      display: block; /* モバイル時には表示 */
    }
  
    .nav-list {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      box-shadow: 0 10px 15px rgba(0,0,0,0.1);
      z-index: 999;
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .nav-list li {
      width: 100%;
      text-align: center;
    }
  
    .nav-list a {
      display: block;
      padding: 15px;
      border-bottom: 1px solid #eee;
    }
    
    /* ヘッダーアクションの調整 */
    .header-actions {
      margin-left: auto;
      padding-right: 15px;
    }
  }



/* ヘッダー追加 */
/* 修正: モバイルメニューの下線を削除 */
@media (max-width: 768px) {
    .nav-list a::after {
      display: none !important; /* 下線を完全に非表示 */
    }
    
    .nav-list a:hover {
      color: var(--primary) !important; /* ホバー時の色変更は維持 */
    }
  }
  
  /* 修正: ヘッダーを常に固定（PC/モバイル共通） */
  .header {
    position: fixed; /* 既にfixedですが念のため */
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
  }
  
  /* 追加: ヘッダー固定時のコンテンツ位置調整 */
  body {
    padding-top: 70px; /* ヘッダーの高さ分のスペース確保 */
  }

/* ====================== */
/* ヒーローセクション全体 */
/* ====================== */
  
  .hero {
    position: relative;
    margin-top: -70px;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
  }
  
  .hero-slide.active {
    opacity: 1;
  }
  
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  }
  
  /* 背景画像とグラデーションの設定 */
  .hero-slide:nth-child(1) .hero-bg {
    background-image: url(https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80
    );
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
    }
  

  



  .hero .container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }
  
  .hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s;
  }
  
  .hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 100, 0.5);
  }
  
  .hero-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 100, 0.5);
    line-height: 1.6;
  }
  
  .hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 100, 0.2);
    position: relative;
    z-index: 4;
  }
  
  .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 100, 0.3);
    background-color: var(--primary-dark);
  }
  
  .hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
  }
  
  .hero-pagination span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .hero-pagination span.active {
    background-color: white;
    transform: scale(1.2);
  }
  /* ====================== */
  /* レスポンシブ対応 */
  /* ====================== */
  @media (max-width: 768px) {
    .hero {
      min-height: 500px;
    }
    
    .hero-title {
      margin-bottom: 1rem;
    }
    
    .hero-text {
      margin-bottom: 2rem;
    }
    
    .hero-btn {
      padding: 12px 30px;
      font-size: 1rem;
    }
    
    .hero-pagination {
      bottom: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .hero {
      min-height: 450px;
    }
    
    .hero-content {
      padding: 0 15px;
    }
    
    .hero-pagination span {
      width: 10px;
      height: 10px;
    }
  }

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.3);
}

/* ボタンバリエーション */
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #d63031;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon i {
    font-size: 1.1em;
}

.hero-btn {
    min-width: 200px;
    font-size: 1.1rem;
    padding: 14px 32px;
}

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

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

/* セクション共通 */
.section {
    padding: 80px 0;
    position: relative;
}

.bg-light {
    background-color: var(--light);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* 会社概要セクション */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 契約フローセクション */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-left: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.flow-step {
    position: relative;
    padding-left: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ニュースセクション */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.news-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-date {
    display: block;
    color: var(--gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.news-excerpt {
    color: var(--gray);
}

/* お問い合わせセクション */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-info h2 {
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-content {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 3px;
}

.map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-form h2 {
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 30px;
}


/* 実績カウンターセクション */
.section.bg-dark {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 80px 0;
  }
  
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
  
  .achievement-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .achievement-item:hover {
    transform: translateY(-10px);
  }
  
  .achievement-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4cc9f0;
  }
  
  .achievement-title {
    font-size: 18px;
    font-weight: 500;
  }
  
  /* ロゴロールセクション */
  .logo-roller {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 50px 0;
  }
  
  .logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
  }
  
  .logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .logo-item:hover {
    transform: scale(1.05);
  }
  
  .logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(30%); */
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 8 - 40px * 7));
    }
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 992px) {
    .achievements-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-track {
      gap: 30px;
    }
    
    .logo-item {
      width: 120px;
      height: 70px;
    }
  }
  
  @media (max-width: 576px) {
    .achievements-grid {
      grid-template-columns: 1fr;
    }
    
    .achievement-number {
      font-size: 36px;
    }
    
    .logo-track {
      gap: 20px;
    }
    
    .logo-item {
      width: 100px;
      height: 60px;
      padding: 10px;
    }
    
    @keyframes scroll {
      100% {
        transform: translateX(calc(-100px * 8 - 20px * 7));
      }
    }
  }

  /* お客様の声セクション */
.testimonial-slider {
    position: relative;
    margin: 60px auto;
    max-width: 1200px;
    overflow: hidden;
  }
  
  .testimonial-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    display: none;
  }
  
  .testimonial-slide.active {
    display: block;
  }
  
  .testimonial-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
  }
  
  .testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 25px;
    flex-shrink: 0;
    border: 3px solid #4cc9f0;
  }
  
  .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .testimonial-content h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 18px;
  }
  
  .company {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    font-style: italic;
  }
  
  .comment {
    color: #555;
    line-height: 1.6;
  }
  
  .testimonial-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  .testimonial-pagination span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .testimonial-pagination span.active {
    background: #4cc9f0;
  }

  /* Q&Aセクション */
/* ===== Q&Aセクション ===== */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Noto Sans JP', sans-serif;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    padding: 0 25px;
    background: #fff;
    max-height: 0;
    transition: 
        max-height 0.5s ease,
        padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: none; /* 制限解除 */
    padding: 20px 25px;
    border-top: 1px solid #eee;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}



/* フッター */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    margin-bottom: 20px;
}

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

.footer-logo i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--white);
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* アニメーション */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    .header-logo {
        order: 1;
        width: 70%;
    }

    .hamburger {
        order: 2;
        width: 30%;
        text-align: right;
    }

    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--light-gray);
    }

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

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }

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

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

    .flow-steps {
        padding-left: 30px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* お客様の声 */
    .testimonial-item {
      flex-direction: column;
      text-align: center;
      padding: 25px;
    }
    .testimonial-image {
      margin-right: 0;
      margin-bottom: 20px;
    }
  
    /* Q&A */
    .faq-question {
      padding: 15px 20px;
    }
    .faq-question h3 {
      font-size: 16px;
    }
    .faq-answer {
      padding: 0 20px;
    }
    .faq-item.active .faq-answer {
      padding: 15px 20px;
    }
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50%));
    }
  }

