/* =====================================================================
   FC Kitamaeno – main stylesheet
   ブランドカラー（エンジ×金）は <head> で :root に注入される (inc/enqueue.php)
   ===================================================================== */


/* -------- 0. Reset & base ---------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-weight: 400;
    color: var(--fckm-text, #222);
    background: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--fckm-primary, #B0343C);
    text-decoration: none;
    transition: color .15s ease, opacity .15s ease;
}
a:hover { color: var(--fckm-primary-dark, #8a2830); }
a:focus-visible {
    outline: 2px solid var(--fckm-accent, #D4A017);
    outline-offset: 2px;
}

ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }


/* -------- 1. Design tokens ---------------------------------------- */
/* :root の --fckm-* は inc/enqueue.php で動的注入される。
   ここでは派生トークンと追加トークンを定義。                       */

:root {
    --fckm-primary-dark: #8a2830;
    --fckm-primary-light: #d65560;
    --fckm-accent-dark: #a17c10;

    --fckm-text-muted: #666;
    --fckm-text-light: #999;
    --fckm-border: #e8e3d5;
    --fckm-bg-dark: #1a1a1a;
    --fckm-bg-darker: #0f0f0f;

    --fckm-font-heading: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;

    --fckm-maxw: 1200px;
    --fckm-radius: 6px;
    --fckm-radius-lg: 14px;

    --fckm-shadow-sm: 0 2px 6px rgba(34, 18, 12, .06);
    --fckm-shadow-md: 0 6px 18px rgba(34, 18, 12, .08);
    --fckm-shadow-lg: 0 18px 40px rgba(34, 18, 12, .14);

    --fckm-section-py: clamp(3.5rem, 7vw, 6rem);
}


/* -------- 2. Typography ------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--fckm-font-heading);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .02em;
    color: var(--fckm-text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.3vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-block;
    color: var(--fckm-accent);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: .5rem;
    padding-left: 2.25rem;
    position: relative;
}
.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.75rem;
    height: 2px;
    background: var(--fckm-accent);
}


/* -------- 3. Layout primitives ----------------------------------- */

.container {
    max-width: var(--fckm-maxw);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .container { padding-inline: 2rem; }
}

.section {
    padding-block: var(--fckm-section-py);
}

.section--alt {
    background: var(--fckm-bg-alt);
}

