/* ===================================
   リセット・ベース
=================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ===================================
   レイアウト
=================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ===================================
   ヘッダー
=================================== */
.site-header {
    width: 100%;
    position: relative;
    z-index: 50;
    border-bottom: 1px solid #eee;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 68px;
}

.site-header__logo {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ===================================
   ハンバーガーボタン
=================================== */
.hamburger-btn {
    display: none;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .hamburger-btn {
        display: flex;
    }
}

/* ===================================
   ナビゲーションメニュー（オーバーレイ）
=================================== */
.nav-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: #194fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-menu__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 16px 12px;
    flex-shrink: 0;
}

.nav-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #fff;
}

.nav-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    flex: 1;
    width: 100%;
}

.nav-menu__link {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.2s ease;
}

.nav-menu__link:hover {
    opacity: 0.7;
}

/* ===================================
   メインコンテンツ
=================================== */
.site-main {
    min-height: 60vh;
}

/* ===================================
   フッター
=================================== */
.site-footer {
    position: relative;
    height: 640px;
    overflow: hidden;
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/footer-bg.png');
    background-size: cover;
    background-position: top left;
}

.site-footer__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(45, 45, 45, 0.5);
}

.site-footer__nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
}

.site-footer__nav-link {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer__nav-link:hover {
    opacity: 0.7;
}

/* ===================================
   TOPページ
=================================== */
.top-page {
    background-color: #194fff;
}

/* ヒーロー + INFO ラッパー */
.top-page-header {
    padding-bottom: 32px;
}

/* Hero */
.top-hero {
    padding: 24px 24px 32px;
}

.top-hero__inner {
    max-width: 1440px;
    margin-inline: auto;
}

.top-hero__image-wrap {
    height: 720px;
    border-radius: 32px;
    overflow: hidden;
}

.top-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* NEWS + SCHEDULE 2カラム */
.top-info {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.top-info .news-list {
    flex: 1 0 0;
    min-width: 0;
    overflow: hidden;
}

/* Sections wrapper */
.top-sections {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-bottom: 80px;
}

/* GALLERY セクション（白丸角カード） */
.top-gallery {
    background-color: #fff;
    border-radius: 64px;
    padding: 56px 80px 89px;
    overflow: hidden;
}

.top-gallery__inner {
    max-width: 1280px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* WORKS セクション（青背景上） */
.top-works {
    padding-inline: 80px;
}

.top-works__inner {
    max-width: 1280px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* WORKS 内の section-heading ボーダー色を白系に */
.top-works .section-heading {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* WORKS 内の work-list はアイテム幅を均等に */
.top-works .work-list {
    width: 100%;
}

.top-works .work-list-item {
    flex: 1 0 0;
    width: auto;
}

/* セクション下部ボタングループ（モバイルのみ表示） */
.top-section__button-group {
    display: none;
    justify-content: center;
}

/* ===================================
   ギャラリー一覧ページ
=================================== */

.post-type-archive-illust_safe {
    background-color: #f7f7f7;
}

.gallery-page {
    background-color: #f7f7f7;
}

.gallery-page__inner {
    max-width: 960px;
    margin-inline: auto;
    padding: 32px 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-page__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d0d0d;
    line-height: normal;
    white-space: nowrap;
}

.gallery-page__empty {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    color: #6d6d6d;
    padding-block: 80px;
    text-align: center;
}

/* フィルターバー */
.gallery-filter {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 32px;
    height: 152px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-filter__row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.gallery-filter__label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0d0d0d;
    white-space: nowrap;
    flex-shrink: 0;
    width: 128px;
}

.gallery-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* チップ（TODO: 将来 chip.php として独立コンポーネント化） */
.chip {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding-inline: 20px;
    border-radius: 999px;
    border: 1px solid #a6a6a6;
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d0d0d;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.chip:hover {
    opacity: 0.7;
}

.chip--active {
    background-color: #194fff;
    border-color: #194fff;
    color: #fff;
}

.chip--active:hover {
    opacity: 0.85;
}

/* ツールバー（件数 + 並び替え） */
.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e3e3e3;
}

.gallery-toolbar__count {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d0d0d;
}

.gallery-toolbar__sort-form {
    display: flex;
    align-items: center;
}

/* ギャラリーページ内のページネーション余白 */

.gallery-page__inner .gallery-page__empty {
    margin-top: 40px;
}

/* ページネーション（TODO: 将来 pagination.php として独立コンポーネント化） */
.gallery-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.gallery-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 16px;
    align-items: center;
}

.gallery-pagination .page-numbers li a,
.gallery-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #a6a6a6;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #0d0d0d;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.gallery-pagination .page-numbers li a:hover {
    opacity: 0.7;
}

.gallery-pagination .page-numbers li span.current {
    background-color: #194fff;
    border-color: #194fff;
    color: #fff;
    font-weight: 700;
}

.gallery-pagination .page-numbers li .dots {
    border: none;
    font-size: 1.25rem;
    width: auto;
    padding-inline: 4px;
}

/* ===================================
   ページヘッダー
=================================== */
.page-header {
    position: relative;
    height: 560px;
    width: 100%;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    top: -695px;
    left: 0;
    width: 1920px;
    height: 1560px;
    background-size: cover;
    background-position: center top;
    pointer-events: none;
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(133, 167, 251, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-header__inner {
    position: absolute;
    inset: 0;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-header__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.page-header__en {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    line-height: 1;
}

.page-header__ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

/* ===================================
   コンポーネント一覧ページ
=================================== */
.components-page {
    padding-block: 80px;
}

.components-page__header {
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
    margin-bottom: 64px;
}

.components-page__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.components-page__desc {
    margin-top: 8px;
    color: #666;
    font-size: 0.9375rem;
}

.components-section {
    padding-bottom: 64px;
    margin-bottom: 64px;
    border-bottom: 1px solid #eee;
}

.components-section:last-child {
    border-bottom: none;
}

.components-section__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.components-section__path {
    font-size: 0.8125rem;
    color: #999;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 32px;
}

.components-info {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.components-section__desc {
    font-size: 0.9375rem;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.7;
}

.components-section__desc code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 4px;
    color: #333;
}

.components-props {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.components-props th,
.components-props td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.components-props th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    background: #fafafa;
    white-space: nowrap;
}

.components-props td:first-child {
    white-space: nowrap;
}

.components-props td:nth-child(2) {
    color: #888;
    white-space: nowrap;
}

.components-props code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 4px;
    color: #333;
}

.components-demo {
    margin-bottom: 24px;
}

.components-demo__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 12px;
}

.components-demo__preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.components-demo__preview--block {
    display: block;
}

.components-demo--dark .components-demo__preview {
    background: #111;
    border-color: #333;
}

/* ===================================
   セクションヘディング
=================================== */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 24px;
    border-bottom: 1px solid #e3e3e3;
}

.section-heading__body {
    display: flex;
    align-items: center;
    gap: 24px;
}

.section-heading__en {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #194fff;
    line-height: 1;
    white-space: nowrap;
}

.section-heading__ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #194fff;
    white-space: nowrap;
}

/* Secondary スタイル（黄緑） */
.section-heading--secondary .section-heading__en,
.section-heading--secondary .section-heading__ja {
    color: #f2ff3d;
}

/* Small サイズ（tablet / mobile） */
.section-heading--small .section-heading__en {
    font-size: 2.25rem; /* 36px */
}

.section-heading--small .section-heading__ja {
    font-size: 1rem; /* 16px */
}

/* ===================================
   ワークリスト
=================================== */
.work-list {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

/* リスト内ではアイテム幅をセルに合わせる */
.work-list .work-list-item {
    width: 100%;
}

/* ===================================
   ワークリストアイテム
=================================== */
.work-list-item {
    display: flex;
    flex-direction: column;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.work-list-item:hover {
    opacity: 0.8;
}

.work-list-item__image-wrap {
    width: 100%;
    aspect-ratio: 292 / 414;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.work-list-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-list-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 20px;
}

.work-list-item__date {
    font-family: 'Krona One', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6d6d6d;
    letter-spacing: 0.04em;
}

.work-list-item__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d0d0d;
    line-height: 1.5;
}

/* ===================================
   ギャラリーカードリスト
=================================== */
.gallery-card-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

.gallery-card-list__item {
    min-width: 0;
}

/* グリッド内ではアイテム幅をセルに合わせる */
.gallery-card-list .gallery-card-list-item {
    width: 100%;
}

/* ===================================
   ギャラリーカードリストアイテム
=================================== */
.gallery-card-list-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 272px;
    text-decoration: none;
    color: inherit;
}

.gallery-card-list-item--small {
    width: 172.5px;
}

.gallery-card-list-item__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #e3e3e3;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-card-list-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-card-list-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.gallery-card-list-item__date {
    font-family: 'Krona One', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6d6d6d;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.gallery-card-list-item__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d0d0d;
    white-space: nowrap;
}

/* ===================================
   ニュースリスト
=================================== */
.news-list {
    border-right: 1px solid #e3e3e3;
    overflow: hidden;
}

.news-list__header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background-color: #fff;
    border-bottom: 1px solid #e3e3e3;
}

