/* ===================================
   LocalBiz Landing Page Styles
   =================================== */

/* リセットと基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* カラーパレット */
  --primary-color: #2ecc71;
  --secondary-color: #3498db;
  --accent-color: #27ae60;
  --dark-color: #2c3e50;
  --light-gray: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);

  /* フォント */
  --font-primary: "Noto Sans JP", sans-serif;

  /* スペーシング */
  --section-padding: 80px 0;
  --container-width: 1200px;
}

/* 基本要素 */
body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 64px; /* ナビゲーション分の余白 */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

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

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

.section-padding {
  padding: var(--section-padding);
}

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

/* ===================================
   グローバルナビゲーション
   =================================== */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

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

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

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

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

.nav-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 10px 45px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  transition: all 0.3s ease;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1) 0%,
    rgba(52, 152, 219, 0.1) 100%
  );
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(46, 204, 113, 0.03) 100px, rgba(46, 204, 113, 0.03) 200px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(52, 152, 219, 0.03) 100px, rgba(52, 152, 219, 0.03) 200px); */
  z-index: -1;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: url("../assets/images/mv.svg") center/cover;
  opacity: 0.15;
  z-index: -1;
}

.hero-image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent, var(--white));
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-left {
  animation: slideInFromLeft 1s ease-out;
}

/* 検索アニメーション */
.search-animation {
  margin-bottom: 40px;
  position: relative;
}

.search-bar {
  background: var(--white);
  border-radius: 50px;
  padding: 15px 45px;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.search-bar i {
  color: var(--primary-color);
}

.typing-text::after {
  content: "居酒屋 新橋";
  animation: typing 3s steps(8) infinite;
}

@keyframes typing {
  0%,
  100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

/* タイトル・テキスト */
.main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.highlight {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-title {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* CTAボタン */
.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

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

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

/* クイックコンタクトフォーム */
.quick-contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInFromBottom 1s ease-out forwards;
}

/* 下からフェードインのアニメーション */
@keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-contact-form h3 {
  margin-bottom: 25px;
  color: var(--dark-color);
  text-align: center;
}

.quick-contact-form input,
.quick-contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
}

.btn-form {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: var(--white);
  justify-content: center;
}

/* ===================================
   問題提起セクション
   =================================== */
.problem-section {
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--dark-color);
  text-align: center;
}

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

.problem-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.problem-item i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.problem-caption {
  font-size: 18px;
  color: var(--text-light);
}

/* ===================================
   共感セクション
   =================================== */
.affinity-section {
  text-align: center;
}

.affinity-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
}

.emphasis {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 20px;
}

/* ===================================
   ソリューションセクション
   =================================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.solution-item {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.solution-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.solution-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon i {
  font-size: 36px;
  color: var(--white);
}

.solution-item h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* ===================================
   ベネフィットセクション
   =================================== */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.before,
.after {
  padding: 40px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.before h3 {
  color: #e74c3c;
  margin-bottom: 25px;
}

.after h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.before ul,
.after ul {
  list-style: none;
}

.before li,
.after li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
}

.before li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
}

.after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.arrow-container {
  text-align: center;
}

.arrow {
  font-size: 48px;
  color: var(--primary-color);
  animation: slideHorizontal 2s infinite;
}

@keyframes slideHorizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* ===================================
   中間CTA
   =================================== */
.mid-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 60px 0;
}

.cta-box {
  text-align: center;
  color: var(--white);
}

.cta-box i {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-box h3 {
  font-size: 28px;
  margin-bottom: 30px;
}

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

/* ===================================
   導入文セクション
   =================================== */
.intro-section {
  background: var(--white);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-text-wrapper {
  padding: 20px 0;
}

.intro-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark-color);
  line-height: 1.4;
  text-align: center;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.intro-feature i {
  color: var(--primary-color);
  font-size: 20px;
}

.intro-feature span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro-title {
    font-size: 24px;
  }

  .intro-text {
    font-size: 16px;
  }
}

/* ===================================
   機能テーブル
   =================================== */
.features-table {
  overflow-x: auto;
}

