/*
 * てだこ店（tedako.co.jp）の見た目。宮古・石垣の site.css の後に読む（Plugin::enqueue）。
 * てだこ店の旧テーマ（design-tedako）は宮古（design-kk）と同じ作りなので、宮古の部品・CSS をそのまま使い、違う所だけここで上書きする。
 * 部品は stores/tedako/site/（ヘッダー・トップ・フッター）。クラスは jjcT…。
 *
 * 1. 色
 * 2. ヘッダー（支店・グループ会社の枠・電話 2 本・来店予約とお問合せ・水色のメニュー）
 * 3. トップ（空の写真の背景・スライド 6 枚・お知らせと動画）
 * 4. 右端のボタン 2 つ（退去の申請・ご入居中のご相談）
 * 5. 物件を探す・お役立ち情報
 * 6. フッター（旧サイトの #footer：本の形の画像・スタッフ・ロゴ・3 列のリンク・青のコピーライト）
 */

/* ---------- 1. 色 ---------- */
:root {
	--jjc-t-blue: #01a4e7;
	--jjc-t-pink: #f6115d;
	--jjc-t-navy: #073b87;
	/* 宮古・石垣と共通の部品（物件の一覧・物件ページの検索条件・表・見出しの線・本文）の紺（アパマンショップの色）を、てだこ店の水色に
	   （2026-11-10 マッキーさん。本店の緑と同じやり方。assets/site.css などは var(--jjc-c-…, 宮古の色)）。
	   文字に使う色（--jjc-c-blue）は白地で読みやすいよう少し濃い水色。ヘッダーの電話の札（--jjc-t-navy）は旧サイトと同じ紺のまま */
	--jjc-c-navy: #01a4e7;
	--jjc-c-navy2: #01a4e7;
	--jjc-c-blue: #0089c4;
	--jjc-c-blue2: #0089c4;
	--jjc-c-line: #a8ddf4;
	--jjc-c-line2: #a8ddf4;
	--jjc-c-line3: #8dd2f0;
	--jjc-c-pale: #f0f9fd;
	--jjc-c-pale2: #e1f4fc;
	--jjc-room-key: #01a4e7;
	--jjc-room-key-pale: #e1f4fc;
	--jjc-room-line: #a8ddf4;
}

/* 物件ページの題名の左右のシーサー（宮古・石垣は紺）を水色に。画像は stores/tedako/rent/（紺の画像の色だけ置き換えたもの） */
:root .jjc-rent-room__title::before {
	background-image: url("rent/heading-left.png");
}

:root .jjc-rent-room__title::after {
	background-image: url("rent/heading-right.png");
}

/* ---------- 2. ヘッダー ---------- */
.jjcTGroup {
	box-sizing: border-box;
	padding: 24px 16px 8px;
	border: 3px solid var(--jjc-t-pink);
	border-radius: 5px;
	background: #fff;
	letter-spacing: 1.3px;
}

:root .jjcTGroup > * {
	margin-block: 0;
}

/* 見出しは枠の上の線の真ん中に（旧サイト .groupCompany p：18px・行の高さ 36px・上に -43.2px。2026-11-09 ずれを直す） */
:root .jjcTGroup > .jjcTGroupTitle {
	display: table;
	margin-block-start: -43.2px !important;
	margin-inline: auto !important;
	padding-inline: 0.6em;
	background: #fff;
	text-align: center;
	color: var(--jjc-t-pink);
	font-size: 18px;
	font-weight: 700;
	line-height: 36px;
}

.jjcTGroupList {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.6;
}

.jjcTGroupList a {
	color: var(--jjc-t-blue);
	font-weight: 700;
	text-decoration: none;
}

/* 電話の見出し（紺の札。右が矢印の形）と番号（旧サイトの #tel_bg の画像と同じ並び：札・番号の 2 列、下に営業時間） */
.jjcTTelLabel {
	display: inline-block;
	padding: 0 14px 0 6px;
	background: var(--jjc-t-navy);
	clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 20px;
	white-space: nowrap;
}

.jjcTHeader .jjcTel a::before {
	display: none;
}

.jjcTHeader .jjcTel a {
	color: var(--jjc-t-pink);
	font-weight: 400;
	letter-spacing: 0.06em;
}

/* 来店予約・お問合せ（ピンクのボタン 2 つ） */
.jjcTCta {
	gap: 8px;
}

.jjcTCta .wp-block-button__link {
	gap: 8px;
	padding: 8px 18px;
	background: var(--jjc-t-pink);
	font-size: 15px;
	letter-spacing: 0.1em;
}

.jjcTCta .wp-block-button__link::before {
	content: "›";
	inline-size: auto;
	block-size: auto;
	background: none;
	font-size: 18px;
	line-height: 1;
}

/* 狭い幅：支店・グループ会社の枠は出さない（フッターと同じ情報） */
@container onestarSiteHeader (inline-size < 74.9rem) {
	.jjcTHeader .jjcTGroup {
		display: none;
	}
}

@container onestarSiteHeader (inline-size >= 74.9rem) {
	:root .jjcTHeader .jjcHeaderInner > .jjcTGroup {
		grid-area: 1 / 2;
		align-self: center;
		justify-self: center;
		inline-size: 281px;
		margin-block-start: 16px;
	}

	/* ロゴ：てだこ店のロゴは縦横比が宮古と違う（600×179）。旧サイトと同じ高さ 97px（幅は縦横比のまま。宮古は 440×70 に固定） */
	:root .jjcTHeader .jjcHeaderInner .jjcHeaderLogo,
	:root .jjcTHeader .jjcHeaderInner .jjcHeaderLogo a,
	:root .jjcTHeader .jjcHeaderInner .jjcHeaderLogo img {
		inline-size: auto;
		max-inline-size: 440px;
		block-size: 97px;
		object-fit: contain;
		object-position: left center;
	}

	/* 来店予約とお問合せを横に 2 つ（宮古は 342px のボタン 1 つ） */
	:root .jjcTHeader .jjcHeaderInner .jjcCta {
		display: flex;
		gap: 6px;
	}

	:root .jjcTHeader .jjcHeaderInner .jjcCta .wp-block-button {
		inline-size: 168px;
	}

	:root .jjcTHeader .jjcHeaderInner .jjcCta .wp-block-button__link {
		justify-content: center;
		inline-size: 168px;
		font-size: 15px;
	}

	/* メニューの帯は水色（宮古は紺） */
	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation {
		border-image: linear-gradient(var(--jjc-t-blue), var(--jjc-t-blue)) fill 0 / 0 / 0 100vw;
	}

	/* メニューの項目幅（てだこ店の並び：売却査定・会社案内は短く、オーナー様向け情報は長い）。1 行に収める */
	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item,
	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item:is(:nth-child(5), :nth-child(8), :nth-child(9)) {
		flex-basis: 135px;
		white-space: nowrap;
	}

	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		font-weight: 700;
	}

	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item:is(:nth-child(5), :nth-child(9)) {
		flex-basis: 110px;
	}

	:root .jjcTHeader .jjcHeaderInner > .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(8) {
		flex-basis: 170px;
	}

	/* 電話：札と番号を 26px の行に。番号は 24px */
	:root .jjcTHeader .jjcHeaderInner .jjcTels {
		grid-auto-rows: 26px;
		align-items: center;
		gap: 2px 6px;
		padding-inline-start: 46px;
		background-position: 0 8px;
		background-size: 40px auto;
		line-height: 26px;
	}

	:root .jjcTHeader .jjcHeaderInner .jjcTel a {
		font-size: 24px;
		line-height: 26px;
	}

	:root .jjcTHeader .jjcHeaderInner .jjcTels .jjcHours {
		margin-inline-start: -46px;
		padding-block-start: 0;
		font-size: 11.5px;
		letter-spacing: 0.04em;
		line-height: 16px;
		white-space: nowrap;
	}
}

