/* ================================================================
   HOSHIKAMI — フロントページ v1.0
   依存: hoshikami-theme.css (CSS変数), hoshikami-member.css
   クラスプレフィックス: fp-
   ================================================================ */


/* ──────────────────────────────────────────────────────────────
   共通レイアウト
────────────────────────────────────────────────────────────── */
.fp-main {
    position: relative;
    z-index: 1;
}

.fp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.fp-section {
    padding: clamp(64px, 10vw, 104px) 0;
    position: relative;
}

/* エイブロウ（大） */
.fp-eyebrow {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(0.72rem, 2vw, 0.88rem);
    letter-spacing: 0.45em;
    color: var(--hk-t-gold);
    text-align: center;
    margin: 0 0 18px;
}

/* エイブロウ（小） */
.fp-eyebrow-sm {
    font-size: 0.72rem;
    letter-spacing: 0.45em;
    color: rgba(255, 209, 102, 0.60);
    text-align: center;
    margin: 0 0 14px;
}

/* セクションタイトル */
.fp-section-title {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1.55rem, 5vw, 2.4rem);
    font-weight: 400;
    color: var(--hk-t-gold-light);
    text-align: center;
    letter-spacing: 0.20em;
    margin: 0 0 14px;
    text-shadow: 0 0 28px rgba(255, 209, 102, 0.28);
}

/* セクションリード文 */
.fp-section-lead {
    font-size: clamp(0.88rem, 2.5vw, 1.02rem);
    color: rgba(238, 240, 255, 0.62);
    text-align: center;
    letter-spacing: 0.10em;
    line-height: 1.9;
    margin: 0 0 44px;
}

/* CTA 行 */
.fp-cta-row {
    text-align: center;
    margin-top: 48px;
}

.fp-cta-lead {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    color: rgba(238, 240, 255, 0.48);
    margin: 0 0 14px;
}


/* ──────────────────────────────────────────────────────────────
   ボタン共通
────────────────────────────────────────────────────────────── */
.fp-btn {
    display: inline-block;
    padding: 13px 36px;
    border-radius: 28px;
    font-family: var(--hk-t-font-jp);
    font-size: 0.9rem;
    letter-spacing: 0.22em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease,
                background 0.28s ease, border-color 0.28s ease;
    border: none;
    line-height: 1.5;
}

/* ゴールドボタン */
.fp-btn--gold {
    background: var(--hk-t-grad-gold);
    color: #1a1245;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(255, 209, 102, 0.38),
                0 0 44px rgba(255, 209, 102, 0.12);
}
.fp-btn--gold:hover,
.fp-btn--gold:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(255, 209, 102, 0.58),
                0 0 60px rgba(255, 209, 102, 0.20);
    text-decoration: none;
    color: #1a1245;
}

/* アウトラインボタン */
.fp-btn--outline {
    background: transparent;
    color: var(--hk-t-gold);
    border: 1px solid rgba(255, 209, 102, 0.45);
}
.fp-btn--outline:hover,
.fp-btn--outline:focus-visible {
    background: rgba(255, 209, 102, 0.10);
    border-color: rgba(255, 209, 102, 0.75);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--hk-t-gold-light);
}

/* 大きいサイズ */
.fp-btn--lg {
    padding: 16px 52px;
    font-size: 1rem;
}


/* ──────────────────────────────────────────────────────────────
   § 1  HERO
────────────────────────────────────────────────────────────── */
.fp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            rgba(4,  6, 15, 0.28) 0%,
            rgba(4,  6, 15, 0.62) 50%,
            rgba(4,  6, 15, 0.96) 100%),
        url('../images/hero-background.jpg') center / cover no-repeat;
}

@media (max-width: 600px) {
    .fp-hero {
        background:
            linear-gradient(180deg,
                rgba(4,  6, 15, 0.30) 0%,
                rgba(4,  6, 15, 0.65) 50%,
                rgba(4,  6, 15, 0.97) 100%),
            url('../images/hero-background_sp.png') center top / cover no-repeat;
    }
}

.fp-hero-inner {
    position: relative;
    z-index: 1;
    padding: 80px 20px 56px;
    max-width: 800px;
}

