/* ============================
   追尾CTAラベル + ボタンのセット表示
============================ */
.floating-cta-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
}

.floating-cta-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-tooltip {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #333;
  background-color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.floating-cta {
  background-color: #0dcaf0;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(13, 202, 240, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta:hover {
  background-color: #31d2f2;
  box-shadow: 0 6px 18px rgba(13, 202, 240, 0.4);
}

/* スマホ対応：位置は右下維持 */
@media (max-width: 576px) {
  .floating-cta-wrapper {
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .cta-tooltip {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .floating-cta {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

/* ============================
   基本設定
============================ */
body {
  font-family: 'Yu Gothic', 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============================
   ヒーロー・タイトル
============================ */
.hero {
  position: relative;
  background: url('images/flight.webp') center/cover no-repeat;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.main-title {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: keep-all;
}

.lead {
  font-size: 1.2rem;
}

/* ============================
   レスポンシブ対応
============================ */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 220px;
    padding: 1.5rem 1rem;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* ============================
   セクションブロック
============================ */
.section-block {
  background-color: #ffffff;
  border-left: 6px solid #0d6efd;
  padding: 2.5rem 1.5rem;
  margin: 3rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
  font-size: 1.8rem;
  color: #0d6efd;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0d6efd;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.deo-about .deo-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.deo-quote {
  background-color: #f0f8ff;
  border-left: 5px solid #0d6efd;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: #333;
  margin: 2rem 0;
  border-radius: 6px;
}

.deo-quote .quote-author {
  display: block;
  margin-top: 0.8rem;
  font-weight: bold;
  color: #0d6efd;
  font-style: normal;
}

.sub-title {
  font-size: 1.4rem;
  color: #0d6efd;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.deo-benefits {
  list-style: none;
  padding-left: 0;
}

.deo-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.deo-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-weight: bold;
}
.visual-break {
  text-align: center;
  margin: 3rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

.visual-break-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* スマホ向けの調整 */
@media (max-width: 576px) {
  .visual-break {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }

  .visual-break-img {
    max-height: 40vh; /* スマホでの縦長を抑える */
    border-radius: 8px;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-block {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.ratio {
  display: block;
  width: 100%;
  overflow: hidden;
}

.ratio img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-divider {
  border-top: 1px solid #ccc;
  margin: 30px 0;
  clear: both;
}
/* ============================
   比較表スタイル
============================ */
.comparison-table {
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
}

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

.comparison-table th {
  background-color: #f4f6f8;
  font-weight: bold;
  color: #333;
}

.comparison-table tr:nth-child(even) {
  background-color: #fafafa;
}

.comparison-table tr:hover {
  background-color: #f1f1f1;
}

.discount-row .price {
  font-weight: bold;
  color: #2e7d32;
}

.discount-row .arrow {
  margin: 0 0.5rem;
  color: #999;
}

.discount-row .savings {
  font-weight: bold;
  color: #d32f2f;
  background-color: #fce4ec;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.95rem;
}

.info-box {
  background-color: #e3f2fd;
  border-left: 6px solid #2196f3;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 700px;
  border-radius: 8px;
  font-size: 1rem;
  color: #0d47a1;
}

.info-box h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #1565c0;
}

.info-box .highlight {
  font-weight: bold;
  color: #d32f2f;
  background-color: #fff3e0;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.flow-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flow-diagram .step {
  background-color: #bbdefb;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  color: #0d47a1;
}

.flow-diagram .arrow {
  font-size: 1.2rem;
  color: #555;
}

/* セクションブロックに合わせた枠・余白 */
.pricing-comparison {
  background-color: #ffffff;
  border-left: 6px solid #0d6efd;
  padding: 2.5rem 1.5rem;
  margin: 3rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 見出しスタイル（section-title に準拠） */
.pricing-comparison h4 {
  font-size: 1.5rem;
  color: #0d6efd;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.3rem;
}

.pricing-comparison h4::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0d6efd;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* テーブル全体 */
.pricing-comparison table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

/* ヘッダー行 */
.pricing-comparison table th {
  background-color: #e3f2fd;
  color: #0d6efd;
  padding: 0.75rem;
  border-bottom: 2px solid #0d6efd;
  text-align: left;
  font-weight: normal;
}

.section-block {
  background-color: #ffffff;
  border-left: 6px solid #0d6efd;
  padding: 2.5rem 1.5rem;
  margin: 3rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
  font-size: 1.8rem;
  color: #0d6efd;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0d6efd;
  margin-top: 0.5rem;
  border-radius: 2px;
}
/* ============================
   CTAボタン
============================ */
.contact-btn {
  background-color: #0dcaf0;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(13, 202, 240, 0.25);
}

.contact-btn:hover {
  background-color: #31d2f2;
  box-shadow: 0 6px 16px rgba(13, 202, 240, 0.35);
}
.sp-br {
  display: none;
}

/* ============================
   レスポンシブ
============================ */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.6rem;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;
  }

  .sp-br {
    display: inline;
  }

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

  .graph-bar {
    font-size: 0.9rem;
  }
}
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
}

.curriculum-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.curriculum-table th,
.curriculum-table td {
  border: 1px solid #dee2e6;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.curriculum-table th {
  background-color: #e3f2fd;
  color: #0d6efd;
  font-weight: bold;
  white-space: nowrap;
}

.curriculum-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .curriculum-table {
    font-size: 0.9rem;
    min-width: 100%;
  }
}