:root {
    --bg: #05070a;
    --ink: #e6edf5;
    --muted: #b1c0d1;
    --card: #0f151e;
    --line: #1f2a38;
    --primary: #2f80ed;
    --primary-strong: #2263b8;
    --ghost-bg: #1a2431;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: var(--ink);
    background: #0a1017;
    line-height: 1.7;
}

.rent-page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 14%, rgba(47, 128, 237, 0.25), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(26, 188, 156, 0.18), transparent 38%),
        linear-gradient(180deg, #06090f 0%, #0b121b 100%);
}

.rent-wrap {
    width: min(980px, calc(100% - 28px));
    margin: 34px auto 42px;
}

.rent-hero,
.rent-panel,
.rent-card,
.rent-note {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.rent-hero {
    padding: 34px 28px;
    margin-bottom: 18px;
}

.rent-label {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: #7fd8ff;
    font-weight: 700;
}

.rent-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4.8vw, 42px);
    line-height: 1.2;
}

.rent-lead {
    margin: 12px 0 0;
    color: var(--muted);
}

.rent-cta-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rent-btn {
    display: inline-block;
    text-decoration: none;
    padding: 11px 16px;
    font-weight: 700;
}

.rent-btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.rent-btn-primary:hover {
    background: var(--primary-strong);
}

.rent-btn-ghost {
    background: var(--ghost-bg);
    color: #ffffff;
}

.rent-btn-ghost:hover {
    background: #233143;
}

.rent-panel {
    padding: 22px;
    margin-bottom: 18px;
}

.rent-panel h2 {
    margin: 0 0 8px;
    font-size: 23px;
}

.rent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.rent-card {
    padding: 22px;
}

.rent-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rent-card ul,
.rent-card ol {
    margin: 0;
    padding-left: 1.2em;
}

.rent-card li {
    margin: 4px 0;
}

.rent-wrap a:not(.rent-btn) {
    color: #8ec8ff;
}

.rent-wrap a:not(.rent-btn):hover {
    color: #b7dcff;
}

.rent-note {
    padding: 22px;
}

.rent-note h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rent-note p {
    margin: 0 0 14px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .rent-wrap {
        width: calc(100% - 20px);
        margin: 20px auto 26px;
    }

    .rent-hero,
    .rent-panel,
    .rent-card,
    .rent-note {
        padding: 18px;
    }

    .rent-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MiyaharaSoft トップ説明文用の専用スタイル
   ========================================= */
.omiya-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.omiya-hero h1 {
    margin: 0;
    font-size: clamp(40px, 8vw, 64px);
    color: var(--primary);
    line-height: 1.2;
}

.omiya-hero-catch {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px 0 25px;
    color: var(--ink);
}

.omiya-hero-lead {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    color: var(--muted);
    line-height: 1.8;
}

/* =========================================
   MiyaharaSoft 個別アプリ配布ページ共通スタイル
   ========================================= */

/* パンくずリスト */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #7fd8ff !important;
}

.breadcrumb span.sep {
    opacity: 0.5;
}

/* アプリ専用ヒーロー */
.app-hero {
    position: relative;
    padding: 36px 32px 32px;
    border-radius: 12px;
    overflow: hidden;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(47, 128, 237, 0.15);
    border: 1px solid rgba(47, 128, 237, 0.4);
    color: #7fd8ff;
    letter-spacing: 0.05em;
}

.badge-tag.highlight {
    background: rgba(255, 107, 107, 0.18);
    border-color: rgba(255, 107, 107, 0.5);
    color: #ff8e8e;
}

.badge-tag.success {
    background: rgba(46, 213, 115, 0.15);
    border-color: rgba(46, 213, 115, 0.4);
    color: #7bed9f;
}

.app-hero-main {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 16px 0 20px;
}

.app-hero-thumb {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: #141a24;
    border: 1px solid #28374d;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    object-fit: contain;
    padding: 8px;
    flex-shrink: 0;
}

.app-hero-info {
    flex: 1;
}

.app-hero-info h1 {
    font-size: clamp(26px, 4.5vw, 36px);
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 40%, #8ec8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-hero-info .app-sub {
    font-size: 15px;
    color: var(--muted);
    margin: 8px 0 0;
    line-height: 1.5;
}

/* 仕様テーブル */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 10px;
}

.spec-table th,
.spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.spec-table th {
    width: 28%;
    color: #8da2bc;
    font-weight: 600;
    background: rgba(255,255,255,0.02);
}

.spec-table td {
    color: #e6edf5;
}

/* ステップ表示 */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.step-card {
    background: #0f1622;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 18px;
    position: relative;
}

.step-badge {
    position: absolute;
    top: -10px;
    left: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.08em;
}

.step-card h4 {
    margin: 8px 0 10px;
    font-size: 16px;
    color: #fff;
}

.step-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.step-card ol,
.step-card ul {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13.5px;
    color: #cfdbe8;
}

.step-card li {
    margin: 4px 0;
}

/* ダウンロードボックス */
.download-box {
    background: linear-gradient(180deg, #131d2b 0%, #0d141e 100%);
    border: 1px solid #2f80ed66;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(47, 128, 237, 0.15);
    border-radius: 12px;
    padding: 34px 28px;
    text-align: center;
    margin: 28px 0;
}

.download-box h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #fff;
}

.download-box p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0 auto 22px;
    max-width: 600px;
}

.download-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.download-meta {
    font-size: 12.5px;
    color: #798da3;
}

/* 注意事項 */
.warning-box {
    background: #181414;
    border: 1px solid #5a2727;
    border-radius: 8px;
    padding: 22px;
    margin: 20px 0;
}

.warning-box h3,
.warning-box h4 {
    margin: 0 0 12px;
    color: #ff7675;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-box h4 {
    font-size: 14.5px;
    margin-top: 14px;
}

.warning-box p {
    font-size: 13.5px;
    color: #d1b8b8;
    line-height: 1.7;
    margin: 0 0 10px;
}

.warning-box ul {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13.5px;
    color: #d1b8b8;
    line-height: 1.7;
}

/* 更新履歴リスト */
.history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.history-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
    display: flex;
    gap: 14px;
    align-items: baseline;
}

.history-list li:last-child {
    border-bottom: none;
}

.history-date {
    font-weight: 700;
    color: #7fd8ff;
    flex-shrink: 0;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.history-text {
    color: #e6edf5;
    line-height: 1.5;
}

/* モバイル対応 */
@media (max-width: 760px) {
    .app-hero {
        padding: 24px 18px;
    }

    .app-hero-main {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .app-hero-thumb {
        width: 100px;
        height: 100px;
    }

    .spec-table th {
        width: 36%;
    }

    .history-list li {
        flex-direction: column;
        gap: 4px;
    }
}

