/**
 * KeePer 型お問い合わせ（案内ハブ + フォーム）
 *
 * 親 TCD は #main_col max-width:1200 / #left_col 860px float。
 * ここは1カラム中央寄せに上書きする（max-width:none は使わない）。
 */
body.dm-inquiry-body #side_col,
body.dm-inquiry-hub-body #side_col {
	display: none !important;
}
body.dm-inquiry-body #main_contents,
body.dm-inquiry-hub-body #main_contents,
#main_contents.dm-inq-outer {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
	background: #f4f6f8;
	box-sizing: border-box !important;
}
body.dm-inquiry-body #main_contents,
body.dm-inquiry-body .dm-inq-outer {
	background: #fff;
}
body.dm-inquiry-body #main_col,
body.dm-inquiry-hub-body #main_col,
#main_contents.dm-inq-outer #main_col.dm-inq-wrap {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 720px !important;
	margin: 0 auto !important;
	padding: 8px 20px 72px !important;
	box-sizing: border-box !important;
}
body.dm-inquiry-body #left_col,
body.dm-inquiry-hub-body #left_col,
#main_contents.dm-inq-outer #left_col {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
body.dm-inquiry-hub-body #breadcrumb,
body.dm-inquiry-body #breadcrumb {
	margin: 0 !important;
	position: relative !important;
	z-index: 1 !important;
	overflow: visible !important;
	height: auto !important;
	min-height: 48px !important;
	flex: 0 0 auto !important;
}
.dm-inq-outer {
	background: #f4f6f8;
	min-height: 40vh;
}
.dm-inq-wrap {
	box-sizing: border-box;
}
.dm-inq-left {
	width: 100%;
	max-width: none;
}
.dm-inq {
	font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
	color: #333;
	font-size: 14px;
	line-height: 1.7;
}

.dm-inq__head {
	margin: 8px 0 28px;
}
.dm-inq__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 6px 0 12px;
	border-bottom: 1px solid #d5d8de;
	color: #0b1f4d;
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.35;
}
.dm-inq__title-bar {
	flex: none;
	width: 7px;
	height: 1.15em;
	background: var(--dm-yellow, #fede00);
}

.dm-inq-back {
	margin: 10px 0 0;
	font-size: 13px;
}
.dm-inq-shop {
	margin: 0 0 24px;
	padding: 14px 16px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}
.dm-inq-shop__name {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
	color: #0b1f4d;
}
.dm-inq-shop__meta {
	margin: 0;
	font-size: 13px;
	color: #475569;
	line-height: 1.6;
}
.dm-inq-shop__meta a {
	color: #1e3a8a;
	font-weight: 700;
	text-decoration: none;
}
.dm-inq-shop__meta a:hover { text-decoration: underline; }

.dm-inq-lead {
	margin: 0 0 18px;
	color: #333;
}
.dm-inq-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fff5f5;
	border: 1px solid #f0c2c2;
	color: #b71d24;
	font-weight: 700;
}

.dm-inq-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dm-inq-dl {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	margin: 0;
	border-top: 1px solid #e4e6eb;
}
.dm-inq-dl dt,
.dm-inq-dl dd {
	margin: 0;
	padding: 14px 12px 13px;
	border-bottom: 1px solid #e4e6eb;
	box-sizing: border-box;
}
.dm-inq-dl dt {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	text-align: right;
	font-weight: 700;
	color: #333;
	background: #fff;
}
.dm-inq-dl dt.is-req {
	padding-right: 8px;
}
.dm-inq-dl dt.dm-inq-dt--top {
	align-items: flex-start;
	padding-top: 18px;
}
.dm-inq-dl dt label {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
	cursor: pointer;
}
.dm-inq-req {
	flex: none;
	display: inline-block;
	min-width: 2.6em;
	padding: 2px 6px 1px;
	background: #e02424;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-align: center;
	border-radius: 2px;
}
.dm-inq-dl dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.dm-inq-input,
.dm-inq-select,
.dm-inq-textarea {
	box-sizing: border-box;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	font-size: 16px;
	font-family: inherit;
	border-radius: 2px;
}
.dm-inq-input,
.dm-inq-select {
	height: 40px;
	padding: 6px 10px;
}
.dm-inq-input { width: min(48%, 360px); }
.dm-inq-input--wide { width: min(88%, 640px); }
.dm-inq-input--zip { width: 160px; min-width: 140px; }
.dm-inq-select { width: min(42%, 280px); min-width: 180px; }
.dm-inq-textarea {
	width: 100%;
	min-height: 160px;
	padding: 10px 12px;
	line-height: 1.7;
	resize: vertical;
}
.dm-inq-input:focus,
.dm-inq-select:focus,
.dm-inq-textarea:focus {
	outline: 2px solid #3c5ba6;
	outline-offset: 1px;
	border-color: #3c5ba6;
}
.dm-inq-select:disabled {
	background: #f3f4f6;
	color: #9ca3af;
}

