@charset "UTF-8";
/* ==========================================================
   直営事業 LP（page-direct_management.php 専用）
   元LP: direct_management_lp/index.html のCSSを .dm_lp 配下にスコープしたもの。
   このファイルは header.php で当該ページのときだけ読み込まれます。
   ========================================================== */
html { scroll-behavior: smooth; }

.dm_lp {
	--ink: #171916;
	--paper: #f4f1e9;
	--white: #fff;
	--line: rgba(23, 25, 22, .16);
	--accent: #8b6c3f;
	--deep: #26342f;
	--radius: 26px;
	background: var(--paper);
	color: var(--ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
	line-height: 1.8;
	letter-spacing: .04em;
}
.dm_lp * { box-sizing: border-box; }
.dm_lp a { color: inherit; text-decoration: none; }
.dm_lp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm_lp p, .dm_lp h1, .dm_lp h2, .dm_lp h3, .dm_lp dl, .dm_lp dd { color: inherit; }

.dm_lp .container { width: min(1180px, calc(100% - 48px)); max-width: none; margin: auto; padding: 0; }
.dm_lp .eyebrow { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

/* --- パンくず（テーマ側の見た目をLPの地色に合わせる） --- */
.dm_lp .pankuzu { background: var(--paper); padding: 22px 0; margin-bottom: 0; font-size: 1.3rem; }
.dm_lp .pankuzu a { color: var(--accent); text-decoration: underline; }

/* --- ヒーロー --- */
.dm_lp .hero { min-height: 88vh; position: relative; display: grid; align-items: end; color: #fff; overflow: hidden; }
.dm_lp .hero-bg { position: absolute; inset: 0; }
.dm_lp .hero-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.15) 45%, rgba(0,0,0,.75)); }
.dm_lp .hero-bg img { transform: scale(1.01); }
.dm_lp .hero-content { position: relative; z-index: 1; padding: 150px 0 86px; }
.dm_lp .hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.dm_lp .hero h1 { margin: 12px 0 20px; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.24; font-weight: 500; letter-spacing: .02em; color: #fff; }
.dm_lp .hero-copy { font-size: clamp(15px, 1.25vw, 18px); max-width: 560px; color: #fff; }
.dm_lp .hero-side { border-left: 1px solid rgba(255,255,255,.55); padding-left: 28px; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .1em; line-height: 1.9; }
.dm_lp .scroll { position: absolute; right: 35px; bottom: 45px; z-index: 1; writing-mode: vertical-rl; font: 10px Arial, sans-serif; letter-spacing: .24em; }
.dm_lp .scroll:after { content: ""; display: block; width: 1px; height: 72px; background: #fff; margin: 16px auto 0; opacity: .6; }

/* --- コンセプト --- */
.dm_lp .intro { padding: 140px 0 100px; }
/* 見出し左・説明文右。OUR FACILITIES（.section-head）と配置を揃える */
.dm_lp .intro-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.dm_lp .intro h2 { margin: 8px 0 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.5; font-weight: 500; text-align: left; }
.dm_lp .intro-text { flex: 0 1 560px; margin: 0; font-size: 15px; }
.dm_lp .facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 85px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dm_lp .fact { padding: 28px 20px; border-right: 1px solid var(--line); }
.dm_lp .fact:last-child { border-right: 0; }
.dm_lp .fact b { display: block; font: 500 38px/1.2 Arial, sans-serif; }
/* 数字のあとの単位 */
.dm_lp .fact b i { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-style: normal; font-size: 15px; font-weight: 500; margin-left: 5px; letter-spacing: .04em; }
.dm_lp .fact span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .06em; color: #6f6a60; }

/* --- 施設一覧 --- */
.dm_lp .properties { padding: 45px 0 140px; }
.dm_lp .section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 52px; }
.dm_lp .section-head h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 500; margin: 8px 0 0; text-align: left; }
.dm_lp .section-head p { margin: 0; flex: 0 1 560px; max-width: 560px; font-size: 15px; }
.dm_lp .property-list { display: grid; gap: 110px; }
.dm_lp .property { display: grid; grid-template-columns: 1.25fr .75fr; gap: 62px; align-items: center; }
.dm_lp .property:nth-child(even) { grid-template-columns: .75fr 1.25fr; }
.dm_lp .property:nth-child(even) .property-image { order: 2; }
.dm_lp .property-image { height: min(60vw, 610px); max-height: 610px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.dm_lp .property-body { padding: 20px 0; }
.dm_lp .num { font: 11px Arial, sans-serif; letter-spacing: .2em; color: var(--accent); }
.dm_lp .property h3 { margin: 12px 0 8px; padding: 0; font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.45; font-family: inherit; }
.dm_lp .en { font: 11px Arial, sans-serif; letter-spacing: .16em; color: #777; }
.dm_lp .meta { margin: 34px 0 0; border-top: 1px solid var(--line); }
.dm_lp .meta-row { display: grid; grid-template-columns: 92px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dm_lp .meta-row dt { color: #7a746a; }
.dm_lp .meta-row dd { margin: 0; }
.dm_lp .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.dm_lp .tag { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font: 11px Arial, sans-serif; letter-spacing: .1em; background: rgba(255,255,255,.35); }
/* 各施設の公式サイトへのボタン */
.dm_lp .site-link {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-top: 30px;
	padding: 13px 26px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .1em;
	transition: background .3s, color .3s;
}
.dm_lp .site-link:hover { background: var(--ink); color: var(--paper); }
.dm_lp .site-link__arrow { font-family: Arial, sans-serif; font-size: 15px; }

/* --- ステートメント --- */
.dm_lp .statement { background: var(--deep); color: #fff; padding: 130px 0; }
.dm_lp .statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.dm_lp .statement h2 { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.45; font-weight: 500; margin: 12px 0; color: #fff; text-align: left; }
.dm_lp .statement p { font-size: 16px; color: rgba(255,255,255,.75); }
.dm_lp .mosaic { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 240px 240px; gap: 14px; }
.dm_lp .mosaic div { overflow: hidden; border-radius: 18px; }
.dm_lp .mosaic div:first-child { grid-row: 1/3; }

/* --- CTA --- */
.dm_lp .cta { padding: 130px 0; }
.dm_lp .cta-card { position: relative; overflow: hidden; border-radius: 34px; background: #d9d0bf; padding: 62px 8%; }
/* 背景の飾り文字。見切れないよう幅に収める */
.dm_lp .cta-card:after { content: "DIRECT MANAGEMENT"; position: absolute; right: 6%; top: 14px; font: 700 clamp(26px, 4.4vw, 62px) Arial, sans-serif; letter-spacing: .02em; color: rgba(255,255,255,.28); white-space: nowrap; }
.dm_lp .cta h2 { position: relative; z-index: 1; font-size: clamp(26px, 3.2vw, 44px); font-weight: 500; line-height: 1.45; margin: 8px 0 0; text-align: left; }
.dm_lp .cta-lead { position: relative; z-index: 1; margin: 18px 0 0; font-size: 15px; }

/* --- お問い合わせフォーム --- */
.dm_lp .dm_form { margin-top: 56px; }
/* テーマ側は td の右パディングが 0 で入力欄が白枠に密着するため、左右の余白を揃える */
.dm_lp .dm_form .inquiry th { padding: 30px 30px 30px 40px; }
.dm_lp .dm_form .inquiry td { padding: 30px 40px 30px 25px; }
.dm_lp .dm_form input[type="text"],
.dm_lp .dm_form input[type="email"],
.dm_lp .dm_form input[type="tel"],
.dm_lp .dm_form input[type="url"],
.dm_lp .dm_form select,
.dm_lp .dm_form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
}
.dm_lp .dm_form textarea { min-height: 170px; }
/* 送信ボタンはテーマ側が #formbtn のID指定なので、こちらもIDを含めて上書きする */
.dm_lp .dm_form input[type="submit"],
.dm_lp .dm_form #formbtn {
	display: block;
	margin: 12px auto 0;
	width: auto;
	min-width: 300px;
	padding: 16px 34px;
	border: 0;
	border-radius: 999px;
	background: var(--deep);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	letter-spacing: .14em;
	cursor: pointer;
	transition: opacity .3s;
}
.dm_lp .dm_form #formbtn:hover { opacity: .82; }
.dm_lp .dm_form p { font-size: 15px; }
.dm_lp .dm_form .wpcf7-list-item { margin: 0 18px 0 0; }
.dm_lp .dm_form .wpcf7-not-valid-tip { font-size: 13px; color: #a4343a; }
.dm_lp .dm_form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: 6px; font-size: 14px; }

@media (max-width: 800px) {
	.dm_lp .container { width: min(100% - 28px, 1180px); }
	.dm_lp .hero-grid,
	.dm_lp .property,
	.dm_lp .property:nth-child(even),
	.dm_lp .statement-grid,
	.dm_lp .cta-card { grid-template-columns: 1fr; }
	.dm_lp .hero-content { padding-bottom: 68px; }
	.dm_lp .hero-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.5); padding: 18px 0 0; }
	.dm_lp .scroll { display: none; }
	.dm_lp .intro { padding: 100px 0 70px; }
	.dm_lp .facts { grid-template-columns: 1fr 1fr; }
	.dm_lp .fact:nth-child(2) { border-right: 0; }
	.dm_lp .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.dm_lp .property-list { gap: 75px; }
	.dm_lp .property,
	.dm_lp .property:nth-child(even) { gap: 26px; }
	.dm_lp .property:nth-child(even) .property-image { order: 0; }
	.dm_lp .property-image { height: 70vw; }
	/* 見出しと説明文はSPでは縦積み（OUR CONCEPT / OUR FACILITIES で共通） */
	.dm_lp .intro-grid,
	.dm_lp .section-head { display: block; }
	.dm_lp .intro-text,
	.dm_lp .section-head p { margin-top: 16px; max-width: none; }
	.dm_lp .statement { padding: 90px 0; }
	.dm_lp .mosaic { grid-template-rows: 180px 180px; }
	.dm_lp .cta { padding: 80px 0; }
	.dm_lp .cta-card { padding: 48px 26px; }
	.dm_lp .cta-card:after { right: 20px; top: 10px; }
	.dm_lp .dm_form { margin-top: 40px; }
	/* SPではテーマ側が th/td を display:block・width:80% にするため揃え直す */
	.dm_lp .dm_form .inquiry th,
	.dm_lp .dm_form .inquiry td { width: 100%; }
	.dm_lp .dm_form .inquiry th { padding: 22px 20px 8px; }
	.dm_lp .dm_form .inquiry td { padding: 0 20px 22px; }
}
