@charset "UTF-8";

/* =========================================
   リセット & 共通設定
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

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

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

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  line-height: 1.4;
  color: #1A2B4C;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0F4C3A;
}

/* 共通テキストカラー */
.text-red {
  color: #e60012;
}

.text-yellow {
  color: #ffcc00;
}

.title-white {
  color: #ffffff;
}

.title-white::after {
  background-color: #ffcc00;
}

/* =========================================
   ヘッダー & ナビゲーション
   ========================================= */
.header {
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed; /* 常に画面上部に固定します */
  top: 0;
  left: 0;
  z-index: 100; /* 一番手前に表示 */
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.header-logo a {
  display: block;
}

.header-logo img {
  max-height: 50px;
}

/* ヘッダーナビゲーション */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 20px;
}

.nav-list {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #1A2B4C;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-list li a:hover {
  color: #D4AF37;
}

.external-icon {
  font-size: 0.8rem;
}

/* ヘッダーお問い合わせボタン */
.btn-header {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0F4C3A;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-header:hover {
  background-color: #1A2B4C;
}

/* =========================================
   ファーストビュー (FV) / ヒーローセクション
   ========================================= */
.section-hero {
  margin-top: 80px; /* ← 【ここに追加！】ヘッダーの高さ分だけ下にズラす */
  position: relative; /* 背景とコンテンツを重ねるための基準点 */
  width: 100%;
  height: 700px; /* PC版の高さ。好みに合わせて調整してください（例: 700px） */
  min-height: 500px;
  overflow: hidden; /* 画像がはみ出さないように */
  background-color: #f0f8ff; /* 画像読み込み前の仮色 */
}

/* 背景画像 (hero-bg) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を崩さずに全体に広げる */
  z-index: 1; /* コンテンツの下に配置 */
}

/* コンテンツコンテナ */
.hero-container {
  position: relative;
  z-index: 2; /* 背景の上に配置 */
  height: 100%;
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: flex-start; /* 水平方向の左揃え */
}

.hero-content {
  flex: 1;
  max-width: 1000px; /* ← 【ここを変更】 800px から 900px や 1000px などに増やします */
  padding: 30px;     /* ※もしこれでも小さい場合は、この余白を 30px などに減らすとさらに大きく見えます */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* コンテンツを左寄せ */
}

/* イラスト画像 (hero-illust) のラッパー */
.hero-illust-wrap {
  width: 100%;
  display: block;
  margin-bottom: 20px; /* 下のCTAボタンとの余白 */
}

/* イラスト画像本体 */
.hero-illust {
  width: 100%; /* コンテナに合わせて拡大縮小 */
  height: auto;
  display: block;
}

/* 新規：左下CTAボタン (以前のデザインを継承) */
.hero-action {
  text-align: left;
  width: 100%; /* ← 追加しておくと配置が安定します */
  margin-top: -50px; /* ← 【ここを追加・変更】数値を大きくすると下に下がり、小さくする（またはマイナスにする）と上に上がります */
  margin-left: 60px; /* ← 【ここを追加！】数値を大きくするほど、ボタンが右へ移動します */
}

.btn-hero-cta {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #D4AF37 0%, #b3932e 100%);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 0 #8c7324;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-hero-cta:hover {
  background: linear-gradient(180deg, #e0c26b 0%, #D4AF37 100%);
}

.btn-hero-cta:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #8c7324;
}

/* 以前のテキスト要素のCSSは不要になるので、もし残っていたら削除してください */
/* .hero-subcopy, .hero-maincopy, .hero-lead, .text-gold, .hero-point-zero, .hero-disaster-icons, .disaster-icon-item { ... } */

/* =========================================
   タイアップ紹介セクション
   ========================================= */
.section-tieup {
  background-color: #f8faf9;
  padding: 60px 0;
  border-bottom: 1px solid #ddd;
}

.tieup-logo {
  text-align: center;
  margin-bottom: 30px;
}

