/* /assets/css/jimsa-site-chrome.css
   公開サイトのヘッダー・フッターの見た目（ここ1か所だけ）
   HTML は includes/site-chrome.php、動きは /header.js。

   各ページの古い CSS（about-us.css の header { … } や nav ul li a { … } など）に負けないよう、
   すべて .jsc-header / .jsc-drawer / .jsc-footer の中にクラス2つ以上で書いている。
   デザイン方針：明るく淡い色／枠線はカラフル・中を塗りつぶさない／1つの操作に1つのアニメーション。
   切り替え幅：1024px 以下がスマホ・タブレット（メニューボタン）。会員ページの「＜戻る」ボタンと同じ幅。 */

@font-face {
    font-family: 'JIMSA Title';
    /* 団体名の文字だけを含む小さなフォント（約20KB） */
    src: url('/NotoSerifJP-Regular-ex.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.jsc-header, .jsc-drawer, .jsc-footer, .jsc-overlay {
    --jsc-ink: #1c2a4a;
    --jsc-muted: #4a5876;
    --jsc-line: #e2e8f2;
    --jsc-focus: rgba(44, 92, 171, .35);
    --jsc-rainbow: linear-gradient(110deg, #8fd0f5 0%, #93e0bd 22%, #f5d86f 44%, #f8b193 64%, #bfaff3 82%, #f4a3c5 100%);
    --jsc-ease: cubic-bezier(.2, .75, .25, 1);
    --jsc-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.jsc-header, .jsc-drawer, .jsc-footer, .jsc-header *, .jsc-drawer *, .jsc-footer * { box-sizing: border-box; }
/* 古い CSS の * { font-weight: 500 } などが中の文字に効かないように */
.jsc-header span, .jsc-drawer span, .jsc-footer span { font-weight: inherit; font-family: inherit; }
.jsc-header .jsc-name > span { font-family: inherit; }

/* 色の組み合わせ（枠の色 --c・淡い色 --cs・文字とアイコンの色 --ci） */
.jsc-c-sky      { --c: #6cbcf0; --cs: #eef8ff; --ci: #1d6ea6; }
.jsc-c-mint     { --c: #5fcf9f; --cs: #ecfaf3; --ci: #187a4f; }
.jsc-c-lemon    { --c: #f0c93e; --cs: #fffae6; --ci: #7f5b00; }
.jsc-c-peach    { --c: #f6a17c; --cs: #fff3ec; --ci: #ad4a20; }
.jsc-c-lavender { --c: #a996ee; --cs: #f5f2ff; --ci: #5a43b3; }
.jsc-c-pink     { --c: #f095ba; --cs: #fef1f6; --ci: #ab3166; }

.jsc-header .jsc-ic, .jsc-drawer .jsc-ic, .jsc-footer .jsc-ic {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    max-width: none;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.jsc-header .jsc-ic-fill, .jsc-drawer .jsc-ic-fill, .jsc-footer .jsc-ic-fill { fill: currentColor; stroke: none; }

/* 本文へ移動（キーボードで Tab を押したときだけ見える） */
.jsc-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1200;
}
.jsc-skip:focus {
    left: 12px;
    top: 12px;
    padding: 8px 14px;
    border: 2px solid #6cbcf0;
    border-radius: 12px;
    background: #fff;
    color: #1c2a4a;
    font: 700 14px/1.4 system-ui, sans-serif;
    text-decoration: none;
}
.jsc-content-mark { display: block; height: 0; outline: none; scroll-margin-top: 90px; }

/* ===== ヘッダー（1本の帯） ===== */
.jsc-header.jsc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, .97);
    border: 0;
    box-shadow: 0 1px 0 var(--jsc-line);
    color: var(--jsc-ink);
    font-family: var(--jsc-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    transition: box-shadow .25s ease;
}
/* 帯の下のカラフルな線 */
.jsc-header.jsc-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    background: var(--jsc-rainbow);
    opacity: .75;
    pointer-events: none;
}
.jsc-header.jsc-header.is-scrolled { box-shadow: 0 1px 0 var(--jsc-line), 0 6px 18px rgba(28, 42, 74, .08); }

.jsc-header .jsc-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1240px;
    min-height: 74px;
    margin: 0 auto;
    padding: 10px 24px;
    transition: transform .22s var(--jsc-ease);
}

.jsc-header .jsc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: var(--jsc-ink);
    text-decoration: none;
    border-radius: 12px;
}
.jsc-header .jsc-brand:hover { color: var(--jsc-ink); text-decoration: none; }
.jsc-header .jsc-logo {
    display: block;
    flex: none;
    position: static;
    width: auto;
    height: 44px;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    transition: transform .22s var(--jsc-ease);
    transform-origin: left center;
}
.jsc-header .jsc-name {
    display: block;
    min-width: 0;
    font-family: 'JIMSA Title', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.25;
    white-space: nowrap;
    color: var(--jsc-ink);
}
.jsc-header .jsc-name > span { display: inline-block; }

/* PC のメニュー */
.jsc-header .jsc-nav {
    display: block;
    position: static;
    margin: 0 0 0 auto;
    padding: 0;
    background: none;
}
.jsc-header .jsc-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.jsc-header .jsc-nav-list > li {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.jsc-header .jsc-nav-top,
.jsc-header button.jsc-nav-top {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: var(--jsc-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    filter: none;
    -webkit-appearance: none;
    appearance: none;
}
.jsc-header .jsc-nav-top:hover,
.jsc-header button.jsc-nav-top:hover { background: transparent; color: var(--jsc-ink); text-decoration: none; filter: none; }
/* 下線：ホバーで左から伸びる（今いるページは常に表示） */
.jsc-header .jsc-nav-top::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--jsc-rainbow);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s var(--jsc-ease);
}
@media (hover: hover) and (pointer: fine) {
    .jsc-header .jsc-nav-top:hover::after { transform: scaleX(1); }
}
.jsc-header .jsc-nav-top[aria-current="page"]::after,
.jsc-header .jsc-has-sub.is-current > .jsc-nav-top::after,
.jsc-header .jsc-has-sub.is-open > .jsc-nav-top::after { transform: scaleX(1); }
.jsc-header .jsc-caret { width: 16px; height: 16px; opacity: .6; }
.jsc-header .jsc-has-sub.is-open .jsc-caret { transform: rotate(180deg); }

/* 開くメニュー（Event・About Us） */
.jsc-header .jsc-sub {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 5;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1.5px solid var(--jsc-line);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(28, 42, 74, .13);
    transform: translateX(-50%);
    animation: none;
}
/* ボタンとメニューのすき間でマウスが外れても閉じないように */
.jsc-header .jsc-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.jsc-header .jsc-has-sub.is-open > .jsc-sub { display: block; animation: jscDrop .18s var(--jsc-ease); }
html:not(.jsc-js) .jsc-header .jsc-has-sub:hover > .jsc-sub,
html:not(.jsc-js) .jsc-header .jsc-has-sub:focus-within > .jsc-sub { display: block; }
@keyframes jscDrop { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.jsc-header .jsc-sub > li { display: block; margin: 0; padding: 0; list-style: none; }
.jsc-header .jsc-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0;
    padding: 8px 12px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: var(--jsc-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s ease;
}
.jsc-header .jsc-sub-link .jsc-ic { color: var(--ci); }
.jsc-header .jsc-sub-link:hover { border-color: var(--c); color: var(--jsc-ink); text-decoration: none; }
.jsc-header .jsc-sub-link[aria-current="page"] { border-color: var(--c); }

/* マイページ（カラフルな枠のボタン） */
.jsc-header .jsc-mypage,
.jsc-drawer .jsc-dmypage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin: 0 0 0 8px;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(#fff, #fff) padding-box, var(--jsc-rainbow) border-box;
    box-shadow: 0 3px 10px rgba(28, 42, 74, .08);
    color: var(--jsc-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}
.jsc-header .jsc-mypage:hover,
.jsc-drawer .jsc-dmypage:hover { color: var(--jsc-ink); text-decoration: none; }
.jsc-header .jsc-mypage .jsc-ic { width: 18px; height: 18px; color: #5a43b3; }

/* メニューボタン（スマホ・タブレットだけ。スタッフページのヘッダーと同じ形） */
.jsc-header .jsc-menu-btn,
.jsc-header button.jsc-menu-btn {
    display: none;
    align-items: center;
    gap: 6px;
    flex: none;
    width: auto;
    min-height: 44px;
    margin: 0 0 0 auto;
    padding: 8px 14px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(#fff, #fff) padding-box, var(--jsc-rainbow) border-box;
    box-shadow: 0 3px 10px rgba(28, 42, 74, .08);
    color: var(--jsc-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    filter: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.jsc-header button.jsc-menu-btn:hover { background: linear-gradient(#fff, #fff) padding-box, var(--jsc-rainbow) border-box; color: var(--jsc-ink); filter: none; }

/* 会員ページの「＜戻る」ボタン（タブレット以下。includes/back-button.php） */
.jsc-header .jsc-bar > .jx-backkey { margin: 0 -4px 0 0; }

/* キーボード操作の枠 */
.jsc-header a:focus-visible, .jsc-header button:focus-visible,
.jsc-drawer a:focus-visible, .jsc-drawer button:focus-visible,
.jsc-footer a:focus-visible {
    outline: 3px solid var(--jsc-focus);
    outline-offset: 2px;
}

/* ===== スマホのメニュー（右から出る） ===== */
.jsc-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(28, 42, 74, .28);
}
.jsc-overlay[hidden] { display: none; }
.jsc-drawer.jsc-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(340px, 88vw);
    margin: 0;
    padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
    flex-direction: column;
    background: #fff;
    border-left: 3px solid transparent;
    border-image: var(--jsc-rainbow) 1;
    box-shadow: -10px 0 30px rgba(28, 42, 74, .16);
    color: var(--jsc-ink);
    font-family: var(--jsc-font);
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .26s var(--jsc-ease), visibility 0s linear .26s;
}
html.jsc-open .jsc-drawer.jsc-drawer {
    transform: none;
    visibility: visible;
    transition: transform .26s var(--jsc-ease), visibility 0s;
}
html.jsc-open, html.jsc-open body { overflow: hidden; }

.jsc-drawer .jsc-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 6px;
}
.jsc-drawer .jsc-drawer-title { font-size: 16px; font-weight: 800; color: var(--jsc-ink); }
.jsc-drawer .jsc-close,
.jsc-drawer button.jsc-close {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 6px 14px 6px 10px;
    border: 1.5px solid var(--jsc-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: var(--jsc-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    filter: none;
    -webkit-appearance: none;
    appearance: none;
}
.jsc-drawer button.jsc-close:hover { background: #fff; color: var(--jsc-ink); border-color: #b9c6da; filter: none; }

.jsc-drawer .jsc-drawer-nav { display: block; margin: 0; padding: 0; background: none; }
.jsc-drawer .jsc-dgroup {
    margin: 14px 4px 6px;
    padding: 0;
    color: var(--jsc-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.4;
    text-align: left;
}
.jsc-drawer .jsc-dlist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.jsc-drawer .jsc-dlist-solo { margin-top: 6px; }
.jsc-drawer .jsc-dlist:not(.jsc-dlist-solo) + .jsc-dlist-solo { margin-top: 16px; }
.jsc-drawer .jsc-dlist > li { display: block; margin: 0; padding: 0; list-style: none; }
.jsc-drawer .jsc-dlink {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin: 0;
    padding: 8px 12px 8px 10px;
    border: 1.5px solid var(--jsc-line);
    border-left: 5px solid var(--c);
    border-radius: 14px;
    background: #fff;
    color: var(--jsc-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
}
.jsc-drawer .jsc-dlink:hover { color: var(--jsc-ink); text-decoration: none; }
.jsc-drawer .jsc-dlink > .jsc-ic:first-child {
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 10px;
    border: 1.5px solid var(--c);
    background: var(--cs);
    color: var(--ci);
}
.jsc-drawer .jsc-dlink .jsc-ic-end { width: 18px; height: 18px; margin-left: auto; color: #9aa6ba; }
.jsc-drawer .jsc-dlink[aria-current="page"] { border-color: var(--c); box-shadow: 0 3px 10px rgba(28, 42, 74, .08); }

.jsc-drawer .jsc-dmypage { display: flex; width: 100%; min-height: 50px; margin: 16px 0 0; font-size: 15px; }
.jsc-drawer .jsc-dmypage .jsc-ic { color: #5a43b3; }
.jsc-drawer .jsc-dsns {
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--jsc-line);
}
.jsc-drawer .jsc-dsns p {
    margin: 0 4px 8px;
    padding: 0;
    color: var(--jsc-muted);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

/* ===== SNS（フッターとスマホのメニュー） ===== */
.jsc-drawer .jsc-sns, .jsc-footer .jsc-sns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.jsc-drawer .jsc-sns-link, .jsc-footer .jsc-sns-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 8px 16px 8px 12px;
    border: 1.5px solid var(--c);
    border-radius: 999px;
    background: #fff;
    color: var(--jsc-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: border-color .18s ease;
}
.jsc-drawer .jsc-sns-link:hover, .jsc-footer .jsc-sns-link:hover { color: var(--jsc-ink); text-decoration: none; border-color: var(--ci); }
.jsc-sns-x { --c: #8fbfe6; --ci: #1c2a4a; }
.jsc-sns-instagram { --c: #f095ba; --ci: #ab3166; }
.jsc-drawer .jsc-sns-link .jsc-ic, .jsc-footer .jsc-sns-link .jsc-ic { width: 20px; height: 20px; color: var(--ci); }
.jsc-drawer .jsc-sns-x .jsc-ic, .jsc-footer .jsc-sns-x .jsc-ic { width: 17px; height: 17px; }

/* ===== フッター ===== */
.jsc-footer.jsc-footer {
    position: relative;
    display: block;
    width: 100%;
    margin: auto 0 0;
    padding: 28px 16px calc(26px + env(safe-area-inset-bottom));
    background: #f7fbfd;
    border: 0;
    color: var(--jsc-muted);
    font-family: var(--jsc-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}
.jsc-footer.jsc-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--jsc-rainbow);
    opacity: .75;
}
.jsc-footer .jsc-footer-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
}
.jsc-footer .jsc-sns { justify-content: center; }
.jsc-footer .jsc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin: 0;
    padding: 0;
    background: none;
}
.jsc-footer .jsc-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 4px 2px;
    color: #2c4a73;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(44, 74, 115, .3);
    text-underline-offset: 4px;
}
.jsc-footer .jsc-footer-links a:hover { color: #1c2a4a; text-decoration-color: currentColor; }
.jsc-footer .jsc-copy {
    margin: 0;
    padding: 0;
    color: var(--jsc-muted);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* ===== PC（やや狭い画面）：団体名とメニューが重ならないように少し詰める ===== */
@media (min-width: 1025px) and (max-width: 1199px) {
    .jsc-header .jsc-bar { gap: 10px; padding: 10px 16px; }
    .jsc-header .jsc-logo { height: 40px; }
    .jsc-header .jsc-name { font-size: 18px; letter-spacing: .02em; }
    .jsc-header .jsc-nav-top, .jsc-header button.jsc-nav-top { padding: 8px 9px; font-size: 14px; }
    .jsc-header .jsc-nav-top::after { left: 9px; right: 9px; }
    .jsc-header .jsc-mypage { margin-left: 4px; padding: 8px 12px; }
}
@media (min-width: 1025px) {
    .jsc-drawer.jsc-drawer, .jsc-overlay { display: none !important; }
}

/* ===== スマホ・タブレット ===== */
@media (max-width: 1024px) {
    /* スクロールすると帯の上の余白が画面の外に出て、少し細くなる（本文は動かない） */
    .jsc-header.jsc-header { top: -8px; }
    .jsc-header.jsc-header.is-scrolled .jsc-bar { transform: translateY(4px); }
    .jsc-header.jsc-header.is-scrolled .jsc-logo { transform: scale(.88); }
    .jsc-header .jsc-bar { gap: 10px; min-height: 64px; padding: 10px 16px; }
    .jsc-header .jsc-logo { height: 38px; }
    .jsc-header .jsc-name { font-size: 18px; letter-spacing: .02em; }
    .jsc-js .jsc-header .jsc-nav { display: none; }
    .jsc-js .jsc-header .jsc-menu-btn, .jsc-js .jsc-header button.jsc-menu-btn { display: inline-flex; }
    .jsc-js .jsc-drawer.jsc-drawer { display: flex; }
    /* JavaScript が動かないときは、メニューを帯の下に並べる */
    html:not(.jsc-js) .jsc-header .jsc-bar { flex-wrap: wrap; }
    html:not(.jsc-js) .jsc-header .jsc-nav { flex-basis: 100%; margin: 0; }
    html:not(.jsc-js) .jsc-header .jsc-nav-list { flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .jsc-header .jsc-bar { gap: 8px; min-height: 60px; padding: 9px 12px; }
    .jsc-header .jsc-brand { gap: 8px; }
    .jsc-header .jsc-logo { height: 32px; }
    .jsc-header .jsc-name { font-size: 15px; letter-spacing: 0; white-space: normal; line-height: 1.2; }
    .jsc-header .jsc-menu-btn, .jsc-header button.jsc-menu-btn { padding: 7px 12px; font-size: 13px; }
    .jsc-footer.jsc-footer { padding-top: 24px; }
}
@media (max-width: 359px) {
    .jsc-header .jsc-logo { height: 28px; }
    .jsc-header .jsc-name { font-size: 13.5px; }
    .jsc-header .jsc-menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    .jsc-header.jsc-header, .jsc-header .jsc-bar, .jsc-header .jsc-logo, .jsc-header .jsc-nav-top::after,
    .jsc-drawer.jsc-drawer, html.jsc-open .jsc-drawer.jsc-drawer, .jsc-sns-link, .jsc-header .jsc-sub-link { transition: none; }
    .jsc-header .jsc-has-sub.is-open > .jsc-sub { animation: none; }
}
@media print {
    .jsc-drawer.jsc-drawer, .jsc-overlay, .jsc-header .jsc-menu-btn, .jsc-skip { display: none !important; }
    .jsc-header.jsc-header { position: static; }
}

/* =====================================================================
   見た目の調整（代表者の指示：見た目は大きく変えない。メニューはハンバーガーに。
   ファミリアのヘッダーのように、左にハンバーガー・真ん中にロゴ・右にマイページの入口）
   ===================================================================== */
/* 帯の下のカラフルな線はやめ、今までどおりの細い線だけにする */
.jsc-header.jsc-header::after { display: none; }
.jsc-header.jsc-header.is-scrolled { background: rgba(240, 248, 255, .97); }
/* PC のマイページ：控えめな枠線だけ */
.jsc-header .jsc-mypage { background: #fff; border: 1px solid #d6dde8; }
.jsc-header .jsc-mypage:hover { border-color: #9fb3cc; }
/* 左のまとまり・右のマイページの入口は、スマホ・タブレットだけ */
.jsc-header .jsc-left, .jsc-header .jsc-mypage-sp { display: none; }

/* ハンバーガー（3本の細い線。開くと×に変わる＝動きはこれ1つ） */
.jsc-header .jsc-menu-btn, .jsc-header button.jsc-menu-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 48px; height: 48px; min-height: 48px; margin: 0; padding: 0;
    background: transparent; border: 0; border-radius: 10px; box-shadow: none;
    color: var(--jsc-ink); font: inherit; cursor: pointer;
}
.jsc-header button.jsc-menu-btn:hover { background: rgba(28, 42, 74, .05); filter: none; }
.jsc-header .jsc-burger { position: relative; display: block; width: 24px; height: 14px; }
.jsc-header .jsc-burger i {
    position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
    transition: transform .24s var(--jsc-ease), opacity .18s ease, top .24s var(--jsc-ease);
}
.jsc-header .jsc-burger i:nth-child(1) { top: 0; }
.jsc-header .jsc-burger i:nth-child(2) { top: 6.2px; }
.jsc-header .jsc-burger i:nth-child(3) { top: 12.4px; }
html.jsc-open .jsc-header .jsc-burger i:nth-child(1) { top: 6.2px; transform: rotate(45deg); }
html.jsc-open .jsc-header .jsc-burger i:nth-child(2) { opacity: 0; }
html.jsc-open .jsc-header .jsc-burger i:nth-child(3) { top: 6.2px; transform: rotate(-45deg); }
.jsc-header .jsc-menu-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1; color: var(--jsc-ink); }

/* 右のマイページの入口（人のアイコン＋小さな文字） */
.jsc-header .jsc-mypage-sp {
    flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 48px; height: 48px; margin: 0; padding: 0 2px;
    color: var(--jsc-ink); text-decoration: none; border-radius: 10px;
}
.jsc-header .jsc-mypage-sp:hover { background: rgba(28, 42, 74, .05); color: var(--jsc-ink); text-decoration: none; }
.jsc-header .jsc-mypage-sp .jsc-ic { width: 22px; height: 22px; stroke-width: 1.6; }
.jsc-header .jsc-mypage-sp span { font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1; white-space: nowrap; }

@media (max-width: 1024px) {
    /* 左・真ん中・右の3つに分ける。ロゴと団体名は真ん中（今までどおりロゴの下に団体名） */
    .jsc-header .jsc-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 68px; padding: 8px 12px; }
    .jsc-js .jsc-header .jsc-left { display: flex; align-items: center; gap: 4px; justify-self: start; }
    .jsc-js .jsc-header .jsc-mypage-sp { display: inline-flex; justify-self: end; }
    .jsc-header .jsc-brand { flex-direction: column; justify-content: center; gap: 2px; justify-self: center; text-align: center; }
    .jsc-header .jsc-logo { height: 32px; transform-origin: center; }
    .jsc-header .jsc-name { font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
    .jsc-header.jsc-header.is-scrolled .jsc-logo { transform: scale(.9); }
    /* 左から出るメニュー */
    .jsc-drawer.jsc-drawer {
        left: 0; right: auto;
        transform: translateX(-105%);
        border-left: 0; border-right: 1px solid var(--jsc-line); border-image: none;
        box-shadow: 10px 0 30px rgba(28, 42, 74, .14);
    }
    html.jsc-open .jsc-drawer.jsc-drawer { transform: none; }
    /* JavaScript が動かないとき：左右の入口は出さず、今までどおりメニューを帯の下に */
    html:not(.jsc-js) .jsc-header .jsc-bar { display: flex; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
    .jsc-header .jsc-bar { min-height: 62px; padding: 6px 8px; gap: 4px; }
    .jsc-header .jsc-logo { height: 28px; }
    .jsc-header .jsc-name { font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; line-height: 1.2; }
    .jsc-header .jsc-menu-btn, .jsc-header button.jsc-menu-btn { width: 44px; padding: 0; font-size: inherit; }
}
@media (max-width: 359px) {
    .jsc-header .jsc-name { font-size: 11px; }
    .jsc-header .jsc-menu-label, .jsc-header .jsc-mypage-sp span { display: none; }
    .jsc-header .jsc-menu-btn span.jsc-burger { position: relative; width: 24px; height: 14px; overflow: visible; clip: auto; }
}
@media (prefers-reduced-motion: reduce) { .jsc-header .jsc-burger i { transition: none; } }

/* =====================================================================
   メニューは画面の中央に広がる（今までのハンバーガーと同じ動き）。
   ハンバーガーは開くと×になり、ヘッダーの上に残るので、同じボタンで閉じる。
   「MENU」「マイページ」の文字は出さない（アイコンだけ。読み上げ用の名前は付いている）。
   ===================================================================== */
.jsc-header .jsc-menu-label, .jsc-header .jsc-mypage-sp span { display: none !important; }
.jsc-header .jsc-mypage-sp .jsc-ic { width: 24px; height: 24px; }
@media (max-width: 1024px) {
    html.jsc-open .jsc-header.jsc-header { z-index: 1200; }
    .jsc-overlay { z-index: 1090; background: rgba(255, 255, 255, .6); }
    .jsc-drawer.jsc-drawer {
        top: 0; left: 0; right: 0; bottom: 0;
        width: auto; max-width: none;
        padding: calc(var(--jsc-head-h, 64px) + 18px) 20px calc(28px + env(safe-area-inset-bottom));
        align-items: center;
        justify-content: safe center;
        background: rgba(255, 255, 255, .98);
        border: 0; border-image: none; box-shadow: none;
        /* 動きは1つ：ふわっと出る（位置は動かさない） */
        transform: none;
        opacity: 0;
        transition: opacity .24s ease, visibility 0s linear .24s;
    }
    html.jsc-open .jsc-drawer.jsc-drawer { opacity: 1; transform: none; transition: opacity .24s ease, visibility 0s; }
    .jsc-drawer .jsc-drawer-title { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--jsc-muted); text-align: center; }
    .jsc-drawer .jsc-drawer-nav, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-dsns { width: 100%; max-width: 420px; }
    .jsc-drawer .jsc-dgroup { text-align: center; }
    .jsc-drawer .jsc-dsns p { text-align: center; }
    .jsc-drawer .jsc-dsns .jsc-sns { justify-content: center; }
    /* ×にしたハンバーガーが、ロゴの左で押せる位置に残る */
    html.jsc-open .jsc-header .jsc-menu-btn { position: relative; z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .jsc-drawer.jsc-drawer, html.jsc-open .jsc-drawer.jsc-drawer { transition: none; } }

/* =====================================================================
   メニューはシンプルに：色を使わない・アイコンなし・Open Sans。画面いっぱいにせず、中央に小さく開く。
   ===================================================================== */
.jsc-header .jsc-nav-top, .jsc-header button.jsc-nav-top, .jsc-header .jsc-sub-link, .jsc-header .jsc-mypage,
.jsc-drawer.jsc-drawer { font-family: 'Open Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
@media (max-width: 1024px) {
    .jsc-overlay { background: rgba(28, 42, 74, .18); }
    .jsc-drawer.jsc-drawer {
        top: calc(var(--jsc-head-h, 64px) + 10px); bottom: auto; left: 50%; right: auto;
        width: min(340px, calc(100vw - 32px));
        max-height: calc(100vh - var(--jsc-head-h, 64px) - 24px);
        padding: 18px 22px 20px;
        justify-content: flex-start; align-items: stretch;
        background: #fff;
        border: 1px solid #e3e6eb; border-radius: 12px;
        box-shadow: 0 12px 32px rgba(28, 42, 74, .12);
        transform: translateX(-50%);
    }
    html.jsc-open .jsc-drawer.jsc-drawer { transform: translateX(-50%); }
    .jsc-drawer .jsc-drawer-title { display: none; }
    .jsc-drawer .jsc-drawer-nav, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-dsns { max-width: none; }
}
/* 項目：細い区切り線と文字だけ（色・アイコン・枠なし） */
.jsc-drawer .jsc-dgroup {
    margin: 14px 0 2px; padding: 0; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
    color: #8a93a3; text-align: center;
}
.jsc-drawer .jsc-dgroup:first-child { margin-top: 0; }
.jsc-drawer .jsc-dlist { display: block; margin: 0; padding: 0; }
.jsc-drawer .jsc-dlist-solo, .jsc-drawer .jsc-dlist:not(.jsc-dlist-solo) + .jsc-dlist-solo { margin-top: 0; }
.jsc-drawer .jsc-dlink, .jsc-drawer .jsc-dmypage {
    display: flex; justify-content: center; align-items: center; gap: 0;
    width: 100%; min-height: 46px; margin: 0; padding: 10px 4px;
    background: none !important; border: 0 !important; border-bottom: 1px solid #eceef2 !important; border-radius: 0 !important; box-shadow: none !important;
    color: #2a2f38; font-size: 15px; font-weight: 300; letter-spacing: .04em; text-align: center; text-decoration: none;
    transition: color .15s ease;
}
.jsc-drawer .jsc-dlink:hover, .jsc-drawer .jsc-dmypage:hover { color: #000; text-decoration: none; }
.jsc-drawer .jsc-dlink[aria-current="page"] { font-weight: 400; color: #000; box-shadow: none !important; }
.jsc-drawer .jsc-dlink .jsc-ic, .jsc-drawer .jsc-dmypage .jsc-ic { display: none !important; }
.jsc-drawer .jsc-dmypage { margin: 0; font-weight: 400; }
/* SNS：文字だけの控えめなリンク */
.jsc-drawer .jsc-dsns { margin: 14px 0 0; padding: 0; border: 0; }
.jsc-drawer .jsc-dsns p { display: none; }
.jsc-drawer .jsc-dsns .jsc-sns { justify-content: center; gap: 18px; }
.jsc-drawer .jsc-sns-link {
    min-height: 36px; padding: 4px 2px; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
    color: #6b7280; font-size: 13px; font-weight: 400; letter-spacing: .06em;
}
.jsc-drawer .jsc-sns-link .jsc-ic { color: #6b7280; }
.jsc-drawer .jsc-sns-link:hover { color: #000; }

/* =====================================================================
   従来のハンバーガー（旧サイトの .outer-menu と同じ動き）に合わせる：
   押すと3本線が回転して×になり（135度）、メニューは中央から広がる。色は使わない・画面いっぱいにしない。
   文字は旧メニューと同じ Open Sans（300）。
   ===================================================================== */
.jsc-header .jsc-burger { width: 26px; height: 20px; transition: transform .4s ease; }
.jsc-header .jsc-burger i { height: 2px; background: #2a2f38; transition: transform .4s ease, top .4s ease, opacity .4s ease; }
.jsc-header .jsc-burger i:nth-child(1) { top: 0; }
.jsc-header .jsc-burger i:nth-child(2) { top: 9px; }
.jsc-header .jsc-burger i:nth-child(3) { top: 18px; }
html.jsc-open .jsc-header .jsc-burger { transform: rotate(135deg); }
html.jsc-open .jsc-header .jsc-burger i:nth-child(1) { top: 9px; transform: rotate(90deg); }
html.jsc-open .jsc-header .jsc-burger i:nth-child(2) { top: 9px; transform: none; opacity: 1; }
html.jsc-open .jsc-header .jsc-burger i:nth-child(3) { top: 9px; transform: none; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
    html.jsc-open .jsc-header .jsc-menu-btn:hover .jsc-burger { transform: rotate(225deg); }
}
.jsc-header button.jsc-menu-btn:hover, html.jsc-open .jsc-header .jsc-menu-btn { background: transparent; box-shadow: none; }
.jsc-header button.jsc-menu-btn:hover { box-shadow: inset 0 0 10px rgba(0, 0, 0, .08); }

@media (max-width: 1024px) {
    /* メニューは中央から丸く広がる（旧メニューの広がり方）。広がる範囲は中央のパネルの大きさまで */
    .jsc-drawer.jsc-drawer {
        border: 0; border-radius: 50%;
        box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
        transform: translateX(-50%) scale(0);
        opacity: 1;
        transition: transform .4s ease, border-radius .4s ease, visibility 0s linear .4s;
    }
    html.jsc-open .jsc-drawer.jsc-drawer {
        border-radius: 14px;
        transform: translateX(-50%) scale(1);
        transition: transform .6s ease, border-radius .6s ease, visibility 0s;
    }
    .jsc-drawer .jsc-drawer-nav, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-dsns { opacity: 0; transition: opacity .3s ease; }
    html.jsc-open .jsc-drawer .jsc-drawer-nav, html.jsc-open .jsc-drawer .jsc-dmypage, html.jsc-open .jsc-drawer .jsc-dsns { opacity: 1; transition: opacity .4s ease .3s; }
    .jsc-overlay { background: rgba(0, 0, 0, .12); }
}
/* 項目：旧メニューと同じ Open Sans の細い文字を大きめに。区切り線もなし */
.jsc-drawer .jsc-dlink, .jsc-drawer .jsc-dmypage {
    min-height: 44px; padding: 8px 4px; border-bottom: 0 !important;
    font-family: 'Open Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: 17px; font-weight: 300; letter-spacing: .05em; color: #2a2f38;
}
.jsc-drawer .jsc-dlink:hover, .jsc-drawer .jsc-dmypage:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; color: #000; }
.jsc-drawer .jsc-dgroup { font-family: 'Open Sans', sans-serif; font-weight: 400; margin-top: 12px; }
.jsc-drawer .jsc-dmypage { margin-top: 8px; border-top: 1px solid #eceef2 !important; padding-top: 14px; }
@media (prefers-reduced-motion: reduce) {
    .jsc-header .jsc-burger, .jsc-header .jsc-burger i, .jsc-drawer.jsc-drawer, html.jsc-open .jsc-drawer.jsc-drawer,
    .jsc-drawer .jsc-drawer-nav, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-dsns { transition: none !important; }
}

/* =====================================================================
   理想の形（左上にボタンがあるタイプ）：
   ・ハンバーガーは枠なし・背景は透明。3本線は長さを少しずつ短く（長・中・短、左そろえ）
   ・押すとメニューが左からすべり出る（白いパネル・画面の約3/4）。残りは暗くなる
   ・ボタンは白い×になって、パネルの右側（暗い部分）に移る。同じボタンで閉じる
   ・項目は左寄せの文字と下線だけ。色・アイコン・閉じるボタンは無し。文字は Open Sans
   ===================================================================== */
.jsc-header .jsc-menu-btn, .jsc-header button.jsc-menu-btn,
.jsc-header button.jsc-menu-btn:hover, html.jsc-open .jsc-header .jsc-menu-btn {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.jsc-header .jsc-burger { width: 30px; height: 20px; transform: none !important; transition: none; }
.jsc-header .jsc-burger i { left: 0; right: auto; height: 2px; background: currentColor; transition: transform .35s ease, width .35s ease, top .35s ease, opacity .2s ease; }
.jsc-header .jsc-burger i:nth-child(1) { top: 0; width: 100%; transform: none; }
.jsc-header .jsc-burger i:nth-child(2) { top: 9px; width: 62%; transform: none; opacity: 1; }
.jsc-header .jsc-burger i:nth-child(3) { top: 18px; width: 30%; transform: none; opacity: 1; }
html.jsc-open .jsc-header .jsc-burger i:nth-child(1) { top: 9px; width: 100%; transform: rotate(45deg); }
html.jsc-open .jsc-header .jsc-burger i:nth-child(2) { opacity: 0; }
html.jsc-open .jsc-header .jsc-burger i:nth-child(3) { top: 9px; width: 100%; transform: rotate(-45deg); opacity: 1; }
@media (hover: hover) and (pointer: fine) { html.jsc-open .jsc-header .jsc-menu-btn:hover .jsc-burger { transform: none !important; } }

@media (max-width: 1024px) {
    /* 開いている間：ヘッダーは透明にして、×だけをパネルの右側に出す */
    html.jsc-open .jsc-header.jsc-header { z-index: 1300; background: transparent; box-shadow: none; border-color: transparent; }
    html.jsc-open .jsc-header .jsc-brand, html.jsc-open .jsc-header .jsc-mypage-sp, html.jsc-open .jsc-header .jx-backkey { visibility: hidden; }
    html.jsc-open .jsc-header .jsc-menu-btn {
        position: fixed; z-index: 1310; top: 10px; left: calc(min(78vw, 360px) + 10px);
        color: #fff;
    }
    .jsc-overlay { z-index: 1240; background: rgba(0, 0, 0, .78); }
    .jsc-drawer.jsc-drawer {
        z-index: 1250;
        top: 0; bottom: 0; left: 0; right: auto;
        width: min(78vw, 360px); max-height: none;
        padding: 56px 26px calc(24px + env(safe-area-inset-bottom));
        justify-content: flex-start; align-items: stretch;
        background: #fff; border: 0; border-radius: 0; box-shadow: none;
        transform: translateX(-100%);
        transition: transform .4s ease, visibility 0s linear .4s;
    }
    html.jsc-open .jsc-drawer.jsc-drawer { border-radius: 0; transform: none; transition: transform .4s ease, visibility 0s; }
    .jsc-drawer .jsc-drawer-nav, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-dsns,
    html.jsc-open .jsc-drawer .jsc-drawer-nav, html.jsc-open .jsc-drawer .jsc-dmypage, html.jsc-open .jsc-drawer .jsc-dsns { opacity: 1; transition: none; }
}
/* 項目：左寄せの文字と、下の細い線だけ */
.jsc-drawer .jsc-dgroup { display: none; }
.jsc-drawer .jsc-dlink, .jsc-drawer .jsc-dmypage {
    justify-content: flex-start; text-align: left;
    min-height: 58px; margin: 0; padding: 16px 12px 14px;
    border: 0 !important; border-bottom: 1px solid #222 !important; border-radius: 0 !important;
    font-family: 'Open Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: 16px; font-weight: 400; letter-spacing: .03em; color: #222;
}
.jsc-drawer .jsc-dlink:hover, .jsc-drawer .jsc-dmypage:hover { text-decoration: none; color: #000; background: #f6f6f6 !important; }
.jsc-drawer .jsc-dmypage { margin-top: 0; padding-top: 16px; border-top: 0 !important; }
.jsc-drawer .jsc-dsns { margin-top: 22px; }
.jsc-drawer .jsc-dsns .jsc-sns { justify-content: flex-start; gap: 18px; padding-left: 12px; }
@media (prefers-reduced-motion: reduce) { .jsc-header .jsc-burger i { transition: none; } }

/* =====================================================================
   PC のメニュー：団体名と同じ明朝の文字、色を使わない。▼のマーク・アイコンなし、出てくるメニューは中央ぞろえ。
   マイページはアイコンだけ。スマホのメニューも団体名と同じ文字。
   ===================================================================== */
.jsc-header .jsc-nav-top, .jsc-header button.jsc-nav-top, .jsc-header .jsc-sub-link,
.jsc-drawer .jsc-dlink, .jsc-drawer .jsc-dmypage, .jsc-drawer .jsc-sns-link {
    font-family: 'JIMSA Title', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif !important;
}
.jsc-header .jsc-nav-top, .jsc-header button.jsc-nav-top { font-weight: 400; letter-spacing: .04em; color: #2a2f38; }
.jsc-header .jsc-caret { display: none !important; }
/* 今いる場所・カーソルを合わせたときの下線は、色を使わない細い線に */
.jsc-header .jsc-nav-top::after { background: #2a2f38 !important; height: 1px; }
/* 出てくるメニュー：中央ぞろえ・アイコンなし・枠は細い灰色 */
.jsc-header .jsc-sub { min-width: 200px; padding: 6px 0; border: 1px solid #e3e6eb; border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); text-align: center; }
.jsc-header .jsc-sub-link {
    display: block; justify-content: center; text-align: center; padding: 11px 18px;
    background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    color: #2a2f38; font-size: 15px; font-weight: 400; letter-spacing: .04em;
}
.jsc-header .jsc-sub-link .jsc-ic { display: none !important; }
.jsc-header .jsc-sub-link:hover { color: #000; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.jsc-header .jsc-sub-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
/* マイページ（PC）：アイコンだけ・枠なし */
.jsc-header .jsc-mypage { width: 44px; height: 44px; min-height: 44px; padding: 0 !important; justify-content: center; background: none !important; border: 0 !important; border-radius: 50%; box-shadow: none !important; }
.jsc-header .jsc-mypage .jsc-ic { width: 24px; height: 24px; color: #2a2f38 !important; stroke-width: 1.6; }
.jsc-header .jsc-mypage span { display: none !important; }
.jsc-header .jsc-mypage:hover { background: rgba(0, 0, 0, .05) !important; }
/* 古い書き出しのページに残っていても、メニューの中の「閉じる」は出さない */
.jsc-drawer .jsc-close, .jsc-drawer .jsc-drawer-head { display: none !important; }
.jsc-drawer .jsc-dlink, .jsc-drawer .jsc-dmypage { font-size: 16px; letter-spacing: .05em; }

/* ===== ハンバーガーの動き：押すとパネルと一緒に右へすべり、回りながら×になる ===== */
@media (max-width: 1024px) {
    .jsc-header .jsc-menu-btn { position: relative; transition: transform .4s ease, color .4s ease; }
    html.jsc-open .jsc-header .jsc-menu-btn {
        position: relative; top: auto; left: auto;
        transform: translateX(min(78vw, 360px));
        color: #fff;
    }
    .jsc-header .jsc-burger { transition: transform .4s ease !important; }
    html.jsc-open .jsc-header .jsc-burger, html.jsc-open .jsc-header .jsc-menu-btn:hover .jsc-burger { transform: rotate(180deg) !important; }
}
@media (prefers-reduced-motion: reduce) {
    .jsc-header .jsc-menu-btn, .jsc-header .jsc-burger { transition: none !important; }
}

/* ===== ハンバーガーの動き（参考にしたサンプルに近づける） =====
   ・閉じている間は、3本の線がそれぞれ別々にランダムな長さへゆっくり伸び縮みする（左端は固定。長さは header.js が決める）
   ・押すと、まず3本が同じ長さにそろい、続けて上下の線が回って×になる（真ん中は消える）
   ・閉じるときは逆の順で、×がほどけてから、また伸び縮みを始める */
.jsc-header .jsc-burger i { transition: width .6s cubic-bezier(.45,0,.25,1) .25s, top .25s ease, transform .25s ease, opacity .15s ease .1s; }
html.jsc-open .jsc-header .jsc-burger i { width: 100% !important; transition: width .18s ease, top .25s ease .18s, transform .25s ease .3s, opacity .1s ease .18s; }
@media (prefers-reduced-motion: reduce) { .jsc-header .jsc-burger i, html.jsc-open .jsc-header .jsc-burger i { transition: none !important; } }

/* ===== X・Instagram：PC は今までどおり右下に浮かせる（フッターには出さない） =====
   スマホ・タブレット（幅1024px以下）では、ハンバーガーのメニューの中に出すので、ここは隠す。 */
.jsc-footer .jsc-sns { display: none !important; }
.jsc-float-sns { display: none; }
@media (min-width: 1025px) {
    .jsc-float-sns {
        display: flex; align-items: center; gap: 10px;
        position: fixed; right: 20px; bottom: 20px; z-index: 999;
        padding: 10px 15px 15px;
        background: transparent;
    }
    .jsc-float-sns a { display: block; line-height: 0; border-radius: 8px; transition: opacity .2s ease; }
    .jsc-float-sns a:hover { opacity: .7; }
    .jsc-float-sns a:focus-visible { outline: 2px solid #2a2f38; outline-offset: 3px; }
    .jsc-float-sns img { width: 40px; height: 40px; display: block; }
}
@media print { .jsc-float-sns { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .jsc-float-sns a { transition: none; } }

/* ===== フッターのリンク：団体名と同じ明朝体・下線なし ===== */
.jsc-footer .jsc-footer-links a {
    font-family: 'JIMSA Title', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif !important;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: .04em;
    color: #2a2f38;
    text-decoration: none !important;
    transition: opacity .2s ease;
}
.jsc-footer .jsc-footer-links a:hover { color: #2a2f38; opacity: .65; text-decoration: none !important; }
.jsc-footer .jsc-footer-links a:focus-visible { outline: 2px solid #2a2f38; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .jsc-footer .jsc-footer-links a { transition: none; } }