.fp-hero .fp-eyebrow {
    color: rgba(255, 209, 102, 0.75);
    margin-bottom: 22px;
}

.fp-hero-title {
    font-family: var(--hk-t-font-jp);
    font-weight: 300;
    color: var(--hk-t-gold-light);
    letter-spacing: 0.28em;
    line-height: 1.1;
    margin: 0 0 12px;
    text-shadow:
        0 0 32px rgba(255, 209, 102, 0.55),
        0 0 80px rgba(255, 209, 102, 0.20);
}

.fp-hero-sub {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    font-weight: 300;
    color: rgba(245, 233, 192, 0.88);
    letter-spacing: 0.38em;
    margin: 0 0 8px;
}

.fp-hero-copy {
    font-size: clamp(0.88rem, 2.5vw, 1.05rem);
    color: rgba(238, 240, 255, 0.65);
    letter-spacing: 0.20em;
    line-height: 1.9;
    margin: 0 0 44px;
}

.fp-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* スクロールインジケーター */
.fp-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.fp-scroll-icon {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 209, 102, 0.40);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}
.fp-scroll-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 209, 102, 0.60);
    border-radius: 2px;
    animation: fpScrollBob 2s ease-in-out infinite;
}

@keyframes fpScrollBob {
    0%, 100% { top: 6px;  opacity: 1;   }
    70%       { top: 18px; opacity: 0.2; }
}


/* ──────────────────────────────────────────────────────────────
   § 2  守護神占いとは（CONCEPT）
────────────────────────────────────────────────────────────── */
.fp-concept-section {
    text-align: center;
}

.fp-concept-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.fp-concept-lead {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1.06rem, 2.2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(236, 232, 222, 0.92);
    line-height: 2.1;
    margin: 0 0 40px;
}
.fp-concept-lead em {
    color: var(--hk-t-gold-light);
    font-style: normal;
}

.fp-divider-v {
    width: 0.5px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--hk-t-gold), transparent);
    margin: 0 auto 64px;
}

.fp-concept-body {
    font-size: 0.875rem;
    color: rgba(136, 120, 176, 0.85);
    line-height: 2.4;
    letter-spacing: 0.06em;
    margin: 0;
}


/* ──────────────────────────────────────────────────────────────
   § 4  5つの神域（コンテンツ一覧）
────────────────────────────────────────────────────────────── */
.fp-contents-section {
    position: relative;
}
.fp-contents-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.fp-contents-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.fp-contents-header {
    text-align: center;
    margin-bottom: 64px;
}

/* 家紋風ラベル */
.fp-kamon {
    text-align: center;
    font-size: clamp(24px,4.5vw,2rem);
    letter-spacing: 6px;
    color: var(--hk-t-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-indent: 1rem;
}
.fp-kamon::before,
.fp-kamon::after {
    content: '';
    width: 32px;
    height: 0.5px;
}
.fp-kamon::before { background: linear-gradient(to right, transparent, var(--hk-t-gold)); }
.fp-kamon::after  { background: linear-gradient(to left, transparent, var(--hk-t-gold)); }

.fp-label-en {
    display: block;
    text-align: center;
    font-size: 0.56rem;
    letter-spacing: 0.60em;
    color: rgba(120, 100, 170, 0.65);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* コンテンツカード列 */
.fp-content-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-content-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: stretch;
    border-top: 0.5px solid rgba(180, 148, 56, 0.18);
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}
.fp-content-card:last-child {
    border-bottom: 0.5px solid rgba(180, 148, 56, 0.18);
}

/* ホバー時の左ライン */
.fp-content-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--hk-t-gold), transparent);
    transform: scaleY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.fp-content-card:hover::after { transform: scaleY(1); }
.fp-content-card:hover { background: rgba(180, 148, 56, 0.04); }

/* カード番号 */
.fp-card-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border-right: 0.5px solid rgba(180, 148, 56, 0.18);
    position: relative;
}

