:root {
    --bg: #F0F5F5;
    --bg-soft: #F9FAFB;
    --fg: #111827;
    --body: #374151;
    --card: #FFFFFE;
    --muted: #4B5563;
    --primary: #4A8B8D;
    --primary-light: #7BB5B7;
    --primary-dark: #376A6C;
    --border: #E5E7EB;

    --container: 1040px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.05);
    --shadow-md: 0 8px 24px rgba(31, 41, 55, 0.08);

    --font-sans: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-dark);
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(240, 245, 245, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
    font-weight: 900;
    font-size: 1.125rem;
}

.header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--fg);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: background 0.2s;
}
.nav-link:hover {
    background: rgba(74, 139, 141, 0.08);
}

/* ---------- Language menu ---------- */
.lang-menu {
    position: relative;
}
.lang-menu summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: rgba(74, 139, 141, 0.08); }
.lang-menu summary::after {
    content: "▾";
    margin-left: 2px;
    opacity: 0.5;
    font-size: 0.85rem;
}
.lang-globe {
    font-size: 1rem;
    line-height: 1;
}
.lang-menu ul {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 220px;
    z-index: 60;
}
.lang-menu li {
    display: block;
}
.lang-menu li a,
.lang-menu li .lang-pending {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fg);
    text-decoration: none;
}
.lang-menu li a[aria-current="page"] {
    background: var(--bg-soft);
    color: var(--primary-dark);
}
.lang-menu li a[aria-current="page"]::after {
    content: " ✓";
    color: var(--primary);
}
.lang-menu li .lang-pending {
    color: var(--muted);
    font-weight: 500;
    cursor: not-allowed;
}
.lang-menu li .lang-pending em {
    font-style: normal;
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.7;
    margin-left: 6px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    transition: transform 0.1s ease, background 0.2s;
    border: none;
    cursor: pointer;
    min-width: 180px;
}

.btn-main {
    font-size: 1rem;
    font-weight: 900;
}
.btn-sub {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.85;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-primary:active {
    transform: translateY(1px);
}

.btn-disabled {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--border);
    cursor: not-allowed;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    margin: 0 0 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: none;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- Hero ---------- */
.hero {
    padding: 48px 0 40px;
}

.hero-head {
    text-align: center;
    margin-bottom: 20px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-title {
    margin: 0 auto;
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--fg);
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 560px;
    font-size: 1.125rem;
    color: var(--body);
    font-weight: 500;
    line-height: 1.8;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* ---------- iPad frame ---------- */
.ipad-frame {
    position: relative;
    background: #1f2937;
    padding: 14px;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 420px;
}

.ipad-frame::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #4b5563;
    border-radius: 50%;
}

.ipad-frame video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: var(--bg-soft);
}

/* ---------- Feature blocks ---------- */
.feature {
    padding: 40px 0;
}

.feature-alt {
    background: var(--bg-soft);
}

.feature-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.feature-text {
    text-align: center;
}

.feature-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.feature-body {
    margin: 0;
    color: var(--body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.85;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    white-space: pre-line;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    background: #1f2937;
    padding: 10px;
    border-radius: 38px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 280px;
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    background: var(--bg-soft);
}

/* ---------- FAQ ---------- */
.faq {
    padding: 32px 0 48px;
    background: var(--bg-soft);
}

.faq-inner {
    max-width: 720px;
}

.faq-title {
    margin: 0 0 24px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--fg);
    letter-spacing: -0.01em;
}

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

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
}
.faq-item summary {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--fg);
    list-style: none;
    position: relative;
    padding-right: 28px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 1.25rem;
    color: var(--muted);
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    margin: 14px 0 0;
    color: var(--body);
    font-weight: 500;
    line-height: 1.8;
    font-size: 0.95rem;
}

@supports selector(::details-content) {
    .faq-item {
        interpolate-size: allow-keywords;
    }
    .faq-item::details-content {
        block-size: 0;
        overflow: clip;
        opacity: 0;
        transition: content-visibility 0.28s allow-discrete, block-size 0.28s ease, opacity 0.2s ease;
    }
    .faq-item[open]::details-content {
        block-size: auto;
        opacity: 1;
    }
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.sticky-cta-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 200px;
    height: 64px;
    padding: 0 16px;
    background: #000;
    color: #fff;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.1s ease, opacity 0.2s;
}
.store-badge:hover { opacity: 0.88; }
.store-badge:active { transform: translateY(1px); }

.store-badge-logo {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.store-badge-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
}
.store-badge-sub {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.92;
    white-space: nowrap;
}
.store-badge-brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

body {
    padding-bottom: 88px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--card);
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}
.footer-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}
.footer-nav a:hover {
    color: var(--primary-dark);
}

.footer-social-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--bg-soft);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.footer-social a:hover {
    color: var(--primary-dark);
    border-color: var(--primary-light);
    background: var(--card);
}
.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-copy {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ---------- Legal pages ---------- */
.legal {
    padding: 48px 0 64px;
}

.legal-inner {
    max-width: 720px;
}

.legal-title {
    margin: 0 0 32px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--fg);
    letter-spacing: -0.01em;
}