.features-table table {
  width: 100%;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.features-table th {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 20px;
  text-align: left;
  font-weight: 500;
}

.features-table td {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.features-table tr:last-child td {
  border-bottom: none;
}

.features-table i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* ===================================
   実績・お客様の声
   =================================== */
.results-showcase {
  margin: 50px 0;
}

.result-graph {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.result-graph h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.graph-bar {
  background: #e0e0e0;
  border-radius: 10px;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  color: var(--white);
  font-weight: bold;
  font-size: 24px;
  animation: growBar 2s ease-out forwards;
}

@keyframes growBar {
  0% {
    width: 0;
  }
  100% {
    width: 75%;
  }
}

/* テスティモニアルスライダー */
.testimonials-slider-wrapper {
  position: relative;
  margin: 50px auto;
  max-width: 1000px;
}

.testimonials-slider {
  overflow: hidden;
  margin: 0 40px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 33.333%;
  padding: 0 15px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.customer-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-icon i {
  font-size: 24px;
  color: var(--white);
}

.customer-info h4 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.customer-info span {
  font-size: 14px;
  color: var(--text-light);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.testimonial-card cite {
  display: block;
  text-align: right;
  color: var(--text-light);
  font-style: normal;
  font-size: 14px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

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

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  width: 25px;
  border-radius: 5px;
}

/* ===================================
   選ばれる理由セクション
   =================================== */
.reasons-section {
  background: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.reason-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.reason-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.reason-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1),
    rgba(52, 152, 219, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon i {
  font-size: 32px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reason-card h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
  font-size: 20px;
  text-align: center;
}

.reason-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   ご利用の流れセクション
   =================================== */
.flow-section {
  background: var(--light-gray);
}

.flow-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.flow-step {
  text-align: center;
  position: relative;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1),
    rgba(52, 152, 219, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon i {
  font-size: 36px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flow-step h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
  font-size: 18px;
}

.flow-step p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-duration {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.flow-connector {
  display: none;
}

@media (min-width: 1024px) {
  .flow-timeline {
    grid-template-columns: repeat(5, 1fr);
  }

  .flow-connector {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--primary-color),
      var(--secondary-color)
    );
    z-index: 0;
  }

  .flow-step {
    z-index: 1;
  }
}

/* ===================================
   料金プラン
   =================================== */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.plan-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.plan-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.plan-header h3 {
  margin-bottom: 20px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

.initial-fee {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-light);
  padding: 8px 16px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 20px;
  display: inline-block;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
}

.plan-features i {
  position: absolute;
  left: 0;
  color: var(--primary-color);
  top: 35%;
}

.btn-plan {
  width: 100%;
  text-align: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-featured {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border: none;
}

.pricing-note {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
}

/* ===================================
   FAQ
   =================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.faq-question span {
  flex: 1;
  text-align: left;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question i:first-child {
  color: var(--primary-color);
  margin-right: 15px;
}

.toggle {
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  padding: 20px 25px 25px;
  max-height: 200px;
}

/* ===================================
   オファーセクション
   =================================== */
.offer-section {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1),
    rgba(52, 152, 219, 0.1)
  );
  padding: 80px 0;
}

.offer-box {
  background: var(--white);
  padding: 60px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}

.offer-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #e74c3c;
  color: var(--white);
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 500;
}

.offer-box h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.offer-list {
  list-style: none;
  margin: 30px 0 40px;
}

.offer-list li {
  padding: 10px 0;
  font-size: 18px;
}

.offer-list i {
  color: var(--primary-color);
  margin-right: 10px;
}

.btn-large {
  font-size: 18px;
  padding: 20px 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

/* ===================================
   コンタクトフォーム
   =================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-note {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.form-note p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 5px;
}

.form-note i {
  color: var(--primary-color);
  margin-right: 8px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  justify-content: center;
}

/* ===================================
   フッター
   =================================== */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-company h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-company p {
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

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

.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;
  transition: all 0.3s ease;
}

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

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

/* ===================================
   アニメーション
   =================================== */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールアニメーション */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .hero-right {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-overlay {
    width: 100%;
    height: 50%;
  }

  .nav-list {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  /* タブレットでは2つ表示 */
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .main-title {
    font-size: 36px;
  }

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

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .arrow-container {
    transform: rotate(90deg);
    margin: 20px 0;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    display: none;
  }

  /* モバイルメニュー展開時のスタイル */
  .nav-menu.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active .nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .nav-menu.active .nav-cta {
    display: block;
    text-align: center;
    width: 100%;
  }

  .search-bar {
    margin-top: 40px;
  }

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

  .flow-timeline {
    grid-template-columns: 1fr;
  }

  .testimonials-slider {
    margin: 0;
  }

  .slider-btn {
    display: none;
  }

  /* スライダーをモバイルでは1つ表示に */
  .testimonial-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 32px;
  }

  .sub-title {
    font-size: 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .offer-box {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .nav-list li {
    margin-bottom: 8px;
  }
  .nav-list li a {
    min-height: 36px;
    line-height: 1.4;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  .nav-list a::after {
    display: none;
  }
  .nav-list li a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background: #f5f5f5;
    border-radius: 8px;
  }
  .nav-list li a:hover,
  .nav-list li a:active {
    background: #f5f5f5;
  }
  .nav-menu.active .nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .nav-menu.active .nav-list li {
    width: 100%;
  }
  .nav-menu.active .nav-list li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    min-height: 36px;
    line-height: 1.4;
    border-radius: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    background: transparent; /* 初期は透明 */
  }
  /* ホバー/アクティブ時の視覚フィードバック */
  .nav-menu.active .nav-list li a:hover,
  .nav-menu.active .nav-list li a:active,
  .nav-menu.active .nav-list li a:focus-visible {
    background: #f5f5f5;
    outline: none;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}