/* ---------- 3. トップ ---------- */
/* 宮古は黄色の帯。てだこ店は空の写真（旧サイト images/bg_top.jpg）を、スライドから屋根（物件を探す）の下まで 1 枚で敷く（旧サイト #bg_wrapper）。
 * 帯と屋根の高さ（約 1244px）を写真が覆うように、幅は画面か 1868px の大きい方 */
:root .jjcTFront {
	background: #fff url("bg-sky.webp") center top / max(100%, 1868px) auto no-repeat;
}

.jjcTFront .jjcHero,
.jjcTFront .jjcSearchIntro {
	background: transparent;
}

.jjcTFront .jjcSlider .splide__slide {
	background: transparent;
}

/* スライド（旧サイトと同じく 942px の枠を中央に、画像は左右 12px 内側。左右の丸い矢印は枠の外。2026-11-08） */
:root .jjcTFront .jjcHero > .jjcSliderWrap.alignwide {
	max-inline-size: 942px;
	margin-inline: auto !important;
	padding-block-start: 24px;
	overflow: visible;
}

.jjcTFront .jjcSlider .splide__slide {
	padding-inline: 12px;
	box-sizing: border-box;
}

.jjcTFront .jjcSlider .splide__arrow--prev {
	inset-inline-start: -70px;
}

.jjcTFront .jjcSlider .splide__arrow--next {
	inset-inline-end: -70px;
}

/* 枠の外に矢印を出す余白の無い幅では、矢印は画像の上（内側） */
@container onestarViewport (inline-size < 70rem) {
	.jjcTFront .jjcSlider .splide__arrow--prev {
		inset-inline-start: 16px;
	}

	.jjcTFront .jjcSlider .splide__arrow--next {
		inset-inline-end: 16px;
	}
}


/* お知らせの見出し（白い文字・白いシーサー） */
.jjcTFront .jjcNewsTitle {
	color: #fff;
}

/* 物件を探す（旧サイトの 借りる／買う・物件選択・市町村選択。タイルは旧サイトの画像 top_search.png を切り出したもの） */
:root .jjcTSearch {
	padding-block: 10px 60px;
	background: #fff;
}

/* トップでは旧サイト（#top_search の margin-top: -34px）と同じく、見出し「物件を探す」を屋根の白い底に重ねる。
   屋根の下に空の帯が出て屋根が空いて見えていた（2026-11-09）。重なる 34px は透明にして、屋根の左右の空を隠さない */
:root .jjcTFront .jjcTSearch {
	position: relative;
	margin-block-start: -34px !important;
	padding-block-start: 0;
	background: linear-gradient(transparent 34px, #fff 34px);
}

:root .jjcTSearch > * {
	margin-block: 0;
}

.jjcTSearchTabs {
	gap: 4px;
	inline-size: min(100%, 400px);
	margin-inline: auto !important;
	border-block-end: 3px solid var(--jjc-t-blue);
}

.jjcTSearchTab {
	flex: 1 1 50%;
}

.jjcTSearchTab .wp-block-button__link {
	display: block;
	padding: 12px;
	border-radius: 0;
	background: #eee;
	color: var(--jjc-t-blue);
	font-size: 15px;
	text-align: center;
}

.jjcTSearchTab--on .wp-block-button__link {
	background: var(--jjc-t-blue);
	color: #fff;
}

.jjcTSearchHeading {
	margin-block-start: 28px !important;
	color: var(--jjc-t-blue);
	font-size: 16px;
	font-weight: 700;
}

.jjcTSearchGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 88px), 1fr));
	gap: 6px;
	margin-block-start: 14px !important;
}

.jjcTSearchGrid--types {
	inline-size: min(100%, 600px);
	margin-inline: auto !important;
}

.jjcTSearchGrid--cities {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	inline-size: min(100%, 300px);
	margin-inline: auto !important;
}

:root .jjcTSearchGrid > * {
	margin-block: 0;
}

.jjcTSearchTile img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

.jjcTSearchTile a:hover {
	opacity: 0.8;
}

:root .jjcTSearchGo {
	margin-block-start: 28px !important;
}

.jjcTSearchGo .wp-block-button__link {
	padding: 10px 44px;
	border: 2px solid var(--jjc-t-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--jjc-t-blue);
	font-size: 15px;
}

/* スライド（旧サイトの 942×393） */
.jjcTSlide {
	margin: 0;
}

.jjcTSlide img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

/* お知らせ：旧サイトと同じく新しい 3 件と「全てのお知らせを見る」 */
:root .jjcTFront .jjcTNewsMore {
	margin: 6px 0 0;
	font-size: 13px;
	letter-spacing: 0.05em;
}

.jjcTNewsMore a {
	color: #07f;
	text-decoration: none;
}

.jjcTNewsMore a::before {
	content: "\2295\00a0";
}

.jjcTNewsMore a:is(:hover, :focus-visible) {
	text-decoration: underline;
}

/* ---------- 4. 右端のボタン 2 つ（旧サイト #head-bt2・#head-bt3：ピンク 183px と黄色 226px、幅 50px） ----------
 * スマホ（480px 以下）は、旧サイトのスマホのトップと同じく、先頭に「来店予約はコチラ」（上に「ご来店されてもお待たせいたしません！」）を足して 3 つ。
 * ヘッダーに来店予約のボタンが出る幅（48rem 以上）は右端の 2 つのまま（2026-11-17 マッキーさん「来店予約はコチラのボタン 戻す」） */
