/* ===================================================
 * ご縁ドットジェーピー - メインCSS
 * ポップ × 明るい × 使いやすさ重視
 * =================================================== */

:root {
    --color-primary: #FF6B6B;        /* コーラルレッド */
    --color-primary-dark: #EE5A5A;
    --color-primary-light: #FFE0E0;
    --color-secondary: #FFA94D;       /* オレンジ */
    --color-secondary-dark: #FF922B;
    --color-accent: #FFD93D;          /* イエロー */
    --color-teal: #4ECDC4;            /* ターコイズ */
    --color-purple: #A78BFA;          /* パープルアクセント */
    --color-pink: #FF85A2;            /* ソフトピンク */
    --color-bg: #FFFAF5;              /* 薄いクリーム */
    --color-bg-alt: #FFF1E6;
    --color-card: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-soft: #6B6B6B;
    --color-text-muted: #9A9A9A;
    --color-border: #FFE5D9;
    --color-border-strong: #FFCBA4;
    --color-success: #51CF66;
    --color-warning: #FFD43B;
    --color-error: #FF6B6B;
    --color-info: #339AF0;

    --shadow-sm: 0 2px 8px rgba(255, 107, 107, 0.08);
    --shadow-md: 0 6px 24px rgba(255, 107, 107, 0.12);
    --shadow-lg: 0 12px 40px rgba(255, 107, 107, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --font-sans: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    --font-display: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    font-size: 15px;
}

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

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color .2s;
}
a:hover { color: var(--color-primary); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .8em; line-height: 1.4; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

/* ============== レイアウト ============== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.container-mid { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }

/* ============== ヘッダー ============== */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; max-width: 1280px; margin: 0 auto;
}
.logo {
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.5rem;
    color: var(--color-primary);
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
}
.logo:hover { text-decoration: none; color: var(--color-primary-dark); }
.logo-emoji { font-size: 1.7rem; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: .92rem;
    transition: all .2s;
}
.main-nav a:hover { background: var(--color-primary-light); color: var(--color-primary-dark); text-decoration: none; }
.main-nav a.active { background: var(--color-primary); color: white; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--color-primary); }

@media (max-width: 880px) {
    .main-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; align-items: stretch;
        padding: 16px; gap: 4px; box-shadow: var(--shadow-md);
        border-bottom-left-radius: var(--radius-md);
        border-bottom-right-radius: var(--radius-md);
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; text-align: left; }
    .nav-toggle { display: block; }
}

/* ============== ボタン ============== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 24px;
    background: var(--color-primary);
    color: white !important;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    box-shadow: var(--shadow-sm);
    font-family: inherit;
}
.btn:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.btn-secondary { background: var(--color-secondary); }
.btn-secondary:hover { background: var(--color-secondary-dark); }

.btn-teal { background: var(--color-teal); }
.btn-teal:hover { background: #3BB5AC; }

.btn-outline {
    background: transparent;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    box-shadow: none;
}
.btn-outline:hover { background: var(--color-primary); color: white !important; }

.btn-ghost {
    background: transparent;
    color: var(--color-text-soft) !important;
    box-shadow: none;
}
.btn-ghost:hover { background: var(--color-bg-alt); color: var(--color-text) !important; }

.btn-danger { background: var(--color-error); }
.btn-danger:hover { background: #E03E3E; }

.btn-block { width: 100%; }

/* ============== ヒーロー ============== */
.hero {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFE0EC 0%, #FFF1E6 50%, #FFFAF5 100%);
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; opacity: .35; z-index: 0;
    filter: blur(60px);
}
.hero::before { width: 360px; height: 360px; background: var(--color-primary); top: -80px; left: -80px; }
.hero::after { width: 280px; height: 280px; background: var(--color-accent); bottom: -60px; right: -60px; }

.hero-inner {
    position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.hero .lead {
    font-size: 1.15rem;
    color: var(--color-text-soft);
    margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px; margin-left: auto;
}
.hero-visual .blob {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, #FFD3D3, var(--color-primary));
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    animation: blob 12s ease-in-out infinite alternate;
    box-shadow: var(--shadow-lg);
}
.hero-visual .emoji {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
}
@keyframes blob {
    0% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
    100% { border-radius: 45% 55% 40% 60% / 60% 50% 50% 40%; }
}

@media (max-width: 880px) {
    .hero { padding: 50px 20px; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero h1 { font-size: 2.1rem; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 280px; margin: 0 auto; }
}

/* ============== カード ============== */
.card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; }
.card h3 { color: var(--color-primary-dark); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ============== タレント・案件カード ============== */
.talent-card {
    display: flex; flex-direction: column;
    background: var(--color-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all .2s;
}
.talent-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.talent-card .thumb {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-alt));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: var(--color-primary);
    overflow: hidden;
    position: relative;
}
.talent-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.talent-card .body { padding: 16px 20px 20px; }
.talent-card .name { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; color: var(--color-text); }
.talent-card .meta { color: var(--color-text-soft); font-size: .85rem; margin: 0 0 10px; }
.talent-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }

