@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.1
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===================================================================== *
 *  まちゼミ：ゼミ一覧（カード／フィルター／モーダル）
 *  すべて .machizemi- プレフィックス（SWELL競合回避）
 *  アクセント色は下記 --machizemi-accent を変更すれば一括変更できます。
 * ===================================================================== */

.machizemi-seminar {
	--machizemi-accent: #e8662a;        /* まちゼミ向け暖色アクセント（変更可） */
	--machizemi-accent-dark: #c8501a;
	--machizemi-ink: #2b2b2b;
	--machizemi-sub: #777;
	--machizemi-line: #e6e6e6;
	--machizemi-radius: 12px;
	--machizemi-shadow: 0 6px 24px rgba(0, 0, 0, .08);
	color: var(--machizemi-ink);
	font-feature-settings: "palt";
	line-height: 1.7;
}

.machizemi-empty {
	text-align: center;
	color: var(--machizemi-sub);
	padding: 2em 0;
}

/* ---- 開催回フィルター ---- */
.machizemi-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 0 32px;
}
.machizemi-filter-btn {
	appearance: none;
	border: 1px solid var(--machizemi-line);
	background: #fff;
	color: var(--machizemi-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 9px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: all .2s ease;
	line-height: 1.4;
}
.machizemi-filter-btn:hover {
	border-color: var(--machizemi-accent);
	color: var(--machizemi-accent);
}
.machizemi-filter-btn.is-active {
	background: var(--machizemi-accent);
	border-color: var(--machizemi-accent);
	color: #fff;
}

/* ---- カードグリッド（PC4列／タブ3-2列／スマホ1列） ---- */
.machizemi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}
@media (max-width: 1024px) { .machizemi-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (max-width: 768px)  { .machizemi-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px)  { .machizemi-grid { grid-template-columns: 1fr; } }

.machizemi-card {
	background: #fff;
	border: 1px solid var(--machizemi-line);
	border-radius: var(--machizemi-radius);
	overflow: hidden;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.machizemi-card:hover,
.machizemi-card:focus-visible {
	transform: translateY(-6px);
	box-shadow: var(--machizemi-shadow);
	outline: none;
}
.machizemi-card-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #f3f3f3;
	overflow: hidden;
}
.machizemi-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.machizemi-card:hover .machizemi-card-thumb img { transform: scale(1.05); }
.machizemi-noimg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb;
	font-size: 13px;
	letter-spacing: .1em;
}
.machizemi-card-num {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--machizemi-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	letter-spacing: .03em;
}
.machizemi-card-body { padding: 16px 16px 20px; }
.machizemi-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 6px;
}
.machizemi-card-shop {
	font-size: 13px;
	color: var(--machizemi-sub);
	margin: 0;
}

/* ---- モーダル ---- */
body.machizemi-modal-open { overflow: hidden; }

.machizemi-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 4vh 16px;
}
.machizemi-modal.is-open { display: flex; }
.machizemi-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(2px);
}
.machizemi-modal-box {
	position: relative;
	background: #fff;
	width: 920px;
	max-width: 90vw;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: var(--machizemi-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	animation: machizemiModalIn .25s ease;
}
@keyframes machizemiModalIn {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}
.machizemi-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, .06);
	color: #444;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease;
}
.machizemi-modal-close:hover { background: rgba(0, 0, 0, .14); }

.machizemi-modal-inner {
	display: flex;
	gap: 0;
}
.machizemi-modal-left {
	flex: 0 0 40%;
	width: 40%;
	padding: 32px 28px;
	background: #fafafa;
	border-right: 1px solid var(--machizemi-line);
}
.machizemi-modal-right {
	flex: 1 1 60%;
	width: 60%;
	padding: 32px 32px 36px;
}
@media (max-width: 768px) {
	.machizemi-modal-inner { flex-direction: column; }
	.machizemi-modal-left,
	.machizemi-modal-right { flex: none; width: 100%; }
	.machizemi-modal-left { border-right: none; border-bottom: 1px solid var(--machizemi-line); }
}

