/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 欧文: Noto Sans / 日本語: Noto Sans JP（未収録グリフのフォールバック用に両方読み込み） */
    --movieon-font-sans: 'Noto Sans', 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--movieon-font-sans);
}

body {
    font-family: var(--movieon-font-sans);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* UA 既定の serif / システム UI を置き換え（Noto に統一） */
button,
input,
select,
textarea,
optgroup {
    font-family: var(--movieon-font-sans);
}

/* WordPress ブロック・エディタで別フォントが当たる場合のフォールバック */
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
.wp-block-group,
[class^='wp-block-'] {
    font-family: var(--movieon-font-sans);
}

/* 固定ヘッダー分（TOP以外）・短いページでもフッターをビューポート下部へ */
.site-main {
    flex: 1 0 auto;
}

body:not(.home) .site-main {
    padding-top: 4.6rem;
}

.footer {
    flex-shrink: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn--primary {
    background-color: #e74c3c;
    color: white;
}

.btn--primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: #3498db;
    color: white;
}

.btn--secondary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn--outline:hover {
    background-color: #e74c3c;
    color: white;
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Header（TOP＝ヒーロー直下に配置し sticky。他ページは固定） */
.header {
    background-color: #1a1a1a;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

body:not(.home) .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f85a00;
    box-shadow: none;
}

.home .header {
    position: sticky;
    top: 0;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.55rem 0;
    position: relative;
}

.logo {
    height: auto;
    max-height: 48px;
    width: auto;
}

.header__logo .custom-logo-link,
.header__logo .custom-logo-link img,
.header__logo .header-logo-link,
.header__logo .header-logo-img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
}

/* 暗いナビ上で同梱ロゴ（ベタ黒）をモックに近い白に */
.header__logo .header-logo-img {
    filter: brightness(0) invert(1);
}

/* Navigation */
.nav__menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1001;
}

.nav__menu.active {
    display: flex;
}

.nav__item {
    margin: 0;
}

