/* ==========================================================================
   Be:SYSTEM CMS - Default Theme CSS
   Comprehensive styles for multi-tenant CMS tenant sites
   Based on the live WordPress site (be-nagata.jp) design patterns
   ========================================================================== */


/* ==========================================================================
   1. ROOT VARIABLES & BASE STYLES
   ========================================================================== */

:root {
    --main-theme-color: #1770a5;
    --sub-theme-color: #E8F5FD;
    font-family: 'Noto Sans JP', "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --color_main: #216495;
    --color_text: #216495;
    --color_link: #1176d4;
    --color_htag: #216495;
    --color_paper: #fdfdfd;
    --sp-width: 959px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: var(--color_text);
    background-color: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--color_link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--main-theme-color);
}

h1, h2, h3, h4, h5 {
    color: var(--main-theme-color);
    margin-top: 0;
    line-height: 1.4;
}

h6 {
    margin-top: 0;
    line-height: 1.4;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


/* ==========================================================================
   2. RESPONSIVE UTILITIES
   ========================================================================== */

.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 959px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

/* Responsive line breaks */
@media (min-width: 600px) {
    br.spbr {
        display: none;
    }
}

@media (max-width: 599px) {
    br.pcbr {
        display: none;
    }
}


/* ==========================================================================
   3. SECTION INNER CONTAINER
   ========================================================================== */

.section-inner {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 959px) {
    .section-inner {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 1rem;
    }
}


/* ==========================================================================
   4. LOADING SCREEN
   ========================================================================== */

#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: var(--main-theme-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.spinner {
    width: 100px;
    height: 100px;
    margin: 50vh auto;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-scaleout 1s infinite ease-in-out;
}

.loaded {
    opacity: 0;
    visibility: hidden;
}

@keyframes sk-scaleout {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}


/* ==========================================================================
   5. HEADER - Transparent over hero, fixed on scroll
   ========================================================================== */

/* --- Main Header: Absolute positioned, transparent on homepage --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.5s ease;
}

.site-header__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    color: #fff;
}

.site-header__logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-header__logo:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-header__logo img {
    height: 40px;
    width: auto;
}

/* Desktop Navigation */
.site-header__nav {
    display: flex;
    gap: 1.5rem;
}

.site-header__nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header__nav a:hover {
    color: #fff;
}

/* Mobile: hide desktop nav, show toggle */
@media (max-width: 959px) {
    .site-header__nav {
        display: none;
    }

    .site-header__mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: #fff;
    }
}

@media (min-width: 960px) {
    .site-header__mobile-toggle {
        display: none;
    }
}

/* Mobile: header becomes fixed with data-spfix attribute */
@media (max-width: 959px) {
    .site-header[data-spfix] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fdfdfd;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    }

    .site-header[data-spfix] .site-header__inner {
        color: var(--color_text);
    }

    .site-header[data-spfix] .site-header__logo {
        color: var(--main-theme-color);
    }

    .site-header[data-spfix] .site-header__nav a {
        color: var(--color_text);
    }

    .site-header[data-spfix] .site-header__mobile-toggle {
        color: var(--color_text);
    }
}

/* --- Fixed Header: appears on scroll via JS --- */
.site-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #fdfdfd;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.site-header--fixed.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.site-header--fixed .site-header__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    color: var(--color_text);
}

.site-header--fixed .site-header__logo {
    color: var(--main-theme-color);
}

.site-header--fixed .site-header__logo:hover {
    opacity: 0.8;
}

.site-header--fixed .site-header__nav {
    display: flex;
    gap: 1.5rem;
}

.site-header--fixed .site-header__nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color_text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header--fixed .site-header__nav a:hover {
    color: var(--main-theme-color);
}

@media (max-width: 959px) {
    .site-header--fixed .site-header__nav {
        display: none;
    }

    .site-header--fixed .site-header__mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--color_text);
    }
}

@media (min-width: 960px) {
    .site-header--fixed .site-header__mobile-toggle {
        display: none;
    }
}

/* White logo image (used in main transparent header) */
.site-header__logo-white {
    display: inline;
}

.site-header__logo-blue {
    display: none;
}

/* Scrolled state: swap logos */
.site-header--fixed .site-header__logo-white,
.site-header[data-spfix] .site-header__logo-white {
    display: none;
}

.site-header--fixed .site-header__logo-blue,
.site-header[data-spfix] .site-header__logo-blue {
    display: inline;
}

/* When header is on a non-homepage (no hero), use solid background */
.site-header--solid {
    position: relative;
    background-color: #fdfdfd;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.site-header--solid .site-header__inner {
    color: var(--color_text);
}

.site-header--solid .site-header__logo {
    color: var(--main-theme-color);
}

.site-header--solid .site-header__nav a {
    color: var(--color_text);
}

.site-header--solid .site-header__nav a:hover {
    color: var(--main-theme-color);
}

.site-header--solid .site-header__mobile-toggle {
    color: var(--color_text);
}

.site-header--solid .site-header__logo-white {
    display: none;
}

.site-header--solid .site-header__logo-blue {
    display: inline;
}


/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    position: absolute;
    width: 100%;
    top: 64px;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--color_text);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
    background-color: #f3f4f6;
}

/* Fixed header mobile menu */
.site-header--fixed .mobile-menu {
    background-color: #fff;
}

/* Mobile header with data-spfix also gets a proper mobile menu */
.site-header[data-spfix] .mobile-menu {
    background-color: #fff;
}


/* ==========================================================================
   6. MAIN VISUAL / HERO
   ========================================================================== */

#main_visual {
    position: relative;
    overflow: hidden;
}

#main_visual.p-mainVisual.-type-single {
    width: 100%;
}

#main_visual.p-mainVisual.-height-set {
    /* height controlled by inner */
}

.p-mainVisual__inner {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.p-mainVisual__slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.p-mainVisual__imgLayer {
    display: block;
    width: 100%;
    height: 100%;
}

.p-mainVisual__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.u-obf-cover {
    object-fit: cover;
}

.c-filterLayer {
    position: relative;
}

.c-filterLayer.-nofilter::before {
    display: none;
}

.p-mainVisual__textLayer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (max-width: 959px) {
    .p-mainVisual__textLayer {
        top: -20vh;
    }
}

#main_visual .catch-copy-group {
    width: 90%;
    max-width: 400px;
    margin: auto;
}

