@charset "UTF-8";

/* ==========================================
   1. ベース設定（リセット・共通変数）
   ========================================== */
:root {
  --primary-color: #0088cc;     /* メインの清潔感あるブルー */
  --accent-color: #ff9900;      /* コンバージョン（ボタン）用オレンジ */
  --line-color: #06c755;        /* LINEカラー */
  --text-color: #333333;        /* 基本文字色 */
  --bg-light: #f4f8fa;          /* 背景用薄いブルーグレー */
  --border-color: #e0e0e0;      /* 枠線色 */
  --max-width: 1000px;
}

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

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

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

section {
  padding: 60px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ==========================================
   2. ヘッダー
   ========================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.header nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: bold;
}

.header nav a:hover {
  color: var(--primary-color);
}

.btn-cta-header {
  background-color: var(--accent-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
}

/* ==========================================
   3. ファーストビュー（Hero）
   ========================================== */
.hero {
  background: linear-gradient(135deg, #e6f4ff 0%, #ffffff 100%);
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 100%;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #111;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.btn-line, .btn-web, .btn-line-large {
  display: block;
  padding: 16px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, opacity 0.2s;
}

.btn-line {
  background-color: var(--line-color);
  color: #fff;
}

.btn-web {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-line-large {
  background-color: var(--line-color);
  color: #fff;
  max-width: 400px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.btn-line:hover, .btn-web:hover, .btn-line-large:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ==========================================
   4. お悩み共感
   ========================================== */
.trouble {
  background-color: var(--bg-light);
  border-radius: 12px;
  margin-top: 40px;
}

.trouble ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 20px;
}

.trouble li {
  padding: 12px 15px 12px 35px;
  background: #fff;
  margin-bottom: 10px;
  border-radius: 6px;
  position: relative;
  border-left: 4px solid #ff4d4d;
}

.trouble li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: #ff4d4d;
  font-weight: bold;
}

.trouble-cause {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #d9534f;
}

/* ==========================================
   5. 強み（無料分解診断）
   ========================================== */
.feature-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.feature-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* ==========================================
   6. 料金簡易案内
   ========================================== */
.price-summary {
  background-color: var(--bg-light);
  border-radius: 12px;
  text-align: center;
}

.price-summary table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 25px;
  border-collapse: collapse;
  background: #fff;
}

.price-summary th, .price-summary td {
  padding: 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.price-summary th {
  background-color: #f0f4f8;
  width: 40%;
}

.btn-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

/* ==========================================
   7. FAQ＆キャンセルポリシー
   ========================================== */
.faq dl {
  max-width: 800px;
  margin: 0 auto;
}

.faq dt {
  font-weight: bold;
  background-color: #eef7fc;
  padding: 12px 15px;
  border-radius: 6px;
  margin-top: 15px;
  color: var(--primary-color);
}

.faq dd {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.7;
}

/* ==========================================
   8. お問い合わせ＆フッター
   ========================================== */
.contact {
  text-align: center;
  background: linear-gradient(135deg, #e6f4ff 0%, #ffffff 100%);
  border-radius: 12px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  margin-top: 15px;
  font-size: 0.8rem;
  color: #888;
}

/* ==========================================
   9. 料金ページ専用スタイル（PC・レスポンシブ統合）
   ========================================== */
.page-breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.page-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.price-table-wrapper {
  margin-bottom: 40px;
}

.price-table-title {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.price-table thead tr {
  border-bottom: 2px solid #ddd;
  text-align: left;
  background-color: #f9f9f9;
}

.price-table .row-special {
  background-color: #fcf8f2;
}

.price-table .text-highlight {
  color: #d9534f;
}

/* 追加費用・オプションエリア */
.option-section {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 24px 16px;
  margin-bottom: 40px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.option-block h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
  text-align: center;
}

.option-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.9rem;
}

.option-item-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
}

.option-item-name::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.option-price {
  font-weight: bold;
  color: var(--text-color);
  white-space: nowrap;
}

.option-notes {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
}

/* ==========================================
   10. レスポンシブ対応（スマホ表示最適化）
   ========================================== */
@media (max-width: 768px) {
  .header nav {
    display: none; /* スマホ時のナビ非表示 */
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  section {
    padding: 40px 15px;
  }

  .price-summary th, .price-summary td {
    display: block;
    width: 100%;
  }

  .price-summary th {
    background-color: #e6f4ff;
  }

  /* 料金表のカード型UI化 */
  .price-table, 
  .price-table tbody, 
  .price-table tr, 
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .price-table tr.row-special {
    border: 2px solid #f0ad4e;
    background-color: #fffdf9;
  }

  .price-table td {
    padding: 6px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .price-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #666;
    font-size: 0.85rem;
  }

  .price-table td:last-child {
    display: block;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #eee;
    text-align: left;
  }

  .price-table td:last-child::before {
    display: block;
    margin-bottom: 4px;
  }

  /* 追加費用・オプションの1列レイアウト化 */
  .option-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}