/*
========================================================
ファイル      : hlab-store-broadcast.css
用途          : 会員向け「お店サウンド」個別ページ
バージョン    : 1.0.2
最終更新日    : 2026-10-09
========================================================
*/

.hlab-sb {
    --sb-accent: #4f7189;
    --sb-accent-deep: #294c64;
    --sb-accent-soft: #eef4f7;
    --sb-border: #d7e1e7;
    --sb-ink: #1e2a31;
    --sb-muted: #5c6870;
    --sb-warn: #9d3a31;
    color: var(--sb-ink);
}

.hlab-sb .hlab-account__page {
    padding-top: 20px;
}

.hlab-sb__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 30px;
    align-items: center;
    padding: 32px 34px;
    border: 1px solid var(--sb-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(28, 51, 66, 0.08);
}

.hlab-sb__hero h1 {
    margin: 6px 0 10px;
    font-size: clamp(34px, 4.3vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hlab-sb__lead {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
    line-height: 1.85;
    font-weight: 650;
}

.hlab-sb__platform-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
    padding: 9px 13px;
    border: 2px solid #2367a6;
    border-radius: 12px;
    background: #eef7ff;
    color: #164c7d;
}

.hlab-sb__platform-badge strong {
    font-size: 17px;
    line-height: 1;
}

.hlab-sb__platform-badge span {
    font-size: 13px;
    font-weight: 750;
}

.hlab-sb__platform-warning {
    max-width: 820px;
    margin: 16px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #2367a6;
    background: #f4f9fd;
    border-radius: 0 10px 10px 0;
    line-height: 1.75;
}

.hlab-sb__hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--sb-muted);
}

.hlab-sb__icon-frame {
    width: 168px;
    height: 168px;
    display: grid;
    place-items: center;
    padding: 15px;
    border-radius: 34px;
    background: linear-gradient(145deg, #f7fafc, #e9f1f5);
    border: 1px solid var(--sb-border);
    box-shadow: 0 12px 26px rgba(32, 61, 79, 0.12);
}

.hlab-sb__icon-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 22px;
}

.hlab-sb section:not(.hlab-sb__hero) {
    margin-top: 22px;
}

.hlab-sb__quick,
.hlab-sb__prepare,
.hlab-sb__examples,
.hlab-sb__music,
.hlab-sb__details,
.hlab-sb__local,
.hlab-sb__faq,
.hlab-sb__gate {
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--sb-border);
    border-radius: 18px;
}

.hlab-sb__section-head {
    margin-bottom: 18px;
}

.hlab-sb__section-head h2,
.hlab-sb__audio-notice h2,
.hlab-sb__download h2,
.hlab-sb__gate h2 {
    margin: 4px 0 8px;
    font-size: clamp(23px, 2.7vw, 32px);
    line-height: 1.35;
}

.hlab-sb__section-head p,
.hlab-sb__audio-notice p,
.hlab-sb__download p,
.hlab-sb__gate p {
    line-height: 1.8;
}

.hlab-sb__kicker {
    margin: 0;
    color: var(--sb-accent-deep);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.hlab-sb__feature-grid,
.hlab-sb__detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hlab-sb__feature-grid article,
.hlab-sb__detail-grid article {
    padding: 16px;
    border: 1px solid var(--sb-border);
    border-radius: 13px;
    background: #fbfdfe;
}

.hlab-sb__feature-grid strong,
.hlab-sb__detail-grid h3 {
    display: block;
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.4;
}

.hlab-sb__feature-grid p,
.hlab-sb__detail-grid p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 14px;
    line-height: 1.75;
}

.hlab-sb__download {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 20px;
    padding: 26px 28px;
    border: 2px solid #2367a6;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7fbff, #eef6fb);
}

.hlab-sb__platform-badge--download {
    margin-bottom: 6px;
    background: #fff;
}

.hlab-sb__version-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 15px 0;
}

.hlab-sb__version-row span {
    font-size: 12px;
    color: var(--sb-muted);
    font-weight: 800;
}

.hlab-sb__version-row strong {
    font-size: 21px;
}

.hlab-sb__version-row small {
    color: var(--sb-muted);
}

.hlab-sb__download-button {
    min-width: 280px;
    text-align: center;
}

