/* =========================================================
   Contact Renewal
   ========================================================= */

.contact-renewal {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff;
	color: var(--text);
}

.contact-renewal *,
.contact-renewal *::before,
.contact-renewal *::after { box-sizing: border-box; }

.contact-renewal img { display: block; width: 100%; max-width: 100%; height: auto; }
.contact-renewal .section-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.contact-page { width: 100%; overflow: hidden; }

.contact-hero {
	position: relative;
	padding: 64px 0 72px;
	background: linear-gradient(135deg, #fff 0%, #fff 44%, var(--blue-hero-surface) 100%);
}

.contact-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(38px, 6vw, 88px);
}

.contact-hero__copy h1 {
	margin: 0;
	color: var(--blue);
	font-size: clamp(40px, 5vw, 52px);
	line-height: 1.35;
	letter-spacing: .04em;
}

.contact-hero__lead {
	margin: 24px 0 0;
	color: var(--text-strong);
	font-size: 16px;
	font-weight: 700;
	line-height: 2;
}

.contact-hero__visual {
	position: relative;
	min-height: 500px;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 24px 60px rgba(29,64,105,.16);
}

.contact-hero__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 48%, rgba(5,28,62,.24) 100%);
	pointer-events: none;
}

.contact-hero__visual img {
	width: 100%;
	height: 100%;
	min-height: 500px;
	object-fit: cover;
}

.contact-form-section,
.contact-shop-section {
	padding: 96px 0 110px;
}

.contact-form-section { background: var(--blue-surface); }
.contact-shop-section { background: #fff; }

.contact-form-section__heading,
.contact-shop-section__heading {
	max-width: 760px;
	margin: 0 0 48px;
}

.contact-form-section__heading h2,
.contact-shop-section__heading h2 {
	margin: 0;
	color: var(--blue);
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.4;
}

.contact-form-section__heading p:not(.el_renewalEyebrow),
.contact-shop-section__heading p:not(.el_renewalEyebrow) {
	margin: 18px 0 0;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.9;
}

.contact-form-section__heading span {
	display: block;
	margin-top: 8px;
	color: #d13d3d;
	font-weight: 700;
}

.contact-form-box {
	padding: clamp(28px, 5vw, 56px);
	background: #fff;
	box-shadow: 0 20px 55px rgba(25,60,103,.09);
}

.contact-business-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin-bottom: 30px;
	padding: 13px 22px;
	border-radius: 4px;
	background: var(--blue);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: .25s ease;
}

.contact-business-btn:hover {
	background: var(--blue-light);
	color: #fff;
	transform: translateY(-2px);
}

.contact-renewal .contact_tbl {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 14px;
}

.contact-renewal .contact_tbl th,
.contact-renewal .contact_tbl td {
	border: 0;
	vertical-align: top;
}

.contact-renewal .contact_tbl th {
	width: 230px;
	padding: 18px 22px;
	background: var(--blue-surface);
	color: var(--blue);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	text-align: left;
}

.contact-renewal .contact_tbl td {
	padding: 0 0 0 18px;
}

.contact-renewal .caution {
	margin-left: 6px;
	color: #d13d3d;
}

.contact-renewal .wpcf7-form-control-wrap {
	display: block;
}

