/* ===============================
   基本設定・カラー変数
=================================*/

:root {
  --color-bg: #F5F1E8;
  --color-bg-light: #F1ECE3;
  --color-bg-dark: #171D2F;
  --color-bg-card-dark: #22263A;

  --color-text-main: #222222;
  --color-text-sub: #555555;
  --color-text-invert: #FFFFFF;

  --color-accent: #C79A5A;  /* ゴールド */
  --color-accent-sub: #B73C5A; /* ワインレッド */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 9999px;

  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.06);

  --layout-width: 1080px;
}

/* リセット寄りの軽い初期化 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-sub);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

/* ===============================
   レイアウト共通
=================================*/

.lp {
  background-color: var(--color-bg);
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(23, 29, 47, 0.96);
  color: var(--color-text-invert);
  backdrop-filter: blur(8px);
}

.lp-header__inner {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header__logo {
  font-size: 16px;
  font-weight: 700;
}

.lp-header__cta {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-lg);
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 600;
}

.section {
  padding: 56px 16px;
}

.section__inner {
  max-width: var(--layout-width);
  margin: 0 auto;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.section__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
}

.section__lead {
  font-size: 15px;
  color: var(--color-text-sub);
}

/* ===============================
   ボタン共通
=================================*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: var(--shadow-soft);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(199, 154, 90, 0.5);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* ===============================
   ヒーローセクション
=================================*/

.hero {
  background: radial-gradient(circle at top, #252B40 0%, #171D2F 55%, #111626 100%);
  color: var(--color-text-invert);
  padding: 72px 16px 64px;
}

.hero__inner {
  max-width: var(--layout-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__text h1 {
  font-size: 26px;
  margin: 0 0 16px;
}

.hero__lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.hero__points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 14px;
}

.hero__points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--color-accent);
}

.hero__image {
  align-self: stretch;
  width: 100%;
  height: 327px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(199, 154, 90, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===============================
   共感パート（理由）
=================================*/

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

.reason__grid {
  display: grid;
  gap: 24px;
}

.reason__problems {
  display: grid;
  gap: 12px;
}

.reason__card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-soft);
}

.reason__card-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

/* ===============================
   安心・安全パート
=================================*/

.section--safe {
  background-color: #FFFFFF;
}

.safe__cards {
  display: grid;
  gap: 16px;
}

.safe-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid #E0D8C8;
  box-shadow: var(--shadow-soft);
}

.safe-card__icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.safe-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.safe-card__text {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* ===============================
   ランキング・比較パート
=================================*/

.section--ranking {
  background-color: var(--color-bg-dark);
  color: var(--color-text-invert);
}

.section--ranking .section__title {
  color: var(--color-text-invert);
  text-align: center;
}

.ranking__list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.ranking-card {
  background-color: var(--color-bg-card-dark);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
}

.ranking-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--radius-lg);
  background-color: rgba(199, 154, 90, 0.12);
  color: var(--color-accent);
  margin-bottom: 10px;
}

.ranking-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ranking-card__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.ranking-card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.ranking-card__table th,
.ranking-card__table td {
  padding: 4px 0;
}

.ranking-card__table th {
  text-align: left;
  width: 32%;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ===============================
   各アプリ詳細
=================================*/

.section--app-detail {
  background-color: #FFFFFF;
}

.app-detail {
  display: grid;
  gap: 18px;
}

.app-detail__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-detail__name {
  font-size: 20px;
  font-weight: 700;
}

.app-detail__catch {
  font-size: 14px;
  color: var(--color-text-sub);
}

.app-detail__points {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
}

.app-detail__points li {
  margin-bottom: 4px;
}

/* ===============================
   利用の流れ
=================================*/

.section--flow {
  background-color: var(--color-bg-light);
}

.flow__steps {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.flow-step {
  position: relative;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 16px 16px 52px;
  box-shadow: var(--shadow-soft);
}

.flow-step__num {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-step__text {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* ===============================
   体験談・口コミ
=================================*/

.section--voice {
  background-color: #FFFFFF;
}

.voice__list {
  display: grid;
  gap: 16px;
}

.voice-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-soft);
}

.voice-card::before {
  content: "“";
  position: absolute;
  font-size: 36px;
  color: rgba(0, 0, 0, 0.1);
  left: 12px;
  top: -10px;
}

.voice-card__text {
  font-size: 14px;
  margin-bottom: 6px;
}

.voice-card__meta {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* ===============================
   FAQ
=================================*/

.section--faq {
  background-color: var(--color-bg-light);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.faq-item__q {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.faq-item__a {
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ===============================
   最終CTA
=================================*/

.section--final-cta {
  background-color: #141829;
  color: var(--color-text-invert);
  text-align: center;
}

.section--final-cta .section__title {
  color: var(--color-text-invert);
}

.final-cta__buttons {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.final-cta__buttons .btn {
  width: 100%;
}

/* ===============================
   フッター
=================================*/

.lp-footer {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-sub);
  padding: 16px;
  background-color: #111318;
}

/* ===============================
   レスポンシブ
=================================*/

@media (min-width: 768px) {

  .section {
    padding: 72px 24px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero__text {
    flex: 1 1 55%;
  }

  .hero__image {
    flex: 1 1 45%;
    min-height: auto;
  }

  .hero__text h1 {
    font-size: 30px;
  }

  .section__title {
    font-size: 24px;
  }

  .reason__grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: flex-start;
  }

  .safe__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ranking__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ranking-card {
    height: 100%;
  }

  .app-detail {
    grid-template-columns: 1.1fr 1.2fr;
    align-items: center;
  }

  .flow__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flow-step {
    padding-left: 16px;
  }

  .flow-step__num {
    left: 16px;
  }

  .voice__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .final-cta__buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (min-width: 1024px) {
  .hero__text h1 {
    font-size: 32px;
  }

  .section__title {
    font-size: 26px;
  }
}