#main_visual .catch-copy-img-group {
    width: 90%;
    max-width: 400px;
    margin: auto;
}

#main_visual .catch-copy {
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0;
    line-height: 2.2rem;
}

@media (max-width: 959px) {
    #main_visual .catch-copy {
        font-size: 0.8rem;
        line-height: 24px;
        margin-bottom: 0;
    }
}

/* Scroll indicator button */
.p-mainVisual__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    animation: scrollBounce 2s infinite ease-in-out;
}

.p-mainVisual__scrollArrow {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.p-mainVisual__scrollLabel {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.c-plainBtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}


/* ==========================================================================
   7. SECTION TITLE / STYLE VARIANTS
   ========================================================================== */

.is-style-section_ttl.page-h2 {
    width: fit-content;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.2rem 0.8rem;
    background-color: #fff;
    border: 2px solid var(--main-theme-color);
    box-shadow: 8px 8px 0px 0 var(--main-theme-color);
}


/* ==========================================================================
   8. LINE / UNDERLINE HIGHLIGHTS
   ========================================================================== */

.line.yellow {
    text-decoration: underline;
    text-decoration-color: #fff200;
    text-decoration-thickness: 10px;
    text-underline-offset: -5px;
}


/* ==========================================================================
   9. SPACER BETWEEN SECTIONS
   ========================================================================== */

div.spacer {
    width: 100vw;
    margin: 2rem calc(50% - 50vw);
    height: 4rem;
    background-color: #e8f5fd;
}


/* ==========================================================================
   10. RECAPTCHA BADGE
   ========================================================================== */

.grecaptcha-badge {
    z-index: 1;
}

@media (max-width: 959px) {
    .grecaptcha-badge {
        bottom: 80px !important;
    }
}

@media (min-width: 960px) {
    .grecaptcha-badge {
        bottom: 100px !important;
    }
}


/* ==========================================================================
   11. PAGE CONTENTS WRAPPER
   ========================================================================== */

.page-contents-wrapper {
    padding-top: 100px;
    margin: 0 auto;
}

@media (max-width: 959px) {
    .page-contents-wrapper {
        width: 90%;
    }
}


/* ==========================================================================
   12. FULL WIDE TITLE / PAGE TITLE H1 FRAME
   ========================================================================== */

.full-wide-title {
    position: absolute;
    left: calc(50% - 50vw);
    width: 100vw;
}

.page-title-h1-frame {
    top: 0;
    left: 0;
    position: absolute;
    width: calc((100vw - 960px) / 2 + 200px);
    min-width: 200px;
    height: 90px;
    background-color: var(--main-theme-color);
}

.page-title-h1-frame h1 {
    text-align: right;
    font-size: 1.4rem;
    color: #ffffff;
    padding: 0.6rem 1rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 959px) {
    .page-title-h1-frame {
        position: relative;
        width: 70%;
        min-width: 180px;
        height: auto;
        padding: 0.5rem 0;
    }

    .page-title-h1-frame h1 {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }
}


/* ==========================================================================
   13. ENTRY SECTION - Background images + frame overlay
   ========================================================================== */

#entry-section {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
}

#entry-section:before {
    background-color: inherit;
    z-index: 1;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#entry-section .entry-sec-frame {
    z-index: 2;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

