@charset "utf-8";

body {
	font-family: "LINE Seed JP", sans-serif;
	font-size: 20px;
	letter-spacing: 0.3px;
}

button, input, textarea, option, select {
	font-family: "LINE Seed JP", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

a img:hover {
	opacity: 0.7;
}

.sp {
	display: none;
}

#title1,
#title2,
#title3,
#title4,
#title5 {
	height: 0;
}

#title1,
#title2,
#title3 {
	position: relative;
	top: -80px;
	visibility: hidden;
	pointer-events: none;
}

.form_box_anchor {
	position: absolute;
	top: 80px;
	right: 0;
	height: 0;
}

.sec_area {
	margin: 0 auto;
	width: min(1000px, 94%);
}

.h_line {
	background-image: url(../img/dark_bg.jpg);
	margin-bottom: 40px;
	padding-block: 15px;
	font-weight: 600;
	font-size: 28px;
	text-align: center;
	line-height: 1.6;
	color: #fff;
}

.h_line span {
	font-size: 18px;
	display: block;
	font-weight: normal;
}

@media (max-width: 960px) {
	img {
		width: 100%;
		height: auto;
	}

	.pc {
		display: none;
	}

	.sp {
		display: block;
	}

	#title1,
	#title2,
	#title3 {
		top: -120px;
	}

	#title4,
	#title5 {
		position: relative;
		top: -50px;
		visibility: hidden;
		pointer-events: none;
	}

	.form_box_anchor {
		position: relative;
		top: -60px;
		visibility: hidden;
		pointer-events: none;
	}

	.h_line {
		margin-bottom: 20px;
	}

	.h_line span {
		display: none;
	}
}

/*======================= CV スタイル =======================*/
.cv_pc {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	width: min(924px, 100%);
	margin-inline: auto;
	padding: 10px;
	background-color: #fde134;
}

.cv_pc::after {
	content: '';
	width: 1px;
	height: 80%;
	background: #fff;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	margin: auto;
}

.cv_pc .cv_inner {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.cv_pc .cv_circle {
	display: inline-block;
	width: 85px;
}

.cv_pc .cv_tel {
	line-height: 1.6;
	width: min-content;
}

.cv_pc .cv_tel p {
	font-size: 14px;
	font-weight: bold;
}

.cv_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 10px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 600;
	text-decoration: none;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(255, 255, 255, 0.5);
	border: 1px solid #a2000d;
	box-shadow: 2px 2px 4px inset;
	border-radius: 6px;
	background: linear-gradient(to bottom, #e60012 46%, #b4000e 54%, #b4000e 60%, #dc0011 92%);
	cursor: pointer;
}

.cv_btn::before {
	content: '';
	background-image: url(../img/arrow1.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 40px;
	height: 30px;
	margin-right: 10px;
}

.cv_btn:hover {
	opacity: .7;
}

.cv_tel_sp {
	display: none;
}

@media (max-width: 960px) {
	.cv_pc {
		display: none;
	}

	.cv_btn {
		padding-block: 16px;
		font-size: 18px;
	}

	.cv_btn::before {
		width: 30px;
		height: 22px;
		margin-right: 3px;
	}

	.cv_tel_sp {
		display: block;
	}
}

/*======================= ヘッダー =======================*/
.header {
	background-color: #084287;
	border: none;
	position: inherit;
}

.header .sec_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 7px;
}

@media (min-width: 961px) {
	.header_tel {
		pointer-events: none;
	}
}

@media (max-width: 960px) {
	.header {
		position: fixed;
		z-index: 10;
		width: 100%;
	}

	.header img {
		width: auto;
		max-height: 37px;
	}
}

/*======================= ナビゲーション =======================*/
.nav {
	background-color: #084287;
	display: inline-block;
	width: 100%;
	padding: 20px 0;
	text-align: center;
}

.nav_pc {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.nav_pc li {
	position: relative;
}

.nav_pc li::after {
	content: '';
	width: 2px;
	height: 27px;
	background: #fff;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

.nav_pc li:last-child::after {
	display: none;
}

.nav_pc li:hover {
	background: none;
	opacity: .7;
}

.nav_sp {
	display: none;
}

@media (max-width: 960px) {
	.nav {
		background-image: url(../img/light_bg.jpg);
	}

	.nav_pc {
		display: none;
	}

	.nav_sp {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 5px;
	}
}

/*======================= メインビジュアル =======================*/
.main_wrap {
	width: 100%;
	position: relative;
	margin: 0 auto;
	background: #fff;
	background-image: url(../img/mv_bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 100% 70%;
}

.main_bottom {
	background: linear-gradient(to bottom, #fff494 0%, #fbb90b 98%);
}

.main_box {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 30px;
}

.main_img {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(595px, 100%);
}

@media (min-width: 961px) {
	.main_bottom .sec_area {
		height: 135px;
		position: relative;
	}

	.main_bottom .sec_area img {
		right: 0;
		left: -20px;
		position: absolute;
		bottom: 0;
		height: auto;
	}
}

@media (max-width: 1100px) {
	.main_box {
		flex-direction: column;
		padding-block: 70px 15px;
	}

	.main_img {
		gap: 5px;
		margin-bottom: 15px;
	}

	.main_img img {
		width: 100%;
	}
}

/*======================= 自動車税インフォメーション =======================*/
#common_zei_box {
	width: 100%;
	max-width: 1000px;
	border: solid 4px #c20211;
}

#one_point_zei_comment span {
	background: #ffd0d4;
	font-size: 28px;
	color: #c20211;
	font-weight: bold;
	text-align: center;
	width: 100%;
	line-height: 1.7;
	display: block;
	margin: 0;
}

#common_zei_text {
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.4;
	color: #be0622;
	padding: 1.3% 0 2%;
}

#common_zei_sub_text {
	font-size: 15px;
	font-weight: bold;
	color: #000;
	padding-top: 15px;
}

#common_zei_box span.bg_yellow {
	background: #fffc00;
}