.hlab-sb__not-supported {
    margin: 12px 0 0 !important;
    color: var(--sb-warn);
    font-size: 13px;
    font-weight: 800;
}

.hlab-sb__download-wait {
    padding: 14px;
    border: 1px dashed #7a9bae;
    border-radius: 12px;
    background: #fff;
}

.hlab-sb__download-wait p {
    margin: 4px 0;
}

.hlab-sb__download-wait code {
    display: block;
    margin-top: 8px;
    padding: 8px;
    overflow-wrap: anywhere;
    background: #f2f4f5;
    border-radius: 7px;
    font-size: 11px;
}

.hlab-sb__smartscreen {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #d5dee5;
    border-radius: 14px;
    background: #fff;
}

.hlab-sb__smartscreen-label {
    margin: 0 0 4px !important;
    color: #315e79;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.hlab-sb__smartscreen h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.5;
}

.hlab-sb__smartscreen > p {
    margin: 7px 0 !important;
    font-size: 14px;
    line-height: 1.8;
}

.hlab-sb__security-check {
    margin: 14px 0;
    padding: 13px 14px;
    border-left: 4px solid #2e7d52;
    border-radius: 0 10px 10px 0;
    background: #f2faf5;
}

.hlab-sb__security-check > strong {
    display: block;
    margin-bottom: 6px;
}

.hlab-sb__security-check ul {
    margin: 0 0 0 1.2em;
    padding: 0;
}

.hlab-sb__security-check li {
    margin: 5px 0;
    line-height: 1.65;
}

.hlab-sb__security-check code,
.hlab-sb__hash code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hlab-sb__smartscreen-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.hlab-sb__smartscreen-steps li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
    border: 1px solid #dde6eb;
    border-radius: 11px;
    background: #f8fbfc;
}

.hlab-sb__smartscreen-steps li > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2367a6;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.hlab-sb__smartscreen-steps strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.hlab-sb__smartscreen-steps p {
    margin: 0 !important;
    color: var(--sb-muted);
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.hlab-sb__security-support {
    margin-top: 13px !important;
    padding: 12px 13px;
    border-radius: 10px;
    background: #fff7e8;
}

.hlab-sb__security-links {
    margin-top: 10px;
}

.hlab-sb__security-links a {
    color: #315e79;
    font-size: 12px;
    font-weight: 800;
}

.hlab-sb__hash {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #e0e6ea;
    border-radius: 9px;
    background: #fafcfd;
}

.hlab-sb__hash summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.hlab-sb__hash p {
    margin: 7px 0 5px !important;
    font-size: 12px !important;
}

.hlab-sb__hash code {
    display: block;
    padding: 7px 8px;
    border-radius: 7px;
    background: #f0f3f5;
    font-size: 10px;
    line-height: 1.55;
}

.hlab-sb__install-steps {
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--sb-border);
}

.hlab-sb__install-steps h3 {
    margin: 0 0 12px;
}

.hlab-sb__install-steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: sb-step;
}

.hlab-sb__install-steps li {
    position: relative;
    padding: 9px 0 9px 34px;
    border-top: 1px solid #edf1f3;
}

.hlab-sb__install-steps li:first-child {
    border-top: 0;
}

.hlab-sb__install-steps li::before {
    counter-increment: sb-step;
    content: counter(sb-step);
    position: absolute;
    top: 10px;
    left: 0;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sb-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.hlab-sb__install-steps strong,
.hlab-sb__install-steps span {
    display: block;
}

.hlab-sb__install-steps span {
    margin-top: 2px;
    color: var(--sb-muted);
    font-size: 13px;
    line-height: 1.6;
}

.hlab-sb__audio-notice {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 24px 28px;
    border: 2px solid #c17e24;
    border-radius: 18px;
    background: #fffaf0;
}

.hlab-sb__audio-notice-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0a23b;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.hlab-sb__audio-notice p {
    margin: 5px 0 0;
}

.hlab-sb__flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hlab-sb__flow li {
    min-width: 0;
    padding: 15px;
    border-radius: 13px;
    background: var(--sb-accent-soft);
    border: 1px solid var(--sb-border);
}

.hlab-sb__flow li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    border-radius: 50%;
    background: var(--sb-accent);
    color: #fff;
    font-weight: 850;
}