@container onestarViewport (inline-size > 480px) {
	:root .jjcFront > .jjcTSideBtns {
		inset-block-start: 270px;
		block-size: auto;
	}
}

/* 来店予約を隠すのは、ヘッダーに来店予約のボタンが出る幅（48rem 以上。assets/site.css 6 章）だけ。
 * 481px〜48rem 未満はヘッダーのボタンが無いので、右端の縦のボタンの 1 つ目として出す（Codex 指摘） */
@container onestarViewport (inline-size >= 48rem) {
	:root .jjcTSideBtns > .jjcTSideBtnVisit {
		display: none;
	}

	:root .jjcTSideBtns > .jjcTSideBtnVisit + li {
		margin-block-start: 0;
	}
}

.jjcTSideBtns > li + li {
	margin-block-start: 17px;
}

.jjcTSideBtns a {
	justify-content: center;
	background: var(--jjc-t-pink);
}

.jjcTSideBtns a:is(:hover, :focus-visible) {
	background: rgb(246 17 93 / 80%);
}

.jjcTSideBtns .jjcTSideBtnConsult a {
	background: #e1eb00;
	color: #ff4500;
}

.jjcTSideBtns .jjcTSideBtnConsult a:is(:hover, :focus-visible) {
	background: rgb(225 235 0 / 80%);
	color: #ff4500;
}

@container onestarViewport (inline-size <= 480px) {
	.jjcTSideBtns > li + li {
		margin-block-start: 12px;
	}

	.jjcTSideBtns > li.jjcTSideBtnConsult::before {
		content: none;
	}

	.jjcTSideBtns > li.jjcTSideBtnVisit::before {
		content: "ご来店されてもお待たせいたしません！";
	}

	/* 文言が長い（12 文字）ので、狭い幅では小さくし、折り返しても高さが伸びるように */
	.jjcTSideBtns .jjcTSideBtnConsult a {
		block-size: auto;
		min-block-size: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8px 6px;
		box-sizing: border-box;
		font-size: min(1em, 5.2vw);
		letter-spacing: 0.04em;
		line-height: 1.4;
	}
}

/* ---------- 5. 物件を探す ---------- */
:root .jjcTSearch > .jjcTSearchTitle {
	margin-block: 0 24px;
	color: #333;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.jjcTSearchTitle::before {
	content: "";
	display: inline-block;
	inline-size: 30px;
	block-size: 30px;
	margin-inline-end: 6px;
	background: url("search-icon.webp") center / contain no-repeat;
	vertical-align: -5px;
}

.jjcTSearchTabs {
	inline-size: min(100%, 490px);
}

.jjcTSearchTab {
	flex: 0 1 160px;
	min-inline-size: 0;
}