.tieup-logo img {
  max-width: 100%;
  border: 1px solid #eee;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.tieup-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

.tieup-notes {
  font-size: 0.8rem;
  color: #777;
  text-align: left;
  max-width: 800px;
  margin: -20px auto 40px; /* 上のテキストとの隙間を少し詰め、中央寄せにしています */
  line-height: 1.6;
}

.tieup-products {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.product-item {
  flex: 1;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.product-item img {
  width: 100%;
  border-radius: 4px;
}

/* =========================================
   お悩みセクション（4つ）
   ========================================= */
.section-problem {
  padding: 80px 0;
  background-color: #fff;
}

.problem-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.problem-card {
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-top: 5px solid #1A2B4C;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.problem-icon {
  width: 40px;
  height: 40px;
  background: #e60012;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 40px;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.problem-card h3 {
  font-size: 1.1rem;
  color: #1A2B4C;
  margin-bottom: 15px;
  margin-top: 10px;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
  text-align: left;
}

.problem-alert {
  display: inline-block;
  background: #fff4f4;
  color: #e60012;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 4px;
  border: 1px dashed #e60012;
  font-size: 0.9rem;
}

.problem-lead {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.5;
}

/* 解決宣言 画像エリア */
.solution-image-area {
  text-align: center;
  margin-top: 20px;
}

.solution-image-area img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   被害の実例セクション
   ========================================= */
.section-case {
  padding: 80px 0;
  background-color: #f8faf9;
}

.case-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.case-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.case-img img {
  width: 100%;
  border-bottom: 3px solid #0F4C3A;
}

.case-content {
  padding: 25px;
}

.case-content h3 {
  color: #1A2B4C;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-left: 5px solid #D4AF37;
  padding-left: 10px;
}

.case-content p {
  color: #555;
  font-size: 1rem;
}

/* =========================================
   被害の背景セクション
   ========================================= */
.section-background {
  padding: 80px 0;
  background-color: #fff;
}

.bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bg-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #ddd;
}

.bg-card h3 {
  color: #1A2B4C;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.bg-card img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.bg-card p {
  color: #555;
  font-size: 0.95rem;
  text-align: left;
}

/* =========================================
   被害額シミュレーション (警告風ダーク)
   ========================================= */
.section-damage {
  padding: 80px 0;
  background-color: #1a1a1a;
  background-image: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #222 10px, #222 20px);
}

.damage-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid #e60012;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(230, 0, 18, 0.4);
}

.damage-header {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #ccc;
}

.damage-highlight {
  color: #e60012;
  font-size: 1.8rem;
  background: #fff0f0;
  padding: 5px 15px;
  border-radius: 5px;
}

.damage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-left: 5px solid #1A2B4C;
}

.damage-item h4 {
  font-size: 1.1rem;
  color: #333;
}

.damage-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

.damage-price span {
  font-size: 1rem;
  margin-left: 5px;
}

.damage-total {
  margin-top: 30px;
  background: #e60012;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
}

.damage-total p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.total-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #ffcc00;
}

.total-price span {
  font-size: 1.5rem;
  margin-left: 5px;
}

.damage-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #666;
}

/* =========================================
   ライズガード 3つの安心（縦並びリッチ版）
   ========================================= */
.section-rise-points {
  padding: 80px 0;
  background-color: #f0f8ff;
}

.points-vertical {
  display: flex;
  flex-direction: column;
  gap: 60px; /* 各ポイント間の余白 */
  margin-top: 50px;
}

.point-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e0e8f0;
}


.point-row-img {
  width: 50%;
  position: relative;
}

.point-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 修正：バッジをテキスト側に配置 */
.point-badge-large {
  display: inline-block; /* 追加：通常のブロックとして配置 */
  background: #D4AF37;
  color: #fff;
  padding: 8px 24px; /* 少しだけコンパクトに調整 */
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px; /* 追加：下の見出しとの間に余白を作る */
}

/* 画像が右側の時はバッジも右上に */
.point-row.reverse .point-badge-large {
  left: auto;
  right: 20px;
}

.point-row-text {
  width: 50%;
  padding: 50px;
}

.point-title-large {
  font-size: 1.8rem;
  color: #0F4C3A;
  margin-bottom: 20px;
  border-bottom: 3px solid #D4AF37;
  display: inline-block;
  padding-bottom: 5px;
}

.point-desc-large {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.point-desc-large strong {
  color: #e60012;
}

/* （以下略、元のままでOKです） */
/* =========================================
   補償内容 (画像エリア)
   ========================================= */
.section-coverage {
  padding: 80px 0;
  background-color: #fff;
}

.coverage-img-area {
  text-align: center;
}

.coverage-img-area img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   他社比較表
   ========================================= */
.section-comparison {
  padding: 80px 0;
  background-color: #f8faf9;
}

.table-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th, 
.comparison-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.comparison-table th {
  background-color: #1A2B4C;
  color: #fff;
  font-weight: bold;
}

.th-product {
  width: 25%;
}

.td-bold {
  font-weight: bold;
  color: #1A2B4C;
}

.highlight-row td {
  background-color: #fffbe6;
  border-top: 2px solid #D4AF37;
  border-bottom: 2px solid #D4AF37;
}

.highlight-row td:first-child {
  border-left: 2px solid #D4AF37;
}

.highlight-row td:last-child {
  border-right: 2px solid #D4AF37;
}

/* =========================================
   NEW: 加入条件セクション
   ========================================= */
.section-conditions {
  padding: 80px 0;
  background-color: #eaf4f0;
}

.conditions-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.condition-card {
  flex: 1;
  max-width: 450px;
  background: #fff;
  border: 3px solid #0F4C3A;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.condition-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A2B4C;
  color: #fff;
  padding: 5px 30px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.2rem;
}

.condition-card h3 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #1A2B4C;
}

