/* Global Styles */
:root {
  --primary-color: #0066cc;
  --secondary-color: #004d99;
  --accent-color: #ff6b00;
  --hero-blue: #004ca3;
  --hero-yellow: #ffcc00;
  --light-color: #f8fbff;
  --dark-color: #333;
  --gray-color: #eaeaea;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* アニメーション */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0% { transform: rotate(-5deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

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

.text-right {
  text-align: right;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, #ff5500 0%, #ff3500 100%);
  color: white;
  transition: all 0.3s ease;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(255, 80, 0, 0.25);
  animation: pulse 2s infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff3500 0%, #ff2800 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 80, 0, 0.4);
}

.btn-urgent {
  background-color: var(--accent-color);
  color: white;
  animation: pulse 2s infinite;
}

.btn-urgent:hover {
  background-color: #e55c00;
  color: white;
  animation: none;
}

.btn-lg {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 10px 15px;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .btn-block {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes wobble {
  0% { transform: translateX(0); }
  15% { transform: translateX(-5px) rotate(-5deg); }
  30% { transform: translateX(5px) rotate(3deg); }
  45% { transform: translateX(-3px) rotate(-3deg); }
  60% { transform: translateX(3px) rotate(2deg); }
  75% { transform: translateX(-1px) rotate(-1deg); }
  100% { transform: translateX(0); }
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.header-phone {
  margin-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone-label {
  font-size: 0.8rem;
  color: var(--dark-color);
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.8)), url('./static/images/water_splash.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
}

/* モバイルでの背景画像の調整 */
@media (max-width: 767px) {
  .hero {
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('./static/images/water_splash.jpg');
    background-position: right center;
  }
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.highlighted-text {
  color: var(--accent-color);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #f9fcff;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
}

.highlight-text {
  color: var(--accent-color);
  position: relative;
  margin-left: 0.5rem;
}

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

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.feature-box {
  display: flex;
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color-light);
}

.feature-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.feature-icon-container {
  margin-right: 1.5rem;
  position: relative;
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  position: relative;
  z-index: 2;
}

.feature-icon-circle i {
  font-size: 1.5rem;
}

/* 選ばれる理由セクション - 新スタイル */
.highlight-count {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1em;
  background: rgba(255, 107, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0 2px;
}

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

.reason-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.reason-number {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent-color), #ff8800);
  color: white;
  font-size: 18px;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 10px 0 10px;
}

.reason-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #0077cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.reason-icon i {
  color: white;
  font-size: 28px;
}

.reason-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
}

.reason-stats {
  background-color: #f7f9ff;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent-color);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-unit {
  font-size: 1rem;
  vertical-align: text-top;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500;
}

.reason-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.reason-badge {
  background-color: #f0f8ff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  box-shadow: 0 2px 5px rgba(0, 102, 204, 0.1);
}

.reason-badge i {
  color: var(--accent-color);
  margin-right: 8px;
  font-size: 1.1rem;
}

.features-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-label {
  background-color: #f7f9ff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
}

.cta-label i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8f00 0%, #ff6b00 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

.btn-cta i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background-color: var(--light-color);
  position: relative;
  background-image: linear-gradient(to bottom, #f8fbff, #fff);
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding: 0 1rem;
}

.pricing-subtitle {
  color: #555;
  font-size: 1.15rem;
  margin: 0.5rem auto 2.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.pricing-badge:hover {
  transform: translateY(-3px);
}

.badge-inner {
  background-color: #fff8e5;
  color: var(--accent-color);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  border: 1px dashed #ffcc00;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.badge-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.3) 50%, transparent 75%);
  background-size: 200% 200%;
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.badge-inner i {
  margin-right: 8px;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.price-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 102, 204, 0.15);
  margin-bottom: 0;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color-light);
  z-index: 2;
}

.price-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-card:hover::after {
  opacity: 1;
}

.price-image {
  position: relative;
  text-align: center;
  height: 150px;
  overflow: hidden;
}

.price-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.price-img-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.price-card:hover .price-img-container::after {
  opacity: 0.7;
}

.price-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.price-card:hover .price-img-container img {
  transform: scale(1.08);
}

.price-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,102,204,0.5));
  z-index: 1;
}

.price-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.price-header {
  padding: 1.2rem 1.5rem 0.3rem;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.price-popular {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-color);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(255, 107, 0, 0.3);
  z-index: 5;
  animation: pulse-badge 2s infinite;
  letter-spacing: 0.5px;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(255, 107, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(255, 107, 0, 0.2);
  }
}

.price-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.price-amount-container {
  padding: 0.3rem 1.5rem 1rem;
  text-align: center;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-flex;
  align-items: baseline;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: 5px;
  line-height: 1.1;
}

.price-amount::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.3), transparent);
  border-radius: 3px;
}

.price-unit {
  font-size: 1rem;
  color: #666;
  margin-left: 2px;
  font-weight: 500;
}

.price-period {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  position: relative;
  font-weight: 500;
}