.jjcTSearchTab .wp-block-button__link {
	padding: 0;
	line-height: 65px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* タイル：旧サイト（#top_search .innerbox 1072px）と同じ 171px・間 8px の 6 列（市町村は左の 3 列）。指すとピンク（旧サイトの選択中の色。画像は top_search.png のピンクの段）
   テーマの本文幅（768px）に縮められて右にずれないよう、幅の上限を外して中央に（2026-11-08） */
:root .jjcTSearch > .jjcTSearchGrid--types,
:root .jjcTSearch > .jjcTSearchArea {
	max-inline-size: 100%;
	margin-inline: auto !important;
}

.jjcTSearchGrid--types {
	grid-template-columns: repeat(6, 171px);
	gap: 8px;
	inline-size: max-content;
}

.jjcTSearchArea {
	display: grid;
	grid-template-columns: 529px 536px;
	column-gap: 7px;
	inline-size: max-content;
}

/* 左に市町村選択、右に地区選択（旧サイト #top_search_sel_area。市町村を選ぶと右の枠に地区のチェックが出る。jjc/tile-search） */
:root .jjcTSearchArea > .jjcTSearchHeading {
	grid-row: 1;
	grid-column: 1;
}

:root .jjcTSearchArea > .jjcTSearchGrid--cities {
	grid-row: 2;
	grid-column: 1;
}

:root .jjcTSearchArea > .jjcTSearchHeading--district {
	grid-column: 2;
}

:root .jjcTSearchArea > .jjc-tile-areas {
	grid-row: 2;
	grid-column: 2;
}

:root .jjcTSearchArea > * {
	margin-block: 0;
}

.jjcTSearchArea .jjcTSearchHeading {
	inline-size: auto;
	max-inline-size: 100%;
}

/* 地区選択の枠（旧サイト .list：水色 3px の枠・内側 10px・高さ 170px） */
:root .jjcTSearchArea > .jjc-tile-areas {
	min-block-size: 170px;
}

:root .jjcTSearchArea > .jjc-tile-areas.is-open {
	padding: 10px;
	border: 3px solid #06a5e6;
}

.jjcTSearchGrid--cities {
	grid-template-columns: repeat(3, 171px);
	gap: 8px;
	inline-size: max-content;
	margin-inline: 0 !important;
}

.jjcTSearchTile a:hover {
	opacity: 1;
}

.jjcTSearchTile--type-mansion a:is(:hover, :focus-visible) img { content: url("tile-on/type-mansion.webp"); }
.jjcTSearchTile--type-house a:is(:hover, :focus-visible) img { content: url("tile-on/type-house.webp"); }
.jjcTSearchTile--type-parking a:is(:hover, :focus-visible) img { content: url("tile-on/type-parking.webp"); }
.jjcTSearchTile--type-land a:is(:hover, :focus-visible) img { content: url("tile-on/type-land.webp"); }
.jjcTSearchTile--type-tenant a:is(:hover, :focus-visible) img { content: url("tile-on/type-tenant.webp"); }
.jjcTSearchTile--type-other a:is(:hover, :focus-visible) img { content: url("tile-on/type-other.webp"); }
.jjcTSearchTile--city-urasoe a:is(:hover, :focus-visible) img { content: url("tile-on/city-urasoe.webp"); }
.jjcTSearchTile--city-ginowan a:is(:hover, :focus-visible) img { content: url("tile-on/city-ginowan.webp"); }
.jjcTSearchTile--city-other a:is(:hover, :focus-visible) img { content: url("tile-on/city-other.webp"); }

/* 選んでいるタイルもピンク（旧サイトの選択中。view.js が is-on を付ける） */
.jjcTSearchTile--type-mansion.is-on img { content: url("tile-on/type-mansion.webp"); }
.jjcTSearchTile--type-house.is-on img { content: url("tile-on/type-house.webp"); }
.jjcTSearchTile--type-parking.is-on img { content: url("tile-on/type-parking.webp"); }
.jjcTSearchTile--type-land.is-on img { content: url("tile-on/type-land.webp"); }
.jjcTSearchTile--type-tenant.is-on img { content: url("tile-on/type-tenant.webp"); }
.jjcTSearchTile--type-other.is-on img { content: url("tile-on/type-other.webp"); }
.jjcTSearchTile--city-urasoe.is-on img { content: url("tile-on/city-urasoe.webp"); }
.jjcTSearchTile--city-ginowan.is-on img { content: url("tile-on/city-ginowan.webp"); }
.jjcTSearchTile--city-other.is-on img { content: url("tile-on/city-other.webp"); }

/* 「買う」のタブ（旧サイトと同じく、ページを移らずに切り替える。jjc/tile-search の view.js が .jjcTSearch に is-trade を付ける。2026-11-11 マッキーさん）
 * - 駐車場は売買に無いので隠す。地区選択は旧サイトと同じく出す（売買の一覧は所在地の町名で絞る）
 * - 「アパート・マンション」は「マンション」、「その他」は「収益物件・その他」の絵に（旧サイトの売買の物件選択と同じ名前） */
:root .jjcTSearch.is-trade .jjcTSearchTile--type-parking {
	display: none;
}

.jjcTSearch.is-trade .jjcTSearchTile--type-mansion img { content: url("tile-trade/type-mansion.webp"); }
.jjcTSearch.is-trade .jjcTSearchTile--type-other img { content: url("tile-trade/type-other.webp"); }
.jjcTSearch.is-trade .jjcTSearchTile--type-mansion a:is(:hover, :focus-visible) img,
.jjcTSearch.is-trade .jjcTSearchTile--type-mansion.is-on img { content: url("tile-on/trade-mansion.webp"); }
.jjcTSearch.is-trade .jjcTSearchTile--type-other a:is(:hover, :focus-visible) img,
.jjcTSearch.is-trade .jjcTSearchTile--type-other.is-on img { content: url("tile-on/trade-other.webp"); }

.jjcTSearchGo .wp-block-button__link {
	padding: 14px 64px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* 狭い幅（6 列 1072px が入らない幅）：タイルは 3 列（市町村も同じ幅） */
@container onestarViewport (inline-size < 70rem) {
	.jjcTSearchGrid--types,
	.jjcTSearchGrid--cities {
		grid-template-columns: repeat(3, minmax(0, 171px));
		inline-size: auto;
		justify-content: center;
	}

	:root .jjcTSearch > .jjcTSearchGrid--types,
	:root .jjcTSearch > .jjcTSearchArea {
		inline-size: auto;
	}

	.jjcTSearchArea .jjcTSearchHeading {
		inline-size: auto;
	}

	.jjcTSearchArea {
		grid-template-columns: minmax(0, 1fr);
	}

	:root .jjcTSearchArea > .jjcTSearchHeading--district,
	:root .jjcTSearchArea > .jjc-tile-areas {
		grid-row: auto;
		grid-column: 1;
	}

	:root .jjcTSearchArea > .jjc-tile-areas {
		min-block-size: 0;
	}

	.jjcTSearchGrid--cities {
		margin-inline: auto !important;
	}
}

/* お役立ち情報：見出しは「〜マメ知識」で、右の丸い矢印は無い（旧サイト） */
.jjcTFront .jjcUsefulColTitle a::after {
	content: none;
}

/* ---------- 6. フッター ---------- */
:root .jjcTFooter {
	margin-block-start: 60px;
	padding: 0;
	border-block-start: 20px solid #bccbdf;
	background: #e4eaf3;
	color: #000;
}

:root .wp-site-blocks > footer:has(> .jjcTFooter) {
	margin-block-start: 0;
}

:root .jjcTFooter > *,
:root .jjcTFooterInner > *,
:root .jjcTFooterMenu > *,
:root .jjcTFooterCol > * {
	margin-block: 0;
}

.jjcTFooterInner {
	position: relative;
	box-sizing: border-box;
	max-inline-size: 1200px;
	margin-inline: auto;
	padding: 30px var(--onestar-gutter, 1rem) 40px;
}

.jjcTFooterCatch {
	margin-block-end: 16px !important;
	color: #243684;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-align: center;
}

.jjcTFooterStaff,
.jjcTFooterLogo {
	margin-inline: auto !important;
	text-align: center;
}

.jjcTFooterStaff img {
	display: block;
	inline-size: 324px;
	max-inline-size: 100%;
	block-size: auto;
	margin-inline: auto;
}

.jjcTFooterLogo img {
	inline-size: 330px;
	max-inline-size: 100%;
	block-size: auto;
}

.jjcTFooterMenu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 20px 3px;
	margin-block-start: 24px !important;
}

.jjcTFooterHeading {
	margin-block-end: 8px !important;
	color: #243684;
	font-family: inherit;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.1em;
	line-height: 21px;
}

.jjcTFooterList {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 21px;
}

:root .jjcTFooterList > li {
	margin: 0 0 8px;
}

.jjcTFooterList a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #333;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.jjcTFooterList a::before {
	content: "\f054";
	display: inline-grid;
	place-items: center;
	inline-size: 16px;
	block-size: 16px;
	border-radius: 50%;
	background: #243684;
	color: #fff;
	font: normal normal normal 8px/1 "jjc-icons";
}

.jjcTFooterList a:is(:hover, :focus-visible) {
	text-decoration: underline;
}

:root .jjcTFooterBtns {
	gap: 8px;
	margin-block-start: 4px;
}

.jjcTFooterBtns .wp-block-button,
.jjcTFooterBtns .wp-block-button__link {
	inline-size: 175px;
	box-sizing: border-box;
}

.jjcTFooterBtns .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 4px 10px;
	border-radius: 3px;
	background: var(--jjc-t-pink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 20px;
}

.jjcTFooterBtns .wp-block-button__link::before {
	content: "\f054";
	font: normal normal normal 10px/1 "jjc-icons";
}

/* コピーライト：高さ 76px・水色・白 15px・中央（旧サイト #copyright） */
:root .jjcTFooterCredit {
	margin: 0;
	padding: 0;
	background: var(--jjc-t-blue);
	color: #fff;
	text-align: center;
}

:root .jjcTFooterCredit p {
	margin: 0;
	padding-block: 26px;
	font-size: 15px;
	letter-spacing: 0.1em;
	line-height: 24px;
}

/* スマホのフッターの頭：旧サイトのスマホと同じ白い箱 2 つ（「24時間メール相談」・電話 3 本）。そのあとに下のリンクの一覧。
 * 箱の形は宮古・石垣と同じ部品（assets/site.css 6 章の .jjcFooterInner の中の .jjcFooterBook・.jjcFooterContact）。PC では出さない
 * （2026-11-17 マッキーさん「スマホにも電話番号 3 つとメール相談のボタンに加えてリンクの一覧も」） */
