body {
  margin: 0;
  background-color: #F7F8FD;
}

p {
  margin: 0;
}

#header_container {
  background-color: #B1B1B1;
  height: 100%;
}

.header_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 62px;
}

@media screen and (max-width:768px) {
  .header_content {
    padding: 24px 16px;
  }
}

.header_wrapper {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
}

@media screen and (max-width:768px) {
  .header_wrapper {
    grid-template-columns: 50px 1fr;
  }
}

img.header_logo {
  width: 40px;
  height: 40px;
}

.header_item {
  padding-top: 14px;
  font-weight: bold;
  font-size: 32px;
}

@media screen and (max-width:768px) {
  .header_item {
    padding: 0;
    font-size: 20px;
  }
}

@media screen and (max-width:768px) {
  img.header_logo_line {
    width: 40px;
    height: auto;
  }
}

/* top */

.top_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  margin: 82px;
}

@media screen and (max-width:768px) {
  .top_content {
    grid-template-columns: 1fr;
    margin: 12px;
  }
}

img.top_logo {
  width: 100px;
  height: 100px;
}

@media screen and (max-width:768px) {
  img.top_logo {
    display: none;
  }
}

.top_container {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
}

@media screen and (max-width:768px) {
  .top_container {
    grid-template-columns: 1fr;
  }
}

.top_container_box {
  padding-top: 42px;
}

@media screen and (max-width:768px) {
  .top_container_box {
    padding: 0;
  }
}

.top_container_box_title {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width:768px) {
  .top_container_box_title {
    grid-template-columns: 1fr;
  }
}

p.top_renta_sub {
  padding-top: 18px;
}

@media screen and (max-width:768px) {
  p.top_renta_sub {
    padding: 0;
  }
}

.top_renta {
  font-size: 34px;
  font-weight: bold;
}



.top_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 32px;
  align-items: center;
}

@media screen and (max-width:768px) {
  .top_wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.line_add {
  background-color: #474545;
  text-align: center;
  border-radius: 8px;
  padding: 14px 54px;
  margin-left: 54px;
  color: #fff;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .line_add {
    margin: 0;
  }
}

.top_img {
  width: 330px;
  height: 250px;
  object-fit: contain;
}

@media screen and (max-width:768px) {
  .top_img {
    display: none;
  }
}

/* reserve */

section#reserve {
  background-color: #f5f3f3;
}

.reserve_container {
  position: relative;
}

img.reserve_img {
  width: 100%;
}

@media screen and (max-width:768px) {
  img.reserve_img {
    display: none;
  }
}

.reserve_content {
  position: absolute;
  top: 40px;
  left: 120px;
}

@media screen and (max-width:768px) {
  .reserve_content {
    position: static; /* 絶対配置を解除 */
    padding: 20px; /* パディングを調整 */
  }
}

.reserve_title {
  margin: 0;
  font-size: 48px;
}

@media screen and (max-width:768px) {
  .reserve_title {
    font-size: 28px;
  }
}

.reserve_content_box {
  position: absolute;
  top: 140px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@media screen and (max-width:768px) {
  .reserve_content_box {
    position: static; /* 絶対配置を解除 */
    padding: 20px; /* パディングを調整 */
  }
}

.reserve_content_box_title {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  color: #fcf6f6;
  border-bottom: 3px solid;
  width: 240px;
  margin: 0 auto;
  padding-bottom: 10px;
  margin-bottom: 62px;
}

@media screen and (max-width:768px) {
  .reserve_content_box_title {
    font-size: 22px;
    width: auto;
    color: #333;
    margin-bottom: 22px;
  }
}

.reserve_content_box_title_sub {
  text-align: center;
  font-size: 22px;
  color: #fcf6f6;
  margin-bottom: 62px;
}

@media screen and (max-width:768px) {
  .reserve_content_box_title_sub {
    font-size: 15px;
    color: #333;
    margin: 0;
  }
}

.reserve_content_order {
  position: absolute;
  bottom: 100px;
  display: grid;
  grid-template-columns: 300px 60px 300px 60px 300px;
  place-items: center;
  left: 50%; /* 親要素の中央に移動 */
  transform: translateX(-50%); /* 要素自体の幅の半分を左に移動 */
}

@media screen and (max-width:768px) {
  .reserve_content_order {
    position: static; /* 絶対配置を解除 */
    transform: none; /* 変換を解除 */
    grid-template-columns: 1fr; /* グリッドの列を1列に変更 */
    gap: 20px; /* グリッドの間隔を調整 */
    margin: 12px;
  }
}

.reserve_content_order_container {
  width: 100%;
  box-shadow: 7px 7px 15px -10px #777777;
}

.reserve_content_order_img_box {
  background-color: #BEE2E9;
  display: flex;
  justify-content: center;
  border-radius: 12px 12px 0 0;
}

img.reserve_content_order_img {
  width: 25%;
  text-align: center;
}

.reserve_content_order_img_text {
  background-color: #fff;
  padding: 24px 42px;
  border-radius: 0 0 12px 12px;
  text-align: center;
}

.arrow {
  font-size: 32px;
  color: #fff;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .arrow {
    display: none;
  }
}