.job-card {
    background: var(--color-card);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    transition: all .2s;
    display: flex; flex-direction: column; gap: 10px;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-card .job-title { font-size: 1.15rem; font-weight: 700; color: var(--color-text); margin: 0; }
.job-card .job-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--color-text-soft); font-size: .88rem; }
.job-card .job-meta strong { color: var(--color-primary-dark); font-weight: 700; }
.job-card .job-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ============== タグ ============== */
.tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
}
.tag-pink { background: var(--color-primary-light); color: var(--color-primary-dark); }
.tag-orange { background: #FFEFD9; color: var(--color-secondary-dark); }
.tag-teal { background: #DDF7F4; color: #2BA399; }
.tag-purple { background: #ECE6FF; color: #7C5DE6; }

/* ============== バッジ ============== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
}
.badge-gray { background: #F1F3F5; color: #495057; }
.badge-yellow { background: #FFF3BF; color: #B68900; }
.badge-green { background: #D3F9D8; color: #2B8A3E; }
.badge-red { background: #FFE3E3; color: #C92A2A; }
.badge-blue { background: #DBE4FF; color: #364FC7; }

/* ============== フォーム ============== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--color-text); font-size: .92rem; }
.form-label .required { color: var(--color-error); margin-left: 4px; font-weight: 800; }
.form-help { color: var(--color-text-muted); font-size: .82rem; margin-top: 4px; }

.form-control,
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="url"],
input[type="date"], input[type="datetime-local"], input[type="search"],
select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--color-text);
    transition: all .2s;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
textarea { min-height: 110px; resize: vertical; }

.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-check {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    padding: 6px 0;
}
.form-check input[type="checkbox"], .form-check input[type="radio"] {
    width: 18px; height: 18px; accent-color: var(--color-primary); cursor: pointer;
}

.checkbox-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-tags label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: var(--color-bg-alt);
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-pill);
    cursor: pointer; font-size: .9rem;
    transition: all .2s;
}
.checkbox-tags input { display: none; }
.checkbox-tags label:has(input:checked),
.checkbox-tags label.checked {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ============== フラッシュメッセージ ============== */
.flash {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid transparent;
}
.flash-success { background: #EBFBEE; color: #2B8A3E; border-color: #B2F2BB; }
.flash-error   { background: #FFF5F5; color: #C92A2A; border-color: #FFC9C9; }
.flash-warning { background: #FFF9DB; color: #B68900; border-color: #FFE066; }
.flash-info    { background: #E7F5FF; color: #1864AB; border-color: #A5D8FF; }

/* ============== テーブル ============== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.table th, .table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.table th {
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: .88rem;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #FFFBF7; }

/* ============== ページネーション ============== */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 16px;
    margin: 30px 0;
}
.pagination a {
    padding: 8px 16px;
    background: white;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-pill);
    color: var(--color-primary-dark) !important;
    font-weight: 600;
    text-decoration: none;
}
.pagination a:hover { background: var(--color-primary); color: white !important; border-color: var(--color-primary); text-decoration: none; }
.pagination .page-info { color: var(--color-text-soft); font-weight: 600; }

/* ============== サイドバー & ダッシュボードレイアウト ============== */
.dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    max-width: 1280px; margin: 30px auto; padding: 0 20px;
    align-items: start;
}
.dashboard .sidebar {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: sticky; top: 90px;
}
.dashboard .sidebar h4 {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-text-muted);
    padding: 6px 12px; margin-top: 12px;
}
.dashboard .sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 2px;
    text-decoration: none;
}
.dashboard .sidebar a:hover { background: var(--color-primary-light); color: var(--color-primary-dark); text-decoration: none; }
.dashboard .sidebar a.active { background: var(--color-primary); color: white; }
.dashboard .main { min-width: 0; }

@media (max-width: 880px) {
    .dashboard { grid-template-columns: 1fr; }
    .dashboard .sidebar { position: static; }
}

/* ============== KPI カード ============== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.kpi {
    padding: 20px;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
}
.kpi.kpi-orange { border-top-color: var(--color-secondary); }
.kpi.kpi-teal { border-top-color: var(--color-teal); }
.kpi.kpi-purple { border-top-color: var(--color-purple); }
.kpi .label { font-size: .85rem; color: var(--color-text-soft); margin-bottom: 6px; }
.kpi .value { font-size: 1.8rem; font-weight: 800; color: var(--color-text); font-family: var(--font-display); }
.kpi .sub { font-size: .8rem; color: var(--color-text-muted); margin-top: 4px; }

/* ============== チャット ============== */
.chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 78vh;
    min-height: 500px;
}
.thread-list {
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    background: var(--color-bg);
}
.thread-list .thread-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    display: block; color: var(--color-text); text-decoration: none;
}
.thread-list .thread-item.active { background: var(--color-primary-light); }
.thread-list .thread-item:hover { background: var(--color-bg-alt); text-decoration: none; }
.thread-list .thread-item .thread-name { font-weight: 700; }
.thread-list .thread-item .thread-snippet { font-size: .82rem; color: var(--color-text-muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-pane { display: flex; flex-direction: column; min-height: 0; }
.chat-pane .chat-header { padding: 16px 20px; border-bottom: 1px solid var(--color-border); background: var(--color-bg); font-weight: 700; }
.chat-pane .chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.55; word-wrap: break-word; }
.chat-msg.them { background: #F1F3F5; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.me { background: var(--color-primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .meta { font-size: .7rem; opacity: .75; margin-top: 4px; }
.chat-pane .chat-form { padding: 12px; border-top: 1px solid var(--color-border); display: flex; gap: 8px; background: white; }
.chat-pane .chat-form textarea { min-height: 44px; flex: 1; }

@media (max-width: 800px) {
    .chat-layout { grid-template-columns: 1fr; height: auto; }
    .thread-list { max-height: 240px; }
}

/* ============== ステップ ============== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.steps .step {
    background: white;
    padding: 24px 20px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
}
.steps .step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; top: -16px; left: 16px;
    width: 36px; height: 36px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.steps .step h4 { margin-top: 8px; color: var(--color-primary-dark); }
@media (max-width: 880px) {
    .steps { grid-template-columns: 1fr; }
}

/* ============== フッター ============== */
.site-footer {
    background: linear-gradient(135deg, #FFF1E6, #FFE0EC);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--color-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px 30px;
    border-bottom: 1px solid var(--color-border);
}
.footer-grid h5 { margin: 0 0 14px; color: var(--color-primary-dark); font-size: .95rem; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: .9rem; }
.footer-grid li a { color: var(--color-text); }
.footer-grid li a:hover { color: var(--color-primary); }
.footer-bottom {
    text-align: center;
    padding: 20px 20px 0;
    color: var(--color-text-muted);
    font-size: .85rem;
}
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============== その他ユーティリティ ============== */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-soft { color: var(--color-text-soft); }
.text-primary { color: var(--color-primary); }
.text-success { color: #2B8A3E; }
.text-error { color: #C92A2A; }
.fw-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.flex-end { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.hidden { display: none !important; }

/* ============== セクション見出し ============== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-radius: var(--radius-pill);
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .05em;
}
.section-title h2 { font-size: 2rem; margin-bottom: 8px; }
.section-title p { color: var(--color-text-soft); }

/* ============== 通知バッジ ============== */
.notif-dot {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    background: var(--color-primary);
    color: white;
    border-radius: 999px;
    font-size: .7rem; font-weight: 700;
    margin-left: 4px;
}

/* ============== アバター ============== */
.avatar {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 80px; height: 80px; font-size: 1.5rem; }
.avatar-xl { width: 120px; height: 120px; font-size: 2rem; }

/* ============== プロフィール詳細ヘッダー ============== */
.profile-header {
    display: flex; gap: 24px; align-items: center;
    background: linear-gradient(135deg, #FFE0EC, #FFF1E6);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.profile-header .info h1 { margin: 0 0 8px; font-size: 1.8rem; }
.profile-header .info .meta { color: var(--color-text-soft); }

@media (max-width: 600px) {
    .profile-header { flex-direction: column; text-align: center; }
}

/* ============== プライスカード ============== */
.price-card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    text-align: center;
    transition: all .2s;
}
.price-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    position: relative;
}
.price-card.featured::before {
    content: '人気No.1';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--color-primary); color: white;
    padding: 4px 14px; border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 700;
}
.price-card h3 { color: var(--color-primary-dark); margin-bottom: 16px; }
.price-card .price { font-size: 2.5rem; font-weight: 800; color: var(--color-text); font-family: var(--font-display); }
.price-card .price small { font-size: .9rem; color: var(--color-text-muted); }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-card li { padding: 6px 0; padding-left: 24px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 800; }

/* ============== FAQ ============== */
details.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 12px;
    cursor: pointer;
}
details.faq-item[open] { box-shadow: var(--shadow-sm); }
details.faq-item summary {
    font-weight: 700;
    color: var(--color-text);
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::after { content: '＋'; color: var(--color-primary); font-size: 1.5rem; }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item .answer { color: var(--color-text-soft); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border); }

/* ============== 募集中ピル ============== */
.live-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #D3F9D8; color: #2B8A3E;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 700;
}
.live-pill::before {
    content: ''; width: 8px; height: 8px;
    background: #2B8A3E; border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

/* ============== エンプティステート ============== */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-muted);
}
.empty-state .emoji { font-size: 3.5rem; margin-bottom: 12px; }
.empty-state h3 { color: var(--color-text-soft); margin-bottom: 8px; }
