/*
Theme Name: Chiiki Base
Description: 地域活性化サイト用テーマ。まちBASE（親）と地域版（例：仙台BASE）の階層表示、地域ごとのURL、お店・イベント・人物特集・コミュニティ・賛同企業の投稿タイプ、掲載者による投稿、賛同表示（PRラベル）を備えています。
Version: 1.8.39
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: chiiki
License: GPLv2 or later
*/

/* ---------- 基本 ---------- */
:root {
	--coral: #C93F50;
	--coral-dark: #A93242;
	--green: #43803F;
	--green-dark: #2F5E2C;
	--mint: #6CC4A6;
	--yellow: #F2C94C;
	--cream: #FDECC4;
	/* 情報のかたまりを囲む、色味のない淡い地色。生成り(--cream)より落ち着きます */
	--section: #F7F4EC;
	--ink: #262626;
	--text: #333333;
	--sub: #4A4A4A;
	--muted: #5B6470;
	--bg: #FAFAFA;
	--card: #FFFFFF;
	--line: #E6E6E6;
	--photo: #DDD7CB;
	--radius: 16px;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--font-round: "M PLUS Rounded 1c", var(--font);
	--font-en: "Archivo Black", var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: min(1184px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.block { margin-block: 56px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }
.lead { color: var(--sub); margin-top: -8px; }
.empty { color: var(--muted); padding: 24px 0; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.3; text-align: center; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
/* Instagram へのリンク用（1.8.17）。Instagram のブランド色。白文字とのコントラストは 5.11:1 */
.btn--ig { background: #C13584; color: #fff; }
.btn--ig:hover { background: #A52C70; color: #fff; }
.btn--outline { color: var(--green); border-color: var(--green); background: #fff; }
.btn--outline-ink { color: var(--ink); border-color: var(--ink); background: #fff; }
.btn--lg { font-size: 16px; padding: 14px 32px; min-height: 52px; }
.btn--sm { font-size: 13px; min-height: 40px; padding: 8px 16px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 20px; padding: 12px 24px; max-width: 1280px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__name { font-family: var(--font-round); font-weight: 800; font-size: 26px; color: var(--coral); text-decoration: none; line-height: 1.2; }
.brand__name:hover { color: var(--coral-dark); }
.brand__logo { max-height: 44px; width: auto; }
.brand__support { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink); line-height: 1.3; }
.brand__support-label { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.brand__support-name { font-size: 17px; font-weight: 800; }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; border: 1px solid var(--ink); border-radius: 999px; padding-left: 18px; background: #fff; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 10px 0; background: transparent; min-width: 0; }
.search button { border: 0; background: transparent; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.region-switch { font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-height: 44px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; cursor: pointer; color: var(--ink); margin-left: auto; }
.global-nav { border-top: 1px solid #F0F0F0; }
.global-nav ul { list-style: none; margin: 0; padding: 12px 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; }
.global-nav a { font-family: var(--font-en); font-size: 14px; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.global-nav a:hover { color: var(--coral); }

/* ---------- 見出し ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head__title { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section-head__title .en { font-family: var(--font-en); font-size: 30px; font-weight: 400; letter-spacing: .02em; line-height: 1.1; }
.section-head__title .ja { font-size: 14px; font-weight: 700; }
.section-head__more { font-size: 14px; font-weight: 700; white-space: nowrap; }
.page-head { margin: 24px 0 28px; }
.page-head__en { font-family: var(--font-en); font-size: 16px; letter-spacing: .15em; color: var(--coral); margin: 0; }
.page-head__ja { font-weight: 700; margin: 4px 0 0; }
.page-head__title { font-family: var(--font-round); font-weight: 800; font-size: clamp(26px, 4vw, 40px); margin: 4px 0 0; line-height: 1.4; }
.page-head__region { color: var(--muted); margin: 4px 0 0; }
.sub-title { font-size: 22px; margin: 40px 0 12px; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb .sep { color: #BBB; }

/* ---------- ピックアップ ---------- */
.pickup { display: grid; grid-template-columns: 300px 1fr; height: clamp(240px, 24vw, 340px); margin-top: 24px; overflow: hidden; }
.pickup__panel { background: var(--coral); color: #fff; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; overflow: hidden; }
.pickup__badge { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.pickup__badge span { font-family: var(--font-en); font-size: 22px; line-height: 1.05; background: #fff; color: var(--coral); padding: 3px 9px; }
.pickup__info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pickup__date { font-family: var(--font-en); font-size: 16px; margin: 0; }
.pickup__cat { font-size: 12px; font-weight: 700; background: var(--yellow); color: var(--ink); padding: 3px 12px; margin: 0; }
.pickup__title { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.55; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pickup__title:hover { color: #fff; text-decoration: underline; }
.pickup__photo { display: block; background: var(--photo); overflow: hidden; }
.pickup__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 特集カード ---------- */
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.feature { border-radius: var(--radius); padding: 22px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
/* INTERVIEW のような長いラベルでも折り返さないよう、幅に合わせて縮めます */
.feature__en { font-family: var(--font-en); font-size: clamp(15px, 1.6vw, 20px); white-space: nowrap; }
.feature__ja { font-size: 14px; font-weight: 700; }
/* 入口ボタンは左から濃い順に並べます（黒 → 赤 → 濃緑 → 緑 → ミント） */
.feature--ink { background: var(--ink); color: #fff; }
.feature--coral { background: var(--coral); color: #fff; }
.feature--green-dark { background: var(--green-dark); color: #fff; }
.feature--green { background: var(--green); color: #fff; }
.feature--mint { background: var(--mint); color: var(--ink); }
.feature--yellow { background: var(--yellow); color: var(--ink); }
/* ミントと黄は明るいので、白文字になると読めません（コントラスト2.1:1 / 1.6:1）。
   継承に頼らず、文字そのものに黒を指定します。 */
.feature--mint .feature__en, .feature--mint .feature__ja,
.feature--yellow .feature__en, .feature--yellow .feature__ja { color: var(--ink); }
.feature:hover { filter: brightness(0.95); color: inherit; }
.feature--coral:hover, .feature--ink:hover, .feature--green:hover, .feature--green-dark:hover { color: #fff; }
.feature--mint:hover, .feature--yellow:hover { color: var(--ink); }

/* ---------- 2カラム ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 48px; }
.side { display: flex; flex-direction: column; gap: 20px; }
.side__title { font-family: var(--font-en); font-size: 20px; margin: 0; }

/* ---------- チップ ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid #D9D9D9; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.chip:hover, .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 記事カード ---------- */
/* 新着記事をジャンルで絞ったときの導線 */
.new-posts__more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: 14px; font-weight: 700; }
.new-posts__more a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.card__link:hover .card__title { color: var(--coral); }
.card__thumb { position: relative; aspect-ratio: 3 / 2; background: var(--photo); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 6px; }
.card__date { font-family: var(--font-en); font-size: 12px; color: var(--coral); letter-spacing: .04em; }
/* イベントは日付を大きく出して、一覧を流し見したときに拾えるようにします */
.card__when { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 2px; color: var(--coral); }
.card__day { display: inline-flex; align-items: baseline; white-space: nowrap; }
.card__day b { font-family: var(--font-en); font-size: 24px; line-height: 1; font-weight: 400; }
.card__day span { font-size: 12px; font-weight: 700; }
/* 1.8.9：複数日は「〜 10/19（月）」を続けます。入りきらなければ2行目に回ります */
.card__day--end i { font-style: normal; font-size: 14px; font-weight: 700; margin-right: 4px; }
/* 1.8.9：時刻は灰色の12pxだと読みにくかったため、本文寄りの濃さと13pxに */
.card__time { font-size: 13px; font-weight: 700; color: var(--sub); }
/* 終了したイベント。写真を落として「終了」を出します（タグは右上、PRは左上なので右下に置きます） */
.card__thumb--over img { filter: grayscale(1); opacity: .55; }
.card__over { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: var(--muted); color: #fff; padding: 3px 10px; border-radius: 999px; }
/* 開催中。終了と同じ位置に、色だけ赤で（白文字で4.87:1） */
.card__now { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: var(--coral); color: #fff; padding: 3px 10px; border-radius: 999px; }
/* 1.8.25：レポートを書いた終了イベント。終わっていても読む価値があるので、写真を暗くせず緑の札を出します */
.card__report { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: var(--green); color: #fff; padding: 3px 10px; border-radius: 999px; }
.card__thumb--over ~ .card__body .card__when { color: var(--muted); }
/* 1.8.25：レポート付きも終わったイベントなので、日付は落ち着いた色のまま（写真だけ暗くしません） */
.card__thumb--report ~ .card__body .card__when { color: var(--muted); }
.card__title { font-size: 16px; font-weight: 700; line-height: 1.6; margin: 0; }
/* 1.8.39：一覧のカードの紹介文。2行で切る（抜粋か本文の先頭から自動） */
.card__text { font-size: 13px; line-height: 1.75; color: var(--sub); margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 10px 16px 14px; margin-top: auto; }
/* 投稿者名をやめたので、閲覧数だけを右に寄せます */
.card__meta--views-only { justify-content: flex-end; }
.card__views { display: inline-flex; align-items: center; gap: 4px; }
.card__views .icon { width: 14px; height: 14px; }
.thumb-empty { display: block; width: 100%; height: 100%; background: var(--photo); }
.tag { position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); padding: 3px 10px; border-radius: 999px; }
.article__tags .tag { position: static; }
.tag--eat, .tag--spot { background: var(--coral); }
.tag--play, .tag--learn { background: #2E7D66; }
.tag--buy { background: #8A5A00; }
.tag--stay, .tag--life, .tag--live { background: #6B4FA0; }
.tag--event { background: var(--green); }
.tag--plain { background: #F0F0F0; color: var(--sub); }
/* 詳細ページの「終了」。カードのバッジと同じ灰色で揃えます（白文字で6.0:1） */
.tag--over { background: var(--muted); }
.tag--now { background: var(--coral); }
.pr-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 4px; }
.pr-badge--inline { position: static; background: #fff; color: var(--ink); }

/* ---------- ランキング・相談窓口 ---------- */
.ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ranking a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; color: var(--ink); text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid #ECECEC; }
.ranking__thumb { position: relative; height: 72px; border-radius: 8px; overflow: hidden; background: var(--photo); }
.ranking__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ranking__no { position: absolute; top: 0; left: 0; font-family: var(--font-en); font-size: 14px; background: var(--coral); color: #fff; padding: 2px 8px; border-radius: 8px 0 8px 0; }
.ranking__title { font-size: 14px; line-height: 1.6; }
.consult { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.consult p { margin: 0; }
.consult__label { font-size: 11px; font-weight: 700; color: var(--muted); }
.consult__name { font-size: 16px; font-weight: 700; }
.consult__text { font-size: 13px; color: var(--sub); }
.consult--wide { margin-top: 40px; padding: 28px; border: 1px solid #E8CDB6; background: #FBF1E8; }
/* 相談カードの下の1行。サイトのことは運営、不動産のことはパートナー、と分けます */
.site-contact-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.site-contact-note a { color: var(--green-dark); font-weight: 700; }
/* お問い合わせページ */
.site-contact { width: min(680px, 100%); margin: 32px auto 0; }
.site-contact .form { margin-top: 24px; }

/* ---------- 人物特集 ---------- */
/* INTERVIEW の帯。明るい生成りで、白いカードと赤い見出しを引き立てます */
.people-band { background: var(--cream); padding: 64px 0; margin-top: 64px; color: var(--ink); }
.people-band__head { text-align: center; margin-bottom: 32px; }
.people-band__en { font-family: var(--font-en); font-size: 14px; letter-spacing: .2em; margin: 0; color: var(--ink); }
.people-band__title { display: inline-block; font-family: var(--font-round); font-weight: 800; font-size: 44px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 2px 32px; margin: 8px 0; line-height: 1.4; }
.people-band__lead { font-weight: 700; margin: 0; color: var(--ink); }
.people-band .center { margin-top: 32px; margin-bottom: 0; }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
/* 見出しは白地に黒文字（コントラスト15:1）。赤は下線だけに残しています */
/* 2行までは高さが変わらないようにして、赤い下線が横一列に揃うようにしています */
.person-card__catch { background: #fff; color: var(--ink); font-weight: 700; line-height: 1.6; padding: 14px 16px; min-height: 92px; border-bottom: 3px solid var(--coral); }
.person-card__kicker { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; color: var(--coral); margin-bottom: 3px; }
.person-card__photo { display: block; aspect-ratio: 4 / 3; background: var(--photo); }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__body { padding: 12px 16px 16px; display: flex; flex-direction: column; }
.person-card__role { font-size: 12px; color: var(--muted); }
.person-card__name { font-size: 18px; font-weight: 700; }
.person-card:hover .person-card__catch { color: var(--coral); }

.person-hero { background: var(--mint); padding-top: 48px; }
.person-hero__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: end; }
.person-hero__text { padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.person-hero__badge { display: flex; align-items: center; gap: 12px; margin: 0; }
.person-hero__series { font-family: var(--font-round); font-weight: 800; font-size: 20px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 0 16px; }
.person-hero__vol { font-family: var(--font-en); letter-spacing: .1em; }
.person-hero__catch { margin: 0; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.6; }
.person-hero__catch span { background: #fff; padding: 2px 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.person-hero__role { margin: 0; font-weight: 700; }
.person-hero__name { margin: 0; font-size: 26px; font-weight: 700; }
.person-hero__photo { aspect-ratio: 4 / 3; border-radius: 24px 24px 0 0; overflow: hidden; background: var(--photo); }
.person-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.entry--interview strong { color: var(--coral); }
.profile { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-top: 40px; }
.profile__photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--photo); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile p { margin: 0 0 4px; }
.profile__en { font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.profile__name { font-size: 20px; font-weight: 700; }
.profile__text { font-size: 14px; color: var(--sub); }
.club-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #EAF3E8; border-radius: var(--radius); padding: 24px 28px; margin-top: 24px; }
.club-cta p { margin: 0; }
.club-cta__label { font-size: 13px; font-weight: 700; color: var(--green); }
.club-cta__title { font-size: 18px; font-weight: 700; }

/* ---------- コミュニティ ---------- */
.club-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.club-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); text-decoration: none; }
.club-card__icon { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #E9E4DA; }
.club-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.club-card__name { font-size: 14px; font-weight: 700; line-height: 1.5; }
.club-card__members { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.club-card__members .icon { width: 14px; height: 14px; }

/* コミュニティの活動情報（1.8.17） */
.club-facts { background: var(--section); border-radius: 18px; padding: 22px 24px; margin: 28px 0; display: grid; gap: 16px; }
.club-facts__list { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); row-gap: 12px; column-gap: 16px; font-size: 15px; }
.club-facts__list dt { color: var(--muted); font-size: 14px; }
.club-facts__list dd { margin: 0; font-weight: 700; }
.club-links { margin: 24px 0; }

/* ---------- 賛同ロゴ・バナー ---------- */
.logo-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.logo-grid a { min-height: 132px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; color: var(--ink); font-size: 13px; text-decoration: none; text-align: center; }
.logo-grid a:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.logo-grid img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.logo-grid__name { font-size: 13px; font-weight: 700; line-height: 1.5; }
.logo-grid__rank { font-size: 11px; color: var(--muted); }

/* 参画企業の帯（横スクロール） */
.pstrip { margin: 34px 0 8px; }
.pstrip__head { margin-bottom: 12px; }
.pstrip__title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.pstrip__note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.pstrip__list { list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pstrip__item { flex: 0 0 168px; scroll-snap-align: start; }
.pstrip__item a { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; text-align: center; text-decoration: none; color: var(--ink); }
.pstrip__item a:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.pstrip__logo { height: 56px; display: flex; align-items: center; justify-content: center; }
.pstrip__logo img { max-height: 56px; max-width: 136px; width: auto; object-fit: contain; }
.pstrip__noimg { width: 48px; height: 48px; border-radius: 50%; background: var(--paper, #f4f3f1); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.pstrip__name { font-size: 13px; font-weight: 700; line-height: 1.45; }
.pstrip__industry { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* 出典 */
.source { margin: 20px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--sub); }
.source__label { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--paper, #f4f3f1); font-size: 11px; font-weight: 700; color: var(--muted); }
/* バナーは出る数が変わります（ABOUT・賛同のページが無ければ減ります）。
   3つのときは今までどおり横いっぱい、1つや2つのときは左から詰めて、
   1枚だけ巨大に伸びないように上限を付けています */
.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: start; gap: 20px; margin-block: 32px 64px; }
.banners:empty { display: none; }
.banner { min-height: 140px; border-radius: var(--radius); padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-decoration: none; font-weight: 700; font-size: 14px; }
.banner__en { font-family: var(--font-en); font-size: 30px; font-weight: 400; }
.banner--yellow { background: var(--yellow); color: var(--ink); }
.banner--line { background: #fff; border: 3px solid var(--ink); color: var(--ink); }
.banner--coral { background: var(--coral); color: #fff; }
.banner:hover { filter: brightness(0.96); }
.banner--yellow:hover, .banner--line:hover { color: var(--ink); }
.banner--coral:hover { color: #fff; }

/* ---------- 個別記事 ---------- */
.article__eyecatch { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--photo); }
.article__eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.article__title { font-family: var(--font-round); font-weight: 800; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.45; margin: 0 0 8px; }
.article__meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.sponsor-note { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 20px; border: 1px solid #CFE3CB; background: #EAF3E8; border-radius: 14px; margin-bottom: 24px; font-size: 15px; }
.sponsor-note__label { font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 4px; }
.sponsor-note__logo img { max-height: 40px; width: auto; }
.entry { font-size: 16px; line-height: 2; color: var(--text); }
.entry h2 { font-size: 24px; line-height: 1.6; padding-left: 16px; border-left: 6px solid var(--coral); margin: 48px 0 16px; color: var(--ink); }
.entry h3 { font-size: 20px; margin: 32px 0 12px; color: var(--ink); }
.entry img { border-radius: 12px; }
/* 店主のひとこと。書く人は引用ブロックを選ぶだけで、この形になります */
.entry blockquote { border-left: 4px solid var(--line); padding-left: 20px; margin: 28px 0; }
.entry blockquote p { font-size: 17px; line-height: 2; margin: 0 0 8px; }
.entry blockquote cite { font-style: normal; font-size: 13px; color: var(--muted); }
/* 写真を2〜3枚ならべる（本文のギャラリー） */
.entry .wp-block-gallery, .entry .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 28px 0; }
.entry .wp-block-image img, .entry .gallery img, .entry .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry figcaption, .entry .gallery-caption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- イベント（開催概要・イベントの画像・レポート・過去の開催） ---------- */
/* 開催概要。ひとまとまりに見えるよう、淡い地色で囲みます（黒文字で11.8:1） */
.event-summary { display: grid; grid-template-columns: 88px minmax(0, 1fr); row-gap: 12px; column-gap: 16px; margin: 24px 0 32px; font-size: 15px; background: var(--section); border-radius: 14px; padding: 20px 24px; }
.event-summary dt { color: var(--muted); font-weight: 700; }
.event-summary dd { margin: 0; line-height: 1.9; }
.event-summary__sub { display: block; font-size: 13px; color: var(--muted); }
/* 1.8.9：イベントの日時（開催概要と右側の表で共通）。
   日付と時刻は1つの情報なので、同じ色・同じ太さで続けて読めるようにします */
.when { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.when__line { display: block; }
.when__time { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 何日間か。複数日のときだけ出ます */
.when__days { margin-top: 6px; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
/* 日時と料金は赤の太字で大きく（参考デモに合わせています）。
   赤 #C93F50 は淡い地色の上で 4.43:1 なので、19px 以上の太字（大きな文字として 3:1 が基準）で使います。
   小さくするときは --coral-dark に替えてください */
.event-summary dd.event-summary__em { color: var(--coral); font-weight: 700; font-size: 19px; line-height: 1.6; }
.info-list dd.info-list__em { color: var(--coral); font-weight: 700; }
/* 1.8.13：期間中は毎日同じ時間。期間は「〜」の前で折り返します（日付の途中では切りません） */
/* 「〜」は行頭に来られない文字なので、ただの nowrap だと折り返せずにはみ出します。
   初日と「〜最終日」をそれぞれ塊にして、塊の間で折り返します */
.when__period .when__date { display: inline-block; white-space: nowrap; }
/* 1.8.13：休みの日。入れた文字の下に「公式情報をご確認ください。」を小さく添えます */
.closed__note { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
/* 日ごとの開催時間：幅が狭いときは年を1行目に出し、各日を「10月21日（水） 10:00〜20:00」の同じ形で並べます */
@media (max-width: 600px) {
	.when--schedule .when__y { display: block; }
}
.info-list .when--schedule .when__y { display: block; }

/* 横に送れる画像の列。指でも、キーボード（枠を選んで左右キー）でも動かせます */
/* min-width:0 がないと、親が「中の画像を全部並べた幅」まで広がります */
.media-scroller { min-width: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 12px; margin: 24px 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.media-scroller:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 12px; }
.media-scroller__item { flex: 0 0 auto; width: min(280px, 72vw); margin: 0; scroll-snap-align: start; }
.media-scroller__item img { width: 100%; height: auto; border-radius: 12px; display: block; }
.media-scroller__item figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
/* イベントの画像は告知の画像など縦長が多いので、横幅を少し広げます */
.media-scroller--flyer .media-scroller__item { width: min(320px, 78vw); }

.report { margin-top: 48px; }
.report__lead { font-weight: 700; font-size: 17px; line-height: 1.9; }
/* いただいた声。引用とわかるように、本文と地を変えます */
.voice-box { background: #F6F6F4; border-left: 4px solid var(--mint); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 16px 0 28px; }
.voice-box p { margin: 0 0 1em; }
.voice-box p:last-child { margin-bottom: 0; }

.past-events { margin-top: 56px; }
/* 本文の外に出るので、見出しの赤い線を本文と同じに揃えます */
.past-events > h2 { font-size: 24px; line-height: 1.6; padding-left: 16px; border-left: 6px solid var(--coral); margin: 0 0 8px; color: var(--ink); }
/* 一覧なので小さく。年が増えても縦に伸びすぎないようにしています */
.past-events__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.past-event__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; }
.past-event__link:hover { border-color: var(--coral); color: inherit; }
.past-event__thumb { position: relative; aspect-ratio: 4 / 3; background: var(--photo); }
.past-event__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past-event__date { position: absolute; top: 6px; left: 6px; font-family: var(--font-en); font-size: 11px; background: var(--ink); color: #fff; padding: 2px 6px; border-radius: 4px; }
.past-event__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 12px 0; }
.past-event__title { font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.5; }
.past-event__meta { font-size: 12px; color: var(--muted); }
/* 紹介文は2行まで。3行目からは切ります */
.past-event__text { font-size: 13px; color: var(--sub); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.past-event__more { font-size: 13px; font-weight: 700; color: var(--coral); margin-top: auto; }

@media (max-width: 600px) {
	/* 横並びのまま、写真だけ小さくします。縦に積むと1件で画面が埋まってしまいます */
	.past-event__link { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
	.past-event__body { padding: 10px 14px 10px 0; min-height: 66px; }
	.past-event__title { font-size: 15px; }
	.past-event__text { display: none; }
	.past-events > h2 { font-size: 20px; padding-left: 12px; border-left-width: 5px; }

	.event-summary { grid-template-columns: 1fr; row-gap: 2px; padding: 16px 18px; font-size: 15px; }
	.event-summary dt { font-size: 13px; }
	.event-summary dd { margin-bottom: 14px; line-height: 1.8; }
	.event-summary dd:last-child { margin-bottom: 0; }

	/* 画面からはみ出さないように。横に送るのはギャラリーだけです */
	.media-scroller { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
	.media-scroller__item { width: 76vw; }
	.report__lead { font-size: 16px; }
	.voice-box { padding: 14px 16px; }
}

/* ---------- お店・施設の「定番」と「補足」（入力した項目から組み立てます） ---------- */
.spot-items { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.spot-items li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 12px; padding: 14px 18px; }
.spot-items b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.spot-items span { font-size: 15px; color: var(--sub); line-height: 1.8; }
/* インタビューの帯と同じ生成り。黒文字で10.8:1 */
.note-box { background: var(--cream); border-radius: 14px; padding: 20px 24px; margin: 32px 0; color: var(--text); }
.note-box b { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.note-box p { margin: 0; font-size: 15px; line-height: 1.9; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.info-box--sticky { position: sticky; top: 140px; }
.info-box__links { display: flex; gap: 16px; margin: 0; font-weight: 700; font-size: 14px; }
.article__main .info-box__links, .profile .info-box__links { margin-top: 14px; flex-wrap: wrap; }
.info-list { margin: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); row-gap: 10px; font-size: 15px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.map iframe { width: 100%; height: 200px; border: 0; border-radius: 12px; }
.partner-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.partner-box p { margin: 0 0 8px; }
.partner-box__name { font-weight: 700; font-size: 16px; }
.share { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.share__label { font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.share__buttons { display: flex; gap: 8px; }
.share__buttons a { flex: 1; text-align: center; font-size: 14px; border: 1px solid #D0D0D0; border-radius: 10px; padding: 10px 0; color: var(--ink); text-decoration: none; }

/* ---------- 賛同企業ページ ---------- */
.partner-hero { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 5fr 7fr; }
.partner-hero__photo { background: var(--photo); min-height: 380px; }
.partner-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner-hero__body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.partner-hero__rank { display: flex; align-items: center; gap: 12px; margin: 0; }
.rank-badge { font-size: 12px; font-weight: 700; background: var(--yellow); padding: 3px 12px; border-radius: 999px; }
.partner-hero__name { margin: 0; font-size: 30px; line-height: 1.4; }
.partner-hero__industry { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 賛同のご案内 ---------- */
.sponsor-hero { background: var(--coral); color: #fff; padding: 72px 0; }
.sponsor-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
.sponsor-hero__en { font-family: var(--font-en); letter-spacing: .2em; color: #FFE3DC; margin: 0 0 12px; }
.sponsor-hero__title { font-family: var(--font-round); font-weight: 800; font-size: clamp(28px, 4vw, 48px); line-height: 1.4; margin: 0 0 16px; }
.sponsor-hero__lead { line-height: 1.9; color: #FFF1EE; margin: 0; max-width: 640px; }
.sponsor-hero__badge { width: 240px; height: 240px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--font-round); font-weight: 800; font-size: 22px; text-decoration: none; justify-self: center; }
.sponsor-hero__badge:hover { color: var(--ink); filter: brightness(0.96); }
.benefit-grid, .plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 28px 24px; }
.benefit__no { font-family: var(--font-en); font-size: 36px; color: var(--coral); margin: 0 0 8px; line-height: 1; }
.benefit__title { font-size: 18px; margin: 0 0 8px; }
.benefit__text { font-size: 14px; color: var(--sub); margin: 0; }
.plan { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 28px 24px; border: 3px solid transparent; }
.plan--hl { border-color: var(--coral); }
.plan__tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #F0F0F0; color: var(--sub); margin: 0; }
.plan--hl .plan__tag { background: var(--coral); color: #fff; }
.plan__name { font-family: var(--font-round); font-size: 24px; margin: 10px 0 4px; }
.plan--noprice .plan__name { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan__price { font-size: 24px; font-weight: 700; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.plan__items li { display: flex; gap: 8px; }
.plan__items .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 5px; color: var(--green); }
.report-band { background: var(--mint); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.report-band__en { font-family: var(--font-en); letter-spacing: .2em; margin: 0; }
.report-band__title { font-family: var(--font-round); font-weight: 800; font-size: 30px; line-height: 1.5; margin: 8px 0; }
.report-band__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-band__list li { background: #fff; border-radius: 14px; padding: 18px; font-weight: 700; }
.contact { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; }
.contact__title { font-size: 26px; line-height: 1.5; margin: 8px 0; }

/* ---------- フォーム ---------- */
.form { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 32px; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form input[type="number"], .form input[type="date"], .form input[type="datetime-local"], .form select, .form textarea, .login-username input, .login-password input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #D0D0D0; border-radius: 10px; background: #fff; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.req { color: var(--coral); font-size: 12px; }
.notice { border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.notice--ok { background: #EAF3E8; color: var(--green-dark); }
.notice--ng { background: #FBE9E3; color: #8F2A16; }

/* ---------- マイページ ---------- */
.mypage { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; margin-bottom: 64px; }
.mypage__nav { display: flex; flex-direction: column; gap: 6px; }
.mypage__tab { display: block; padding: 14px 16px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.mypage__tab.is-active { background: var(--ink); color: #fff; font-weight: 700; }
.mypage__tab:hover { background: #F0F0F0; color: var(--ink); }
.mypage__tab.is-active:hover { background: var(--ink); color: #fff; }
.mypage__note { margin-top: 16px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.mypage__main { display: flex; flex-direction: column; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.panel__title { margin: 0 0 16px; font-size: 20px; }
.status-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.status-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 400; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.status-table td { padding: 10px 8px; border-bottom: 1px solid #F0F0F0; }
.status { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status--publish { color: var(--green-dark); background: #EAF3E8; }
.status--pending { color: #7A5000; background: #FBF1DC; }
.status--draft { color: #8F2A16; background: #FBE9E3; }

/* ---------- 全国トップ ---------- */
.hero-national { background: var(--coral); color: #fff; padding: 88px 0; }
.hero-national__en { font-family: var(--font-en); letter-spacing: .2em; color: #FFE3DC; margin: 0; }
.hero-national__title { font-family: var(--font-round); font-weight: 800; font-size: clamp(30px, 5vw, 56px); line-height: 1.4; margin: 12px 0; }
.hero-national__lead { margin: 0; color: #FFF1EE; }
.region-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.region-list a { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; color: var(--ink); text-decoration: none; }
.region-list__name { font-family: var(--font-round); font-weight: 800; font-size: 24px; }
.region-list__desc { font-size: 14px; color: var(--sub); }

/* ---------- ページ送り ---------- */
.pagination { margin: 40px 0 64px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid #D9D9D9; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- フッター ---------- */
.site-main { display: block; padding-bottom: 72px; }
.site-footer { background: var(--ink); color: #C9C9C9; font-size: 13px; padding: 6px 0 0; }
.site-footer__inner { width: min(1184px, 100% - 32px); margin-inline: auto; }
.site-footer p { margin: 0 0 6px; }
.site-footer__name { font-family: var(--font-round); font-weight: 800; font-size: 22px; color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding: 34px 0; }
.site-footer__head { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .06em; margin: 0 0 10px; }
.site-footer a { color: #C9C9C9; }
.site-footer a:hover { color: #fff; }
.site-footer__copy { text-align: center; color: #8E8E8E; font-size: 12px; padding: 20px 0; margin: 0 !important; border-top: 1px solid #3A3A3A; }
.sp-cta { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
	.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.club-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.card-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.benefit-grid, .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	body { padding-bottom: 84px; }
	.site-header__inner { padding: 8px 8px 8px 16px; gap: 8px; }
	.brand__name { font-size: 22px; }
	.brand__support { padding-left: 10px; }
	.brand__support-name { font-size: 14px; }
	.search, .header-actions { display: none; }
	.menu-toggle { display: grid; place-items: center; }
	.global-nav { display: none; }
	.global-nav.is-open { display: block; }
	.global-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 16px; }
	.global-nav a { display: block; padding: 10px 0; }
	.pickup { grid-template-columns: 1fr; height: auto; margin-top: 0; }
	.pickup__photo { order: -1; aspect-ratio: 3 / 2; }
	.pickup__panel { padding: 20px 16px 24px; }
	.pickup__badge { display: none; }
	.pickup__title { font-size: 18px; }
	.features { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.feature { flex: 0 0 150px; scroll-snap-align: start; }
	/* minmax(0,…) が要ります。ただの 1fr だと、中身がいちばん広い要素
	   （横に送る画像の列など）に引っ張られて、画面からはみ出します */
	.with-aside { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
	.card-grid, .card-grid--4 { grid-template-columns: 1fr; gap: 14px; }
	.card { flex-direction: row; }
	.card__link { flex-direction: row; }
	.card__thumb { width: 130px; flex-shrink: 0; aspect-ratio: auto; min-height: 118px; }
	.card__thumb .tag { top: 8px; left: 8px; right: auto; font-size: 10px; }
	.card__thumb .pr-badge { top: auto; bottom: 8px; left: 8px; }
	.card__meta { display: none; }
	.card__title { font-size: 14px; }
	.card__text { font-size: 12px; line-height: 1.7; }
	.people-band { padding: 40px 0; }
	.people-band__title { font-size: 30px; }
	.people-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; }
	.person-card { flex: 0 0 220px; scroll-snap-align: start; }
	.club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.club-facts { padding: 18px 18px 20px; }
	.club-facts__list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.club-facts__list dt { margin-top: 12px; }
	.club-facts__list dt:first-child { margin-top: 0; }
	.club-links .btn { width: 100%; }
	.logo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.pstrip__item { flex-basis: 146px; }
	.site-main { padding-bottom: 32px; }
	.banners, .region-list { grid-template-columns: 1fr; }
	.section-head__title .en { font-size: 24px; }
	.person-hero__inner, .partner-hero, .sponsor-hero__inner, .report-band, .contact, .mypage { grid-template-columns: 1fr; }
	.person-hero__text { padding-bottom: 0; }
	.sponsor-hero__badge { width: 180px; height: 180px; font-size: 18px; }
	.benefit-grid, .plan-grid, .report-band__list, .form__grid { grid-template-columns: 1fr; }
	.report-band { padding: 28px 20px; }
	.form { padding: 20px; }
	.info-box--sticky { position: static; }
	.club-cta { flex-direction: column; align-items: flex-start; }
	.profile { grid-template-columns: 80px minmax(0, 1fr); }
	.profile__photo { width: 80px; height: 80px; }
	.sp-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px 14px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08); }
	.sp-cta .btn--green { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- ブランド（まちBASE ＋ 地域BASE） ---------- */
.brand__name { display: inline-flex; flex-direction: column; }
.brand__parent { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-family: var(--font); }
.brand__region { font-size: 26px; line-height: 1.15; }

/* ---------- 相談・問い合わせ ---------- */
.consult-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 40px; }
.consult__name a { color: inherit; text-decoration: none; }
.consult__name a:hover { color: var(--coral); }
.consult__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.article__consult { grid-column: 1 / -1; }

/* ---------- みんなの投稿 ---------- */
/* 依頼ページのLINEブロック（受付の主。フォームより先に置きます） */
.line-lead { background: #fff; border: 3px solid var(--green); border-radius: var(--radius); padding: 24px 20px; margin: 28px 0 8px; text-align: center; }
.line-lead__label { margin: 0; font-family: var(--font-round); font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); color: var(--green-dark); line-height: 1.5; }
.line-lead__text { margin: 10px 0 0; font-size: 15px; color: var(--sub); line-height: 1.8; }
.line-lead__btn { margin: 18px 0 0; }
.line-lead__btn .btn { width: 100%; max-width: 320px; }
.line-lead__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.form-lead { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--muted); text-align: center; }

.rules { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px 18px 18px 36px; margin: 24px 0 28px; font-size: 14px; color: var(--sub); }
.rules li + li { margin-top: 6px; }
.form__agree { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 20px 0; }
.form__agree label { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 15px; }
.form__agree input { margin-top: 3px; }

@media (max-width: 720px) {
  .brand__region { font-size: 20px; }
  .consult-grid { margin-top: 28px; }
}

/* ---------- 申し込み・連絡フォーム ---------- */
.apply { margin-top: 40px; }
.apply__title { font-family: var(--font-round); font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.apply__lead { color: var(--sub); margin: 0 0 18px; }
.apply .form { padding: 28px; }

/* 1.8.18 掲載のお申し込み */
.entry-form [hidden] { display: none !important; }
.entry-type { border: 0; margin: 0 0 8px; padding: 0; }
.entry-type legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.entry-type__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.entry-type__choice { display: flex !important; align-items: center; gap: 10px; min-height: 56px; margin: 0 !important; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-size: 16px !important; }
.entry-type__choice:has(input:checked) { border-color: var(--coral); background: #FDF1F2; }
.entry-type__choice input { width: 20px; height: 20px; accent-color: var(--coral); margin: 0; }
.entry-set__title { font-size: 18px; margin: 28px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.entry-help { display: block; margin-top: 4px; }
.opt { color: var(--muted); font-size: 12px; }
.rules__photo { color: var(--coral-dark); font-weight: 700; }
.entry-photos { border: 2px solid var(--coral); border-radius: 14px; padding: 16px 18px; margin: 0 0 20px; background: #fff; }
.entry-photos__title { margin: 0 0 8px; color: var(--coral-dark); font-weight: 700; }
.entry-photos ul { margin: 0 0 10px; padding-left: 1.2em; }
.entry-photos li { margin-bottom: 4px; }
.entry-photos .small { margin: 4px 0 0; }
.entry-done__title { font-size: 20px; margin: 24px 0 8px; }
.entry-done__notes { padding-left: 20px; margin: 0 0 20px; }
.entry-done__notes li + li { margin-top: 4px; }
@media (max-width: 600px) { .entry-type__choices { gap: 8px; } .entry-type__choice { padding: 12px; gap: 8px; font-size: 15px !important; white-space: nowrap; } .entry-form.form, .entry-done.form { padding: 22px 18px; } }


/* ===== スポンサーの看板（1.8.28） ===== */
/* ヘッダーの supported by・記事の下のカード・フッターの板、3か所で同じロゴ枠を使います。
   枠は「高さだけ揃えて幅はロゴの形なり」。正方形に押し込むと横長のロゴが読めない大きさまで
   縮み、縦長のロゴは左右が空いてしまうためです。地は常に白（黒い文字のロゴが消えないように）。 */
.splogo { flex: 0 0 auto; height: 76px; max-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.splogo img { max-height: 100%; max-width: 172px; width: auto; height: auto; object-fit: contain; display: block; }
.splogo--none { width: 76px; padding: 0; background: var(--section); border: 0; font-weight: 800; font-size: 20px; color: var(--muted); }

/* 「相談する」。カードの中でいちばん押しやすい要素にします */
.btn--lead { font-size: 17px; min-height: 56px; padding: 15px 36px; }
.btn__arrow { font-weight: 800; margin-left: 2px; }

/* 記事・一覧の下 */
.spblock { margin-top: 44px; }
.spblock__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.spblock__head:after { content: ""; flex: 1; height: 2px; background: var(--ink); opacity: .15; }
.spblock__en { font-family: var(--font-en); font-size: 14px; letter-spacing: .1em; color: var(--ink); margin: 0; }
.spcard { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.spcard + .spcard { margin-top: 14px; }
.spcard__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.spcard__body p { margin: 0; }
.spcard__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--coral-dark); background: #FDF1F2; padding: 4px 12px; border-radius: 999px; }
.spcard__name { font-size: 22px; font-weight: 800; line-height: 1.3; }
.spcard__name a { color: var(--ink); text-decoration: none; }
.spcard__name a:hover { color: var(--coral); }
.spcard__text { font-size: 15px; color: var(--sub); line-height: 1.7; }
.spcard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px !important; }

/* フッターのリンク列 */
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__list li { margin: 0; }
.site-footer__sns { display: flex; gap: 10px; margin-top: 12px !important; }
.site-footer__sns a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4A4A4A; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-footer__sns a:hover { border-color: #fff; }

/* 企業ページ：ロゴも写真も切り抜かずに全体を見せます（1.8.28） */
.partner-hero__photo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; }
.partner-hero__photo img { width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; }

@media (max-width: 860px) {
	.site-footer__cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
	.splogo { height: 62px; max-width: 160px; }
	.splogo img { max-width: 134px; }
	.splogo--none { width: 62px; font-size: 17px; }
	.spcard { padding: 22px; }
	.spcard__name { font-size: 20px; }
	.btn--lead { width: 100%; }
	.spcard__actions { width: 100%; }
	.partner-hero__photo { padding: 24px; }
	.partner-hero__photo img { max-height: 220px; }
}

/* ===== 地域トップのメイン写真（1.8.32） ===== */
/* 地域の編集画面で「メイン写真」を入れた地域だけ出ます。
   文字は左に寄せ、暗くするのも左側だけ。写真の右半分は元の明るさで残します
   （全面を暗くすると、せっかくのまちの写真が沈んでしまうためです）。 */
.rhero { position: relative; overflow: hidden; height: clamp(420px, 46vw, 580px); }
.rhero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rhero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.06) 80%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
.rhero__in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 56px; }
.rhero__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.9); margin: 0 0 2px; }
.rhero__name { font-family: var(--font-round); font-weight: 800; color: #fff; font-size: clamp(28px, 3.8vw, 46px); margin: 0 0 8px; line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.rhero__lead { color: rgba(255,255,255,.95); font-size: 15px; line-height: 1.8; margin: 0 0 20px; max-width: 520px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
/* 入口の下に出すピックアップの帯（1.8.33）。
   メイン写真と大きさで競わないよう、写真は小さく、高さ1行分に抑えています。 */
.pickwide { display: flex; align-items: center; gap: 18px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 20px; text-decoration: none; color: var(--ink); margin-top: 34px; }
.pickwide:hover { color: var(--coral); }
.pickwide__badge { font-family: var(--font-en); font-size: 12px; letter-spacing: .06em; background: var(--coral); color: #fff; padding: 6px 12px; border-radius: 999px; flex: 0 0 auto; }
.pickwide__body { flex: 1 1 auto; min-width: 0; }
.pickwide__meta { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.pickwide__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.5; }
.pickwide__thumb { width: 150px; height: 96px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }

/* 入口の列を、写真の下端に少し重ねます */
.features--overlap { position: relative; z-index: 3; margin-top: -44px; }

@media (max-width: 860px) {
	.rhero { height: auto; }
	.rhero__in { padding: 28px 0 58px; }
	.features--overlap { margin-top: -26px; }
	/* 1.8.33：スマホでもPCと同じ横1行のまま。写真だけ外します（縦に伸びすぎないように） */
	.pickwide { gap: 12px; padding: 14px 16px; margin-top: 26px; }
	.pickwide__thumb { display: none; }
	.pickwide__title { font-size: 15px; }
	.pickwide__badge { font-size: 11px; padding: 5px 10px; }
}

/* ---------- 1.8.37：WordPress のギャラリーが小さく潰れる不具合の修正（全ページ） ----------
   WordPress 5.9 以降のギャラリーは、写真1枚ずつに「幅＝3分の1」を付けます。
   テーマ側でギャラリーを grid にしていたため、その3分の1がマスの中でさらに効いて、写真が小さくなっていました */
.entry .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; color: var(--muted); font-size: 12px; padding: 0; margin-top: 6px; text-shadow: none; max-height: none; overflow: visible; text-align: left; }
/* WordPress 側の指定（:not(#individual-image) 付き）が強いので、同じ書き方で上書きします */
.entry .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { height: auto; flex: none; }

/* ---------- 1.8.37：お店・施設（デモ画面「麦と湖」に合わせた見た目） ---------- */
/* 一番上：写真の上に記事タイトル。暗くするのは左側だけ */
.spot-hero { position: relative; height: 390px; border-radius: 20px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; margin-top: 8px; background: var(--photo); }
.spot-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.spot-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 31, 24, .67), rgba(18, 31, 24, .04) 85%), linear-gradient(0deg, rgba(18, 31, 24, .22), transparent 50%); }
.spot-hero__text { position: relative; z-index: 1; padding: 42px; max-width: 760px; }
.spot-hero__eyebrow { font-size: 13px; letter-spacing: .08em; margin: 0; }
.spot-hero__title { font-family: var(--font-round); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.4; margin: 12px 0 4px; color: #fff; }
.spot-hero__lead { margin: 8px 0 0; font-size: 14px; }
.article--spot-hero { margin-top: 28px; }
/* リード（本文の最初の段落） */
.entry--spot > p:first-of-type { font-size: 17px; font-weight: 700; line-height: 2.15; margin-bottom: 32px; }
/* 本文の写真は横長に切って並べる（ギャラリーの中の写真は除く） */
.entry--spot > .wp-block-image img { aspect-ratio: auto; height: 300px; border-radius: 14px; }
.entry--spot > .wp-block-image figcaption { font-size: 11px; color: #81817b; margin: 4px 0 24px; }
/* 店主のひとこと（本文の「引用」）：生成りの囲み、名前は上に赤で */
.entry--spot blockquote { background: var(--section); border: 0; border-radius: 12px; padding: 22px 25px; margin: 22px 0; display: flex; flex-direction: column; }
.entry--spot blockquote cite { order: -1; color: var(--coral); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.entry--spot blockquote p { font-size: 17px; line-height: 1.9; margin: 0; }
/* お店の定番：線で区切った一覧 */
.entry--spot .spot-items { gap: 0; margin: 8px 0 24px; }
.entry--spot .spot-items li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 15px 0; }
.entry--spot .spot-items b { font-size: 16px; margin-bottom: 2px; }
.entry--spot .spot-items span { font-size: 13px; color: var(--muted); }
/* 補足：淡い地色、見出しは緑 */
.entry--spot .note-box { background: var(--section); border-radius: 12px; padding: 18px 20px; margin: 25px 0; }
.entry--spot .note-box b { color: var(--green); font-size: 16px; margin-bottom: 4px; }
/* ギャラリー：横に送る並び */
.spot-gallery { margin: 22px 0 24px; }
.spot-gallery__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.spot-gallery__head strong { font-size: 15px; }
.spot-gallery__head span { font-size: 11px; color: #7b7d78; white-space: nowrap; }
.entry--spot .spot-gallery .wp-block-gallery { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding: 4px 2px 15px; margin: 0; -webkit-overflow-scrolling: touch; scrollbar-color: #b9c2b5 #efeee9; scrollbar-width: thin; }
.entry--spot .spot-gallery .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex: 0 0 68%; max-width: 300px; width: auto; margin: 0; scroll-snap-align: start; display: block; }
.entry--spot .spot-gallery .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { flex: none; width: 100%; height: 190px; aspect-ratio: auto; object-fit: cover; border-radius: 12px; }
.entry--spot .spot-gallery .wp-block-gallery figcaption { font-size: 12px; color: #666; margin-top: 5px; }
/* 本文の下の「お店の情報」 */
.spot-info { margin-top: 42px; }
.spot-info__title { font-size: 23px; line-height: 1.5; padding-left: 13px; border-left: 4px solid var(--coral); margin: 0 0 14px; }
.spot-info__list { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 9px 10px; margin: 0; font-size: 14px; }
.spot-info__list dt { color: var(--muted); }
.spot-info__list dd { margin: 0; }
.spot-info .map { margin-top: 14px; }
/* シェア：本文の下に1行で */
.spot-share .share { background: none; border: 0; padding: 22px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spot-share .share__label { margin: 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.spot-share .share__buttons { gap: 8px; }
.spot-share .share__buttons a { flex: 0 0 auto; background: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px; border-color: var(--line); }
/* 右側の枠 */
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 21px; }
.side-panel__title { margin: 0 0 12px; font-size: 16px; }
.side-panel__text { font-size: 13px; line-height: 1.8; margin: 0 0 13px; color: var(--sub); }
.info-list--compact { grid-template-columns: 76px minmax(0, 1fr); font-size: 13px; row-gap: 9px; }
@media (max-width: 860px) {
	.spot-hero { height: 320px; border-radius: 15px; }
	.spot-hero__text { padding: 25px; }
	.entry--spot > .wp-block-image img { height: 235px; }
	.entry--spot .spot-gallery .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-basis: 78%; max-width: 320px; }
	.entry--spot .spot-gallery .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { height: 205px; }
}
