


/* MV */
.page-mv {
  height: 500px;
  background: url("../img/rentalcar/rental-mv.jpg")no-repeat center;
	position: relative;
}
.page-mv h2 {
	width: 80%;
	height: 30%;
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: #fff;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, "serif";
	font-size: clamp(20px, 10vw, 70px);
	text-align: center;
	line-height: 1.8;
}
.page-mv h2 span {
	font-family: "A-OTF リュウミン Pro B-KL", "A-OTF リュウミン Pro EB-KL", "A-OTF リュウミン Pro EH-KL", "A-OTF リュウミン Pro H-KL", "A-OTF リュウミン Pro L-KL", "A-OTF リュウミン Pro M-KL", "A-OTF リュウミン Pro R-KL", "A-OTF リュウミン Pro U-KL";
	display: block;
	position: relative;
	font-size: clamp(20px, 5vw, 40px);
	padding-left: 20px;
}
.page-mv h2 span::before {
	position: absolute;
    top: -8px;
    left: calc(50% - 30px);
    width: 80px;
    height: 3px;
    content: '';
    border-radius: 3px;
    background: #22B573;
}
@media (max-width: 768px) {
  .page-mv {
  height: 360px;
  background: url("../img/rentalcar/rental-mv_SP.jpg")no-repeat left;
}
}



/* ページリンク */
.page-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 60px auto 0;
}
.page-btn li {
	width: 30%;
	max-width: 240px;
	border-left: solid 1px #4D4D4D;
	text-align: center;
	padding: 5px 0;
}
.page-btn li::after {
	display: inline-block;
    content: "";
    background: url(../img/page_bt.png) no-repeat;
    width: 27px;
    height: 30px;
    vertical-align: middle;
	margin-left: 18px;
}
.page-btn li:last-child {
	border-right: solid 1px #4D4D4D;
}
@media (max-width: 768px) {
  .page-btn {
	  width: 100%;
	  background: #22B573;
	  flex-direction: column;
	  margin: 0 auto;
	  padding: 0;
}
	.page-btn li {
		max-width: inherit;
		width: 90%;
		margin: 0 auto;
		border-left: none;
		border-bottom: solid 1px #fff;
		padding: 30px 0 25px;
		position: relative;
		font-size: 15px;
	}
	.page-btn li a {
		color: #fff;
	}
	.page-btn li:last-child {
		border-right: none;
		border-bottom: none;
}
	.page-btn li::after {
		position: absolute;
		right: 5%;
		background: url("../img/page_bt_sp.png") no-repeat;
	}
}


/*　page intro */
.page-intro {
	width: 90%;
	margin: 80px auto 0;
}
.page-intro h3 {
	font-family: "A-OTF リュウミン Pro B-KL", "A-OTF リュウミン Pro EB-KL", "A-OTF リュウミン Pro EH-KL", "A-OTF リュウミン Pro H-KL", "A-OTF リュウミン Pro L-KL", "A-OTF リュウミン Pro M-KL", "A-OTF リュウミン Pro R-KL", "A-OTF リュウミン Pro U-KL";
    margin: 0 auto;
    text-align: center;
    font-size: clamp(16px, 6vw, 38px);
    letter-spacing: 3px;
    line-height: 1.5em;
}
.page-intro p {
	text-align: center;
	margin-top: 40px;
}
@media (max-width: 768px) {
	.page-intro p {
		text-align: left;
	}
}









/* レンタカーの内容 */
.rental-contents {
	width: 90%;
	margin: 80px auto 0;
}
.rental-point {
	max-width: 950px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.rental-point div {
	width: calc(100% / 3 - 20px);
	text-align: center;
}
.rental-point div img {
	width: auto;
}
.rental-contents div h4 {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	margin: 15px auto 8px;
}
.rental-contents div p {
	font-size: 16px;
	text-align: center;
	margin: 0;
}


@media (max-width: 768px) {
	.rental-contents {
		margin: 40px auto 0;
	}
  .rental-point {
  flex-direction: column;
	  gap: 30px;
}
	.rental-point div {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.rental-point img {
		width: 40%;
		margin: 0 auto;	
	}
	.rental-point div span {
		display: block;
		width: 60%;
		margin: 0 0 0 auto;
	}
	.rental-point div h4, .rental-point div p {
		text-align: left;
	}
}


/* 料金表 */
.imgcar {
	width: 60%;
	max-width: 395px;
	margin: 100px auto 0;
}
#price {
	text-align: center;
	margin: 40px auto 0;
	line-height: 2;
}
#price strong {
	margin-bottom: 10px;
}
.imgcar2 {
	width: 60%;
	max-width: 395px;
	margin: 100px auto 0;
}
#price2 {
	text-align: center;
	margin: 40px auto 0;
	line-height: 2;
}
#price2 strong {
	margin-bottom: 15px;
}
		#price2 p{
		text-align: center;
		margin-top: 35px;
		color:#b30000;
		font-weight: bold;
	}
