@charset "utf-8";
/* CSS Document */
.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.form-errors {
	margin-bottom: 3rem;
	padding: 2rem;
	border: 2px solid #c00;
	background: #fff5f5;
	color: #c00;
}

.form-errors-title {
	margin-bottom: 1rem;
	font-weight: bold;
}

.form-errors ul {
	margin: 0;
	padding-left: 2rem;
}

.sp-only {
	display: inline;
}


/* =========================================
   first-view
========================================= */
#first-view {
	position: relative;
}

#first-view .main_img {
	position: relative;
}

#first-view .main_img picture,
#first-view .main_img img {
	display: block;
	width: 100%;
	height: auto;
}
#first-view .h1-contents {
	position: absolute;
	top: 20%;
	left: 60px;
	transform: translateY(-50%);
	z-index: 2;
	color: #e6007e;
}
/* =========================================
   lead
========================================= */
#lead{
	padding: 2rem 1rem;
	text-align: left;
}
.alert{
	color: #e4007f;
}
/* =========================================
   h2-contents
========================================= */
.h2mark{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #e4007f;
	font-size: 2rem;
	gap: 10px;
	margin: 2rem 0;
}
.h2mark::before,
.h2mark::after{
	content: "";
	display: block;
	width: 60px;
	aspect-ratio: 1 / 1;
	height: auto;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0; /* 縮まないように */
}
.h2mark::before{
	background-image: url( "../images/g-images/left-mark.jpg");
	
}
.h2mark::after{
	background-image: url( "../images/g-images/right-mark.jpg");
}
/* =========================================
   form
========================================= */
#form{
	margin: 2rem 1rem;
}
.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-bottom: 2rem;
}

.form-group label {
	font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	box-sizing: border-box;
}
/* checkbox・radioはSPでも横並び */
.form-group.choice-group {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem 1rem;
}

/* 「希望車種」は1行全部使う */
.form-group.choice-group .control-label {
	flex: 0 0 100%;
	width: 100%;
}

/* checkbox */
.form-group.choice-group input[type="checkbox"],
.form-group.choice-group input[type="radio"] {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}

/* checkboxの横のlabel */
.form-group.choice-group input[type="checkbox"] + label,
.form-group.choice-group input[type="radio"] + label {
	width: auto;
	margin: 0 1rem 0 0;
	flex: 0 0 auto;
	white-space: nowrap;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"] {
	padding: 1.2rem 1.5rem;
	font-size: 1.6rem;
	line-height: 1.5;
	box-sizing: border-box;
}
.form-group textarea {
	padding: 1.2rem 1.5rem;
	font-size: 1.6rem;
	line-height: 1.6;
	box-sizing: border-box;
}
.form-group.choice-group input[type="checkbox"],
.form-group.choice-group input[type="radio"] {
	width: auto;
	margin: 0 0.3rem 0 0;
	transform: scale(1.3);
}
.control-label{
	color: #544b9d;
}
.req{
	color: #e4007f;
}
/* =========================================
   必須入力エラー
========================================= */
.input-error {
	display: none;
	margin: .5rem 0 0;
	color: #d60000;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.5;
}

.input-error.show {
	display: block;
}

.form-control.is-error {
	border: 2px solid #d60000;
	background-color: #fff5f5;
	outline: none;
}
/* =========================================
   添付ファイル
========================================= */
.file-area {
	width: 100%;
}

.file-area input[type="file"] {
	width: 100%;
}

.file-area .form-note {
	margin: 0.8rem 0 0;
	font-size: 1.4rem;
	line-height: 1.6;
}

.current-attachment {
	margin-bottom: 1rem;
}
/* =========================================
   確認・リセット
========================================= */
.btn-area{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin: 4rem auto;
	padding: 0 1rem;
}
.btn-area input[type="submit"],
.btn-area input[type="reset"] {
	flex: 1;
	width: auto;
	max-width: 250px;
	padding: 1.2rem 1rem;

	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;

	border-radius: 4px;
	cursor: pointer;
}

/* 確認 */
.btn-area input[type="submit"] {
	background: #e4007f;
	color: #fff;
	box-shadow: 0 0 0 4px #e4007f;
	border: dashed 1px #fff;
}

/* リセット */
.btn-area input[type="reset"] {
	background: #dcdddd;
	color: #333;
	box-shadow: 0 0 0 4px #dcdddd;
	border: dashed 1px #fff;
}
/* =========================================
   privacy policy
========================================= */
#policy {
	margin: 4rem 1rem;
}

.policy-item {
	line-height: 1.8;
}

.policy-item p {
	margin-bottom: 1.5rem;
}

.policy-item ul {
	margin: 0 0 2rem;
	padding-left: 2rem;
}

.policy-item li {
	list-style: disc;
	margin-bottom: 0.5rem;
}
/* =========================================
   確認画面
========================================= */
#confirm {
	padding: 3rem 1rem 5rem;
}

.confirm-container {
	max-width: 1000px;
	margin: 0 auto;
}

.confirm-lead {
	margin: 0 0 3rem;
	text-align: center;
	line-height: 1.8;
}

