@charset "UTF-8";
/* pg-asset.jp/medical/ 医療テナント仲介コンテンツ用スタイル
   本体サイト（index.html）のデザイントークンを踏襲しつつ、
   読み物ページに最適化したタイポグラフィを定義する */

:root {
	--ink: #333333;
	--ink-soft: #4d4d4d;
	--paper: #ffffff;
	--line: #e0e0e0;
	--accent: #0b4ddb;
	--accent-soft: #5c6470;
	--bg-soft: #f7f7f8;
	/* 本体サイト(index.html)と同一のフォント運用。和文はNoto Sans JP一本、英字ラベルのみbarlow-condensed */
	--gothic: "Noto Sans JP", sans-serif;
	--en: barlow-condensed, sans-serif;
	--ls: 0.08em;
	--w: 1040px;
	--read: 760px; /* 可読幅。中央寄せせず左端は --w のコンテナに揃える */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gothic);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: var(--ls);
	line-height: 1.9;
	color: var(--ink);
	background: var(--paper);
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { opacity: .75; }

/* ---------- ヘッダー ---------- */
.m-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(180%) blur(8px);
}
.m-header__inner {
	max-width: var(--w); margin: 0 auto; padding: 14px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.m-header__logo a { display: block; line-height: 0; }
.m-gnav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.m-gnav a { font-size: 13px; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.m-gnav__tel a { font-family: var(--en); font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.m-gnav__line a {
	background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 12px;
}

/* ---------- パンくず ---------- */
.m-breadcrumb { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.m-breadcrumb__inner { max-width: var(--w); margin: 0 auto; padding: 10px 20px; }
.m-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--accent-soft); }
.m-breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--line); }
.m-breadcrumb a { color: var(--accent-soft); text-decoration: none; }

/* ---------- 共通レイアウト ---------- */
.m-article__inner, .m-pillar__inner { max-width: var(--w); margin: 0 auto; padding: 56px 20px 72px; }

/* ---------- ピラーページ見出し ---------- */
.m-pillar__head { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.m-pillar__en { margin: 0 0 14px; font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .28em; color: var(--accent); }
.m-pillar__ttl {
	margin: 0 0 20px; font-weight: 700;
	font-size: 32px; line-height: 1.55; letter-spacing: .04em;
}
.m-pillar__lead { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink-soft); }

