/* ====================================
   Custom Properties
   ==================================== */
:root {
  --bg:          #F7F3F0;
  --bg-alt:      #EDE8E5;
  --primary:     #9B3A5A;
  --primary-dk:  #7A2845;
  --accent:      #C0506A;
  --text:        #3D2B2B;
  --text-muted:  #7A6666;
  --border:      #D4C8C4;
  --white:       #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
          'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --max: 720px;
  --r:   4px;
}

/* ====================================
   Section Image
   ==================================== */
.section-img {
  text-align: center;
}
.section-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ====================================
   Reset / Base
   ==================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px;
}

/* ====================================
   Layout
   ==================================== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================
   Sections
   ==================================== */
.section        { padding: 48px 0; }
.section--alt   { background: var(--bg-alt); }
.section--hero  { padding-top: 56px; }

.section--closing {
  background: var(--primary);
  color: var(--white);
}
.section--closing p { color: var(--white); }

/* ====================================
   Typography
   ==================================== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
}

.section--closing h2 { color: var(--white); }

h1 {
  font-size: 1.45rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.section--closing h2 {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--accent);
}

p {
  font-size: 1rem;
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

.section--closing strong { color: var(--white); }

/* ====================================
   強調テキスト
   ==================================== */
.emphasis {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  background: #FDF0F3;
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 0 var(--r) var(--r) 0;
}

/* ====================================
   引用ブロック
   ==================================== */
blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

blockquote p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 0.97rem;
}

/* ====================================
   成果リスト（Section 1）
   ==================================== */
.results-list {
  list-style: none;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 20px 20px 12px;
  margin: 24px 0;
}

.results-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}

.results-list li:last-child { border-bottom: none; }

.results-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

/* ====================================
   NG理由リスト（Section 3）
   ==================================== */
.reasons-list {
  list-style: none;
  margin: 20px 0;
}

.reasons-list li {
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.reasons-list__label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

/* ====================================
   問題点リスト（Section 4）
   ==================================== */
.issues-list {
  list-style: none;
  margin: 20px 0;
}

.issues-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.issues-list li:last-child { border-bottom: none; }

.issues-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(8px + 0.55em);
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}

/* ====================================
   特徴リスト（Section 5）
   ==================================== */
.feature-list {
  list-style: none;
  margin-bottom: 8px;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(8px + 0.55em);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ====================================
   テーブル（Section 4）
   ==================================== */
.table-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}

table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  width: 42%;
  vertical-align: top;
  white-space: nowrap;
}

table td {
  padding: 10px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

table tr:last-child td { border-bottom: none; }

/* ====================================
   ボタン
   ==================================== */
.btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--primary-dk); }

.btn--closing {
  background: var(--white);
  color: var(--primary);
  font-size: 1.05rem;
  padding: 18px 20px;
}

.btn--closing:hover { background: #F0ECE9; }

/* ====================================
   中間CTA
   ==================================== */
.mid-cta {
  margin-top: 36px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.mid-cta__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ====================================
   CTAボタン3列
   ==================================== */
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 520px) {
  .cta-btns {
    flex-direction: row;
  }
  .cta-btns .btn {
    flex: 1;
    font-size: 0.88rem;
    padding: 14px 8px;
  }
}

.btn--tel  { background: #FF8C00; }
.btn--tel:hover  { background: #e07a00; }
.btn--mail { background: #E03333; }
.btn--mail:hover { background: #c42b2b; }
.btn--line { background: #06C755; }
.btn--line:hover { background: #05a847; }

.btn__sub {
  display: block;
  font-size: 0.78em;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.92;
}

/* ====================================
   最終CTA（Section 7）
   ==================================== */
.main-cta {
  margin-top: 36px;
  text-align: center;
}

.main-cta__note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

/* ====================================
   追従バー
   ==================================== */
.sticky-bar {
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  left: 4px;
  right: 4px;
  z-index: 9999;
  background: linear-gradient(180deg, #64c769 0%, #0c9247 100%);
  border: 4px solid #fff;
  border-bottom: none;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 8px 12px 12px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.sticky-bar__title {
  color: #fff;
  font-size: 2.8vw;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.sticky-bar__btns {
  display: flex;
  gap: 1.07vw;
  align-items: stretch;
}

.sticky-bar__btn-wrap--single { flex: 1; }

.sticky-bar__btn-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10.67vw;
  border: 0.53vw solid #fff;
  border-radius: 6.67vw;
  text-decoration: none;
  background: #E03333;
  transition: opacity 0.2s;
}
.sticky-bar__btn-wrap a:hover { opacity: 0.85; }

.sticky-bar__btn-text {
  color: #fff;
  font-weight: 700;
  font-size: 4.27vw;
  line-height: 1;
  white-space: nowrap;
}

/* ====================================
   タブレット・PC（768px+）
   ==================================== */
@media (min-width: 768px) {
  body { padding-bottom: 88px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.15rem; }

  .section       { padding: 64px 0; }
  .section--hero { padding-top: 80px; }

  .container { padding: 0 40px; }

  table th { width: 36%; white-space: normal; }

  .btn--closing {
    max-width: 460px;
    margin: 0 auto;
  }

  .sticky-bar {
    left: 50%;
    right: auto;
    width: 720px;
    border-radius: 20px 20px 0 0;
    padding: 10px 20px 16px;
    transform: translateX(-50%) translateY(110%);
  }

  .sticky-bar--visible {
    transform: translateX(-50%) translateY(0);
  }

  .sticky-bar__title { font-size: 0.8rem; }

  .sticky-bar__btns { gap: 6px; }

  .sticky-bar__btn-wrap a {
    height: 52px;
    border-radius: 26px;
    border-width: 2px;
  }

  .sticky-bar__btn-text { font-size: 1.05rem; }
}
