/* ============================================================
   リゾートマンション特化型ホームページ制作サービス
   スラッグ: resort-mansion
   Figma 基準: PC 1280px
   ============================================================ */

/* ============================================================
   ヘッダー（内部ページは常時表示）
   ============================================================ */
.has-inner-page .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   ページ全体
   ============================================================ */
.rp {
  background: #f8f8f8;
  padding-top: var(--header-height);
}

/* ============================================================
   共通インナー（max-width + 水平パディング）
   ============================================================ */
.rp__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 7.8vw, 100px);
}

/* ============================================================
   ヒーロー
   ============================================================ */
.rp__hero {
  padding-block: clamp(48px, 8vh, 96px) clamp(32px, 5vh, 56px);
}

.rp__title {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.4vw, 6px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  color: #3d405b;
  letter-spacing: 0.02em;
}

.rp__title-sm {
  font-size: clamp(18px, 2.5vw, 32px);
  line-height: 1.6;
}

.rp__title-lg {
  font-size: clamp(28px, 3.75vw, 48px);
  line-height: 1.4;
}

/* ============================================================
   イントロカード
   ============================================================ */
.rp__intro {
  background: #fff;
  padding: clamp(28px, 3.1vw, 40px) clamp(24px, 3.9vw, 50px) clamp(36px, 4.6vw, 59px);
}

.rp__intro-heading {
  margin: 0 0 clamp(10px, 1.5vw, 16px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.875vw, 24px);
  color: #46474c;
  line-height: 1.61;
}

.rp__intro-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #46474c;
  line-height: 2.0625; /* 33/16 */
}

/* ============================================================
   セクション共通
   ============================================================ */
.rp__section {
  padding-block: clamp(80px, 12vh, 140px);
}

.rp__section-heading {
  margin: 0 0 clamp(40px, 5.5vh, 64px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #3d405b;
  line-height: 1.59;
  letter-spacing: 0.01em;
}

.rp__section-lead {
  margin-top: calc(-1 * clamp(16px, 2.5vh, 32px));
  margin-bottom: clamp(40px, 5.5vh, 64px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #1a1a1a;
  line-height: 2.25;
}

/* ============================================================
   Section 1: 管理組合がホームページを持つメリット
   ============================================================ */
.rp__merit {
  margin-bottom: clamp(48px, 7vh, 88px);
}

.rp__merit:last-child {
  margin-bottom: 0;
}

.rp__merit-title {
  margin: 0 0 clamp(16px, 2vh, 24px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.72vw, 22px);
  color: #46474c;
  line-height: 1.75;
}

.rp__merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.1vw, 14px);
}

.rp__merit-card {
  background: #fff;
  padding: clamp(24px, 2.7vw, 34px) clamp(24px, 3.1vw, 40px) clamp(28px, 3.9vw, 50px);
}

.rp__merit-card-title {
  margin: 0 0 clamp(8px, 1vw, 14px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #46474c;
  line-height: 2.41;
}

.rp__merit-card-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 16px);
  color: #1a1a1a;
  line-height: 2.25;
}

/* ============================================================
   Section 2: 価値共感マッチング
   ============================================================ */
.rp__match-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
  margin-bottom: clamp(10px, 1.4vw, 18px);
}

.rp__match-item {
  background: #fff;
  padding: clamp(24px, 2.7vw, 34px) clamp(24px, 3.9vw, 50px) clamp(28px, 3.9vw, 50px);
}

.rp__match-title {
  margin: 0 0 clamp(10px, 1.4vw, 18px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.72vw, 22px);
  color: #46474c;
  line-height: 1.75;
}

.rp__match-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #1a1a1a;
  line-height: 2.25;
}

.rp__match-body p {
  margin: 0;
}

.rp__match-body p + p {
  margin-top: 0.8em;
}

.rp__match-body strong {
  font-weight: 700;
}

.rp__match-summary {
  background: #fff;
  padding: clamp(24px, 2.7vw, 34px) clamp(24px, 3.9vw, 50px) clamp(28px, 3.9vw, 50px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #1a1a1a;
  line-height: 2.25;
}

.rp__match-summary p {
  margin: 0;
}

.rp__match-summary p + p {
  margin-top: 0.8em;
}

/* ============================================================
   Section 3: 館内利用者向けの限定ガイドサイト
   ============================================================ */
.rp__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.1vw, 14px);
}

.rp__guide-card {
  background: #fff;
  padding: clamp(24px, 2.7vw, 34px) clamp(24px, 3.1vw, 40px) clamp(28px, 3.9vw, 50px);
}

.rp__guide-card-title {
  margin: 0 0 clamp(8px, 1vw, 14px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #46474c;
  line-height: 2.41;
}

.rp__guide-card-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 16px);
  color: #1a1a1a;
  line-height: 2.25;
}

/* ============================================================
   Section 4: ワンストップ提供サービス
   ============================================================ */
.rp__service-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.95vw, 25px);
}

.rp__service-card {
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 8.1vw, 104px);
  padding: clamp(32px, 4.06vw, 52px)
           clamp(40px, 6.25vw, 80px)
           clamp(36px, 4.61vw, 59px)
           clamp(28px, 3.91vw, 50px);
}

/* ---- 左列（番号・タグライン） ---- */
.rp__service-meta {
  flex-shrink: 0;
  width: clamp(60px, 6.17vw, 79px);
}

.rp__service-num {
  margin: 0 0 clamp(8px, 1.33vw, 17px);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.19vw, 28px);
  color: #81b29a;
  line-height: 1.38;
}

.rp__service-tagline {
  margin: 0;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.17vw, 15px);
  color: #cbdfbd;
  line-height: 1.4;
}

/* ---- 右列（タイトル・本文） ---- */
.rp__service-content {
  flex: 1;
  min-width: 0;
}