/* --- Entry Section: Mobile --- */
@media (max-width: 959px) {
    #entry-section {
        background-image: url(../assets/img/top/entry_sec_bg_sp.jpg);
    }

    #entry-section .entry-sec-frame {
        background-image: url(../assets/img/top/entry_sec_frame_sp.png);
        width: 100%;
        padding: 4rem 2rem 6rem 2rem;
        max-height: 760px;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame {
        max-width: 350px;
        width: 80%;
        margin: auto;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item {
        height: 40vw;
        max-height: 200px;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item div,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item img {
        height: 100%;
        text-align: left;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item img {
        object-fit: contain !important;
        object-position: center left;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item1,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item2,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item3 {
        visibility: hidden;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item1.is-animated,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item2.is-animated,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item3.is-animated {
        visibility: visible;
        animation: slideUp 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
}

/* --- Entry Section: Desktop --- */
@media (min-width: 960px) {
    #entry-section {
        background-image: url(../assets/img/top/entry_sec_bg_pc.jpg);
        height: 400px;
    }

    #entry-section .entry-sec-frame {
        background-image: url(../assets/img/top/entry_sec_frame.png);
        width: 960px;
        padding: 4rem;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame {
        display: flex;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item1,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item2,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item3 {
        visibility: hidden;
        height: 200px;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item1 img,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item2 img,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item3 img {
        height: 100%;
    }

    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item1.is-animated,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item2.is-animated,
    #entry-section .entry-sec-frame .entry-sec-inner-frame .entry-sec-item.item3.is-animated {
        visibility: visible;
        animation: slideUp 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
}


/* ==========================================================================
   14. CONTENT SECTION - Header-number bar + content layout
   ========================================================================== */

.content-section {
    position: relative;
    overflow: hidden;
}

/* --- Content Section: Mobile (<960px) --- */
@media (max-width: 959px) {
    .content-section .content-header-frame {
        margin-bottom: 4rem;
    }

    .content-section .content-header-frame .header-number {
        position: absolute;
        width: 60px;
        height: 5.8rem;
        background-color: var(--main-theme-color);
    }

    .content-section .content-header-frame .number-square {
        width: 40px;
    }

    .content-section .content-header-frame .header-text {
        width: 90%;
        max-width: 600px;
        margin: 1rem auto;
        color: var(--main-theme-color);
    }

    .content-section .content-header-frame .header-text .title {
        margin-bottom: 2rem;
    }

    .content-section .content-header-frame .header-text .main-title h2 {
        font-size: 1.2rem;
        border-bottom: 1px solid var(--main-theme-color);
        line-height: 3rem;
    }

    .content-section .content-header-frame .header-text .sub-title h3 {
        font-size: 1rem;
        line-height: 3rem;
    }

    .content-section .content-header-frame .header-text .text-frame {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .content-section .content-header-frame .header-text .text-frame .text-inner {
        text-align: justify;
        line-height: 1.8rem;
        letter-spacing: 0.1em;
    }

    /* First section: bar on RIGHT */
    .content-section .first-content-header-frame .header-number {
        right: 0;
    }

    .content-section .first-content-header-frame .title {
        padding: 0 calc(70px - 5vw) 0 0;
    }

    /* Second section: bar on LEFT */
    .content-section .second-content-header-frame .header-number {
        left: 0;
    }

    .content-section .second-content-header-frame .header-number .number-square {
        margin-left: auto;
        margin-right: 0;
    }

    .content-section .second-content-header-frame .title {
        padding: 0 0 0 calc(70px - 5vw);
    }

    /* Third section: bar on RIGHT (same as first) */
    .content-section .third-content-header-frame .header-number {
        right: 0;
    }

    .content-section .third-content-header-frame .title {
        padding: 0 calc(70px - 5vw) 0 0;
    }

    /* Sub-header frame */
    .content-section .sub-header-frame {
        margin: 0 auto 1.8rem auto;
        padding: 0 1rem;
        width: 100%;
        max-width: 600px;
    }

    .content-section .sub-header-frame .main-message {
        width: fit-content;
        font-size: 1.2rem;
        font-weight: bold;
        padding: 0.2rem 0.8rem;
        background-color: #fff;
        color: var(--main-theme-color);
        border: 2px solid var(--main-theme-color);
        box-shadow: 8px 8px 0px 0 var(--main-theme-color);
    }

    .content-section .sub-header-frame .sub-message {
        font-size: 1rem;
        margin: 1.2rem 0 1rem 1rem;
    }

    /* Main content frame */
    .content-section .main-content-frame {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 4rem auto;
        padding: 0 2rem;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .content-section .main-content-frame .item-frame {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .content-section .main-content-frame .main-content-item > .title {
        font-size: 1.2rem;
        font-weight: bold;
        padding: 0.3rem 0 0 3rem;
        margin-bottom: 0.6rem;
        position: relative;
    }

    .content-section .main-content-frame .main-content-item > .title span.item-num {
        position: absolute;
        top: 0;
        left: 0;
        height: 2.4rem;
    }

    .content-section .main-content-frame .main-content-item > .title span.item-num img {
        height: 100%;
    }

    .content-section .main-content-frame .main-content-item > .text {
        letter-spacing: 0.1em;
        text-align: justify;
    }
}

/* --- Content Section: Desktop (>=960px) --- */
@media (min-width: 960px) {
    .content-section .content-header-frame {
        margin-bottom: 2rem;
        height: 320px;
    }

    .content-section .content-header-frame .header-number {
        position: absolute;
        width: calc(((100vw - 960px) / 2) + 3rem);
        height: 290px;
        background-color: var(--main-theme-color);
    }

    .content-section .content-header-frame .number-square {
        width: 80px;
    }

    .content-section .content-header-frame .header-text {
        width: 960px;
        position: absolute;
        transform: translateX(-50%);
    }

    .content-section .content-header-frame .header-text .title {
        margin-bottom: 1.5rem;
    }

    .content-section .content-header-frame .header-text .main-title h2 {
        font-size: 2rem;
        border-bottom: 1px solid var(--main-theme-color);
        line-height: 1.4;
        padding-bottom: 0.5rem;
    }

    .content-section .content-header-frame .header-text .sub-title h3 {
        font-size: 1.2rem;
        line-height: 3rem;
    }

    .content-section .content-header-frame .header-text .text-frame {
        width: 100%;
        display: flex;
        gap: 30px;
    }

    .content-section .content-header-frame .header-text .text-frame .text-inner {
        max-width: 50%;
        letter-spacing: 0.1em;
        text-align: justify;
        line-height: 1.8;
    }

    /* First section: bar on RIGHT */
    .content-section .first-content-header-frame .header-number {
        right: 0;
        top: 30px;
    }

    .content-section .first-content-header-frame .header-text {
        padding: 0 6rem 0 2rem;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Second section: bar on LEFT */
    .content-section .second-content-header-frame .header-number {
        left: 0;
        top: 30px;
    }

    .content-section .second-content-header-frame .header-number .number-square {
        margin-left: auto;
        margin-right: 0;
    }

    .content-section .second-content-header-frame .header-text {
        padding: 0 2rem 0 6rem;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Third section: bar on RIGHT (same as first) */
    .content-section .third-content-header-frame .header-number {
        right: 0;
        top: 30px;
    }

    .content-section .third-content-header-frame .header-text {
        padding: 0 6rem 0 2rem;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Sub-header frame */
    .content-section .sub-header-frame {
        margin: 0 auto 1.8rem auto;
        padding: 0 0 0 2rem;
        width: 960px;
    }

    .content-section .sub-header-frame .main-message {
        width: fit-content;
        font-size: 1.4rem;
        font-weight: bold;
        padding: 0.2rem 0.8rem;
        background-color: #fff;
        color: var(--main-theme-color);
        border: 2px solid var(--main-theme-color);
        box-shadow: 8px 8px 0px 0 var(--main-theme-color);
    }

    .content-section .sub-header-frame .sub-message {
        font-size: 1.2rem;
        margin: 1.2rem 0 1rem 4rem;
    }

    /* Main content frame */
    .content-section .main-content-frame {
        width: 960px;
        margin: 0 auto 4rem auto;
        padding: 0 2rem;
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    .content-section .main-content-frame .item-frame {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .content-section .main-content-frame .main-content-item > .title {
        font-size: 1.2rem;
        font-weight: bold;
        padding: 0.3rem 0 0 3rem;
        margin-bottom: 0.6rem;
        position: relative;
    }

    .content-section .main-content-frame .main-content-item > .title span.item-num {
        position: absolute;
        top: 0;
        left: 0;
        height: 2.4rem;
    }

    .content-section .main-content-frame .main-content-item > .title span.item-num img {
        height: 100%;
    }

    .content-section .main-content-frame .main-content-item > .text {
        letter-spacing: 0.1em;
        text-align: justify;
        line-height: 1.8;
    }
}


/* ==========================================================================
   15. ACTIVITY PHILOSOPHY SECTION
   ========================================================================== */

#activity-phil-section {
    background-color: var(--sub-theme-color);
}

#activity-phil-section .activity-phil-header-frame {
    margin: 2rem auto 1rem auto;
    width: 100%;
}

#activity-phil-section .activity-phil-header-frame > .title {
    text-align: center;
}

#activity-phil-section .activity-phil-content {
    width: 960px;
    margin: 1rem auto;
    padding: 1rem 2rem;
    display: flex;
    gap: 40px;
}

#activity-phil-section .activity-phil-content .activity-phil-item {
    width: 100%;
}

#activity-phil-section .activity-phil-content .activity-phil-item > .title {
    position: relative;
    height: 3rem;
    z-index: 5;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: underline var(--main-theme-color) 2px;
    text-underline-offset: 5px;
}

#activity-phil-section .activity-phil-content .activity-phil-item > .title span.item-num {
    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    left: 50%;
    top: 30%;
    z-index: -1;
}

#activity-phil-section .activity-phil-content .activity-phil-item > .text {
    letter-spacing: 0.1em;
    text-align: justify;
    line-height: 1.8;
}

@media (max-width: 959px) {
    #activity-phil-section {
        padding: 1rem 0;
    }

    #activity-phil-section .activity-phil-content {
        width: 100%;
        max-width: 600px;
        flex-direction: column;
        gap: 10px;
        margin: 1rem auto;
    }

    #activity-phil-section .activity-phil-content .activity-phil-item {
        max-width: 400px;
        margin: 2rem auto;
    }
}

@media (min-width: 960px) {
    #activity-phil-section {
        padding: 2rem 0 4rem 0;
    }

    #activity-phil-section .activity-phil-content {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* ==========================================================================
   16. MEMBERSHIP SECTION
   ========================================================================== */

#membership-section {
    padding: 2rem 0 4rem 0;
}

#membership-section .footnote {
    font-size: 0.8rem;
    text-align: right;
    margin: 0.4rem 0;
}

#membership-section .section-inner {
    margin: 0 auto;
    width: 960px;
}

