/* =========================================================
   にとる夫婦テーマ
   色は我が家の写真から：白い壁・オークの床・スチールの階段
   ========================================================= */

:root {
	--paper: #ffffff;      /* 背景（白い壁） */
	--plaster: #f6f4f1;    /* 面の背景 */
	--line: #e4dfd8;       /* 罫線 */
	--oak: #b8905f;        /* 床のオーク：線・印だけに使う */
	--oak-deep: #7a5b36;   /* 文字に使えるオーク（白地でコントラスト6:1以上） */
	--steel: #6b7075;      /* 補足の文字（階段のスチール） */
	--ink: #33312e;        /* 本文 */

	--font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	--gutter: 16px;
	--max: 1080px;
	--radius: 6px;
	--mobile-nav-h: 60px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .02em;
	overflow-wrap: anywhere;
	/* スマホ下部メニューの分 */
	padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--oak-deep); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--oak-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { line-height: 1.5; font-weight: 700; margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--gutter); top: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; }

.pc-only { display: none; }

/* ---------- ボタン ---------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 24px;
	border: 1px solid var(--oak-deep);
	border-radius: var(--radius);
	background: var(--oak-deep);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	text-align: center;
}
.button:hover { background: #654a2b; border-color: #654a2b; }
.button--ghost { background: transparent; color: var(--oak-deep); }
.button--ghost:hover { background: var(--plaster); color: var(--oak-deep); }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 12px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-logo { display: inline-flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1.3; }
.site-logo__name { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.site-logo__tagline { font-size: 11px; color: var(--steel); letter-spacing: .1em; }

.global-nav { display: none; }
.global-nav .menu { display: flex; gap: 4px 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.global-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; display: block; }
.global-nav a:hover,
.global-nav .current-menu-item > a,
.global-nav .current-menu-ancestor > a,
.global-nav .current-post-ancestor > a,
.global-nav .current-category-ancestor > a { color: var(--oak-deep); box-shadow: inset 0 -2px 0 var(--oak); }

/* ---------- スマホ下部メニュー（Instagramと同じ位置に指が届く） ---------- */
.mobile-nav {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
	backdrop-filter: blur(8px);
}
.mobile-nav .menu { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--mobile-nav-h);
	color: var(--ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
.mobile-nav .current-menu-item > a { color: var(--oak-deep); box-shadow: inset 0 2px 0 var(--oak); }

/* ---------- ヒーロー ---------- */
.hero { display: grid; }
.hero__media { background: var(--plaster); }
.hero__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .hero__img { aspect-ratio: 4 / 5; } }
.hero__text { padding: 28px var(--gutter) 8px; }
.hero__title { font-size: clamp(28px, 8vw, 50px); line-height: 1.35; letter-spacing: .06em; }
.hero__lead { margin: 16px 0 0; color: var(--ink); font-size: 15px; line-height: 2; }
.hero__actions { display: grid; gap: 12px; margin-top: 24px; }

/* ---------- セクション ---------- */
.section { padding: 48px 0; }
.section--tinted { background: var(--plaster); }
.section__title { font-size: 21px; letter-spacing: .06em; margin-bottom: 20px; }
.section__lead { margin: -8px 0 20px; color: var(--steel); font-size: 14px; }
.section__more { margin: 24px 0 0; text-align: center; font-size: 14px; }

/* ---------- にとる夫婦の家（寸法線＋表題欄） ---------- */
.house__drawing { border: 1px solid var(--ink); }
.dims {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 12px;
	margin: 0;
	padding: 22px 14px 18px;
	border-bottom: 1px solid var(--ink);
}
.dim { display: flex; flex-direction: column; align-items: stretch; text-align: center; min-width: 0; }
.dim__value {
	order: 1;
	margin: 0;
	font-size: clamp(26px, 8vw, 40px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.dim__value small { font-size: max(12px, .45em); font-weight: 500; margin: 0 .1em; }
/* 寸法線：両端に止め線のある細い線 */
.dim__value::after {
	content: "";
	display: block;
	height: 9px;
	margin-top: 8px;
	border-left: 1px solid var(--oak);
	border-right: 1px solid var(--oak);
	background: linear-gradient(var(--oak), var(--oak)) center / 100% 1px no-repeat;
}
.dim__label { order: 2; margin-top: 6px; font-size: 12px; color: var(--steel); letter-spacing: .1em; }

.titleblock { width: 100%; border-collapse: collapse; font-size: 14px; }
.titleblock th,
.titleblock td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.5; }
.titleblock tr:last-child th,
.titleblock tr:last-child td { border-bottom: 0; }
.titleblock th { width: 7.5em; color: var(--steel); font-weight: 500; font-size: 12px; letter-spacing: .08em; border-right: 1px solid var(--line); }

.house__note { margin-top: 20px; }
.house__text { margin: 0 0 20px; }

/* ---------- 記事カード ---------- */
.card-list { display: grid; gap: 28px; }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__thumb { position: relative; background: var(--plaster); overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__noimage { position: absolute; inset: 0; display: grid; place-items: center; color: var(--steel); font-size: 13px; letter-spacing: .1em; }
.card__body { padding-top: 12px; }
.card__cat { display: inline-block; font-size: 12px; color: var(--oak-deep); font-weight: 700; letter-spacing: .06em; }
.card__title { font-size: 17px; line-height: 1.6; margin-top: 2px; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: .25em; }
.card__excerpt {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--steel);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__date { display: block; margin-top: 6px; font-size: 12px; color: var(--steel); }

/* 写真左・文字右 */
.card-list--row { gap: 0; border-top: 1px solid var(--line); }
.card--row { border-bottom: 1px solid var(--line); }
.card--row .card__link { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px 0; align-items: center; }
.card--row .card__thumb { aspect-ratio: 1 / 1; }
.card--row .card__body { padding-top: 0; }
.card--row .card__title { font-size: 15px; }
.card--row .card__noimage { font-size: 11px; }

/* ---------- カテゴリー ---------- */
.topics { display: grid; gap: 12px; }
.topic { background: var(--paper); border-radius: var(--radius); padding: 20px; }
.topic__title { font-size: 19px; }
.topic__title a { color: var(--ink); text-decoration: none; }
.topic__title a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-top: 2px solid var(--oak); border-right: 2px solid var(--oak); transform: translateY(-3px) rotate(45deg); }
.topic__desc { margin: 2px 0 12px; font-size: 13px; color: var(--steel); }
.topic__children { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic__children a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 13px;
	text-decoration: none;
}
.topic__children a:hover { border-color: var(--oak); color: var(--oak-deep); }

/* ---------- Instagram ---------- */
.instagram__box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; text-align: center; }
.instagram__title { font-size: 19px; }
.instagram__text { margin: 10px 0 20px; font-size: 14px; }
.instagram__id { margin: 10px 0 0; font-size: 13px; color: var(--steel); }

/* ---------- ベルホームの紹介（控えめ） ---------- */
.referral--front { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0; }
.referral--single { margin-top: 48px; }
.referral__inner {
	padding: 20px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--oak);
	border-radius: 4px;
}
.referral__title { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.6; }
.referral__text { margin: 8px 0 16px; font-size: 14px; line-height: 1.9; }
.referral__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.referral__actions .button { min-height: 44px; font-size: 14px; padding: 8px 18px; }

/* ---------- 無料資料 ---------- */
.gift { background: var(--plaster); border-radius: var(--radius); padding: 28px 20px; }
.gift__title { font-size: 19px; }
.gift__list { margin: 12px 0 20px; padding-left: 1.2em; }

/* ---------- 一覧（カテゴリー・タグ・検索） ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.archive { padding-bottom: 24px; }
.archive__header { padding: 24px 0 20px; }
.archive__kind { margin: 0; font-size: 12px; color: var(--steel); letter-spacing: .1em; }
.archive__title { font-size: clamp(24px, 6.5vw, 30px); letter-spacing: .06em; }
.archive__desc { margin: 8px 0 0; font-size: 14px; color: var(--steel); }
.archive__count { margin: 0 0 16px; font-size: 13px; color: var(--steel); }

/* 絞り込みボタン：スマホでは横にスクロール */
.chips { margin: 0 calc(var(--gutter) * -1) 28px; }
.chips ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 2px var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.chips ul::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
.chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 4px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.chips a:hover { border-color: var(--oak); color: var(--oak-deep); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 探す場所（検索ページ・0件のとき・404）ではボタンを折り返して全部見せる */
.finder { margin-top: 36px; }
.finder__title { font-size: 17px; margin: 0 0 12px; }
.finder .chips { margin: 0 0 28px; }
.finder__group .chips { margin-bottom: 20px; }
.finder__parent {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.finder__parent::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-top: 2px solid var(--oak); border-right: 2px solid var(--oak); transform: translateY(-2px) rotate(45deg); }
.finder .chips ul { flex-wrap: wrap; overflow: visible; padding: 0; }
.chips--tags a { background: var(--plaster); border-color: var(--plaster); }

.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 8px 14px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 16px; /* iPhoneで入力時に拡大されない大きさ */
}
.search-form__input:focus { outline: 2px solid var(--oak-deep); outline-offset: 1px; }
.search-form__button {
	flex: none;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius);
	background: var(--oak-deep);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.search-form + .card-list,
.search-form + .archive__count { margin-top: 28px; }

.empty { padding: 32px 0 8px; }
.empty__text { margin: 0 0 20px; }

/* ページ送り */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	font-size: 15px;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; }

/* カテゴリー一覧ページ */
.category-index { display: grid; gap: 32px; }
.category-index__title { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.category-index__title a { color: var(--ink); text-decoration: none; }
.category-index__desc { margin: 8px 0 4px; font-size: 13px; color: var(--steel); }
.category-index__list { list-style: none; margin: 0; padding: 0; }
.category-index__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 8px 2px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}
.category-index__list a:hover { color: var(--oak-deep); }
.category-index__count { font-size: 12px; color: var(--steel); flex: none; }

.page-title { font-size: 24px; margin: 32px 0 20px; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 48px; background: var(--plaster); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 28px; }
.footer-nav { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav .menu { display: contents; list-style: none; }
.footer-nav a { color: var(--ink); font-size: 14px; text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-nav a:hover { color: var(--oak-deep); }
.site-disclaimer { margin: 24px 0 0; font-size: 12px; line-height: 1.7; color: var(--steel); }
.copyright { margin: 8px 0 0; font-size: 12px; color: var(--steel); }

/* =========================================================
   タブレット以上
   ========================================================= */
@media (min-width: 640px) {
	.hero__actions { grid-auto-flow: column; justify-content: start; }
	.card-list--grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
	.topics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.titleblock { font-size: 15px; }
}

/* =========================================================
   PC
   ========================================================= */
@media (min-width: 960px) {
	body { padding-bottom: 0; }
	.mobile-nav { display: none; }
	.global-nav { display: block; }
	.pc-only { display: inline; }

	.site-header__inner { padding: 18px var(--gutter); }
	.site-logo__name { font-size: 22px; }

	.hero {
		max-width: var(--max);
		margin: 0 auto;
		padding: 48px var(--gutter) 0;
		grid-template-columns: 1fr 1fr;
		gap: 56px;
		align-items: center;
	}
	.hero__media { order: 2; border-radius: 4px; overflow: hidden; }
	.hero__text { order: 1; padding: 0; }
	.hero__lead { font-size: 16px; }

	.section { padding: 72px 0; }
	.section__title { font-size: 24px; margin-bottom: 28px; }

	.house .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 56px; align-items: end; }
	.house .section__title { grid-column: 1 / -1; }
	.house__note { margin-top: 0; }
	.dims { padding: 32px 24px 24px; gap: 0 24px; }
	.dim__value { font-size: 44px; }

	.card-list--grid { grid-template-columns: repeat(3, 1fr); }
	.card-list--row { grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 0; }
	.card--row:nth-child(-n + 2) { border-top: 1px solid var(--line); }
	.card--row .card__link { grid-template-columns: 136px 1fr; }

	.topics { grid-template-columns: repeat(5, 1fr); gap: 12px; }
	.topic { padding: 18px 16px; }

	.category-index { grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
	.chips { margin-left: 0; margin-right: 0; }
	.chips ul { flex-wrap: wrap; overflow: visible; padding: 0; }

	.instagram__box { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* =========================================================
   STEP 6：スマホで押しやすく（指で押すところは高さ44pxを目安に）
   ========================================================= */
.site-logo__tagline { font-size: 12px; }
.card__noimage,
.card--row .card__noimage { font-size: 12px; }
.topic__title a,
.category-index__title a,
.finder__parent,
.section__more a { display: inline-flex; align-items: center; min-height: 44px; }
.finder__parent { margin-bottom: 4px; }
.topic__children a,
.chips a { min-height: 40px; }
.footer-nav a { padding: 10px 0; }

/* =========================================================
   施主ブログらしさ（書いている人が見える）
   ========================================================= */
.avatar { display: inline-flex; flex: none; border-radius: 50%; overflow: hidden; background: #efe6d8; }
.avatar img,
.avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }

.site-logo { flex-direction: row; align-items: center; gap: 10px; }
.site-logo__text { display: flex; flex-direction: column; min-width: 0; }
.site-logo--footer { flex-direction: column; }

.hero__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #efe6d8;
	color: var(--oak-deep);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.section--profile { padding: 32px 0 0; }
.profile {
	padding: 20px;
	border-radius: 12px;
	background: var(--plaster);
}
.profile__head { display: flex; align-items: center; gap: 14px; }
.profile__label { margin: 0; font-size: 12px; color: var(--steel); }
.profile__name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.profile__text { margin: 14px 0 12px; font-size: 15px; line-height: 1.9; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.profile__tags li {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--paper);
	font-size: 12px;
	color: var(--ink);
	line-height: 1.8;
}
.profile__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; font-size: 14px; }
.profile__links a { display: inline-flex; align-items: center; min-height: 44px; }
.profile--single { margin-top: 40px; }

@media (min-width: 960px) {
	.hero__media { border-radius: 16px; }
	.section--profile { padding-top: 56px; }
	.profile--front { padding: 28px 32px; }
	.profile--front .profile__text { max-width: 44em; }
}

/* =========================================================
   個人ブログのレイアウト（メイン画像・ピックアップ・サイドバー）
   ========================================================= */
:root { --radius-card: 10px; --wrap: 1120px; --side: 300px; }

/* スマホ：ヘッダー下の横にスライドできるメニュー */
.sp-nav { border-top: 1px solid var(--line); }
.sp-nav .menu {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 6px var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}
.sp-nav .menu::-webkit-scrollbar { display: none; }
.sp-nav li { flex: none; }
.sp-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.sp-nav .current-menu-item > a,
.sp-nav .current-menu-ancestor > a,
.sp-nav .current-post-ancestor > a,
.sp-nav .current-category-ancestor > a { background: #efe6d8; color: var(--oak-deep); }

/* メイン画像：写真の上に文字のカードを重ねる */
.mv { position: relative; }
.mv__media { background: var(--plaster); }
.mv__media .hero__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mv__text {
	position: relative;
	margin: -48px var(--gutter) 0;
	padding: 20px 20px 22px;
	border-radius: var(--radius-card);
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 6px 24px rgba(51, 49, 46, .08);
}
.mv__eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 12px;
	border-radius: 999px;
	background: #efe6d8;
	color: var(--oak-deep);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}
.mv__title { font-size: clamp(24px, 7vw, 40px); line-height: 1.4; letter-spacing: .05em; }
.mv__lead { margin: 10px 0 0; font-size: 14px; line-height: 1.9; }

/* 見出し：左に木の色の線 */
.heading {
	margin: 0 0 18px;
	padding-left: 12px;
	border-left: 4px solid var(--oak);
	font-size: 19px;
	line-height: 1.5;
	letter-spacing: .04em;
}

/* ピックアップ：スマホは横にスライド */
.pickup { padding: 36px 0 8px; }
.pickup__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: 14px;
	margin: 0 calc(var(--gutter) * -1);
	padding: 4px var(--gutter) 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.pickup__list::-webkit-scrollbar { display: none; }
.pickup__list .card { scroll-snap-align: start; }
.card--pickup .card__title { font-size: 15px; }

/* 本文＋サイドバー */
.l-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.l-main { min-width: 0; }
.l-main .container,
.l-main .article__container { max-width: none; padding-left: 0; padding-right: 0; }
.l-main .article__eyecatch { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.l-main .section { padding: 40px 0; }
.l-main .instagram .container { padding: 0; }
.block { margin: 40px 0; }
.block--profile-sp { margin-top: 32px; }
.sidebar { display: none; }

/* カード：角を丸く、写真の上にカテゴリー */
.card__thumb { border-radius: var(--radius-card); }
.card__badge {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--oak-deep);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.8;
}
.card--grid .card__title,
.card--pickup .card__title { margin-top: 0; }
.card--row .card__thumb { border-radius: 8px; }
.topic { border-radius: var(--radius-card); }

/* プロフィールの数字 */
/* 2026-10-03 本人要望：目立ちすぎないよう、枠なしの小さな1行に */
.profile__stats { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 12px; font-size: 12px; color: var(--steel); line-height: 1.6; }
.profile__stats div { display: flex; gap: 4px; }
.profile__stats div + div::before { content: "・"; margin: 0 4px; }
.profile__stats dt { font-size: inherit; }
.profile__stats dd { margin: 0; font-size: inherit; font-variant-numeric: tabular-nums; }
.profile__role { margin: 0; font-size: 12px; color: var(--oak-deep); font-weight: 700; }

/* 紹介の案内（トップのブロック・サイドバー） */
.referral--block,
.referral--sidebar { margin: 0; }

/* サイドバーの部品 */
.widget { margin-bottom: 36px; }
.widget__title { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 15px; letter-spacing: .06em; }
.widget .search-form__button { padding: 0 14px; }
.mini-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.mini-list li { counter-increment: rank; }
.mini-list a { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.6; }
.mini-list__thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--plaster); }
.mini-list__thumb::before { content: counter(rank); position: absolute; left: 0; top: 0; z-index: 1; width: 20px; height: 20px; display: grid; place-items: center; background: var(--oak-deep); color: #fff; font-size: 11px; font-weight: 700; border-bottom-right-radius: 6px; }
.mini-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-list a:hover .mini-list__title { text-decoration: underline; text-decoration-color: var(--oak); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.cat-list a::before { content: ""; width: 6px; height: 6px; margin-right: 10px; border-top: 2px solid var(--oak); border-right: 2px solid var(--oak); transform: rotate(45deg); }
.cat-list a:hover { color: var(--oak-deep); }
.sidebar .profile { padding: 18px; }
.sidebar .profile__links { gap: 0 16px; }

@media (min-width: 640px) {
	.pickup__list { grid-auto-columns: 46%; }
}

@media (min-width: 960px) {
	.sp-nav { display: none; }
	.mv { max-width: var(--wrap); margin: 24px auto 0; padding: 0 var(--gutter); }
	.mv__media { border-radius: 16px; overflow: hidden; }
	.mv__media .hero__img { aspect-ratio: 21 / 8; }
	.mv__text { position: absolute; left: calc(var(--gutter) + 40px); bottom: 40px; margin: 0; max-width: 460px; padding: 28px 32px; }
	.pickup { padding-top: 48px; }
	.pickup__list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
	.l-main .card-list--grid { grid-template-columns: repeat(2, 1fr); }
	.l-main .article__eyecatch { margin-left: 0; margin-right: 0; }
	.heading { font-size: 21px; }
}

@media (min-width: 1080px) {
	.l-wrap { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: 56px; align-items: start; }
	.sidebar { display: block; padding-top: 40px; }
	.block--profile-sp,
	.block--popular-sp,
	.block--referral-sp { display: none; }
	.topics { grid-template-columns: repeat(3, 1fr); }
}
.pickup .container { max-width: var(--wrap); }
.pickup__list { scroll-padding-inline: var(--gutter); }
@media (min-width: 960px) { .pickup__list { scroll-padding-inline: 0; } }
.profile__role { margin: 2px 0 0; font-size: 13px; line-height: 1.6; }
.profile__tags { margin-top: 14px; }
.profile__tags + .profile__text { margin-top: 12px; }
.profile__tags li { background: #efe6d8; color: var(--oak-deep); font-weight: 700; }
/* プロフィールはメイン画像のすぐ下（スマホ・タブレット）。PCは右のサイドバーの一番上 */
.profile-top { padding-top: 28px; }
.profile-top .container { max-width: var(--wrap); }
@media (min-width: 1080px) { .profile-top { display: none; } }
.l-main .pickup .container { padding: 0; }
@media (min-width: 1080px) { .l-main .pickup { padding-top: 40px; } }

/* =========================================================
   くらしご風：余白たっぷり・細い文字・英語＋日本語の見出し
   ========================================================= */
:root { --en: "Josefin Sans", "Zen Kaku Gothic New", sans-serif; --soft: #efe6d8; }

/* いちばん上の細い帯 */
.topbar { background: var(--plaster); font-size: 12px; color: var(--steel); }
.topbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.topbar__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar__sns { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 30px; color: var(--steel); flex: none; }
.topbar__sns:hover { color: var(--oak-deep); }

/* メニュー：日本語の下に英語 */
.global-nav a { display: flex; flex-direction: column; align-items: center; line-height: 1.3; padding: 8px 2px; }
.nav-ja { font-size: 14px; }
.nav-en { font-family: var(--en); font-size: 10px; letter-spacing: .12em; color: var(--steel); font-weight: 300; margin-top: 3px; }
.global-nav .current-menu-item > a,
.global-nav .current-menu-ancestor > a,
.global-nav .current-post-ancestor > a,
.global-nav .current-category-ancestor > a { box-shadow: none; }
.global-nav .current-menu-item .nav-ja,
.global-nav .current-post-ancestor .nav-ja,
.global-nav .current-category-ancestor .nav-ja { color: var(--oak-deep); }
.sp-nav .nav-en { display: none; }
.site-logo__name { font-weight: 500; letter-spacing: .12em; }

/* メイン画像：写真の真ん中に細い文字 */
.mv { max-width: none; margin: 0; padding: 0; }
.mv__media { border-radius: 0; }
.mv__media .hero__img { aspect-ratio: 16 / 11; }
.mv__text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 16px;
	max-width: none;
	border-radius: 0;
	box-shadow: none;
	text-align: center;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, 0) 75%);
}
.mv__title { font-weight: 400; font-size: clamp(24px, 6.6vw, 44px); letter-spacing: .16em; line-height: 1.6; }
.mv__lead { margin-top: 10px; font-size: clamp(12px, 3.4vw, 15px); letter-spacing: .12em; }

/* トップの中身：真ん中寄せで余白たっぷり */
.front { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.front__sec { padding: 56px 0 0; }
.front__sec--profile { padding-top: 40px; }
.front__sec--profile .profile { max-width: 720px; margin: 0 auto; }
.front + .instagram { margin-top: 56px; }

/* 見出し：線画＋英語（大きく細く）＋日本語（小さく） */
.sec-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.sec-head__icon { color: var(--oak); display: inline-flex; }
.sec-head__title { display: flex; flex-direction: column; align-items: center; margin: 0; }
.sec-head__en { font-family: var(--en); font-weight: 300; font-size: clamp(30px, 8vw, 42px); letter-spacing: .1em; line-height: 1.1; }
.sec-head__ja { margin-top: 6px; font-size: 13px; font-weight: 400; letter-spacing: .2em; color: var(--ink); }

/* カテゴリーのタブ */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab {
	position: relative;
	min-height: 44px;
	padding: 6px 12px;
	border: 0;
	background: var(--plaster);
	color: var(--ink);
	font: inherit;
	font-size: 13px;
	white-space: nowrap;
	cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--oak); color: #fff; font-weight: 700; }
.tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--oak); }

/* もっと見る */
.more { margin: 28px 0 0; text-align: center; }
.more__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 420px);
	min-height: 48px;
	padding: 0 40px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: 13px;
	letter-spacing: .08em;
	text-decoration: none;
}
.more__link::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.more__link:hover { border-color: var(--oak); color: var(--oak-deep); }

/* カード：カテゴリーは右上、日付に時計 */
.card__thumb { border: 1px solid var(--line); }
.card__badge { left: auto; right: 8px; top: 8px; font-weight: 500; color: var(--steel); }
.card__title { font-weight: 700; font-size: 15px; line-height: 1.65; }
.card__excerpt { display: none; }
.card__date { display: inline-flex; align-items: center; gap: 4px; }
.card__date::before { content: ""; width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 5px 2px / 1px 4px no-repeat, linear-gradient(currentColor, currentColor) 5px 5px / 3px 1px no-repeat; }
.front .card-list--grid { gap: 28px 20px; }

@media (min-width: 640px) {
	.front .card-list--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.mv__media .hero__img { aspect-ratio: 32 / 9; }
	.front .card-list--grid { grid-template-columns: repeat(3, 1fr); }
	.front__sec { padding-top: 88px; }
	.front__sec--profile { padding-top: 56px; }
	.global-nav .menu { gap: 4px 22px; }
}
@media (max-width: 959px) {
	.mv__text { background: rgba(255, 255, 255, .58); }
	.mv__lead { letter-spacing: .06em; line-height: 1.8; }
}
@media (min-width: 960px) {
	.mv__lead br { display: none; }
}
/* ロゴ：にとる夫婦（文字だけ） */
.site-logo__name { font-size: 22px; font-weight: 500; letter-spacing: .18em; }
@media (min-width: 960px) { .site-logo__name { font-size: 24px; } }
.mv__media .hero__img { object-position: center 45%; }
.mv__media .hero__img { object-position: center 25%; }
/* プロフィールの数字：4つ（延床・C値・UA値・断熱等級）。枠なしの小さな1行（上の「プロフィールの数字」） */
.profile__stats div { white-space: nowrap; }
@media (max-width: 959px) {
	/* 写真の緑や階段が見えるよう、白くするのは文字のまわりだけ */
	.mv__text { background: radial-gradient(ellipse 72% 58% at center, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0) 100%); }
}
.mv__media .hero__img { object-position: center 40%; }

/* ---------- トップの紹介記事への案内（2026-10-03） ---------- */
.front__sec--ref { padding-top: 24px; }
.ref-banner {
	display: grid; grid-template-columns: 1fr; max-width: 720px; margin: 0 auto;
	border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
	background: var(--paper); color: var(--ink); text-decoration: none;
	transition: box-shadow .2s;
}
.ref-banner:hover { box-shadow: 0 6px 20px rgba(51, 49, 46, .08); }
.ref-banner__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ref-banner__body { padding: 20px; }
.ref-banner__en { margin: 0; font-family: "Josefin Sans", var(--font); font-weight: 300; font-size: 12px; letter-spacing: .2em; color: var(--oak-deep); }
.ref-banner__title { margin: 6px 0 12px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.ref-banner__perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.ref-banner__perks li { padding: 2px 10px; border-radius: 999px; background: var(--plaster); font-size: 12px; color: var(--oak-deep); }
.ref-banner__more { align-self: flex-start; font-size: 14px; color: var(--oak-deep); border-bottom: 1px solid var(--oak); }
.ref-banner__more::after { content: " →"; }
@media (min-width: 720px) {
	.ref-banner { grid-template-columns: 2fr 3fr; }
	.ref-banner__media img { aspect-ratio: auto; min-height: 220px; }
	.ref-banner__body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
}
.referral__more { margin: -6px 0 14px; font-size: 14px; }

/* ---------- 公式LINEの案内（2026-10-04：トップ・記事の最後・サイドバー） ---------- */
.front__sec--gift { padding-top: 16px; }
.line-cta { max-width: 720px; margin: 0 auto; padding: 18px 18px 16px; border-radius: 12px; background: var(--plaster); text-align: center; }
.line-cta--single { margin: 28px auto 0; }
.line-cta__en { margin: 0; font-family: "Josefin Sans", var(--font); font-weight: 300; font-size: 11px; letter-spacing: .2em; color: #06a34a; }
.line-cta__title { margin: 2px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.line-cta__text { margin: 0 0 12px; font-size: 13px; line-height: 1.7; }
.line-cta__box-title { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.line-cta__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.line-cta__list li { padding: 1px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; line-height: 1.8; }
.line-cta .button { min-height: 40px; padding: 6px 20px; font-size: 14px; }
.line-cta__note { margin: 6px 0 0; font-size: 11px; color: var(--steel); }
@media (min-width: 720px) {
	.line-cta:not(.line-cta--sidebar) { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; align-items: center; padding: 20px 24px; text-align: left; }
	.line-cta:not(.line-cta--sidebar) .line-cta__text { margin: 0; }
	.line-cta:not(.line-cta--sidebar) .line-cta__list { justify-content: flex-start; }
}
.button--line { background: #06c755; border-color: #06c755; color: #fff; }
.button--line:hover { background: #05a847; border-color: #05a847; color: #fff; }
.wp-block-button.is-style-line .wp-block-button__link { background: #06c755; color: #fff; }

/* トップのプロフィールの幅を、紹介・LINEの案内とそろえる（2026-10-04） */
.profile--front { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- スマホの見直し（2026-10-08 本人要望「余白がなくて醜い」「文字がもう少し小さくてもいい」「写真にタイトル」） ---------- */
/* 記事カード：写真の上にタイトルを重ねる */
.card--grid .card__link { position: relative; border-radius: var(--radius-card); overflow: hidden; }
.card--grid .card__thumb { aspect-ratio: 4 / 3; border: 0; }
.card--grid .card__body {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 48px 16px 14px;
	background: linear-gradient(to top, rgba(38, 34, 30, .72) 0%, rgba(38, 34, 30, .45) 55%, rgba(38, 34, 30, 0) 100%);
	color: #fff;
}
.card--grid .card__title {
	color: #fff; font-size: 14px; line-height: 1.6; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; /* 写真が隠れないよう2行まで */
}
.card--grid .card__date { margin-top: 4px; font-size: 11px; color: rgba(255, 255, 255, .85); }
.card--grid .card__badge { background: rgba(255, 255, 255, .9); }
.card--grid .card__link:hover .card__title { text-decoration-color: #fff; }

@media (max-width: 959px) {
	:root { --gutter: 32px; } /* 2026-10-08 本人「まだ横に余白が少ない」で22→28→32px */
	body { font-size: 15px; }
	/* 上の帯・メニュー */
	.topbar { font-size: 11px; }
	.site-logo__name { font-size: 19px; }
	.nav-ja { font-size: 13px; }
	/* メイン画像の文字 */
	.mv__title { font-size: clamp(20px, 5.6vw, 30px); }
	.mv__lead { font-size: 12px; }
	/* トップの区切り：余白を広く */
	.front__sec { padding-top: 64px; }
	.front__sec--profile { padding-top: 40px; }
	.front__sec--ref { padding-top: 28px; }
	.front__sec--gift { padding-top: 20px; }
	.front + .instagram { margin-top: 64px; }
	.sec-head { margin-bottom: 24px; }
	.sec-head__en { font-size: clamp(22px, 6.2vw, 30px); }
	.sec-head__ja { font-size: 12px; }
	.sec-head__icon svg { width: 32px; height: 29px; }
	.front .card-list--grid { gap: 20px; }
	/* プロフィール・紹介・LINEの案内 */
	.profile__name { font-size: 15px; letter-spacing: .02em; text-wrap: balance; word-break: auto-phrase; } /* 「こんにちは、にとる夫婦です」の「す」だけ落ちないように */
	.profile__role { font-size: 12px; }
	.profile__text { font-size: 14px; line-height: 1.9; }
	.ref-banner__body { padding: 18px 18px 20px; }
	.ref-banner__title { font-size: 15px; }
	.ref-banner__more { font-size: 13px; }
	.line-cta { padding: 20px 18px 18px; }
	.line-cta__title { font-size: 15px; }
	.line-cta__text { font-size: 12px; }
	.line-cta__box-title { font-size: 12px; }
	.line-cta__list li { font-size: 11px; }
	.more__link { min-height: 44px; font-size: 12px; }
	.instagram__title { font-size: 16px; }
	.instagram__text { font-size: 13px; }
}