.section__title {
    color: var(--fckm-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section__title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 4px;
    background: var(--fckm-primary);
    margin-top: .75rem;
    border-radius: 2px;
}

.section__lead {
    color: var(--fckm-text-muted);
    margin-bottom: 2.5rem;
    max-width: 60ch;
    line-height: 1.9;
}


/* -------- 4. Skip link / a11y ------------------------------------ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: var(--fckm-primary);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: var(--fckm-radius);
    text-decoration: none;
}

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%); clip-path: inset(50%);
    height: 1px; width: 1px;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}


/* -------- 5. Header / Navigation --------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--fckm-border);
    box-shadow: var(--fckm-shadow-sm);
}
.site-header::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--fckm-primary) 0%, var(--fckm-primary) 70%, var(--fckm-accent) 100%);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-block: 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: inherit;
    line-height: 1.2;
}
.site-branding:hover { color: inherit; }
.site-branding:hover .site-title { color: var(--fckm-primary-dark); }

.site-logo,
.site-branding .custom-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-branding__text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.site-title {
    font-family: var(--fckm-font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--fckm-primary);
    letter-spacing: .04em;
    transition: color .15s;
}

.site-tagline {
    color: var(--fckm-text-muted);
    font-size: .78rem;
}

@media (max-width: 480px) {
    .site-logo,
    .site-branding .custom-logo { width: 44px; height: 44px; }
    .site-title { font-size: 1.1rem; }
    .site-tagline { display: none; }
}

.site-nav__list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.site-nav__list li a,
.site-nav__list .menu-item a {
    color: var(--fckm-text);
    font-weight: 500;
    font-size: .95rem;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.site-nav__list li a:hover,
.site-nav__list .menu-item a:hover {
    color: var(--fckm-primary);
    border-bottom-color: var(--fckm-primary);
}
.site-nav__list .current-menu-item > a {
    color: var(--fckm-primary);
    border-bottom-color: var(--fckm-primary);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: .5rem;
    width: 44px;
    height: 44px;
    position: relative;
}
.nav-toggle__bar {
    display: block;
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--fckm-text);
    transition: transform .25s, opacity .25s, top .25s;
    transform: translateX(-50%);
}
.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        border-bottom: 3px solid var(--fckm-primary);
        box-shadow: var(--fckm-shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .site-nav[data-open="true"] {
        max-height: 80vh;
        overflow-y: auto;
    }
    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.5rem 1.5rem;
    }
    .site-nav__list li a,
    .site-nav__list .menu-item a {
        display: block;
        padding: .85rem 0;
        border-bottom: 1px solid var(--fckm-border);
    }
    .site-nav__list li:last-child a { border-bottom: 0; }
}


/* -------- 6. Hero ------------------------------------------------ */

.hero {
    background:
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(212, 160, 23, .12), transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(176, 52, 60, .10), transparent 60%),
        var(--fckm-bg-alt);
    padding-block: clamp(4rem, 10vw, 8rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero::before {
    width: 320px; height: 320px;
    background: var(--fckm-primary);
    opacity: .03;
    top: -100px; right: -100px;
}
.hero::after {
    width: 240px; height: 240px;
    background: var(--fckm-accent);
    opacity: .06;
    bottom: -80px; left: -80px;
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: var(--fckm-primary);
    letter-spacing: .04em;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
}

.hero__tagline {
    font-family: var(--fckm-font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--fckm-text);
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero__subtitle {
    color: var(--fckm-text-muted);
    line-height: 2.1;
    max-width: 38rem;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}


/* -------- 7. Buttons --------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    border-radius: var(--fckm-radius);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.4;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn + .btn { margin-left: .75rem; }

.btn--primary {
    background: var(--fckm-primary);
    color: #fff;
    box-shadow: var(--fckm-shadow-sm);
}
.btn--primary:hover {
    background: var(--fckm-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--fckm-shadow-md);
}

.btn--secondary {
    background: #fff;
    color: var(--fckm-primary);
    border-color: var(--fckm-primary);
}
.btn--secondary:hover {
    background: var(--fckm-primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn--lg {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}


/* -------- 8. Cards / Lists --------------------------------------- */

.post-list--cards,
.match-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.card {
    background: #fff;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius-lg);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fckm-shadow-lg);
}

.card__link {
    color: inherit;
    display: block;
    height: 100%;
}
.card__link:hover { color: inherit; }

.card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fckm-bg-alt);
}
.card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card__thumb img { transform: scale(1.05); }

.card__body {
    padding: 1.25rem 1.4rem 1.5rem;
}

.card__date {
    color: var(--fckm-text-light);
    font-size: .82rem;
    margin-bottom: .35rem;
    letter-spacing: .04em;
}

.card__title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: var(--fckm-text);
    line-height: 1.5;
}

.card__excerpt {
    font-size: .9rem;
    color: var(--fckm-text-muted);
    line-height: 1.7;
}

.card--match .card__score {
    display: inline-block;
    font-family: var(--fckm-font-heading);
    font-weight: 700;
    color: var(--fckm-primary);
    font-size: 1.55rem;
    margin-top: .5rem;
    padding: .25rem .9rem;
    background: var(--fckm-bg-alt);
    border-radius: var(--fckm-radius);
    letter-spacing: .05em;
}


/* -------- 9. Pillars (Method) ----------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.pillar {
    background: #fff;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius-lg);
    padding: 2rem 1.5rem 1.75rem;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--fckm-shadow-md);
}
.pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 1.5rem; right: 1.5rem;
    height: 4px;
    background: var(--fckm-primary);
    border-radius: 0 0 4px 4px;
}

.pillar__num {
    font-family: var(--fckm-font-heading);
    color: var(--fckm-accent);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: .05em;
    line-height: 1;
    display: block;
    margin-bottom: .5rem;
}

.pillar__title {
    color: var(--fckm-primary);
    margin-bottom: .5rem;
    font-size: 1.2rem;
}

.pillar__body {
    color: var(--fckm-text-muted);
    font-size: .92rem;
    line-height: 1.85;
}


/* -------- 10. All Ages ------------------------------------------ */

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

