/*********************

      mv_block

*********************/
#mv_block {
	background: url("../img/mv_bg.png")no-repeat top/cover;
	position: relative;
	z-index: 3;
}

#mv_block .link_box {
	gap: 10px;
	justify-content: flex-end;
	padding: 30px 0 0;
}

#mv_block .link_box img {
	width: 168px;
}

#mv_block .ttl_box {
	margin: 0 auto;
	max-width: 803px;
	width: 65%;
}

#mv_block .ttl_box .ttl_img {
	margin: 76px auto 0;
	width: 100%;
}

#mv_block .ttl_box .icon_box {
	margin: 40px auto 0;
	max-width: 762px;
	width: 100%;
}


@media screen and (max-width: 840px) {
	#mv_block .link_box {
		justify-content: center;
		padding: 120px 0 0;
	}

	#mv_block .ttl_box .ttl_img {
		margin-top: 40px;
	}
}

@media screen and (max-width: 640px) {
	#mv_block {
		background: url("../img/mv_bg_sp.png")no-repeat top/cover;
	}

	#mv_block .link_box {
		justify-content: center;
		padding: 84px 0 0;
	}

	#mv_block .link_box img {
		width: 127px;
	}

	#mv_block .ttl_box {
		width: 100%;
	}

	#mv_block .ttl_box .ttl_img {
		margin-top: 20px;
		max-width: 389px;
	}

	#mv_block .ttl_box .icon_box {
		margin: 37px auto 0;
		max-width: 351px;
	}
}

/*********************

      intro_block

*********************/
#intro_block {
	margin-top: -69px;
	padding: 110px 0;
	background: url("../img/contents_bg.png")no-repeat top/cover;
	position: relative;
	z-index: 2;
}

#intro_block::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 93%;
	height: 272px;
	background: #fff;
	clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
	z-index: -1;
}

#intro_block .contents_inner {
	max-width: 860px;
}

#intro_block .intro_catch {
	max-width: 625px;
	width: 100%;
	margin: 0 auto 23px;
}

#intro_block .person_list {
	margin: 40px 0 80px;
	gap: 20px;
	justify-content: flex-start;
	align-items: stretch;
}

#intro_block .person_list li {
	width: calc((100% - 20px) / 2);
	padding: 20px;
	background: #fff;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	justify-content: stretch;
}

#intro_block .person_list li .profile_box {
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14.5px;
}

#intro_block .person_list li .profile_box img {
	width: 61%;
}

#intro_block .person_list li .profile_box .profile_img {
	width: 35%;
}

#intro_block .person_list li .txt_box {
	margin-top: 20px;
	padding: 20px;
	border: 1px solid #D5D5D5;

	flex: 1;
}

#intro_block .intro_txt {
	max-width: 819px;
	width: 100%;
	margin: 0 auto 114px;
}

#intro_block .img_loop {
	width: 100%;
	overflow: hidden;
}

#intro_block .img_wrap {
	/*gap: 20px;*/
	flex-wrap: nowrap;
	/*justify-content: center;*/
	
	width: max-content;
}

#intro_block .img_wrap.right_loop {
	margin-bottom: 28px;
}

#intro_block .img_wrap img {
	width: 360px;
	
	margin-right: 20px;
	flex-shrink: 0;
}
#intro_block .img_wrap img:last-child {
  margin-right: 0;
}

#intro_block .right_loop{
	animation: right_loop 30s linear infinite;
}
#intro_block .left_loop{
	animation: left_loop 45s linear infinite;
}	

@keyframes right_loop {
    from {
        transform: translateX(-35%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes left_loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

	
@media screen and (max-width: 840px) {}

@media screen and (max-width: 640px) {
	#intro_block {
		margin-top: 0;
		padding: 65px 0 60px;
		background: url("../img/contents_bg_sp.png")no-repeat top/cover;
	}

	#intro_block::before {
		content: none;
	}

	#intro_block .intro_catch {
		max-width: 354px;
		margin: 0 auto 14px;
	}

	#intro_block .person_list {
		margin: 20px auto 30px;
	}

	#intro_block .person_list li {
		width: 100%;
	}

	#intro_block .intro_txt {
		max-width: 315px;
		margin: 0 auto 46px;
	}

	/*#intro_block .img_wrap {
		gap: 8px;
	}*/

	#intro_block .img_wrap.right_loop {
		margin-bottom: 14px;
	}

	#intro_block .img_wrap img {
		width: 166px;
		
		margin-right: 8px;
	}

	#intro_block .person_list li .profile_box img {
		width: 52%;
	}

	#intro_block .person_list li .profile_box .profile_img {
		width: 43%;
	}
	
	#intro_block .right_loop{
		animation: right_loop 20s linear infinite;
	}
	#intro_block .left_loop{
		animation: left_loop 37s linear infinite;
	}	
}