.condition-img {
  margin-bottom: 20px;
}

.condition-img img {
  width: 100%;
  border-radius: 5px;
}

.condition-card p {
  text-align: left;
  font-size: 1rem;
  color: #444;
}

.condition-note {
  text-align: center;
  font-size: 0.95rem;
  color: #e60012;
  font-weight: bold;
  background: #fff4f4;
  padding: 20px;
  border-radius: 8px;
  border: 1px dashed #e60012;
  max-width: 800px;
  margin: 0 auto;
}

/* =========================================
   NEW: 施工実績・お客様の声セクション
   ========================================= */
.section-voices-results {
  padding: 80px 0;
  background-color: #fff;
}

.sub-heading {
  text-align: center;
  font-size: 1.6rem;
  color: #1A2B4C;
  margin-bottom: 30px;
  border-bottom: 3px solid #D4AF37;
  display: inline-block;
  padding-bottom: 5px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 無限スクロールスライダー (CSSのみ) */
.results-slider-wrap {
  margin-bottom: 60px;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: calc(320px * 8); /* スライド幅300px + 余白20pxを8枚分 */
  animation: scroll 20s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused; /* マウスオーバーで一時停止 */
}

.slide {
  width: 300px;
  margin-right: 20px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 4)); /* 半分までスクロールしたらループ */
  }
}

/* お客様の声 */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.voice-card {
  background: #f0f8ff;
  border-radius: 10px;
  padding: 30px 20px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e8f0;
}

.voice-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.voice-card h4 {
  text-align: center;
  color: #1A2B4C;
  margin-bottom: 15px;
  font-size: 1.1rem;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
}

.voice-card p {
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
}

/* =========================================
   ご利用までの流れセクション（縦並びタイムライン）
   ========================================= */
.section-flow {
  padding: 80px 0;
  background-color: #f4f7f6; /* 少し落ち着いたグレー背景 */
}

.flow-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.flow-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

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

/* ステップを繋ぐ縦線 */
.flow-step::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 39px; /* 丸アイコンの中心に合わせる */
  width: 2px;
  height: calc(100% + 10px);
  background-color: #D4AF37; /* ゴールドの線 */
  z-index: 1;
}

.flow-step:last-child::before {
  display: none; /* 最後のステップは線を消す */
}

/* STEPの丸アイコン */
.flow-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: #0F4C3A;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2; /* 縦線より上に表示 */
  border: 5px solid #f4f7f6; /* 背景と同じ色のフチをつけて線を切る演出 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.flow-content {
  flex-grow: 1;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  margin-left: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #e0e8f0;
}

.flow-title {
  color: #1A2B4C;
  font-size: 1.3rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f8ff;
  padding-bottom: 10px;
}

.flow-desc {
  color: #444;
  line-height: 1.6;
}

/* 注意書き（オプション料金など） */
.text-note {
  font-size: 0.85rem;
  color: #e60012;
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
}


/* =========================================
   NEW: よくあるご質問（FAQ）
   ========================================= */
.section-faq {
  padding: 80px 0;
  background-color: #fff;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden; /* 角丸からはみ出ないように */
  background: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* 質問（Q）のバー */
.faq-q {
  padding: 20px;
  font-size: 1.05rem;
  font-weight: bold;
  color: #1A2B4C;
  cursor: pointer;
  position: relative;
  list-style: none; /* デフォルトの黒い三角を消す */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: background-color 0.3s;
}

.faq-q:hover {
  background-color: #f0f8ff; /* ホバーでうっすら青く */
}

/* Safari向けのデフォルト矢印消し */
.faq-q::-webkit-details-marker {
  display: none;
}

/* 「Q.」の文字装飾 */
.faq-q::before {
  content: "Q.";
  color: #D4AF37;
  font-size: 1.4rem;
  margin-right: 15px;
  font-family: Arial, sans-serif;
}

/* 右側の開閉アイコン（＋と－） */
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #1A2B4C;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px; /* 横線 */
}