.dm-inq-hint {
	font-size: 13px;
	color: #555;
}
.dm-inq-hint--mute { color: #888; font-size: 12px; }
.dm-inq-side {
	margin-left: auto;
	color: #1d4ed8;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}
.dm-inq-side:before {
	content: "▶";
	margin-right: 4px;
	font-size: 10px;
}
.dm-inq-side:hover { text-decoration: underline; }
.dm-inq-error {
	flex-basis: 100%;
	margin: 0;
	color: #d4242b;
	font-size: 13px;
	font-weight: 700;
}

.dm-inq-view {
	margin: 0;
	font-size: 15px;
	color: #222;
}
.dm-inq-view--pre { white-space: pre-wrap; width: 100%; }

.dm-inq-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 28px 0 20px;
}
.dm-inq-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 300px;
	min-height: 52px;
	padding: 14px 36px 12px;
	border: 0;
	border-radius: 6px;
	background: #3c5ba6;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.04em;
	cursor: pointer;
	text-decoration: none;
}
.dm-inq-btn:hover { background: #334e90; }
.dm-inq-btn--ghost {
	background: #fff;
	color: #3c5ba6;
	border: 1px solid #3c5ba6;
	min-width: 220px;
}
.dm-inq-btn--ghost:hover { background: #f3f6fb; }

.dm-inq-note {
	margin: 8px 0 32px;
	padding: 0;
	color: #555;
	font-size: 13px;
	line-height: 1.85;
}
.dm-inq-note a { color: #1d4ed8; font-weight: 700; }

.dm-inq-guide {
	padding-top: 8px;
}
.dm-inq-guide__h,
.dm-inq-help__h {
	margin: 0 0 12px;
	padding: 0 0 8px;
	border-bottom: 1px solid #d5d8de;
	color: #0b1f4d;
	font-size: 17px;
	font-weight: 800;
}
.dm-inq-guide__list {
	margin: 0 0 16px;
	padding: 0 0 0 1.2em;
	color: #444;
	font-size: 13px;
	line-height: 1.9;
}
.dm-inq-guide__list li + li { margin-top: 8px; }
.dm-inq-ssl {
	margin: 0;
	font-size: 12.5px;
	color: #666;
	line-height: 1.8;
}
.dm-inq-help {
	margin-top: 36px;
	padding-top: 8px;
}
.dm-inq-help ul {
	margin: 0 0 10px;
	padding: 0 0 0 1.2em;
	font-size: 13px;
	line-height: 1.85;
}
.dm-inq-help a { color: #1d4ed8; font-weight: 700; }
.dm-inq-help code {
	font-family: inherit;
	background: #f3f4f6;
	padding: 1px 6px;
	border-radius: 3px;
}

.dm-inq-thanks {
	padding: 24px 0 48px;
}
.dm-inq-thanks__lead {
	font-size: 18px;
	font-weight: 800;
	color: #0b1f4d;
	margin: 0 0 12px;
}
.dm-inq-thanks a { color: #1d4ed8; font-weight: 700; }
.dm-inq-thanks__back { margin-top: 24px; }

@media (max-width: 767px) {
	.dm-inq-wrap {
		padding: 8px 12px 96px;
	}
	.dm-inq__title {
		font-size: 18px;
		padding: 10px 12px;
		border: 1px solid #c5d0e6;
		border-radius: 4px;
		background: #fff;
	}
	.dm-inq-dl {
		display: block;
		border: 1px solid #d0d5dd;
		border-radius: 8px;
		overflow: hidden;
	}
	.dm-inq-dl dt,
	.dm-inq-dl dd {
		width: 100%;
		text-align: left;
		padding: 12px 14px 4px;
		border-bottom: 0;
	}
	.dm-inq-dl dt {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 0;
	}
	.dm-inq-dl dt label {
		justify-content: space-between;
	}
	.dm-inq-dl dd {
		padding: 8px 14px 14px;
		border-bottom: 1px solid #8ea0c8;
	}
	.dm-inq-dl dd:last-of-type {
		border-bottom: 0;
	}
	.dm-inq-input,
	.dm-inq-input--wide,
	.dm-inq-input--zip,
	.dm-inq-select,
	.dm-inq-textarea {
		width: 100%;
		min-width: 0;
		max-width: none;
	}
	.dm-inq-side {
		margin-left: 0;
		width: 100%;
	}
	.dm-inq-btn,
	.dm-inq-btn--ghost {
		width: 100%;
		min-width: 0;
	}
	.dm-inq-actions {
		flex-direction: column-reverse;
	}
}

.dm-inq-back {
	margin: 10px 0 0;
	font-size: 13px;
}
.dm-inq-back a {
	color: #4b5563;
	text-decoration: none;
	font-weight: 700;
}
.dm-inq-back a:hover {
	color: var(--dm-color-accent, #d4242b);
}

/* KeePer /contact/ 型ハブ：店舗検索を主、本部を下段 */
.dm-inq-toc {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 20px rgba(17, 24, 39, .06);
	padding: clamp(22px, 3.5vw, 36px) clamp(18px, 3.5vw, 36px);
	text-align: center;
	position: relative;
}
.dm-inq-toc::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--dm-color-accent, #d4242b), #0f172a);
	border-radius: 16px 16px 0 0;
}
.dm-inq-toc__label {
	margin: 0 0 8px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .22em;
	color: var(--dm-color-accent, #d4242b);
}
.dm-inq-toc__title {
	margin: 0 0 14px;
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	font-weight: 900;
	line-height: 1.4;
	color: #0b1f4d;
}
.dm-inq-toc__text {
	margin: 0 0 .7em;
	font-size: clamp(.95rem, 1.5vw, 1.05rem);
	line-height: 1.9;
	color: #374151;
	word-break: keep-all;
}
.dm-inq-toc__here {
	color: #2563eb !important;
	font-weight: 800;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.dm-inq-toc__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	margin-top: 8px;
	padding: 12px 28px;
	border-radius: 999px;
	background: var(--dm-color-accent, #d4242b);
	color: #fff !important;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: .04em;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(212, 36, 43, .28);
	transition: transform .15s ease, filter .15s ease;
}
.dm-inq-toc__cta:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}
.dm-inq-toc__cta-ico {
	display: inline-flex;
}

.dm-inq-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 24px;
	margin-bottom: 8px;
}
@media (min-width: 720px) {
	.dm-inq-nav {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	}
}
.dm-inq-nav__btn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 56px;
	min-width: 0;
	padding: 14px 18px;
	border-radius: 8px;
	text-decoration: none !important;
	font-weight: 800;
	font-size: .95rem;
	letter-spacing: .03em;
	line-height: 1.4;
	text-align: left;
	color: #fff !important;
	transition: transform .15s ease, filter .15s ease;
}
.dm-inq-nav__btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}
.dm-inq-nav__ico {
	display: inline-flex;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
}
.dm-inq-nav__label {
	display: block;
	min-width: 0;
	word-break: keep-all;
	overflow-wrap: normal;
	line-height: 1.45;
}
.dm-inq-nav__label-line {
	display: block;
}
.dm-inq-nav__btn--faq {
	background: #1e3a5f;
	box-shadow: 0 3px 10px rgba(15, 23, 42, .14);
}
.dm-inq-nav__btn--hq {
	background: #16324f;
	box-shadow: 0 3px 10px rgba(15, 23, 42, .14);
}

@media (max-width: 420px) {
	body.dm-inquiry-body #main_col,
	body.dm-inquiry-hub-body #main_col,
	#main_contents.dm-inq-outer #main_col.dm-inq-wrap {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	.dm-inq__title { font-size: 18px; }
}