.hlab-sb__flow strong {
    display: block;
    margin-bottom: 5px;
}

.hlab-sb__flow p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 13px;
    line-height: 1.65;
}

.hlab-sb__example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hlab-sb__example-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hlab-sb__example-card,
.hlab-sb__music-example,
.hlab-sb__search-guide {
    padding: 18px;
    border: 1px solid var(--sb-border);
    border-radius: 14px;
    background: #fbfdfe;
}

.hlab-sb__example-card > span,
.hlab-sb__music-example > span {
    display: inline-block;
    margin-bottom: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--sb-accent-soft);
    color: var(--sb-accent-deep);
    font-size: 11px;
    font-weight: 850;
}

.hlab-sb__example-card h3,
.hlab-sb__music-example h3,
.hlab-sb__search-guide h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.hlab-sb__example-card p,
.hlab-sb__music-example p,
.hlab-sb__search-guide p {
    margin: 0 0 10px;
    color: var(--sb-muted);
    font-size: 14px;
    line-height: 1.75;
}

.hlab-sb__external-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.hlab-sb__external-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid #9bb3c2;
    border-radius: 8px;
    background: #fff;
    color: #315e79;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hlab-sb__external-actions a:hover,
.hlab-sb__external-actions a:focus-visible {
    background: #eef6fa;
}

.hlab-sb__music-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hlab-sb__search-words {
    display: grid;
    gap: 6px;
    margin: 10px 0 13px;
}

.hlab-sb__search-words code {
    padding: 7px 9px;
    border: 1px solid #dde6eb;
    border-radius: 8px;
    background: #fff;
    white-space: normal;
}

.hlab-sb__search-guide ul {
    margin: 12px 0 0 1.2em;
    padding: 0;
}

.hlab-sb__search-guide li {
    margin: 5px 0;
    line-height: 1.65;
}

.hlab-sb__terms-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 4px solid #d09437;
    border-radius: 0 10px 10px 0;
    background: #fff9ee;
}

.hlab-sb__terms-note p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.75;
}

.hlab-sb__detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hlab-sb__local-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hlab-sb__local-grid > div {
    padding: 17px;
    border-radius: 13px;
    background: var(--sb-accent-soft);
}

.hlab-sb__local-grid strong {
    display: block;
    margin-bottom: 5px;
}

.hlab-sb__local-grid p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 14px;
    line-height: 1.7;
}

.hlab-sb__faq-list {
    display: grid;
    gap: 8px;
}

.hlab-sb__faq-list details {
    border: 1px solid var(--sb-border);
    border-radius: 11px;
    background: #fbfdfe;
}

.hlab-sb__faq-list summary {
    padding: 13px 15px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.55;
}

.hlab-sb__faq-list details p {
    margin: 0;
    padding: 0 15px 14px;
    color: var(--sb-muted);
    line-height: 1.75;
}

.hlab-sb__gate {
    text-align: center;
}

.hlab-sb__gate-actions,
.hlab-sb__back-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hlab-sb__back-row {
    margin: 22px 0 0;
}