.news-list__header-label {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #194fff;
    letter-spacing: 0.02em;
}

.news-list__items {
    list-style: none;
}

.news-list__item {
    display: block;
}

/* リスト内ではアイテムを幅いっぱいに広げる */
.news-list .news-list-item {
    width: 100%;
}

/* ===================================
   ニュースリストアイテム
=================================== */
.news-list-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
    padding: 15px 16px;
    background: #fff;
    border-bottom: 1px solid #e3e3e3;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.news-list-item:hover {
    opacity: 0.7;
}

.news-list-item__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.news-list-item__date {
    font-family: 'Krona One', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6d6d6d;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-list-item__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Small */
.news-list-item--small .news-list-item__date {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
}

.news-list-item--small .news-list-item__title {
    font-size: 0.75rem;
}

/* ===================================
   セレクト
=================================== */
.select-wrap {
    display: inline-block;
    position: relative;
}

.select {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    padding: 12px 16px 12px 24px;
    padding-right: 44px; /* アイコン分の余白 */
    border: 1px solid #a6a6a6;
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease;
}

.select:focus {
    outline: none;
    border-color: #000;
}

/* ===================================
   ボタン
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px 8px 20px;
    border: 1px solid #000;
    border-radius: 999px;
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.7;
}

.btn--gray {
    border-color: #6d6d6d;
}

.btn__label {
    line-height: 1;
}

.btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #396afc 0%, #2948ff 100%);
    flex-shrink: 0;
}

/* ===================================
   レスポンシブ — タブレット (≤ 1024px)
=================================== */
@media (max-width: 1024px) {
    .top-hero__image-wrap {
        height: 560px;
    }

    .top-page-header {
        padding-bottom: 24px;
    }

    .top-sections {
        gap: 40px;
        padding-bottom: 40px;
    }

    .top-gallery {
        padding: 40px 40px 56px;
    }

    .top-works {
        padding-inline: 40px;
    }

    /* tablet以下では Small サイズに切り替え */
    .top-gallery .section-heading__en,
    .top-works .section-heading__en {
        font-size: 2.25rem;
    }

    .top-gallery .section-heading__ja,
    .top-works .section-heading__ja {
        font-size: 1rem;
    }
}

/* ===================================
   レスポンシブ — モバイル (≤ 767px)
=================================== */
@media (max-width: 767px) {
    /* ギャラリー一覧ページ */
    .gallery-page__inner {
        padding: 32px 16px 80px;
    }

    .gallery-filter {
        height: auto;
        padding: 20px 16px;
        gap: 16px;
    }

    .gallery-filter__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .gallery-filter__label {
        width: auto;
    }

    .gallery-page__inner .gallery-card-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
        row-gap: 16px;
    }

    /* ヒーロー */
    .top-hero {
        padding: 12px;
    }

    .top-hero__image-wrap {
        height: 560px;
    }

    /* NEWS / SCHEDULE を縦積みに */
    .top-info {
        flex-direction: column;
    }

    /* flex-basis:0 を解除しないと縦方向で高さが潰れる */
    .top-info .news-list {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e3e3e3;
    }

    /* セクション */
    .top-sections {
        gap: 40px;
        padding-bottom: 40px;
    }

    /* GALLERY: 白背景・角丸はそのまま、paddingのみ縮小 */
    .top-gallery {
        padding: 32px 20px 56px;
    }

    /* 見出し横ボタンを非表示（下部ボタンに統一） */
    .top-gallery .section-heading .btn,
    .top-works .section-heading .btn {
        display: none;
    }

    /* WORKSも同様 */
    .top-works {
        padding: 32px 20px 56px;
    }

    /* ギャラリーグリッドを2列に */
    .top-gallery .gallery-card-list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    /* ワークリストは横スクロール */
    .top-works .work-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: calc(100% + 40px);
        margin-inline: -20px;
        padding-inline: 20px;
        padding-bottom: 16px;
    }

    .top-works .work-list-item {
        flex: 0 0 200px;
        width: 200px;
    }

    /* セクション下部ボタングループを表示 */
    .top-section__button-group {
        display: flex;
    }

    /* フッター縦ナビ */
    .site-footer {
        height: 480px;
    }

    .site-footer__nav {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
}