.fp-card-num-text {
    font-size: 0.56rem;
    letter-spacing: 0.50em;
    color: rgba(120, 100, 170, 0.65);
    margin-bottom: 12px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.fp-card-icon {
    font-size: 1.75rem;
    opacity: 0.8;
    line-height: 1;
}

/* カード本文 */
.fp-card-main {
    padding: 48px;
}

.fp-card-en {
    font-size: 0.56rem;
    letter-spacing: 0.50em;
    color: rgba(120, 100, 170, 0.65);
    margin-bottom: 10px;
    display: block;
}

.fp-card-name {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: 0.20em;
    color: var(--hk-t-gold-light);
    margin: 0 0 6px;
    font-weight: 500;
}

.fp-card-name-sub {
    font-size: 0.75rem;
    color: rgba(120, 100, 170, 0.65);
    letter-spacing: 0.20em;
    margin-bottom: 20px;
    display: block;
}

.fp-card-img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    opacity: 0.88;
    border: 0.5px solid rgba(180, 148, 56, 0.18);
}

@media (max-width: 768px) {
    .fp-card-img { height: 140px; }
}

.fp-card-desc {
    font-size: 0.875rem;
    color: rgba(136, 120, 176, 0.85);
    line-height: 2.1;
    letter-spacing: 0.05em;
    max-width: 520px;
    margin: 0;
}
.fp-card-desc strong {
    color: rgba(236, 232, 222, 0.92);
    font-weight: 400;
}

/* ティアバッジ列 */
.fp-card-tiers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 48px 40px 48px 0;
    min-width: 200px;
}

.fp-tier {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 2px;
    white-space: nowrap;
}

.fp-tier-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ティア色 */
.fp-tier--free {
    color: var(--hk-t-gold);
    background: rgba(180, 148, 56, 0.08);
    border: 0.5px solid rgba(180, 148, 56, 0.25);
}
.fp-tier--free .fp-tier-dot { background: var(--hk-t-gold); }

.fp-tier--member {
    color: #b090e0;
    background: rgba(100, 70, 180, 0.08);
    border: 0.5px solid rgba(100, 70, 180, 0.25);
}
.fp-tier--member .fp-tier-dot { background: #b090e0; }

.fp-tier--3m {
    color: #e890b0;
    background: rgba(180, 80, 120, 0.08);
    border: 0.5px solid rgba(180, 80, 120, 0.20);
}
.fp-tier--3m .fp-tier-dot { background: #e890b0; }

.fp-tier--6m {
    color: #f0a080;
    background: rgba(180, 100, 60, 0.08);
    border: 0.5px solid rgba(180, 100, 60, 0.20);
}
.fp-tier--6m .fp-tier-dot { background: #f0a080; }

.fp-tier--locked {
    color: rgba(120, 100, 170, 0.65);
    background: transparent;
    border: 0.5px dashed rgba(74, 58, 112, 0.40);
    opacity: 0.5;
}
.fp-tier--locked .fp-tier-dot { background: rgba(120, 100, 170, 0.65); }

/* レスポンシブ：コンテンツカード */
@media (max-width: 768px) {
    .fp-content-card {
        grid-template-columns: 64px 1fr;
    }
    .fp-card-tiers { display: none; }
    .fp-card-main  { padding: 32px 24px; }
    .fp-card-num   { padding: 32px 16px; }
}


/* ──────────────────────────────────────────────────────────────
   § 5  CTA（無料診断への誘導）
────────────────────────────────────────────────────────────── */
.fp-cta-section {
    overflow: hidden;
    position: relative;
}
.fp-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%,
        rgba(80, 40, 160, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.fp-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fp-cta-torii {
    font-size: 2.5rem;
    opacity: 0.5;
    margin-bottom: 40px;
    display: block;
    animation: fpToriiPulse 4s ease-in-out infinite;
}

@keyframes fpToriiPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0.75; }
}

.fp-cta-title {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--hk-t-gold-light);
    line-height: 1.9;
    margin: 0 0 20px;
    text-shadow: 0 0 60px rgba(255, 209, 102, 0.25);
}

.fp-cta-sub {
    font-size: 0.875rem;
    color: rgba(136, 120, 176, 0.85);
    letter-spacing: 0.10em;
    line-height: 2.2;
    margin: 0 0 48px;
}

.fp-cta-btn {
    font-size: 0.95rem;
    padding: 18px 64px;
    letter-spacing: 0.40em;
}

.fp-cta-free {
    font-size: 0.68rem;
    color: rgba(120, 100, 170, 0.65);
    letter-spacing: 0.30em;
    margin-top: 24px;
}


/* ──────────────────────────────────────────────────────────────
   § 7  月額会員 CTA
────────────────────────────────────────────────────────────── */
.fp-mem-section {
    background: radial-gradient(ellipse at 50% 0%,
        rgba(255, 209, 102, 0.05) 0%, transparent 60%);
}

.fp-mem-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,209,102,0.06) 0%, transparent 55%),
        linear-gradient(160deg,
            rgba(10, 13, 30, 0.95) 0%,
            rgba(26, 18, 69, 0.90) 55%,
            rgba(14, 11, 38, 0.95) 100%);
    border: 1px solid rgba(255, 209, 102, 0.30);
    border-radius: 22px;
    padding: clamp(44px, 8vw, 76px) clamp(24px, 7vw, 72px);
    text-align: center;
    box-shadow:
        0 0 80px rgba(255, 209, 102, 0.06),
        inset 0 0 80px rgba(0, 0, 0, 0.26);
}
/* 上部装飾ライン */
.fp-mem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 209, 102, 0.55),
        transparent);
}