.price-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e1e1e1, transparent);
  margin: 0.5rem 1.5rem;
  position: relative;
}

.price-features {
  margin: 0.8rem 0;
  list-style: none;
  padding: 0 1.5rem;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  text-align: left;
  transition: all 0.2s ease;
}

.price-features li:hover {
  background-color: rgba(0, 0, 0, 0.01);
  padding-left: 3px;
}

.price-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: #2a9d42;
  margin-right: 10px;
  font-size: 1rem;
  background: rgba(42, 157, 66, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info {
  color: white;
  background: var(--accent-color);
  margin-right: 10px;
  font-size: 0.9rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2);
}

.price-features li span {
  font-size: 0.95rem;
  color: #333;
  position: relative;
  transition: all 0.2s ease;
  font-weight: 500;
}

.price-card .btn {
  margin: 0.8rem 1rem 1.2rem;
  position: relative;
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 80, 0, 0.25);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 700;
  display: none; /* ボタンを非表示にする */
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.price-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 80, 0, 0.3);
}

.price-card .btn i {
  font-size: 1.1rem;
  margin-right: 8px;
}

.pricing-notes {
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #f9fcff, #f0f8ff);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid #e0ecff;
  max-width: 850px;
  margin: 2rem auto 0;
  box-shadow: 0 10px 30px rgba(0, 77, 153, 0.05);
  position: relative;
  overflow: hidden;
}

.pricing-notes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.pricing-note-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-right: 1.8rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.pricing-note-text {
  font-size: 1rem;
  color: #444;
  margin: 0;
  line-height: 1.7;
}

.pricing-note-text strong {
  color: var(--primary-color);
}

/* 詳細料金表スタイル */
.pricing-detailed {
  margin-top: 3rem;
  padding: 1.5rem 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 77, 153, 0.05);
}

.pricing-detailed-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.pricing-detailed-subtitle {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0 0.8rem;
}

.pricing-tab {
  background-color: #f0f8ff;
  border: 1px solid #e0ecff;
  color: #555;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  font-size: 0.85rem;
}

.pricing-tab:hover {
  background-color: #e0f0ff;
  color: var(--primary-color);
}

.pricing-tab.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
}

.pricing-tables-container {
  padding: 0 0.8rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-table {
  display: none;
}

.pricing-table.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-category {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-category::before {
  content: '\f7d9';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.table-category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  opacity: 0.8;
}

.price-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeef8;
  background-color: white;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(0, 102, 204, 0.08);
  transition: all 0.25s ease;
}

.price-row:hover {
  background-color: rgba(0, 102, 204, 0.03);
  transform: translateX(5px);
}

.price-row:last-child {
  border-bottom: none;
}

.price-service {
  font-size: 0.95rem;
  color: #333;
  flex: 1;
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
}

.price-service::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0.2rem;
  color: var(--primary-color);
  opacity: 0.9;
  font-size: 1rem;
}

.price-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-color);
  background: rgba(255, 107, 0, 0.07);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
  min-width: 90px;
  text-align: center;
  letter-spacing: 0.5px;
}

.pricing-call-action {
  text-align: center;
  margin: 2.2rem 0 1rem;
  position: relative;
}

.pricing-call-action::before {
  content: 'たった3分でお見積り完了！';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffeb3b;
  color: #333;
  padding: 3px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: bounce 2s infinite;
}

.pricing-call-action .btn {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 80, 0, 0.25);
  border-radius: 8px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pricing-call-action .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 80, 0, 0.3);
}

.pricing-call-action .btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
  40% {transform: translateX(-50%) translateY(-5px);}
  60% {transform: translateX(-50%) translateY(-3px);}
}

.pricing-notes-bottom {
  margin-top: 1.5rem;
}

/* Flow Section */
.flow-section {
  padding: 6rem 0;
  background-color: #f7f9fc;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.05);
  top: -100px;
  left: -100px;
  z-index: 0;
}

.flow-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.05);
  bottom: -150px;
  right: -150px;
  z-index: 0;
}

.flow-heading {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.flow-heading-badge {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
  position: relative;
  z-index: 2;
}

.flow-heading-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--primary-color), #1974d2);
  border-radius: 50px;
  z-index: -1;
  animation: pulse-badge 3s infinite;
}

@keyframes pulse-badge {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.flow-label {
  display: inline-block;
  background-color: #222;
  color: white;
  font-weight: 700;
  padding: 0.4rem 2rem;
  border-radius: 50px;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  position: relative;
}

.flow-label::before,
.flow-label::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #888;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.flow-label::before {
  left: 10px;
}

.flow-label::after {
  right: 10px;
}

.flow-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-left: 3px solid var(--primary-color-light);
  padding-left: 1.5rem;
}

.flow-step {
  margin-bottom: 2.5rem;
  position: relative;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flow-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  display: flex;
  overflow: hidden;
  transition: all 0.3s ease;
}

.flow-step:hover .flow-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 102, 204, 0.1);
}