/* price */

section#price {
  margin: 24px 72px;
}

@media screen and (max-width:768px) {
  section#price {
    margin: 12px;
  }
}

.price_container {
  padding: 6px 40px;
}

@media screen and (max-width:768px) {
  .price_container {
    padding: 20px;
  }
}

.price_title {
  font-size: 48px;
  margin: 0;
}

@media screen and (max-width:768px) {
  .price_title {
    font-size: 28px;
  }
}

.price_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width:768px) {
  .price_content {
    grid-template-columns: 1fr;
  }
}

.price_wrapper {
  background-color: #B1B1B1;
  border-radius: 0 0 24px 24px;
}

img.price_top_img {
  width: 100%;
}

.price_content_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px 42px;
}

@media screen and (max-width:768px) {
  .price_content_box {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.price_content_box_title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

@media screen and (max-width:768px) {
  .price_content_box_title {
    font-size: 24px;
  }
}

.price_content_box_item_day_price {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

@media screen and (max-width:768px) {
  .price_content_box_item_day_price {
    font-size: 22px;
  }
}

.price_content_description {
  display: grid;
  gap: 60px;
}

@media screen and (max-width:768px) {
  .price_content_description {
    gap: 8px;
  }
}

.price_content_description_title {
  font-size: 32px;
  font-weight: bold;
  align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  justify-content: center; /* 文字を中央寄せ */
}

@media screen and (max-width:768px) {
  .price_content_description_title {
    font-size: 22px;
    padding-top: 24px;
  }
}

.price_content_description_title::after {
  background-color: #242525; /* 横線の色 */
  content: "";
  height: 5px; /* 横線の高さ */
  width: 90px; /* 横線の長さ */
}

.price_content_description_title::before {
  margin-right: 15px; /* 文字との余白 */
}

.price_content_description_title::after {
  margin-left: 15px; /* 文字との余白 */
}

.price_content_description_sub {
  display: flex;
  justify-content: center;
  font-size: 20px;
  position: relative;
}

@media screen and (max-width:768px) {
  .price_content_description_sub {
    font-size: 14px;
  }
}

.price_content_description_sub::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -30px;
  width: 65%;
  border-bottom: 5px solid;
  margin-left: 80px;
}

.price_line_add {
  background-color: #474545;
  text-align: center;
  border-radius: 8px;
  padding: 14px 54px;
  width: fit-content;
  color: #fff;
  font-weight: bold;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .price_line_add {
    padding: 8px 54px;
    margin-top: 42px;
  }
}

.price_car_container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 32px;
  gap: 62px;
}

@media screen and (max-width:768px) {
  .price_car_container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.price_car_content {
  text-align: center;
}

img.price_car_content_img {
  box-shadow: 4px 4px 0px 0px rgba(2, 2, 2, 0.61);
  width: 100%; /* 画像の幅を親要素の幅に合わせる */
  height: auto; /* 高さを自動に設定 */
  object-fit: cover;
  border-radius: 12px;
}

@media screen and (max-width:768px) {
  img.price_car_content_img {
    width: 80%; /* 画面の幅に対して相対的な値に変更 */
    height: auto; /* 高さを自動に設定 */
    object-fit: cover; /* 画像が親要素のサイズに適応するようにする */
  }
}

/* merit */

#merit {
  background-color: #EBEBEB;
  position: relative;
  z-index: -2;
}

.merit_back_text_top {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 200px;
  font-weight: bold;
  color: #fff;
  opacity: 0.3;
  z-index: -1;
}

@media screen and (max-width:768px) {
  .merit_back_text_top {
    font-size: 48px;
  }
}

.merit_back_text_under {
  position: absolute;
  bottom: -120px;
  right: 0;
  font-size: 200px;
  font-weight: bold;
  color: #fff;
  opacity: 0.3;
  z-index: -1;
}

@media screen and (max-width:768px) {
  .merit_back_text_under {
    font-size: 48px;
  }
}

.merit_container {
  padding: 36px 100px 0px 100px;
}

@media screen and (max-width:768px) {
  .merit_container {
    padding: 20px;
  }
}

.merit_title {
  font-size: 48px;
  margin: 0;
}

@media screen and (max-width:768px) {
  .merit_title {
    font-size: 28px;
  }
}

.merit_strong_title {
  font-size: 34px;
  text-align: center;
  border-bottom: 3px solid;
  width: 300px;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .merit_strong_title {
    font-size: 24px;
    width: 120px;
  }
}

.merit_strong_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  padding: 72px;
}