:root .jjcTFooter > .jjcTFooterSp {
	padding-block-start: 30px;
}

@container onestarSiteFooter (inline-size >= 48rem) {
	:root .jjcTFooter > .jjcTFooterSp {
		display: none;
	}
}

/* PC：旧サイトの寸法。本の形の画像 1200×378 を 37px 上へ重ね、スタッフ写真を左 0・上 78px、ロゴを右上、3 列のリンクを右下（左 615px・上 178px） */
@container onestarSiteFooter (inline-size >= 74.9rem) {
	:root .jjcTFooter .jjcTFooterInner {
		block-size: 378px;
		margin-block-start: -37px;
		padding: 0;
		background: url("footer-bg.webp") 0 0 / 1200px 378px no-repeat;
	}

	:root .jjcTFooterInner > .jjcTFooterCatch {
		position: absolute !important;
		inline-size: 1px;
		block-size: 1px;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	:root .jjcTFooterInner > .jjcTFooterStaff {
		position: absolute;
		inset-block-start: 78px;
		inset-inline-start: 0;
		margin: 0 !important;
	}

	:root .jjcTFooterInner > .jjcTFooterLogo {
		position: absolute;
		inset-block-start: 66px;
		inset-inline-start: 615px;
		margin: 0 !important;
	}

	:root .jjcTFooterInner > .jjcTFooterMenu {
		position: absolute;
		inset-block-start: 178px;
		inset-inline-start: 615px;
		grid-template-columns: repeat(3, 193px);
		inline-size: 585px;
		margin: 0 !important;
		padding-block-start: 15px;
	}

	:root .jjcTFooterCredit p {
		padding-block: 0;
		line-height: 76px;
	}
}

/* 検索結果の見出し：旧サイトの画像（上の白い三角・左右の線・八角形の黒い札「検索結果」。basic-nittaku-tedako.png から切り出し。2026-11-10） */
:root .jjcTFront .jjc-tile-results__title {
	display: block;
	inline-size: 308px;
	max-inline-size: 100%;
	block-size: 140px;
	margin: 0 auto 30px;
	padding: 0;
	background: url("result-head.webp") center top / 308px 140px no-repeat;
}

.jjc-tile-results__title::before,
.jjc-tile-results__title::after {
	content: none;
}

:root .jjcTFront .jjc-tile-results__title span {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.jjc-tile-results::before {
	content: none;
}


/* ---------- 7. 記事ページの配色（「お客様向け情報」/customer/ から。2026-11-11 マッキーさん） ----------
 * キーカラーは水色。大見出しの帯は淡い水色、カードは白を基調に写真を引き立て、「詳しくはこちら」は深い青のボタンにそろえる。
 * てだこ店の記事・固定ページの本文すべて（2026-11-11 マッキーさん「そろえてください」。最初は /customer/ だけ、次に /owner/ など 5 ページ、そのあと全部に）。
 * 共通ヘッダー・フッター・お問い合わせボタンは変えない。本文の CSS（post-content.css）は後に読まれるので、body を足して同じ強さの指定に勝つ。
 * 本文の形は assets/post-content.css（旧サイトの style-post.css を変換したもの）のまま、色だけ上書きする */

/* 1. セクションの大見出し（旧サイトのグレーの帯） */
:root body .jjcPostContent h2 {
	border-inline-start: 4px solid rgb(49, 167, 210);
	background-color: rgb(230, 245, 251);
	color: rgb(24, 58, 78);
}

/* 2. カードの見出し（写真の上の青い帯）：白地に濃紺の太字、アイコンは深い青 */
:root body .jjcPostContent .flex div h3 {
	background: rgb(255, 255, 255);
}

:root body .jjcPostContent .flex div h3 a,
:root body .jjcPostContent .flex div h3 a:visited {
	color: rgb(24, 58, 78);
	font-weight: 700;
}

:root body .jjcPostContent .flex div h3 a i {
	color: rgb(0, 110, 151);
}

/* 3. 写真の直下のキャッチコピー（左の縦線はそのまま、色だけ） */
:root body .jjcPostContent .flex div h4 {
	border-inline-start-color: rgb(49, 167, 210);
	color: rgb(24, 58, 78);
}

/* 4. 「詳しくはこちら」：深い青のボタン。背景色だけ 0.15 秒で切り替える（旧サイトの all 0.5s をやめる）。
 *    通常・訪問済みと、触れた・押したときの色を明示して、リンク用の CSS（水色の文字）に戻らないようにする */
:root body .jjcPostContent p.bt_x a,
:root body .jjcPostContent p.bt_x a:link,
:root body .jjcPostContent p.bt_x a:visited {
	background: rgb(0, 110, 151);
	color: rgb(255, 255, 255);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

:root body .jjcPostContent p.bt_x a:hover,
:root body .jjcPostContent p.bt_x a:active {
	background: rgb(0, 80, 115);
	color: rgb(255, 255, 255);
}

:root body .jjcPostContent p.bt_x a:focus-visible {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: 2px;
	color: rgb(255, 255, 255);
}

/* 5. 左のメニュー：外側の淡い地と、白い枠の中のリンク（アイコンは文字の色を使う） */
:root body .jjcPostSide {
	background: rgb(243, 249, 252);
}

:root body .jjcPostSideBox a,
:root body .jjcPostSideBox a:visited {
	color: rgb(0, 110, 151);
}

/* 6. ページ冒頭の「お客様向け情報」の札（旧サイトの黄色） */
:root body .jjcPostContent p.page_parent {
	background: rgb(230, 245, 251);
	color: rgb(0, 80, 115);
}

/* ---------- 8. 記事ページの続き（2026-11-11 マッキーさん） ---------- */

/* カードの「詳しくはこちら」の位置をそろえる：カードを縦の並びにして、ボタンを下端に（説明文の長さが違っても横で揃う） */
:root body .jjcPostContent .flex > div {
	display: flex;
	flex-direction: column;
}

:root body .jjcPostContent .flex > div > p.bt_x {
	margin-block-start: auto;
	padding-block-start: 0.5em;
}

/* 左のメニューの「MENU」：紺の画像をやめ、賃貸物件の一覧の「検索条件」と同じ（水色の地・上が丸い・白い字）。てだこ店の全ページ */
:root .jjcPostSide > .jjcPostSideMenu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	block-size: 34px;
	border-radius: 50% 50% 0 0 / 9px 9px 0 0;
	background: var(--jjc-c-blue, #0089c4);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.4em;
	line-height: 1;
	user-select: auto;
}

/* 旧サイトの MENU の札のアイコン（白） */
:root .jjcPostSide > .jjcPostSideMenu::before {
	content: "";
	inline-size: 15px;
	block-size: 15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 2.5v5l7 7 6-6-7-7h-5a1 1 0 0 0-1 1z' fill='%23fff'/%3E%3Ccircle cx='4.6' cy='4.6' r='1.3' fill='%230089c4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* フッターメニュー：紺（#243684）を「詳しくはこちら」と同じ深い青に。丸の中の右矢印は線で描いて、丸の真ん中に置く */
:root .jjcTFooterHeading {
	color: rgb(0, 110, 151);
}

:root .jjcTFooterList a::before {
	content: "";
	flex: none;
	background: rgb(0, 110, 151) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.6 4.6 10 8l-3.4 3.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	font: inherit;
}

/* ----- 記事の下段の「サービス」（.contents_menu。○○関連のサービス。てだこ店の記事ページすべて）：補助のリンクとして落ち着いた見た目に -----
 * 本文の CSS（post-content.css）はこのファイルの後に読まれるので、body を足して同じ強さの指定に勝つ */
:root body .jjcPostContent .contents_menu {
	padding: 1.5em 0 0.5em;
	border: 0;
	background: rgb(243, 249, 252);
}

:root body .jjcPostContent .contents_menu h4 {
	color: rgb(24, 58, 78);
}

:root body .jjcPostContent .contents_menu h4::before,
:root body .jjcPostContent .contents_menu h4::after {
	border-top-color: rgb(190, 220, 232);
}

:root body .jjcPostContent .contents_menu .flex {
	align-items: stretch;
}

:root body .jjcPostContent .contents_menu .flex > div {
	display: flex;
	flex-direction: column;
	border: 1px solid rgb(205, 226, 235);
	background: rgb(255, 255, 255);
	box-shadow: none;
}

:root body .jjcPostContent .contents_menu h5 a,
:root body .jjcPostContent .contents_menu h5 a:visited {
	color: rgb(24, 58, 78);
}

:root body .jjcPostContent .contents_menu h5 i {
	color: rgb(0, 110, 151);
}

/* カードの「詳しくはこちら」：白地に深い青の字と枠。触れた・押したときは深い青の地に白。下端に揃える */
:root body .jjcPostContent .contents_menu .flex > div > p.bt_x {
	margin-block-start: auto;
}

:root body .jjcPostContent .contents_menu p.bt_x a,
:root body .jjcPostContent .contents_menu p.bt_x a:link,
:root body .jjcPostContent .contents_menu p.bt_x a:visited {
	border: 1px solid rgb(0, 110, 151);
	background: rgb(255, 255, 255);
	color: rgb(0, 110, 151);
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

:root body .jjcPostContent .contents_menu p.bt_x a:hover,
:root body .jjcPostContent .contents_menu p.bt_x a:active {
	border-color: rgb(0, 80, 115);
	background: rgb(0, 80, 115);
	color: rgb(255, 255, 255);
}

:root body .jjcPostContent .contents_menu p.bt_x a:focus-visible {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: 2px;
}

/* ----- 退去について（/customer/move-out/） ----- */
/* 1. 退去申請フォーム（いちばん大事な操作）：本文の中の .bt-list の橙の枠を、深い青の塗りのボタンに */
:root .jjc-page-move-out .jjcPostContent .bt-list li {
	color: rgb(24, 58, 78);
	font-weight: 700;
}

:root .jjc-page-move-out .jjcPostContent .bt-list li a,
:root .jjc-page-move-out .jjcPostContent .bt-list li a:link,
:root .jjc-page-move-out .jjcPostContent .bt-list li a:visited {
	margin-block-start: 0.5em;
	border: 0;
	background: rgb(0, 110, 151);
	color: rgb(255, 255, 255);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

:root .jjc-page-move-out .jjcPostContent .bt-list li a:hover,
:root .jjc-page-move-out .jjcPostContent .bt-list li a:active {
	background: rgb(0, 80, 115);
	color: rgb(255, 255, 255);
}

:root .jjc-page-move-out .jjcPostContent .bt-list li a:focus-visible {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: 3px;
}

/* 2. 小見出し（公共料金の精算・ゴミの処分 など）：白地に濃紺の太字、アイコンは深い青。
 *    本文の h3 には ONEsta の見出しの飾り（data-onesta-heading="left-border" の ::before：紺の短い線）が付くので、大きさ・地を戻す */
:root .jjc-page-move-out .jjcPostContent h3 {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0;
	background: none;
	color: rgb(24, 58, 78);
	font-weight: 700;
}

:root .jjc-page-move-out .jjcPostContent h3::before {
	content: "\f138";
	display: inline-block;
	flex: none;
	inline-size: auto;
	block-size: auto;
	margin: 0;
	border: 0;
	background: none;
	color: rgb(0, 110, 151);
	font: normal normal normal 1em/1 "jjc-icons";
}

:root .jjc-page-move-out .jjcPostContent h3 span {
	color: inherit !important;
}

/* 手続きの説明（旧サイトの赤字）：説明は濃紺、読み落としてほしくない語句だけ濃い赤の太字（tools/tedako-move-out.php が印を付ける） */
:root .jjc-page-move-out .jjcPostContent .jjcTNote {
	display: block;
	padding-inline-start: 1em;
	color: rgb(24, 58, 78);
}

:root .jjc-page-move-out .jjcPostContent .jjcTWarn {
	color: rgb(161, 48, 48);
	font-weight: 700;
}

/* 3. 本文の最後の「一ヶ月前の申告」の注意書き：淡い地・左の線の注意欄。スマホでも自然に折り返す */
:root .jjc-page-move-out .jjcPostContent .jjcTNotice {
	margin: 2em 0 1.5em;
	padding: 0.9em 1em 0.9em 1.1em;
	border-inline-start: 4px solid rgb(49, 167, 210);
	background: rgb(243, 249, 252);
	color: rgb(24, 58, 78);
	font-size: 1.05em;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

:root .jjc-page-move-out .jjcPostContent .jjcTNotice strong {
	font-weight: 700;
}

/* 4. 退去に関する電話相談：白地・細い枠。電話番号は大きく太く（スマホは押すと電話。tel: は tools/tedako-move-out.php） */
:root .jjc-page-move-out .jjcPostContent .call {
	display: block;
	max-inline-size: 30em;
	margin: 1.5em auto;
	padding: 1.2em 1.5em;
	border: 1px solid rgb(190, 220, 232);
	background: rgb(255, 255, 255);
	color: rgb(24, 58, 78);
	text-align: center;
}

:root .jjc-page-move-out .jjcPostContent .call p:first-child {
	margin-block-end: 0.4em;
	font-size: 1.15em;
	font-weight: 700;
}

:root .jjc-page-move-out .jjcPostContent .call p i {
	color: rgb(0, 110, 151);
}

:root .jjc-page-move-out .jjcPostContent .call a,
:root .jjc-page-move-out .jjcPostContent .call a:visited {
	color: rgb(0, 110, 151);
	font-size: clamp(1.8em, 6vw, 2.6em);
	font-weight: 900;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

:root .jjc-page-move-out .jjcPostContent .call a:focus-visible {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: 2px;
}

/* 旧サイトの問い合わせボタンの跡（中身が無い灰色の小さな枠）は出さない */
:root .jjc-page-move-out .jjcPostContent .contact:not(:has(a, img)) {
	display: none;
}

/* ----- 小学校区域（/customer/kouku/）：旧サイトのタブ（浦添市・宜野湾市。ラジオボタンの切り替え）を戻し、学校ごとの区域を読みやすく ----- */
:root .jjc-page-kouku .jjcPostContent .tab-wrap {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 2em;
	padding: 0 0 1.5em;
	border: 1px solid rgb(205, 226, 235);
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

:root .jjc-page-kouku .jjcPostContent .tab-switch {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

:root .jjc-page-kouku .jjcPostContent .tab-label {
	order: -1;
	flex: 1 1 0;
	padding: 0.9em 1em;
	border-block-end: 3px solid rgb(205, 226, 235);
	background: rgb(243, 249, 252);
	color: rgb(24, 58, 78);
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

:root .jjc-page-kouku .jjcPostContent .tab-label:hover {
	background: rgb(230, 245, 251);
}

:root .jjc-page-kouku .jjcPostContent .tab-switch:checked + .tab-label {
	border-block-end-color: rgb(0, 110, 151);
	background: #fff;
	color: rgb(0, 110, 151);
}

:root .jjc-page-kouku .jjcPostContent .tab-switch:focus-visible + .tab-label {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: -4px;
}

:root .jjc-page-kouku .jjcPostContent .tab-content {
	display: none;
	inline-size: 100%;
	padding: 1.2em 1.2em 0;
}

:root .jjc-page-kouku .jjcPostContent .tab-switch:checked + .tab-label + .tab-content {
	display: block;
}

/* 切り替えのボタンが無い・どれも選んでいないときは、全部出す（中身が見えなくならないように） */
:root .jjc-page-kouku .jjcPostContent .tab-wrap:not(:has(.tab-switch:checked)) .tab-content {
	display: block;
}

:root .jjc-page-kouku .jjcPostContent .tab-content figure {
	margin: 0 0 1.5em;
	text-align: center;
}

:root .jjc-page-kouku .jjcPostContent .tab-content figure img {
	max-inline-size: 100%;
	block-size: auto;
	border: 1px solid rgb(205, 226, 235);
}

/* 学校ごとの区域：色（地図の色分けと同じ。本文の style）は残し、角を丸めて余白をとる */
:root .jjc-page-kouku .jjcPostContent .tab-content dl {
	margin: 0 0 1em;
	padding: 0.9em 1.1em;
	border-radius: 6px;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.3em 1em;
	margin-block-end: 0.5em;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dt h3 {
	margin: 0;
	padding: 0;
	background: none;
	color: rgb(24, 58, 78);
	font-size: 1.2em;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dt a {
	padding: 0.2em 0.8em;
	border: 1px solid rgb(0, 110, 151);
	border-radius: 999px;
	background: #fff;
	color: rgb(0, 110, 151);
	font-size: 0.8em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dd ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dd li {
	margin: 0;
	padding: 0.35em 0;
	border-block-start: 1px dashed rgb(0 0 0 / 15%);
	color: rgb(24, 58, 78);
	line-height: 1.7;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dd li:first-child {
	border-block-start: 0;
}

:root .jjc-page-kouku .jjcPostContent .tab-content dd li span {
	display: inline-block;
	min-inline-size: 5em;
	margin-inline-end: 0.5em;
	font-weight: 700;
}

/* ----- 4 つのサービス（/owner/services/）：仲介力・情報力・管理力・企画力を番号付きのカードに、契約管理までの流れを番号付きの手順に ----- */
:root .jjc-page-services .jjcPostContent .flex-2col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18em), 1fr));
	gap: 1.2em;
	margin-block-end: 2em;
}

:root .jjc-page-services .jjcPostContent .flex-2col > div {
	display: grid;
	gap: 1em;
	align-content: start;
}

:root .jjc-page-services .jjcPostContent .services :is(.services1, .services2, .services3, .services4) {
	position: relative;
	margin: 0;
	padding: 1.1em 1.2em 1em 4.2em;
	border: 1px solid rgb(205, 226, 235);
	border-radius: 6px;
	background: #fff;
}

:root .jjc-page-services .jjcPostContent .services :is(.services1, .services2, .services3, .services4)::before {
	position: absolute;
	inset-block-start: 1em;
	inset-inline-start: 1em;
	display: grid;
	place-items: center;
	inline-size: 2.2em;
	block-size: 2.2em;
	border-radius: 50%;
	background: rgb(0, 110, 151);
	color: #fff;
	font-weight: 700;
	line-height: 1;
}

:root .jjc-page-services .jjcPostContent .services .services1::before { content: "1"; }
:root .jjc-page-services .jjcPostContent .services .services2::before { content: "2"; }
:root .jjc-page-services .jjcPostContent .services .services3::before { content: "3"; }
:root .jjc-page-services .jjcPostContent .services .services4::before { content: "4"; }

:root .jjc-page-services .jjcPostContent .services dt {
	margin: 0 0 0.4em;
	padding: 0;
	border: 0;
	background: none;
	color: rgb(24, 58, 78);
	font-size: 1.3em;
	font-weight: 700;
	line-height: 1.4;
}

:root .jjc-page-services .jjcPostContent .services dt::before,
:root .jjc-page-services .jjcPostContent .services dt::after {
	content: none;
}

:root .jjc-page-services .jjcPostContent .services dd {
	margin: 0 0 0.3em;
	padding: 0;
	color: #333;
	line-height: 1.8;
}

/* 情報力・企画力の項目は小さな札に */
:root .jjc-page-services .jjcPostContent .services dd ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	margin: 0.5em 0 0;
	padding: 0;
	list-style: none;
}

:root .jjc-page-services .jjcPostContent .services dd li {
	margin: 0;
	padding: 0.2em 0.7em;
	border-radius: 999px;
	background: rgb(230, 245, 251);
	color: rgb(0, 80, 115);
	font-size: 0.9em;
}

:root .jjc-page-services .jjcPostContent .services dd li::before {
	content: none;
}

/* 仲介力の下の「高い入居率の維持」と、入居率・アパート経営安定 */
:root .jjc-page-services .jjcPostContent .flex-2col > div > p {
	margin: 0.3em 0 -0.4em;
	color: rgb(0, 80, 115);
	font-weight: 700;
}

:root .jjc-page-services .jjcPostContent .services :is(.services1-1, .services1-2) {
	margin: 0;
	padding: 0.8em 1.1em;
	border-inline-start: 4px solid rgb(49, 167, 210);
	background: rgb(243, 249, 252);
}

:root .jjc-page-services .jjcPostContent .services :is(.services1-1, .services1-2) dt {
	font-size: 1.1em;
}

/* 契約管理までの流れ：淡い水色の枠に、番号の手順を縦に */
:root .jjc-page-services .jjcPostContent .servicesBlue {
	margin: 0 0 2em;
	padding: 1.2em 1.4em 0.6em;
	border-radius: 6px;
	background: rgb(243, 249, 252);
	color: rgb(24, 58, 78);
}

:root .jjc-page-services .jjcPostContent .servicesBlue h2 {
	margin: 0 0 1em;
}

:root .jjc-page-services .jjcPostContent .servicesBlue h3 {
	margin: 1.1em 0 0.3em;
	padding: 0 0 0 0.7em;
	border-inline-start: 4px solid rgb(0, 110, 151);
	background: none;
	color: rgb(24, 58, 78);
	font-size: 1.15em;
}

:root .jjc-page-services .jjcPostContent .servicesBlue p {
	margin: 0 0 0.6em;
	padding-inline-start: 1.1em;
	line-height: 1.8;
}

/* ---------- 9. 入居申込（/application2/。申込書の PDF のダウンロード。tools/tedako-application.php。2026-11-12 マッキーさん） ----------
 * 本店の入居申込書のダウンロード（stores/honsha/site.css 11 章）と同じ形を、てだこ店の水色・白・濃紺で。
 * 注意は淡い地と左の線の枠。個人・法人の 2 列（スマホは 1 列）。区分ごとのカードに、PDF の札と「ダウンロード」の付いた行。 */
:root body .jjcPostContent .jjcTApplyNote {
	margin: 20px 0 28px;
	padding: 14px 18px;
	border-inline-start: 4px solid rgb(49, 167, 210);
	background: rgb(243, 249, 252);
	color: rgb(24, 58, 78);
	font-size: 15px;
	line-height: 1.9;
}

:root body .jjcPostContent .jjcTApplyNote a,
:root body .jjcPostContent .jjcTApplyNote a:visited {
	color: rgb(0, 110, 151);
	font-weight: 700;
	white-space: nowrap;
}

:root body .jjcPostContent .jjcTApplyCols {
	gap: 28px;
	margin: 0;
}

:root body .jjcPostContent .jjcTApplyCols h2.wp-block-heading {
	margin: 0 0 14px;
}

:root body .jjcPostContent .jjcTApplyCard {
	margin: 0 0 16px;
	padding: 4px 18px 10px;
	border: 1px solid rgb(205, 226, 235);
	border-block-start: 3px solid rgb(0, 110, 151);
	border-radius: 8px;
	background: #fff;
}

:root body .jjcPostContent .jjcTApplyCard > h3.wp-block-heading {
	margin: 12px 0 6px;
	padding: 0;
	border: 0;
	background: none;
	color: rgb(24, 58, 78);
	font-size: 16px;
	font-weight: 700;
}

:root body .jjcPostContent .jjcTApplyCard > h3.wp-block-heading::before,
:root body .jjcPostContent .jjcTApplyCard > h3.wp-block-heading::after {
	content: none;
}

:root body .jjcPostContent .jjcTApplyFiles {
	margin: 0;
	padding: 0;
	list-style: none;
}

:root body .jjcPostContent .jjcTApplyFiles > li {
	margin: 0;
	padding: 0;
	border-block-end: 1px dashed rgb(205, 226, 235);
}

:root body .jjcPostContent .jjcTApplyFiles > li:last-child {
	border-block-end: 0;
}

:root body .jjcPostContent .jjcTApplyFiles > li::before {
	content: none;
}

:root body .jjcPostContent .jjcTApplyFiles a,
:root body .jjcPostContent .jjcTApplyFiles a:visited {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 4px;
	color: rgb(24, 58, 78);
	font-weight: 700;
	text-decoration: none;
}

/* 「PDF」の札 */
:root body .jjcPostContent .jjcTApplyFiles a::before {
	content: "PDF";
	flex: none;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgb(161, 48, 48);
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.05em;
	line-height: 1.4;
}

/* 右端の「ダウンロード」（深い青の枠。触れると深い青の地に白） */
:root body .jjcPostContent .jjcTApplyFiles a::after {
	content: "ダウンロード";
	flex: none;
	margin-inline-start: auto;
	padding: 2px 10px;
	border: 1px solid rgb(0, 110, 151);
	border-radius: 999px;
	color: rgb(0, 110, 151);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	transition: background-color 0.15s ease, color 0.15s ease;
}

:root body .jjcPostContent .jjcTApplyFiles a:hover,
:root body .jjcPostContent .jjcTApplyFiles a:focus-visible {
	color: rgb(0, 80, 115);
}

:root body .jjcPostContent .jjcTApplyFiles a:hover::after,
:root body .jjcPostContent .jjcTApplyFiles a:focus-visible::after {
	background: rgb(0, 80, 115);
	color: #fff;
}

:root body .jjcPostContent .jjcTApplyFiles a:focus-visible {
	outline: 2px solid rgb(0, 80, 115);
	outline-offset: 2px;
}

/* 「弊社管理物件についてのご相談は」（本文の .call の 1 行目）：スマホで最後の「は」だけが次の行に残っていた（2026-11-20 マッキーさん）。
 * スマホでは左右の余白を少し詰め、文字を画面の幅に合わせて小さくして 320px の幅でも 1 行に収める。それでも収まらないとき
 * （文字を大きくしているなど）は行の長さをそろえる（text-wrap: balance。
 * 対応していないブラウザは今まで通りの折り返し）。退去のページの電話相談（.jjc-page-move-out の .call）は上の指定のまま。
 * 本文の CSS（post-content.css）は後に読まれるので、body を足して同じ強さの指定に勝つ */
@container onestarViewport (inline-size < 48rem) {
	:root body .jjcPostContent .call {
		padding-inline: 1em;
	}

	:root body .jjcPostContent .call p:first-child {
		font-size: clamp(0.75em, 4.2cqi, 128%);
		text-wrap: balance;
	}
}