.nav__link {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav__link:hover {
    background-color: #333;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle-icon {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #7f8c8d;
}

/* Quick Schedule Section */
.quick-schedule {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.schedule-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.schedule-card__time {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.schedule-card__title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.schedule-card__duration {
    color: #7f8c8d;
    font-size: 0.875rem;
}

/* Movies Section */
.movies {
    padding: 4rem 0;
}

.movies__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid #ecf0f1;
}

.movies__tab {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.movies__tab.active {
    border-bottom-color: #e74c3c;
    color: #e74c3c;
}

.movies__panel {
    display: none;
}

.movies__panel.active {
    display: block;
}

.movies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.movie-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.movie-card__link:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.movie-card__cta {
    display: inline-block;
    margin-top: 0.25rem;
    pointer-events: none;
}

.movie-card:hover {
    transform: translateY(-10px);
}

.movie-card__image {
    height: 400px;
    overflow: hidden;
}

.movie-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-card__image img {
    transform: scale(1.05);
}

.movie-card__content {
    padding: 1.5rem;
}

.movie-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.movie-card__genre {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.movie-card__duration {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* News Section */
.news {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.news__list {
    max-width: 800px;
    margin: 0 auto;
}

.news__item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news__item:hover {
    transform: translateY(-3px);
}

.news__date {
    color: #7f8c8d;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.news__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.news__excerpt {
    color: #555;
    line-height: 1.6;
}

/* Pick Up Section */
.pickup {
    padding: 4rem 0;
}

.pickup__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pickup__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.pickup__card:hover {
    transform: translateY(-5px);
}

.pickup__icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.pickup__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.pickup__description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pickup__link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pickup__link:hover {
    color: #c0392b;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: #efe6d3; /* クリーム */
}

.faq .section-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.faq .section-title {
    display: inline-block;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #d97706;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 2px;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: transparent;
    margin: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.45);
}

.faq__item:first-child { border-top: none; }
.faq__item:last-child { border-bottom: none; }

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.35rem 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    transition: background-color 0.2s ease;
    position: relative;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question {
    list-style: none;
}

.faq__question span {
    flex: 1 1 auto;
    min-width: 0;
}

.faq__question::before {
    content: 'Q';
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    background: #e67e22; /* オレンジ */
}

.faq__question::after {
    content: '+';
    flex: 0 0 auto;
    width: 40px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.65);
}

.faq__item[open] > .faq__question::after { content: '−'; }

.faq__question:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.faq__question i {
    display: none;
}

.faq__answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 360ms cubic-bezier(0.22, 1, 0.36, 1), padding 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__answer {
    max-height: 1000px;
    padding: 0 1rem 1.25rem;
}

.faq__item:not([open]) .faq__answer { max-height: 0; }

.faq__answer p {
    margin: 0.85rem 0 1.25rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.78);
}

.faq__answer p::before {
    content: 'A';
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    background: #1f4e79; /* 紺 */
}

/* External Links Section */
.external-links {
    padding: 2.25rem 0 1.75rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

/* Kyujin banner (under Q&A) */
.kyujin-banner {
    padding: 1.75rem 0 3.25rem;
    background: #efe6d3; /* Q&A と同じクリーム */
}

.kyujin-banner__link {
    display: flex;
    gap: 26px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 26px;
    border-radius: 44px;
    overflow: hidden;
    background: #d97706;
    text-decoration: none;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.kyujin-banner__link:hover,
.kyujin-banner__link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    background: #c2410c;
}

.kyujin-banner__media {
    flex: 0 0 auto;
    width: 46%;
    max-width: 420px;
    border-radius: 22px;
    overflow: hidden;
    background: transparent;
}

.kyujin-banner__img {
    display: block;
    width: 100%;
    height: auto;
}

.kyujin-banner__body {
    flex: 1 1 auto;
    min-width: 0;
}

.kyujin-banner__heading {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0 0 10px;
}

.kyujin-banner__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 320px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
}

.kyujin-banner__kicker {
    margin: 0;
    font-size: 1.25rem; /* タイトルと同じ大きさ */
    font-weight: 900;
    letter-spacing: 0;
    position: relative;
    display: block;
}

.kyujin-banner__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.35;
}

.kyujin-banner__text {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.65;
    opacity: 0.95;
}

.kyujin-banner__cta {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #fff;
    color: #c2410c;
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .kyujin-banner__link {
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .kyujin-banner__media {
        width: 100%;
        max-width: none;
    }
}

.external-links__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 760px;
    margin: 0 auto;
}

.external-link {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: opacity 0.15s ease;
}

.external-link:hover {
    opacity: 0.9;
}

.external-link img {
    display: block;
    height: 54px;
    width: auto;
    max-width: min(240px, 90vw);
    border-radius: 0;
    margin: 0;
}

.external-link__text {
    display: none;
}

/* Recruitment Section */
.recruitment {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
}

.recruitment__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.recruitment__text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #fff;
    color: #111;
    padding: 2.25rem 0 1.25rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
}

.footer__left {
    min-width: 0;
}

.footer__logo img,
.footer__logo-img {
    height: auto;
    max-height: 46px;
    width: auto;
    filter: none;
}

.footer__info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.78);
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    flex-shrink: 0;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
    opacity: 0.85;
    transform: translateY(-1px);
}