.flow-image {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.flow-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.flow-text-content {
  padding: 1.5rem;
  flex: 1;
}

.flow-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.flow-text {
  margin-bottom: 0;
  color: #444;
  line-height: 1.6;
}

.flow-free-section {
  padding: 1.5rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 2rem 0;
  position: relative;
}

.flow-free-section::before {
  content: '';
  position: absolute;
  width: calc(50% - 220px);
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(217, 56, 30, 0.5));
  top: 50%;
  left: 0;
}

.flow-free-section::after {
  content: '';
  position: absolute;
  width: calc(50% - 220px);
  height: 2px;
  background: linear-gradient(to left, transparent, rgba(217, 56, 30, 0.5));
  top: 50%;
  right: 0;
}

.flow-free-badge {
  display: inline-block;
  background-color: #d9381e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
  box-shadow: 0 5px 15px rgba(217, 56, 30, 0.3);
  position: relative;
  text-align: center;
  width: 80%;
  max-width: 400px;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.flow-free-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(217, 56, 30, 0.4);
}

.flow-free-badge::before,
.flow-free-badge::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: rgba(217, 56, 30, 0.5);
  top: 50%;
}

.flow-free-badge::before {
  left: -50px;
}

.flow-free-badge::after {
  right: -50px;
}

.flow-action {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .flow-content {
    flex-direction: column;
  }
  
  .flow-image {
    width: 100%;
    height: 150px;
  }
  
  .flow-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    left: -2.3rem;
  }
  
  .flow-container {
    padding-left: 1rem;
  }
  
  .flow-free-badge {
    width: 90%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: white;
}

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

.testimonial-card {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-location {
  font-size: 0.9rem;
  opacity: 0.7;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.2;
}

/* Service Area Section */
.service-area {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-flex;
    width: 100%;
}

.service-area i {
    color: #FF6633;
    font-size: 11px;
}

.map-container {
  /* height: 400px; */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.areas-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.area-item {
  background-color: white;
  padding: 0.75rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Contact Form Section */
.contact {
  padding: 4rem 0;
  background-color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
}

.contact-info {
  padding: 2rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
}

.contact-heading {
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-form {
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
}

.form-message {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  min-height: 150px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

/* Flash Messages */
.flash-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}

.flash {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flash-success {
  background-color: var(--success-color);
}

.flash-error {
  background-color: var(--danger-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column {
  padding: 0 1rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100px;
}

.badge-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* Success Page */
.success-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--success-color);
}

.success-message {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* 高CVR フローティングCTA */
.floating-cta-container {
  display: none; /* モバイル時に表示 */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
  border-top: 1px solid #f0f0f0;
  transition: transform 0.3s ease;
}

/* ユーザーが上向きにスクロールしたときに表示するアニメーション用 */
.floating-cta-hide {
  transform: translateY(100%);
}

/* キャンペーン訴求上部の帯 */
.floating-cta-campaign {
  background: linear-gradient(90deg, #0066cc, #0088ff);
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 10px;
  text-align: center;
  letter-spacing: 0.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.floating-cta-campaign i {
  color: #ffee00;
  margin-right: 5px;
  display: inline-block;
}

.campaign-highlight {
  background-color: #ff6b00;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0 2px;
  font-weight: 700;
  margin-right: 5px;
}

/* CTAボタン全体のコンテナ */
.floating-cta-buttons {
  display: flex;
  padding: 5px;
  gap: 6px;
}

/* 電話CTAボタン - 主要アクション */
.floating-cta-call {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.25);
  flex: 1.5;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  height: 40px;
}

.floating-cta-call:hover {
  transform: translateY(-2px);
  color: white;
}

.floating-cta-call:active {
  transform: translateY(0);
}

/* グロー効果 */
.floating-cta-call:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  animation: glow 3s infinite;
}

/* メールCTAボタン - 二次アクション */
.floating-cta-form {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0066cc, #0088ff);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
  flex: 0.8;
  transition: transform 0.2s ease;
  height: 40px;
  min-width: auto;
  white-space: nowrap;
  overflow: hidden;
}

.floating-cta-form:hover {
  transform: translateY(-2px);
  color: white;
}

.floating-cta-form:active {
  transform: translateY(0);
}

/* CTAアイコン */
.floating-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 8px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.floating-cta-icon.secondary {
  font-size: 0.85rem;
}

/* CTAテキスト部分 */
.floating-cta-text {
  flex: 1;
  text-align: left;
  line-height: 1.1;
  min-width: 0;
}

.floating-cta-label {
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 1px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-cta-phone {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-cta-sublabel {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右矢印 */
.floating-cta-arrow {
  margin-left: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* アニメーション */
@keyframes pulse-background {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes glow {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* Media Queries */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .header-contact {
    margin-top: 1rem;
  }
  
  .header-phone {
    align-items: center;
  }
  
  .floating-cta-container {
    display: block;
  }
  
  .pricing-container,
  .features-container,
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  /* フッターの下部にパディングを追加して、フローティングCTAに隠れないようにする */
  footer {
    padding-bottom: 120px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
}