/* ===================================
   イラスト詳細ページ（single-illust_safe）
=================================== */
.illust-single {
    background-color: #f7f7f7;
    padding-bottom: 80px;
}

.illust-single__inner {
    max-width: 640px;
    margin-inline: auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* メタ情報 */
.illust-single__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dbdbdb;
}

.illust-single__meta-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.illust-single__date {
    font-family: 'Krona One', sans-serif;
    font-size: 0.75rem;
    color: #727272;
    letter-spacing: 0.04em;
}

.illust-single__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #2c2c2c;
    line-height: 1.4;
}

.illust-single__tags-row {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
}

.illust-single__char-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.illust-single__char-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding-inline: 14px;
    border: 1px solid #194fff;
    border-radius: 999px;
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #194fff;
    white-space: nowrap;
}

.illust-single__hashtags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.illust-single__hashtag {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #194fff;
    white-space: nowrap;
}

/* イラスト画像 */
.illust-single__images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.illust-single__image-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.illust-single__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* 説明テキスト */
.illust-single__desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #dbdbdb;
}

.illust-single__desc-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c2c2c;
}

.illust-single__desc-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    line-height: 1.7;
}

/* タブレット（≤1024px） */
@media (max-width: 1024px) {
    .illust-single__inner {
        padding-top: 64px;
        padding-inline: 64px;
    }
}

/* モバイル（≤767px） */
@media (max-width: 767px) {
    .illust-single__inner {
        padding-top: 64px;
        padding-inline: 16px;
    }

    .illust-single__title {
        font-size: 1.25rem;
    }
}
