@charset "utf-8";

/* ==========================================================================
   Page Specific Layouts & Modules (ページ・機能別モジュール)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Common Main Content Section (メインコンテンツ基本構成)
   -------------------------------------------------------------------------- */
#main .contentSection {
    padding: 2rem 0;
}

@media (min-width: 1025px) {
    #main .contentSection {
        padding: 4rem 0;
    }
}

#main .contentSection:last-child {
    padding-bottom: 6rem;
}

#main .contentBg {
    background-color: var(--gray-bg);
}

#main .contentInner {
    margin: 0 auto;
    max-width: var(--site-width-pc);
    padding: 0 1.25rem;
}


/* --------------------------------------------------------------------------
   2. Slideshow Module (スライドショー)
   -------------------------------------------------------------------------- */
.slideshow {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slideshow-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.slideshow-wrapper img {
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
    flex-shrink: 0;
    object-fit: cover;
    opacity: .3;
    padding: 0;
    transition: opacity 0.4s ease-in-out;
    width: var(--slide-width);
}

.slideshow-wrapper img.is-active-slide {
    opacity: 1;
}

.slideshow-wrapper.is-instant img {
    transition: none;
}

.slide-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 24px;
    height: 48px;
    position: absolute;
    top: calc(50% - 24px);
    transform: translateY(-50%);
    width: 48px;
    z-index: 10;
}

.slide-btn span {
    font-size: 2rem;
    line-height: 48px;
}

.slide-prev {
    left: 0;
}

.slide-next {
    right: 0;
}

@media (min-width: 600px) {
    .slide-btn {
        display: block;
    }
}

.slideshow-pagination {
    background-color: var(--gray-bg);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 6px 10px 10px 10px;
}

.slideshow-pagination-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    color: #333;
    cursor: pointer;
    font-size: .875rem;
    padding: 4px 7px;
    transition: border-color 0.3s, color 0.3s;
}

.slideshow-pagination-btn.is-active {
    border-bottom-color: #000;
    color: #000;
    font-weight: 700;
}


/* --------------------------------------------------------------------------
   3. Event Info Section (トップページ等：イベント情報エリア枠組み)
   -------------------------------------------------------------------------- */
#eventInfo .contentInner {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1025px) {
    #eventInfo .contentInner {
        grid-template-columns: auto 1fr;
    }
}

#eventInfo .contentInner h2 {
    color: #000;
    border-bottom: 1px solid #000;
    font-size: 1.125rem;
    line-height: 1;
    margin: 0;
    padding-bottom: .5rem;
}

@media (min-width: 1025px) {
    #eventInfo .contentInner h2 {
        border: none;
        font-size: 1.5rem;
        padding: 0;
        width: 300px;
    }
}


/* --------------------------------------------------------------------------
   4. Book Catalog & Store Grid (書籍・店舗一覧グリッド)
   -------------------------------------------------------------------------- */
#bookList .contentInner .bookListInner,
.archiveList .bookListInner {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
    #bookList .contentInner .bookListInner,
    .archiveList .bookListInner {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    #bookList .contentInner .bookListInner,
    .archiveList .bookListInner {
        grid-template-columns: repeat(6, 1fr);
    }
}

#bookList .contentInner .bookListInner section a,
#bookList .contentInner .bookListInner section a:visited,
.archiveList .bookListInner section a,
.archiveList .bookListInner section a:visited {
    color: var(--text-color);
    display: block;
    line-height: 1.25;
    margin: 1rem 0;
    text-decoration: none;
    transition: opacity .4s;
}

#bookList .contentInner .bookListInner section a:hover,
.archiveList .bookListInner section a:hover {
    opacity: .6;
    text-decoration: none;
}

#bookList .contentInner .bookListInner section a img,
.archiveList .bookListInner section a img {
    border: 1px solid var(--border-color);
    display: block;
    width: 100%;
    margin: 0 auto;
    max-width: 150px;
}

#bookList .contentInner .bookListInner section a span,
.archiveList .bookListInner section a span {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-top: 1em;
    text-align: center;
}

/* 関連書籍セクション */
.relatedBooksWrap {
    padding: 4rem 0 0 0;
}

@media (min-width: 1025px) {
    .relatedBooksWrap {
        padding: 6rem 0 0 0;
    }
}

#main .relatedBooksWrap .contentSection {
    padding: 0 0 2rem 0;
}

