/* ========================================
   家賃値上げ「ちょっと待って」サポート
   style.css
   ======================================== */

/* ---- Custom Properties ---- */
:root {
  --navy:      #1c3a5c;
  --navy-dark: #142d47;
  --amber:     #d98a14;
  --amber-hover: #c07c10;
  --text:      #1a1a1a;
  --text-sub:  #5a5a5a;
  --bg:        #ffffff;
  --bg-alt:    #f6f8fb;
  --border:    #dde1e8;
  --radius:    4px;
  --max-w:     720px;
  --sec-pad:   72px;
}

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

/* ---- Base ---- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family:
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    'Yu Gothic UI', 'Meiryo',
    -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

.section {
  padding: var(--sec-pad) 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ---- Typography ---- */
h2 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

p {
  font-size: 0.95rem;
}

/* ---- Button ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.5;
  transition: background 0.18s, opacity 0.18s;
  cursor: pointer;
}

.btn-cta {
  background: var(--amber);
  color: #fff;
  font-size: 1rem;
  padding: 17px 32px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--amber-hover);
  outline: none;
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 76px 0 64px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero-price-note {
  margin-top: 18px;
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ---- Problem ---- */
.problem-list {
  list-style: none;
  margin-bottom: 24px;
}

.problem-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  margin-bottom: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.7;
}

.problem-list li::before {
  content: '●';
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 0.55rem;
  color: var(--navy);
  line-height: 1.9;
}

.problem-note {
  font-size: 0.9rem;
  color: var(--text-sub);
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  line-height: 1.8;
}

/* ---- Value Grid ---- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.value-card {
  padding: 24px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 8px;
}

.value-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.87rem;
  color: var(--text-sub);
  line-height: 1.75;
}

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

/* ---- Trust ---- */
.trust-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.trust-caveat {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-caveat p {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin-bottom: 0;
}

/* ---- Report List ---- */
.report-list {
  list-style: none;
}

.report-list li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}

.report-list li:first-child {
  border-top: 1px solid var(--border);
}

.report-list li strong {
  flex-shrink: 0;
  min-width: 100px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--navy);
}

.report-list li span {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ---- Pricing ---- */
.pricing-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.pricing-card {
  text-align: center;
  padding: 36px 52px;
  background: var(--bg);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c0392b;
  background: #fdf0ee;
  border: 1px solid #f5c6c0;
  border-radius: 2px;
  padding: 3px 10px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.pricing-amount {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}

.pricing-yen {
  font-size: 1.5rem;
}

.pricing-tax {
  font-size: 0.9rem;
  font-weight: 400;
}

.pricing-regular {
  font-size: 0.84rem;
  color: var(--text-sub);
  text-decoration: line-through;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ---- Steps ---- */
.steps {
  list-style: none;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border);
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  position: relative;
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.step-body {
  padding-top: 8px;
}

.step-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* ---- Notes ---- */
.notes-list {
  list-style: none;
}

.notes-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.notes-list li:first-child {
  border-top: 1px solid var(--border);
}

.notes-list li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* ---- Info Table ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 13px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.info-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--navy);
  width: 130px;
  white-space: nowrap;
}

.info-table a {
  color: #1d6fc4;
  text-decoration: none;
}

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

/* ---- Footer CTA ---- */
.footer-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.footer-cta-lead {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.88;
  margin-bottom: 30px;
}

/* ---- 特定商取引法フッター ---- */
.tokusho-footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  padding: 40px 0 36px;
}

.tokusho-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.tokusho-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 20px;
  row-gap: 0;
  font-size: 0.85rem;
  line-height: 2.1;
  color: #888;
}

.tokusho-dl dt {
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.tokusho-dl dd {
  margin: 0;
}

.tokusho-dl a {
  color: #888;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tokusho-dl a:hover {
  color: #555;
}

@media (max-width: 640px) {
  .tokusho-dl {
    grid-template-columns: 1fr;
    row-gap: 0;
    line-height: 1.7;
  }

  .tokusho-dl dt {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .tokusho-dl dd {
    font-size: 0.83rem;
  }
}

/* ---- Site Footer ---- */
.site-footer {
  background: #141414;
  color: #888;
  padding: 26px 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ---- Utility ---- */
.sp-br {
  display: none;
}

/* ========================================
   Responsive — Mobile First
   ======================================== */
@media (max-width: 640px) {
  :root {
    --sec-pad: 52px;
  }

  /* hero */
  .hero {
    padding: 56px 0 48px;
  }

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

  .hero-lead {
    font-size: 0.92rem;
  }

  /* show soft break in CTA button text */
  .sp-br {
    display: inline;
  }

  /* button */
  .btn-cta {
    width: 100%;
    font-size: 0.93rem;
    padding: 16px 20px;
  }

  /* headings */
  h2 {
    font-size: 1.2rem;
  }

  /* problem */
  .problem-list li {
    padding-left: 38px;
    font-size: 0.92rem;
  }

  /* value grid: 1 col on mobile */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* report list */
  .report-list li {
    flex-direction: column;
    gap: 4px;
  }

  .report-list li strong {
    min-width: auto;
  }

  /* pricing */
  .pricing-card {
    padding: 28px 24px;
    width: 100%;
  }

  .pricing-amount {
    font-size: 2.1rem;
  }

  /* info table */
  .info-table th {
    width: 100px;
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .info-table td {
    font-size: 0.82rem;
    padding: 10px 12px;
  }
}

/* ===== Reassurance section ===== */
.section-reassurance {
  background: #edf2f9;
}

.reassurance-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reassurance-list li {
  background: #fff;
  border-left: 4px solid var(--navy);
  border-radius: 6px;
  padding: 16px 20px;
}

.reassurance-q {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.97rem;
}

.reassurance-a {
  display: block;
  color: #444;
  font-size: 0.93rem;
  line-height: 1.75;
}

.reassurance-close {
  text-align: center;
  font-size: 0.93rem;
  color: #666;
  margin: 0;
}

/* ===== Tokusho standalone page ===== */
.tokusho-page {
  padding: 48px 0 80px;
  min-height: calc(100vh - 64px);
}

.tokusho-back {
  margin-bottom: 32px;
}

.tokusho-back a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
}

.tokusho-back a:hover {
  text-decoration: underline;
}

.tokusho-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.tokusho-dl-page {
  font-size: 0.92rem;
  color: #333;
  line-height: 2.2;
}

.tokusho-dl-page dt {
  color: #555;
  font-size: 0.88rem;
}

.tokusho-dl-page dd {
  color: #222;
}

.tokusho-dl-page a {
  color: var(--navy);
}

/* ===== Footer tokusho link ===== */
.footer-tokusho-link {
  display: inline-block;
  margin-top: 8px;
  color: #777;
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.footer-tokusho-link:hover {
  color: #bbb;
}

/* ===== Sample section ===== */
.sample-section {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
}
.sample-link {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 32px;
  background: #1e3a5f;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}
.sample-link:hover {
  background: #2a4f7c;
}
