/* ====================================================================
   about2.css — /about/ コラム形式案（比較用）
   base.css を前提に、1カラムの読み物レイアウトを定義する。
   本文幅は約680pxに絞り、日本語の長文を読みやすい行長にする。
   ==================================================================== */

.article {
    padding: calc(88px + var(--header-h)) 24px 110px;
}
.article__inner {
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- 記事ヘッダー ---------- */
.article__category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--sky);
    margin: 0 0 20px;
}
.article__title {
    font-weight: 900;
    font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 28px;
}
.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 0.85rem;
    color: var(--ink-faint);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    margin: 0;
}

/* ---------- 画像 ---------- */
.article__figure {
    margin: 40px 0 48px;
}
.article__figure img {
    display: block;
    width: 100%;
    height: auto;
}
.article__figure figcaption {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-top: 10px;
    line-height: 1.7;
}

/* ---------- 本文 ---------- */
.article__body p {
    font-size: 1.02rem;
    line-height: 2.05;
    color: var(--ink);
    margin: 0 0 1.6em;
}
.article__body .article__lead {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 2.1;
}
.article__body h2 {
    font-weight: 900;
    font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    line-height: 1.6;
    color: var(--ink);
    margin: 72px 0 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
}
.article__body h3 {
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--navy);
    margin: 40px 0 12px;
}
.article__body ul {
    margin: 0 0 1.8em;
    padding: 0;
    list-style: none;
}
.article__body ul li {
    position: relative;
    padding-left: 1.2em;
    font-size: 1rem;
    line-height: 1.95;
    color: var(--ink);
}
.article__body ul li::before {
    content: "";
    position: absolute;
    left: 0.1em;
    top: 0.85em;
    width: 6px;
    height: 6px;
    background: var(--sky);
}
.article__body ol {
    margin: 0 0 1.8em;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.article__body ol li {
    position: relative;
    padding-left: 2.2em;
    font-size: 1rem;
    line-height: 1.95;
    color: var(--ink);
    counter-increment: step;
}
.article__body ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
}
.article__body a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.article__body a:hover { color: var(--sky); }

/* 引用・強調ブロック */
.article__quote {
    margin: 40px 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--navy);
}
.article__quote p {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.9;
    color: var(--navy);
    margin: 0;
}

/* ---------- 写真3枚並び（制作例） ---------- */
.article__grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
    margin: 8px 0 12px;
}
.article__grid3 figure { margin: 0; }
.article__grid3 img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--cream);
}
.article__grid3 figcaption {
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--ink-mute);
    margin-top: 8px;
}
.article__body .article__note {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-bottom: 1.6em;
}
@media (max-width: 560px) {
    .article__grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 写真2枚並び ---------- */
.article__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0 32px;
}
.article__pair figure { margin: 0; }
.article__pair img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--cream);
}
.article__pair--doc img {
    aspect-ratio: auto;
    object-fit: contain;
    border: 1px solid var(--line);
    background: #fff;
}
.article__pair--landscape img { aspect-ratio: 16 / 9; }
.article__figure--inline { margin: 8px 0 16px; }
.article__figure--inline figcaption {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-top: 8px;
    line-height: 1.6;
}
.article__pair figcaption {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-top: 8px;
    line-height: 1.6;
}

/* ---------- 技術リスト（小さな動画＋できること） ---------- */
.tech-grid {
    margin: 4px 0 40px;
    border-top: 1px solid var(--line);
}
.tech-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.tech-card__media { position: relative; }
.tech-card__media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--navy-deep);
}
.tech-card__tag,
.tech-card__speed {
    position: absolute;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 5px;
    pointer-events: none;
}
.tech-card__tag {
    top: 5px;
    left: 5px;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(13, 33, 48, 0.82);
}
.tech-card__speed {
    bottom: 5px;
    right: 5px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.9);
}
.article__body .tech-card__body h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 6px;
    line-height: 1.6;
}
.article__body .tech-card__body p {
    font-size: 0.93rem;
    line-height: 1.9;
    color: var(--ink-mute);
    margin: 0;
}
@media (max-width: 560px) {
    .tech-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
    .tech-card__tag { font-size: 7px; }
}