#main .relatedBooksWrap .contentSection:last-child {
    padding-bottom: 0;
}

.relatedSectionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.relatedSectionHeader .sectionTitle {
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
}

.relatedSectionHeader .moreLinkWrap {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.relatedSectionHeader .moreLinkWrap::after {
    font-family: 'Material Symbols Outlined';
    content: 'arrow_right';
    font-size: 1.125rem;
    line-height: 1;
    color: #0098ce;
    pointer-events: none;
}

.relatedSectionHeader .moreLink {
    font-size: 0.8125rem;
    transition-duration: .3s;
}

/* 店舗一覧 */
#storeList .contentInner .bookListInner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 600px) {
    #storeList .contentInner .bookListInner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    #storeList .contentInner .bookListInner {
        grid-template-columns: repeat(6, 1fr);
    }
}

#storeList .contentInner .bookListInner section a img {
    width: 100%;
}

#storeList .contentInner .bookListInner section .store {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    text-align: center;
}

#storeList .contentInner .bookListInner section .comment,
#storeList .contentInner .bookListInner section .coment {
    display: block;
    font-size: .75rem;
    line-height: 1.5;
    margin-top: .25rem;
    text-align: center;
}


/* --------------------------------------------------------------------------
   5. News & Archive Module (ニュース・お知らせ・イベント一覧)
   -------------------------------------------------------------------------- */
#sideWrap {
    align-items: start;
}

#archiveWrap {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 1025px) {
    #archiveWrap {
        grid-template-columns: 250px 1fr;
    }
}

#newsList .contentInner h2 {
    color: #000;
    font-size: 1.125rem;
    line-height: 1;
    margin: 0;
    padding-bottom: .5rem;
}

@media (min-width: 1025px) {
    #newsList .contentInner h2 {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }
}

#newsList .contentInner .newsListInner {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1025px) {
    #newsList .contentInner .newsListInner {
        grid-template-columns: 1fr 300px;
    }
}

#newsList .contentInner ul,
#archiveWrap .archiveList ul.news,
ul.event {
    list-style: none;
    margin: 0;
    padding: 0;
}

#archiveWrap .archiveList ul.news li a,
#newsList .contentInner ul li a,
#newsList .contentInner ul li a:visited {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    text-decoration: none;
}

#archiveWrap .archiveList ul.news li a:hover,
#newsList .contentInner ul li a:hover {
    background-color: var(--gray-hover-bg);
    text-decoration: none;
}

#archiveWrap .archiveList ul.news li a .date,
#newsList .contentInner ul li a .date,
ul.event li a .date {
    font-family: 'Roboto Mono', monospace, sans-serif;
    color: #666;
    font-size: 0.8125rem;
    flex-shrink: 0;
    font-weight: 700;
    letter-spacing: 0.03em;
}

#archiveWrap .archiveList ul.news li a .category,
#newsList .contentInner ul li a .category,
.entryHeader .entryMeta .category {
    background-color: var(--footer-bg);
    border-radius: 3px;
    color: var(--footer-color);
    display: inline-block;
    font-size: .75rem;
    line-height: 1;
    padding: .125rem .25rem;
    flex-shrink: 0;
}

#archiveWrap .archiveList ul.news li a .title,
#newsList .contentInner ul li a .title {
    width: 100%;
    flex-grow: 0;
    color: var(--text-color);
}

ul.event li a,
ul.event li a:visited {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.125rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    text-decoration: none;
}

ul.event li a:hover {
    background-color: var(--gray-hover-bg);
    text-decoration: none;
}

ul.event li:last-child a {
    border-bottom: 0;
}

ul.event li a .date {
    white-space: nowrap;
}

ul.event .eventDetail {
    display: flex;
    align-items: center;
    gap: 0 1rem;
    flex-wrap: wrap;
    flex-grow: 1;
}

ul.event .eventDetail .title {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}

#eventInfo ul.event .eventDetail .title {
    font-size: .875rem;
}

ul.event .eventDetail .location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #555;
}

ul.event .eventDetail .place {
    color: #555;
}

