@charset "UTF-8";

/* =========================================================
   むつみワールド 住宅サイト TOP改修 追加スタイル
   - 本ファイルは本番CSS群 (common/top/top-add…) の後に読み込む
   - 原則 !important なし。特殊事情がある箇所のみコメント付きで使用
   - モバイルブレークポイントは本番と同じ max-width: 550px
   ========================================================= */

:root {
	--mw-green:       #6a8e58;
	--mw-green-dark:  #4f6d40;
	--mw-green-light: #eaf1e3;
	--mw-red:         #c96555;
	--mw-beige:       #f6f1df;  /* 本番 var(--beige) と完全一致 */
	--mw-text:        #333333;
	--mw-muted:       #8a8a8a;
	--mw-border:      #e7e1d2;

	/* セクション縦余白：本番 --sectionMt (120px) / --sectionMtMid (60px) より控えめに */
	--mw-section-y:    clamp(48px, 6vw, 88px);
	--mw-subsection-y: clamp(24px, 3.5vw, 40px);
}

/* =========================================================
   1. セクション縦余白の再設計
   本番は .sectionWrap.mt / .subSectionWrap.mt に 120px の padding-top を
   加算していて間延びするので、ここで 1 パス上書きする。
   → 特異性は同じだが読み込み順が後なので !important 不要。
   ========================================================= */
.sectionWrap.mt           { padding-top: var(--mw-section-y); }
.sectionWrap.mb           { padding-bottom: var(--mw-section-y); }
.subSectionWrap.mt        { padding-top: var(--mw-subsection-y); margin-top: 0; }
.subSectionWrap.mb        { padding-bottom: var(--mw-subsection-y); margin-bottom: 0; }
.subSectionWrap.mtMid     { padding-top: var(--mw-subsection-y); }
.subSectionWrap.mbMid     { padding-bottom: var(--mw-subsection-y); }

/* ----------------------------------------------------------
   .mt/.mb の付いていない素の .sectionWrap.bgBeige にも、
   上下にやさしい padding を入れて、隣接セクションのタイトルと
   直前ブロックの間に自然な余白を作る。
   （イベント / 施工事例 / 土地情報 / EXISTING HOME のタイトルが
    詰まりすぎる対策）
   ---------------------------------------------------------- */
.sectionWrap.bgBeige {
	padding-top: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(36px, 5vw, 64px);
}
/* TOPICS / point03(STUDY) / promo-banners は独自の padding を持つので除外 */
#topics.topics-section,
.sectionWrap.bgBeige .promo-banners,
.sectionWrap.bgBeige > #point03 { padding-top: 0; padding-bottom: 0; }
/* .mt/.mb 付きは上書きしない（より大きな padding を維持） */
.sectionWrap.mt.bgBeige { padding-top: var(--mw-section-y); }
.sectionWrap.mb.bgBeige { padding-bottom: var(--mw-section-y); }

/* ----------------------------------------------------------
   隣接 .sectionWrap.bgBeige セクション間に発生する白抜け対策
   ── 直接の原因はマージン折りたたみや本番CSSの隠れた margin が
   セクション間に隙間を作ること。ベージュを身体（body）の地色に
   昇格させて、どこに隙間が出ても色が透けて連続して見えるようにする。
   TOPICS は独自の白→クリームグラデを持つので影響なし。
   フッター緑帯も bgGreen で上書きされるので影響なし。
   ---------------------------------------------------------- */
body { background-color: var(--mw-beige); }

/* 連続する beige 背景を滑らかに（追加の保険） */
.sectionWrap.bgBeige + .sectionWrap.bgBeige { border-top: 0; }
.sectionWrap.bgBeige .section,
.sectionWrap.bgBeige > section { background-color: transparent; }

/* 空の sectionWrap（削除ブロック残骸）は非表示 */
.sectionWrap:empty { display: none; }

/* H1 相当のグリーンバーは薄くシームレスに */
.sectionWrap.bgGreen.mbSmall.mtMid          { padding: 14px 0; }
.sectionWrap.bgGreen.mbSmall.mtMid .headTitle {
	font-size: clamp(13px, 1.6vw, 15px);
	letter-spacing: .08em;
}

