.feature-tabs__panel--dm {
	row-gap: 28px;
}

.feature-tabs__panel--dm .feature-tabs__panel-title {
	font-size: clamp(2.5rem, 2.8vw, 3.2rem);
}

.dm-demo__secondary {
	margin-top: 12px;
	color: #536d80;
	font-size: 1.5rem;
	line-height: 1.8;
}

.dm-receive {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 32px 24px;
	border-radius: 20px;
	background: linear-gradient(160deg, #e3f0fa 0%, #f3f8fc 100%);
}

.dm-receive__item { width: min(100%, 265px); min-width: 0; margin: 0; }
.dm-receive__item figcaption { margin-bottom: 8px; color: #345a76; font-size: 1.3rem; font-weight: 700; text-align: center; }
.dm-receive__channel { display: inline-block; padding: 3px 8px; border-radius: 20px; color: #fff; font: 700 1.1rem "Lato", sans-serif; }
.dm-receive__channel--sms { background: #3479ce; }

.dm-receive__phone {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	aspect-ratio: 9 / 15;
	overflow: hidden;
	border: 5px solid #26384a;
	border-radius: 25px;
	background: #f5f7f9;
	box-shadow: 0 12px 24px rgba(36, 69, 99, .17);
	font-family: "Noto Sans JP", sans-serif;
	font-size: 10px;
	color: #283949;
}
.dm-receive__status { display: flex; justify-content: space-between; padding: 7px 12px 4px; background: #fff; font: 700 10px "Lato", sans-serif; }
.dm-receive__header { display: flex; justify-content: space-between; align-items: center; gap: 4px; min-height: 38px; padding: 0 10px; border-bottom: 1px solid #e4e9ed; background: #fff; }
.dm-receive__header strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dm-receive__header span { color: #7190a6; font-size: 18px; }
.dm-receive__chat { flex: 1; padding: 12px 9px; }
.dm-receive__date { display: block; margin-bottom: 12px; color: #8494a0; font-size: 9px; text-align: center; }
.dm-receive__message { max-width: 95%; padding: 11px; border-radius: 3px 13px 13px 13px; background: #fff; box-shadow: 0 2px 6px rgba(43, 76, 102, .08); }
.dm-receive__message strong { display: block; margin-bottom: 8px; color: #255374; font-size: 11px; }
.dm-receive__message p { margin: 0; line-height: 1.65; }
.dm-receive__chat > small { display: block; margin-top: 5px; color: #8494a0; text-align: right; }
.dm-receive__input { display: flex; justify-content: space-between; align-items: center; margin: 7px; padding: 6px 8px; border: 1px solid #e2e6e9; border-radius: 16px; background: #fff; color: #9ba9b3; font-size: 9px; }
.dm-receive__input span { color: #6c869b; font-size: 13px; }
.dm-receive__home { width: 58px; height: 3px; margin: 3px auto 6px; border-radius: 4px; background: #26384a; }
.dm-receive__phone--sms .dm-receive__chat { background: #fff; }
.dm-receive__phone--sms .dm-receive__message { border-radius: 15px; background: #e5e7ec; box-shadow: none; }
.dm-receive__note { margin: 0; color: #7d93a4; font-size: 1rem; text-align: center; }

.dm-demo__savings {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 16px;
	border-radius: 12px;
	background: #fff7ba;
	color: #275c81;
	font-size: 1.6rem;
}
.dm-demo__savings strong { font-size: 1.9rem; }

.dm-demo {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
}

.dm-demo__heading { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 12px; color: #19466a; font-size: 1.8rem; }
.dm-demo__label { color: #2475ad; font: 700 1.1rem "Lato", sans-serif; letter-spacing: .08em; }

.dm-demo a {
	display: block;
	overflow: hidden;
	max-width: 680px;
	margin: 0 auto;
	border: 1px solid #d8e4ed;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(50, 113, 156, .14);
}

.dm-demo img {
	display: block;
	width: 100%;
	height: auto;
}

.dm-demo figcaption {
	margin-top: 8px;
	color: #7d93a4;
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
}

@media (max-width: 700px) {
	.dm-demo__secondary { font-size: 1.4rem; }
	.dm-demo__savings { flex-direction: column; gap: 2px; text-align: center; }
}

@media (max-width: 480px) {
	.dm-demo__heading { display: grid; gap: 2px; text-align: center; }
}

/* コストシミュレーション */
.dm-sim { grid-column: 1 / -1; display: grid; gap: 20px; padding: 32px 5%; border: 2px solid #06c755; border-radius: 18px; background: linear-gradient(180deg, #eafaf0 0%, #fff 60%); color: #19466a; }
.dm-sim__heading { display: grid; justify-items: center; gap: 4px; text-align: center; }
.dm-sim__title { font-size: clamp(2rem, 2.2vw, 2.6rem); font-weight: 700; letter-spacing: .04em; }
.dm-sim__patterns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dm-sim__pattern { display: grid; gap: 2px; padding: 12px 8px; border: 2px solid #cfe9da; border-radius: 12px; background: #fff; color: #19466a; font-family: inherit; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.dm-sim__pattern strong { font-size: 1.5rem; }
.dm-sim__pattern span { color: #536d80; font: 700 1.3rem "Lato", "Noto Sans JP", sans-serif; }
.dm-sim__pattern:hover { transform: translateY(-2px); border-color: #06c755; }
.dm-sim__pattern[aria-pressed="true"] { border-color: #06c755; background: #06c755; color: #fff; }
.dm-sim__pattern[aria-pressed="true"] span { color: #eafaf0; }
.dm-sim__pattern:focus-visible, .dm-sim__slider input:focus-visible { outline: 3px solid #2475ad; outline-offset: 2px; }
.dm-sim__slider { display: grid; gap: 8px; font-size: 1.4rem; font-weight: 700; }
.dm-sim__slider output { color: #06a148; font: 700 2rem "Lato", sans-serif; }
.dm-sim__slider input { width: 100%; accent-color: #06c755; }
.dm-sim__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm-sim__card { display: grid; gap: 6px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(36, 69, 99, .08); }
.dm-sim__card-label { color: #536d80; font-size: 1.3rem; font-weight: 700; }
.dm-sim__card-label em { margin-left: 6px; padding: 2px 8px; border-radius: 20px; background: #eafaf0; color: #06a148; font-size: 1.1rem; font-style: normal; }
.dm-sim__card > strong { font: 700 2.8rem/1.2 "Lato", "Noto Sans JP", sans-serif; }
.dm-sim__card small { margin-left: 2px; color: #7d93a4; font-size: 1.2rem; }
.dm-sim__card--paper > strong { color: #8a5a3c; }
.dm-sim__card--line > strong { color: #06a148; }
.dm-sim__bar { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: #edf1f4; }
.dm-sim__bar > span { display: block; height: 100%; border-radius: 8px; transition: width .3s; }
.dm-sim__card--paper .dm-sim__bar > span { background: #c98d62; }
.dm-sim__card--line .dm-sim__bar > span { background: #06c755; }
.dm-sim__saving { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; background: #fff7ba; font-size: 1.6rem; font-weight: 700; }
.dm-sim__saving > strong { color: #d2412c; font: 700 3.4rem/1.1 "Lato", "Noto Sans JP", sans-serif; }
.dm-sim__note { margin: 0; color: #7d93a4; font-size: 1.1rem; line-height: 1.7; }

@media (max-width: 700px) {
	.dm-sim { padding: 24px 16px; }
	.dm-sim__patterns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dm-sim__result { grid-template-columns: 1fr; }
	.dm-sim__saving > strong { font-size: 2.8rem; }
}