ul.event .eventDetail .space {
    background-color: #e8e8e8;
    color: #333;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

#eventInfo ul.event .eventDetail .location {
    display: none;
}


/* --------------------------------------------------------------------------
   6. Event Detail Page (イベント詳細ページ固有スタイル)
   -------------------------------------------------------------------------- */
.eventSpecTable {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 0 3rem 0;
    padding: 0;
}

.eventSpecRow {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: stretch;
    border-bottom: 1px solid var(--border-color);
}

.eventSpecRow:last-child {
    border-bottom: none;
}

.eventSpecRow dt {
    background-color: var(--gray-bg);
    font-weight: 700;
    color: #333;
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border-color);
    box-sizing: border-box;
}

.eventSpecRow dd {
    margin: 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    color: #333;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.eventSiteBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #fff;
    color: #0098ce;
    border: 1px solid #0098ce;
    padding: 0.35rem 0.875rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.eventSiteBtn .material-symbols-outlined {
    font-size: 16px;
}

.eventSiteBtn:hover {
    background-color: #0098ce;
    color: #fff;
    text-decoration: none;
}

.eventOshinagakiArea .emptyContent {
    color: #888;
    font-style: italic;
}


/* --------------------------------------------------------------------------
   7. Single Post & Article Content (ブログ・お知らせ本文)
   -------------------------------------------------------------------------- */
.entryHeader .entryMeta {
    align-items: center;
    color: #696969;
    display: grid;
    font-size: .875rem;
    gap: 0 .5rem;
    grid-auto-flow: column;
    justify-content: start;
    margin-bottom: .5rem;
}

.entryHeader .entryTitle {
    border-bottom: 3px solid #000;
    color: #000;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding: 0 0 10px 0;
    line-height: 1.2;
}

.entry-content h2 {
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    padding: 0 0 1rem 0;
}

.entry-content h2:not(:first-child) {
    margin-top: 4rem;
}

.entry-content p {
    margin: 0 0 1rem 0;
    overflow-wrap: break-word;
    word-break: break-all;
}

.entry-content p:empty::before,
.entry-content p>br:only-child::before {
    content: "\00a0";
}


/* --------------------------------------------------------------------------
   7-1. Content Table Module (本文・汎用テーブル)
   -------------------------------------------------------------------------- */
#main .entry-content .wp-block-table,
#main .entry-content table {
    margin: 1rem 0;
    overflow-x: auto;
}

#main .entry-content .wp-block-table table,
#main .entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.85;
    background-color: transparent;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    margin: 0;
}

#main .entry-content .wp-block-table th,
#main .entry-content .wp-block-table td,
#main .entry-content table th,
#main .entry-content table td {
    padding: 1.125rem 1.25rem;
    border: none;
    border-bottom: 1px dotted #bbb;
    color: var(--text-color, #2b2b2b);
    text-align: left;
    vertical-align: baseline;
}

#main .entry-content .wp-block-table thead th,
#main .entry-content table thead th {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #111;
    letter-spacing: 0.1em;
    background-color: var(--gray-bg, #f7f7f7);
    border-bottom: 1px solid #111;
}

#main .entry-content .wp-block-table tbody th,
#main .entry-content table tbody th {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #444;
    letter-spacing: 0.05em;
    border-right: 1px dotted #bbb;
    background-color: rgba(0, 0, 0, 0.015);
}

#main .entry-content .wp-block-table tr:last-child th,
#main .entry-content .wp-block-table tr:last-child td,
#main .entry-content table tr:last-child th,
#main .entry-content table tr:last-child td {
    border-bottom: none;
}


/* --------------------------------------------------------------------------
   8. Book Single Detail Page & Side Panel (書籍詳細・イベント購入サイドバー)
   -------------------------------------------------------------------------- */
#bookDetailWrap {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1025px) {
    #bookDetailWrap {
        grid-template-columns: 1fr 300px;
    }
}

.mainBookDetail {
    display: grid;
    gap: 2rem;
}

@media (min-width: 600px) {
    .mainBookDetail {
        grid-template-columns: 1fr 1fr;
    }
}

.mainBookDetail .subTitle {
    font-size: 0.75rem;
}