/* =========================================================
   2. タイポ & セクションタイトル
   ========================================================= */
.sectionTitleWrap.enBig {
	padding-bottom: clamp(18px, 2.5vw, 28px);
}
.sectionTitleWrap.enBig .titleEn {
	font-family: 'Poppins', 'Lato', sans-serif;
	letter-spacing: .12em;
	font-size: clamp(28px, 4.2vw, 40px);
	line-height: 1.15;
}
.sectionTitleWrap .titleJp {
	letter-spacing: .06em;
	font-feature-settings: "palt";
	margin-top: 6px;
	color: var(--mw-text);
}
.sectionTitleWrap.jpMid {
	padding-bottom: clamp(10px, 1.8vw, 18px);
}

/* =========================================================
   3. TOPICS / 新着情報（FV直後 新設）
   ========================================================= */
#topics.topics-section {
	padding: clamp(40px, 6vw, 72px) 0;
	/* 上は白、下端を body と同じベージュで終わらせて、次セクションと滑らかに連結 */
	background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, var(--mw-beige) 100%);
}
#topics .sectionTitleWrap {
	text-align: center;
	margin-bottom: 20px;
}
.topics-list {
	max-width: 880px;
	width: calc(100% - 32px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mw-border);
}
.topics-item {
	border-bottom: 1px solid var(--mw-border);
	transition: background-color .25s ease;
}
.topics-item:hover {
	background-color: rgba(106, 142, 88, .05);
}
.topics-link {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px 16px;
	text-decoration: none;
	color: var(--mw-text);
}
.topics-textCol {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.topics-date {
	font-size: 14px;
	font-weight: 500;
	color: var(--mw-green-dark);
	letter-spacing: .06em;
}
.topics-title {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mw-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.topics-more {
	flex: 0 0 auto;
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--mw-green-dark);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
/* .topics-more .arrow / .arrowWrap .arrow の見た目は下方の統一ルールで定義 */

/* 一覧ボタン：本番 .moreButtonWrap と完全互換。単に top 余白のみ調整 */
.topics-moreButton { margin-top: 28px; }

/* 施工事例の「一覧はこちら」ボタン：上のVIEW MOREカードに近づける */
#case .fadeinWrap .moreButtonWrap { margin-top: 10px; }
#case .fadeinWrap { margin-top: 0; }

/* ⑧ 土地情報 → 新築建売情報 のサブセクション間：
   セクション間と同等の自然な余白を確保（24-40px → 60-96px） */
#bunjo + #build,
#bunjo ~ #build {
	padding-top: clamp(60px, 7vw, 96px);
}

/* ----------------------------------------------------------
   全ての .arrowWrap / .topics-more 内の "→" を、Unicode 文字
   （フォントによって角が丸く描かれる）から、border + rotate で
   描画するシャープな ">" 型シェブロンに置き換える。
   改修前のサイトに合わせる指示。
   ---------------------------------------------------------- */
/* VIEW MORE の "V" の角が丸く見える問題対策。
   改修前サイトに合わせ、Lato を最優先で適用してシャープな字形にする。 */
.topics-more,
.arrowWrap {
	font-family: "Lato", "Poppins", sans-serif;
}

.arrowWrap .arrow,
.topics-more .arrow {
	display: inline-block;
	box-sizing: border-box;
	width: 8px;
	height: 8px;
	margin-left: 8px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	/* 内側の Unicode "→" 文字を視覚的に消す */
	font-size: 0;
	line-height: 0;
	color: inherit;
	vertical-align: middle;
	transition: margin-left .25s ease;
}
.arrowWrap:hover .arrow,
.topics-link:hover .topics-more .arrow {
	margin-left: 12px;
	transform: rotate(45deg);
}

@media screen and (max-width: 550px) {
	.topics-link {
		gap: 12px;
		padding: 14px 6px;
	}
	.topics-date  { font-size: 13px; }
	.topics-title { font-size: 13.5px; }
	.topics-more  { font-size: 11px; letter-spacing: .08em; }
}

/* =========================================================
   4. 汎用カード・ボタンのモダン化
   ========================================================= */
.pointCard,
.renovationPlanItem,
.caseItem,
.planList li,
.eventList li,
.newsList li        { border-radius: 16px; }

.renovationPlanItem .link,
.planList li .link {
	box-shadow: 0 8px 24px rgba(60, 80, 50, .07);
	transition: transform .3s ease, box-shadow .3s ease;
	overflow: hidden;
}
.renovationPlanItem .link:hover,
.planList li .link:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(60, 80, 50, .14);
}
.renovationPlanItem .imgWrap,
.caseItem .imgWrap,
.planList .imgWrap {
	border-radius: 12px;
	overflow: hidden;
}