/* ---------- 比較表 ---------- */
.article__table-wrap {
    margin: 8px 0 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.article__table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.7;
}
.article__table th,
.article__table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.article__table thead th {
    font-weight: 700;
    color: var(--navy);
    border-bottom: 2px solid var(--line-strong);
    background: var(--cream);
}
.article__table tbody th {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    width: 8em;
}
.article__table td { color: var(--ink-mute); }

/* ---------- 本文中の関連記事カード ---------- */
.article__body a.related-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 28px;
    gap: 18px;
    align-items: center;
    margin: 8px 0 32px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.article__body a.related-card + a.related-card { margin-top: -16px; }
.article__body a.related-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 18px rgba(13, 33, 48, 0.08);
    color: inherit;
}
.related-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.related-card__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sky);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.related-card__text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 4px;
}
.related-card__desc {
    display: block;
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--ink-mute);
}
.related-card__arrow {
    font-size: 1.2rem;
    color: var(--navy);
    text-align: center;
    transition: transform 0.2s;
}
.article__body a.related-card:hover .related-card__arrow { transform: translateX(4px); }
.article__body a.related-card:hover strong { color: var(--navy); }
@media (max-width: 560px) {
    .article__body a.related-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        align-items: start;
    }
    .related-card__arrow { display: none; }
    .related-card__desc { display: none; }
    .related-card__text strong { font-size: 0.88rem; }
}

/* ---------- 書き手 ---------- */
.article__author {
    margin-top: 80px;
    padding: 28px 32px;
    background: var(--cream);
    border: 1px solid var(--line);
}
.article__author-label {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    margin: 0 0 10px;
}
.article__author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin: 0 0 8px;
}
.article__author p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--ink-mute);
    margin: 0;
}
.article__author a {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .article { padding: calc(56px + var(--header-h-mobile)) 20px 72px; }
    .article__body h2 { margin-top: 56px; }
    .article__author { padding: 24px 20px; }
}

/* ---------- パンくず ---------- */
.article__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    font-size: 0.78rem;
    color: var(--ink-faint);
}
.article__breadcrumb li + li::before {
    content: "›";
    margin: 0 10px;
    color: var(--line-strong);
}
.article__breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.article__breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- コラム一覧の吹き出し ---------- */
.column-nav {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.column-nav.is-shown { opacity: 1; visibility: visible; transform: none; }
.column-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 16px;
    border: none;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 8px 24px rgba(13, 33, 48, .25);
    cursor: pointer;
}
.column-nav__toggle:hover { background: var(--navy-deep); }
.column-nav__toggle svg { flex: none; }
.column-nav__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: 340px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(13, 33, 48, .18);
    padding: 22px 22px 18px;
}
.column-nav__panel::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: rotate(45deg);
}
.column-nav__panel[hidden] { display: none; }
.column-nav__title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--sky);
    margin: 0 0 14px;
}
.column-nav__group { margin: 0 0 16px; }
.column-nav__group-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ink-faint);
    margin: 0 0 6px;
}
.column-nav__group ul { list-style: none; margin: 0; padding: 0; }
.column-nav__group a {
    display: block;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--ink);
    text-decoration: none;
}
.column-nav__group li:last-child a { border-bottom: 1px solid var(--line); }
.column-nav__group a:hover { color: var(--navy); }
.column-nav__group a[aria-current="page"] {
    color: var(--navy);
    font-weight: 700;
}
.column-nav__group a[aria-current="page"]::after {
    content: "読んでいる記事";
    margin-left: 8px;
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--ink-faint);
}
.column-nav__all {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}
.column-nav__all:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .column-nav { right: 16px; bottom: 16px; }
    .column-nav__panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 76px;
        width: auto;
    }
    .column-nav__panel::after { right: 40px; }
}
