/*
 * 施設ページ（T-108）。
 *
 * 器・余白・文字の段階・間隔は、サウナイキタイ施設ページ（/saunas/9134）の
 * スタイルシートのルールを 1280px で読んだ値。原本の切り替え 799px を、
 * つなぎばの 1024px に当てている（T-86）。
 * 何を置くか・色・言葉はモックと台帳（原本の青 #0051E0 → #469BFF）。
 *
 * Tailwind の再ビルドを待たずに効くよう、素の CSS で持つ。
 * クラス名は fp-（facility page）で始める。ほかのページに漏れない。
 */

:root {
    --fp-blue: #469BFF;
    --fp-pink: #FB7AA5;
    --fp-line: #EEEEEE;
    --fp-text: #111111;
    --fp-sub: #888888;
}

/* ───────── 器（.l-content） ───────── */
.fp-wrap { max-width: 1100px; margin: 0 auto; color: var(--fp-text); }
.fp-box {
    background: #fff;
    padding: 20px;
    margin: 0;
}
@media (min-width: 1024px) {
    .fp-wrap { margin-top: 20px; }
    .fp-box { padding: 80px; border-radius: 16px; margin-bottom: 60px; }
}

/* ───────── ヘッダー（.p-saunaDetailHeader） ───────── */
.fp-header { margin-bottom: 10px; }
.fp-header__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 0; }
.fp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; list-style: none; margin: 0; padding: 0; }
.fp-tag {
    display: inline-block; border: 1px solid #222; border-radius: 6px;
    font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 8px;
}
.fp-vacancy { color: var(--fp-pink); font-size: 12px; font-weight: 700; line-height: 1; margin-left: 5px; }
.fp-meta { display: flex; align-items: center; font-size: 11px; color: #898989; font-weight: 500; }
.fp-meta a { color: inherit; }
.fp-meta__gap { margin-left: 28px; }
.fp-meta__edit {
    margin-left: 16px; display: inline-flex; align-items: center; justify-content: center;
    height: 21px; padding: 0 10px; border: 1px solid #898989; border-radius: 3px; text-decoration: none;
}
.fp-name { font-size: 24px; font-weight: 700; line-height: 1.25; color: #222; margin: 10px 0 5px; }
.fp-name small { font-size: .75em; margin-left: .4em; }
.fp-area { font-size: 12px; color: var(--fp-sub); margin: 0; }
.fp-header__main { margin: 0; }
.fp-header__row { display: none; align-items: center; justify-content: space-between; }
.fp-share { display: flex; gap: 9px; }
.fp-share a {
    display: inline-flex; align-items: center; gap: 6px; height: 23px; padding: 0 12px;
    border: 1px solid #898989; border-radius: 3px; font-size: 13px; font-weight: 700; color: #333; text-decoration: none;
}
.fp-actions { display: none; }
@media (min-width: 1024px) {
    .fp-tags { gap: 0 5px; }
    .fp-tag { font-size: 14px; padding: 4px 15px; }
    .fp-vacancy { font-size: 16px; margin-left: 10px; }
    .fp-name { font-size: 34px; line-height: 1.5; margin: 6px 0 0; }
    .fp-area { font-size: 16px; }
    .fp-header__main { margin-bottom: 20px; }
    .fp-header__row { display: flex; margin-top: 0; }
    .fp-actions { display: flex; gap: 10px; }
}

/* キニナル・投稿（.p-action） */
.fp-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    height: 30px; border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1;
    box-sizing: border-box; text-decoration: none; cursor: pointer;
}
.fp-action--kininaru { min-width: 130px; padding: 0 12px; border: 1px solid var(--fp-blue); background: #fff; color: var(--fp-blue); }
.fp-action--kininaru.is-active { background: var(--fp-blue); color: #fff; }
.fp-action--post { width: 120px; background: var(--fp-blue); color: #fff; border: 0; }

/* スマホ：画面下に固定（799: .p-saunaDetailHeader_action{position:fixed}） */
.fp-actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    display: flex; gap: 10px; padding: 10px 20px; box-sizing: border-box;
    background: rgba(255,255,255,.8);
}
.fp-actionbar > * { flex: 1 1 0; }
.fp-actionbar .fp-action { width: 100%; height: 44px; font-size: 16px; }
.fp-actionbar .fp-action--kininaru { border-width: 2px; }
.fp-actionbar-spacer { height: 64px; }
/* T-406。鉛筆の丸いボタン（情報修正へ）。幅は固定で、キニナル・投稿が残りを分け合う */
.fp-actionbar > .fp-actionbar__edit {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid var(--fp-blue); color: var(--fp-blue); text-decoration: none;
}
@media (min-width: 1024px) {
    .fp-actionbar, .fp-actionbar-spacer { display: none; }
}

/* ───────── タブ（.p-localNav） ───────── */
.fp-tabs { display: flex; border-bottom: 1px solid var(--fp-line); margin: 0 0 1px; overflow-x: auto; }
.fp-tab {
    display: flex; align-items: center; padding: 20px 5px; font-size: 14px; font-weight: 700;
    line-height: 1.3; color: #111; text-decoration: none; white-space: nowrap;
}
.fp-tab__label { position: relative; }
.fp-tab.is-active { color: var(--fp-blue); }
.fp-tab.is-active .fp-tab__label::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; background: var(--fp-blue);
}
.fp-tab__count {
    background: #F8F8F8; border-radius: 4px; font-size: 11px; font-weight: 400; line-height: 1;
    margin-left: 5px; min-width: 25px; padding: 2px 3px; text-align: center; box-sizing: border-box;
}
@media (min-width: 1024px) {
    .fp-tab { padding: 20px 10px; font-size: 16px; }
    .fp-tab.is-active .fp-tab__label::after { bottom: -20px; }
    .fp-tab__count { font-size: 14px; margin-left: 10px; padding: 4px 6px; }
}

/* ───────── 本文の始まり（.p-saunaDetailBody） ───────── */
/* 要約（T-210）。サウナイキタイの施設ページ、タブの下の「入れ替え頻度」の行（.p-saunaDetailBody_frequency）と同じ置き方・大きさ。
   PC 16px 太字・行の高さ 1.8・上 20px／スマホ 14px・上 10px */
.fp-summary { margin-top: 10px; }
.fp-summary__body { font-size: 14px; font-weight: 700; line-height: 1.8; margin: 0; color: #111; }
.fp-summary__note { font-size: 11px; color: #898989; margin: 6px 0 0; }
@media (min-width: 1024px) {
    .fp-summary { margin-top: 20px; }
    .fp-summary__body { font-size: 16px; }
}

/* 4枚のカードの並び（カードそのものは _axis-card のまま） */
.fp-axis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 40px; }
.fp-axis__item { display: flex; flex-direction: column; gap: 14px; }
/* T-122。4枚のカードは同じ大きさ。下に注記やボタンがあるカードに合わせて伸ばさない（カードは中身の高さで止める） */
.fp-axis__item > :first-child { flex: 0 0 auto !important; height: 165px; min-height: 0 !important; box-sizing: border-box; }
.fp-axis__item > :first-child > p { flex: 1 1 auto; min-height: 0; }
.fp-axis { align-items: start; }
.fp-axis__note { font-size: 11px; font-weight: 700; color: #898989; text-align: center; line-height: 1.4; margin: 0; }
.fp-axis__input {
    margin: 0 auto; display: inline-flex; align-items: center; justify-content: center;
    height: 21px; width: 100px; border: 1px solid #898989; border-radius: 4px; background: #fff;
    font-size: 11px; font-weight: 700; color: #898989; cursor: pointer;
}
@media (min-width: 1024px) {
    .fp-axis { grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 60px; }
}

/* ───────── 見出し ───────── */
/* 小見出し（.c-headline--lv3） */
.fp-h3 { display: flex; align-items: baseline; font-size: 15px; font-weight: 700; line-height: 1.65; margin: 0 0 5px; }
.fp-h3::before {
    content: ""; display: inline-block; flex: none; width: 13px; height: 13px; border-radius: 3px;
    background: var(--fp-blue); margin-right: 10px; position: relative; top: 1px;
}
/* 大見出し（.c-headline--lv2） */
.fp-h2 { font-size: 20px; font-weight: 700; line-height: 1.65; margin: 0 0 20px; }
.fp-h2::before { content: ""; display: block; width: 25px; height: 3px; background: var(--fp-blue); margin-bottom: 10px; }
/* 白ボックスの外の見出し（.c-headline--lv2.is-simple。色はモックの青） */
.fp-h2--simple { color: var(--fp-blue); }
.fp-h2--simple::before { display: none; }
@media (min-width: 1024px) {
    .fp-h3 { font-size: 20px; margin-bottom: 10px; }
    .fp-h3::before { width: 18px; height: 18px; margin-right: 15px; top: 2px; }
    .fp-h2 { font-size: 26px; margin-bottom: 25px; }
    .fp-h2::before { width: 45px; margin-bottom: 18px; }
}

/* 節の間隔（.p-saunaSpecList{margin-bottom:40px} ／ .p-saunaDetailShop{margin-bottom:40px}） */
.fp-sec { margin: 0 0 40px; }
.fp-sec--large { margin-top: 60px; }

/* ───────── 項目と値の行（.c-table） ───────── */
.fp-rows { margin: 0; }
.fp-row { display: flex; align-items: center; margin: 0; } /* 項目名が折り返しても値は上下中央（T-126・SK .c-table） */
.fp-row + .fp-row { border-top: 1px solid var(--fp-line); }
.fp-row__label, .fp-row__value { font-size: 14px; line-height: 1.65; padding: 10px 15px 10px 0; margin: 0; box-sizing: border-box; }
.fp-row__label { flex: none; width: 105px; font-weight: 700; }
.fp-row__value { flex: 1 1 0; min-width: 0; padding-right: 0; } /* 長い値でも項目名の横に留める（折り返し行で下に落ちない） */
.fp-row__aside { flex: none; width: 100%; font-size: 11px; color: #898989; line-height: 1.6; padding: 0 0 10px 105px; box-sizing: border-box; }
.fp-row--wrap { flex-wrap: wrap; }
.fp-unknown { color: var(--fp-sub); }
@media (min-width: 1024px) {
    .fp-row--wrap { flex-wrap: nowrap; }
    .fp-row__label, .fp-row__value { font-size: 16px; padding: 15px 0; }
    .fp-row__label { width: 180px; padding-right: 20px; }
    .fp-row__aside { width: 240px; padding: 15px 0 15px 20px; font-size: 12px; }
}

/* 行の中の小さな枠（学年・通い方・学べること。モックの枠つきラベル） */
.fp-chips { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.fp-chip {
    display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 24px;
    padding: 0 10px; border: 1px solid #222; border-radius: 4px; font-size: 12px; font-weight: 700; box-sizing: border-box;
}
/* T-315。特に力を入れている学び。水色で塗る（学べることのチップと見分ける） */
.fp-chip--focus { background: #E1EFFF; border-color: var(--fp-blue); color: #1A5FB4; }
@media (min-width: 1024px) {
    .fp-chip { min-width: 94px; font-size: 13px; }
}
/* 件数のバッジ（「7件の記録から」「3件が確認」） */
.fp-badge {
    display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 3px;
    background: var(--fp-blue); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; vertical-align: 2px;
}
.fp-badge--gray { background: #DCDDDD; color: #595757; }
.fp-list { list-style: none; margin: 0; padding: 0; }
.fp-list li { display: flex; align-items: center; min-height: 26px; }
.fp-subsidies { list-style: none; margin: 0; padding: 0; }
.fp-subsidies li { position: relative; padding-left: 17px; }
.fp-subsidies li + li { margin-top: 10px; }
.fp-subsidies li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--fp-blue); }
.fp-subsidies__amount { display: block; font-size: 13px; color: #595757; }
.fp-list--dot li::before {
    content: ""; flex: none; width: 7px; height: 7px; background: var(--fp-blue); margin-right: 10px;
}

/* ───────── 設備（.p-saunaSpecList） ───────── */
.fp-spec { color: #727171; display: flex; flex-wrap: wrap; border-top: 1px solid var(--fp-line); border-left: 1px solid var(--fp-line); margin: 0; padding: 0; list-style: none; }
.fp-spec__item {
    display: flex; flex-basis: 50%; box-sizing: border-box; font-size: 14px;
    border-right: 1px solid var(--fp-line); border-bottom: 1px solid var(--fp-line);
}
.fp-spec__key { flex-basis: 81%; line-height: 1.4; padding: 4px 10px; box-sizing: border-box; }
.fp-spec__value {
    flex-basis: 19%; display: flex; align-items: center; justify-content: center;
    border-left: 1px solid var(--fp-line); font-weight: 700; box-sizing: border-box; font-size: 13px;
}
@media (min-width: 1024px) {
    .fp-spec__item { flex-basis: 25%; }
}

/* ───────── ここを離れた人の内訳（モック） ───────── */
.fp-exits { list-style: none; margin: 0; padding: 0; }
.fp-exits li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; min-height: 26px; }
.fp-exits__label { flex: none; width: 150px; }
.fp-exits__bar { height: 15px; background: var(--fp-blue); }
.fp-exits__bar.is-unknown { background: #9FA0A0; width: 30px; }
.fp-exits__count { font-size: 11px; color: #fff; background: var(--fp-blue); border-radius: 2px; padding: 1px 6px; }
.fp-exits__count.is-unknown { background: #9FA0A0; }
@media (min-width: 1024px) {
    .fp-exits li { font-size: 15px; }
}

/* ───────── フリ活 ───────── */
.fp-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fp-line); }
.fp-post { border-bottom: 1px solid var(--fp-line); padding: 20px 0; }
.fp-post__date { font-size: 12px; color: #898989; margin: 0; }
.fp-post__text { font-size: 14px; line-height: 1.5; margin: 6px 0 0; }
/* フリ活の節のカード（T-288）。区切り線は節の線の色にそろえる */
.fp-postcards { border-top: 1px solid var(--fp-line); }
.fp-postcards .pp-c { padding: 24px 0 20px; border-bottom: 1px solid var(--fp-line); }
.fp-more { text-align: center; margin-top: 30px; }
.fp-more a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 244px; height: 44px; padding: 0 20px;
    border: 1px solid var(--fp-blue); border-radius: 6px; background: #fff; color: var(--fp-blue);
    font-size: 15px; font-weight: 700; text-decoration: none; box-sizing: border-box;
}
@media (min-width: 1024px) {
    .fp-post__text { font-size: 16px; line-height: 1.65; }
}

/* ───────── 基本情報（.p-saunaDetailShop） ───────── */
.fp-shop { display: block; }
.fp-shop__image { width: 100%; margin-bottom: 40px; }
.fp-shop__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 30px; background: #F5F5F5; }
.fp-shop__map { width: 100%; height: 250px; border: 0; background: #F5F5F5; display: block; }
.fp-shop__maplink {
    display: block; margin-top: 10px; padding: 15px; border-radius: 6px; background: var(--fp-blue);
    color: #fff; font-weight: 700; font-size: 14px; text-align: center; text-decoration: none;
}
.fp-shop__info { width: 100%; word-break: break-all; }
.fp-shop__info .fp-row:first-child { border-top: 1px solid var(--fp-line); }
.fp-shop__source { font-size: 13px; color: #595757; line-height: 1.6; padding-top: 10px; border-top: 1px solid var(--fp-line); }
.fp-shop__source p { margin: 0; }
@media (min-width: 1024px) {
    .fp-shop { display: flex; justify-content: space-between; }
    .fp-shop__image { width: 46.8085%; margin-bottom: 0; }
    .fp-shop__map { height: 350px; }
    .fp-shop__maplink { background: none; color: #111; padding: 0; text-align: left; font-weight: 400; text-decoration: underline; }
    .fp-shop__info { width: 47.619%; }
    .fp-shop__info .fp-row__label { width: 100px; }
}

/* ───────── 写真ギャラリー（.p-saunaDetailGallery） ───────── */
.fp-gallery { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.fp-gallery::after { content: ""; display: block; width: calc(33.333% - 10px); }
.fp-gallery__item { width: calc(50% - 5px); margin: 0 0 10px; }
.fp-gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fp-gallery__caption { font-size: 10px; margin-top: 3px; }
.fp-note { font-size: 12px; color: #898989; margin: 10px 0 0; }
@media (min-width: 1024px) {
    .fp-gallery__item { width: calc(33.333% - 10px); margin-bottom: 15px; }
    .fp-gallery__caption { font-size: 12px; margin-top: 5px; }
}

/* ───────── 白ボックスの外：近いところ（.p-saunaList.is-grid / .p-saunaItem.is-grid） ───────── */
.fp-near { padding: 0 20px; margin: 40px 0 0; }
.fp-near__list {
    display: flex; gap: 15px; list-style: none; margin: 0 -20px 40px 0; padding: 0 20px 0 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.fp-card {
    flex: none; width: 250px; background: #fff; border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column; min-height: 298px;
}
/* T-116。placeholder の灰色（#EEE 前後）がページの地（#EFEFEF）と同化するので輪郭を付ける。
   T-314。写真があるカードも同じ輪郭にする（写真のカードだけ線が無く、並べると不揃いだった）。
   写真の上に線を重ねる（::after）。角丸にも沿う */
.fp-card { position: relative; }
.fp-card::after {
    content: ""; position: absolute; inset: 0; border: 1px solid #D0D0D0; border-radius: 12px;
    pointer-events: none; z-index: 2;
}
.fp-card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.fp-card__image { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #F5F5F5; }
.fp-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-card__type {
    position: absolute; top: 10px; left: 10px; background: var(--fp-blue); color: #fff;
    border-radius: 10px; font-size: 10px; font-weight: 700; line-height: 1; padding: 4px 8px;
}
.fp-card__type.is-ldschool { background: var(--fp-pink); }
.fp-card__type.is-alternative { background: #2EAD6B; }   /* 緑（T-338） */
.fp-card__type.is-other { background: #8C8C8C; }         /* グレー（T-338） */
.fp-card__body { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; box-sizing: border-box; }
.fp-card__place { color: var(--fp-pink); font-size: 10px; line-height: 1; margin: 0 0 5px; }
.fp-card__place.is-date { color: var(--fp-blue); }   /* トップの「最近ふえた」（T-161） */
.fp-card__name { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 5px; }
.fp-card__name small { font-size: .8em; margin-left: .3em; }
.fp-card__address { font-size: 12px; line-height: 1.4; color: var(--fp-sub); margin: 0 0 10px; }
.fp-card__axes { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; margin: 0 0 10px; }
.fp-card__axis { display: flex; align-items: center; gap: 5px; font-size: 11px; white-space: nowrap; }
.fp-card__pill {
    flex: none; width: 36px; text-align: center; border-radius: 8px; font-size: 9px; font-weight: 700;
    line-height: 16px; background: var(--fp-blue); color: #fff;
}
.fp-card__pill.is-unknown { background: #EEEEEE; color: #888; }
.fp-card__counts { font-size: 12px; color: #898989; }
.fp-card__counts b { color: var(--fp-blue); font-size: 13px; margin: 0 12px 0 4px; }
@media (min-width: 1024px) {
    .fp-near { padding: 0; margin: 0; }
    .fp-near__list { flex-wrap: wrap; gap: 0 20px; overflow: visible; margin: 0; padding: 0; }
    .fp-card { width: calc((100% - 60px) / 4); margin-bottom: 30px; }
    .fp-card__name { font-size: 16px; }
    .fp-card__axis { font-size: 12px; }
}

/* ───────── 検索に戻る（.p-saunaDetail_back） ───────── */
.fp-back { text-align: center; padding: 0 20px; margin: 0 0 40px; }
.fp-back a {
    display: block; width: 100%; box-sizing: border-box; padding: 14px 0; border-radius: 8px;
    background: var(--fp-blue); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.65; text-decoration: none;
}
@media (min-width: 1024px) {
    .fp-back { padding: 0; margin: 30px 0 60px; }
    .fp-back a { display: inline-block; width: 300px; font-size: 18px; }
}

/* ───────── パンくず（.c-breadcrumb） ───────── */
.fp-crumb { font-size: 12px; font-weight: 300; padding: 20px; margin: 0; overflow-x: auto; white-space: nowrap; }
.fp-crumb a { color: inherit; text-decoration: underline; }
.fp-crumb span.sep { margin: 0 8px; }
@media (min-width: 1024px) {
    .fp-crumb { padding: 0; margin: 40px 0; white-space: normal; }
    .fp-crumb span.sep { margin: 0 12px 0 10px; }
}

/* ───────── スマホ：シェアと登録者の行を末尾へ（T-119。.c-share ／ .p-saunaDetailMeta のスマホ版） ───────── */
.fp-pc-only { display: none !important; }
.fp-sp-only { display: block; }
.fp-spmeta { margin-top: 20px; }
.fp-spmeta__share { display: flex; gap: 7px; }
.fp-spmeta__share a {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
    height: 35px; padding: 0 10px; background: #fff; border: 1px solid var(--fp-line); border-radius: 6px;
    font-size: 13px; font-weight: 700; color: #333; text-decoration: none;
}
.fp-spmeta__meta { margin-top: 20px; font-size: 14px; }
.fp-spmeta__register { margin: 0 0 15px; line-height: 29px; }
.fp-spmeta__register a { color: inherit; text-decoration: underline; }
.fp-spmeta__row { display: flex; align-items: center; justify-content: space-between; }
.fp-spmeta__update { position: relative; }
.fp-spmeta__update summary { list-style: none; cursor: pointer; padding-right: 20px; }
.fp-spmeta__update summary::-webkit-details-marker { display: none; }
.fp-spmeta__history {
    position: absolute; left: 0; z-index: 20; margin-top: 4px; width: 300px; max-height: 320px; overflow-y: auto;
    background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.12); padding: 12px; font-size: 12px;
}
.fp-spmeta__edit {
    display: block; padding: 2px 14px; border: 1px solid var(--fp-line); border-radius: 6px;
    color: #222; font-size: 14px; line-height: 23px; text-decoration: none;
}
@media (min-width: 1024px) {
    .fp-pc-only { display: flex !important; }
    .fp-sp-only { display: none !important; }
}

/* 写真ギャラリー（T-198）。キャプションを施設ページの文字の段階に（T-195）。運営にだけ出る「非表示にする」 */
.fp-gallery__caption { font-size: 12px; color: #555; }
.fp-gallery__op { margin: 4px 0 0; }
.fp-gallery__op button { padding: 0; border: 0; background: none; color: #E60012; font-size: 12px; text-decoration: underline; cursor: pointer; }
.fp-note a { color: #469BFF; margin-left: 8px; }
@media (min-width: 1024px) {
    .fp-gallery__caption { font-size: 14px; }
}

/* ── Q&A タブ（T-234）。フリ活タブと同じ器の中に置く。文字は T-195 の段階（本文 16／補足 14／小 13、スマホ 15／14／12） ── */
.qa { padding-top: 32px; }
.qa-ask { margin: 0 0 32px; text-align: center; }
.qa-btn { display: inline-block; min-width: 246px; height: 46px; padding: 0 24px; border: 2px solid #469BFF; border-radius: 4px; background: #fff; color: #469BFF; font-size: 16px; font-weight: 700; cursor: pointer; }
.qa-btn--fill { background: #469BFF; color: #fff; }
.qa-item { padding: 28px 0; border-top: 1px solid var(--fp-line); }
.qa-row { display: flex; align-items: flex-start; gap: 14px; }
.qa-mark { flex-shrink: 0; width: 30px; height: 30px; border-radius: 4px; background: #469BFF; color: #fff; font-size: 15px; font-weight: 700; line-height: 30px; text-align: center; }
.qa-mark--a { background: #FB7AA5; }
.qa-main { flex: 1; min-width: 0; }
.qa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.qa-q { margin: 2px 0 0; font-size: 17px; line-height: 1.65; font-weight: 700; }
.qa-meta { margin: 4px 0 0; font-size: 13px; color: #898989; }
.qa-meta--a { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.qa-role { padding: 1px 8px; border-radius: 4px; background: #F2F2F2; color: #595757; font-size: 13px; }
.qa-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qa-count { padding: 3px 10px; border-radius: 4px; background: #F2F2F2; font-size: 13px; }
.qa-follow { padding: 4px 12px; border: 1px solid #DDD; border-radius: 999px; background: #fff; color: #595757; font-size: 13px; cursor: pointer; }
.qa-answers > * + * { margin-top: 20px; }
.qa-answers { margin-top: 22px; }
.qa-helpful button { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: #898989; font-size: 16px; cursor: pointer; }
.qa-body { margin: 8px 0 0; font-size: 16px; line-height: 1.65; white-space: pre-line; }
.qa-report { display: inline-block; margin-top: 8px; font-size: 13px; color: #898989; text-decoration: underline; }
.qa-answer-btn { margin-top: 24px; text-align: center; }
.qa-empty { padding: 56px 0; border-top: 1px solid var(--fp-line); text-align: center; font-size: 16px; line-height: 2; color: #595757; }
.qa-pager { padding: 24px 0 0; }
@media (max-width: 1023px) {
    .qa { padding-top: 24px; }
    .qa-btn { width: 100%; min-width: 0; }
    .qa-q { font-size: 16px; }
    .qa-body, .qa-empty { font-size: 15px; }
    .qa-meta, .qa-role, .qa-count, .qa-follow, .qa-report { font-size: 12px; }
    .qa-head { flex-direction: column; gap: 8px; }
}
@media (max-width: 1023px) {
    .qa-answers .qa-head { flex-direction: row; align-items: center; }
}

/* ── Q&A の「質問する」「回答する」（T-236）。器は検索の「エリア絞り込み」（area-panel.css の ar-modal）と同じ形 ──
 * PC：画面の真ん中・幅 640・角丸 8・暗幕 60%。見出し 50px（中央に題、右上に ✕）。
 * スマホ：全画面（角丸なし）。下の「やめる／送る」は画面の下に貼りつける。
 * Tailwind の土台が dialog の margin を 0 にするので、左上に寄っていた（v62 まで）。margin:auto で真ん中に戻す。
 */
dialog.qa-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 8px; width: 640px; max-width: calc(100% - 48px); max-height: 80vh; background: #fff; color: #111; overflow: hidden; }
dialog.qa-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.qa-dialog__form { display: flex; flex-direction: column; max-height: 80vh; }
.qa-dialog__header { position: relative; flex-shrink: 0; height: 50px; border-bottom: 1px solid #eee; }
.qa-dialog__title { margin: 0 auto; width: calc(100% - 100px); font-size: 18px; font-weight: 700; line-height: 50px; text-align: center; }
.qa-dialog__close { position: absolute; top: 0; right: 0; width: 50px; height: 50px; border: 0; background: none; color: #333; font-size: 20px; line-height: 1; cursor: pointer; }
.qa-dialog__close:hover { opacity: .5; }
.qa-dialog__body { flex: 1; overflow-y: auto; padding: 28px 40px 8px; }
.qa-dialog__about { margin: 0 0 14px; font-size: 14px; color: #595757; }
.qa-dialog__q { margin: 0 0 16px; font-size: 16px; line-height: 1.65; font-weight: 700; }
.qa-dialog__textarea { display: block; width: 100%; box-sizing: border-box; padding: 12px 16px; border: 1px solid #DDD; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.65; resize: vertical; }
.qa-dialog__textarea:focus { outline: 2px solid rgba(70, 155, 255, .4); border-color: #469BFF; }
.qa-dialog__hint { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #595757; }
.qa-dialog__notes { margin: 18px 0 0; padding: 14px 18px 14px 34px; border-radius: 8px; background: #F4F8FF; font-size: 14px; line-height: 1.8; list-style: disc; }
.qa-dialog__roles { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.qa-dialog__label { font-size: 14px; font-weight: 700; }
.qa-dialog__role { display: flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.qa-dialog__role input { width: 18px; height: 18px; accent-color: #469BFF; }
.qa-dialog__foot { flex-shrink: 0; display: flex; justify-content: center; gap: 16px; padding: 20px 40px 28px; }
.qa-dialog__cancel { min-width: 120px; height: 46px; border: 0; background: none; color: #595757; font-size: 16px; cursor: pointer; }
.qa-dialog__submit { min-width: 200px; height: 46px; border: 0; border-radius: 4px; background: #469BFF; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.qa-dialog__submit:hover { background: #2F8BFF; }
@media (max-width: 1023px) {
    dialog.qa-dialog { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; }
    dialog.qa-dialog::backdrop { background: #fff; }
    .qa-dialog__form { height: 100%; max-height: none; }
    .qa-dialog__title { font-size: 16px; }
    .qa-dialog__body { padding: 20px 20px 8px; }
    .qa-dialog__q { font-size: 15px; }
    .qa-dialog__hint { font-size: 12px; }
    .qa-dialog__notes { font-size: 13px; }
    .qa-dialog__foot { gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; }
    .qa-dialog__cancel { min-width: 0; flex: 0 0 96px; }
    .qa-dialog__submit { flex: 1; min-width: 0; }
}

/* ── Q&A タブをモック「公開Q&A画面」に寄せる（T-241）。上の qa- を上書きする ──
 * 1件目は答えまで開き、2件目からは「続きを読む ∨」（青い丸い札）でたたむ。
 * 「回答 N」は質問文のすぐ右、「? 同じことが気になる N」は右端の青い枠のボタン。
 * 答えは Q の文の位置から始め（字下げ）、見出し（はじめの1文）→ 日付 → 本文。♡ は右。
 */
.qa-item { padding: 26px 0 22px; }
.qa-head { align-items: flex-start; }
.qa-title { flex: 1; min-width: 0; }
.qa-q { margin: 0; }
.qa-q .qa-count { display: inline-block; margin-left: 16px; padding: 1px 12px; border-radius: 4px; background: #E6E6E6; color: #595757; font-size: 12px; font-weight: 400; line-height: 20px; vertical-align: 2px; }
.qa-follow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid #469BFF; border-radius: 4px; background: #fff; color: #469BFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.qa-follow__q { font-size: 15px; }
.qa-follow__n { margin-left: 10px; }
.qa-more-body { padding-left: 44px; }
.qa-answers { margin-top: 24px; }
.qa-answer + .qa-answer { margin-top: 26px; }
.qa-a-head { margin: 3px 0 0; font-size: 16px; line-height: 1.6; font-weight: 700; }
.qa-answer .qa-meta { margin-top: 4px; }
.qa-answer .qa-body { margin: 12px 0 0; }
.qa-helpful button { gap: 4px; }
.qa-helpful svg { width: 22px; height: 22px; }
.qa-answer-btn { margin-top: 26px; }
.qa-answer-btn .qa-btn { border-width: 1px; font-size: 15px; }
.qa-more { margin-top: 18px; text-align: center; }
.qa-more__btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border: 0; border-radius: 999px; background: #469BFF; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.qa-more__btn svg { width: 12px; height: 8px; }
.qa-item.is-closed .qa-more-body { display: none; }
.qa-item:not(.is-closed) .qa-more { display: none; }
.qa-pager { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 32px 0 0; font-size: 13px; }
.qa-pager a, .qa-pager .is-current { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 4px; box-sizing: border-box; border: 1px solid #CFCFCF; color: #595757; text-decoration: none; }
.qa-pager .is-current { border-color: #469BFF; background: #469BFF; color: #fff; font-weight: 700; }
.qa-pager__gap { padding: 0 6px; color: #898989; }
@media (max-width: 1023px) {
    .qa-head { flex-direction: column; gap: 10px; }
    .qa-answer .qa-head { flex-direction: row; }
    .qa-more-body { padding-left: 0; }
    .qa-q .qa-count { margin-left: 10px; font-size: 11px; }
    .qa-follow { font-size: 12px; }
    .qa-a-head { font-size: 15px; }
}

/* T-248。「卒業生から」が空のときの書き方の案内とボタン（フリ活の「もっと見る」と同じ白地に青い枠） */
.fp-grad-how { margin: 14px 0 0; font-size: 14px; line-height: 1.8; color: #595757; }
.fp-grad-cta { margin: 18px 0 0; text-align: center; }
.fp-grad-cta a { display: inline-block; min-width: 246px; padding: 11px 24px; box-sizing: border-box; border: 1px solid #469BFF; border-radius: 4px; background: #fff; color: #469BFF; font-size: 15px; font-weight: 700; text-decoration: none; }
@media (max-width: 1023px) {
    .fp-grad-how { font-size: 13px; }
    .fp-grad-cta a { width: 100%; min-width: 0; }
}

/* T-257。基本情報の頭の短い紹介文 */
.fp-intro { font-size: 15px; line-height: 1.9; margin: -4px 0 20px; color: #333; }
@media (min-width: 1024px) { .fp-intro { font-size: 16px; margin-bottom: 25px; } }

/* T-263・T-268。白い枠のいちばん下の、運営している方への入口（掲載バッジ）。左寄せ・罫線で区切る */
.fp-badge-link { margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid #EEE; font-size: 14px; }
.fp-badge-link a { color: var(--fp-blue); text-decoration: underline; }
@media (max-width: 1023px) { .fp-badge-link { margin-top: 30px; font-size: 13px; } }

/* T-265。基本情報の下の「同じ条件の場所をさがす」 */
.fp-cond-links { margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid #EEE; }
.fp-cond-links__h { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.fp-cond-links ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.fp-cond-links a { font-size: 14px; color: var(--fp-blue); text-decoration: underline; }
@media (max-width: 1023px) { .fp-cond-links a { font-size: 13px; } }

/* T-299。運営だけに出る、地図の引き方の切り替え */
.fp-shop__mapswitch { margin: 8px 0 0; }
.fp-shop__mapswitch button { padding: 6px 10px; border: 1px dashed #999; border-radius: 6px; background: #fff; color: #555; font-size: 12px; cursor: pointer; }

/* T-390。配慮の確認済みのチェックマーク（支給の check.svg）。文字の高さに合わせる */
.fp-verified { display: inline-block; width: 16px; height: 16px; margin-left: 8px; flex-shrink: 0; }