.confirm-list {
	margin: 0;
	border-top: 1px solid #ccc;
}

.confirm-list dt,
.confirm-list dd {
	margin: 0;
	padding: 1.2rem 1.5rem;
	box-sizing: border-box;
}

.confirm-list dt {
	font-weight: bold;
	color: #544b9d;
	background: #f5f5f5;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.confirm-list dd {
	min-height: 4.8rem;
	line-height: 1.6;
	background: #fff;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	overflow-wrap: anywhere;
}


.confirm-btn-area {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 2rem;
	margin: 4rem auto 0;
}

.confirm-btn-area form {
	flex: 1;
	max-width: 250px;
	margin: 0;
}

.confirm-btn-area button {
	width: 100%;
	height: 100%;
	padding: 1.2rem 1rem;
	font-size: 1.6rem;
	font-weight: bold;
	border-radius: 4px;
	cursor: pointer;
}

.send-button {
	background: #e4007f;
	color: #fff;
	box-shadow: 0 0 0 4px #e4007f;
	border: dashed 1px #fff;
}

.back-button {
	background: #dcdddd;
	color: #333;
	box-shadow: 0 0 0 4px #dcdddd;
	border: dashed 1px #fff;
}
/* =========================================
   thanks
========================================= */
#thanks {
	padding: 2rem 2rem 5rem;
}

#thanks .container {
	width: 100%;
	box-sizing: border-box;
}

.thanks-message {
	width: 100%;
}

.thanks-message p {
	margin: 0 0 2rem;
	line-height: 1.8;
}

/* トップページへ戻る */
.thanks-back {
	display: flex;
	justify-content: flex-end;
	margin-top: 4rem;
}

.thanks-back a {
	display: inline-block;
	padding: 1.2rem 2rem;

	color: #fff;
	font-weight: bold;
	text-decoration: none;

	background: #544b9d;
	border-radius: 4px;

	transition: opacity 0.3s;
}

.thanks-back a:hover {
	opacity: 0.8;
}
/* タブレット (768px〜) */
@media (min-width: 768px) {
	.sp-only {
		display: none;
	}
/* =========================================
   first-view
========================================= */
	#first-view .h1-contents {
		top: 50%;
		left: 70px;
	}
/* =========================================
   lead
========================================= */
	#lead {
		width: fit-content;
		margin: 3rem auto;
	}
/* =========================================
   h2-contents
========================================= */
	.h2mark{
		font-size: 2.6rem;
		
	}
/* =========================================
   form
========================================= */
	.form-group {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		column-gap: 2rem;
		row-gap: 0.5rem;
		align-items: start;
	}
	/* 必須エラーメッセージは入力欄の下 */
	.form-group .input-error {
		grid-column: 2;
		margin-top: -0.3rem;
	}

	.form-group label {
		width: 200px;
		flex-shrink: 0;
	}

	.form-group input,
	.form-group textarea,
	.form-group select {
		
		width: auto;
	}
	/* 項目名も横並びに戻す */
	.form-group.choice-group {
		gap: 0.8rem 0.5rem;
	}

	.form-group.choice-group .control-label {
		flex: 0 0 200px;
		width: 200px;
		margin-right: 1.5rem;
	}
	
	.form-group input[type="number"],
	.form-group input[type="date"],
	.form-group input[type="time"] {
		flex: 0 0 auto;
		width: 100%;
	}

	.form-group input[type="number"] {
		max-width: 200px;
	}

	.form-group input[type="date"] {
		max-width: 200px;
	}

	.form-group input[type="time"] {
		max-width: 200px;
	}
/* =========================================
   form error
========================================= */
.form-errors {
	margin: 0 0 3rem;
	padding: 2rem;
	border: 2px solid #c00;
	background: #fff5f5;
	color: #c00;
	box-sizing: border-box;
}

.form-errors p {
	margin: 0 0 1rem;
	font-weight: bold;
}

.form-errors ul {
	margin: 0;
	padding-left: 2rem;
}

.form-errors li {
	margin-bottom: .5rem;
	line-height: 1.6;
}

.form-errors li:last-child {
	margin-bottom: 0;
}
/* =========================================
   添付ファイル
========================================= */
	.file-area {
		flex: 1;
		width: auto;
	}
/* =========================================
   privacy policy
========================================= */
	.policy-item {
		max-width: 1000px;
		margin: 0 auto;
	}
/* =========================================
   確認画面
========================================= */		
	#confirm {
		padding: 4rem 2rem 6rem;
	}

	#confirm .confirm-list {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
	}

	#confirm .confirm-list dt {
		border-top: 0;
		border-right: 0;
	}

	#confirm .confirm-list dd {
		border-top: 0;
	}
/* =========================================
   thanks
========================================= */
	#thanks {
		padding: 3rem 2rem 6rem;
	}

	#thanks .container {
		max-width: 1000px;
		margin: 0 auto;
	}

	.thanks-message {
		max-width: 800px;
		margin: 0 auto;
		text-align: left;
	}


}
/* PC (1024px〜) */
@media (min-width: 1024px) {
	
}