:root {
    --red: #cc0000;
    --ink: #111111;
    --sub: #555555;
    --line: #dddddd;
    --paper: #ffffff;
    --paper-2: #f7f6f4;
    --gold: #a8823c;
    --font-stack: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-stack);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   MASTHEAD (utility bar above header)
   ========================================= */
.masthead-bar {
    background: var(--ink);
    color: #fff;
}

.masthead-bar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    font-size: 11.5px;
    letter-spacing: 0.03em;
    color: #eee;
}

.masthead-issue {
    color: #bbb;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    border-bottom: 3px solid var(--ink);
    background: var(--red);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header .wordmark {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wordmark-badge {
    background: #fff;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    line-height: 1.5;
}

.site-header .kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 14px;
}

.site-header .kicker::before {
    content: "\FF5C";
    margin-right: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.site-header nav a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    margin-left: 28px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    padding: 88px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--sub);
    border: 1px solid var(--line);
    padding: 5px 12px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0;
}

.hero .lead {
    margin-top: 22px;
    font-size: 16px;
    color: var(--sub);
    line-height: 2;
    max-width: 46ch;
}

.hero-figure {
    background: #fafafa;
    border: 1px solid var(--line);
    padding: 28px;
}

.hero-figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.hero-figure figcaption {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--sub);
    text-align: center;
}

.hero-meta {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}

.hero-meta .num {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    font-feature-settings: "tnum";
}

.hero-meta .label {
    font-size: 12px;
    color: var(--sub);
    margin-top: 2px;
}

/* =========================================
   LAYOUT (article + sidebar)
   ========================================= */
.layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 24px 0;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}

.article {
    max-width: 700px;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--sub);
    padding-bottom: 24px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.byline .pr-tag {
    border: 1px solid var(--line);
    padding: 3px 10px;
    font-weight: 700;
    color: var(--ink);
}

.lede {
    font-size: 17px;
    color: var(--ink);
}

.lede-drop > p:first-of-type::first-letter {
    font-family: var(--font-serif);
    font-size: 58px;
    font-weight: 700;
    float: left;
    line-height: 0.85;
    padding-right: 10px;
    padding-top: 6px;
}

.supplement {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--sub);
}

.lede p + p {
    margin-top: 1.4em;
}

.section {
    margin-top: 76px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 2px solid var(--ink);
}

.section-head .no {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    background: var(--red);
    color: #fff;
}

.inline-cta {
    margin: 44px 0;
    padding: 20px 24px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.inline-cta span {
    font-size: 14px;
    color: var(--ink);
}

.inline-cta .btn {
    padding: 11px 22px;
    font-size: 13.5px;
    white-space: nowrap;
}

.section-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(21px, 2.6vw, 28px);
    line-height: 1.45;
    font-weight: 700;
}

.section p {
    font-size: 15.5px;
    color: #222;
}

.hl {
    background: linear-gradient(to bottom, transparent 65%, rgba(204, 0, 0, 0.14) 65%);
    font-weight: 700;
}

.section p + p,
.section h4 {
    margin-top: 1.5em;
}

.section h4 {
    font-family: var(--font-serif);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.editor-note {
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: 20px 22px;
    font-size: 14.5px;
    color: #222;
}

.editor-note::before {
    content: "編集部メモ";
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--sub);
    font-weight: 700;
    margin-bottom: 8px;
}

.section ul {
    margin: 1.4em 0;
    padding-left: 1.2em;
}

.section li {
    margin-bottom: 0.6em;
    font-size: 15.5px;
}

.section li::marker {
    color: var(--red);
}

.figure {
    margin: 34px 0;
}

.figure img {
    width: 100%;
    border: 1px solid var(--line);
}

.figure figcaption {
    font-size: 12.5px;
    color: var(--sub);
    margin-top: 8px;
}

.lineup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 34px 0;
}

.lineup-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #111;
}

.lineup-item span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--sub);
    text-align: center;
}

/* Stat row (numbered, Helvetica-style tabular numerals like the reference deck) */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    text-align: left;
}

.stat .value {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.stat .unit {
    font-size: 14px;
    font-weight: 700;
    margin-left: 2px;
}

.stat .desc {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--sub);
    line-height: 1.6;
}

/* Case study entries */
.case {
    border-top: 1px solid var(--line);
    padding: 36px 0;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
}

.case:last-child {
    border-bottom: 1px solid var(--line);
}

.case.no-image {
    grid-template-columns: 1fr;
}

.case img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.case-tag {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 10px;
}

.case h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

.case .who {
    font-size: 13px;
    color: var(--sub);
    margin-top: 4px;
}

.case p {
    margin-top: 12px;
    font-size: 14.5px;
    color: #222;
}

.case .result {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--paper-2);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.case .result::before {
    content: "\2014\2002";
    color: var(--red);
}

.case-data {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.case-data div {
    border: 1px solid var(--line);
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.case-data span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--sub);
    margin-bottom: 4px;
}