.machizemi-modal-photo {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
	aspect-ratio: 4 / 3;
	background: #eee;
}
.machizemi-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.machizemi-shop-name { font-size: 17px; font-weight: 700; margin: 0 0 12px; }

.machizemi-shop-info { margin: 0 0 16px; }
.machizemi-shop-info dt {
	font-size: 11px;
	font-weight: 700;
	color: var(--machizemi-sub);
	letter-spacing: .08em;
	margin-top: 10px;
}
.machizemi-shop-info dd { margin: 2px 0 0; font-size: 14px; word-break: break-all; }
.machizemi-shop-info a { color: var(--machizemi-accent-dark); }

.machizemi-modal-num {
	display: inline-block;
	background: var(--machizemi-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.machizemi-modal-title { font-size: 24px; font-weight: 800; line-height: 1.4; margin: 0 0 8px; }
.machizemi-modal-sub { font-size: 15px; color: var(--machizemi-sub); margin: 0 0 10px; }
.machizemi-modal-inst { font-size: 14px; margin: 0 0 18px; }
.machizemi-modal-inst span {
	display: inline-block;
	background: #f0f0f0;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 8px;
	color: var(--machizemi-sub);
}

.machizemi-schedule {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 20px;
	font-size: 14px;
}
.machizemi-schedule caption {
	text-align: left;
	font-weight: 700;
	font-size: 13px;
	color: var(--machizemi-accent-dark);
	padding-bottom: 6px;
	border-bottom: 2px solid var(--machizemi-accent);
	margin-bottom: 6px;
}
.machizemi-schedule th,
.machizemi-schedule td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid var(--machizemi-line);
	vertical-align: middle;
}
.machizemi-schedule th {
	width: 64px;
	white-space: nowrap;
	color: var(--machizemi-sub);
	font-weight: 700;
}

.machizemi-detail dt {
	font-size: 11px;
	font-weight: 700;
	color: var(--machizemi-sub);
	letter-spacing: .08em;
	margin-top: 12px;
}
.machizemi-detail dd { margin: 2px 0 0; font-size: 14px; }

.machizemi-btn {
	display: inline-block;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	padding: 11px 22px;
	border-radius: 8px;
	text-decoration: none;
	transition: all .2s ease;
}
.machizemi-map-btn {
	margin-top: 4px;
	width: 100%;
	background: #fff;
	border: 1px solid var(--machizemi-accent);
	color: var(--machizemi-accent-dark);
}
.machizemi-map-btn:hover { background: var(--machizemi-accent); color: #fff; }
.machizemi-pdf-btn {
	margin-top: 8px;
	background: var(--machizemi-accent);
	color: #fff;
}
.machizemi-pdf-btn:hover { background: var(--machizemi-accent-dark); color: #fff; }

/* ---- front-page.php 用（トップのイントロ・見出し） ---- */
.machizemi-front-intro {
	max-width: 800px;
	margin: 0 auto 40px;
	text-align: center;
	font-size: 16px;
	line-height: 1.9;
}
.machizemi-front-heading {
	text-align: center;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 8px 0 28px;
	position: relative;
}
.machizemi-front-heading::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--machizemi-accent, #e8662a);
	margin: 12px auto 0;
	border-radius: 2px;
}
.machizemi-front-seminar { margin-top: 8px; }

/* ===================================================================== *
 *  トップ メインビジュアル（キービジュアル）を画面いっぱいに（PC）
 *  既定では SWELL カスタマイザーの高さ「数値指定」で PC=30vw のため
 *  帯状に短く表示される。SWELL 純正の「ウィンドウサイズに合わせる」
 *  （-height-full）と同じ計算式でヘッダー分を引いてぴったり全画面にする。
 *  --swl-headerH / --swl-adminbarH は SWELL の JS が実測してセットする変数。
 *  ※スマホ（959px 以下）は元々 100vh で全画面のため変更しない。
 * ===================================================================== */
@media screen and (min-width: 960px) {
	.p-mainVisual.-height-set .p-mainVisual__inner {
		height: calc(100vh - var(--swl-headerH, 0px) - var(--swl-adminbarH, 0px));
	}
}

/* ---- モーダル：地図画像・QRコード画像 ---- */
.machizemi-mapimg { margin-top: 12px; border-radius: 8px; overflow: hidden; }
.machizemi-mapimg img { display: block; width: 100%; height: auto; }
.machizemi-qr {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.machizemi-qr img {
	width: 140px;
	height: 140px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--machizemi-line);
	border-radius: 8px;
	padding: 6px;
}
.machizemi-qr-cap { font-size: 12px; color: var(--machizemi-sub); }

/* ===================================================================== *
 *  全ページ共通の上書き（2026-06-25）
 *  ① ヘッダー：上部の藍色バー(.l-header__bar)を非表示／内側を全幅化
 *     （ロゴを左端・ナビメニューを右端へ＝トップページと同じ見た目に統一）
 *  ② 本文見出し(.post_content h2)の塗りつぶしを藍色(--color_htag)から
 *     ブランドのオレンジ(#e8662a)へ変更
 * ===================================================================== */
.l-header__bar { display: none; }
.l-header__inner,
.l-fixHeader__inner {
	max-width: none !important;
	width: 100%;
	padding-left: 24px;
	padding-right: 24px;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	background: #e8662a !important;
}
/* ③ 見出しの装飾色を藍色→オレンジに統一（h2塗り・h3下線・h4の縦線はすべて --color_htag 由来） */
:root { --color_htag: #e8662a !important; }
/* h2 の上下の枠線(::before)は不要なので消す／独自h2の下のグレイ線も消してフラットに */
.post_content h2::before { display: none !important; }
.post_content .mz-page h2 { border-bottom: none !important; }
/* ④ グローバルナビの下線：藍色→オレンジ＋テキスト直下に寄せて余白を詰める */
.c-gnav a::after {
	background: #e8662a !important;
	bottom: calc(50% - 0.85em) !important;
	top: auto !important;
	width: 60% !important;
	left: 20% !important;
	transform-origin: center !important;
}
/* ⑤ 投稿(単一記事)下部の不要セクションを非表示：著者ボックス・関連記事・コメント */
.l-articleBottom__section.-author,
.l-articleBottom__section.-related,
.l-articleBottom__section.-comment { display: none !important; }
/* ⑥ カテゴリーバッジ（新着情報など）の紺→オレンジ */
.c-postThumb__cat { background-color: #e8662a !important; }
/* ⑦ 投稿メタ／サイドバーのカテゴリー：バッジ(.c-categoryList__link)とフォルダーアイコン(.c-categoryList::before)を紺→オレンジ */
.c-categoryList__link:not(.-current) { background-color: #e8662a !important; }
.c-categoryList::before { color: #e8662a !important; }

/* ===================================================================== *
 *  ⑧ カテゴリーアーカイブ（新着情報）= カードグリッド（carrefour風／ブランドのオレンジ配色）
 *     ※カード化は SWELL設定 post_list_layout=card。ここは仕上げの装飾のみ。
 * ===================================================================== */
/* 見出し（新着情報）を大きめ＋オレンジのサブ＋下線 */
.archive .c-pageTitle { font-size: clamp(24px, 4vw, 32px); }
.archive .c-pageTitle__subTitle { color: #c8501a !important; letter-spacing: .14em; }
/* PC 3カラム＋カード間の余白を広めに */
@media (min-width: 960px) {
	.archive .p-postList.-type-card.-pc-col3 { display: flex !important; flex-wrap: wrap !important; gap: 40px 4% !important; justify-content: flex-start !important; }
	.archive .p-postList.-type-card.-pc-col3 > .p-postList__item { flex: 0 0 auto !important; width: calc((100% - 8%) / 3) !important; max-width: calc((100% - 8%) / 3) !important; margin: 0 !important; }
}
/* サムネ（4:3・角丸・ホバーズーム） */
.archive .p-postList.-type-card .p-postList__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f3f1ec; }
.archive .p-postList.-type-card .c-postThumb__figure { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.archive .p-postList.-type-card .c-postThumb__img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .5s ease; }
.archive .p-postList.-type-card .p-postList__link:hover .c-postThumb__img { transform: scale(1.05); }
/* 本文（タイトル2行・抜粋2行・日付） */
.archive .p-postList.-type-card .p-postList__body { padding-top: 15px; }
.archive .p-postList.-type-card .p-postList__title { font-size: 15.5px; line-height: 1.55; font-weight: 700; color: #2b2b2b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive .p-postList.-type-card .p-postList__link:hover .p-postList__title { color: #c8501a; }
.archive .p-postList.-type-card .p-postList__excerpt { font-size: 12.5px; line-height: 1.85; color: #888; margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive .p-postList.-type-card .p-postList__times { font-size: 11.5px; color: #aaa; margin-top: 10px; }
.archive .p-postList.-type-card .p-postList__link,
.archive .p-postList.-type-card .p-postList__link:hover { text-decoration: none !important; }

/* ===================================================================== *
 *  ⑨ ゼミ一覧（seminar）の強化スタイル — 全ページで有効化
 *     ※元はトップ限定の style_test_20260624.css にあったが、独立ページ
 *       （固定ページ＋[seminar_list]ショートコード）でも同じ見た目・動作に
 *       するため、サイト全体に効く style.css 側へ集約。
 *       （style_test 側の同等ルールは冗長。今後 test 側は KV/ヘッダー/mz-event 専用に整理可）
 * ===================================================================== */
/* モーダルをヘッダーより前面へ（SWELLの #content stacking context 対策） */
body.machizemi-modal-open .l-content { z-index: 100000; }
/* クローズボタン（×）：オレンジ円・白× */
.machizemi-modal-close { display: flex; align-items: center; justify-content: center; padding: 0; background: var(--machizemi-accent, #e8662a); color: #fff; font-size: 30px; font-weight: 700; line-height: 1; }
.machizemi-modal-close:hover { background: var(--machizemi-accent-dark, #c8501a); }
/* フィルターボタンを各カテゴリ色に（既定＝枠線・文字／hover・active＝塗り） */
.machizemi-filter-btn[data-term="kirei"]   { --fc: #e95295; }
.machizemi-filter-btn[data-term="taberu"]  { --fc: #e8662a; }
.machizemi-filter-btn[data-term="manabu"]  { --fc: #36a9c8; }
.machizemi-filter-btn[data-term="kenko"]   { --fc: #8b5fb5; }
.machizemi-filter-btn[data-term="tsukuru"] { --fc: #93c01f; }
.machizemi-filter-btn[data-term="all"]     { --fc: #777777; }
.machizemi-filter-btn[data-term] { border-color: var(--fc); color: var(--fc); }
.machizemi-filter-btn[data-term]:hover,
.machizemi-filter-btn[data-term].is-active { background: var(--fc); border-color: var(--fc); color: #fff; }
/* カードの No. バッジを各カテゴリー色に */
.machizemi-card[data-terms~="kirei"]   .machizemi-card-num { background: #e95295; }
.machizemi-card[data-terms~="taberu"]  .machizemi-card-num { background: #e8662a; }
.machizemi-card[data-terms~="manabu"]  .machizemi-card-num { background: #36a9c8; }
.machizemi-card[data-terms~="kenko"]   .machizemi-card-num { background: #8b5fb5; }
.machizemi-card[data-terms~="tsukuru"] .machizemi-card-num { background: #93c01f; }
/* モーダル：カテゴリーごとにアクセント色を切替（data-cat は seminar-list.php で付与） */
.machizemi-modal[data-cat="kirei"]   { --machizemi-accent: #e95295; --machizemi-accent-dark: #c43c77; }
.machizemi-modal[data-cat="taberu"]  { --machizemi-accent: #e8662a; --machizemi-accent-dark: #c8501a; }
.machizemi-modal[data-cat="manabu"]  { --machizemi-accent: #36a9c8; --machizemi-accent-dark: #2a8aa3; }
.machizemi-modal[data-cat="kenko"]   { --machizemi-accent: #8b5fb5; --machizemi-accent-dark: #6f4a94; }
.machizemi-modal[data-cat="tsukuru"] { --machizemi-accent: #93c01f; --machizemi-accent-dark: #75991a; }
.machizemi-modal .machizemi-modal-inst span { background: var(--machizemi-accent); color: #fff; }
.machizemi-modal .machizemi-shop-info dt,
.machizemi-modal .machizemi-detail dt { color: var(--machizemi-accent-dark); }
/* モーダルのスマホ表示：1カラム＋項目順＋上部クリアランス（×ボタンを隠さない） */
@media screen and (max-width: 768px) {
	.machizemi-modal-inner { display: flex; flex-direction: column; padding: 28px 22px 32px; }
	.machizemi-modal-left, .machizemi-modal-right { display: contents; }
	.machizemi-modal-num   { order: 1; align-self: flex-start; }
	.machizemi-modal-title { order: 2; }
	.machizemi-shop-name   { order: 3; }
	.machizemi-modal-inst  { order: 4; }
	.machizemi-modal-photo { order: 5; }
	.machizemi-shop-info   { order: 6; }
	.machizemi-mapimg      { order: 7; }
	.machizemi-map-btn     { order: 8; }
	.machizemi-modal-sub   { order: 9; }
	.machizemi-schedule    { order: 10; }
	.machizemi-detail      { order: 11; }
	.machizemi-qr          { order: 12; }
	.machizemi-pdf-btn     { order: 13; }
	.machizemi-modal { align-items: flex-start; padding-top: calc(env(safe-area-inset-top, 0px) + 54px) !important; }
	.machizemi-modal-box { max-height: calc(100svh - env(safe-area-inset-top, 0px) - 70px); }
}
/* ゼミ一覧ページ（/seminars/ = 固定ページID86）：コンテンツ幅をトップと同じ 1100px（中央寄せ）に
 * ※このサイトは <body> にクラスが付かないため、#content の data-postid="86" でスコープ */
#content.l-content[data-postid="86"] {
	max-width: 1132px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
#content.l-content[data-postid="86"] .l-mainContent,
#content.l-content[data-postid="86"] .l-mainContent__inner { max-width: none; width: 100%; }

/* 2026-06-26 footer background (warm cream, mz-event tone) */
.l-footer{background-color:#fbe5d6 !important;}
.l-footer__inner{background-color:transparent !important;}
.l-footer__foot{background-color:#fbe5d6 !important;}


/* ===================================================================== *
 *  まちゼミ：モーダルの電話番号を大きく（2026-08-20）
 *  - 左カラム TEL（.machizemi-tel）
 *  - 予約方法の中に併記する TEL（.machizemi-resv-tel）
 * ===================================================================== */
.machizemi-shop-info dd.machizemi-tel {
	margin-top: 2px;
	line-height: 1.25;
}
.machizemi-shop-info dd.machizemi-tel a {
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: .01em;
	color: var(--machizemi-accent-dark);
	text-decoration: none;
	word-break: normal;
}
.machizemi-shop-info dd.machizemi-tel a:hover { text-decoration: underline; }

.machizemi-detail dd .machizemi-resv-tel {
	display: block;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--machizemi-line);
	line-height: 1.25;
}
.machizemi-detail dd .machizemi-resv-tel-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--machizemi-accent-dark);
	margin-bottom: 2px;
}
.machizemi-detail dd .machizemi-resv-tel a {
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: .01em;
	color: var(--machizemi-accent-dark);
	text-decoration: none;
	word-break: normal;
}
.machizemi-detail dd .machizemi-resv-tel a:hover { text-decoration: underline; }

@media screen and (max-width: 768px) {
	.machizemi-shop-info dd.machizemi-tel a,
	.machizemi-detail dd .machizemi-resv-tel a { font-size: 26px; }
}

/* ===================================================================== *
 *  まちゼミ：補足画像（sub_image）＝モーダル左カラムの追加画像（2026-08-20）
 *  地図画像の下、Google Map ボタンの上に表示する。
 * ===================================================================== */
.machizemi-subimg { margin-top: 12px; border-radius: 8px; overflow: hidden; }
.machizemi-subimg img { display: block; width: 100%; height: auto; }

@media screen and (max-width: 768px) {
	/* SP は modal-left/right が display:contents のため order で並べ替える。
	   地図画像(order:7)と同じ値にして、地図の直後（ソース順）に出す。 */
	.machizemi-subimg { order: 7; }
}

/* ===================================================================== *
 *  まちゼミ：モーダルの各項目に区切り線（2026-08-20）
 *  左カラム（会場／TEL／MAIL／FAX／URL）と
 *  右カラム（定員／参加費／予約方法／備考）の項目境界に細いグレー線を引く。
 *  各ブロック先頭の項目には線を引かない（:first-of-type を除外）。
 * ===================================================================== */
.machizemi-shop-info dt:not(:first-of-type),
.machizemi-detail dt:not(:first-of-type) {
	border-top: 1px solid var(--machizemi-line);
	padding-top: 12px;
}

/* ===================================================================== *
 *  まちゼミ：QRコードのリンク化（2026-08-20）
 *  スマホは自分の画面のQRを読み取れないため、タップでも遷移できるようにする。
 * ===================================================================== */
.machizemi-qr-link { display: inline-block; line-height: 0; border-radius: 8px; }
.machizemi-qr-link img { transition: border-color .2s ease, box-shadow .2s ease; }
.machizemi-qr-link:hover img { border-color: var(--machizemi-accent); box-shadow: 0 2px 10px rgba(0,0,0,.10); }
.machizemi-qr-link:focus-visible { outline: 2px solid var(--machizemi-accent); outline-offset: 3px; }
.machizemi-qr-btn {
	margin-top: 10px;
	background: var(--machizemi-accent);
	color: #fff;
}
.machizemi-qr-btn:hover { background: var(--machizemi-accent-dark); color: #fff; }

@media screen and (max-width: 768px) {
	/* SP は modal-left/right が display:contents のため order で並べ替える */
	.machizemi-qr-btn { order: 12; }
}


/* ===================================================================== *
 *  まちゼミ：ゼミ投稿単体ページ（single-seminar.php）
 *  一覧モーダルと同じ .machizemi-modal-inner 系レイアウトを、
 *  position:fixed のオーバーレイなしで通常の記事内ブロックとして表示する。
 * ===================================================================== */
.machizemi-single-box {
	--machizemi-accent: #e8662a;
	--machizemi-accent-dark: #c8501a;
	--machizemi-ink: #2b2b2b;
	--machizemi-sub: #777;
	--machizemi-line: #e6e6e6;
	--machizemi-radius: 12px;
	color: var(--machizemi-ink);
	font-feature-settings: "palt";
	border: 1px solid var(--machizemi-line);
	border-radius: var(--machizemi-radius);
	box-shadow: var(--machizemi-shadow, 0 6px 24px rgba(0, 0, 0, .08));
	overflow: hidden;
	margin: 0 0 32px;
}
.machizemi-single-box[data-cat="kirei"]   { --machizemi-accent: #e95295; --machizemi-accent-dark: #c43c77; }
.machizemi-single-box[data-cat="taberu"]  { --machizemi-accent: #e8662a; --machizemi-accent-dark: #c8501a; }
.machizemi-single-box[data-cat="manabu"]  { --machizemi-accent: #36a9c8; --machizemi-accent-dark: #2a8aa3; }
.machizemi-single-box[data-cat="kenko"]   { --machizemi-accent: #8b5fb5; --machizemi-accent-dark: #6f4a94; }
.machizemi-single-box[data-cat="tsukuru"] { --machizemi-accent: #93c01f; --machizemi-accent-dark: #75991a; }
.machizemi-single-box .machizemi-modal-inst span { background: var(--machizemi-accent); color: #fff; }
.machizemi-single-box .machizemi-shop-info dt,
.machizemi-single-box .machizemi-detail dt { color: var(--machizemi-accent-dark); }
@media screen and (max-width: 768px) {
	.machizemi-single-box .machizemi-modal-inner { display: flex; flex-direction: column; padding: 28px 22px 32px; }
	.machizemi-single-box .machizemi-modal-left,
	.machizemi-single-box .machizemi-modal-right { display: contents; }
}