.fp-mem-head { margin-bottom: 38px; }

.fp-mem-title {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 300;
    color: var(--hk-t-gold-light);
    letter-spacing: 0.24em;
    margin: 0 0 14px;
    text-shadow: 0 0 36px rgba(255, 209, 102, 0.38);
}

.fp-mem-sub {
    font-size: clamp(0.88rem, 2.5vw, 1.05rem);
    color: rgba(238, 240, 255, 0.62);
    letter-spacing: 0.12em;
    line-height: 1.9;
    margin: 0;
}

.fp-mem-features {
    list-style: none;
    margin: 0 0 44px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.fp-mem-features li {
    font-family: var(--hk-t-font-jp);
    font-size: clamp(0.9rem, 2.5vw, 1.02rem);
    color: rgba(238, 240, 255, 0.80);
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 13px;
}

.fp-mem-check {
    color: var(--hk-t-gold);
    font-size: 0.68rem;
    flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   § 7.1  Membership 追加要素（料金・比較・安心バッジ）
────────────────────────────────────────────────────────────── */

/* 料金表示 */
.membership-price {
    margin: 0 0 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}
.price-amount {
    font-family: var(--hk-t-font-jp);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
    line-height: 1;
}
.price-period {
    font-size: 1rem;
    color: rgba(238, 240, 255, 0.70);
    opacity: 0.7;
}

/* 機能比較テーブル */
.membership-compare {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 36px;
    background: rgba(10, 13, 30, 0.55);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.875rem;
}
.membership-compare__header,
.membership-compare__row {
    display: grid;
    grid-template-columns: 1fr 60px 80px;
    align-items: center;
}
.membership-compare__header {
    background: rgba(255, 209, 102, 0.08);
    border-bottom: 1px solid var(--border-gold);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(255, 209, 102, 0.75);
    padding: 10px 16px;
}
.membership-compare__header span:not(:first-child),
.membership-compare__row span:not(:first-child) {
    text-align: center;
}
.membership-compare__row {
    padding: 9px 16px;
    color: rgba(200, 204, 255, 0.80);
    border-bottom: 1px solid rgba(255, 209, 102, 0.06);
    transition: background 0.15s;
}
.membership-compare__row:last-child {
    border-bottom: none;
}
.membership-compare__row:hover {
    background: rgba(255, 209, 102, 0.04);
}
.mc-check {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}
.mc-cross {
    color: rgba(166, 177, 255, 0.35);
    font-size: 1rem;
}

/* 安心バッジ */
.membership-note {
    margin-top: 14px;
    font-size: 0.8rem;
    color: rgba(238, 240, 255, 0.65);
    opacity: 0.65;
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   アクセシビリティ — モーション軽減
────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .fp-scroll-icon::after,
    .fp-daily-img { animation: none !important; }

    .fp-btn,
    .fp-feature,
    .fp-popular-card,
    .fp-post-card,
    .fp-post-thumb-img { transition: none !important; }
}
