/* blog.css — SITTIDA blog styles */

body { background: #ffffff; }

/* ============================================================
   BLOG HERO
   ============================================================ */
.blog-hero {
    background: #ffffff;
    padding: 105px 0 40px;
}
@media (min-width: 769px) {
  .blog-hero {
    padding: 160px 0 40px;
  }
}
.blog-hero__en {
    font-family: var(--font-en);
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}
.blog-hero__h1 {
    font-family: var(--font-jp);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 600;
    color: var(--black);
    margin-bottom: .75rem;
}
.blog-hero__sub {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-list-section {
    padding: 40px 0 80px;
}
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.bcard {
    border-bottom: 1px solid var(--border);
}
.bcard:first-child {
    border-top: 1px solid var(--border);
}
.bcard__link {
    display: block;
    padding: 1.5rem 0;
    transition: opacity .15s;
}
.bcard__link--has-thumb {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.bcard__thumb {
    width: 130px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    object-fit: cover;
    background: #f0f0f0;
}
.bcard__body {
    flex: 1;
    min-width: 0;
}
@media (max-width: 540px) {
    .bcard__link--has-thumb {
        flex-direction: column;
        gap: .75rem;
    }
    .bcard__thumb {
        width: 100%;
        height: 180px;
        border-radius: 4px;
    }
}
/* iPad・PC: 画像が左、右側は上から 日付 → タグ → タイトル */
@media (min-width: 541px) {
    .bcard__link--has-thumb .bcard__meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
        margin-bottom: .6rem;
    }
    .bcard__link--has-thumb .bcard__category {
        margin-left: 0;
    }
}
.bcard__link:hover { opacity: .7; }
.bcard__meta {
    margin-bottom: .4rem;
}
.bcard__date {
    font-family: var(--font-en);
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .05em;
}
.bcard__title {
    font-family: var(--font-jp);
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 600;
    color: var(--black);
    margin-bottom: .5rem;
    line-height: 1.5;
}
.bcard__excerpt {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: .75rem;
}
.bcard__read {
    font-family: var(--font-en);
    font-size: .75rem;
    color: var(--black);
    letter-spacing: .05em;
}

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.blog-category-tabs {
    padding: 0;
    background: #fff;
}
.blog-tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: wrap;
}
.blog-tabs::-webkit-scrollbar { display: none; }
.blog-tab {
    flex-shrink: 0;
    padding: .5rem 1.1rem;
    font-size: .82rem;
    font-family: var(--font-jp);
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.blog-tab:hover {
    border-color: #888;
    color: var(--black);
}
.blog-tab--active:hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: var(--black);
}
.blog-tab:active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}
.blog-tab--active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
    font-weight: 600;
}

/* ============================================================
   CATEGORY BADGES (一覧カード)
   ============================================================ */
.bcard__category {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: .6rem;
    vertical-align: middle;
}
.bcard__category--painter,
.bcard__category--column,
.bcard__category--dev,
.bcard__category--overseas { background: var(--gray-bg); color: var(--muted); }

/* ============================================================
   CATEGORY BADGE (記事ページ)
   ============================================================ */
.post-header__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.post-header__meta .post-date { margin-bottom: 0; }
.post-category {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 3px;
}
.post-category--painter,
.post-category--column,
.post-category--dev,
.post-category--overseas { background: var(--gray-bg); color: var(--muted); }

.blog-loading {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}
.blog-empty {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
}
.blog-error {
    color: #c00;
    font-size: .9rem;
    padding: 1rem 0;
}

/* nav active */
.hdr__nav-active { color: var(--black) !important; }

/* ============================================================
   BLOG POST
   ============================================================ */
.post-main {
    padding: 0;
}
.post-main .wrap {
    max-width: 860px;
    padding: 110px 24px 100px;
}
.post-back {
    display: none;
}

.post-article {}
.post-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}
.post-header .post-header__meta {
    order: -1;
}
.post-date {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    font-size: 13px;
    color: #999;
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}
.post-title {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #222;
    line-height: 1.7;
    letter-spacing: 0.05em;
    margin: 0;
}
.post-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 2.0;
    letter-spacing: 0.04em;
    margin: 16px 0 0;
}