.footer__social-link img {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

.footer__link {
    color: #d97706;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #c2410c;
}

.footer__copyright {
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.45);
    text-align: right;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.55);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }
    
    .nav__menu {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        padding: 0;
    }
    
    .nav__link {
        padding: 0.5rem 1rem;
        color: white;
    }

    /* 下層ページヘッダー（見本デザイン） */
    body:not(.home) .header .container {
        max-width: none;
        padding: 0 16px;
    }

    body:not(.home) .header__content {
        justify-content: center;
        padding: 1.55rem 0;
        min-height: 52px;
    }

    body:not(.home) .header__logo {
        display: none;
    }

    body:not(.home) .nav__menu {
        display: inline-flex;
        align-items: center;
        gap: 0;
        background: #0f2f5a;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 999px;
        padding: 0.2rem 0.6rem;
        min-height: 34px;
    }

    body:not(.home) .nav__item {
        display: flex;
        align-items: center;
    }

    body:not(.home) .nav__item--minor {
        display: none;
    }

    body:not(.home) .nav__item + .nav__item::before {
        content: "|";
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.68rem;
        margin: 0 0.3rem 0 0.15rem;
        line-height: 1;
    }

    body:not(.home) .nav__link {
        padding: 0.2rem 0.5rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.2;
        color: #fff;
        border-radius: 0;
        white-space: nowrap;
    }

    body:not(.home) .nav__link:hover,
    body:not(.home) .nav__link[aria-current='page'],
    body:not(.home) .nav__link[aria-current='true'],
    body:not(.home) .nav__item.current-menu-parent > .nav__link,
    body:not(.home) .nav__item.current_page_parent > .nav__link,
    body:not(.home) .nav__item.current-menu-ancestor > .nav__link,
    body:not(.home) .nav__item.current-page-ancestor > .nav__link,
    body:not(.home) .nav__item.current_page_ancestor > .nav__link,
    body:not(.home) .nav__item.current-menu-item > .nav__link,
    body:not(.home) .nav__item.current_page_item > .nav__link,
    body:not(.home) .nav__item.is-current > .nav__link,
    body:not(.home) .nav__menu .current-menu-item > .nav__link,
    body:not(.home) .nav__menu .current_page_item > .nav__link {
        color: #ff8a3d;
        background: transparent;
    }
    
    .footer__content { }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
    
    .movies__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pickup__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    body:not(.home) .header {
        background: #f85a00;
    }

    body.nav-open {
        overflow: hidden;
    }

    body:not(.home) .header__content {
        min-height: 52px;
        padding: 0.45rem 0;
    }

    body:not(.home) .header__logo {
        display: none;
    }

    body:not(.home) .nav__toggle {
        margin-left: auto;
        z-index: 1102;
    }

    body:not(.home) .header.is-nav-open .nav__toggle-icon:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    body:not(.home) .header.is-nav-open .nav__toggle-icon:nth-child(2) {
        opacity: 0;
    }

    body:not(.home) .header.is-nav-open .nav__toggle-icon:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    body:not(.home) .nav__menu {
        position: fixed;
        inset: 52px 0 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 1rem 0.75rem 1.5rem;
        background: #0f2f5a;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 1101;
    }

    body:not(.home) .nav__menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    body:not(.home) .nav__item {
        width: min(320px, 92vw);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    body:not(.home) .nav__item--minor {
        margin-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    body:not(.home) .nav__item:not(.nav__item--minor) + .nav__item--minor {
        margin-top: 3.8rem;
    }

    body:not(.home) .nav__item + .nav__item::before {
        content: none;
    }

    body:not(.home) .nav__link {
        text-align: center;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.4;
        padding: 0.85rem 0.5rem;
        color: #fff;
    }

    body:not(.home) .nav__link--minor {
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.95;
        letter-spacing: 0.01em;
    }

    body:not(.home) .nav__link:hover,
    body:not(.home) .nav__item.is-current > .nav__link,
    body:not(.home) .nav__link[aria-current='page'],
    body:not(.home) .nav__link[aria-current='true'] {
        color: #ff8a3d;
        background: transparent;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer__links {
        align-items: flex-start;
    }

    .footer__social {
        align-items: flex-start;
    }

    .footer__copyright {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
 * 単一投稿（お知らせなど）— single.php
 * -------------------------------------------------------------------------- */
.post-single {
    padding-bottom: 4rem;
    max-width: 820px;
}

.site-main--single-post {
    background: linear-gradient(180deg, #f4efe6 0%, #f8f5ee 100%);
    padding-top: clamp(1rem, 2.4vw, 1.8rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    font-size: 1.04rem;
}

.post-single__article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.post-single__header {
    margin: 0;
    padding: 1.25rem 1.4rem 1rem;
    border-bottom: 1px solid #eef2f7;
}

.post-single__header-inner {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.post-single__header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    box-shadow: 0 3px 10px rgba(251, 146, 60, 0.15);
}

.post-single__meta {
    margin: 0;
    font-size: 0.9rem;
    color: #9a3412;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.post-single__time {
    display: inline-block;
}

/* TOP お知らせブロックと同じバッジ形（単一投稿では comp-landing を読まないため main で定義） */
.post-single .news-comp__badge {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.12rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.35;
    border-radius: 2px;
    color: #fff;
}

.post-single .news-comp__badge--info {
    background: #ea580c;
}

.post-single .news-comp__badge--event {
    background: #2563eb;
}

.post-single .news-comp__badge--campaign {
    background: #16a34a;
}

.post-single .news-comp__badge--lv {
    background: #7c3aed;
}

.post-single .news-comp__badge--mx {
    background: #0d9488;
}

/* 見出し（記事タイトル・本文の h3 見出しブロック） */
.site-main--single-post h1.post-single__title,
.site-main--single-post .post-single__content h3.wp-block-heading {
    color: #6f4e4e;
    padding: 15px 10px;
    display: block;
    font-weight: bold;
    border-bottom: 6px solid #e3e3e3;
    position: relative;
    margin: 0;
    line-height: 1.5;
    letter-spacing: normal;
}

.site-main--single-post h1.post-single__title {
    margin-top: 0.25rem;
    font-size: clamp(1.7rem, 2.8vw, 2rem);
}

.site-main--single-post .post-single__content h3.wp-block-heading {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 18px;
}

.site-main--single-post h1.post-single__title::before,
.site-main--single-post .post-single__content h3.wp-block-heading::before {
    content: '';
    background-color: #ff8d00;
    width: 40px;
    height: 6px;
    position: absolute;
    bottom: -6px;
    left: 0;
}

.site-main--single-post h1.post-single__title::before {
    left: 10px;
}

.post-single__thumb {
    margin: 0;
    padding: 1.15rem 1.4rem 0.5rem;
}

/* --------------------------------------------------------------------------
 * お知らせ一覧（/news/）
 * -------------------------------------------------------------------------- */
.news-archive {
    padding-bottom: 4rem;
    max-width: 820px;
}

.news-archive__header {
    margin: 0 0 1.5rem;
}

.news-archive__title {
    font-size: 1.75rem;
    margin: 0;
    color: #111;
    letter-spacing: 0.02em;
}

.news-archive__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;
}

.news-archive__item {
    min-width: 0;
    border-bottom: 1px solid #e5e7eb;
}

.news-archive__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.85rem 0;
    min-width: 0;
    color: #111;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.news-archive__link:hover,
.news-archive__link:focus-visible {
    opacity: 0.82;
}

.news-archive__meta {
    flex-shrink: 0;
}

.site-main--news-archive .news-comp__meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin: 0;
    flex-shrink: 0;
}

.site-main--news-archive .news-comp__date {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: #111;
    font-weight: 500;
}

.site-main--news-archive .news-comp__headline {
    display: block;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* TOP と同じバッジ形（一覧ページは comp-landing を読まないため） */
.site-main--news-archive .news-comp__badge {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.12rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.35;
    border-radius: 2px;
    color: #fff;
}

.site-main--news-archive .news-comp__badge--info {
    background: #ea580c;
}

.site-main--news-archive .news-comp__badge--event {
    background: #2563eb;
}

.site-main--news-archive .news-comp__badge--campaign {
    background: #16a34a;
}

.site-main--news-archive .news-comp__badge--lv {
    background: #7c3aed;
}

.site-main--news-archive .news-comp__badge--mx {
    background: #0d9488;
}

.news-archive__pagination {
    margin: 1.5rem 0 0;
    display: flex;
    justify-content: center;
}

.news-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.6rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.news-archive__pagination .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

.news-archive__empty {
    color: #6b7280;
    margin: 1rem 0 0;
}

.post-single__thumb-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-single__content {
    min-height: 220px;
    padding: 0.7rem 1.4rem 1.25rem;
    font-size: 1.05rem;
    line-height: 1.9;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.post-single__footer {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1.4rem 1.35rem;
    border-top: 1px solid #eef2f7;
    background: #fafafa;
}

.post-single__back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid #d6dbe4;
    background: #fff;
    color: #1f2937;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.post-single__back-link:hover,
.post-single__back-link:focus-visible {
    background: #fff7ed;
    border-color: #fdba74;
    transform: translateY(-1px);
}

.post-single__content img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.post-single__content figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.post-single__content .wp-block-image figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .post-single__header,
    .post-single__thumb,
    .post-single__content,
    .post-single__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .post-single__content {
        min-height: 170px;
    }
}

/* Accessibility（アニメーションのみ短縮。transition は全体に !important しない — Swiper 等が inline の ms を無効化し一瞬で切り替わる原因になる） */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav__link:focus,
.faq__question:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn--primary {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn--secondary {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}

/* WordPress: skip link */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.skip-link:focus {
    clip: auto !important;
    display: block;
    z-index: 100001;
    top: 8px;
    left: 8px;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