@media screen and (max-width:768px) {
  .merit_strong_container {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
}

.merit_strong_content {
  display: inline-block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #BEE2E9;
  text-align:center;
  padding: 20px;
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width:768px) {
  .merit_strong_content {
    width: 90%; /* 画面の幅に対して相対的な値に変更 */
    height: 110px;
    padding: 10px; /* 内側のパディングを調整 */
  }
}

img.merit_img {
  width: 20%; /* 画像の幅を親要素の幅に合わせる */
  height: auto; /* 高さを自動に設定 */
  padding-top: 52px;
}

@media screen and (max-width:768px) {
  img.merit_img {
    width: 20%; /* 画像の幅を親要素の幅に合わせる */
    height: auto; /* 高さを自動に設定 */
    padding: 0;
  }
}

.merit_strong_description {
  font-size: 20px;
  font-weight: bold;
  padding-top: 24px;
}

@media screen and (max-width:768px) {
  .merit_strong_description {
    font-size: 14px;
    padding: 4px 12px;
  }

  .merit_strong_description_sub {
    font-size: 12px;
  }
}



/* base */

#base {
  position: relative;
}

.base_container {
  padding: 36px 100px 0px 100px;
}

@media screen and (max-width:768px) {
  .base_container {
    padding: 20px;
  }
}

.base_title {
  font-size: 48px;
  margin: 0;
}

@media screen and (max-width:768px) {
  .base_title {
    font-size: 28px;
  }
}

.base_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px;
}

@media screen and (max-width:768px) {
  .base_content {
    grid-template-columns: 1fr;
  }
}

.base_content_normal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #B1B1B1;
  border-radius: 0 24px 24px 0;
  padding: 12px;
}

.base_content_normal_title {
  font-size: 20px;
}

p.base_content_normal_sub_title {
  margin: 32px;
  text-align: center;
}

.base_content_img {
  position: relative;
}

.base_store_img {
  max-width: 100%; /* Ensures the image is never wider than its container */
  height: auto; /* Maintains the aspect ratio of the image */
  object-fit: cover;
}

@media screen and (max-width:768px) {
  .base_store_img {
    width: auto;
  }
}

.base_content_store {
  position: absolute;
  top:50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  border: 2px solid;
  padding: 12px 24px;
  font-size: 22px;
  border-radius: 12px;
  margin-bottom: 12px;
  background-color: #fff;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .base_content_store {
    font-size: 16px;
    padding: 4px;
  }
}

.base_content_store::before{
  content: '';
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom:-20px;
  left:15%;
  /*下線の形状*/
  width: 85%;
  height: 3px;
  background:#fff;
  /*アニメーションの指定*/
  transition: all .3s;
}

.base_content_store::after{
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom:-15px;
  right:0;
  /*矢印の形状*/
  width: 15px;
  height:3px;
  background:#fff;
  transform: rotate(35deg);
  /*アニメーションの指定*/
  transition: all .3s;
}

/*hoverした際の移動*/
.base_content_store:hover::before{
  left:20%;
}

.base_content_store:hover::after{
  right:-5%;
}

.base_new {
  position: absolute;
  top: 180px;
  left: 50px;
  font-size: 102px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 12px;
}

@media screen and (max-width:768px) {
  .base_new {
    display: none;
  }
}

/* LINE追加リンク */

/*矢印が右に移動する*/
.line_add_link {
  /*矢印と下線の基点とするためrelativeを指定*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  outline: none;
  margin: 54px;
}

@media screen and (max-width:768px) {
  .line_add_link {
    font-size: 15px;
    margin: 12px 16px;
  }
}

/*矢印と下線の形状*/
.line_add_link::before {
  content: '';
  /*絶対配置で下線の位置を決める*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  /*下線の形状*/
  width: 15%;
  height: 3px;
  background:#333;
}

@media screen and (max-width:768px) {
  .line_add_link::before {
    width: 45%;
  }
}

.line_add_link::after {
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom: -3px;
  right: 35%;
  /*矢印の形状*/
  width: 15px;
  height: 3px;
  background: #333;
  transform: rotate(35deg);
}

@media screen and (max-width:768px) {
  .line_add_link::after {
    right: 5%;
  }
}

/* footer */

#footer {
  background-color: #474545;
  margin-top: 24px;
  padding: 24px;
  color: #fff;
}

.footer_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}

@media screen and (max-width:768px) {
  .footer_content {
    grid-template-columns: 1fr;
  }
}

img.footer_logo {
  width: 100px;
  height: 100px;
}

@media screen and (max-width:768px) {
  img.footer_logo {
    width: 30px;
    height: 30px;
  }
}

.footer_container {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
}

@media screen and (max-width:768px) {
  .footer_container {
    grid-template-columns: 1fr;
    place-items: center;
  }
}

.footer_container_box {
  padding-top: 12px;
}

.footer_container_box_title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media screen and (max-width:768px) {
  .footer_container_box_title {
    align-items: center;
  }
}

p.footer_renta_sub {
  padding-top: 18px;
}

@media screen and (max-width:768px) {
  p.footer_renta_sub {
    padding: 0;
  }
}

@media screen and (max-width:768px) {
  .footer_line {
    display: none;
  }
}

.footer_renta {
  font-size: 34px;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .footer_renta {
    font-size: 24px;
  }
}

.footer_wrapper {
  display: grid;
  padding-top: 32px;
  align-items: center;
  width: 240px;
  margin: 0 auto;
  gap: 12px;
  font-size: 12px;
}

@media screen and (max-width:768px) {
  .footer_wrapper {
    width: auto;
  }
}

.footer_privacy {
  display: flex;
  justify-content: space-between;
}