@media (min-width: 961px) {
	#common_zei_box {
		margin: 20px auto;
		background: #fff;
	}
}

@media (max-width: 960px) {
	.kanpu #common_zei_box {
		margin-bottom: 15px;
	}

	#one_point_zei_comment span {
		font-size: 22px;
	}

	#common_zei_text {
		text-align: left;
		font-size: 16px;
		padding: 4%;
	}
}

/*======================= カーネクストの強み =======================*/
.recommend {
	background-image: url(../img/light_bg.jpg);
	padding-block: 70px 10px;
}

.recommend_block {
	background:
			url("../img/recommend_bg_right.png") top right no-repeat,
			url("../img/recommend_bg_left.png") top left no-repeat,
			#fff;
	padding: 0 40px 30px;
	box-sizing: border-box;
	font-size: 18px;
	margin-bottom: 60px;
	position: relative;
	border-radius: 5px;
}

.recommend_block::before {
	content: '';
	display: block;
	width: 231px;
	height: 46px;
	background-image: url(../img/recommend_carnext.png);
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
	top: -20px;
	margin: 0 auto;
}

.recommend_ttl {
	position: relative;
	bottom: 12px;
	background: url("../img/recommend_ttl_line.png") no-repeat;
	background-position: bottom 3px left 280px;
	margin-bottom: 10px;
	padding-bottom: 20px;
	font-size: 36px;
	font-weight: bold;
	color: #0852ab;
	text-align: center;
}

.recommend_txt {
	line-height: 1.8;
	margin-bottom: 20px;
}

.recommend_txt strong {
	color: #de0000;
	font-weight: bold;
}

.donna_car {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-bottom: 15px;
}

.donna_car li img {
	width: 100%;
}

.donna_car li p {
	width: 100%;
	margin-top: 7px;
	padding-block: 5px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	color: #000;
	background-color: #d2d2d2;
	border-radius: 20px;
}

.muryo_img {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 30px;
}

.muryo_img li {
	position: relative;
}

.muryo_img li img {
	width: 100%;
	border-radius: 10px;
	border: 3px solid #084287;
}

.muryo_img li p {
	position: absolute;
	bottom: -14px;
	right: 0;
	left: 0;
	width: fit-content;
	margin: auto;
	padding: 5px 15px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	background: #084287;
	color: #fff;
	border-radius: 10px;
	z-index: 1;
}

.muryo_compare {
	width: 100%;
	margin-bottom: 20px;
}

.kanpu_img img {
	margin: auto;
	display: block;
	padding-bottom: 20px;
}

@media (min-width: 961px) {
	.donna .recommend_ttl {
		background-position: bottom 3px left 220px;
	}
}

