/* ======================================================
   ■ Maker 共通タイトル
====================================================== */
.maker-title {
    text-align: center;
    font-size: 28px;
    margin: 20px 0 8px;
    color: var(--accent);
    font-weight: 700;
}

/* スマホ */
@media (max-width: 480px) {
    .maker-title {
        font-size: 24px;
    }
}

/* ======================================================
   ■ 入力フォーム
====================================================== */
.maker-form-box {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.maker-form-box label {
    color: var(--text);
}

.maker-form-box input {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    font-size: 18px;
    background: var(--bg-sub);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.maker-form-box button {
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    font-size: 18px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
}

/* ======================================================
   ■ 結果カード（ウソコ / 相性診断 共通）
====================================================== */
.result-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0 20px 10px;
    margin-top: 16px;
}

.result-wrap h1 {
    text-align: center;
    color: var(--text);
    font-size: 28px;
    margin-bottom: 10px;
}

.result-wrap p {
    text-align: center;
    color: var(--text);
    margin-bottom: 16px;
}

/* 結果画像 */
.result-wrap img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ======================================================
   ■ 成分リスト（ウソコメーカー）
====================================================== */
.status-title {
    max-width: 200px;
    margin: 25px auto 10px;
    padding-bottom: 4px;
    font-size: 17px;
    font-weight: bold;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.status-list {
    max-width: 200px;
    margin: 12px auto 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.status-item:last-child {
    border-bottom: none;
}

/* 再診ボタン */
.result-wrap a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-text);
}

/* ======================================================
   ■ 説明文（メーカーの上部コメント）
====================================================== */
.maker-desc {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: 10px;

    color: var(--text-sub);
    text-align: left;
    font-size: 14.5px;
    line-height: 1.6;

    max-width: 340px;
    margin: 0 auto 20px;
    padding: 10px 14px;
}

/* ======================================================
   ■ シェアボタン（メーカー専用）
====================================================== */
.share-block {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.share-block-title {
    font-weight: bold;
    color: var(--text);
    margin: 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
}

.share-btn img {
    width: 32px;
    height: 32px;
    display: block;
    background: transparent;
}

/* ======================================================
   ■ おすすめ記事（メーカー下部）
====================================================== */
.recommend-wrap {
    margin-top: 40px;
    padding: 10px 5px;
}

.recommend-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 14px;
    text-align: center;
}

.recommend-cards {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.rec-card {
    width: 48%;
    padding: 10px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.rec-card img {
    width: 100%;
    border-radius: var(--radius);
}

.rec-title {
    margin-top: 8px;
    font-size: .9rem;
    color: var(--text);
}

@media (max-width: 480px) {
    .recommend-cards {
        flex-direction: column;
    }
    .rec-card {
        width: 100%;
    }
}

/* ======================================================
   ■ 相性診断（アニメ・カラー）
====================================================== */
.compat-bar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

/* ポップアニメ */
.compat-comment {
    font-size: 0;
    opacity: 0;
    color: var(--text-sub);
    transition:
        font-size .35s cubic-bezier(.25,1.5,.5,1),
        opacity .3s ease;
}

.compat-comment.show {
    font-size: 15px;
    opacity: 1;
    animation: popScale .45s ease-out;
}

@keyframes popScale {
    0% { font-size: 0; }
    60% { font-size: 26px; }
    100% { font-size: 15px; }
}

/* 相性カラー */
.compat-col-god { color: #ff2f6f; font-weight: 700; }
.compat-col-pink-strong { color: #e85d8e; }
.compat-col-pink { color: #f08fb3; }
.compat-col-purple { color: #b784ff; }
.compat-col-blue { color: #6a8cff; }
.compat-col-orange { color: #f29f4c; }
.compat-col-gray { color: #888; }

/* 再検索ボタン */
.again-btn {
    display: inline-block;
    margin: 20px auto 0;
    padding: 10px 22px;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: .25s ease;
}

.again-btn:hover {
    opacity: .85;
}

.maker-again {
    text-align: center;
    margin-top: 20px;
}

/* ======================================================
   ■ キャプチャ用（html2canvas ズレ対策）
====================================================== */
#compat-capture *,
#maker-capture {
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0;
    line-height: 1.35;
    font-weight: 500;
}

#maker-capture {
    overflow: visible !important;
}