.price-table_wrap {
	max-width: 800px;
	margin: 40px auto 0;
}
.price-table {
	width: 100%;
	overflow: auto;
}
.price-table th, .price-table td {
	text-align: center;
	padding: 20px 20px 18px;
	border: solid 1px #4d4d4d;
	white-space:nowrap;/*文字を折り返さない*/
}
.price-table th:nth-of-type(n+3), .price-table td:nth-of-type(n+3) {
	width: 18%;
}
.price-table th {
	background: #e6e6e6;
}
/* スクロールバー全体を対象にする */
.price-table::-webkit-scrollbar {
    width: 10px; /* スクロールバーの幅 */
    height: 10px; /* スクロールバーの高さ */
}

/* スクロールバーの背景部分をカスタマイズ */
.price-table::-webkit-scrollbar-track {
    background: #f1f1f1; /* スクロールバーの背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分をカスタマイズ */
.price-table::-webkit-scrollbar-thumb {
    background: #888; /* スクロールバーの操作部分の背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分にホバーした時のスタイル */
.price-table::-webkit-scrollbar-thumb:hover {
    background: #555; /* ホバー時のスクロールバーの操作部分の背景色 */
}

@media (max-width: 768px) {
	.imgcar {
		margin: 60px auto 0;
	}
	#price {
		text-align: left;
	}
	
		.imgcar2 {
		margin: 60px auto -20px;
	}
	#price2 {
		text-align: center;
		padding: 0 20px;
	}
		#price2 p{
		margin-top: 20px;
		color:#b30000;
		font-weight: bold;
	}
}







/* プランはこちらボタン */
.rental-btn a {
    background: #94c035;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto 0;
    max-width: 350px;
    padding: 10px 25px;
    font-family: "Noto Sans Japanese";
    color: #fff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
	border-radius: 30px;
}
.rental-btn a:hover {
    background: #333;
    color: #FFF;
}
.rental-btn a:after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 25px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.rental-btn a:hover:after {
    border-color: #FFF;
}

@media (max-width: 768px) {

	.rental-btn a {
		margin: 30px auto 0;
	}
}




/* 貸出+返却 */
.rental-step {
	width: 90%;
	max-width: 950px;
	margin: 80px auto 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 40px;
}
.rental-step div {
	width: calc(100% / 2 - 40px);
	text-align: center;
}
.rental-step div img {
	width: 100%;
}
.rental-step div h4 {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	margin: 15px auto 8px;
}
.rental-step div p {
	width: 90%;
	font-size: 16px;
	text-align: left;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.rental-step {
		flex-direction: column;
	}
	.rental-step div {
		width: 100%;
	}
	.rental-step div h4 {
		margin: 0 auto 20px;
	}
	.rental-step div p {
		width: 95%;
		margin: 20px auto 0px;
	}
}







/* よくある質問 */
#faq {
	width: 100%;
	margin: 120px auto 0;
}
#faq h3 {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	text-align: center;
	margin-bottom: 60px;
}
.accordion-004 {
	width: 95%;
	text-align: left;
    max-width: 950px;
	margin: 0 auto;
	border-bottom: 2px solid #d0d0d0;
}
.faq-first {
	border-top: 2px solid #d0d0d0;
}
.accordion-004 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 30px 15px 25px;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border-bottom: 2px solid #333333b3;
    border-right: 2px solid #333333b3;
    content: "";
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 30px 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
	background: #e6e6e6;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}

@media (max-width: 768px) {
	#faq h3 {
	margin-bottom: 40px;
}
}



/* お問合せ */
.contact {
	width: 90%;
	max-width: 850px;
	margin: 120px auto;
}
.contact-wrap {
	border: solid 1px #22b473;
	padding: 40px 0;
	text-align: center;
}
.contact-wrap h4 {
	text-align: center;
	font-weight: 600;
	color: #22b473;
	font-size: 24px;
	margin: 0;
}
.contact-wrap a:nth-of-type(1) {
	display: inline-block;
	font-size: 30px;
	margin: 15px auto 0;
}
.contact-wrap a:nth-of-type(1) img {
	max-width: 40px;
	vertical-align: middle;
	padding-right: 10px;
}
.contact-wrap p {
	text-align: center;
	margin: 0;
}

.contact-wrap a:nth-of-type(2), .foam-btn {
	display: inline-block;
  color: #fff;
  background-color: #22b473;
	padding: 15px 30px 13px;
	border-radius: 15px;
	margin-top: 15px;
}
.contact-wrap a:nth-of-type(2) img, .foam-btn img {
  width: 30px;
	padding-right: 10px;
}




.rental-btn {
	display: inline-block;
	width: 350px;
}
a.foam-btn {
	color: #fff;
	border-radius: 30px;
	width: 350px;
	margin-left: 20px;
}
@media (max-width: 719px) {
	#faq h3 {
	margin-left: 0;
}
}
