/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本設定 */
:root {
  --primary-red: #c1272d;
  --primary-yellow: #ffd700;
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 16px;
  background-color: var(--bg-white);
}

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

/* ヘッダー */
.header {
  background-color: var(--bg-white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-red);
}

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

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

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 15px;
}

.nav-link:hover {
  color: var(--primary-red);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
}

.header-line-btn {
  background-color: #00b900;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.header-line-btn:hover {
  opacity: 0.8;
}

/* LINEアイコン（スマホ用） */
.header-line-icon {
  display: none;
  text-decoration: none;
}

.header-line-icon .line-icon {
  font-size: 14px;
  font-weight: bold;
  background-color: #00b900;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger span:first-child {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:last-child {
  bottom: 0;
}

/* ハンバーガーメニューアクティブ時 */
.hamburger.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  padding: 20px 0;
}

.mobile-nav-link {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: var(--bg-light);
}

.mobile-menu-cta {
  padding: 20px 30px;
  background-color: var(--bg-light);
}

.mobile-tel,
.mobile-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}

.mobile-tel {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--primary-red);
}

.mobile-line-btn {
  background-color: #00b900;
  color: white;
  margin-bottom: 0;
}

.mobile-tel:hover,
.mobile-line-btn:hover {
  opacity: 0.8;
}

/* メインコンテンツ */
.main-content {
  margin-top: 80px;
}

/* ヒーローセクション */
.hero {
  margin-top: 80px;
  padding: 0;
  background-color: var(--bg-light);
}

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

.hero-image-pc {
  display: block;
}

.hero-image-sp {
  display: none;
}

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

.hero-title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
}

.highlight-red {
  color: var(--primary-red);
  font-size: 48px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.hero-cta {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-red);
  color: white;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(193, 39, 45, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(193, 39, 45, 0.4);
}

.cta-icon {
  font-size: 24px;
}

.cta-note {
  margin: 0;
  color: var(--text-dark);
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 30px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
}

.campaign-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.badge-line {
  background-color: #00b900;
  color: white;
}

.badge-campaign {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
}

.hero-image {
  margin-top: 40px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* セクション共通 */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.section-lead {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* トップCTA */
.top-cta {
  background-color: var(--bg-light);
  padding: 40px 0;
  text-align: center;
}

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

.top-cta-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 15px;
  line-height: 1.3;
}

.top-cta-text {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

.top-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-cta-tel-btn,
.top-cta-line-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 360px;
  text-align: center;
}

.top-cta-tel-btn {
  background-color: var(--primary-red);
  color: white;
  box-shadow: 0 4px 15px rgba(193, 39, 45, 0.3);
}

.top-cta-line-btn {
  background-color: #00b900;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 185, 0, 0.3);
}

.top-cta-tel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(193, 39, 45, 0.4);
}

.top-cta-line-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 185, 0, 0.4);
}

/* トップCTAのモバイル対応 */
@media (max-width: 768px) {
  .top-cta {
    padding: 30px 0;
  }

  .top-cta-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .top-cta-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .top-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .top-cta-tel-btn,
  .top-cta-line-btn {
    width: 100%;
    max-width: 340px;
    min-width: auto;
  }
}

/* 決済方法セクション */
.payment-methods {
  padding: 60px 0 40px 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

/* カルーセル全体のコンテナ */
.payment-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* アニメーションするトラック */
.payment-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: scroll-left 30s linear infinite;
  width: max-content;
  will-change: transform;
}

/* 右から左へのスクロールアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 決済方法の画像 */
.payment-image {
  height: auto;
  width: auto;
  flex-shrink: 0;
  background-color: white;
  height: 185px;
}

/* ホバー時の一時停止 */
.payment-carousel:hover .payment-track {
  animation-play-state: paused;
}

/* タブレット対応（基準の1/2） */
@media (max-width: 1024px) {
  .payment-track {
    gap: 0;
  }
}

/* スマホ対応（基準の1/3） */
@media (max-width: 768px) {
  .payment-methods {
    padding: 40px 0 30px 0;
  }

  .payment-track {
    gap: 0;
    animation: scroll-left 20s linear infinite;
  }
}

/* アニメーション無効設定のユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .payment-track {
    animation: none;
  }

  .payment-carousel {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* 選ばれる理由 */
.reasons {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: stretch;
}