.rp__service-title {
  margin: 0 0 clamp(4px, 0.5vw, 6px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.19vw, 28px);
  color: #46474c;
  line-height: 1.38;
}

.rp__service-subtitle {
  margin: 0 0 clamp(6px, 0.8vw, 10px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.48vw, 19px);
  color: #46474c;
  line-height: 2.04;
}

.rp__service-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #46474c;
  line-height: 2.0625; /* 33/16 */
}

/* ============================================================
   Section 5: ご契約・導入の流れ
   ============================================================ */
.rp__flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.9vw, 13px);
}

.rp__flow-list--continued {
  margin-top: clamp(6px, 0.9vw, 13px);
}

.rp__flow-item {
  background: #fff;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(18px, 2.2vw, 26px);
  padding-inline: clamp(24px, 3.1vw, 40px);
  min-height: clamp(60px, 6.6vw, 84px);
}

.rp__flow-num {
  flex-shrink: 0;
  width: clamp(44px, 4.7vw, 60px);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.19vw, 28px);
  color: #81b29a;
  line-height: 1.38;
}

.rp__flow-label {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.48vw, 19px);
  color: #46474c;
  line-height: 1.75;
}

.rp__flow-note {
  margin: clamp(20px, 2.5vw, 32px) 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: #46474c;
  line-height: 2.0625;
  text-align: center;
}

/* ============================================================
   Section 6: 締めのセクション（ダーク背景）
   ============================================================ */
.rp__closing {
  background: #3d405b;
}

.rp__closing-catch {
  margin: 0 0 clamp(40px, 6vh, 64px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.875vw, 24px);
  color: #fff;
  line-height: 2.0;
  letter-spacing: 0.02em;
}

.rp__closing-why {
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 2.7vw, 36px) clamp(24px, 3.9vw, 50px);
  margin-bottom: clamp(48px, 7vh, 80px);
}

.rp__closing-why-title {
  margin: 0 0 clamp(10px, 1.3vw, 16px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.72vw, 22px);
  color: #cbdfbd;
  line-height: 1.75;
}

.rp__closing-why-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2.25;
}

.rp__closing-heading {
  margin: 0 0 clamp(28px, 4vh, 48px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.875vw, 24px);
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.rp__closing-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 16px);
}

.rp__closing-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 36px);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 2.7vw, 36px) clamp(24px, 3.9vw, 50px);
}

.rp__closing-num {
  flex-shrink: 0;
  width: clamp(32px, 3vw, 44px);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.19vw, 28px);
  color: #81b29a;
  line-height: 1.38;
}

.rp__closing-item-content {
  flex: 1;
  min-width: 0;
}

.rp__closing-item-title {
  margin: 0 0 clamp(8px, 1vw, 12px);
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.48vw, 19px);
  color: #fff;
  line-height: 1.75;
}

.rp__closing-item-body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2.0625;
}

/* ============================================================
   レスポンシブ: SP（〜 767px）
   ============================================================ */
@media (max-width: 767px) {

  .rp {
    padding-top: 52px; /* SP ヘッダー高さ */
  }

  .rp__hero {
    padding-block: 36px 24px;
  }

  .rp__title-sm {
    font-size: 18px;
  }

  .rp__title-lg {
    font-size: 26px;
  }

  .rp__intro {
    padding: 24px 20px 32px;
  }

  .rp__intro-heading {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .rp__section {
    padding-block: clamp(56px, 9vh, 100px);
  }

  .rp__section-heading {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .rp__section-lead {
    margin-top: -8px;
    margin-bottom: 28px;
    font-size: 14px;
  }

  /* メリット: カードを縦積み */
  .rp__merit {
    margin-bottom: 40px;
  }

  .rp__merit-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .rp__merit-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rp__merit-card {
    padding: 20px 20px 28px;
  }

  .rp__merit-card-body {
    font-size: 14px;
  }

  /* マッチング */
  .rp__match-item {
    padding: 20px 20px 28px;
  }

  .rp__match-title {
    font-size: 15px;
  }

  .rp__match-body {
    font-size: 14px;
  }

  .rp__match-summary {
    padding: 20px 20px 28px;
    font-size: 14px;
  }

  /* ガイドグリッド: 縦積み */
  .rp__guide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rp__guide-card {
    padding: 20px 20px 28px;
  }

  .rp__guide-card-body {
    font-size: 14px;
  }

  /* サービスカード: 縦積み */
  .rp__service-card {
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px 28px;
  }

  .rp__service-meta {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }

  .rp__service-num {
    margin-bottom: 0;
    font-size: 24px;
  }

  .rp__service-tagline {
    font-size: 12px;
  }

  .rp__service-title {
    font-size: 20px;
  }

  .rp__service-subtitle {
    font-size: 14px;
  }

  .rp__service-body {
    font-size: 14px;
  }

  /* 締めのセクション */
  .rp__closing-catch {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 32px;
  }

  .rp__closing-why {
    padding: 20px 20px 28px;
  }

  .rp__closing-why-title {
    font-size: 16px;
  }

  .rp__closing-why-body {
    font-size: 14px;
  }

  .rp__closing-heading {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .rp__closing-item {
    padding: 20px 20px 28px;
    gap: 14px;
  }

  .rp__closing-num {
    font-size: 22px;
    width: 28px;
  }

  .rp__closing-item-title {
    font-size: 15px;
  }

  .rp__closing-item-body {
    font-size: 14px;
  }

  /* フロー */
  .rp__flow-item {
    padding: 16px 20px;
    gap: 14px;
  }

  .rp__flow-num {
    font-size: 20px;
    width: 36px;
  }

  .rp__flow-label {
    font-size: 14px;
    line-height: 1.6;
  }
}