.allages__item {
    background: #fff;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius);
    padding: 1.25rem 1.25rem 1.4rem;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.allages__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--fckm-shadow-sm);
}
.allages__item--kids   { border-top: 3px solid #5B8DB6; }
.allages__item--junior { border-top: 3px solid var(--fckm-primary); }
.allages__item--adult  { border-top: 3px solid var(--fckm-text); }
.allages__item--women  { border-top: 3px solid #B85988; }

.allages__tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--fckm-text-light);
    margin-bottom: .35rem;
}

.allages__name {
    font-size: 1.05rem;
    color: var(--fckm-text);
    margin-bottom: .25rem;
}

.allages__age {
    color: var(--fckm-primary);
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: .35rem;
}

.allages__note {
    color: var(--fckm-text-muted);
    font-size: .82rem;
    line-height: 1.7;
}


/* -------- 11. Numbers ------------------------------------------- */

.numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.numbers__item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--fckm-radius-lg);
    border: 1px solid var(--fckm-border);
}

.numbers__value {
    display: block;
    font-family: var(--fckm-font-heading);
    color: var(--fckm-primary);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    letter-spacing: .02em;
}

.numbers__unit {
    display: inline-block;
    color: var(--fckm-accent);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .2em;
    margin: .25rem 0 .5rem;
}

.numbers__label {
    color: var(--fckm-text-muted);
    font-size: .85rem;
    line-height: 1.7;
}


/* -------- 12. Timeline ------------------------------------------ */

.timeline { margin-top: 2rem; }

.timeline__list { padding-left: 0; }

.timeline__item {
    position: relative;
    padding: 0 0 2rem 2rem;
    border-left: 2px solid var(--fckm-border);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -7px; top: 4px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--fckm-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--fckm-primary);
}

.timeline__year {
    display: inline-block;
    font-family: var(--fckm-font-heading);
    color: var(--fckm-accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .15rem;
    letter-spacing: .04em;
}

.timeline__label {
    color: var(--fckm-primary);
    font-size: 1.1rem;
    margin-bottom: .3rem;
}

.timeline__body {
    color: var(--fckm-text-muted);
    font-size: .92rem;
}


/* -------- 13. Achievements -------------------------------------- */

.achievements__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.achievements__list li {
    background: #fff;
    border-left: 4px solid var(--fckm-primary);
    padding: 1.25rem 1.25rem 1.4rem;
    border-radius: 0 var(--fckm-radius) var(--fckm-radius) 0;
    box-shadow: var(--fckm-shadow-sm);
}
.achievements__label {
    display: block;
    color: var(--fckm-text-light);
    font-size: .8rem;
    letter-spacing: .15em;
    margin-bottom: .3rem;
}
.achievements__value {
    display: block;
    color: var(--fckm-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .25rem;
}
.achievements__detail {
    color: var(--fckm-text-muted);
    font-size: .85rem;
}


/* -------- 14. SNS feed (Instagram) ------------------------------ */

.sns-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}
.sns-feed__item {
    border-radius: var(--fckm-radius);
    overflow: hidden;
    position: relative;
}
.sns-feed__item img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    transition: transform .3s;
}
.sns-feed__item:hover img { transform: scale(1.05); }
.sns-feed__empty {
    text-align: center;
    color: var(--fckm-text-light);
    padding: 2rem 0;
}


/* -------- 15. Match detail page -------------------------------- */

.site-main--match { padding-block: var(--fckm-section-py); }

.match-header { margin-bottom: 2rem; }
.match-title {
    color: var(--fckm-primary);
    margin-bottom: 1.25rem;
}

.match-meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .5rem 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--fckm-bg-alt);
    border-radius: var(--fckm-radius-lg);
    margin-bottom: 2rem;
    max-width: 540px;
}
.match-meta div { display: contents; }
.match-meta dt {
    color: var(--fckm-text-light);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    align-self: center;
}
.match-meta dd {
    color: var(--fckm-text);
    margin: 0;
    align-self: center;
}
.match-score {
    font-family: var(--fckm-font-heading);
    font-size: 1.8rem;
    color: var(--fckm-primary);
    font-weight: 700;
    letter-spacing: .05em;
}