@media screen and (max-width: 390px) {
	#intro_block {
		margin-top: -26px;
	}
}

/*********************

     why_block

*********************/
#why_block {
	padding: 61px 0 108px;
	background: #0A3794;
}

#why_block .ttl_box {
	position: relative;
	padding: 50px 0 60px;
}

#why_block .ttl_box::before,
#why_block .ttl_box::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 364px;
	height: 373px;
}

#why_block .ttl_box::before {
	background: url("../img/icon_car_02.png")no-repeat center/contain;
	left: 0;
}

#why_block .ttl_box::after {
	background: url("../img/icon_car_03.png")no-repeat center/contain;
	right: 0;
}

#why_block .ttl_box img {
	max-width: 658px;
	width: 48%;
	margin: auto;
}

#why_block .movie_box {
	max-width: 760px;
	width: 100%;
	margin: auto;
	height: 470px;
}

@media screen and (max-width: 1400px) {

	#why_block .ttl_box::before,
	#why_block .ttl_box::after {
		width: 26%;
	}
}

@media screen and (max-width: 840px) {}

@media screen and (max-width: 640px) {
	#why_block {
		padding: 60px 0;
	}

	#why_block .ttl_box {
		padding: 0 0 40px;
	}

	#why_block .ttl_box::before,
	#why_block .ttl_box::after {
		content: none;
	}

	#why_block .ttl_box img {
		width: 100%;
	}

	#why_block .movie_box {
		max-width: 350px;
		height: 216px;
	}
}


/*********************

    service_block

*********************/
#service_block {
	position: relative;
	background: url("../img/service_bg.png")no-repeat center/cover;
	padding: 108px 0;
}

#service_block::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -58px;
	margin: auto;
	background: url("../img/arrow.png")no-repeat center/contain;
	width: 227px;
	height: 133px;
}

#service_block img {
	max-width: 860px;
	width: 100%;
	margin: auto;
}

@media screen and (max-width: 840px) {}

@media screen and (max-width: 640px) {
	#service_block {
		padding: 60px 0;
	}

	#service_block::before {
		width: 142px;
		height: 83px;
		bottom: -42px;
	}
}

/*********************

    service2_block

*********************/
#service2_block {
	background: url("../img/contents_bg2.png")no-repeat top/cover;
	padding: 118px 0 109px;
}

#service2_block .service_list {
	gap: 20px;
	justify-content: flex-start;
	max-width: 860px;
	width: 100%;
	margin: auto;
}

#service2_block .service_list li {
	width: calc((100% - 20px) / 2);
	box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 840px) {}

@media screen and (max-width: 640px) {
	#service2_block {
		background: url("../img/contents_bg2_sp.png")no-repeat top/cover;
		padding: 62px 0 60px;
	}

	#service2_block .service_list {
		gap: 10px;
	}

	#service2_block .service_list li {
		width: 100%;
	}
}

/*********************

    reserve_block

*********************/
#reserve_block {
	padding: 110px 0;
	background: #E6231D;
}

#reserve_block .ttl_box {
	max-width: 658px;
	width: 100%;
	margin: 0 auto 65px;
}

#reserve_block .reserve_btn {
	gap: 30px 20px;
	max-width: 860px;
	width: 100%;
	margin: auto;
}

#reserve_block .reserve_btn li {
	width: calc((100% - 20px) / 2);
	text-align: center;
	border-radius: 10px;
	box-shadow: 9px 9px 15px #BE130E;
	background: linear-gradient(90deg, rgba(255, 241, 0, 1), rgba(255, 213, 0, 1));
	transition: 0.3s;
}

#reserve_block .reserve_btn li a {
	font-size: 32px;
	font-weight: 700;
	padding: 11px 0;
	border-radius: 10px;
	display: block;
	position: relative;
	box-shadow: 0 5px 10px #8B8300;
}

#reserve_block .reserve_btn li a::before {
	content: "";
	width: 22px;
	height: 21px;
	background: url("../img/arrow_icon.svg")no-repeat center/contain;
	position: absolute;
	right: 30px;
	top: 0;
	bottom: 0;
	margin: auto;
	transition: 0.3s;
}

#reserve_block .reserve_btn li:hover a {
	background: rgba(255, 213, 0, 1);
}

#reserve_block .reserve_btn li a:hover {
	box-shadow: none;
}

#reserve_block .reserve_btn li a:hover::before {
	right: 40px;
}