/* ---------- 記事見出し ---------- */
.m-article__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.m-article__cat { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.m-article__ttl {
	margin: 0 0 16px; font-weight: 700;
	font-size: 28px; line-height: 1.6; letter-spacing: .04em;
}
.m-article__meta { margin: 0; font-size: 12px; color: var(--accent-soft); }
.m-article__meta time + time { margin-left: 14px; }
.m-article__lead { margin: 18px 0 0; font-size: 16px; font-weight: 500; color: var(--ink-soft); }

/* ---------- 本文タイポグラフィ ---------- */
.m-article__body h2 {
	margin: 56px 0 20px; padding-left: 14px;
	font-weight: 700; font-size: 24px; line-height: 1.6; letter-spacing: .04em;
	border-left: 3px solid var(--accent);
}
.m-article__body h3 {
	margin: 40px 0 14px; font-size: 18px; font-weight: 700; line-height: 1.7; letter-spacing: .04em;
	padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.m-article__body h4 { margin: 28px 0 10px; font-size: 16px; font-weight: 700; }
.m-article__body p { margin: 0 0 1.5em; }
.m-article__body ul, .m-article__body ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.m-article__body li { margin-bottom: .5em; }
.m-article__body strong { font-weight: 700; }
.m-article__body table {
	width: 100%; border-collapse: collapse; margin: 0 0 1.8em; font-size: 15px;
}
.m-article__body th, .m-article__body td {
	border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top;
}
.m-article__body th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.m-article__body blockquote {
	margin: 0 0 1.8em; padding: 18px 22px; background: var(--bg-soft);
	border-left: 3px solid var(--line); color: var(--ink-soft);
}
.m-article__body blockquote p:last-child { margin-bottom: 0; }
.m-article__body hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

/* ---------- FAQ ---------- */
.m-faq { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.m-faq h2 { margin: 0 0 24px; font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.m-faq dl { margin: 0; }
.m-faq dt {
	margin-top: 24px; padding-left: 30px; position: relative; font-weight: 700; font-size: 16px;
}
.m-faq dt::before {
	content: "Q"; position: absolute; left: 0; top: 0;
	font-family: var(--en); font-weight: 600; color: var(--accent); font-size: 18px;
}
.m-faq dd {
	margin: 8px 0 0; padding-left: 30px; position: relative; color: var(--ink-soft);
}
.m-faq dd::before {
	content: "A"; position: absolute; left: 0; top: 0;
	font-family: var(--en); font-weight: 600; color: var(--accent-soft); font-size: 18px;
}

/* ---------- 記事一覧 ---------- */
.m-list { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.m-list h2 { margin: 0 0 24px; font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.m-list ul { margin: 0; padding: 0; list-style: none; }
.m-list li { border-bottom: 1px solid var(--line); }
.m-list a { display: block; padding: 22px 0; text-decoration: none; color: var(--ink); }
.m-list a:hover { opacity: 1; background: var(--bg-soft); }
.m-list time { display: block; font-size: 12px; color: var(--accent-soft); margin-bottom: 6px; }
.m-list__ttl { display: block; font-size: 17px; font-weight: 700; line-height: 1.6; margin-bottom: 6px; }
.m-list__desc { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

.m-article__back { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- CTA ---------- */
.m-cta { background: var(--bg-soft); border-top: 1px solid var(--line); }
.m-cta__inner { max-width: var(--w); margin: 0 auto; padding: 56px 20px; }
.m-cta__ttl { margin: 0 0 16px; max-width: var(--read); font-size: 23px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.m-cta__lead { margin: 0 0 28px; font-size: 15px; color: var(--ink-soft); max-width: var(--read); }
.m-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.m-btn {
	display: inline-block; padding: 15px 32px; border-radius: 999px;
	font-size: 15px; text-decoration: none; letter-spacing: .04em;
}
.m-btn--line { background: var(--accent); color: #fff; }
.m-btn--tel { background: #fff; color: var(--ink); border: 1px solid var(--line); font-family: var(--en); font-size: 17px; font-weight: 600; }

/* ---------- フッター ---------- */
.m-footer { background: var(--ink); color: #fff; }
.m-footer__inner { max-width: var(--w); margin: 0 auto; padding: 48px 20px 32px; text-align: center; }
.m-footer__logo { margin-bottom: 24px; line-height: 0; }
.m-footer__nav {
	display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center;
	margin: 0 0 24px; padding: 0; list-style: none; font-size: 13px;
}
.m-footer__nav a { color: #fff; text-decoration: none; }
.m-footer__addr { margin: 0 0 20px; font-size: 12px; line-height: 2; color: rgba(255,255,255,.7); }
.copyright { margin: 0; font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.5); }

/* ---------- モバイル ---------- */
@media screen and (max-width: 767px) {
	body { font-size: 15px; line-height: 1.85; }
	.m-header__inner { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
	.m-gnav ul { gap: 14px; flex-wrap: wrap; }
	.m-gnav a { font-size: 12px; }
	.m-article__inner, .m-pillar__inner { padding: 36px 16px 56px; }
	.m-pillar__ttl { font-size: 23px; }
	.m-article__ttl { font-size: 21px; }
	.m-article__body h2 { font-size: 20px; margin-top: 44px; }
	.m-article__body h3 { font-size: 16px; }
	.m-article__body table { display: block; overflow-x: auto; white-space: nowrap; }
	.m-cta__inner { padding: 44px 16px; }
	.m-btn { width: 100%; }
}

/* =========================================================
   ピラーページ用コンポーネント
   読者＝開業を検討し始めた勤務医。スマホ・夜間の閲覧を前提に、
   「読ませる」より「understand→次の一歩」を最短化する構成にする
   ========================================================= */

/* --- ヒーロー --- */
.m-hero { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.m-hero__inner { max-width: var(--w); margin: 0 auto; padding: 56px 20px 48px; }
.m-hero__en { margin: 0 0 14px; font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .28em; color: var(--accent); }
.m-hero__ttl { margin: 0 0 20px; font-size: 32px; font-weight: 700; line-height: 1.55; letter-spacing: .04em; }
.m-hero__lead { margin: 0 0 28px; font-size: 17px; font-weight: 500; color: var(--ink-soft); max-width: var(--read); }
.m-hero__box { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; max-width: var(--read); }
.m-hero__box h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.m-hero__box ul { margin: 0; padding: 0; list-style: none; }
.m-hero__box li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.8; }
.m-hero__box li:last-child { margin-bottom: 0; }
.m-hero__box li::before {
	content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px;
	border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.m-hero__meta { margin: 18px 0 0; font-size: 13px; color: var(--accent-soft); }

/* --- 目次 --- */
.m-toc { max-width: var(--w); margin: 48px auto 0; padding: 0 20px; }
.m-toc__box { border: 1px solid var(--line); border-radius: 4px; padding: 22px 26px; background: #fff; }
.m-toc__box > p { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.m-toc ol { margin: 0; padding-left: 1.3em; }
.m-toc li { margin-bottom: 8px; font-size: 15px; }
.m-toc li:last-child { margin-bottom: 0; }
.m-toc a { color: var(--ink); text-decoration: none; }
.m-toc a:hover { color: var(--accent); text-decoration: underline; }

/* --- セクション見出し --- */
.m-sec { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.m-sec__head { margin: 72px 0 28px; }
.m-sec__num { display: block; margin-bottom: 8px; font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.m-sec__ttl { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.55; letter-spacing: .04em; }
.m-sec__lead { margin: 16px 0 0; font-size: 16px; color: var(--ink-soft); }

/* --- タイムライン（開業準備の全体像） --- */
.m-tl { margin: 32px 0 0; padding: 0; list-style: none; position: relative; }
.m-tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.m-tl li { position: relative; padding: 0 0 26px 44px; }
.m-tl li:last-child { padding-bottom: 0; }
.m-tl li::before {
	content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px;
	background: #fff; border: 2px solid var(--line); border-radius: 50%;
}
.m-tl__when { display: block; font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--accent-soft); margin-bottom: 4px; }
.m-tl__what { display: block; font-size: 17px; font-weight: 700; line-height: 1.6; margin-bottom: 6px; }
.m-tl__desc { display: block; font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
/* 物件が動くフェーズを強調 */
.m-tl li.is-key::before { background: var(--accent); border-color: var(--accent); }
.m-tl li.is-key .m-tl__what { color: var(--accent); }
.m-tl__badge {
	display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: middle;
}
/* 「いまここ」マーカー */
.m-tl li.is-now::before { border-color: var(--accent); border-style: dashed; }
.m-tl__now {
	display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
	border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: middle;
}

/* --- ハイライトボックス（読者に必ず持ち帰ってほしい結論） --- */
.m-note {
	margin: 32px 0 0; padding: 24px 26px; background: #fff;
	border: 1px solid var(--accent); border-left-width: 4px; border-radius: 4px;
}
.m-note__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.m-note p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.9; }
.m-note p + p { margin-top: 12px; }

/* --- カード（3つの構造） --- */
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; }
.m-card { border: 1px solid var(--line); border-radius: 4px; padding: 24px 20px; background: #fff; }
.m-card__num { display: block; margin-bottom: 12px; font-family: var(--en); font-size: 28px; font-weight: 600; line-height: 1; color: var(--line); }
.m-card__ttl { margin: 0 0 12px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.m-card__desc { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.95; }

/* --- 比較カード（物件タイプ） --- */
.m-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 0; }
.m-comp { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.m-comp__head { padding: 16px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.m-comp__ttl { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.m-comp__body { padding: 18px 20px; }
.m-comp__row { margin-bottom: 16px; }
.m-comp__row:last-child { margin-bottom: 0; }
.m-comp__label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.m-comp__row--o .m-comp__label { color: var(--accent); }
.m-comp__row--x .m-comp__label { color: #b4443a; }
.m-comp__row p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* --- セルフチェック --- */
.m-check { margin: 32px 0 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.m-check__head { padding: 20px 26px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.m-check__head p { margin: 0; font-size: 15px; font-weight: 700; }
.m-check__body { padding: 8px 26px 24px; }
.m-check__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.m-check__item:last-child { border-bottom: none; }
.m-check__box {
	flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
	border: 2px solid var(--accent-soft); border-radius: 3px;
}
.m-check__text { font-size: 15.5px; line-height: 1.8; }
.m-check__foot { padding: 20px 26px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.m-check__foot strong { color: var(--ink); }

/* --- 途中CTA（読者の温度に合わせた軽い一歩） --- */
.m-inline-cta {
	margin: 40px 0 0; padding: 28px; border-radius: 4px;
	background: var(--bg-soft); border: 1px solid var(--line);
}
.m-inline-cta p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.9; }
.m-inline-cta p:last-child { margin-bottom: 0; }
.m-inline-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 記事一覧（ピラー下部） --- */
.m-list--pillar { max-width: var(--w); margin: 72px auto 0; padding: 0 20px; }

@media screen and (max-width: 900px) {
	.m-cards { grid-template-columns: 1fr; }
	.m-compare { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
	.m-hero__inner { padding: 36px 16px 32px; }
	.m-hero__ttl { font-size: 23px; }
	.m-hero__lead { font-size: 15.5px; }
	.m-hero__box { padding: 20px 18px; }
	.m-toc, .m-sec { padding: 0 16px; }
	.m-sec__head { margin: 52px 0 22px; }
	.m-sec__ttl { font-size: 21px; }
	.m-tl li { padding-left: 38px; }
	.m-note, .m-inline-cta { padding: 20px 18px; }
	.m-check__body, .m-check__head, .m-check__foot { padding-left: 18px; padding-right: 18px; }
	.m-list--pillar { padding: 0 16px; }
}


/* =========================================================
   左端ラインの統一（ユーザー指示：MUST）
   コンテナは全て --w(1040px) で中央寄せし、その内側の
   読み物ブロックは --read(760px) 幅で「左寄せ」する。
   ブロックごとに max-width を変えて中央寄せすると、
   箱の左端そのものがズレるため禁止。
   ========================================================= */
.m-sec__head,
.m-sec__lead,
.m-tl,
.m-note,
.m-check,
.m-inline-cta,
.m-toc__box,
.m-faq dl,
.m-faq h2,
.m-list--pillar h2,
.m-list--pillar ul,
.m-article__body > *,
.m-article__head,
.m-article__back {
	max-width: var(--read);
	margin-left: 0;
	margin-right: 0;
}
/* グリッド系も同じ可読幅に収める。左端だけでなく右端も揃える */
.m-cards, .m-compare { max-width: var(--read); margin-left: 0; margin-right: 0; }

/* =========================================================
   記事ページ用に追加した部品
   ========================================================= */

/* --- 記事ヒーローのカテゴリラベル --- */
.m-hero__cat {
	display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 3px;
	background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.m-hero--article .m-hero__ttl { font-size: 28px; }

/* --- 番号付き項目リスト（チェック項目の詳細など） --- */
.m-items { margin: 32px 0 0; padding: 0; list-style: none; max-width: var(--read); }
.m-items > li {
	display: flex; gap: 18px; align-items: flex-start;
	padding: 24px 0; border-bottom: 1px solid var(--line);
}
.m-items > li:first-child { border-top: 1px solid var(--line); }
.m-items__num {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
	background: var(--accent); color: #fff;
	font-family: var(--en); font-size: 15px; font-weight: 600; letter-spacing: 0;
	display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.m-items__body { flex: 1 1 auto; min-width: 0; }
.m-items__ttl { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.m-items__desc { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.m-items__desc + .m-items__desc { margin-top: 10px; }
.m-items__desc strong { color: var(--ink); font-weight: 700; }

/* --- 表（記事本文の外で使う） --- */
.m-table { width: 100%; max-width: var(--read); border-collapse: collapse; margin: 32px 0 0; font-size: 14.5px; }
.m-table th, .m-table td { border: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; line-height: 1.85; }
.m-table th { background: var(--bg-soft); font-weight: 700; }
.m-table thead th { white-space: nowrap; }
.m-table td strong { font-weight: 700; }

/* --- 段落（記事本文） --- */
.m-p { max-width: var(--read); margin: 0 0 1.5em; font-size: 16px; line-height: 1.95; }
.m-p:last-child { margin-bottom: 0; }
.m-p strong { font-weight: 700; }
.m-body { max-width: var(--read); margin: 28px 0 0; }
.m-body .m-p:last-child { margin-bottom: 0; }

/* --- 小見出し（セクション内） --- */
.m-h3 {
	max-width: var(--read); margin: 40px 0 14px; font-size: 18px; font-weight: 700;
	line-height: 1.7; letter-spacing: .04em; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}

/* --- 関連記事リンク --- */
.m-related { max-width: var(--read); margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.m-related p { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-soft); }
.m-related ul { margin: 0; padding: 0; list-style: none; }
.m-related li { margin-bottom: 8px; font-size: 15px; }
.m-related li:last-child { margin-bottom: 0; }

@media screen and (max-width: 767px) {
	.m-hero--article .m-hero__ttl { font-size: 21px; }
	.m-items > li { gap: 14px; padding: 20px 0; }
	.m-items__num { width: 30px; height: 30px; font-size: 14px; }
	.m-items__ttl { font-size: 16px; }
	.m-items__desc { font-size: 14.5px; }
	.m-table { display: block; overflow-x: auto; white-space: nowrap; }
	.m-p { font-size: 15px; }
	.m-h3 { font-size: 16px; margin-top: 32px; }
}