.match-thumbnail {
    margin-bottom: 2rem;
    border-radius: var(--fckm-radius-lg);
    overflow: hidden;
}

.match-report {
    max-width: 70ch;
    line-height: 1.9;
}
.match-report p { margin-bottom: 1.25em; }
.match-report h2,
.match-report h3 {
    color: var(--fckm-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.match-gallery h2 {
    margin-top: 3rem;
    color: var(--fckm-primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
    margin-top: 1.5rem;
}
.gallery-grid li {
    border-radius: var(--fckm-radius);
    overflow: hidden;
    aspect-ratio: 1;
}
.gallery-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-grid li:hover img { transform: scale(1.05); }


/* -------- 16. Single post / page -------------------------------- */

.site-main--single,
.site-main--archive,
.site-main--match-archive,
.site-main--about,
.site-main--staff,
.site-main--schedule,
.site-main--contact,
.site-main--band {
    padding-block: var(--fckm-section-py);
}

.page-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--fckm-border);
}
.page-title {
    color: var(--fckm-primary);
}
.page-lead {
    color: var(--fckm-text-muted);
    margin-top: .75rem;
    max-width: 60ch;
}

.post-article,
.page-content {
    max-width: 72ch;
    line-height: 1.95;
}
.post-article p,
.page-content p { margin-bottom: 1.4em; }
.post-article h2,
.post-article h3,
.page-content h2,
.page-content h3 {
    color: var(--fckm-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-header { margin-bottom: 2rem; }
.post-title {
    color: var(--fckm-primary);
    margin-bottom: .75rem;
}
.post-meta {
    color: var(--fckm-text-light);
    font-size: .9rem;
}
.post-thumbnail {
    margin: 1.5rem 0 2rem;
    border-radius: var(--fckm-radius-lg);
    overflow: hidden;
}

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fckm-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.posts-navigation,
.pagination {
    margin-top: 2rem;
    text-align: center;
}
.page-numbers {
    display: inline-block;
    min-width: 2.5rem;
    padding: .5rem .75rem;
    background: #fff;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius);
    color: var(--fckm-text);
    margin: 0 .15rem;
    transition: background-color .15s, color .15s;
}
.page-numbers.current {
    background: var(--fckm-primary);
    color: #fff;
    border-color: var(--fckm-primary);
}
.page-numbers:hover:not(.current) {
    background: var(--fckm-bg-alt);
}


/* -------- 16.5 About page – Representative box ----------------- */

.page-rep {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--fckm-bg-alt);
    border-left: 4px solid var(--fckm-primary);
    border-radius: var(--fckm-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 540px;
}
.page-rep__photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--fckm-shadow-sm);
}
.page-rep__meta { flex: 1 1 auto; }
.page-rep__role {
    color: var(--fckm-text-light);
    font-size: .8rem;
    letter-spacing: .12em;
    margin: 0 0 .15rem;
}
.page-rep__name {
    font-family: var(--fckm-font-heading);
    font-size: 1.25rem;
    color: var(--fckm-text);
    font-weight: 700;
    margin: 0;
}
@media (max-width: 480px) {
    .page-rep { flex-direction: column; text-align: center; }
    .page-rep__photo { flex-basis: auto; }
}


/* -------- 17. Representative / Staff ---------------------------- */

.representative {
    background: var(--fckm-bg-alt);
    padding: 1.75rem 2rem;
    border-radius: var(--fckm-radius-lg);
    border-left: 4px solid var(--fckm-primary);
    margin-bottom: 2rem;
    max-width: 540px;
}
.representative__name {
    font-size: 1.4rem;
    color: var(--fckm-text);
    margin-bottom: .25rem;
}
.representative__role {
    color: var(--fckm-text-muted);
    font-size: .9rem;
    margin: 0;
}


/* -------- 18. Schedule embed ----------------------------------- */

.gcal-embed {
    border-radius: var(--fckm-radius-lg);
    overflow: hidden;
    box-shadow: var(--fckm-shadow-md);
    margin-top: 1.5rem;
}
.schedule-external {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--fckm-bg-alt);
    border-radius: var(--fckm-radius-lg);
}


/* -------- 19. 入会希望 page ------------------------------------ */

