@charset "UTF-8";
:root {
  --green: #00c300;
  --blue: #007aff;
  --text: #1f2937;
  --bg: #ffffff;
  --muted: #f3f4f6;
  --accent: #f59e0b;
  --border: #e5e7eb;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* LPはセンタリング指定（ご指定） */
body {
  text-align: center;
}

/* リストスタイルなし（ご指定） */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ====== Header + Top menu anchors ====== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.brand-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
}

nav.top-nav {
  margin-left: auto;
  display: none;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
nav.top-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  opacity: 0.9;
}
nav.top-nav a:hover {
  opacity: 1;
}

.top-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    opacity 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--line {
  background: var(--green);
  color: #fff;
}
.btn--tel {
  background: var(--blue);
  color: #fff;
}
.btn--ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

/* ====== Hero with Background Image ====== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #111;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg1.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.02);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: -1;
}

.hero-inner {
  padding: 44px 0 34px;
}
.badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.98);
  color: #111;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  margin: 0 auto 18px;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-points {
  margin: 0 auto 18px;
  max-width: 840px;
  display: grid;
  gap: 10px;
}
.hero-points li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ====== Sections ====== */
section {
  padding: 42px 0;
}
.sec-title {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  margin: 0 0 10px;
}
.lead {
  margin: 0 auto 20px;
  max-width: 920px;
  color: #374151;
}

.grid {
  display: grid;
  gap: 14px;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: none;
}
.muted-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.mini {
  color: #6b7280;
  font-size: 0.92rem;
}
.mini a {
  color: #0f172a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ====== Pricing (Screenshot-like) ====== */
.price-wrap {
  margin-top: 18px;
}
.price-title {
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  border: 2px solid #b9d7f5;
  border-radius: 18px;
  padding: 18px 16px 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-weight: 900;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.plan--recommended .tag {
  background: #ff8a2a;
  color: #fff;
  border-color: transparent;
}

.plan h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  font-weight: 900;
}
.plan .price {
  font-size: 2rem;
  font-weight: 1000;
  margin: 2px 0 8px;
  letter-spacing: 0.01em;
}
.plan .price small {
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.75;
}

.plan .sub {
  margin: 0 0 14px;
  color: #6b7280;
  font-weight: 700;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
  text-align: left; /* チェックは読みやすさ優先 */
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.checks li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
  color: #111827;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-weight: 1000;
}

.plan .warn {
  margin: 10px auto 0;
  max-width: 520px;
  background: #fff1c8;
  border: 2px solid #f7c948;
  color: #7a4b00;
  border-radius: 12px;
  padding: 10px 10px;
  font-weight: 900;
  font-size: 0.9rem;
}

.plan .btn {
  width: min(260px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}
.plan .btn--plan {
  background: #00b400;
  color: #fff;
}

.price-foot {
  margin-top: 12px;
  color: #6b7280;
  font-size: 0.9rem;
}

/* ====== CTA Banner ====== */
.cta-banner {
  margin-top: 14px;
  background: linear-gradient(90deg, #fff 0%, #e9fce9 40%, #eef5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

/* ====== Contact form ====== */
.form-wrap label {
  display: block;
  font-size: 0.95rem;
  margin: 12px 0 6px;
  color: #374151;
  font-weight: 800;
}
.form-wrap input,
.form-wrap textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
  text-align: left; /* 入力は左寄せが使いやすい */
}
.form-wrap textarea {
  min-height: 140px;
}

footer {
  padding: 24px 0 28px;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ====== Floating CTA + Back to Top ====== */
.floating-cta {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
  z-index: 2147483000;
  justify-items: end;
}
.floating-cta .btn {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.to-top {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ====== Anchor offset for sticky header ====== */
.anchor {
  scroll-margin-top: 78px;
}

/* ====== Responsive ====== */
@media (min-width: 960px) {
  nav.top-nav {
    display: flex;
  }
  .top-cta {
    margin-left: 14px;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 真ん中を少し目立たせる（キャプチャ寄せ） */
  .plan--recommended {
    transform: translateY(-6px);
  }
}
@media (max-width: 768px) {
  /* モバイルでは上部CTAは表示する（必要なら消せます） */
}

/* ========== Mobile Safety Patch ========== */

/* ヘッダー：スマホは縦積みで押しやすく */
@media (max-width: 959px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .brand-wrap {
    width: 100%;
    justify-content: center;
    min-width: 0; /* ここ重要：固定幅で詰まるのを防ぐ */
  }

  .top-cta {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .top-cta .btn {
    width: min(420px, 100%);
  }
}

/* ボタン：スマホで文字が潰れないように */
.btn {
  white-space: normal;
  line-height: 1.3;
}

/* セクション余白：スマホは少し詰める（見やすさ） */
@media (max-width: 480px) {
  section {
    padding: 34px 0;
  }
}

/* form-mailer 埋め込み：横スクロール抑止 */
.formmailer-embed,
.formmailer-embed * {
  max-width: 100% !important;
}
.formmailer-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
}
/* ====== Hero image: mobile optimize ====== */
.hero::before {
  background-position: center 35%; /* 顔や上部を見せたい時は数値調整 */
}

/* スマホはFVを短くして“背景がデカい感”を減らす */
@media (max-width: 600px) {
  .hero-inner {
    padding: 26px 0 22px; /* 44/34 → 短縮 */
  }
  .hero h1 {
    margin: 10px 0 6px;
  }
  .hero-sub {
    font-size: 0.98rem;
  }
  .hero-points {
    gap: 8px;
  }
  .hero-points li {
    padding: 0.6rem 0.8rem;
  }
}
/* 単品回収 注意ボックス（控えめ版） */
.price-card .fee-chip {
  display: inline-block;
  max-width: 90%;
  box-sizing: border-box;

  font-size: 0.75rem; /* ← さらに小さく */
  line-height: 1.45;
  font-weight: 600;

  padding: 6px 10px; /* ← ボックスも小さく */
  border-radius: 6px; /* ← 少しシャープに */

  background: #fff9e6; /* ← かなり薄い黄色 */
  border: 1px solid #f3c45c; /* ← 枠も細く */
}

@media (max-width: 768px) {
  .price-card .fee-chip {
    font-size: 0.72rem;
    padding: 5px 8px;
    max-width: 94%;
  }
}

}

/* ▼ 条件ありカードの注意囲みを控えめに */
.plan__warn {
  background: #fff8e6; /* 薄い黄色 */
  border: 1px solid #f3c45c; /* 枠を細く */
  color: #7a4b00;

  font-size: 0.78rem; /* 文字を小さく */
  font-weight: 700; /* 少し軽く */

  padding: 8px 10px; /* ボックスもコンパクトに */
  border-radius: 10px; /* 少しシャープに */
  max-width: 520px; /* 横幅少し抑える */
}

@media (max-width: 600px) {
  .plan__warn {
    font-size: 0.74rem;
    padding: 7px 8px;
  }
}
/* ▼ 条件カード：囲みとボタンの間に余白を追加 */
.plan__warn {
  margin-bottom: 16px; /* ← ここが重要 */
}

/* ボタンにも少し余裕 */
.btn--plan {
  margin-top: 6px;
}
