@charset "UTF-8";
/* ==========================================================================
 * magokoro2026_custom.css
 * 既存CSSを一切変更せず、固有プレフィックス(.mg26-*)と限定上書きのみで安全に適用
 * ========================================================================== */

:root {
	--mg-brown: #5a3921;
	--mg-brown-dark: #3d2514;
	--mg-green: #2e7d4f;
	--mg-green-dark: #1f5c38;
	--mg-line: #06c755;
	--mg-coral: #e05a47;
	--mg-gold: #c68b2c;
	--mg-cream: #fcfaf6;
	--mg-sage: #f2f8f4;
	--mg-border: #e5dfd5;
	--mg-text: #2c2623;
	--mg-muted: #665e58;
}

/* default.css の a リセット対策（.mg26-* 内では意図した padding / display / color を確実に優先） */
a.mg26-btn:link,
a.mg26-btn:visited,
a.mg26-btn:hover,
a.mg26-btn:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
a.mg26-btn:hover {
	transform: translateY(-1px);
	opacity: 0.95;
}

/* --------------------------------------------------------------------------
 * 1. トップページ FV（スマホ文字重なり完全解消 ＆ 大口・札幌専門ヒーロー）
 * -------------------------------------------------------------------------- */
.top_slide.mg26-hero-wrap {
	max-width: 1240px;
	margin: 0 auto 36px;
	padding: 0 12px;
}

.slide_ctt.mg26-hero-card {
	width: 100%;
	max-width: 1200px;
	height: auto !important;
	min-height: 600px;
	padding: 44px 48px !important;
	border-radius: 26px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	background-position: right center !important;
	background-size: cover !important;
	box-shadow: 0 14px 36px rgba(61, 37, 20, 0.10);
}

.slide_ctt.mg26-hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.90) 48%, rgba(255, 253, 249, 0.18) 78%, rgba(255, 253, 249, 0.0) 100%);
	z-index: 1;
	pointer-events: none;
}

.mg26-hero-content {
	position: relative;
	z-index: 2;
	max-width: 650px;
	width: 100%;
	text-align: left;
}

.mg26-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.mg26-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	background: #ffffff;
	color: var(--mg-brown);
	border: 1.5px solid #e4d7c5;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.mg26-badge--gold {
	background: #fff9eb;
	color: #8f5d0a;
	border-color: #f0d493;
}
.mg26-badge--green {
	background: #eef8f1;
	color: var(--mg-green-dark);
	border-color: #bce0c8;
}

.mg26-hero-eyebrow {
	font-size: 15px;
	font-weight: 700;
	color: var(--mg-green-dark);
	margin: 0 0 8px !important;
	letter-spacing: 0.04em;
}

.mg26-hero-title {
	position: static !important;
	font-size: 34px !important;
	line-height: 1.38 !important;
	font-weight: 800 !important;
	color: var(--mg-brown-dark) !important;
	text-shadow: none !important;
	margin: 0 0 14px !important;
	letter-spacing: 0.01em;
}
.mg26-hero-title .mg26-accent {
	color: var(--mg-green);
	background: linear-gradient(transparent 68%, #d7f2e0 68%);
}

.mg26-hero-lead {
	font-size: 15px;
	line-height: 1.75;
	color: #3f3833;
	margin: 0 0 20px !important;
	font-weight: 500;
}

.mg26-hero-ctas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 14px;
}

a.mg26-btn-line:link,
a.mg26-btn-line:visited,
a.mg26-btn-line:hover,
a.mg26-btn-line:active {
	background: var(--mg-line);
	color: #ffffff;
	padding: 14px 18px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	box-shadow: 0 6px 16px rgba(6, 199, 85, 0.28);
	flex-direction: column;
}

a.mg26-btn-tel:link,
a.mg26-btn-tel:visited,
a.mg26-btn-tel:hover,
a.mg26-btn-tel:active {
	background: var(--mg-coral);
	color: #ffffff;
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	box-shadow: 0 6px 16px rgba(224, 90, 71, 0.26);
	flex-direction: column;
}