@media screen and (max-width: 840px) {
	#reserve_block .reserve_btn li a {	
		font-size: 26px;	
	}	
	#reserve_block .reserve_btn li a::before{	
		right: 15px;	
	}	
	#reserve_block .reserve_btn li a:hover::before {	
		right: 25px;	
	}
}

@media screen and (max-width: 640px) {
	#reserve_block {
		padding: 60px 0;
	}
	#reserve_block .ttl_box{
		margin: 0 auto 35px;
	}

	#reserve_block .reserve_btn {
		gap: 20px;
	}

	#reserve_block .reserve_btn li {
		width: 100%;
	}

	#reserve_block .reserve_btn li a {
		font-size: 26px;
	}

	#reserve_block .reserve_btn li a:hover::before {
		right: 35px;
	}
}

/*********************

    off_block

*********************/
#off_block {
	padding: 110px 0;
	background: url("../img/off_bg.png")#0A3794;
	background-repeat: repeat;
}

#off_block .off_box {
	gap: 20px;
	justify-content: center;
	max-width: 860px;
	width: 100%;
	margin: auto;
}

#off_block .off_box img {
	width: calc((100% - 20px) / 2);
}

@media screen and (max-width: 840px) {}

@media screen and (max-width: 640px) {
	#off_block {
		padding: 60px 0;
	}

	#off_block .off_box {
		gap: 10px;
	}

	#off_block .off_box img {
		width: 100%;
	}
}

/*********************

		store_block

*********************/
#store_block {
	background: #0A3794;
	width: 100%;
	padding: 110px 0 100px;
}

#store_block .store_ttl_sp {
	display: none;
}


#store_block .store_ttl_img_pc{
	position: relative;
}
#store_block .store_ttl_img_pc::after {
	position: absolute;
	content: "";
	display: inline;
	background: url(../img/store_ttl_img_pc.png)no-repeat center/contain;
	width: 333px;
	height: 222px;
	z-index: -1;
	transform: rotate(15deg);
	right: 50px;
	/*bottom: -30px;*/
	top: 0;
	box-shadow: 18px 18px 18px rgba(15, 22, 59, 0.36);
}
#store_block .store_ttl_img_pc .wrap{
	z-index: 2;
	max-width: 738px;
	width: 90%;
	margin: 0 auto;
}

#store_block .store_ttl_pc {
	position: relative;
	display: block;
	margin: 0 auto;
	z-index: 2;
}

#store_block .store_ttl_pc {
	
}

#store_block .store_ttl_pc p {
	font-size: 32px;
	font-weight: bold;
	color: #FFF100;
	text-align: center;
	line-height: 47px;
	margin: 0 auto;
	margin-top: 30px;
}


#store_block .store_movie {
	display: block;
	width: 90%;
	max-width: 760px;
	height: 470px;
	margin: 65px auto 0;
	text-align: center;
}



#store_block .store_box {
	position: relative;
	max-width: 738px;
	width: 90%;
	margin: 0 auto;
}


#store_block .store_box ul {
	margin: 0 auto;
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: baseline;
	align-items: baseline;
	-webkit-align-content: space-around;
	align-content: space-around;
	text-align: center;
	margin-top: 60px;
	gap: 20px;
}

#store_block .store_box li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: calc((100% - 20px) / 2);
	height: auto;
	background-color: #fff;

}

#store_block .store_box .store_img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: auto;
	margin-top: 0;
}

#store_block .button {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 10px 30px;
	background-color: #FFFFFF;
	/* ボタンの背景色 */
	color: #171717;
	/* ボタンの文字色 */
	font-weight: bold;
	text-decoration: none;
	/* 下線を消す */
	border-radius: 35px;
	/* 角を丸くする */
	font-size: 16px;
	transition: 0.3s ease;
	/* ホバー時のアニメーション */
	margin: 20px auto;
	border: 1px solid #0A3794;
}

#store_block .button i {
	position: absolute;
	right: 10px;
}

#store_block .button:hover {
	background-color: #0056b3;
	/* ホバー時の背景色 */
	color: #fff;
}

@media screen and (max-width: 1200px){
	#store_block .store_ttl_img_pc::after {
		width: 250px;
		height: 175px;
	}
}