@media (max-width: 960px) {
	.recommend {
		padding-block: 30px;
	}

	.recommend_block {
		background-image: url(../img/recommend_bg_sp.png);
		background-position: calc(50% + 120px) 0, center;
		background-size: contain;
		margin-bottom: 30px;
		padding: 20px 15px;
	}

	.recommend_block::before {
		position: initial;
		width: 170px;
		height: 40px;
		margin: initial;
	}

	.recommend_ttl {
		position: initial;
		font-size: 24px;
		text-align: left;
		background-position: bottom 10px left;
		background-size: 250px;
	}

	.recommend_txt {
		font-size: 16px;
		line-height: 1.6;
	}

	.donna_car {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.muryo_img {
		gap: 5px;
	}

	.muryo_img li p {
		font-size: 16px;
	}
}

/*======================= 事例 =======================*/
.jirei {
	padding-bottom: 50px;
}

.jirei_list {
	display: grid;
	gap: 25px;
	width: min(760px, 90%);
	margin-inline: auto;
	margin-bottom: 30px;
}

.jirei dl {
	display: flex;
	align-items: center;
	gap: 15px;
}

.jirei_detail {
	width: 100%;
}

.jirei h3 {
	padding-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
}

.jirei .price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	font-size: 30px;
	font-weight: 600;
	color: #de0000;
}

.jirei .price::before {
	content: '買取価格';
	background-color: #de0000;
	font-size: 20px;
	padding: 5px 10px;
	color: #fff;
}

.jirei_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.jirei_table th,
.jirei_table td {
	padding: 7px 10px;
	border: 1px solid #ccc;
}

.jirei_table th {
	text-align: center;
	background: #eee;
}

@media (max-width: 960px) {
	.jirei {
		padding-bottom: 30px;
	}

	.jirei dl {
		flex-direction: column;
	}
}

/*======================= 買取の流れ =======================*/
.flow_list {
	counter-reset: step;
	background-color: #f0f7ff;
	border: 2px #8baed9 solid;
	padding: 20px 50px;
	margin-bottom: 60px;
	border-radius: 5px;
}

.flow_list li {
	position: relative;
	list-style: none;
	padding-left: 90px;
	margin-bottom: 30px;
}

.flow_list li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 54px;
	border: 4px solid #8cb2e6;
	border-radius: 50%;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #003f8c;
	font-size: 24px;
	font-weight: bold;
	z-index: 2;
}

.flow_list li h3 {
	font-size: 24px;
	color: #084287;
	font-weight: 600;
	display: block;
	padding-block: 15px;
}

.flow_list li p {
	line-height: 1.4;
}

@media (min-width: 961px) {
	.flow_list li::after {
		content: "";
		position: absolute;
		top: 54px;
		left: 27px;
		width: 4px;
		height: calc(100% + 30px);
		background: #8cb2e6;
	}

	.flow_list li:last-child::after {
		display: none;
	}
}

@media (max-width: 960px) {
	.flow {
		padding-bottom: 30px;
	}

	.flow_list {
		margin-bottom: 30px;
		padding: 15px;
	}

	.flow_list li {
		margin-bottom: 15px;
		padding-left: 43px;
	}

	.flow_list li::before {
		width: 35px;
		height: 35px;
		font-size: 20px;
	}

	.flow_list li h3 {
		padding-block: 9px;
		font-size: 20px;
	}

	.flow_list li p {
		font-size: 16px;
		line-height: 1.6;
	}

	.flow_list li:last-child {
		margin-bottom: 0;
	}
}

/*======================= 初めての方 =======================*/
.beginner {
	background: url(../img/light_bg.jpg);
	padding-top: 40px;
}

.beginner .sec_area p {
	font-size: 22px;
	line-height: 1.6;
	padding-block: 20px;
}

.beginner_txt img {
	display: none;
}

@media (min-width: 961px) {
	.beginner .sec_area {
		background-image: url(../img/beginner_woman_img.png);
		background-repeat: no-repeat;
		background-position: right top;
		width: 880px;
	}

	.beginner h2 {
		padding-bottom: 40px;
	}
}

@media (max-width: 960px) {
	.beginner {
		padding-block: 30px;
	}

	.beginner_txt {
		background-color: #fff;
		margin-bottom: 15px;
		padding: 15px;
	}

	.beginner_txt img {
		display: block;
	}

	.beginner .sec_area p {
		font-size: 16px;
		padding-block: 0 15px;
	}
}

/*======================= フッター =======================*/
.footer {
	background-color: #084287;
	color: #fff;
	padding-block: 30px;
	font-size: 15px;
	text-align: center;
}

.footer .footer_link {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 20px;
}

.footer a {
	color: #fff;
	text-decoration: underline;
}

.footer address {
	font-style: normal;
}

@media (max-width: 960px) {
	.footer .footer_link {
		flex-direction: column;
		gap: 15px;
	}
}

/*======================= トップへ戻る =======================*/
.page_top {
	z-index: 10;
	position: fixed;
	bottom: 10px;
	right: 0;
	left: 0;
}

.page_top a {
	position: absolute;
	height: 90px;
	display: block;
	bottom: 100px;
	right: 0;
}

.page_top img {
	width: 75%;
}