.legal section {
    margin-bottom: 28px;
}

.legal h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
}

.legal p {
    margin: 0 0 12px;
    color: var(--fg);
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 500;
}

.legal ul {
    margin: 8px 0 12px;
    padding-left: 1.25em;
    color: var(--fg);
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 500;
}

.legal-updated {
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

body.legal-page {
    padding-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
    .hero {
        padding: 80px 0 72px;
    }
    .hero-head {
        margin-bottom: 24px;
    }
    .ipad-frame {
        max-width: 480px;
    }
    .feature {
        padding: 64px 0;
    }
    .feature-inner {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
    .feature-text {
        text-align: left;
    }
    .feature-body {
        margin-left: 0;
        margin-right: 0;
    }
    .feature-reverse .feature-visual {
        order: 1;
    }
    .feature-reverse .feature-text {
        order: 2;
    }
    .footer-inner {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Usages page (使い方ストーリー) — TimeTree /usages を参考にしたカード型レイアウト
   ========================================================================== */

/* ---------- Screenshot placeholders (本番では画像で置換) ---------- */
.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 4 / 3;
    width: 100%;
    padding: 24px;
    background: repeating-linear-gradient(
        135deg,
        #F0F5F5,
        #F0F5F5 12px,
        #E5EDED 12px,
        #E5EDED 24px
    );
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    text-align: center;
    overflow: hidden;
}

.screenshot-placeholder .screenshot-icon {
    font-size: 2.25rem;
    line-height: 1;
}

.screenshot-placeholder .screenshot-caption {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-dark);
    max-width: 32em;
}

.screenshot-placeholder .screenshot-caption strong {
    display: inline-block;
    margin-right: 4px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.screenshot-placeholder-hero {
    aspect-ratio: 16 / 9;
}

.screenshot-placeholder-sm {
    aspect-ratio: 5 / 3;
    padding: 12px;
    border-radius: var(--radius-sm);
}
.screenshot-placeholder-sm .screenshot-icon {
    font-size: 1.5rem;
}
.screenshot-caption-sm {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- Usages hero ---------- */
.usages-page,
.usage-detail-page {
    padding-bottom: 0;
}

.usages-hero {
    padding: 48px 0 8px;
    background: var(--bg);
}

.usages-hero-inner {
    max-width: 1040px;
    text-align: center;
}

.usages-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usages-hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 4.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.015em;
    color: var(--fg);
    text-align: center;
}

.usages-hero-lead {
    margin: 0 auto 36px;
    max-width: 640px;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--fg);
    font-weight: 600;
    line-height: 1.8;
}

.usages-hero-figure {
    margin: 0 auto;
    max-width: 360px;
}

.usages-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .usages-hero-lead {
        margin: 0 auto;
    }
}

/* ---------- Persona nav ---------- */
.persona-nav {
    padding: 24px 0 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.persona-nav-label {
    margin: 0 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-align: center;
}

.persona-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 720px;
    margin-inline: auto;
}

.persona-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    font-weight: 700;
    transition: border-color 0.2s, transform 0.1s;
    box-shadow: var(--shadow-sm);
}
.persona-tab:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
}
.persona-tab-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.persona-tab-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 900;
}
.persona-tab-sub {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ---------- Category section ---------- */
.usage-category {
    padding: 40px 0 32px;
    background: var(--bg);
}
.usage-category-alt {
    background: var(--bg-soft);
}

.usage-category-head {
    margin: 0 0 20px;
    text-align: left;
}

.usage-category-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.usage-category-tag[data-tag="support"] { background: #6B8E8F; }
.usage-category-tag[data-tag="event"] { background: #C9826B; }
.usage-category-tag[data-tag="quiz"] { background: #B58C44; }
.usage-category-tag[data-tag="pro"] { background: #5C7099; }

.usage-category-title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--fg);
}

.usage-category-lead {
    margin: 0;
    color: var(--body);
    font-size: 0.95rem;
    line-height: 1.9;
    font-weight: 500;
}

/* ---------- Usage card grid ---------- */
.usage-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.usage-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.usage-card-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.1em;
    line-height: 1;
    vertical-align: -0.05em;
}

.usage-category-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.1em;
    line-height: 1;
    vertical-align: -0.05em;
}


.usage-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.usage-card-figure {
    position: relative;
    margin: 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.usage-card-figure .phone-frame {
    max-width: 220px;
}
.usage-card-figure .screenshot-placeholder {
    border-radius: 0;
    border: none;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.usage-card-img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.usage-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.usage-card-title {
    margin: 0 0 14px;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.005em;
    color: var(--fg);
}

.usage-card-desc {
    margin: 0 0 14px;
    color: var(--body);
    font-size: 0.9rem;
    line-height: 1.85;
    font-weight: 500;
}
.usage-card-desc strong {
    color: var(--fg);
    font-weight: 700;
}

.usage-card-foot {
    margin: 0;
}
.usage-pill {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ---------- Pro note (LST notice) ---------- */
.pro-note {
    margin: 32px auto 0;
    max-width: 720px;
    padding: 20px 24px;
    background: var(--card);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.pro-note-label {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
}
.pro-note-body {
    margin: 0;
    color: var(--fg);
    font-size: 0.9rem;
    line-height: 1.85;
    font-weight: 500;
}

/* ---------- Closing CTA ---------- */
.usages-closing {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
}
.usages-closing-inner {
    max-width: 720px;
}
.usages-closing-title {
    margin: 0 0 16px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 900;
    line-height: 1.5;
    color: #fff;
}
.usages-closing-lead {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.95;
    font-weight: 500;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}
.usages-closing .btn-primary {
    background: #fff;
    color: var(--primary-dark);
}
.usages-closing .btn-primary:hover {
    background: var(--bg-soft);
}

/* ==========================================================================
   Usage detail page (1記事分のディテール)
   ========================================================================== */
.usage-detail {
    padding: 32px 0 64px;
    background: var(--bg);
}
.usage-detail-inner {
    max-width: 760px;
}

.usage-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}
.usage-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}
.usage-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.usage-breadcrumb .current {
    color: var(--fg);
    font-weight: 700;
}

.usage-detail-head {
    margin-bottom: 28px;
}
.usage-detail-tag {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.usage-detail-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--fg);
}
.usage-detail-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.usage-detail-hero {
    margin: 0 0 36px;
}

.usage-detail-lead {
    margin: 0 0 36px;
    padding: 20px 24px;
    background: var(--bg-soft);
    border-left: 4px solid var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 2;
    font-style: italic;
}

.usage-detail-section {
    margin-bottom: 44px;
}
.usage-detail-section h2 {
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.2rem, 2.6vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
    color: var(--fg);
    letter-spacing: -0.005em;
}
.usage-section-icon {
    font-size: 1.4em;
    line-height: 1;
}
.usage-detail-section p {
    margin: 0 0 14px;
    color: var(--fg);
    font-size: 0.98rem;
    line-height: 1.95;
    font-weight: 500;
}
.usage-detail-section strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.usage-pain-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.usage-pain-list li {
    position: relative;
    padding: 10px 12px 10px 38px;
    margin-bottom: 6px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.7;
}
.usage-pain-list li::before {
    content: "✗";
    position: absolute;
    left: 14px;
    top: 10px;
    color: #C9826B;
    font-weight: 900;
}

/* ---------- Step ---------- */
.usage-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.usage-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}
.usage-step-body h3 {
    margin: 8px 0 10px;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.55;
    color: var(--fg);
}
.usage-step-body p {
    margin: 0 0 14px;
    color: var(--fg);
    font-size: 0.95rem;
    line-height: 1.9;
    font-weight: 500;
}
.usage-step-figure {
    margin: 0;
}

/* ---------- Recommended set ---------- */
.usage-recommended {
    margin: 0 0 44px;
    padding: 28px;
    background: var(--card);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.usage-recommended-title {
    margin: 0 0 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
}
.usage-recommended-name {
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--fg);
}
.usage-recommended-cards {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    counter-reset: card;
}
.usage-recommended-cards li {
    counter-increment: card;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fg);
}
.usage-recommended-cards li::before {
    content: counter(card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
}
.card-emoji {
    font-size: 1.1rem;
    line-height: 1;
}
.usage-recommended-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.8;
    font-weight: 500;
}