.faq-icon::after {
  width: 2px;
  height: 14px; /* 縦線 */
  transition: transform 0.3s;
}

/* 開いた時は縦線が横に倒れて「マイナス」になる */
details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* 回答（A）のエリア */
.faq-a {
  padding: 20px 20px 20px 55px;
  background: #f9f9f9;
  border-top: 1px dashed #ddd;
  color: #444;
  line-height: 1.6;
  position: relative;
}

/* 「A.」の文字装飾 */
.faq-a::before {
  content: "A.";
  color: #e60012;
  font-size: 1.4rem;
  font-weight: bold;
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: Arial, sans-serif;
}

/* =========================================
   NEW: 料金プラン表
   ========================================= */
.section-plans {
  padding: 80px 0;
  background-color: #f8faf9;
}

.plan-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.plan-table th, 
.plan-table td {
  border: 1px solid #ddd;
  padding: 20px 15px;
  text-align: center;
  vertical-align: middle;
}

.plan-table th {
  background-color: #0056b3; /* 画像の青色を再現 */
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

.plan-table th small {
  font-weight: normal;
  font-size: 0.85rem;
  display: block;
  margin-top: 5px;
}

.plan-table td {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

.price-cell {
  color: #0056b3 !important;
  font-size: 1.4rem !important;
}

.price-cell span {
  font-size: 1rem;
  margin-left: 3px;
}

/* =========================================
   NEW: お問い合わせフォーム
   ========================================= */
.section-contact {
  padding: 80px 0;
  background-color: #0F4C3A; /* テーマカラーの深い緑 */
}

.contact-desc {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.form-wrapper {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #1A2B4C;
}

.required {
  display: inline-block;
  background: #e60012;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}

.optional {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}

/* 入力フィールド共通 */
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fcfcfc;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  background-color: #fff;
}

/* セレクトボックスの装飾 */
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 0.8rem;
}
.form-row select {
  appearance: none; /* デフォルトの矢印を消す */
  cursor: pointer;
}

/* テキストエリア */
.form-row textarea {
  height: 150px;
  resize: vertical;
}

/* ファイル添付デザイン */
.file-note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}
.file-input {
  width: 100%;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  cursor: pointer;
}

/* 送信ボタン */
.btn-submit {
  width: 100%;
  padding: 20px;
  background: linear-gradient(180deg, #D4AF37 0%, #b3932e 100%);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 0 #8c7324;
  margin-top: 20px;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-submit:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #8c7324;
}

/* =========================================
   フッター
   ========================================= */
.footer {
  background-color: #1A2B4C;
  color: #fff;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #D4AF37;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background-color: #D4AF37;
  color: #1A2B4C;
}

.footer-info {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-company {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 20px;
}

/* =========================================
   常についてくる追従ボタン（フローティングメニュー）
   ========================================= */
.floating-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse; /* 下から上に展開 */
  align-items: flex-end;
}

/* メインボタン */
.floating-btn-main {
  background: linear-gradient(135deg, #0F4C3A 0%, #1A2B4C 100%);
  color: #fff;
  width: 150px;  /* ← 70pxから150px（約2.1倍）に拡大！ */
  height: 150px; /* ← 同上 */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* ボタンが大きくなった分、影も少し大きくしました */
  transition: transform 0.3s;
  position: relative;
  z-index: 2;
}

.floating-icon {
  font-size: 3.8rem; /* ← 1.8remから3.8remへ拡大！ */
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s;
}

.floating-text {
  font-size: 1.4rem; /* ← 0.65remから1.4remへ拡大！ */
  font-weight: bold;
  margin-top: 5px;   /* 文字が大きくなったので、アイコンとの隙間も少し広げました */
}

/* サブメニュー（初期状態は隠す） */
.floating-sub {
  list-style: none;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-sub li a {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #333;
  padding: 10px 20px 10px 15px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.2s;
  border: 2px solid #0F4C3A;
}

.floating-sub li a:hover {
  background-color: #f0f8ff;
}

.sub-icon {
  font-size: 1.2rem;
  margin-right: 10px;
}

/* ホバー時の展開アクション */
.floating-menu:hover .floating-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-menu:hover .floating-icon {
  transform: rotate(45deg); /* ＋が×になる演出 */
}

/* =========================================
   補償対象設備セクション
   ========================================= */
.section-coverage {
  padding: 80px 0;
  background-color: #ffffff; /* 白背景でクリーンに */
}

.coverage-lead {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #444;
}

/* 7つのアイテムを並べるコンテナ */
.coverage-grid {
  display: flex;
  flex-wrap: wrap; /* 端までいったら折り返す */
  justify-content: center; /* 中央寄せ（7個でも綺麗に見える） */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 各設備のカード */
.coverage-item {
  background: #f8f9fa;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  width: calc(25% - 20px); /* PCでは横に4つ並べる計算 */
  min-width: 180px;
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.coverage-item:hover {
  transform: translateY(-5px); /* マウスを乗せると少し浮く */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.coverage-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.coverage-icon img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.coverage-name {
  font-weight: bold;
  color: #1A2B4C;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

.coverage-sub {
  font-size: 0.8rem;
  font-weight: normal;
  color: #666;
}

/* =========================================
   レスポンシブ（スマホ用レイアウト）
   ========================================= */
@media screen and (max-width: 768px) {
  
  .tieup-products {
    flex-direction: column;
  }
  .problem-grid-4 {
    grid-template-columns: 1fr;
  }
  .case-grid {
    flex-direction: column;
  }
  .bg-grid {
    grid-template-columns: 1fr;
  }
  .damage-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .damage-item h4 {
    margin-bottom: 10px;
  }
  .damage-wrapper {
    padding: 20px;
  }
  .total-price {
    font-size: 2.2rem;
  }
  .points-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* 追加セクションのスマホ対応 */
  .conditions-grid {
    flex-direction: column;
    align-items: center;
  }
  .voices-grid {
    grid-template-columns: 1fr;
  }

  /* ご利用までの流れ（縦並び・スマホ対応） */
  .flow-step {
    flex-direction: column;
  }
  .flow-number {
    margin-bottom: -20px; /* 下のコンテンツに少し重ねる */
    margin-left: 20px;
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }
  .flow-step::before {
    left: 54px; /* スマホ時の縦線の位置 */
    top: 35px;
  }
  .flow-content {
    margin-left: 0;
    padding: 30px 20px 20px; /* 上の余白を少し広げて丸アイコンとの被りを防ぐ */
  }
  .flow-title {
    font-size: 1.1rem;
  }
  
  /* NEW追加分：フォーム用レスポンシブ */
  .form-wrapper {
    padding: 30px 20px;
  }
  .btn-submit {
    font-size: 1.2rem;
    padding: 15px;
  }

  /* NEW追加分：フッター＆追従ボタン */
  .footer-links {
    flex-direction: column;
    padding: 0 20px;
  }
  
  .floating-menu {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-btn-main {
    width: 110px;  /* ← スマホ用も約2倍のサイズに！ */
    height: 110px;
  }
  
  .floating-icon {
    font-size: 2.8rem; /* スマホ用のアイコンサイズ */
  }

  .floating-text {
    display: block;    /* ← 前回は消していましたが、再表示させます */
    font-size: 1rem;   /* スマホ用の文字サイズ */
    margin-top: 2px;
  }

  /* 3つの安心（縦並びリッチ版）スマホ対応 */
  .point-row, 
  .point-row.reverse {
    flex-direction: column;
  }
  .point-row-img, 
  .point-row-text {
    width: 100%;
  }
  .point-row-text {
    padding: 30px 20px;
  }
  .point-title-large {
    font-size: 1.5rem;
  }

  /* NEW追加分：ヘッダーメニューをスマホで隠す */
  .header-nav {
    display: none;
  }

  /* 補償対象セクション（スマホ用） */
  .coverage-grid {
    gap: 15px;
  }
  .coverage-item {
    width: calc(50% - 15px); /* スマホでは横に2つ並べる */
    min-width: auto;
    padding: 20px 10px;
  }
  .coverage-icon {
    height: 60px;
  }
  .coverage-name {
    font-size: 0.95rem;
  }
  .coverage-sub {
    font-size: 0.75rem;
  }

  /* スマホ用：ファーストビューの調整 */
  .section-hero {
    height: auto; /* スマホでは画像の高さに合わせる */
    min-height: auto;
    padding: 30px 0; /* 上下の余白 */
  }

  .hero-container {
    justify-content: center; /* スマホでは中央揃えに */
  }

  .hero-content {
    max-width: 100%;
    padding: 20px;
    align-items: center; /* コンテンツを中央寄せ */
  }

  .hero-illust-wrap {
    margin-bottom: 10px;
  }

  /* CTAボタンをスマホ用に少しコンパクトに */
  .hero-action {
    text-align: center;
  }
  .btn-hero-cta {
    font-size: 1rem;
    padding: 12px 30px;
  }

} /* ← スマホ用の設定は必ずこのカッコの中で終わるようにします！ */