.moreButtonWrap      { transition: transform .25s ease, opacity .25s ease; }
.moreButtonWrap:hover{ opacity: .85; transform: translateY(-1px); }

.btn.bgRed {
	background-color: var(--mw-red);
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(201, 101, 85, .3);
	transition: transform .25s ease, box-shadow .25s ease;
}
.btn.bgRed:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(201, 101, 85, .4);
}

img {
	max-width: 100%;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}

/* suminoie バナー */
#suminoie_banner .imgWrap {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(60, 80, 50, .12);
	transition: transform .3s ease, box-shadow .3s ease;
}
#suminoie_banner .imgWrap:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(60, 80, 50, .18);
}

/* =========================================================
   5. OUR VISION（インライン・印象ブロック）
   - クラスに .outInner は付けず、ここで完全に寸法を定義する
   ========================================================= */
.our-vision-inline {
	position: relative;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 1080px;
	margin: clamp(32px, 5vw, 64px) auto 0;
	padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
	border-radius: 24px;
	background:
		radial-gradient(ellipse at 10% 0%, rgba(106, 142, 88, .12) 0%, transparent 55%),
		radial-gradient(ellipse at 100% 100%, rgba(201, 101, 85, .07) 0%, transparent 50%),
		#ffffff;
	box-shadow: 0 18px 48px rgba(60, 80, 50, .08);
	overflow: hidden;
	text-align: center;
}
.our-vision-inline::before {
	content: "";
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 72px;
	background: linear-gradient(180deg, transparent, var(--mw-green) 60%, transparent);
	opacity: .6;
}
.our-vision-inline__inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0 auto;
}
.our-vision-inline__head { margin-bottom: 18px; }
.our-vision-inline__head .titleSmallEn {
	font-size: 12px; letter-spacing: .28em;
}
.our-vision-inline__head .titleEn {
	font-family: 'Poppins', 'Lato', sans-serif;
	letter-spacing: .14em;
	font-size: clamp(26px, 3.8vw, 38px);
	line-height: 1.2;
	margin-top: 4px;
}
.our-vision-inline__head .titleJp {
	margin-top: 10px;
	font-size: 14px;
	letter-spacing: .12em;
	color: var(--mw-muted);
}
.our-vision-inline__lead {
	display: inline-block;
	position: relative;
	margin: 18px 0 24px;
	padding: 0 12px;
	font-size: clamp(24px, 3.6vw, 36px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .08em;
	color: var(--mw-green-dark);
	font-feature-settings: "palt";
}
.our-vision-inline__lead::before,
.our-vision-inline__lead::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	width: 2px;
	background: var(--mw-green);
	opacity: .85;
}
.our-vision-inline__lead::before { left: 0; }
.our-vision-inline__lead::after  { right: 0; }
.our-vision-inline__body {
	max-width: 680px;
	margin: 0 auto;
	line-height: 2;
	font-size: 15.5px;
	color: var(--mw-text);
}
.our-vision-inline__body p + p { margin-top: .8em; }