a.mg26-btn-web:link,
a.mg26-btn-web:visited,
a.mg26-btn-web:hover,
a.mg26-btn-web:active {
	grid-column: 1 / -1;
	background: var(--mg-brown);
	color: #ffffff;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
}

.mg26-btn-sub {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	opacity: 0.94;
	margin-bottom: 2px;
}
.mg26-btn-main {
	display: block;
	font-size: 16.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.mg26-btn-tel .mg26-btn-main {
	font-size: 20px;
	letter-spacing: 0.03em;
}

.mg26-micro-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--mg-brown);
	margin-bottom: 8px;
}
.mg26-micro-trust span::before {
	content: "✓ ";
	color: var(--mg-green);
	font-weight: 900;
}

.mg26-policy-note {
	font-size: 12px;
	line-height: 1.55;
	color: var(--mg-muted);
	background: rgba(255, 255, 255, 0.85);
	border-left: 3px solid var(--mg-gold);
	padding: 6px 10px;
	border-radius: 4px;
}

@media (max-width: 767px) {
	.top_slide.mg26-hero-wrap {
		padding: 0;
		margin-bottom: 24px;
	}
	.slide_ctt.mg26-hero-card {
		border-radius: 0 0 22px 22px;
		min-height: auto;
		padding: 230px 16px 24px !important;
		background-position: top center !important;
		background-size: 100% auto !important;
		background-color: #fcfaf6 !important;
	}
	.slide_ctt.mg26-hero-card::before {
		background: linear-gradient(180deg, rgba(252, 250, 246, 0.0) 0%, rgba(252, 250, 246, 0.15) 150px, rgba(252, 250, 246, 0.96) 225px, #fcfaf6 270px);
	}
	.mg26-hero-badges {
		gap: 6px;
		margin-bottom: 10px;
	}
	.mg26-badge {
		font-size: 11.5px;
		padding: 4px 9px;
	}
	.mg26-hero-eyebrow {
		font-size: 13px;
	}
	.mg26-hero-title {
		font-size: 22px !important;
		line-height: 1.42 !important;
		margin-bottom: 10px !important;
	}
	.mg26-hero-lead {
		font-size: 13.5px;
		line-height: 1.65;
		margin-bottom: 14px !important;
	}
	.mg26-hero-ctas {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.mg26-btn-main {
		font-size: 15.5px;
	}
	.mg26-btn-tel .mg26-btn-main {
		font-size: 19px;
	}
}

/* --------------------------------------------------------------------------
 * 2. 大口・計画案件特化セクション ＆ 買取相殺モデルケースカード
 * -------------------------------------------------------------------------- */
.mg26-section {
	padding: 52px 16px;
	background: var(--mg-cream);
}
.mg26-section--sage {
	background: var(--mg-sage);
}
.mg26-inner {
	max-width: 1060px;
	margin: 0 auto;
}
.mg26-sec-tag {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--mg-green-dark);
	background: #dff2e6;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.mg26-sec-ttl {
	font-size: 26px;
	line-height: 1.45;
	font-weight: 800;
	color: var(--mg-brown-dark);
	text-align: center;
	margin: 0 0 12px !important;
}
.mg26-sec-sub {
	font-size: 15px;
	line-height: 1.75;
	color: var(--mg-muted);
	text-align: center;
	max-width: 760px;
	margin: 0 auto 32px !important;
}

.mg26-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 767px) {
	.mg26-sec-ttl {
		font-size: 21px;
	}
	.mg26-grid-3 {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.mg26-card {
	background: #ffffff;
	border: 1px solid var(--mg-border);
	border-radius: 16px;
	padding: 24px 20px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.03);
	text-align: left;
}
.mg26-card-num {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #ffffff;
	background: var(--mg-green);
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.mg26-card h3 {
	font-size: 18px;
	line-height: 1.45;
	font-weight: 800;
	color: var(--mg-brown-dark);
	margin: 0 0 10px !important;
}
.mg26-card p {
	font-size: 14px;
	line-height: 1.7;
	color: #4a423d;
	margin: 0 !important;
}

/* 買取相殺モデルケース */
.mg26-case-wrap {
	margin-top: 28px;
	margin-bottom: 24px;
}
.mg26-case-card {
	background: #ffffff;
	border: 1.5px solid #d5e6da;
	border-radius: 14px;
	padding: 20px 18px;
	text-align: left;
}
.mg26-case-head {
	font-size: 15px;
	font-weight: 800;
	color: var(--mg-brown-dark);
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px dashed #dfd8ce;
}
.mg26-case-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 13.5px;
	padding: 4px 0;
	color: #4a423d;
}
.mg26-case-row > span:last-child,
.mg26-case-total > strong {
	white-space: nowrap;
	flex-shrink: 0;
}
.mg26-case-minus {
	color: var(--mg-green-dark);
	font-weight: 700;
}
.mg26-case-total {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 2px solid var(--mg-green);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-weight: 800;
	color: var(--mg-brown-dark);
}
.mg26-case-total strong {
	font-size: 21px;
	color: var(--mg-coral);
}

/* 対応エリアチップ一覧 */
.mg26-area-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}
.mg26-area-tag {
	background: #ffffff;
	border: 1px solid #dfd5c7;
	color: var(--mg-brown-dark);
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
}
.mg26-area-tag--sub {
	background: #f8f5f0;
	font-weight: 600;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
 * 3. フッター情報 ＆ 画面下部固定追従3連CTAバー（札幌一本化・鮮明ボタン）
 * -------------------------------------------------------------------------- */
body {
	padding-bottom: 78px;
}
section.grn_bg {
	background-color: #4f7958;
}
.mg26-footer-info {
	max-width: 980px;
	margin: 0 auto;
	padding: 28px 16px 14px;
	color: #ffffff;
	text-align: center;
	font-size: 13.5px;
	line-height: 1.8;
}
.mg26-footer-info strong {
	color: #ffffff !important;
	font-size: 16px;
}
#footer_copy {
	color: rgba(255, 255, 255, 0.88) !important;
	padding-bottom: 18px;
}
.mg26-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin: 12px 0 16px;
}
.mg26-footer-links a:link,
.mg26-footer-links a:visited,
.mg26-footer-links a:hover {
	color: #ffffff;
	font-size: 13px;
	text-decoration: underline;
}

.index_form_wrapper.mg26-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid #e2dad0;
	box-shadow: 0 -4px 18px rgba(0,0,0,0.10);
	padding: 8px 10px !important;
}
.mg26-sticky-inner {
	max-width: 980px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.15fr 1.15fr 0.9fr;
	gap: 8px;
}
a.mg26-sticky-btn:link,
a.mg26-sticky-btn:visited,
a.mg26-sticky-btn:hover,
a.mg26-sticky-btn:active {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 6px;
	border-radius: 10px;
	color: #ffffff;
	font-weight: 800;
	text-align: center;
	line-height: 1.25;
}
a.mg26-sticky-btn--tel:link,
a.mg26-sticky-btn--tel:visited,
a.mg26-sticky-btn--tel:hover { background: var(--mg-coral); }
a.mg26-sticky-btn--line:link,
a.mg26-sticky-btn--line:visited,
a.mg26-sticky-btn--line:hover { background: var(--mg-line); }
a.mg26-sticky-btn--web:link,
a.mg26-sticky-btn--web:visited,
a.mg26-sticky-btn--web:hover { background: var(--mg-brown); }

.mg26-sticky-sub {
	font-size: 10px;
	font-weight: 600;
	opacity: 0.95;
}
.mg26-sticky-main {
	font-size: 14px;
	font-weight: 800;
}
@media (max-width: 480px) {
	.mg26-sticky-inner {
		gap: 6px;
	}
	.mg26-sticky-main {
		font-size: 12.5px;
	}
}

/* --------------------------------------------------------------------------
 * 4. お見積り・ご相談フォームスタイル
 * -------------------------------------------------------------------------- */
.mg26-contact-channels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 20px 0 32px;
}
@media (max-width: 767px) {
	.mg26-contact-channels {
		grid-template-columns: 1fr;
	}
}
.mg26-ch-box {
	background: #ffffff;
	border: 2px solid var(--mg-border);
	border-radius: 16px;
	padding: 22px 20px;
	text-align: center;
}
.mg26-ch-box--line {
	border-color: #bfead0;
	background: #f6fdf8;
}
.mg26-ch-ttl {
	font-size: 17px;
	font-weight: 800;
	color: var(--mg-brown-dark);
	margin-bottom: 8px;
}

.mg26-form-card {
	background: #ffffff;
	border: 1.5px solid #dfd6c9;
	border-radius: 18px;
	padding: 28px 26px;
	max-width: 820px;
	margin: 0 auto 40px;
	box-shadow: 0 8px 28px rgba(61, 37, 20, 0.06);
}
@media (max-width: 767px) {
	.mg26-form-card {
		padding: 20px 15px;
	}
}

.mg26-progress-bar {
	background: #f3f7f4;
	border: 1px solid #cce5d4;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mg-green-dark);
}
.mg26-progress-track {
	flex: 1;
	max-width: 180px;
	height: 8px;
	background: #dcebe1;
	border-radius: 999px;
	overflow: hidden;
}
.mg26-progress-fill {
	height: 100%;
	width: 20%;
	background: var(--mg-green);
	transition: width 0.25s ease;
}

.mg26-field {
	margin-bottom: 22px;
	text-align: left;
}
.mg26-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 800;
	color: var(--mg-brown-dark);
	margin-bottom: 8px;
}
.mg26-req {
	background: var(--mg-coral);
	color: #ffffff;
	font-size: 11px;
	padding: 2px 7px;
	border-radius: 4px;
	font-weight: 700;
}
.mg26-opt {
	background: #918880;
	color: #ffffff;
	font-size: 11px;
	padding: 2px 7px;
	border-radius: 4px;
	font-weight: 700;
}
.mg26-ok-badge {
	margin-left: auto;
	font-size: 12px;
	color: var(--mg-green);
	font-weight: 800;
	display: none;
}
.mg26-field.is-valid .mg26-ok-badge {
	display: inline-block;
}

.mg26-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mg26-chip-label {
	cursor: pointer;
	margin: 0;
}
.mg26-chip-label input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.mg26-chip-span {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 10px;
	border: 1.5px solid #d7cec2;
	background: #faf8f5;
	color: var(--mg-text);
	font-size: 14px;
	font-weight: 700;
	transition: all 0.15s ease;
}
.mg26-chip-label input:checked + .mg26-chip-span {
	background: #ebf7ef;
	border-color: var(--mg-green);
	color: var(--mg-green-dark);
	box-shadow: 0 0 0 2px rgba(46, 125, 79, 0.15);
}

.mg26-input,
.mg26-textarea {
	width: 100%;
	padding: 12px 14px !important;
	border: 1.5px solid #cfc5b9 !important;
	border-radius: 10px;
	font-size: 16px !important;
	color: var(--mg-text) !important;
	background: #ffffff;
	box-sizing: border-box;
}
.mg26-input:focus,
.mg26-textarea:focus {
	outline: none;
	border-color: var(--mg-green) !important;
	box-shadow: 0 0 0 3px rgba(46, 125, 79, 0.15);
}
.mg26-field.is-valid .mg26-input {
	border-color: var(--mg-green) !important;
	background: #f9fdfb;
}

.mg26-submit-btn {
	width: 100%;
	padding: 16px 24px !important;
	background: var(--mg-green);
	color: #ffffff !important;
	border: none;
	border-radius: 12px;
	font-size: 18px !important;
	font-weight: 800 !important;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(46, 125, 79, 0.28);
	transition: background 0.18s ease;
}
.mg26-submit-btn:hover {
	background: var(--mg-green-dark);
}
.mg26-submit-btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

.mg26-security-note {
	text-align: center;
	font-size: 12px;
	color: var(--mg-muted);
	margin-top: 10px;
	line-height: 1.6;
}

.mg26-thanks-box {
	display: none;
	background: #f2faf5;
	border: 2px solid var(--mg-green);
	border-radius: 16px;
	padding: 28px 22px;
	text-align: center;
	margin: 20px auto;
}
.mg26-post-nap-note {
	background: #f5faf6;
	border-left: 4px solid var(--mg-green);
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.65;
}

/* 許認可バッジボックス（about用） */
.mg26-license-box {
	background: #f7fbf8;
	border: 1.5px solid #c5e0cd;
	border-radius: 14px;
	padding: 22px 20px;
	margin: 20px 0 28px;
}
.mg26-license-box h4 {
	font-size: 18px;
	font-weight: 800;
	color: var(--mg-green-dark);
	margin-bottom: 10px !important;
}
.mg26-license-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.mg26-license-list li {
	padding: 6px 0;
	border-bottom: 1px dashed #d6e6db;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mg-text);
}
.mg26-license-list li:last-child {
	border-bottom: none;
}

/* 産業廃棄物収集運搬業許可証 実物掲載カード（トップ・会社概要共通） */
.mg26-permit-showcase {
	background: #ffffff;
	border: 2px solid #bfdbc8;
	border-radius: 18px;
	padding: 26px 28px;
	margin: 28px auto 24px;
	max-width: 920px;
	box-shadow: 0 8px 24px rgba(31, 92, 56, 0.07);
	display: grid;
	grid-template-columns: 1.35fr 0.85fr;
	gap: 26px;
	align-items: center;
	text-align: left;
}
.mg26-permit-tag {
	display: inline-block;
	background: var(--mg-green);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
	letter-spacing: 0.03em;
}
.mg26-permit-ttl {
	font-size: 20px !important;
	line-height: 1.45 !important;
	font-weight: 800 !important;
	color: var(--mg-brown-dark) !important;
	margin: 0 0 12px !important;
}
.mg26-permit-lead {
	font-size: 14px;
	line-height: 1.7;
	color: #433c37;
	margin: 0 0 14px !important;
}
.mg26-permit-dl {
	background: #f6fbf8;
	border: 1px solid #d4e8db;
	border-radius: 12px;
	padding: 12px 16px;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
}
.mg26-permit-dl-row {
	display: grid;
	grid-template-columns: 125px 1fr;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 1px dashed #d8e8de;
}
.mg26-permit-dl-row:last-child {
	border-bottom: none;
}
.mg26-permit-dl-dt {
	font-weight: 800;
	color: var(--mg-green-dark);
}
.mg26-permit-dl-dd {
	color: var(--mg-text);
	font-weight: 600;
}
.mg26-permit-scope {
	font-size: 12px;
	line-height: 1.55;
	color: var(--mg-muted);
	font-weight: 500;
}
.mg26-permit-img-col {
	text-align: center;
}
a.mg26-permit-img-link:link,
a.mg26-permit-img-link:visited,
a.mg26-permit-img-link:hover {
	display: inline-block;
	background: #fdfdfb;
	padding: 10px;
	border-radius: 12px;
	border: 1.5px solid #d8d0c3;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}
.mg26-permit-img-link img {
	display: block;
	width: 100%;
	max-width: 250px;
	height: auto;
	border-radius: 4px;
	margin: 0 auto;
}
.mg26-permit-caption {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--mg-green-dark);
}
@media (max-width: 767px) {
	.mg26-permit-showcase {
		grid-template-columns: 1fr;
		padding: 20px 16px;
		gap: 18px;
	}
	.mg26-permit-ttl {
		font-size: 17.5px !important;
	}
	.mg26-permit-dl-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.mg26-permit-img-link img {
		max-width: 220px;
	}
}

/* お支払い方法案内ボックス（現金・銀行振込明記） */
.mg26-pay-note {
	background: #fcfaf6;
	border: 1.5px solid #dfd6c8;
	border-radius: 12px;
	padding: 16px 20px;
	max-width: 720px;
	margin: 20px auto 8px;
	text-align: center;
	font-size: 14px;
	line-height: 1.7;
	color: var(--mg-text);
}
.mg26-pay-note strong {
	color: var(--mg-brown-dark);
	font-size: 15.5px;
}

