@charset "UTF-8";

@import "../../../n_common/css/_variable.css";
/* =========================================================
  物件の推しポイント　特設ページ
  掲載先: /special/favorite-thing/css/local.css
  スコープ: .area_favorite 配下のみに適用(既存スタイルと衝突しないよう
  すべて .area_favorite を起点に記述)

  元データ: Asm久米_推しポイント_edit.ai (2026-08-18解析)
  画像パーツ(文字アウトライン化済み)は images/ 配下に書き出し済みのものを使用。
========================================================== */

.area_favorite {
  /* ---- design tokens (元AIデータより抽出) ---- */
  --fav_pink: #e998a5; /* BEST3ロゴ・CTAボタン */
  --fav-grid-line: #84c5b1; /* CHECK下線グラデーション左(=main_c) */

  font-feature-settings: "palt";
  color: var(--font_c);
  overflow-wrap: break-word;

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

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

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

  .fav_pink {
    color: var(--fav_pink);
  }

  /* ---------------------------------------------------------
    見出し + BEST3
  --------------------------------------------------------- */
  .fav-lead {
    padding: 56px 20px 0;
    text-align: center;
    @media (width < 896px) {
      padding: 36px 16px 0;
    }
  }
  .fav-lead__ttl {
    font-family: var(--font_gothic);
    font-size: clamp(1.125rem, 0.4vw + 1rem, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .fav-lead__best3 {
    width: 180px;
    margin: 20px auto 0;
    @media (width < 896px) {
      width: 150px;
      margin-top: 14px;
    }
  }

  .fav-best {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: 32px auto 0;
    @media (width < 896px) {
      gap: 10px;
      width: calc(100% - 40px);
      margin-top: 20px;
    }
    li img {
      width: 100%;
    }
  }
  /* /fav-best */

  /* ---------------------------------------------------------
    マンションギャラリー写真
  --------------------------------------------------------- */
  .fav-gallery {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 48px auto 0;
    @media (width < 896px) {
      width: calc(100% - 40px);
      margin-top: 32px;
    }
  }
  /* /fav-gallery */

  /* ---------------------------------------------------------
    CHECK! みんなが選ぶ推しポイント
  --------------------------------------------------------- */
  .fav-check {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: 40px auto 0;
    @media (width < 896px) {
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 12px;
      width: calc(100% - 40px);
      margin-top: 32px;
    }
  }
  .fav-check__bubble {
    flex-shrink: 0;
    width: 150px;
    @media (width < 896px) {
      width: 100px;
    }
    @media (width < 480px) {
      order: 2;
      width: 50%;
    }
  }
  .fav-check__body {
    min-width: 0;
    padding-bottom: 8px;
    @media (width < 480px) {
      order: 1;
      width: 100%;
    }
  }
  .fav-check__ttl {
    font-family: var(--font_gothic);
    font-weight: 700;
    font-size: clamp(1.125rem, 0.6vw + 1rem, 1.625rem);
    line-height: 1.5;
    background: url("../images/line01.png") left bottom / 100% 4px no-repeat;
    padding-bottom: 10px;
    display: inline-block;
    word-break: keep-all;
  }
  .fav-check__txt {
    margin-top: 12px;
    font-size: clamp(0.875rem, 0.2vw + 0.8rem, 1rem);
    line-height: 1.8;
    @media (width < 480px) {
      text-align: justify;
    }
  }
  .fav-check__kuma {
    flex-shrink: 0;
    width: 110px;
    @media (width < 896px) {
      width: 84px;
      margin-left: auto;
    }
    @media (width < 480px) {
      order: 3;
      width: 45%;
    }
  }
  /* /fav-check */

  /* ---------------------------------------------------------
    推しポイント一覧グリッド(18枚)
  --------------------------------------------------------- */
  .fav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: 48px auto 0;
    @media (width < 896px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      width: calc(100% - 40px);
      margin-top: 32px;
    }
    li img {
      width: 100%;
      aspect-ratio: 1 / 1;
    }
  }
  /* /fav-grid */

  /* ---------------------------------------------------------
    推しポイントを見に行く CTA
  --------------------------------------------------------- */
  .fav-cta {
    width: calc(100% - 40px);
    max-width: 700px;
    margin: 56px auto 0;
    text-align: center;
    @media (width < 896px) {
      width: calc(100% - 40px);
      margin-top: 36px;
    }
  }
  .fav-cta__q {
    font-family: var(--font_gothic);
    font-weight: 700;
    font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  }
  .fav-cta__txt {
    margin-top: 12px;
    font-size: clamp(0.875rem, 0.2vw + 0.8rem, 1rem);
    line-height: 1.7;
  }
  .fav-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    margin: 24px auto 0;
    padding: 0.9em 1.8em;
    background: var(--fav_pink);
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.25rem);
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 4px 4px 8px rgba(4, 0, 0, 0.2);
    transition: opacity 0.2s;
    &:hover {
      opacity: 0.85;
      text-decoration: none;
    }
  }
  .fav-cta__btn__arrow {
    flex-shrink: 0;
    width: 8px;
    height: auto;
  }
  /* /fav-cta */

  padding-bottom: 56px;
  @media (width < 896px) {
    padding-bottom: 36px;
  }

  .fav-voice {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-block: 60px 0;
    @media (width < 896px) {
      padding-block: 40px 0;
    }
  }

}

.newline {
  display: inline-block;
}

.txt_number {
  font-size: 1.5em;
  color: var(--point02);
  color: var(--main_c);
}

.txt_small {
  display: inline-block;
  font-size: 0.7em;
}

.pconly {
  @media (width <= 896px) {
    display: none;
  }
}

.sponly {
  @media (width > 896px) {
    display: none;
  }
}