.contact-renewal input[type="text"],
.contact-renewal input[type="email"],
.contact-renewal input[type="tel"],
.contact-renewal input[type="url"],
.contact-renewal select,
.contact-renewal textarea {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--blue-border);
	border-radius: 4px;
	background: #fff;
	color: var(--text);
	font-size: 15px;
	line-height: 1.6;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-renewal select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--blue-light) 50%), linear-gradient(135deg, var(--blue-light) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.contact-renewal textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-renewal input:focus,
.contact-renewal select:focus,
.contact-renewal textarea:focus {
	outline: 0;
	border-color: var(--blue-light);
	box-shadow: 0 0 0 4px rgba(36,105,178,.12);
}

.contact-renewal .acceptance-box {
	padding: 16px 18px;
	border: 1px solid var(--blue-border);
	background: var(--blue-surface);
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.8;
}

.contact-renewal .acceptance-box + .acceptance-box,
.contact-renewal .mg_t10 {
	margin-top: 10px;
}

.contact-renewal .acceptance-box a,
.contact-renewal .submit-info a {
	color: var(--blue-light);
	font-weight: 700;
}

.contact-renewal .submit-info {
	margin: 30px 0 10px;
	color: var(--text);
	font-size: 13px;
	line-height: 1.9;
	text-align: center;
}

.contact-renewal .submit-come {
	margin: 0 0 30px;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.8;
	text-align: center;
}

.contact-renewal .btn_submit,
.contact-renewal input[type="submit"] {
	min-width: 260px;
	min-height: 58px;
	padding: 14px 28px;
	border: 0;
	border-radius: 4px;
	background: var(--blue);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(9,42,90,.18);
	transition: .25s ease;
}

.contact-renewal .btn_submit:hover,
.contact-renewal input[type="submit"]:hover {
	background: var(--blue-light);
	transform: translateY(-2px);
}

.contact-renewal .wpcf7-not-valid-tip {
	margin-top: 8px;
	color: #d13d3d !important;
	font-size: 12px;
}

.contact-renewal .wpcf7-response-output {
	margin: 26px 0 0 !important;
	padding: 16px 18px !important;
	border-width: 1px !important;
	text-align: center;
}

.contact-shop-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.contact-shop-card {
	display: grid;
	grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
	background: #fff;
	box-shadow: 0 18px 48px rgba(25,60,103,.09);
	overflow: hidden;
}

.contact-shop-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	background: var(--blue-image-placeholder);
}

.contact-shop-card__thumb span {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-position: center;
	background-size: cover;
}

.contact-shop-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 28px 26px;
}

.contact-shop-card h3 {
	margin: 0;
	color: var(--blue);
	font-size: 21px;
	line-height: 1.45;
}

.contact-shop-card__tel,
.contact-shop-card__free {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--blue-light);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.contact-shop-card__free {
	align-items: flex-start;
	flex-direction: column;
	gap: 6px;
}

.contact-shop-card__free span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 5px 9px;
	background: var(--blue);
	color: #fff;
	font-size: 11px;
	line-height: 1;
}

.contact-shop-card__free strong {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--blue-light);
	font-size: 16px;
}

.contact-shop-card p {
	margin: 14px 0 0;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.75;
}

.contact-reveal { opacity: 1; transform: none; }
.contact-animation-ready .contact-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.contact-animation-ready .contact-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.contact-animation-ready .contact-reveal { opacity: 1; transform: none; transition: none; }
}

@media screen and (max-width: 980px) {
	.contact-hero__visual,
	.contact-hero__visual img { min-height: 430px; }
	.contact-shop-list { grid-template-columns: 1fr; }
}

@media screen and (max-width: 760px) {
	.contact-renewal .section-inner { width: min(100% - 28px, 1180px); }
	.contact-hero { padding: 48px 0 56px; }
	.contact-hero__inner { grid-template-columns: 1fr; }
	.contact-hero__copy h1 { font-size: clamp(36px, 10vw, 50px); }
	.contact-hero__visual,
	.contact-hero__visual img { min-height: 320px; }
	.contact-form-section,
	.contact-shop-section { padding: 72px 0 78px; }
	.contact-form-box { padding: 24px 18px 30px; }
	.contact-business-btn { width: 100%; }
	.contact-renewal .contact_tbl,
	.contact-renewal .contact_tbl tbody,
	.contact-renewal .contact_tbl tr,
	.contact-renewal .contact_tbl th,
	.contact-renewal .contact_tbl td {
		display: block;
		width: 100%;
	}
	.contact-renewal .contact_tbl { border-spacing: 0; }
	.contact-renewal .contact_tbl tr { margin-top: 18px; }
	.contact-renewal .contact_tbl tr:first-child { margin-top: 0; }
	.contact-renewal .contact_tbl th { padding: 12px 14px; }
	.contact-renewal .contact_tbl td { padding: 10px 0 0; }
	.contact-renewal .btn_submit,
	.contact-renewal input[type="submit"] { width: 100%; min-width: 0; }
	.contact-shop-card { grid-template-columns: 1fr; }
	.contact-shop-card__thumb span { aspect-ratio: 16 / 9; }
	.contact-shop-card__body { padding: 24px 22px 26px; }
}

@media screen and (max-width: 420px) {
	.contact-form-section__heading h2,
	.contact-shop-section__heading h2 { font-size: 29px; }
	.contact-shop-card h3 { font-size: 19px; }
}
