/*==========================
    法的情報
==========================*/

.legal-document-page{
    width:100%;
    min-height:100%;
    margin:0;
    padding:15px;
    box-sizing:border-box;
    background:#fff;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif !important;
}


/*==========================
    法的情報ページ
==========================*/

.legal-modal-page{
    width:100%;
    box-sizing:border-box;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif !important;
}


/*==========================
    法的情報内フォント固定
==========================*/

.legal-modal-page *,
.legal-modal-page *::before,
.legal-modal-page *::after{
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif !important;
}


/*==========================
    更新日
==========================*/

.update-date{
    margin:0 0 20px;
    font-size:13px;
    line-height:1.6;
    color:#666;
}


/*==========================
    セクション
==========================*/

.legal-section{
    margin-bottom:28px;
}

.legal-section h2{
    margin:0 0 12px;
    font-size:18px;
    line-height:1.5;
}

.legal-section p{
    margin:0 0 12px;
    font-size:14px;
    line-height:1.8;
}

.legal-section ul{
    margin:0;
    padding-left:22px;
}

.legal-section li{
    margin-bottom:8px;
    font-size:14px;
    line-height:1.7;
}

/* Feature list page */
.feature-page{max-width:1040px;margin:0 auto;padding:8px 0 28px;color:#3e3540}.feature-page-header{padding:24px 20px 26px;margin:0 0 22px;border-radius:18px;background:linear-gradient(135deg,#fff0f6,#f5edff);border:1px solid #f5dce9}.feature-eyebrow{margin:0 0 8px;color:#c34c85;font-size:11px;font-weight:800;letter-spacing:.12em}.feature-page-header h1{margin:0 0 12px;font-size:clamp(24px,4vw,32px);line-height:1.35}.feature-page-lead{font-size:16px!important;font-weight:700;color:#9e4775}.feature-page-header p{margin:0 0 8px;font-size:14px;line-height:1.9}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-card{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:18px 16px;border:1px solid #f0e2eb;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(95,53,81,.06)}.feature-card-icon{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#fff0f6,#f1e9ff);font-size:25px}.feature-card-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0}.feature-card h2{margin:1px 0 8px;font-size:16px;line-height:1.5}.feature-card p{margin:0 0 14px;font-size:13px;line-height:1.8;color:#655c66}.feature-card-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding:8px 13px;border:1px solid #e56da4;border-radius:999px;color:#bd477f;font-size:13px;font-weight:700;text-decoration:none}.feature-card-link:hover{background:#fff0f6}.feature-page-note{margin-top:22px;padding:18px 20px;border-radius:16px;background:#faf7fb;border:1px solid #eee4ef}.feature-page-note h2{margin:0 0 10px;font-size:16px}.feature-page-note p{margin:0 0 10px;font-size:13px;line-height:1.9}.feature-page-note a{color:#a83e75;text-underline-offset:3px}@media(max-width:600px){.feature-page{padding:0 0 20px}.feature-page-header{padding:20px 16px;margin-bottom:16px;border-radius:14px}.feature-grid{grid-template-columns:minmax(0,1fr);gap:12px}.feature-card{display:block;padding:13px 11px;border-radius:13px}.feature-card-icon{width:38px;height:38px;flex-basis:38px;margin-bottom:10px;border-radius:12px;font-size:21px}.feature-card h2{font-size:14px;margin-bottom:6px}.feature-card p{font-size:12px;line-height:1.7;margin-bottom:12px}.feature-card-link{padding:7px 10px;font-size:12px}.feature-page-note{padding:15px;margin-top:16px}}@media(max-width:360px){.feature-grid{gap:7px}.feature-card{padding:11px 9px}.feature-card h2{font-size:13px}.feature-card p{font-size:11px}}

/* 公開案内ページ共通ヘッダー */
.legal-page-top{max-width:1040px;margin:0 auto 18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.legal-back-link{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border:1px solid #e7b5d0;border-radius:999px;background:#fff7fb;color:#a83e75;text-decoration:none;font-size:13px;font-weight:700;box-sizing:border-box}.legal-back-link:hover{background:#ffedf6}.legal-page-top .update-date{margin:0;color:#777;font-size:12px;line-height:1.6}.feature-page{padding-top:0}


/* 公開案内ページ共通デザイン */
.legal-content-page,.feature-page{width:100%;max-width:1040px;margin:0 auto;padding:8px 0 32px;color:#3e3540;box-sizing:border-box}
.legal-page-header,.feature-page-header{padding:26px 24px;margin:0 0 20px;border:1px solid #f2dce9;border-radius:18px;background:linear-gradient(135deg,#fff2f7 0%,#f5f0ff 100%);box-sizing:border-box}
.legal-eyebrow{margin:0 0 8px;color:#bd4d83;font-size:11px;font-weight:800;letter-spacing:.12em}
.legal-page-header h1,.feature-page-header h1{margin:0 0 10px;color:#392d38;font-size:clamp(24px,4vw,32px);line-height:1.4}
.legal-page-header>p:last-child,.feature-page-header>p{margin:0;color:#625663;font-size:14px;line-height:1.9}
.legal-info-card{margin:0 0 16px;padding:20px 22px;border:1px solid #eee2eb;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(95,53,81,.05)}
.legal-info-card h2{margin:0 0 14px;color:#473744;font-size:18px}
.legal-info-card p{margin:0 0 12px;color:#5f5660;font-size:14px;line-height:1.9}
.legal-caution{padding:12px 14px;border-radius:12px;background:#fff6fa;color:#9f426e!important}
.operator-account{display:flex;gap:14px;align-items:flex-start;padding:16px 0}
.operator-account+.operator-account{border-top:1px solid #f0e7ee}
.operator-account-icon{display:flex;flex:0 0 46px;width:46px;height:46px;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#fff0f6,#f1eaff);font-size:23px}
.operator-account-body{min-width:0;flex:1}
.operator-account-label{display:block;margin-bottom:5px;color:#a34b79;font-size:12px;font-weight:700}
.operator-account-body h3{margin:0 0 4px;color:#403541;font-size:15px;line-height:1.6}
.operator-account-body p{margin:0 0 10px;color:#766b77;font-size:13px}
.legal-action-link,.legal-primary-link{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border:1px solid #e5a8c8;border-radius:999px;background:#fff8fc;color:#a83e75;text-decoration:none;font-size:13px;font-weight:700;box-sizing:border-box;transition:background .15s ease}
.legal-action-link:hover{background:#ffedf6}
.legal-primary-link{border-color:#c34e88;background:#c34e88;color:#fff}
.legal-primary-link:hover{background:#a93c73}
.legal-page-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.feature-page-header .feature-page-lead{margin:0 0 8px;color:#9e4775;font-size:16px;font-weight:700}
.feature-page-note{border-radius:16px}
@media(max-width:600px){.legal-content-page,.feature-page{padding:0 0 22px}.legal-page-header,.feature-page-header{padding:20px 16px;margin-bottom:15px;border-radius:14px}.legal-info-card{padding:16px 14px;margin-bottom:12px;border-radius:14px}.legal-info-card h2{font-size:16px}.legal-info-card p{font-size:13px}.operator-account{gap:10px;padding:13px 0}.operator-account-icon{flex-basis:40px;width:40px;height:40px;font-size:20px}.operator-account-body h3{font-size:14px}.legal-page-actions{gap:7px}.legal-action-link,.legal-primary-link{min-height:38px;padding:7px 12px;font-size:12px}}

.public-info-modal{position:fixed;inset:0;z-index:1600;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(35,24,35,.52);box-sizing:border-box}.public-info-modal.active{display:flex}.public-info-dialog{display:flex;flex-direction:column;width:min(100%,900px);height:min(88dvh,850px);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 16px 55px rgba(0,0,0,.22)}.public-info-modal-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-bottom:1px solid #eee4eb;background:#fff8fc}.public-info-modal-header h2{margin:0;color:#493847;font-size:17px}.public-info-modal-close{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border:0;border-radius:50%;background:#f8eaf2;color:#8f3c69;font-size:25px;cursor:pointer}.public-info-modal-body{flex:1;min-height:0;overflow:auto;padding:20px 22px;overscroll-behavior:contain}.public-info-modal-body .legal-page-top{display:none}.public-info-inquiry-frame{width:100%;height:100%;min-height:500px;border:0;background:#fff}.public-info-loading{padding:24px;text-align:center;color:#777}body.public-info-modal-open{overflow:hidden}@media(max-width:600px){.public-info-modal{padding:8px;align-items:flex-end}.public-info-dialog{width:100%;height:94dvh;border-radius:18px 18px 0 0}.public-info-modal-header{padding:10px 14px}.public-info-modal-body{padding:14px 12px}.public-info-inquiry-frame{min-height:100%}}


/* Live feature screenshot showcase */
.feature-showcase{margin-top:24px}
.feature-showcase-heading{margin:0 0 14px;padding:20px 22px;border:1px solid #f2dce9;border-radius:16px;background:linear-gradient(135deg,#fff2f7 0%,#f5f0ff 100%)}
.feature-showcase-heading h2{margin:0 0 7px;color:#392d38;font-size:20px;line-height:1.5}
.feature-showcase-heading p:last-child{margin:0;color:#625663;font-size:13px;line-height:1.8}
.feature-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.feature-showcase-card{min-width:0;padding:17px;border:1px solid #eee2eb;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(95,53,81,.05)}
.feature-showcase-card h3{margin:0 0 6px;color:#473744;font-size:16px}
.feature-showcase-card>p{margin:0 0 13px;color:#655c66;font-size:13px;line-height:1.8}
.feature-showcase-image{margin:0 0 12px;min-width:0}
.feature-showcase-image:last-child{margin-bottom:0}
.feature-showcase-image img{display:block;width:100%;height:auto;border:1px solid #f0e5ed;border-radius:10px;background:#fff}
.feature-showcase-image-pc img{aspect-ratio:2/1;object-fit:contain}
.feature-showcase-image-mobile{max-width:210px;margin-left:auto;margin-right:auto}
.feature-showcase-image-mobile img{width:100%;max-height:430px;object-fit:contain;object-position:top}
.feature-showcase-image figcaption{margin-top:5px;color:#887b87;font-size:11px;text-align:center}
.feature-showcase-card-setlist{grid-column:1/-1}
@media(max-width:600px){
 .feature-showcase{margin-top:18px}
 .feature-showcase-heading{padding:16px;margin-bottom:12px}
 .feature-showcase-heading h2{font-size:17px}
 .feature-showcase-grid{grid-template-columns:minmax(0,1fr);gap:11px}
 .feature-showcase-card{padding:14px}
 .feature-showcase-card-setlist{grid-column:auto}
 .feature-showcase-image-mobile{max-width:190px}
}


/* Live feature screenshots: collapsed by default and responsive by device */
.feature-showcase{margin-top:24px;padding:0;overflow:hidden;border:1px solid #f0dce9;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(95,53,81,.05)}
.feature-showcase-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#fff2f7 0%,#f5f0ff 100%)}
.feature-showcase-toggle::-webkit-details-marker{display:none}
.feature-showcase-toggle-text{display:flex;flex-direction:column;gap:5px;min-width:0}
.feature-showcase-toggle .feature-eyebrow{margin:0}
.feature-showcase-toggle strong{color:#392d38;font-size:17px;line-height:1.5}
.feature-showcase-toggle small{color:#756977;font-size:12px;line-height:1.6}
.feature-showcase-toggle-icon{position:relative;flex:0 0 28px;width:28px;height:28px;border:1px solid #e7b5d0;border-radius:50%;background:#fff}
.feature-showcase-toggle-icon:before,.feature-showcase-toggle-icon:after{position:absolute;top:13px;left:8px;width:10px;height:1.5px;background:#ad477a;content:"";transition:transform .2s ease}
.feature-showcase-toggle-icon:after{transform:rotate(90deg)}
.feature-showcase[open] .feature-showcase-toggle-icon:after{transform:rotate(0)}
.feature-showcase-content{padding:16px}
.feature-showcase-heading{margin:0 0 14px;padding:0 2px}
.feature-showcase-heading h2{margin:0 0 5px;color:#392d38;font-size:17px}
.feature-showcase-heading p{margin:0;color:#625663;font-size:12px;line-height:1.7}
.feature-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.feature-showcase-card{min-width:0;padding:14px;border:1px solid #eee2eb;border-radius:13px;background:#fff}
.feature-showcase-card h3{margin:0 0 5px;color:#473744;font-size:14px}
.feature-showcase-card>p{margin:0 0 10px;color:#655c66;font-size:12px;line-height:1.7}
.feature-showcase-card-setlist{grid-column:1/-1}
.feature-showcase-image{margin:0;min-width:0}
.feature-showcase-image img{display:block;width:100%;height:auto;max-height:310px;object-fit:contain;object-position:top center;border:1px solid #f0e5ed;border-radius:9px;background:#fff}
.feature-showcase-image-mobile{display:none}
.feature-showcase-image figcaption{margin-top:5px;color:#887b87;font-size:11px;text-align:center}
@media(max-width:600px){
 .feature-showcase{margin-top:18px;border-radius:14px}
 .feature-showcase-toggle{padding:14px}
 .feature-showcase-toggle strong{font-size:15px}
 .feature-showcase-toggle small{font-size:11px}
 .feature-showcase-content{padding:12px}
 .feature-showcase-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .feature-showcase-card{padding:12px}
 .feature-showcase-card-setlist{grid-column:auto}
 .feature-showcase-image-pc{display:none}
 .feature-showcase-image-mobile{display:block;max-width:210px;margin:0 auto}
 .feature-showcase-image-mobile img{max-height:360px}
}


/* Feature screenshot image preview */
.feature-showcase-image img{cursor:zoom-in}
.feature-showcase-image img:focus-visible{outline:3px solid #d86ba0;outline-offset:3px}
.feature-image-preview{position:fixed;inset:0;z-index:30000;display:flex;align-items:center;justify-content:center;padding:56px 24px 24px;background:rgba(24,17,27,.88);box-sizing:border-box;cursor:zoom-out}
.feature-image-preview img{display:block;max-width:min(96vw,1600px);max-height:calc(100dvh - 88px);width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 12px 50px rgba(0,0,0,.4);cursor:default}
.feature-image-preview-close{position:absolute;top:14px;right:18px;display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.feature-image-preview-close:hover{background:rgba(255,255,255,.3)}
body.feature-image-preview-open{overflow:hidden}
@media(max-width:600px){
 .feature-image-preview{padding:54px 10px 14px}
 .feature-image-preview img{max-width:calc(100vw - 20px);max-height:calc(100dvh - 72px);border-radius:6px}
 .feature-image-preview-close{top:8px;right:10px;width:38px;height:38px}
}


/* モーダル内の機能一覧はスクロール操作を維持したままバーのみ非表示 */
.legal-document-page.legal-document-modal{
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.legal-document-page.legal-document-modal::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
}

/* ===== リニューアル調整（2026-11-15・ローズ基調へ統一） ===== */
.legal-section h2{padding-left:10px;border-left:4px solid #f43f5e;color:#8f0f31}
.update-date{display:inline-block;padding:4px 12px;border-radius:999px;background:#fff1f2;color:#b90538}
.legal-eyebrow,.feature-eyebrow{color:#e11d48}
.legal-caution{background:#fff1f2;color:#b90538 !important}
.legal-back-link{border-color:#f3c2cd;color:#e11d48}
.legal-primary-link{border-color:transparent;background:linear-gradient(135deg,#fb7185,#e11d48)}
.legal-primary-link:hover{background:linear-gradient(135deg,#f43f5e,#be123c)}
.feature-card-link{border-color:#f43f5e;color:#e11d48}
.feature-card-link:hover{background:linear-gradient(135deg,#fb7185,#e11d48);color:#fff}
.feature-page-header .feature-page-lead{color:#e11d48}

/* ===== リニューアル（2026-11-19・機能一覧／運営者情報 テーマ連動） ===== */
.legal-page-header,.feature-page-header{border-color:var(--theme-border-soft);background:linear-gradient(135deg,var(--theme-blush),var(--theme-tint))}
.legal-eyebrow,.feature-eyebrow{color:var(--theme-brand)}
.legal-page-header h1,.feature-page-header h1{color:var(--theme-text)}
.legal-page-header>p:last-child,.feature-page-header p{color:var(--theme-text-sub)}
.feature-page{color:var(--theme-text)}
.feature-page-header .feature-page-lead{color:var(--theme-brand)}
.feature-card{border-color:var(--theme-border-soft);box-shadow:0 4px 14px rgba(var(--theme-primary-rgb),.05)}
.feature-card-icon{background:var(--theme-tint)}
.feature-card h2{color:var(--theme-text)}
.feature-card p{color:var(--theme-text-sub)}
.feature-card-link{border-color:var(--theme-primary);color:var(--theme-brand)}
.feature-card-link:hover{background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));color:#fff}
.feature-page-note{background:#fff;border-color:var(--theme-border-soft)}
.feature-page-note h2{padding-left:10px;border-left:4px solid var(--theme-primary);color:var(--theme-heading)}
.feature-page-note p{color:var(--theme-text-sub)}
.feature-page-note a{color:var(--theme-brand)}
.feature-showcase{border-color:var(--theme-border-soft)}
.feature-showcase-toggle{background:linear-gradient(135deg,var(--theme-blush),var(--theme-tint))}
.feature-showcase-toggle strong{color:var(--theme-text)}
.feature-showcase-toggle small{color:var(--theme-text-muted)}
.feature-showcase-toggle-icon{border-color:var(--theme-border);background:#fff}
.feature-showcase-toggle-icon:before,.feature-showcase-toggle-icon:after{background:var(--theme-primary)}
.feature-showcase-heading h2{color:var(--theme-heading)}
.feature-showcase-heading p{color:var(--theme-text-sub)}
.feature-showcase-card{border-color:var(--theme-border-soft)}
.feature-showcase-card h3{color:var(--theme-text)}
.feature-showcase-card>p{color:var(--theme-text-sub)}
@media(min-width:900px){
    .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
    .feature-card{display:flex;align-items:flex-start;gap:12px;padding:15px 14px}
    .feature-card-icon{flex-basis:44px;width:44px;height:44px;margin-bottom:0;font-size:22px}
}

/* 運営者情報（プロフィールカード型／PC 2カラム） */
.operator-page .legal-page-header{display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(180deg,var(--theme-blush),#fff)}
.operator-page .legal-page-header::before{content:"♡";display:flex;align-items:center;justify-content:center;width:70px;height:70px;margin-bottom:14px;border:1px solid var(--theme-border-soft);border-radius:50%;background:#fff;color:var(--theme-primary);font-size:32px;line-height:1}
.operator-page .legal-info-card{border-color:var(--theme-border-soft);box-shadow:0 4px 14px rgba(var(--theme-primary-rgb),.05)}
.operator-page .legal-info-card h2{padding-left:10px;border-left:4px solid var(--theme-primary);color:var(--theme-heading)}
.operator-page .legal-info-card p{color:var(--theme-text-sub)}
.operator-page .legal-caution{background:var(--theme-blush);color:var(--theme-brand) !important}
.operator-account-icon{background:var(--theme-tint)}
.operator-account-label{color:var(--theme-brand)}
.operator-account-body h3{color:var(--theme-text)}
.operator-account-body p{color:var(--theme-text-muted)}
.operator-account+.operator-account{border-top-color:var(--theme-border-soft)}
.operator-page .legal-action-link{border-color:var(--theme-primary);color:var(--theme-brand);background:#fff}
.operator-page .legal-action-link:hover{background:var(--theme-blush)}
.operator-page .legal-primary-link{border-color:transparent;background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));color:#fff}
@media(min-width:1100px){
    .operator-page{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}
    .operator-page .legal-page-header{grid-column:1;grid-row:1/4;margin-bottom:0}
    .operator-page .legal-info-card{grid-column:2;margin-bottom:0}
}

/* Feature list: guest-start confirmation modal (Issue #343) */
.feature-guest-confirm-dialog{max-width:480px}
.feature-guest-info-box{margin-top:12px;padding:12px 14px;border:1px solid var(--theme-border-soft);border-radius:12px;background:var(--theme-blush)}
.feature-guest-info-box strong{display:block;margin-bottom:4px;font-size:13px;color:var(--theme-heading)}
.feature-guest-info-box p{margin:0;font-size:13px;line-height:1.7;color:var(--theme-text-sub)}
.feature-guest-actions{display:flex;gap:10px;justify-content:flex-end;padding:14px 20px 18px}
.feature-guest-secondary,.feature-guest-primary{min-height:44px;padding:10px 20px;border-radius:999px;font-size:14px;font-weight:700;cursor:pointer}
.feature-guest-secondary{border:1px solid var(--theme-border);background:#fff;color:var(--theme-text)}
.feature-guest-primary{border:none;background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));color:#fff}