.our-vision-inline__banners {
	list-style: none;
	margin: 28px auto 0;
	padding: 0;
	max-width: 680px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.our-vision-inline__bannerItem { margin: 0; }
.our-vision-inline__bannerLink {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.our-vision-inline__bannerLink:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.our-vision-inline__bannerLink img {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 550px) {
	.our-vision-inline {
		margin-top: 28px;
		padding: 32px 20px;
		border-radius: 18px;
	}
	.our-vision-inline__head .titleEn { font-size: 24px; letter-spacing: .1em; }
	.our-vision-inline__lead {
		font-size: 20px;
		line-height: 1.7;
		padding: 0 10px;
		letter-spacing: .04em;
	}
	.our-vision-inline__body {
		font-size: 14px;
		line-height: 1.95;
		text-align: left;
	}
	.our-vision-inline__banners {
		gap: 12px;
		margin-top: 22px;
	}
	.our-vision-inline__bannerLink { border-radius: 10px; }
}

/* =========================================================
   6. suminoie CTA / モデルハウス統合カード
   - .outInner は付けない。ここで完全に寸法を定義する
   ========================================================= */
.suminoie-cta {
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 880px;
	margin: 24px auto 0;
	padding: clamp(22px, 4vw, 44px) clamp(20px, 4vw, 48px);
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 14px 40px rgba(60, 80, 50, .1);
	text-align: center;
}
.suminoie-cta__title {
	font-size: clamp(18px, 2.6vw, 24px);
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: .04em;
	color: var(--mw-green-dark);
	margin-bottom: 18px;
	font-feature-settings: "palt";
}
.suminoie-cta__body {
	max-width: 640px;
	margin: 0 auto 20px;
	line-height: 1.9;
	font-size: 14.5px;
	color: var(--mw-text);
	text-align: left;
}
.suminoie-cta__body p + p { margin-top: .8em; }
/* .alignC が付いたときは中央揃えに上書き（既定の text-align:left を打ち消す） */
.suminoie-cta__body.alignC { text-align: center; }
.suminoie-cta__btnWrap    { text-align: center; }
.suminoie-cta__btn {
	display: inline-block;
	min-width: 300px;
	padding: 18px 32px;
	background-color: var(--mw-green);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(106, 142, 88, .35);
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.suminoie-cta__btn:hover {
	background-color: var(--mw-green-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(106, 142, 88, .45);
}

@media screen and (max-width: 550px) {
	.suminoie-cta {
		width: calc(100% - 24px);
		margin-top: 16px;
		padding: 22px 18px;
	}
	.suminoie-cta__title { font-size: 17px; margin-bottom: 14px; }
	.suminoie-cta__body  { font-size: 13.5px; margin-bottom: 16px; }
	.suminoie-cta__btn   { min-width: auto; width: 100%; padding: 16px 20px; }
}

/* モデルハウス統合カード内の画像（自然比率で中央配置、トリミングなし） */
.modelhouse-card__imgLink {
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 auto clamp(18px, 2.5vw, 28px);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(60, 80, 50, .08);
	transition: transform .3s ease, box-shadow .3s ease;
}
.modelhouse-card__imgLink:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(60, 80, 50, .14);
}
.modelhouse-card__imgWrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}
.modelhouse-card__imgWrap img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .5s ease;
}
.modelhouse-card__imgLink:hover .modelhouse-card__imgWrap img {
	transform: scale(1.02);
}
@media screen and (max-width: 550px) {
	.modelhouse-card__imgLink { margin-bottom: 14px; border-radius: 10px; }
}

/* =========================================================
   7. 追加バナー 3点（Owner's Voice / ご紹介キャンペーン / カタログ）
   - 縦積み全幅3段（デザイン指示どおり）
   ========================================================= */
.promo-banners {
	padding: clamp(40px, 5vw, 72px) 0;
}
.promo-bannerList {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: calc(100% - 32px);
	max-width: 880px;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2.2vw, 28px);
}
.promo-bannerItem { margin: 0; }
.promo-bannerLink {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(60, 80, 50, .1);
	background: #ffffff;
	transition: transform .3s ease, box-shadow .3s ease;
}
.promo-bannerLink:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(60, 80, 50, .16);
}
.promo-bannerLink img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}
@media screen and (max-width: 550px) {
	.promo-bannerList { width: calc(100% - 24px); gap: 14px; }
	.promo-bannerLink { border-radius: 12px; }
}

/* =========================================================
   8. フッター直前の余白だけ少し広めに（視覚的な区切り）
   ========================================================= */
#point03.section { padding-top: clamp(28px, 4vw, 56px); }