/* Membership header bar (blue background, white text) */
#membership-section .section-inner .membership-header-frame {
    padding: 0.5rem;
    margin: 2rem auto 1rem auto;
    width: 100%;
    background-color: var(--main-theme-color);
}

#membership-section .section-inner .membership-header-frame .title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

/* Flow title */
#membership-section .section-inner .membership-content-frame .membership-title {
    font-size: 1.6rem;
    font-weight: bold;
    border-bottom: 1px solid var(--main-theme-color);
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
}

/* Flow items grid (Desktop: 3 columns) */
#membership-section .section-inner .membership-content-frame .membership-flow-items {
    margin: 1rem 0 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

#membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title {
    background-color: var(--sub-theme-color);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 2.4rem;
    text-align: center;
    position: relative;
}

#membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-text {
    padding: 1rem;
    line-height: 1.8;
}

/* --- Membership: Mobile (<960px) --- */
@media (max-width: 959px) {
    #membership-section .footnote {
        grid-column: 1 / 3;
    }

    #membership-section .section-inner {
        width: 100%;
        max-width: 600px;
        padding: 0 0.4rem;
    }

    #membership-section .section-inner .membership-header-frame .title {
        font-size: 1.2rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-title {
        font-size: 1.2rem;
    }

    /* Single column on mobile */
    #membership-section .section-inner .membership-content-frame .membership-flow-items {
        margin: 1rem 0 1rem 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 20px;
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item {
        display: grid;
        grid-template-columns: [title] 120px [text] 1fr;
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title {
        grid-column: title;
        background-color: var(--sub-theme-color);
        font-size: 18px;
        font-weight: bold;
        line-height: 100%;
        text-align: center;
        position: relative;
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title p {
        top: calc(50% + 10px);
        position: relative;
        transform: translateY(-50%);
    }

    /* Mobile arrows (downward-pointing) */
    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title::before {
        content: "";
        position: absolute;
        color: #fff;
        top: 0;
        left: 0;
        border-left: 60px solid rgba(0, 0, 0, 0);
        border-top: 10px solid;
        border-right: 60px solid rgba(0, 0, 0, 0);
        border-bottom: 10px solid rgba(0, 0, 0, 0);
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title::after {
        content: "";
        position: absolute;
        color: var(--sub-theme-color);
        bottom: -20px;
        left: 0;
        border-left: 60px solid rgba(0, 0, 0, 0);
        border-top: 10px solid;
        border-right: 60px solid rgba(0, 0, 0, 0);
        border-bottom: 10px solid rgba(0, 0, 0, 0);
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-text {
        grid-column: text;
        padding: 1rem;
    }

    /* Price items mobile */
    #membership-section .section-inner .membership-content-frame .membership-price-items {
        margin: 1rem auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header {
        grid-column: 1 / 2;
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 10px;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.title {
        border: 2px solid var(--main-theme-color);
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        color: var(--main-theme-color);
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.title .small {
        font-size: 12px;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.title p {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item1 {
        grid-row: 1;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item2 {
        grid-row: 2 / 4;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item3 {
        grid-row: 4;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents {
        grid-column: 2 / 3;
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 10px;
        text-align: center;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item {
        border: 2px solid var(--sub-theme-color);
        height: 8rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms {
        background-color: var(--sub-theme-color);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        height: 100%;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms span.month {
        display: block;
        font-size: 0.6rem;
        line-height: unset;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms div.season-label {
        padding-top: 0.2rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .price {
        position: relative;
        top: 2.5rem;
        transform: translateY(-50%);
        font-size: 1.2rem;
        font-weight: bold;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.tax-inc,
    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.description {
        display: block;
        font-size: 0.8rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.upper {
        font-size: 0.6em;
        vertical-align: top;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item1 {
        grid-row: 1;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item1 .price {
        top: 50%;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item2 {
        grid-row: 2;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item2 .terms {
        grid-template-columns: 1fr;
        height: 3rem;
        line-height: 3rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item3 {
        grid-row: 3;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item3 .terms {
        height: 3rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item4 {
        grid-row: 4;
    }
}

/* --- Membership: Desktop (>=960px) --- */
@media (min-width: 960px) {
    /* Desktop arrows (right-pointing) */
    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title::before {
        content: "";
        position: absolute;
        color: #fff;
        left: 0px;
        top: 0;
        border-left: 10px solid;
        border-top: 20px solid rgba(0, 0, 0, 0);
        border-right: 20px solid rgba(0, 0, 0, 0);
        border-bottom: 20px solid rgba(0, 0, 0, 0);
    }

    #membership-section .section-inner .membership-content-frame .membership-flow-items .membership-flow-item-title::after {
        content: "";
        position: absolute;
        color: var(--sub-theme-color);
        right: -40px;
        top: 0;
        border-left: 10px solid;
        border-top: 20px solid rgba(0, 0, 0, 0);
        border-right: 30px solid rgba(0, 0, 0, 0);
        border-bottom: 20px solid rgba(0, 0, 0, 0);
    }

    /* Price items desktop */
    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header {
        margin: 1rem auto;
        display: grid;
        grid-template-columns: 180px 250px 1fr 180px;
        gap: 10px;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.title {
        background-color: var(--main-theme-color);
        font-size: 1.6rem;
        font-weight: bold;
        text-align: center;
        color: #fff;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.title .small {
        font-size: 1rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item1 {
        grid-column: 1;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item2 {
        grid-column: 2 / 4;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-header .membership-price-item.item3 {
        grid-column: 4;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents {
        display: grid;
        grid-template-columns: 180px 250px 1fr 180px;
        gap: 10px;
        text-align: center;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item {
        border: 2px solid var(--sub-theme-color);
        height: 8rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms {
        background-color: var(--sub-theme-color);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        height: 100%;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms span.month {
        display: block;
        font-size: 0.6rem;
        line-height: unset;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .terms div.season-label {
        padding-top: 0.2rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item .price {
        position: relative;
        top: 2.5rem;
        transform: translateY(-50%);
        font-size: 1.2rem;
        font-weight: bold;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.tax-inc,
    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.description {
        display: block;
        font-size: 0.8rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item span.upper {
        font-size: 0.6em;
        vertical-align: top;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item1 {
        grid-column: 1;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item1 .price {
        top: 50%;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item2 {
        grid-column: 2;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item2 .terms {
        grid-template-columns: 1fr;
        height: 3rem;
        line-height: 3rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item3 {
        grid-column: 3;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item3 .terms {
        height: 3rem;
    }

    #membership-section .section-inner .membership-content-frame .membership-price-items .membership-price-items-contents .membership-price-item.item4 {
        grid-column: 4;
    }
}


/* ==========================================================================
   17. CONTACT BUTTON - Ghost/outlined style
   ========================================================================== */

.contact-button {
    width: 100%;
    text-align: center;
    margin: 100px 0;
}

.contact-button a.button {
    font-weight: bold;
    margin: 0 auto;
    padding: 30px;
    border-radius: 60px;
    height: 30px;
    border: 1px solid var(--color_main);
    color: var(--color_main);
    text-decoration: none;
    display: inline-block;
    line-height: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button a.button:hover {
    background-color: var(--color_main);
    color: var(--color_paper, #fdfdfd);
}

@media (max-width: 959px) {
    .contact-button {
        margin: 60px 0;
    }

    .contact-button a.button {
        padding: 25px 40px;
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   18. FOOTER - White/light background, blue text
   ========================================================================== */

.site-footer {
    background-color: #fdfdfd;
    color: var(--color_text);
    padding: 1em 0;
    margin-top: 0;
    border-top: 1px solid #e5e7eb;
}

.site-footer__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0;
    list-style: none;
}

.site-footer__nav a {
    color: var(--color_text);
    text-decoration: none;
    font-size: 13px;
    padding: 0 0.75em;
    border-right: 1px solid var(--color_text);
    line-height: 1;
    transition: opacity 0.2s ease;
}

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

.site-footer__nav li:first-child a,
.site-footer__nav a:first-child {
    border-left: 1px solid var(--color_text);
}

.site-footer__nav a:last-child {
    border-right: 1px solid var(--color_text);
}

.site-footer__copy {
    font-size: 12px;
    color: var(--color_text);
    margin: 0.5rem 0;
}

@media (max-width: 959px) {
    .site-footer__nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .site-footer__nav a {
        border-right: none;
        border-left: none;
        padding: 0.3em 0;
        font-size: 14px;
    }

    .site-footer__nav li:first-child a,
    .site-footer__nav a:first-child {
        border-left: none;
    }

    .site-footer__nav a:last-child {
        border-right: none;
    }
}


/* ==========================================================================
   19. FADE ANIMATIONS
   ========================================================================== */

.fade {
    opacity: 0;
}

/* slideUp */
.fade.slideup.is-animated {
    animation: slideUp 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideUp {
    0% {
        transform: translateY(120px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
    }
    40%, 100% {
        opacity: 1;
    }
}

/* zoomIn */
.fade.zoomin.is-animated {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* popup */
.fade.popup.is-animated {
    animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes popup {
    0% {
        transform: translateY(40px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
    }
    80%, 100% {
        opacity: 1;
    }
}

/* poyopoyo (bouncy continuous) */
.fade.poyopoyo.is-animated {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
}

@keyframes poyopoyo {
    0%, 40%, 60%, 80% {
        transform: scale(1);
    }
    50%, 70% {
        transform: scale(0.95);
    }
}

/* opacityin */
.fade.opacityin.is-animated {
    animation: opacityin 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes opacityin {
    0% {
        opacity: 0;
    }
    40%, 100% {
        opacity: 1;
    }
}

/* fadeIn (generic) */
.fade.fadein.is-animated {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* slideLeft */
.fade.slideleft.is-animated {
    animation: slideLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideLeft {
    0% {
        transform: translateX(80px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* slideRight */
.fade.slideright.is-animated {
    animation: slideRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideRight {
    0% {
        transform: translateX(-80px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Time lag variants */
.fade-lag {
    opacity: 0;
}

.fade-lag.slideup.is-animated {
    animation: slideUp 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-lag.zoomin.is-animated {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-lag.popup.is-animated {
    animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-lag.opacityin.is-animated {
    animation: opacityin 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


/* ==========================================================================
   20. PROSE STYLES (Rich Text Content)
   ========================================================================== */

.prose {
    max-width: 65ch;
    color: var(--color_text);
    line-height: 1.8;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose a {
    color: var(--color_link);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--main-theme-color);
}

.prose h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3333;
    font-weight: 700;
    color: var(--main-theme-color);
}

.prose h3 {
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.6;
    font-weight: 600;
    color: var(--main-theme-color);
}

.prose h4 {
    font-size: 1.1em;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: var(--main-theme-color);
}

.prose ul,
.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1em;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    color: var(--color_text);
    font-style: italic;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.375rem;
}

.prose hr {
    border-color: #e5e7eb;
    margin-top: 3em;
    margin-bottom: 3em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose table th,
.prose table td {
    border: 1px solid #e5e7eb;
    padding: 0.5em 0.75em;
    text-align: left;
}

.prose table th {
    background-color: var(--sub-theme-color);
    font-weight: 600;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125em 0.25em;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}


/* ==========================================================================
   21. BUTTON STYLES
   ========================================================================== */

.btn-primary {
    background-color: var(--main-theme-color);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: transparent;
    color: var(--main-theme-color);
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: 1px solid var(--main-theme-color);
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--main-theme-color);
    color: white;
}


/* ==========================================================================
   22. FORM STYLES (Laravel theme - standalone forms)
   ========================================================================== */

.form-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--main-theme-color);
    box-shadow: 0 0 0 3px rgba(23, 112, 165, 0.1);
}

.form-textarea {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 8rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--main-theme-color);
    box-shadow: 0 0 0 3px rgba(23, 112, 165, 0.1);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.required {
    color: #dc2626;
    font-weight: bold;
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    background-color: #fff;
}

.form-select:focus {
    outline: none;
    border-color: var(--main-theme-color);
    box-shadow: 0 0 0 3px rgba(23, 112, 165, 0.1);
}


/* ==========================================================================
   23. FORMS FRAME (WPCF7-style forms with paper effect)
   ========================================================================== */

.forms-frame .wpcf7 {
    max-width: 900px;
    background-color: var(--color_paper);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-height: 300px;
    padding: 24px;
    position: relative;
    margin: 1rem auto;
    width: 100%;
}

.forms-frame .wpcf7:before,
.forms-frame .wpcf7:after {
    content: "";
    height: 98%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.forms-frame .wpcf7:before {
    background: #fafafa;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    left: -5px;
    top: 4px;
    transform: rotate(-2deg);
}

.forms-frame .wpcf7:after {
    background: #f6f6f6;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    right: -3px;
    top: 1px;
    transform: rotate(1.4deg);
}

.forms-frame .wpcf7 form div.input-group {
    border-top: 1px solid #ddd;
    align-items: center;
    padding: 16px 0;
}

.forms-frame .wpcf7 form div.input-group p:has(input.col-2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.forms-frame .wpcf7 form .form-label {
    width: 100%;
    letter-spacing: 0.05em;
    font-weight: bold;
    align-items: center;
    font-size: 15px;
    margin-bottom: 0;
}

.forms-frame .wpcf7 form .form-label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}

@media screen and (max-width: 768px) {
    .forms-frame .wpcf7 form .form-label.isMsg {
        margin-top: 0;
    }
}

.forms-frame .wpcf7 form .form-label-Required {
    border-radius: 4px;
    margin-right: 8px;
    width: 34px;
    display: inline-block;
    text-align: center;
    background: var(--main-theme-color);
    color: #fff;
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .forms-frame .wpcf7 form .form-label-Required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }
}

.forms-frame .wpcf7 form .form-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-top: 0;
    height: 40px;
}

.forms-frame .wpcf7 form .form-input.col-2:last-child {
    margin-right: 0;
    margin-left: auto;
}

.forms-frame .wpcf7 form .form-input:disabled,
.forms-frame .wpcf7 form .form-input:read-only {
    background: #eaedf2;
}

.forms-frame .wpcf7 form .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-top: 0;
    height: 40px;
}

.forms-frame .wpcf7 form .form-select:disabled,
.forms-frame .wpcf7 form .form-select:read-only {
    background: #eaedf2;
}

.forms-frame .wpcf7 form div.checkboxes {
    margin-left: 20px;
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.forms-frame .wpcf7 form div.checkboxes .checkbox {
    width: 80px;
}

.forms-frame .wpcf7 form div.checkboxes .checkbox label {
    line-height: 20px;
    display: block;
    position: relative;
}

.forms-frame .wpcf7 form div.checkboxes .checkbox label input.form-checkbox {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 20px;
    width: 20px;
}

.forms-frame .wpcf7 form .form-textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
}

.forms-frame .wpcf7 form .form-button {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: var(--color_main);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.forms-frame .wpcf7 form .form-button:hover {
    opacity: 0.85;
}

@media screen and (max-width: 480px) {
    .forms-frame .wpcf7 form .form-button {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}


/* ==========================================================================
   24. APPLICATION 2025 SPRING PAGE TEMPLATE
   ========================================================================== */

.page-template-application_2025spring {
    background-color: var(--color_main);
    color: var(--color_paper);
}

@media (max-width: 599px) {
    .page-template-application_2025spring {
        font-size: 12px;
    }

    .page-template-application_2025spring .l-container {
        padding-top: 40px;
    }
}

.page-template-application_2025spring .l-container {
    width: 100%;
    max-width: 960px;
    overflow: hidden;
}

.page-template-application_2025spring .cps-post-box {
    position: relative;
    margin-top: 50px;
}

.page-template-application_2025spring .catch-copy-text {
    position: absolute;
    top: 10px;
    transform: rotate(-2deg);
    color: var(--color_main);
    font-weight: bold;
}

@media (max-width: 599px) {
    .page-template-application_2025spring .catch-copy-text {
        font-size: 16px;
    }
}

.page-template-application_2025spring .catch-copy-text span {
    background-color: var(--color_main);
    color: var(--color_paper);
    border-radius: 2px;
    padding: 5px 8px;
    margin: 0 4px;
}

@media (max-width: 599px) {
    .page-template-application_2025spring .catch-copy-text span {
        font-size: 19px;
    }
}

@media (min-width: 600px) {
    .page-template-application_2025spring .catch-copy-text span {
        font-size: 1.2rem;
    }
}

.page-template-application_2025spring .catch-copy-balloon {
    content: "";
    position: absolute;
    border-radius: 50%;
    top: -210px;
    left: -300px;
    width: 700px;
    height: 300px;
    background-color: #ffce02;
    z-index: -1;
}

.page-template-application_2025spring .main-text {
    position: relative;
    max-width: 600px;
    margin: auto;
    z-index: 1;
    background-color: var(--color_main);
    border: 6px #fff solid;
    box-shadow: 3px 3px 3px dimgray;
    padding: 10px 10px;
}

.page-template-application_2025spring .sub-text {
    width: 80%;
    max-width: 500px;
    margin: auto;
    position: relative;
    z-index: -1;
    padding: 30px 20px;
    background-color: #fdfab3;
    color: #444;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 2px dimgray;
}

.page-template-application_2025spring .fullwide-price {
    padding: 5px 0 !important;
    margin-bottom: 5px;
}

.page-template-application_2025spring .fullwide-price p {
    margin: 0;
}

/* Application form styles */
.page-template-application_2025spring .wpcf7 {
    max-width: 900px;
    background-color: var(--color_paper);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-height: 300px;
    padding: 24px;
    position: relative;
    margin: 1rem auto;
    width: 100%;
    color: var(--color_main);
}

.page-template-application_2025spring .wpcf7 form div.input-group {
    border-top: 1px solid #ddd;
    align-items: center;
    padding: 8px 0;
}

.page-template-application_2025spring .wpcf7 form div.input-group p:has(input.col-2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.page-template-application_2025spring .wpcf7 form .form-label {
    width: 100%;
    letter-spacing: 0.05em;
    font-weight: bold;
    align-items: center;
    font-size: 15px;
    margin-bottom: 0;
}

.page-template-application_2025spring .wpcf7 form .form-label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}

@media screen and (max-width: 768px) {
    .page-template-application_2025spring .wpcf7 form .form-label.isMsg {
        margin-top: 0;
    }
}

.page-template-application_2025spring .wpcf7 form .form-label-Required {
    position: relative;
    top: -2px;
    border-radius: 4px;
    margin-right: 8px;
    width: 34px;
    display: inline-block;
    text-align: center;
    background: var(--main-theme-color);
    color: #fff;
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .page-template-application_2025spring .wpcf7 form .form-label-Required {
        border-radius: 2px;
        padding-top: 2px;
        padding-bottom: 2px;
        width: 32px;
        font-size: 10px;
    }
}

.page-template-application_2025spring .wpcf7 form .form-input {
    border: 1px solid #ddd;
    border-radius: 1px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-top: 0;
    height: 32px;
}

.page-template-application_2025spring .wpcf7 form .form-input.col-2:last-child {
    margin-right: 0;
    margin-left: auto;
}

.page-template-application_2025spring .wpcf7 form .form-input:disabled,
.page-template-application_2025spring .wpcf7 form .form-input:read-only {
    background: #eaedf2;
}

.page-template-application_2025spring .wpcf7 form .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-top: 0;
    height: 40px;
}

.page-template-application_2025spring .wpcf7 form .form-select:disabled,
.page-template-application_2025spring .wpcf7 form .form-select:read-only {
    background: #eaedf2;
}

.page-template-application_2025spring .wpcf7 form div.checkboxes {
    margin-left: 20px;
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.page-template-application_2025spring .wpcf7 form div.checkboxes .checkbox {
    width: 80px;
}

.page-template-application_2025spring .wpcf7 form div.checkboxes .checkbox label {
    line-height: 20px;
    display: block;
    position: relative;
}

.page-template-application_2025spring .wpcf7 form div.checkboxes .checkbox label input.form-checkbox {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 20px;
    width: 20px;
}

.page-template-application_2025spring .wpcf7 form .form-textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
}

.page-template-application_2025spring .wpcf7 form .form-button {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: var(--color_main);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .page-template-application_2025spring .wpcf7 form .form-button {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}


/* ==========================================================================
   25. POST LIST STYLES
   ========================================================================== */

.post-list {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-card {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.post-card:last-child {
    border-bottom: none;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.post-card__category {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--main-theme-color);
    background-color: var(--sub-theme-color);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.post-card__title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--color_text);
    margin-bottom: 0.5rem;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card__title a:hover {
    color: var(--main-theme-color);
}

.post-card__date {
    font-size: 0.8rem;
    color: #6b7280;
}

.post-card__excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    line-height: 1.6;
}


/* ==========================================================================
   26. PAGE CONTENT
   ========================================================================== */

.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-content__header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--main-theme-color);
}

.page-content__title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color_htag);
}

@media (max-width: 959px) {
    .page-content {
        padding: 6rem 1rem 2rem;
    }
}


/* ==========================================================================
   27. NEWS SECTION ON HOME
   ========================================================================== */

.news-section {
    max-width: 960px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.news-section__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color_htag);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--main-theme-color);
}

.news-section__list {
    display: flex;
    flex-direction: column;
}

.news-section__item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: baseline;
}

@media (max-width: 959px) {
    .news-section__item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.news-section__item:last-child {
    border-bottom: none;
}

.news-section__date {
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
}

.news-section__link {
    color: var(--color_text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-section__link:hover {
    color: var(--main-theme-color);
}


/* ==========================================================================
   28. POST DETAIL
   ========================================================================== */

.post-detail__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.post-detail__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-detail__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color_htag);
    line-height: 1.4;
}

.post-detail__excerpt {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.8;
}

.post-detail__footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.back-link {
    color: var(--main-theme-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    text-decoration: underline;
}


/* ==========================================================================
   29. ALERT STYLES
   ========================================================================== */

.alert--success {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.375rem;
    color: #065f46;
}

.alert--error {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    color: #991b1b;
}

.alert--warning {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.375rem;
    color: #92400e;
}

.alert--info {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background-color: var(--sub-theme-color);
    border: 1px solid var(--main-theme-color);
    border-radius: 0.375rem;
    color: var(--color_text);
}


/* ==========================================================================
   30. CONTACT LEAD
   ========================================================================== */

.contact-lead {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}


/* ==========================================================================
   31. PAGINATION
   ========================================================================== */

.pagination-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-wrapper nav {
    display: flex;
    gap: 0.25rem;
}

.pagination-wrapper .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: var(--color_text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pagination-wrapper .page-link:hover {
    background-color: var(--sub-theme-color);
    border-color: var(--main-theme-color);
}

.pagination-wrapper .page-link.active,
.pagination-wrapper .page-item.active .page-link {
    background-color: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #fff;
}

.pagination-wrapper .page-link.disabled,
.pagination-wrapper .page-item.disabled .page-link {
    color: #d1d5db;
    pointer-events: none;
}


/* ==========================================================================
   32. EMPTY STATE
   ========================================================================== */

.no-content-message {
    color: #9ca3af;
    text-align: center;
    padding: 3rem 0;
    font-size: 1rem;
}


/* ==========================================================================
   33. UTILITY CLASSES
   ========================================================================== */

.max-w-none {
    max-width: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.w-full { width: 100%; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }


/* ==========================================================================
   34. SCROLLED DATA ATTRIBUTE STATES
   ========================================================================== */

/* Scrolled state applied via JS data attribute */
[data-scrolled="true"] .site-header--fixed {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   35. IMAGE GALLERY / MEDIA STYLES
   ========================================================================== */

.gallery {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.gallery--2col {
    grid-template-columns: 1fr 1fr;
}

.gallery--3col {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 599px) {
    .gallery--2col,
    .gallery--3col {
        grid-template-columns: 1fr;
    }
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    object-fit: cover;
}

.gallery figcaption {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.25rem;
}


/* ==========================================================================
   36. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.breadcrumb a {
    color: var(--color_link);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb__separator {
    margin: 0 0.5rem;
    color: #d1d5db;
}


/* ==========================================================================
   37. SCROLL-TO-TOP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--main-theme-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    opacity: 0.85;
}

@media (max-width: 959px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}


/* ==========================================================================
   38. SNS SHARE ICONS
   ========================================================================== */

.sns-share {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
}

.sns-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.sns-share__link:hover {
    opacity: 0.7;
}

.sns-share__link img {
    width: 24px;
    height: 24px;
}


/* ==========================================================================
   39. CARD GRID LAYOUTS
   ========================================================================== */

.card-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.card-grid--2col {
    grid-template-columns: 1fr 1fr;
}

.card-grid--3col {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 959px) {
    .card-grid--2col {
        grid-template-columns: 1fr;
    }

    .card-grid--3col {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card__body {
    padding: 1rem;
}

.card__title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color_text);
    margin-bottom: 0.5rem;
}

.card__text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}


/* ==========================================================================
   40. WORDPRESS COMPATIBILITY CLASSES
   ========================================================================== */

/* WordPress-style alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignnone {
    display: block;
    margin: 1rem 0;
}

/* WordPress caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.25rem;
}

/* Clearfix for floated elements */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* ==========================================================================
   41. PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .site-header--fixed,
    .site-footer,
    .mobile-menu,
    .scroll-to-top,
    #loading,
    .sns-share,
    .breadcrumb,
    .pagination-wrapper,
    .contact-button,
    .grecaptcha-badge {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .page-content,
    .post-detail,
    .prose {
        max-width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .page-title-h1-frame {
        position: relative;
        width: auto;
        background-color: transparent;
    }

    .page-title-h1-frame h1 {
        color: #000;
        text-align: left;
    }
}


/* ==========================================================================
   42. ACCESSIBILITY
   ========================================================================== */

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--main-theme-color);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--main-theme-color);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade {
        opacity: 1;
    }

    .fade-lag {
        opacity: 1;
    }

    #loading {
        display: none;
    }
}


/* ==========================================================================
   43. DARK MODE SUPPORT (optional via prefers-color-scheme)
   ========================================================================== */

/*
@media (prefers-color-scheme: dark) {
    :root {
        --color_paper: #1a1a2e;
        --color_text: #e0e0e0;
    }
}
*/


/* ==========================================================================
   44. ADDITIONAL CONTENT SECTION VARIANTS
   ========================================================================== */

/* Section with background color */
.content-section--bg {
    background-color: var(--sub-theme-color);
    padding: 3rem 0;
}

/* Content section with image and text side by side */
.content-section .image-text-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.content-section .image-text-row--reverse {
    flex-direction: row-reverse;
}

@media (max-width: 959px) {
    .content-section .image-text-row,
    .content-section .image-text-row--reverse {
        flex-direction: column;
    }
}

.content-section .image-text-row .image-col {
    flex: 0 0 45%;
}

.content-section .image-text-row .text-col {
    flex: 1;
}

.content-section .image-text-row img {
    width: 100%;
    border-radius: 0.375rem;
}


/* ==========================================================================
   45. MISC / LEGACY COMPATIBILITY
   ========================================================================== */

/* L-container (used in page templates) */
.l-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* CPS post box (used in page templates) */
.cps-post-box {
    position: relative;
}

/* Section specific wrappers */
.first-section,
.second-section,
.third-section {
    padding: 2rem 0;
}

@media (max-width: 959px) {
    .first-section,
    .second-section,
    .third-section {
        padding: 1rem 0;
    }
}

/* Transition helpers */
.transition-all {
    transition: all 0.3s ease;
}

.transition-opacity {
    transition: opacity 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Overflow handling */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

/* Z-index layers */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }
