/* まちろぐ：新しいトップ */
body.machi-top {
	--bg: #faf8f3;
	--greige: #ddd6cb;
	--tint: #f1ede6;
	--line: #402d23;
	--green: #6e8c60;
	--grey: #80766a;
	background: var(--bg);
	color: var(--line);
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	margin: 0;
}
.machi-top a { color: inherit; text-decoration: none; }
.machi-top img { max-width: 100%; display: block; }
.mt-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.mt-en { display: block; font-family: "Syne", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--green); margin-bottom: 4px; }
.sp { display: none; }

/* ヘッダー */
.mt-head { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--greige); }
.admin-bar .mt-head { top: 32px; }
.mt-head__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mt-logo img { height: 40px; width: auto; }
.mt-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; }
.mt-nav a { position: relative; padding: 4px 0; }
.mt-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.mt-nav a:hover::after { transform: scaleX(1); }

/* はじめの一面 */
.mt-hero { padding: 64px 0 72px; }
.mt-hero__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.mt-eyebrow { font-family: "Syne", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--grey); margin: 0 0 18px; }
.mt-hero__copy { font-size: 44px; line-height: 1.45; font-weight: 800; margin: 0 0 20px; letter-spacing: .02em; }
.mt-hero__lead { font-size: 16px; line-height: 2; margin: 0 0 32px; color: #5a4a40; }
.mt-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-btn { display: inline-block; padding: 14px 26px; border-radius: 99px; background: var(--line); color: var(--bg) !important; font-weight: 700; font-size: 14px; border: 1.5px solid var(--line); transition: background .2s, color .2s; }
.mt-btn:hover { background: var(--green); border-color: var(--green); }
.mt-btn--line { background: transparent; color: var(--line) !important; }
.mt-btn--line:hover { background: var(--line); color: var(--bg) !important; border-color: var(--line); }
.mt-hero__photo { position: relative; }
.mt-hero__photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.mt-hero__badge { position: absolute; left: -24px; bottom: -24px; display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 18px 12px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(64, 45, 35, .08); }
.mt-hero__badge img { width: 40px; height: 40px; }
.mt-hero__badge small { display: block; font-size: 11px; color: var(--green); }

/* 区切り */
.mt-sec { padding: 72px 0; }
.mt-sec--tint { background: var(--tint); }
.mt-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.mt-sec__head h2 { font-size: 26px; font-weight: 800; margin: 0; line-height: 1.3; }
.mt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-chips a { font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 99px; background: var(--greige); transition: background .2s, color .2s; }
.mt-chips a:hover { background: var(--line); color: var(--bg); }

/* 記事カード */
.mt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.mt-card { display: block; }
.mt-card__img { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--greige); margin-bottom: 14px; }
.mt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-card:hover .mt-card__img img { transform: scale(1.04); }
.mt-card__img.is-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: var(--bg); }
.mt-card__img.is-collage img { min-height: 0; }
.mt-tag { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: var(--bg); color: var(--line); }
.mt-card__title { font-size: 16px; line-height: 1.6; font-weight: 700; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-card__meta { font-size: 12px; color: var(--grey); margin: 0; display: flex; gap: 10px; }
.mt-card__photos { color: var(--green); font-weight: 700; }

/* まずはここから */
.mt-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mt-pick { display: block; background: var(--bg); border-radius: 20px; padding: 10px 10px 18px; transition: transform .2s, box-shadow .2s; }
.mt-pick:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(64, 45, 35, .08); }
.mt-pick__img { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.mt-pick__img img { width: 100%; height: 100%; object-fit: cover; }
.mt-pick__text { display: block; padding: 0 8px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.mt-pick__text small { display: table; font-size: 11px; color: var(--bg); background: var(--green); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }

/* テーマ */
.mt-themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mt-theme { position: relative; display: block; text-align: center; }
.mt-theme img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--greige); transition: box-shadow .2s; }
.mt-theme:hover img { box-shadow: 0 0 0 2px var(--green); }
.mt-theme__name { display: block; margin-top: 12px; font-weight: 700; font-size: 15px; }
.mt-theme__name small { display: block; font-size: 11px; color: var(--grey); font-weight: 400; }

/* プロフィール */
.mt-profile { display: flex; align-items: center; gap: 40px; max-width: 860px; }
.mt-profile__icon { width: 140px; height: 140px; flex: none; }
.mt-profile__text h2 { font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.mt-profile__text p { font-size: 15px; line-height: 2; margin: 0 0 18px; }

/* フッター */
.mt-foot { border-top: 1.5px solid var(--line); padding: 32px 0 40px; }
.mt-foot__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 12px; color: var(--grey); }
.mt-foot__in img { height: 30px; width: auto; }
.mt-foot__in nav { display: flex; gap: 18px; }
.mt-foot__in p { margin: 0 0 0 auto; }

/* タブレット・スマホ */
@media (max-width: 960px) {
	.mt-hero__in { grid-template-columns: 1fr; gap: 36px; }
	.mt-hero__photo { order: -1; }
	.mt-hero__badge { left: 12px; bottom: -20px; }
	.mt-grid { grid-template-columns: repeat(2, 1fr); }
	.mt-themes { grid-template-columns: repeat(3, 1fr); }
	.mt-picks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.mt-wrap { padding: 0 16px; }
	.mt-head__in { height: 60px; }
	.mt-logo img { height: 30px; }
	.mt-nav { gap: 14px; font-size: 12px; }
	.mt-nav a:nth-child(2), .mt-nav a:nth-child(4) { display: none; }
	.mt-hero { padding: 20px 0 48px; }
	.mt-hero__copy { font-size: 30px; }
	.mt-hero__lead { font-size: 14.5px; }
	.sp { display: inline; }
	.mt-sec { padding: 52px 0; }
	.mt-sec__head h2 { font-size: 22px; }
	.mt-grid { grid-template-columns: 1fr; gap: 28px; }
	.mt-picks { grid-template-columns: 1fr; gap: 16px; }
	.mt-themes { gap: 12px; }
	.mt-profile { flex-direction: column; align-items: flex-start; gap: 16px; }
	.mt-profile__icon { width: 96px; height: 96px; }
	.mt-foot__in p { margin: 0; width: 100%; }
}