.join-page {
    max-width: 760px;
    margin-inline: auto;
}
.join-page .page-header { text-align: center; }
.join-page .page-lead { margin-inline: auto; }

.join-steps {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--fckm-border);
}
.join-steps h2 {
    color: var(--fckm-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}
.join-steps__list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}
.join-steps__list li {
    background: var(--fckm-bg-alt);
    padding: 1.25rem 1.5rem 1.4rem 1.5rem;
    border-radius: var(--fckm-radius-lg);
    border-left: 4px solid var(--fckm-primary);
    margin-bottom: 1rem;
}
.join-steps__list li > strong {
    display: block;
    color: var(--fckm-primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .35rem;
}
.join-steps__list li p {
    color: var(--fckm-text-muted);
    font-size: .92rem;
    margin: 0 0 .5rem;
    line-height: 1.85;
}
.join-steps__list li p:last-child { margin-bottom: 0; }

.join-page__docs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.join-page__docs .btn { margin-left: 0 !important; }

.join-page__cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, var(--fckm-bg-alt), #fff);
    border-radius: var(--fckm-radius-lg);
    border: 1px solid var(--fckm-border);
}
.join-page__cta h2 {
    color: var(--fckm-primary);
    margin-bottom: 1.25rem;
}
.join-page__email {
    margin-top: 1rem;
    color: var(--fckm-text-muted);
    font-size: .92rem;
}

.join-page__existing,
.band-steps {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--fckm-border);
}
.band-steps h2 {
    color: var(--fckm-primary);
    text-align: center;
    margin-bottom: 1rem;
}
.band-steps__lead {
    color: var(--fckm-text-muted);
    text-align: center;
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.9;
}
.band-steps__list {
    counter-reset: bandstep;
    list-style: none;
    padding: 0;
    margin: 0;
}
.band-steps__list li {
    background: #fff;
    border: 1px solid var(--fckm-border);
    border-left: 4px solid var(--fckm-accent);
    padding: 1.25rem 1.5rem 1.4rem;
    border-radius: 0 var(--fckm-radius-lg) var(--fckm-radius-lg) 0;
    margin-bottom: 1rem;
    box-shadow: var(--fckm-shadow-sm);
}
.band-steps__list li > strong {
    display: block;
    color: var(--fckm-primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .35rem;
    letter-spacing: .02em;
}
.band-steps__list li p {
    color: var(--fckm-text);
    font-size: .95rem;
    margin: 0 0 .75rem;
    line-height: 1.9;
}
.band-steps__list li p:last-child { margin-bottom: 0; }
.band-steps__list li .btn { margin-top: .5rem; }
.band-steps__note {
    text-align: center;
    color: var(--fckm-text-muted);
    font-size: .88rem;
    margin-top: 1.5rem;
}


/* -------- 20. CTA section -------------------------------------- */

.section--cta {
    background:
        linear-gradient(135deg, var(--fckm-primary) 0%, var(--fckm-primary-dark) 100%);
    color: #fff;
    text-align: center;
}
.section--cta .section__title { color: #fff; }
.section--cta .section__title::after { background: var(--fckm-accent); }
.section--cta p { color: rgba(255, 255, 255, .9); }
.section--cta .btn--primary {
    background: #fff;
    color: var(--fckm-primary);
}
.section--cta .btn--primary:hover {
    background: var(--fckm-bg-alt);
    color: var(--fckm-primary-dark);
}
.section--cta .btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .8);
}
.section--cta .btn--secondary:hover {
    background: #fff;
    color: var(--fckm-primary);
    border-color: #fff;
}


/* -------- 21. Footer ------------------------------------------- */

.site-footer {
    background: var(--fckm-bg-dark);
    color: rgba(255, 255, 255, .8);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}