/* Post body — markdown rendered content */
.post-body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 2.0;
    color: #444;
    letter-spacing: 0.04em;
}
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
    letter-spacing: 0.05em;
}
.post-body h1 {
    font-size: 26px;
    margin: 60px 0 25px;
    border-left: 5px solid #222;
    background: #f5f5f5;
    padding: 14px 20px;
}
.post-body h2 {
    font-size: 25px;
    margin: 60px 0 25px;
    padding: 9px 20px;
    position: relative;
}
.post-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #2b2b2b;
    border-radius: 3px;
}
.post-body h3 {
    font-size: 19px;
    margin: 45px 0 18px;
}
.post-body h4 {
    font-size: 17px;
    margin: 35px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #bbb;
}
.post-body p  {
    margin: 15px 0;
}
.post-body a  {
    color: #1a6fc4;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post-body a:hover { opacity: .75; }
.post-body ul,
.post-body ol {
    font-size: 16px;
    line-height: 2.0;
    padding: 0;
    margin: 20px 0 28px 0;
}
.post-body li { margin-bottom: 10px; }
.post-body ul { list-style: disc inside; }
.post-body ol { list-style: decimal inside; }
.post-body blockquote {
    border-left: 2px solid #e9e9e9;
    padding: 12px 20px;
    margin: 0 0 28px;
    background: #f9f9f9;
    color: #666;
    font-style: normal;
    border-radius: 0 4px 4px 0;
}
.post-body code {
    font-family: 'Courier New', monospace;
    font-size: .85em;
    background: #f0f0f0;
    padding: .15em .4em;
    border-radius: 3px;
}
.post-body pre {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 28px;
}
.post-body pre code {
    background: none;
    padding: 0;
}
.post-body img {
    max-width: 100%;
    height: auto;
    margin: 8px 0 24px;
    display: block;
}
.post-body hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 48px 0;
}
.post-body .box-note {
    background: #ecf4fa;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 32px 0;
    color: #2a486e;
}
/* 静的HTMLファイル用: JSラッパーなしでもCSSのみでスクロール可能 */
.post-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 28px 0;
}
/* 動的パス用: .js-scrollableがスクロールを担うのでtableをデフォルトに戻す */
.post-body .js-scrollable table {
    display: table;
    overflow-x: visible;
    width: auto;
    margin: 0;
}
.js-scrollable {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
}
.post-body th {
    background: #f5f5f5;
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #ddd;
    white-space: nowrap;
}
.post-body td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    vertical-align: top;
    white-space: nowrap;
}
.post-body tr:nth-child(even) td {
    background: #fafafa;
}
@media (max-width: 768px) {
    .post-title { font-size: 18px; }
    .post-body h2 { font-size: 21px; }
    .post-body h3 { font-size: 17px; }
}

/* ============================================================
   TOC（目次）
   ============================================================ */
.toc {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 0 0 48px;
}
.toc__details {
    padding: 24px 28px;
}
.toc__title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.05em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after {
    content: "▼";
    font-size: 10px;
    color: #888;
    transition: transform 0.2s;
}
.toc__details[open] .toc__title::after {
    transform: rotate(-180deg);
}
.toc__list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    counter-reset: toc-counter;
}
.toc__item {
    counter-increment: toc-counter;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.toc__item::before {
    content: counter(toc-counter) ".";
    color: #4865b2;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 20px;
}
.toc__item--h3 {
    padding-left: 20px;
    font-size: 13px;
}
.toc__item--h3::before {
    content: "–";
    color: #aaa;
    font-weight: 400;
}
.toc__item a {
    color: #333;
    text-decoration: none;
    line-height: 1.6;
}
.toc__item a:hover {
    color: #4865b2;
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 768px) {
    .toc__item--h3 { padding-left: 0; }
}
@media (max-width: 480px) {
    .post-body th,
    .post-body td { padding: 8px 10px; }
}

.post-back-btn {
    display: inline-block;
    margin-top: 3rem;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 15px;
    color: #1a6fc4;
    text-decoration: none;
    transition: opacity .15s;
}
.post-back-btn:hover { opacity: .7; }

/* ============================================================
   BLOG ADMIN
   ============================================================ */
.hdr__admin-badge {
    font-family: var(--font-en);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--purple);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Login */
.admin-login {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}
.admin-login__card {
    max-width: 360px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.admin-login__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Inputs */
.admin-input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-jp);
    font-size: 1rem; /* 16px以上でiOSの自動ズームを防止 */
    color: var(--text);
    background: var(--white);
    transition: border-color .2s;
    display: block;
}
.admin-input:focus {
    outline: none;
    border-color: var(--purple);
}

/* Messages */
.admin-msg {
    padding: .75rem 1rem;
    border-radius: var(--r-sm);
    font-size: .85rem;
    margin-bottom: 1rem;
}
.admin-msg--error { background: #fee; color: #c00; border: 1px solid #fcc; }
.admin-msg--ok    { background: #efe; color: #060; border: 1px solid #cfc; }

/* Sections */
.admin-section { padding: 2rem 0 4rem; }
@media (min-width: 768px) {
    .admin-section .wrap,
    .admin-login .wrap {
        max-width: 960px;
    }
}
.admin-section__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
}
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}
.admin-toolbar__btn {
    width: auto !important;
    padding: .65rem 1.25rem !important;
    font-size: .85rem !important;
}