/* Spec table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 14px;
    border: 1px solid var(--ink);
}

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

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table th {
    width: 30%;
    background: var(--paper-2);
    color: var(--ink);
    font-weight: 700;
    border-right: 1px solid var(--line);
}

/* Full-bleed section divider banner */
.section-banner {
    position: relative;
    width: 100%;
    height: 260px;
    margin: 80px 0;
    overflow: hidden;
}

.section-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
}

.section-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0 24px;
}

/* Pull note (disclosure / authority note) */
.note {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--sub);
    line-height: 1.9;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar-card {
    border: 1px solid var(--line);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-sticky {
    position: sticky;
    top: 96px;
}

.sidebar-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--sub);
    font-weight: 700;
    margin-bottom: 14px;
}

.sidebar-photo {
    border: 1px solid var(--line);
    background: #fafafa;
    margin-bottom: 16px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.sidebar-product-name {
    font-family: var(--font-serif);
    font-size: 17px;
    margin-bottom: 12px;
}

.sidebar-spec {
    list-style: none;
    font-size: 13px;
    border-top: 1px solid var(--line);
}

.sidebar-spec li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: #222;
}

.sidebar-spec .spec-label {
    color: var(--sub);
}

.sidebar-cta {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-cta .btn.block {
    display: block;
    text-align: center;
    padding: 13px;
}

.toc {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.toc a {
    font-size: 13px;
    text-decoration: none;
    color: var(--ink);
    line-height: 1.5;
}

.toc a:hover {
    color: var(--red);
}

.credit-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.credit-company img {
    height: 24px;
    width: auto;
}

.credit-name {
    font-size: 13.5px;
    font-weight: 700;
}

.credit-addr {
    font-size: 11px;
    color: var(--sub);
    margin-top: 2px;
}

.credit-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 12.5px;
    text-decoration: none;
    color: var(--sub);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}

/* =========================================
   CTA BLOCK
   ========================================= */
.cta-block {
    margin-top: 90px;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 64px 0;
    text-align: center;
}

.cta-block h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
}

.cta-block p {
    margin-top: 14px;
    color: var(--sub);
    font-size: 14.5px;
}

.cta-points {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
}

.cta-points li {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    padding-left: 16px;
    position: relative;
}

.cta-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--red);
}

.hs-form-wrap {
    max-width: 560px;
    margin: 36px auto 0;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 36px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-row .req {
    display: inline-block;
    margin-left: 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 1px 6px;
    vertical-align: middle;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    font-family: var(--font-stack);
    font-size: 14.5px;
    color: var(--ink);
}

.form-row textarea {
    resize: vertical;
}

.form-agree {
    margin: 28px 0;
    font-size: 13px;
    color: var(--sub);
    text-align: center;
}

.form-agree input {
    margin-right: 8px;
}

.form-agree a {
    text-decoration: underline;
    color: var(--ink);
}

.form-error {
    display: none;
    color: var(--red);
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

#form_submit_button {
    width: 100%;
    font-family: var(--font-stack);
}

.form-thanks {
    display: none;
    text-align: center;
    padding: 24px 0;
    font-size: 15px;
    color: var(--ink);
}

.form-thanks p + p {
    margin-top: 8px;
    color: var(--sub);
    font-size: 13.5px;
}

@media (max-width: 820px) {
    .form-row.two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hs-form-wrap {
        padding: 24px 20px;
    }
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 34px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--red);
}

.btn.solid {
    background: var(--red);
    color: #fff !important;
}

.btn.outline {
    background: var(--paper);
    color: var(--red) !important;
}

/* =========================================
   RELATED
   ========================================= */
.related {
    max-width: 760px;
    margin: 70px auto 0;
    padding: 0 24px;
}

.related h3 {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--sub);
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    margin-top: 90px;
    border-top: 1px solid var(--line);
    padding: 40px 0 60px;
    font-size: 12.5px;
    color: var(--sub);
}

.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer a {
    text-decoration: none;
    color: var(--sub);
    margin-right: 18px;
}

.footer-brand {
    font-weight: 700;
    color: var(--ink);
    margin-right: 18px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 820px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

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

    .stat-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .case img {
        height: 180px;
    }

    .lineup {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sidebar-sticky {
        position: static;
        top: auto;
    }

    .sidebar {
        margin-top: 60px;
    }

    .masthead-issue {
        display: none;
    }

    .site-header .wrap {
        height: 68px;
    }

    .site-header .wordmark {
        font-size: 14px;
        line-height: 1.3;
    }

    .section-banner {
        height: 160px;
        margin: 56px 0;
    }

    .lede-drop > p:first-of-type::first-letter {
        font-size: 44px;
    }

    .site-header .kicker {
        display: none;
    }

    .section {
        margin-top: 56px;
    }

    .byline,
    .lineup-item span,
    .figure figcaption,
    .sidebar-label {
        font-size: 12.5px;
    }

    .inline-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-data {
        gap: 8px;
    }

    .case-data div {
        padding: 8px 10px;
        font-size: 12.5px;
    }

    .site-header nav {
        display: none;
    }
}