.mainBookDetail .bookTitle {
    font-size: 1.375rem;
    margin: 0 0 10px 0;
}

.mainBookDetail .bookSpecList {
    line-height: 1.5;
    font-size: .75rem;
    margin: 20px 0;
}

.mainBookDetail .bookSpecList .bookSpecRow {
    display: inline-block;
    margin-right: 12px;
}

.mainBookDetail .bookSpecList .bookSpecRow .specLabel {
    font-weight: 700;
}

.mainBookDetail .bookDescription {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: .875rem;
    margin: 20px 0;
    padding: 20px 0;
    text-align: justify;
}

.sideBookDetail .bookEditionStore .editionList {
    display: flex;
    gap: .5rem;
    width: 100%;
}

.sideBookDetail .bookEditionStore .editionItem {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.2s ease;
    user-select: none;
}

.sideBookDetail .bookEditionStore .editionName {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.sideBookDetail .bookEditionStore .editionItem.is-active {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
    cursor: default;
}

.sideBookDetail .bookEditionStore .editionItem.is-link {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: #000;
    cursor: pointer;
}

.sideBookDetail .bookEditionStore .editionItem.is-link:hover {
    opacity: .6;
    text-decoration: none;
}

.sideBookDetail .bookStore {
    background-color: var(--gray-bg);
    font-size: .875rem;
    padding: 20px;
    margin-bottom: 20px;
}

.sideBookDetail .bookStore .bookStoreTitle {
    background-color: #000;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: .25rem .5rem;
    position: relative;
    text-align: center;
}

.sideBookDetail .bookStore .bookStoreTitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #000 transparent transparent;
    translate: -50% 100%;
}

@media (min-width: 600px) and (max-width: 1024px) {
    .sideBookDetail .bookStore {
        display: grid;
        grid-template-columns: 1fr 3fr;
        align-items: center;
    }

    .sideBookDetail .bookStore .bookStoreTitle {
        align-items: center;
        display: flex;
        justify-content: center;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .sideBookDetail .bookStore .bookStoreTitle::after {
        top: 50%;
        bottom: auto;
        left: 100%;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #000;
        translate: 0 -50%;
    }
}

@media (min-width: 1025px) {
    .sideBookDetail .bookStore {
        display: block;
    }

    .sideBookDetail .bookStore .bookStoreTitle {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .sideBookDetail .bookStore .bookStoreTitle::after {
        top: auto;
        bottom: 0;
        left: 50%;
        border-width: 10px 10px 0 10px;
        border-color: #000 transparent transparent;
        translate: -50% 100%;
    }
}

.sideBookDetail .bookStore .eventList,
.sideBookDetail .bookStore ul.storeList {
    display: grid;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
}

@media (min-width: 600px) {
    .sideBookDetail .bookStore .eventList,
    .sideBookDetail .bookStore ul.storeList {
        gap: .5rem;
    }
}

@media (min-width: 1025px) {
    .sideBookDetail .bookStore .eventList,
    .sideBookDetail .bookStore ul.storeList {
        gap: .25rem;
    }
}

.sideBookDetail .bookStore .eventList li {
    background-color: #fff;
    padding: .5rem;
}

.sideBookDetail .bookStore .eventList a,
.sideBookDetail .bookStore .eventList a:visited,
.sideBookDetail .bookStore ul.storeList a {
    color: #000;
    display: block;
    text-decoration: none;
    transition: all .4s;
}

.sideBookDetail .bookStore .eventList a:hover,
.sideBookDetail .bookStore ul.storeList a:hover {
    opacity: .6;
    text-decoration: none;
}

.sideBookDetail .bookStore .eventList a .eventDate {
    display: block;
    font-size: .75rem;
    color: #333;
}

.sideBookDetail .bookStore .eventList a .eventTitle {
    display: block;
    font-weight: 700;
    color: #000;
}

.sideBookDetail .bookStore ul.storeList {
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 600px) {
    .sideBookDetail .bookStore ul.storeList {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .sideBookDetail .bookStore ul.storeList {
        grid-template-columns: 1fr 1fr;
    }
}

.sideBookDetail .bookStore ul.storeList img {
    vertical-align: bottom;
}


/* --------------------------------------------------------------------------
   9. Book Image Gallery & Lightbox Component (書籍画像ギャラリー ＆ モーダル)
   -------------------------------------------------------------------------- */
.bookGallery {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
}

@media (min-width: 1025px) {
    .bookGallery {
        margin: 0 auto 20px 20px;
    }
}

.bookGallerySlideWrap {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    overflow: hidden;
    cursor: zoom-in;
}

.bookGallerySlideTrack {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

.slideItem {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideItem img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
}

.bookGalleryCounter {
    text-align: center;
    font-size: .875rem;
    margin: 15px 0 10px;
}

.bookGalleryNav {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.galleryArrow {
    align-items: center;
    background: transparent;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 64px;
    justify-content: center;
    margin: 0;
    min-height: 0 !important;
    outline: none;
    padding: 0 !important;
    user-select: none;
    width: 32px;
}

.galleryArrow::before {
    border-left: 2px solid #aaa;
    border-top: 2px solid #aaa;
    content: '';
    display: block;
    height: 10px;
    transition: border-color 0.2s;
    width: 10px;
}

.galleryArrow:hover::before {
    border-color: #222;
}

#galleryNextBtn::before {
    margin-right: 4px;
    transform: rotate(135deg);
}

#galleryPrevBtn::before {
    margin-left: 4px;
    transform: rotate(-45deg);
}

.bookGalleryThumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px;
    scrollbar-width: none;
    max-width: calc(100% - 70px);
}

.bookGalleryThumbs::-webkit-scrollbar {
    display: none;
}

.thumbItem {
    flex: 0 0 64px;
    height: 64px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    opacity: 0.5;
    transition: all 0.2s;
}

.thumbItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.thumbItem:hover {
    opacity: 0.8;
}

.thumbItem.is-active {
    opacity: 1;
    border: 2px solid #222;
}

/* モーダル (ライトボックス) */
.bookLightboxModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.bookLightboxModal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: zoom-out;
}

.lightboxSlideWrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
}