@media screen and (max-width: 640px) {
	#store_block {
		padding: 60px 0;
		z-index: 2;
		width: 100%;
	}

	#store_block .store_ttl_pc {
		display: none;
	}

	
	#store_block .contents_inner {
		position: relative;
		height: auto;
	}

	#store_block .contents_inner::after {
		position: absolute;
		content: "";
		background: url(../img/store_ttl_img_sp.png)no-repeat center/contain;
		/*display: inline;*/ 
		z-index: 1; 
		right: -40px;
		bottom: 10px;
		width: 185px;
		height: 124px;
		transform: rotate(15deg);
		box-shadow: 18px 18px 18px rgba(15, 22, 59, 0.36);
	}



	#store_block .store_ttl_sp {
		position: relative;
		display: block;
		margin: 0 auto;
		margin-top: 110px;
	}

	#store_block .store_ttl_sp {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}

	#store_block .store_ttl_sp p {
		font-size: 24px;
		font-weight: bold;
		color: #FFF100;
		line-height: 36px;
		margin: 0 auto;
		margin-top: 30px;
	}


	#store_block .store_movie {
		display: block;
		width: 90%;
		max-width: 350px;
		height: 216px;
		margin: 0 auto;
		margin-top: 27px;

	}

	#store_block .store_box {
		position: relative;
	}


	#store_block .store_box ul {
		margin: 0 auto;
		width: 100%;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-align-items: baseline;
		align-items: baseline;
		-webkit-align-content: space-around;
		align-content: space-around;
		text-align: center;
		margin-top: 30px;
		gap: 10px;
	}

	#store_block .store_box li {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		width: auto;
		height: auto;
		background-color: #fff;

	}

	#store_block .store_box .store_img {
		display: block;
		width: 100%;
		max-width: 350px;
		height: 211px;
		margin-bottom: auto;
		margin-top: 0;
	}

	#store_block .button {
		position: relative;
		display: inline-flex;
		align-items: center;
		padding: 10px 30px;
		background-color: #FFFFFF;
		/* ボタンの背景色 */
		color: #171717;
		/* ボタンの文字色 */
		font-weight: bold;
		text-decoration: none;
		/* 下線を消す */
		border-radius: 35px;
		/* 角を丸くする */
		font-size: 14px;
		transition: 0.3s ease;
		/* ホバー時のアニメーション */
		margin: 20px auto;
		border: 1px solid #0A3794;
	}

	#store_block .button i {
		position: absolute;
		right: 10px;
	}

	#store_block .button:hover {
		background-color: #0056b3;
		color: #fff;
	}
}
@media screen and (max-width: 530px){
	#store_block .contents_inner::after {
		right: -23px;
		bottom: 43px;
		width: 133px;
		height: 89px;
	}
}



/*********************

	history_block

*********************/
#history_block {
	background: #F2F2F2;
	padding: 112px 0 110px;
}

#history_block .history_ttl_sp {
	display: none;
}


#history_block .history_ttl_pc {
	display: block;
	max-width: 658px;
	height: 80px;
	margin: auto;
}

#history_block .history_box {
	position: relative;
	width: 80%;
	max-width: 860px;
	height: 676px;
	margin: 50px auto;
	background-color: #FFFFFF;
	padding: 50px;
	box-shadow: 20px 20px 30px 0px rgba(0,0,0,0.1);
}

#history_block .history_box .history_table {
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
	width: 80%;
	max-width: 762px;
	height: 676px;
}


#history_block .history_box tr:nth-child(2n+1) {
	background: #F3F3F3;
}

#history_block .history_box tr:nth-child(2n) {
	background: #FFFFFF;
}

#history_block .history_box tr {}

#history_block .history_box th {
	font-weight: bold;
	text-align: left;
	width: 30%;
	margin-left: 5%;
	min-width: 4em;
	padding-top: 18px;
	padding-bottom: 12px;
	padding-left: 5%;
}

#history_block .history_box th #history_block .history_box td {
	padding: 1em;
}


#history_block .history_box td {
	width: 70%;
	padding-top: 18px;
	padding-bottom: 12px;
	padding-right: 5%;
}


@media screen and (max-width: 640px) {
	#history_block {
		padding: 60px 0;
	}

	#history_block .history_ttl_pc {
		display: none;
	}

	#history_block .history_ttl_sp {
		display: block;
		max-width: 350px;
		width: 100%;
		margin: 0 auto;
	}


	#history_block .history_box {
		position: relative;
		width: 95%;
		max-width: 350px;
		height: 931px;
		margin: 50px auto;
		background-color: #FFFFFF;
		padding: 50px 10px;
	}

	#history_block .history_box .history_table {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 90%;
		max-width: 350px;
		height: auto;
	}

	#history_block .history_box tr {
		width: 100%;
	}

	#history_block .history_box th #history_block .history_box td {
		font-size: 14px;
	}


	#history_block .history_box th {
		font-weight: bold;
		text-align: left;
		width: 100%;
		display: block;
		margin-bottom: -30px;
		padding-left: 0;
	}

	#history_block .history_box td {
		width: 85%;
		text-align: left;
		display: block;
		padding-left: 5%;
		padding-right: 10%;
	}


}