.reason-card {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.reason-icon {
  display: none;
}

.reason-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.reason-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* サービス内容 */
.services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.service-block {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.service-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-icon {
  font-size: 32px;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background-color: var(--bg-light);
  border-radius: 10px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-item-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.service-item .number {
  background-color: var(--primary-red);
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.service-item .text {
  flex: 1;
  line-height: 1.6;
  text-align: left;
  position: relative;
  z-index: 2;
}

.service-item-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.service-item-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* 買取の流れ */
.flow {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/査定部分/査定部分の背景画像.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.flow > * {
  position: relative;
  z-index: 1;
}

/* flow.htmlページでは背景画像を無効化 */
.flow-no-bg::before {
  display: none;
}

.flow-link-wrapper {
  margin-top: 30px;
}

.flow-link {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(193, 39, 45, 0.3);
}

.flow-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(193, 39, 45, 0.4);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.flow-step {
  background-color: var(--bg-white);
  padding: 50px 60px;
  border-radius: 20px;
  text-align: center;
  width: 100%;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.flow-step > * {
  position: relative;
  z-index: 1;
}

.flow-step.step-1::before {
  background-image: url("images/買取の流れ_別ページ/①.jpg");
}

.flow-step.step-2::before {
  background-image: url("images/買取の流れ_別ページ/②.jpeg");
}

.flow-step.step-3::before {
  background-image: url("images/買取の流れ_別ページ/③.jpg");
}

.flow-step.step-4::before {
  background-image: url("images/買取の流れ_別ページ/④.jpeg");
}

.flow-step.step-5::before {
  background-image: url("images/買取の流れ_別ページ/⑤.jpeg");
}

.flow-step.step-6::before {
  background-image: url("images/買取の流れ_別ページ/⑥.jpeg");
}

.flow-step.step-7::before {
  background-image: url("images/買取の流れ_別ページ/⑦.jpg");
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.step-with-button {
  padding-bottom: 80px;
  overflow: visible;
}

.step-number {
  background-color: var(--primary-red);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.step-icon {
  display: none;
}

.step-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
}

.flow-arrow {
  font-size: 40px;
  color: var(--primary-red);
  font-weight: bold;
  display: block;
  text-align: center;
  margin: -20px 0;
}

.step-line-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00b900;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.step-line-button:hover {
  background-color: #00a000;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 185, 0, 0.3);
}

.step-line-button .line-icon {
  font-size: 18px;
}

/* 出張買取・店頭買取のフローセクション */
.flow-section {
  margin-bottom: 60px;
  text-align: center;
}

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

.flow-section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-red);
  text-align: center;
}

.flow-section-description {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* step-subtitleは削除済み */

/* 買取の流れページ用調整 */
.flow-step h4.step-title {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.4;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
  width: 100%;
}

/* 商品例・価格例 */
.products {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.product-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.product-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-price {
  font-size: 20px;
  color: var(--primary-red);
  font-weight: bold;
}

.products-note {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

/* バイマスの強み */
.strengths {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.strength-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 40px 20px;
  border-radius: 15px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 450px;
}

.strength-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-red);
}

.strength-text {
  font-size: 16px;
  color: var(--text-gray);
}

.strength-content {
  margin-bottom: 20px;
}

.strength-icon {
  display: none;
}

/* 中間CTA */
.middle-cta {
  padding: 60px 0;
  background-color: var(--primary-red);
  color: white;
}

.cta-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cta-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.check-icon {
  font-size: 36px;
  vertical-align: middle;
}

.cta-text {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 0;
  width: 100%;
  max-width: 800px;
}

.point-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.point-icon {
  display: none;
}

.point-text {
  font-size: 16px;
  font-weight: bold;
}

.cta-note {
  margin: 0;
  font-size: 18px;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 20px 40px;
  border-radius: 10px;
  display: block;
  width: 100%;
  max-width: 600px;
}

.line-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00b900;
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

.line-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 185, 0, 0.4);
}

.line-button img {
  width: 30px;
  height: 30px;
}

.line-icon {
  font-size: 24px;
}

/* 店舗情報・アクセス */
.access {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.info-table {
  width: 100%;
  background-color: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  background-color: var(--bg-light);
  font-weight: bold;
  width: 120px;
}

.info-table td a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: bold;
}

.info-table td a:hover {
  text-decoration: underline;
}

.access-note {
  margin-top: 20px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

.access-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.map-link {
  text-align: center;
  margin-top: 15px;
}

.map-link a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.map-link a:hover {
  text-decoration: underline;
  gap: 10px;
}

/* 最終CTA */
.final-cta {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.tel-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tel-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* フッター */
.footer {
  background-color: #2c2c2c;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-logo p {
  opacity: 0.8;
  font-size: 14px;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .highlight-red {
    font-size: 40px;
  }

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

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  /* PC用ナビゲーションを非表示 */
  .nav {
    display: none;
  }

  /* PC用CTA（LINE査定ボタンと電話番号のテキスト）を非表示 */
  .header-line-btn,
  .tel-number {
    display: none;
  }

  /* モバイル用のアイコンCTAを調整 */
  .header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 10px;
  }

  .header-tel {
    font-size: 0;
  }

  .header-tel .tel-icon {
    font-size: 24px;
  }

  /* LINEアイコンを表示 */
  .header-line-icon {
    display: block;
  }

  /* ハンバーガーメニューボタンを表示 */
  .hamburger {
    display: block;
  }

  /* モバイルメニューを表示可能にする */
  .mobile-menu {
    display: block;
  }

  /* ロゴサイズ調整 */
  .logo {
    font-size: 24px;
  }

  .main-content {
    margin-top: 63px;
  }

  .hero {
    margin-top: 63px;
  }

  .hero-image-pc {
    display: none;
  }

  .hero-image-sp {
    display: block;
  }

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

  .highlight-red {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .flow-steps {
    flex-direction: column;
  }

  .flow-arrow {
    display: block;
  }

  .flow-section-title {
    font-size: 22px;
    text-align: center;
  }

  .flow-section-description {
    font-size: 14px;
  }

  .flow-step {
    padding: 30px 20px;
    text-align: center;
  }

  .step-number {
    font-size: 16px;
    padding: 8px 20px;
  }

  .step-title {
    font-size: 20px;
  }

  .flow-step h4.step-title {
    font-size: 22px;
  }

  .step-text {
    font-size: 14px;
  }

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

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* 画像サイズ制限 */
.reason-image {
  width: 100%;
  max-width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 10px;
  display: block;
}

.step-image {
  width: 100%;
  max-width: 180px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: var(--bg-white);
}

.strength-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: auto;
  border-radius: 10px;
}

.point-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  background-color: white;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* トータルサービス */
.total-services {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.total-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.total-service-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.total-service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.total-service-item > * {
  position: relative;
  z-index: 1;
}

.total-service-1::before {
  background-image: url("images/清掃もお任せ/①.jpg");
}

.total-service-2::before {
  background-image: url("images/清掃もお任せ/②.jpg");
}

.total-service-3::before {
  background-image: url("images/清掃もお任せ/③.jpg");
}

.total-service-4::before {
  background-image: url("images/清掃もお任せ/④.jpg");
}

.total-service-5::before {
  background-image: url("images/清掃もお任せ/⑤.jpg");
}

.total-service-6::before {
  background-image: url("images/清掃もお任せ/⑥.jpg");
}

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

.total-service-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-red);
}

.total-service-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* 出張エリア */
.service-area {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.area-block {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.area-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 20px;
  text-align: center;
}

.area-list {
  list-style: none;
}

.area-list li {
  padding: 10px 15px;
  margin-bottom: 8px;
  background-color: var(--bg-light);
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.area-list li:hover {
  background-color: #fff3f3;
}

.area-note {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 30px;
}

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

/* よくあるご質問 */
.faq {
  padding: 80px 0;
  background-color: var(--bg-white);
}

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

.faq-item {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.faq-q {
  color: var(--primary-red);
  font-size: 20px;
  margin-right: 10px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  padding-left: 35px;
}

.faq-a {
  color: var(--primary-red);
  font-size: 20px;
  margin-right: 10px;
}

/* フッター会社概要 */
.footer-company {
  margin-bottom: 30px;
}

.footer-company h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}

.company-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.company-table th,
.company-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.company-table th {
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
  width: 40%;
}

.company-table td {
  color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* 決済方法の画像 */
  .payment-image {
    height: 130px;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .strength-item {
    min-height: 400px;
  }

  .strength-image {
    height: 150px;
  }

  .service-item-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
  }

  .point-image {
    width: 60px;
    height: 60px;
  }

  /* トータルサービス・出張エリアのレスポンシブ */
  .total-services-grid {
    grid-template-columns: 1fr;
  }

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

  .area-note {
    font-size: 16px;
  }

  /* サービス項目のレスポンシブ */
  .service-item {
    flex-direction: column;
    text-align: center;
    min-height: 200px;
    padding: 20px;
  }

  .service-item .number {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
  }

  .service-item .text {
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .service-item-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .service-item-desc {
    font-size: 16px;
    line-height: 1.7;
  }
}