.site-footer::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fckm-primary), var(--fckm-accent));
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 720px) {
    .site-footer__inner {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

.site-footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.site-footer__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}
.site-footer__brand p { color: rgba(255, 255, 255, .75); margin-bottom: .35rem; }
.site-footer__name {
    color: #fff !important;
    font-family: var(--fckm-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .75rem !important;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.site-footer__list a {
    color: rgba(255, 255, 255, .85);
    font-size: .92rem;
}
.site-footer__list a:hover { color: var(--fckm-accent); }

.site-footer a { color: var(--fckm-accent); }
.site-footer a:hover { color: #fff; }

.site-footer__copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}


/* -------- 21.3 Contact form ------------------------------------ */

.contact-page { max-width: 720px; margin-inline: auto; }
.contact-page .page-header { text-align: center; }
.contact-page .page-lead { margin-inline: auto; }

.contact-form {
    margin-top: 2.5rem;
    padding: 2rem 1.75rem;
    background: var(--fckm-bg-alt);
    border-radius: var(--fckm-radius-lg);
    border: 1px solid var(--fckm-border);
}
.contact-form__row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.contact-form__row label {
    font-weight: 700;
    font-size: .9rem;
    color: var(--fckm-text);
}
.contact-form__row input,
.contact-form__row textarea,
.contact-form__row select {
    padding: .75rem .9rem;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius);
    font: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.contact-form__row input:focus,
.contact-form__row textarea:focus,
.contact-form__row select:focus {
    border-color: var(--fckm-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(176, 52, 60, .15);
}
.contact-form__row--submit {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.contact-fallback {
    margin-top: 3rem;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius-lg);
}
.contact-fallback h2 {
    color: var(--fckm-primary);
    margin-bottom: .75rem;
    font-size: 1.2rem;
}


/* -------- 21.4 About page – rules CTA --------------------------- */

.about-rules {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    background: var(--fckm-bg-alt);
    border-radius: var(--fckm-radius-lg);
    border-left: 4px solid var(--fckm-accent);
}
.about-rules h2 {
    color: var(--fckm-primary);
    margin-top: .25rem;
    margin-bottom: .75rem;
}


/* -------- 21.5 Rules page --------------------------------------- */

.site-main--rules { padding-block: var(--fckm-section-py); }
.rules-page { max-width: 760px; margin-inline: auto; }
.rules-page .page-header { text-align: center; }
.rules-page .page-lead { margin-inline: auto; }

.rules-pdf {
    margin-top: 2.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--fckm-bg-alt), #fff);
    border-radius: var(--fckm-radius-lg);
    border: 1px solid var(--fckm-border);
}
.rules-pdf h2 {
    color: var(--fckm-primary);
    margin-bottom: 1rem;
}
.rules-pdf__note {
    margin-top: 1rem;
    color: var(--fckm-text-muted);
    font-size: .85rem;
}

.rules-faq {
    margin-top: 3rem;
}
.rules-faq h2 {
    color: var(--fckm-primary);
}
.rules-faq ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--fckm-text-muted);
    line-height: 1.95;
}

/* 本文側（カスタムHTMLで貼り付け）スタイル */
.page-content .rules-intro {
    background: var(--fckm-bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: var(--fckm-radius);
    border-left: 4px solid var(--fckm-accent);
    margin-bottom: 2rem;
}
.page-content .rules-jfa {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid var(--fckm-border);
    border-radius: var(--fckm-radius-lg);
    background: #fff;
}
.page-content .rules-jfa h2 {
    margin-top: 0 !important;
    color: var(--fckm-primary);
    border-bottom: 2px solid var(--fckm-border);
    padding-bottom: .5rem;
}
.page-content .rules-jfa h3 {
    color: var(--fckm-accent-dark);
    margin-top: 1.25rem !important;
    font-size: 1rem;
}
.page-content .rules-jfa ul,
.page-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 1.25em;
}
.page-content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25em;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25em 0;
    font-size: .92rem;
}
.page-content table th,
.page-content table td {
    border: 1px solid var(--fckm-border);
    padding: .6rem .85rem;
    text-align: left;
    vertical-align: top;
}
.page-content table th {
    background: var(--fckm-bg-alt);
    font-weight: 700;
    color: var(--fckm-primary);
}
.page-content hr {
    border: 0;
    height: 1px;
    background: var(--fckm-border);
    margin: 2.5rem 0;
}


/* -------- 22. 404 / utility pages ------------------------------ */

.site-main--404 {
    padding-block: 6rem;
    text-align: center;
}
.site-main--404 .page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}


/* -------- 23. Print ------------------------------------------- */

@media print {
    .site-header, .site-footer, .section--cta { display: none; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}


/* -------- 24. Reduced motion preference ----------------------- */

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