.lightboxSlideTrack {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.lightboxSlideItem {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.lightboxSlideItem img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.lightboxCloseBtn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    background: rgba(40, 40, 40, 0.8);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightboxCloseBtn .material-symbols-outlined {
    font-size: 24px;
    color: #fff;
    line-height: 1;
}

.lightboxCloseBtn:hover {
    background: rgba(80, 80, 80, 0.9);
}

.lightboxArrow {
    align-items: center;
    background: rgba(40, 40, 40, 0.8);
    border: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 60px;
    justify-content: center;
    min-height: 0 !important;
    outline: none;
    padding: 0 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s;
    user-select: none;
    width: 50px;
    z-index: 3;
}

.lightboxArrow .material-symbols-outlined {
    display: block;
    font-size: 36px;
    height: 36px;
    line-height: 1;
    width: 36px;
}

.lightboxArrow:hover {
    background: rgba(80, 80, 80, 0.9);
}

.lightboxPrev {
    left: 0;
}

.lightboxNext {
    right: 0;
}


/* --------------------------------------------------------------------------
   10. Responsive Adjustments (レスポンシブ微調整)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    #archiveWrap .archiveList ul.news li a {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    ul.event li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    ul.event .eventDetail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .eventSpecRow {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.875rem 1rem;
        gap: 0.35rem;
    }

    .eventSpecRow dt {
        background-color: #eee;
        border-right: none;
        border-radius: 3px;
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        height: auto;
    }

    .eventSpecRow dd {
        padding: 0.125rem 0 0 0;
        font-size: 0.875rem;
        width: 100%;
    }

    .lightboxArrow {
        width: 40px;
        height: 50px;
        font-size: 2rem;
    }
}


/* --------------------------------------------------------------------------
   11. 404 Error Page Style (404エラーページ固有スタイル)
   -------------------------------------------------------------------------- */
#errorWrap {
    padding: 80px 20px;
    text-align: center;
}

.errorContainer {
    max-width: 600px;
    margin: 0 auto;
}

.errorCode {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    color: var(--text-color);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.errorTitle {
    font-family: 'Plus Jakarta Sans', "LINE Seed JP", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.errorMessage {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
}

.errorBtnWrap {
    display: flex;
    justify-content: center;
}