@media (max-width: 900px) {
    .hlab-sb__hero {
        grid-template-columns: minmax(0, 1fr) 160px;
    }

    .hlab-sb__icon-frame {
        width: 132px;
        height: 132px;
    }

    .hlab-sb__feature-grid,
    .hlab-sb__detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hlab-sb__download {
        grid-template-columns: 1fr;
    }

    .hlab-sb__flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hlab-sb__example-grid--three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hlab-sb .hlab-account__page {
        padding-top: 12px;
    }

    .hlab-sb__hero {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 20px 17px;
        border-radius: 16px;
    }

    .hlab-sb__hero-copy {
        order: 1;
    }

    .hlab-sb__hero-visual {
        order: 2;
        align-items: flex-start;
    }

    .hlab-sb__icon-frame {
        width: 96px;
        height: 96px;
        padding: 9px;
        border-radius: 22px;
    }

    .hlab-sb__icon-frame img {
        border-radius: 15px;
    }

    .hlab-sb__hero h1 {
        font-size: 34px;
    }

    .hlab-sb__lead {
        font-size: 16px;
        line-height: 1.75;
    }

    .hlab-sb__platform-badge {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .hlab-sb__platform-badge strong {
        font-size: 18px;
    }

    .hlab-sb__quick,
    .hlab-sb__prepare,
    .hlab-sb__examples,
    .hlab-sb__music,
    .hlab-sb__details,
    .hlab-sb__local,
    .hlab-sb__faq,
    .hlab-sb__gate,
    .hlab-sb__download {
        padding: 19px 16px;
        border-radius: 14px;
    }

    .hlab-sb__feature-grid,
    .hlab-sb__detail-grid,
    .hlab-sb__flow,
    .hlab-sb__example-grid,
    .hlab-sb__example-grid--three,
    .hlab-sb__music-layout,
    .hlab-sb__local-grid {
        grid-template-columns: 1fr;
    }

    .hlab-sb__audio-notice {
        grid-template-columns: 1fr;
        padding: 19px 16px;
    }

    .hlab-sb__audio-notice-mark {
        width: 48px;
        height: 48px;
        font-size: 25px;
    }

    .hlab-sb__download-button {
        width: 100%;
        min-width: 0;
    }

    .hlab-sb__smartscreen {
        padding: 15px 13px;
    }

    .hlab-sb__smartscreen-steps {
        grid-template-columns: 1fr;
    }

    .hlab-sb__version-row {
        flex-wrap: wrap;
    }

    .hlab-sb__external-actions a {
        min-height: 40px;
    }
}

.hlab-sb__music-example .hlab-sb__rename-note {
    margin: -2px 0 10px;
    color: #7a5a28;
    font-size: 12px;
    font-weight: 750;
}

/* 2026-10-09：CSV分析と同じ上部の文字階層。Windows条件は常時表示。 */
.hlab-sb .hlab-sb__hero {
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 18px;
    padding: 14px 8px 18px;
    border: 0;
    border-bottom: 2px solid var(--sb-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.hlab-sb .hlab-sb__hero h1 { font-size: clamp(28px, 3.3vw, 36px); line-height: 1.25; color: var(--hl-brown, #4a2414); }
.hlab-sb .hlab-sb__lead { font-size: 14px; line-height: 1.65; }
.hlab-sb .hlab-sb__platform-warning { margin-top: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.65; }
.hlab-sb .hlab-sb__platform-badge { margin-bottom: 8px; padding: 7px 10px; }
.hlab-sb .hlab-sb__platform-badge strong { font-size: 14px; }
.hlab-sb .hlab-sb__icon-frame { width: 104px; height: 104px; border-radius: 22px; }
.hlab-sb .hlab-sb__section-head h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.38; }
@media (max-width: 640px) {
    .hlab-sb .hlab-sb__hero { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hlab-sb .hlab-sb__hero h1 { font-size: clamp(27px, 8vw, 34px); }
    .hlab-sb .hlab-sb__hero-visual { order: 2; margin: 0; align-items: flex-start; }
    .hlab-sb .hlab-sb__icon-frame { width: 76px; height: 76px; border-radius: 16px; }
}

/* 2026-10-14：実際の音声・操作例への入口を初期画面へ移動。主操作と競合させない。 */
.hlab-sb .hlab-sb__hero-example-link {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.55;
}
.hlab-sb .hlab-sb__hero-example-link a {
    display: inline-block;
    color: #654026;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #b57a40;
    text-underline-offset: 4px;
}
.hlab-sb .hlab-sb__hero-example-link a:hover,
.hlab-sb .hlab-sb__hero-example-link a:focus-visible {
    color: #a24600;
}

/* 2026-11-14: 共通テンプレートの画面用文字階層。印刷・帳票見本・機能は保持。 */
@media screen {
.hlab-sb{font-size:16px;font-weight:500;line-height:1.85;letter-spacing:normal;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",Meiryo,"Yu Gothic",sans-serif}
.hlab-sb :is(input,select,textarea,button,summary){font-family:inherit}
.hlab-sb .hlab-sb__hero h1{font-size:32px;font-weight:750;line-height:1.45}
@media(max-width:640px){.hlab-sb .hlab-sb__hero h1{font-size:28px}}
}
