/* =========================================================
   common.css — 全ページ共通(トークン/ヘッダー/フッター/共通パーツ)
   ========================================================= */
:root {
    --pink: #e75b79;
    --pink2: #f49bab;
    --text: #2b2928;
    --muted: #706b68;
    --bg: #fffdfb;
    --line: #eee7e2;
    --shadow: 0 12px 35px rgba(77,55,48,.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

.container {
    width: min(1180px,calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    height: 78px;
    background: rgba(255,255,255,.96);
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(0,0,0,.04);
    backdrop-filter: blur(10px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #222;
    color: #fff;
    font-size: 24px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: .05em;
}

.brand-text small {
    font-size: 10px;
    color: #777;
    margin-top: 5px;
}

.global-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
}

.global-nav a:hover {
    color: var(--pink);
}

.nav-arrow {
    display: none;
}

.nav-more {
    display: none;
}

.nav-backdrop {
    display: none;
}

.only-mobile-nav {
    display: none;
}

.sp-only {
    display: none;
}

.search-submit-icon {
    font-size: 22px;
    vertical-align: -3px;
    display: inline-block;
}

.favorite {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 9px 14px;
}

.favorite .heart-icon {
    color: var(--pink);
    font-size: 15px;
}

.favorite #fav-count {
    display: inline-grid;
    place-items: center;
    background: #eee;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
}

.menu {
    border: 0;
    background: transparent;
    font-size: 26px;
    display: none;
}

footer {
    background: #fff;
    padding: 25px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner p {
    font-size: 11px;
    color: #999;
}

/* ロゴ */
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo {
    display: block;
    width: 245px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

.footer-logo {
    width: 270px;
    max-height: 72px;
}

.brand-mark, .brand-text {
    display: none;
}

/* =========================================================
   検索・絞り込み機能 追加スタイル(既存デザインは変更せず追記)
   ========================================================= */
/* 人気のキーワード:選択中 */
.keywords a.active {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 4px 10px rgba(231,91,121,.35);
}

/* カテゴリアイコン:選択中 */
.feature-search a.active {
    background: #fdf1f2;
    border-radius: 10px;
}

.feature-search a.active span {
    color: var(--pink);
}

/* 件数表示 */
.result-count {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 6px;
}

/* 検索結果 0件時 */
.empty-state {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 60px 20px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: #fff;
}

/* =========================================================
   検索結果ページ・詳細ページ 追加スタイル
   (既存ルールは変更せず追記のみ)
   ========================================================= */
/* ---- 教室カード:リンク化対応 ---- */
/* school-card の display は本体側の定義(下部の教室カード共通パーツ)で block を指定 */
.school-card-link {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.school-card-link > img {
    width: 168px;
    height: 122px;
    object-fit: cover;
    border-radius: 9px;
}

/* はじめての方へ / 教室の方へ:ステップ */
.guide-section {
    padding: 8px 0 50px;
    display: grid;
    gap: 22px;
}

.guide-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.guide-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--pink),#df4973);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-step h2 {
    font-size: 17px;
    margin: 4px 0 6px;
}

.guide-step p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    max-width: 640px;
}

.value-section-plain {
    padding: 8px 0 10px;
}

.value-section-plain .value-grid {
    grid-template-columns: repeat(3,1fr);
}

/* =========================================================
   ヘッダー:検索ボタン・ハンバーガーメニュー(全ページ共通)
   ========================================================= */
.menu {
    margin-left: auto;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--pink), #df4973);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 24px;
    white-space: nowrap;
}

.header-search-btn .icon {
    font-size: 35px;
    line-height: 22px;
    display: inline-block;
    position: relative;
    bottom: 6px;
}

/* =========================================================
   下層ページ共通:フッター上のCTAバナー(teachers.htmlのデザインを共通化)
   ========================================================= */
.site-bottom-cta {
    min-height: 150px;
    background: linear-gradient(180deg, #fff7f9, #fff2f5);
    overflow: hidden;
    margin-top: 40px;
}

.site-bottom-cta .inner {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-bottom-cta .piano {
    position: absolute;
    left: -8px;
    bottom: -8px;
    width: 205px;
    height: 150px;
    object-fit: contain;
}

.site-bottom-cta .copy {
    text-align: center;
    position: relative;
    z-index: 2;
}

.site-bottom-cta .copy p {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 8px;
}

.site-bottom-cta .copy p span {
    color: #f43d70;
}

.site-bottom-cta .copy a {
    min-width: 430px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(135deg, #ff648d, #f43b6d);
    color: #fff;
    border-radius: 28px;
    padding: 13px 28px;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(244, 59, 109, .2);
}

.site-bottom-cta .copy a b {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #f43d70;
    width: 26px;
    height: 26px;
    line-height: 0px;
    padding-bottom: 2px;
}

.site-bottom-cta .person {
    position: absolute;
    right: 0px;
    bottom: -12px;
    display: flex;
    align-items: center;
}

.site-bottom-cta .person img {
    width: 185px;
    height: 150px;
    object-fit: contain;
}

.site-bottom-cta .person p {
    position: absolute;
    right: 185px;
    top: 4px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ff8ca8;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 4px 14px rgba(104, 64, 77, .08);
}

/* =========================================================
   教室カード共通パーツ(index/search-results/map-search共有)
   ========================================================= */
.content-grid {
    display: grid;
    grid-template-columns: minmax(0,1.75fr) minmax(320px,.9fr);
    gap: 32px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin: 8px 0 16px;
}

.tabs button {
    border: 0;
    background: transparent;
    padding: 9px 25px;
    border-radius: 20px;
    cursor: pointer;
}

.tabs .active {
    background: #f9e7e7;
    color: #cc596f;
}

.school-list {
    display: grid;
    gap: 14px;
}

.school-card {
    position: relative;
    background: #fff;
    border: 1px solid #f0ebe7;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(58,40,32,.05);
    display: block;
}

.school-card>img {
    width: 168px;
    height: 122px;
    object-fit: cover;
    border-radius: 9px;
}

.school-info h3 {
    font-size: 19px;
    margin: 4px 0;
}

.school-info p {
    font-size: 13px;
    color: #68615d;
    margin: 3px 0;
}

.school-info .address {
    font-size: 12px;
}

.tags {
    display: flex;
    gap: 6px;
}

.tags span {
    font-size: 10px;
    border-radius: 12px;
    background: #ffe0dd;
    color: #d24f59;
    padding: 3px 8px;
    font-weight: 700;
}

.tags .green {
    background: #dff3e3;
    color: #438d5a;
}

.tags .purple {
    background: #ece7f7;
    color: #6b5f8c;
}

.tags .blue {
    background: #e1f0f8;
    color: #53839c;
}

.meta {
    font-size: 11px;
    color: #777;
    margin-top: 6px;
}

.heart {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: 0;
    font-size: 23px;
    color: #888;
    cursor: pointer;
}

.heart.is-active {
    color: var(--pink);
}

.side-column {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
}

/* =========================================================
   検索結果ページ・地図検索ページ・下層ページ共通パーツ
   (見出し/ブレッドクラム/カテゴリチップ/地図ポップアップ)
   ========================================================= */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.breadcrumb a:hover {
    color: var(--pink);
}

.results-heading {
    font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 18px;
}

.results-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 12px;
}

.chip-row-label {
    font-weight: 700;
    margin-right: 4px;
}

.category-chip {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 15px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
}

.category-chip.active {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}

.chip-row-empty {
    font-size: 12px;
    color: var(--muted);
}

.clear-filters {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.map-popup {
    font-size: 12px;
    line-height: 1.6;
}

.map-popup a {
    color: var(--pink);
    font-weight: 700;
}

.leaflet-map {
    width: 100%;
    height: 330px;
    background: #eee;
}

.leaflet-map.mini {
    height: 160px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.static-page-hero {
    padding: 32px 0 24px;
}

.mapsearch-lead {
    font-size: 17px;
    color: var(--muted);
    margin: 0;
}

/* =========================================================
   サイドバナー(はじめてのガイド/オンライン特集)共通パーツ
   (index/search-results で共有)
   ========================================================= */
.side-banner {
    height: 118px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 38% 1fr 24px;
    align-items: center;
    background: #fff8e9;
    border: 1px solid rgba(151,119,73,.05);
    transition: transform .2s ease,box-shadow .2s ease;
}

.side-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(77,55,48,.10);
}

.side-banner-visual {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.side-banner-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(255,248,233,0) 58%,#fff8e9 100%);
    pointer-events: none;
}

.side-banner-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.side-banner-copy {
    position: relative;
    z-index: 2;
    padding: 10px 0 10px 2px;
}

.side-banner strong {
    display: block;
    font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: 18px;
    line-height: 1.42;
    letter-spacing: .02em;
}

.side-banner small {
    display: block;
    font-size: 10px;
    line-height: 1.55;
    margin-top: 5px;
    color: #655f5a;
}

.side-banner-arrow {
    position: relative;
    z-index: 2;
    font-size: 28px;
    line-height: 1;
    color: #3d3a37;
    justify-self: center;
}

.side-banner.online {
    background: #edf8f5;
    border-color: rgba(78,137,121,.05);
}

.side-banner.online .side-banner-visual:after {
    background: linear-gradient(90deg,rgba(237,248,245,0) 58%,#edf8f5 100%);
}

.side-banner.online .side-banner-visual img {
    object-position: center 54%;
}

/* =========================================================
   マップバナーカード共通パーツ(index/search-results で共有)
   ========================================================= */
.map-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: none;
}

.map-card img {
    display: block;
    width: 100%;
    height: auto;
}

.map-card button {
    position: absolute;
    left: 15px;
    top: 15px;
    border: 1px solid #ddd;
    border-radius: 22px;
    background: #fff;
    padding: 9px 15px;
}

/* =========================================================
   検索ボックス共通パーツ(index/search-results で共有)
   ========================================================= */
.search-box {
    background: #fff;
    padding: 10px;
    border-radius: 34px;
    box-shadow: 0 12px 36px rgba(83,55,42,.2);
    display: grid;
    grid-template-columns: 1fr 1.15fr 160px;
    gap: 4px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-right: 1px solid #eee;
}

.search-field span {
    font-size: 21px;
}

.search-field input {
    border: 0;
    outline: 0;
    width: 100%;
    height: 46px;
}

.search-box button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg,var(--pink),#df4973);
    border-radius: 26px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

/* =========================================================
   よくある質問(FAQ)共通パーツ(初めての方へ/講師の方へ で共有)
   ========================================================= */
.faq {
    padding: 22px 0 30px;
}

.faq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-head h2 {
    font-size: 28px;
}

.faq-more {
    border: 1px solid #999;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
}

.faq details {
    border-top: 1px solid #eee;
    padding: 13px 8px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 32px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:before {
    content: "Q";
    display: inline-grid;
    place-items: center;
    background: var(--pink);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 12px;
}

.faq summary:after {
    content: "▼";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--pink);
    transition: transform .2s ease;
}

.faq details[open] summary:after {
    transform: translateY(-50%) rotate(180deg);
}

/* =========================================================
   共通フッター(ロゴ+ナビ+法的リンク+SNS)全ページ共通
   ========================================================= */
.site-footer {
    background: #fff;
    padding: 40px 0 44px;
    border-top: 1px solid var(--line);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 170px 1fr 210px;
    align-items: center;
    gap: 26px;
}

.site-footer-brand img {
    width: 145px;
    display: block;
}

.site-footer-links {
    display: grid;
    gap: 8px;
}

.site-footer-links > div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer-links a {
    font-size: 13px;
    font-weight: 500;
}

.site-footer-links a:hover {
    color: var(--pink);
}

.site-footer-social {
    text-align: right;
}

.site-footer-social > div {
    font-size: 23px;
    margin-bottom: 6px;
}

.site-footer-social .social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.site-footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f0ec;
    color: var(--text);
}

.site-footer-social .social-icons a:hover {
    background: var(--pink);
    color: #fff;
}

.site-footer-social .social-icons svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.site-footer-social small {
    font-size: 12px;
    color: #777;
}

/* ==================== レスポンシブ（メディアクエリ） ==================== */
/* タブレット対応 */
@media (max-width: 980px) {
    .global-nav {
        display: none;
    }

    .menu {
        display: block;
    }

    .favorite {
        margin-left: auto;
    }

    .hero {
        height: 560px;
    }

    .hero-overlay {
        background: linear-gradient(90deg,rgba(255,250,244,.95),rgba(255,250,244,.42));
    }

    .search-box {
        width: calc(100% - 48px);
        grid-template-columns: 1fr;
        bottom: 75px;
        border-radius: 18px;
    }

    .search-field {
        border-right: 0;
        border-bottom: 1px solid #eee;
    }

    .search-box button {
        height: 48px;
    }

    .keywords {
        display: none;
    }

    .feature-search {
        grid-template-columns: repeat(4,1fr);
    }

    .feature-search a:nth-child(4) {
        border: 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .side-column {
        grid-template-columns: 1fr 1fr;
    }

    .map-card {
        grid-column: 1/-1;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .teacher-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* スマートフォン対応 */
@media (max-width: 640px) {
    .container {
        width: min(100% - 28px,1180px);
    }

    .site-header {
        height: 68px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .favorite {
        display: none;
    }

    .hero {
        height: 620px;
    }

    .hero-image {
        object-position: 63% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg,rgba(255,250,244,.88),rgba(255,250,244,.3) 58%,rgba(255,250,244,.75));
    }

    .hero-inner {
        padding-top: 35px;
    }

    .hero-copy h1 {
        font-size: 32px;
        margin-top: 110px;
        text-shadow: 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 5px #ffffff;
    }

    .sp-only {
        display: inline;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .search-box {
        left: 0;
        width: 100%;
        bottom: 28px;
    }

    .feature-search {
        margin-top: 14px;
        grid-template-columns: repeat(2,1fr);
        padding: 10px;
    }

    .feature-search a {
        justify-content: center;
        padding: 10px;
        border-bottom: 1px solid var(--line);
    }

    .feature-search a:nth-child(2n) {
        border-right: 0;
    }

    .feature-search a:nth-child(4) {
        border-bottom: 1px solid var(--line);
    }

    .feature-search a:last-child {
        border-right: 1px solid var(--line);
    }

    .school-section {
        padding-top: 30px;
    }

    .section-title-row h2 {
        font-size: 22px;
    }

    .results-heading {
        font-size: 26px;
    }

    .content-grid {
        display: block;
    }

    .school-card {
        grid-template-columns: 112px 1fr;
    }

    .school-card>img {
        width: 112px;
        height: 100px;
    }

    .school-info p:not(.address) {
        display: none;
    }

    .school-info h3 {
        font-size: 16px;
    }

    .meta {
        display: none;
    }

    .side-column {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .value-section h2 {
        font-size: 23px;
    }

    .teacher-cta h2 {
        font-size: 23px;
    }

    .teacher-cta a {
        width: 100%;
    }

    .bottom-cta {
        min-height: 390px;
        align-items: flex-end;
        padding: 34px 0;
    }

    .bottom-cta-image {
        object-position: 62% center;
    }

    .bottom-cta-overlay {
        background: linear-gradient(180deg,rgba(255,250,246,.20) 0%,rgba(255,250,246,.75) 52%,rgba(255,250,246,.98) 100%);
    }

    .bottom-cta .bottom-cta-kicker {
        font-size: 24px;
    }

    .bottom-cta a {
        min-width: 0;
        width: 100%;
    }

    .footer-inner {
        gap: 20px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tabs button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .faq-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* タブレット対応：ロゴ */
@media (max-width: 980px) {
    .site-logo {
        width: 220px;
        max-height: 54px;
    }
}

/* スマートフォン対応：ロゴ */
@media (max-width: 640px) {
    .site-logo {
        width: 175px;
        max-height: 46px;
    }

    .footer-logo {
        width: 205px;
        max-height: 56px;
    }
}

@media (max-width: 640px) {
    .school-card-link {
        grid-template-columns: 112px 1fr;
    }

    .school-card-link > img {
        width: 112px;
        height: 100px;
    }

    .tags {
        flex-wrap: wrap;
        row-gap: 4px;
        padding-right: 32px;
    }

    .heart {
        top: 10px;
        right: 10px;
        font-size: 20px;
    }
}

@media (max-width: 980px) {
    .value-section-plain .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .header-search-btn {
        display: none;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(20,15,12,.45);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility 0s linear .25s;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .25s ease;
    }

    .global-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 0 24px;
        box-shadow: var(--shadow);
        gap: 0;
        z-index: 40;
        border-top: 3px solid #df4973;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    }

    .global-nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity .25s ease, transform .25s ease;
    }

    .global-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .global-nav a:first-child {
        border-top: 1px solid var(--line);
    }

    .nav-arrow {
        display: inline-block;
        font-size: 18px;
        color: #ccc;
        line-height: 1;
    }

    .nav-more {
        display: block;
        border-bottom: 1px solid var(--line);
    }

    .nav-more-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        background: none;
        border: 0;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        color: inherit;
        cursor: pointer;
    }

    .nav-more-toggle:hover {
        color: var(--pink);
    }

    .nav-arrow-down {
        transform: rotate(90deg);
        transition: transform .2s ease;
    }

    .nav-more.is-open .nav-arrow-down {
        transform: rotate(-90deg);
    }

    .nav-more-panel {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        background: #faf9f8;
        transition: max-height .25s ease;
    }

    .nav-more.is-open .nav-more-panel {
        max-height: 300px;
    }

    .nav-more-panel a {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
        font-size: 12px;
        font-weight: 600;
        color: #666;
    }

    .nav-more-panel a:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 1050px) {
    .site-bottom-cta .person {
        right: -60px;
        opacity: .25;
    }

    .site-bottom-cta .piano {
        left: -45px;
        opacity: .25;
    }
}

@media (max-width: 640px) {
    .site-bottom-cta .copy a {
        min-width: 0;
        width: min(92vw, 430px);
        font-size: 15px;
        padding: 12px 18px;
    }

    .site-bottom-cta .copy p {
        font-size: 11px;
    }
}

@media (max-width: 1050px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer-brand img {
        margin: auto;
    }

    .site-footer-links > div {
        justify-content: center;
    }

    .site-footer-social {
        text-align: center;
    }

    .site-footer-social .social-icons {
        justify-content: center;
    }
}

/* =========================================================
   スマホ用固定フッターメニュー(全ページ共通)
   ========================================================= */
.mobile-tabbar {
    display: none;
}

@media (max-width: 640px) {
    .mobile-tabbar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        background: #df4973;
        border-top: 1px solid #df4973;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .mobile-tabbar-inner {
        display: flex;
        align-items: stretch;
        height: 58px;
    }

    .mobile-tabbar a, .mobile-tabbar button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 10px;
        font-weight: 700;
        color: #fff;
        border: 0;
        border-left: 1px solid rgba(255,255,255,.35);
        background: none;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
    }

    .mobile-tabbar a:first-child {
        border-left: 0;
    }

    .mobile-tabbar .icon {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-tabbar .icon-tabbar-search {
        font-size: 27px;
        font-weight: normal;
        margin-top: -8px;
    }

    .mobile-tabbar button.mobile-tabbar-top {
        flex: 0 0 52px;
        font-size: 9px;
    }

    body {
        padding-bottom: 64px;
    }

    /* MENUタップで開くメニューを画面下部に寄せて表示 */
    /* .site-headerのbackdrop-filterがposition:fixedの基準点を */
    /* ずらしてしまうため、スマホ幅では無効化する */
    .site-header {
        backdrop-filter: none;
    }

    .menu {
        display: none;
    }

    .global-nav {
        position: fixed;
        top: auto;
        bottom: 58px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        z-index: 65;
        transform: translateY(16px);
    }

    .global-nav.is-open {
        transform: translateY(0);
    }
}