/* Post list */
.admin-post-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.admin-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    gap: .75rem;
}
.admin-post-item__info {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.admin-post-item__title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-post-item__date {
    font-family: var(--font-en);
    font-size: .72rem;
    color: var(--muted);
}
.admin-post-item__actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}
.admin-badge {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}
.admin-badge--pub   { background: #efe; color: #060; }
.admin-badge--draft { background: var(--gray-bg); color: var(--muted); }
.admin-badge--cat         { font-weight: 500; }
.admin-badge--cat-painter  { background: #eef4ff; color: #2563eb; }
.admin-badge--cat-column   { background: #f0fdf4; color: #16a34a; }
.admin-badge--cat-dev      { background: #fdf4ff; color: #9333ea; }
.admin-badge--cat-overseas { background: #fff7ed; color: #c2410c; }
.admin-edit-btn {
    font-size: .78rem;
    color: var(--purple);
    border: 1px solid var(--purple);
    padding: 4px 12px;
    border-radius: var(--r-sm);
    background: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.admin-edit-btn:hover { background: var(--purple); color: var(--white); }

/* Editor */
.admin-back-btn {
    font-size: .8rem;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-en);
    letter-spacing: .05em;
    transition: color .15s;
}
.admin-back-btn:hover { color: var(--black); }

.admin-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.admin-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--black);
    display: block;
    margin-top: .5rem;
}
.admin-label__hint {
    font-weight: 400;
    color: var(--muted);
    margin-left: .5rem;
}
.admin-required { color: var(--purple); }
.admin-textarea {
    width: 100%;
    min-height: 320px;
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: 'Courier New', monospace;
    font-size: 1rem; /* 16px以上でiOSの自動ズームを防止 */
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    resize: vertical;
    transition: border-color .2s;
}
.admin-textarea:focus {
    outline: none;
    border-color: var(--purple);
}

/* Toggle */
.admin-publish-row { margin: .5rem 0; }
.admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
}
.admin-toggle input { display: none; }
.admin-toggle__track {
    width: 40px; height: 22px;
    border-radius: 11px;
    background: var(--border);
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.admin-toggle__track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--white);
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.admin-toggle input:checked + .admin-toggle__track {
    background: var(--purple);
}
.admin-toggle input:checked + .admin-toggle__track::after {
    transform: translateX(18px);
}
.admin-toggle__label { font-size: .9rem; }

/* Form buttons */
.admin-form__btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: .5rem;
}
.btn-fill { display: flex; align-items: center; justify-content: center; }
.admin-form__btns .btn-fill {
    width: auto !important;
    padding: .75rem 1.75rem !important;
}
.admin-delete-btn {
    font-size: .82rem;
    color: #c00;
    border: 1px solid #fcc;
    background: none;
    padding: .7rem 1.25rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
}
.admin-delete-btn:hover { background: #fee; }

.blog-empty-text {
    padding: 2rem 0;
    color: var(--muted);
    font-size: .9rem;
}

/* ── Body tab toggle ── */
.admin-body-tabs {
    display: flex;
    gap: .25rem;
    margin-bottom: .5rem;
}
.admin-body-tab {
    padding: .4rem 1rem;
    font-size: .82rem;
    border: 1px solid var(--border);
    background: none;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    cursor: pointer;
    color: var(--muted);
    transition: background .15s, color .15s;
}
.admin-body-tab--active {
    background: #fff;
    color: var(--text);
    border-bottom-color: #fff;
    font-weight: 500;
}
.admin-body-preview {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1rem 1.25rem;
    min-height: 240px;
    background: #fff;
}

/* ── Media modal ── */
.media-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.media-modal__box {
    position: relative;
    background: #fff;
    border-radius: var(--r-sm);
    width: min(92vw, 880px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.media-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.media-modal__title { font-size: 1rem; font-weight: 600; margin: 0; }
.media-modal__close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--muted);
    padding: .25rem .5rem;
    line-height: 1;
}
.media-modal__upload-zone {
    margin: 1rem 1.5rem 0;
    border: 2px dashed var(--border);
    border-radius: var(--r-sm);
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
}
.media-modal__upload-zone:hover,
.media-drop-zone--over {
    border-color: #888;
    background: #f9f9f9;
}
.media-modal__upload-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    font-size: .85rem;
    color: var(--muted);
}
.media-modal__upload-icon { font-size: 1.6rem; }
.media-modal__upload-sub  { font-size: .75rem; }
.media-upload-progress    { font-size: .85rem; color: var(--muted); }

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
    padding: 1rem 1.5rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.media-item {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}
.media-item__thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-item__name {
    font-size: .7rem;
    color: var(--muted);
    padding: .4rem .5rem .2rem;
    word-break: break-all;
    line-height: 1.3;
}
.media-item__actions {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .4rem .5rem .6rem;
}
.media-copy-btn,
.media-del-btn {
    font-size: .72rem;
    padding: .3rem .5rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: none;
    text-align: center;
    transition: background .15s;
}
.media-copy-btn:hover { background: #f0f0f0; }
.media-del-btn  { color: #c00; border-color: #fcc; }
.media-del-btn:hover { background: #fee; }

/* ── Toolbar actions ── */
.admin-toolbar__actions { display: flex; gap: .5rem; align-items: center; }
.btn-outline {
    padding: .6rem 1.2rem;
    border: 1px solid var(--border);
    background: none;
    border-radius: var(--r-sm);
    font-size: .88rem;
    cursor: pointer;
    transition: background .15s;
}
.btn-outline:hover { background: #f5f5f5; }

/* scroll-hint: アイコンポップアップを非表示（影ヒントのみ残す） */
.scroll-hint-icon-wrap { display: none; }

/* =============================
   作家紹介記事専用スタイル
   ============================= */

.post-type-artist {
  max-width: 680px;
  line-height: 1.9;
}

.post-type-artist .accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  gap: 8px;
  transition: opacity 0.15s ease;
}

.post-type-artist .accordion-btn:hover {
  opacity: 0.7;
}


.post-type-artist .accordion-label {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: left;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.post-type-artist .accordion-label::before {
  display: none;
}

.post-type-artist .accordion-icon {
  font-size: 6px;
  color: #888;
  flex-shrink: 0;
  order: -1;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
  margin-top: calc((11px * 1.4 - 6px) / 2);
}
.post-type-artist .accordion-icon.open {
  transform: rotate(0deg);
}

.post-type-artist .accordion-body {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 14px;
  background: #f7f7f7;
  border-left: 2px solid #efefef;
}
.post-type-artist .accordion-body.open {
  display: block;
}

.post-type-artist .accordion-body ul {
  list-style: none;
  padding: 0;
}

.post-type-artist .accordion-body li {
  font-size: 14px;
}

.post-type-artist .body-text {
  font-size: 15px;
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.post-type-artist .profile-list {
  list-style: none;
  padding: 0;
}
.post-type-artist .profile-list li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 0.5px solid #e0e0e0;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1a1a;
}
.post-type-artist .profile-list li:last-child {
  border-bottom: none;
}
.post-type-artist .profile-key {
  color: #888;
  flex-shrink: 0;
  min-width: 110px;
}

.post-type-artist .timeline {
  list-style: none;
  padding: 0;
}
.post-type-artist .timeline li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 0.5px solid #e0e0e0;
  color: #1a1a1a;
}
.post-type-artist .timeline li:last-child {
  border-bottom: none;
}
.post-type-artist .timeline-year {
  font-weight: 500;
  color: #888;
  flex-shrink: 0;
  min-width: 60px;
}

.post-type-artist .critic-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid #e8e8e8;
}
.post-type-artist .critic-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.post-type-artist .critic-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.post-type-artist .critic-role {
  font-size: 12px;
  color: #999;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.post-type-artist .quote-block {
  background: #f5f5f3;
  border: none;
  border-top: 1px dotted #d0d0d0;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 0.5rem;
}
.post-type-artist .quote-block p {
  font-size: 14px;
  line-height: 1.9;
  color: #2a2a2a;
  font-style: italic;
  margin: 0;
}

.post-type-artist .quote-src {
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
  display: block;
}
.post-type-artist .quote-src a {
  color: #888;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-type-artist .collection-section {
  margin-bottom: 1rem;
}
.post-type-artist .collection-title {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 8px;
}
.post-type-artist .collection-list {
  list-style: none;
  padding: 0;
}
.post-type-artist .collection-list li {
  padding: 4px 0 4px 14px;
  position: relative;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1a1a;
}
.post-type-artist .collection-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #aaa;
}

.post-type-artist .summary-list {
  list-style: none;
  padding: 0;
}
.post-type-artist .summary-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 0.5px solid #e0e0e0;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1a1a;
}
.post-type-artist .summary-list li:last-child {
  border-bottom: none;
}
.post-type-artist .summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #aaa;
  font-size: 12px;
  top: 8px;
}

.post-type-artist .artist-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f7f7f5;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.9;
  color: #1a1a1a;
}
.post-type-artist .artist-cta a {
  color: #1a6fc4;
  text-decoration: underline;
}

/* intro paragraphs inside post-type-artist */
.post-type-artist .artist-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