/* ---------- Tips ---------- */
.usage-tips-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}
.usage-tips-list li {
    padding: 16px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-size: 0.93rem;
    line-height: 1.9;
    font-weight: 500;
}
.usage-tips-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ---------- Voice quote ---------- */
.usage-voice {
    margin: 0 0 44px;
    padding: 24px 28px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}
.usage-voice-label {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
}
.usage-voice blockquote {
    margin: 0;
    padding: 0;
    color: var(--fg);
}
.usage-voice blockquote p {
    margin: 0 0 12px;
    font-size: 0.98rem;
    line-height: 1.95;
    font-weight: 500;
    font-style: italic;
}
.usage-voice blockquote footer {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- Related ---------- */
.usage-related {
    margin: 0 0 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.usage-related-title {
    margin: 0 0 20px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--fg);
}
.usage-related-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.usage-related-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.15s, border-color 0.2s;
}
.usage-related-card:hover {
    transform: translateY(-1px);
    border-color: var(--primary-light);
}
.usage-related-card a {
    display: block;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}
.usage-related-tag {
    margin: 12px 0 4px;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.usage-related-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.55;
    color: var(--fg);
}

/* ---------- Detail CTA ---------- */
.usage-detail-cta {
    margin-top: 32px;
    padding: 36px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    text-align: center;
    color: #fff;
}
.usage-detail-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    font-weight: 900;
    line-height: 1.55;
    color: #fff;
}
.usage-detail-cta p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
}
.usage-detail-cta .btn-primary {
    background: #fff;
    color: var(--primary-dark);
}
.usage-detail-cta .btn-primary:hover {
    background: var(--bg-soft);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .persona-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
    .usage-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .usage-card {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
    .usage-card-figure {
        border-top: none;
        border-left: 1px solid var(--border);
    }
}

@media (min-width: 960px) {
    .usage-category {
        padding: 80px 0;
    }
    .usage-category-head {
        margin: 0 0 32px;
    }
}
