@charset "utf-8";
/*
・レンタカーのテーブルにwrap
・サービスのテーブル
・各種特典のテーブル
<form id="mailform_" あたまに_をテストでつけてる￥
*/
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

.top-service__wrap,
.top-banner-wrap {
  display: contents;
}

#footer dl#hoken {
  height: 110px;
  width: 470px;
  position: absolute;
  left: 10px;
  top: 120px;
  background-color: #d8eefc;
  clear: both;
  padding-bottom: 10px;
}

#footer dl#hoken dt {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 5px;
}

#footer dl#hoken dd {
  width: 65%;
  text-align: center;
  margin: 0 auto 10px !important;
  height: auto;
  float: none;
}

#footer dl#hoken dd ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}
#footer dl#hoken dd img {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

.sp-nav {
  display: none;
}
@media (max-width: 768px) {
  body,
  body.test {
    background: #f5efe1 url("../img/bg_sp.png") no-repeat center top;
    background-size: 100%;
  }

  body *,
  body.test * {
    box-sizing: border-box;
  }

  div#header p#description,
  div#header ul#header-link {
    display: none;
  }

  body img,
  body.test img {
    width: 100%;
    max-width: max-content;
    height: auto;
  }

  #aisatsu img,
  #gaiyou img {
    width: 100%;
    height: auto;
  }

  div#header h1 {
    max-width: 140px;
    position: relative;
    margin: 0;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    background: #c30e22;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    z-index: 999;
    border-radius: 4px;
  }

  .menu-toggle span {
    background: #fff;
    width: 30px;
    height: 2px;
    display: block;
    transition: 0.3s all;
  }
  .menu-toggle.is-active span:nth-child(1) {
    rotate: -45deg;
    position: relative;
    top: 9px;
  }
  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active span:nth-child(3) {
    rotate: 45deg;
    position: relative;
    top: -7px;
  }

  .sp-nav {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s all;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.9);
    height: 100vh;
    width: 100vw;
    padding: 5em 1em;
    display: block;
  }

  .sp-nav.is-active {
    opacity: 1;
    pointer-events: inherit;
  }

  .sp-nav ul {
    list-style: none;
    border-top: 1px solid #ccc;
  }

  .sp-nav ul li {
    border-bottom: 1px solid #ccc;
  }

  .sp-nav ul li a {
    display: block;
    padding: 0.7em 1em;
    text-decoration: none;
    font-size: 14px;
    position: relative;
  }

  .sp-nav ul li a::before {
    background: #c30e22;
    clip-path: polygon(0 100%, 0 0, 100% 50%);
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 5px;
    height: 7px;
  }

  table {
    width: 100%;
    margin: 0;
  }

  #nav,
  #contents p#bread {
    display: none;
  }

  #tracking-menu {
    display: none;
  }

  #contents p {
    padding-left: 0;
    padding-right: 0;
  }

  #contents h2 {
    padding-bottom: 20px;
  }

  #contents h3 {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(to bottom, rgba(241, 241, 241, 1), rgba(255, 255, 255, 1));
    padding: 30px 15px;
  }

  #contents h3 .big {
    font-size: 20px;
  }

  div#main {
    width: 95%;
    box-sizing: border-box;
    margin: 0 auto;
    padding-top: 20px;
    margin-top: 0.7em;
    background: #fff;
  }

  div#contents {
    width: 100%;
    float: none;
    display: block;
    margin: 0 0 20px;
  }

  #contents p.message-top {
    display: flex;
    flex-direction: column-reverse;
    font-size: 12px;
  }

  #contents p.message-top img {
    display: block;
    margin: 20px auto 40px;
    max-width: 250px;
  }

  .company-table {
    width: 95%;
    margin: 10px auto 10px;
  }

  .company-table th {
    width: 20%;
  }

  #usedcar-box {
    max-width: 100%;
    padding: 0 10px;
  }

  #newcar-box h4 {
    text-indent: 0 !important;
  }

  #usedcar-box h4,
  #contents h4 {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    text-indent: 0 !important;
    position: relative;
    top: -40px;
    margin-top: 50px;
    margin-bottom: -40px;
    text-align: center;
  }

  #usedcar-box h4 img,
  #contents h4 img {
    max-width: 100%;
    margin: 0 auto;
  }

  #usedcar-box h4 span,
  #contents h4 span {
    margin: 20px auto;
    width: max-content;
  }

  #contents p.car-text {
    margin-bottom: 40px;
  }

  #contents h3#car {
    display: none;
  }

  #newcar-box p.float-clear {
    padding: 10px;
  }

  .car-mv {
    width: 95%;
    margin: 0 auto 20px !important;
  }

  #side > dl.clear {
    display: none;
  }

  #side dl dd {
    background: #f4f4f4;
  }

  #side p {
    text-align: center;
	max-width: 480px;
	margin: 0 auto;
  }

  .img-right {
    float: none;
    margin: 20px 20px 20px 0;
    display: block;
  }

  #usedcar-box {
    background: linear-gradient(to bottom, rgba(241, 241, 241, 1), rgba(255, 255, 255, 1));
  }

  #usedcar-box,
  #newcar-box {
    margin: 0;
    float: none;
    margin: 0 auto;
    width: 100% !important;
    display: block !important;
  }

  #newcar-box {
    padding-bottom: 20px;
  }

  ul#car-maker {
    margin: 0 auto 20px;
  }

  div#side {
    float: none;
    width: 100%;
    display: block;
    background: #f5efe1;
    padding-top: 30px;
  }

  div#header,
  div#header ul#nav li,
  div#header ul#nav li#nav01,
  div#header ul#nav li#nav02,
  div#header ul#nav li#nav03,
  div#header ul#nav li#nav04,
  div#header ul#nav li#nav05,
  div#header ul#nav li#nav06,
  div#header ul#nav li#nav07,
  div#top-main,
  div#top-main #top-newcar,
  div#top-main #top-shaken,
  #top-main #top-service-btn,
  #top-main #top-tokuten-service,
  #top-main #top-news,
  #footer #footer-contact,
  #top-main #top-rentacar,
  div#footer-inner,
  #tracking-menu,
  #top-main #top-tokuten-banner,
  div#main-visual,
  div#top-main #top-usedcar,
  #footer #footer-contact #footer-contact-inner,
  div#footer-gototop,
  #footer ul#text-link,
  #footer dl#hoken,
  #footer p#f-copy,
  #footer #footer-contact #footer-contact-inner dl,
  #footer #footer-contact #footer-contact-inner ul#f-banner,
  #footer #footer-contact #footer-contact-inner ul li#f-tel,
  #footer #footer-contact #footer-contact-inner ul li#f-time,
  #top-main #top-tokuten-service #top-tokuten,
  #top-main #top-tokuten-service #top-tokuten #top-anshin-tokuten,
  #footer #footer-contact #footer-contact-inner ul li#f-map,
  #footer #footer-contact #footer-contact-inner ul li#f-mail,
  #nikoniko-btn,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten01,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten02,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten03,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten04,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten05,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten06,
  #top-main #top-tokuten-service #top-tokuten ul li#tokuten07,
  #top-main #top-tokuten-service #top-tokuten p#tokuten-kochira,
  #top-main #top-tokuten-service #top-service,
  #top-main #top-tokuten-service #top-service h2,
  #top-main #top-tokuten-service #top-service #seivice-list01,
  #top-main #top-tokuten-service #top-service #seivice-list02,
  div#top-main #top-shaken #top-shaken-description,
  div#top-main #top-shaken #top-shaken-apple,
  div#top-main #top-shaken #top-shaken-btn,
  div#top-main #top-shaken h2,
  div#main-visual ul#slide {
    position: relative;
    width: 100%;
    left: auto;
    top: auto !important;
    right: auto;
    bottom: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    float: none;
  }
  div#main-visual {
    margin-bottom: 20px;
    position: absolute;
    top: 0 !important;
    left: 0;
    background: transparent url("../../img/mv-bg_sp.jpg") no-repeat center center;
    background-size: cover;
    height: max-content;
    aspect-ratio: 375/292;
    top: -8vw !important;
  }
  div#main-visual #slide {
    width: 100% !important;
    aspect-ratio: 665/260;
  }
  div#main-visual ul#slide li {
    width: 100vw !important;
  }
  div#main-visual ul#slide li img {
    width: 100%;
    max-width: 100%;
  }
	
	div.top-wrap .parking-link{
		text-align: center;
		padding: 40px 0 20px;
	}
  div#top-main #top-shaken {
    background: #c30e22;
    margin-bottom: 20px;
    text-align: center;
  }
  div#top-main #top-shaken-description {
    text-align: center;
    margin-bottom: 10px !important;
  }
  div#top-main #top-shaken-btn {
    margin: 10px auto !important;
    text-align: center;
  }
  div#top-main #top-shaken-apple {
    background: #fff;
    margin: 0 auto !important;
    text-align: center;
    width: 90% !important;
  }
  div#top-main #top-shaken h2 {
    text-align: center;
    margin-bottom: 10px;
  }
  div#top-main #top-newcar {
    text-align: center;
    margin-bottom: 10px;
  }
  div#top-main #top-newcar img {
    width: 100%;
    max-width: 100%;
  }
  div#top-main #top-usedcar {
    text-align: center;
    margin-bottom: 10px;
  }
  div#top-main #top-usedcar img {
    width: 100%;
    max-width: 100%;
  }
  #top-main #top-tokuten-service #top-tokuten {
    background: #fff;
    margin-bottom: 10px;
    padding-top: 0px;
    padding-bottom: 10px;
  }
  #top-main #top-tokuten-service #top-tokuten h2 {
    text-align: center;
    width: clamp(80px, 24vw, 200px);
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: 5;
  }
  #top-main #top-tokuten-service #top-tokuten ul {
    margin-bottom: 10px;
    margin: 0 0 0 auto;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
  }
  .top-banner-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
  #top-main #top-tokuten-service #top-tokuten ul li {
    border: 1px solid rgba(197, 199, 196, 1);
  }
  #top-main #top-tokuten-service #top-tokuten ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
  }
  #top-main #top-tokuten-service #top-tokuten ul li img {
    width: 100%;
    max-width: 25px;
  }
  #top-main #top-tokuten-service #tokuten-kochira {
    margin-bottom: 10px;
    text-align: right;
  }
  #top-main #top-tokuten-service #top-service.top-service-new {
    background-image: none !important;
    background: #fff;
    border: 3px solid #ccc;
    padding: 10px;
  }
  #top-main #top-tokuten-service #top-service h2 {
    margin-bottom: 20px;
  }

  #top-main #top-tokuten-service #top-tokuten #top-anshin-tokuten {
    margin-bottom: 20px;
    background-size: cover;
    aspect-ratio: 7.5/1;
  }

  #top-anshin-tokuten {
    display: none;
  }

  div.recbnr {
    padding-top: 20px;
    background: #f5efe1;
    padding-bottom: 40px;
    margin-bottom: 0;
    img {
      width: 100%;
    }
  }
  div#top-main {
    padding: 0;
    background: #f5efe1;
  }
  .top-wrap {
    padding-top: 58vw !important;
    z-index: 50;
    position: relative;
    top: -16vw;
  }
  .top-wrap div.recbnr {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  div#side-inner {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  div#side-inner img {
    max-width: 100%;
  }
  #top-main #top-service-btn ul,
  #top-main #top-tokuten-banner ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  #top-main #top-service-btn ul li,
  #top-main #top-tokuten-banner ul li {
    text-align: center;
  }
  #top-main #top-service-btn ul li img,
  #top-main #top-tokuten-banner ul li img {
    width: 100%;
    max-width: 100%;
  }
  #top-main #top-tokuten-service {
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
  }
  .top-service__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: rgba(241, 241, 241, 1);
    border-radius: 10px;
    padding: 20px 10px;
    box-sizing: border-box;
  }
  .top-service__image {
    position: absolute;
    bottom: 0;
    right: 20px;
    max-width: 70px !important;
  }
  #top-main #top-tokuten-service #top-service ul {
    list-style: none;
  }
  #top-main #top-tokuten-service #top-service ul li {
    text-indent: -12px;
    padding-left: 12px;
  }
  #top-main #top-tokuten-service #top-service ul li::before {
    content: "・";
  }
  #top-main .top-tokuten {
    background: linear-gradient(180deg, #f1f1f1 0%, #d2d5dc 100%);
    border: 1px solid rgba(197, 199, 196, 1);
    border-radius: 10px;
    padding: 10px 15px;
  }
  #top-main .top-service {
    margin-bottom: 20px;
  }
  #top-main .top-tokuten__title {
    color: rgba(195, 14, 34, 1);
    font-weight: 700;
  }
  #top-main .top-tokuten__text {
    font-size: 12px;
    font-weight: 700;
  }
  #top-main #top-rentacar {
    text-align: center;
    margin: 20px 0;
  }
  #nikoniko-btn {
    margin: 10px 0;
  }
  #contents h4 {
    padding-left: 0;
    margin-left: 0;
    text-indent: 10px;
  }
  #contents h5 {
    margin-left: 0;
    margin-right: 0;
    clear: both;
  }
  form#mailform {
    max-width: 100%;
    width: 100%;
  }

  div#mfp_buttons ul {
    width: 100%;
  }
  div#confirmBody {
    width: 100% !important;
  }
  .contact_table input,
  .contact_table textarea {
    width: 100% !important;
    border-radius: 4px;
    border: 1px solid rgba(118, 118, 118, 1);
    padding: 10px 10px;
    margin-bottom: 10px;
  }

  .contact_table th,
  .contact_table td {
    width: 100%;
    display: block;
    border: none;
  }
  table.new_table th {
    padding-left: 10px;
    padding-right: 10px;
  }
  .table-wrap {
    width: 100%;
    overflow: scroll;
    margin-bottom: 10px;
  }
  .table-wrap + p.note {
    margin: 10px 0 0;
  }
  div#mfp_buttons ul {
    height: auto;
  }
  div#mfp_buttons ul {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
  }
  div#mfp_buttons ul li {
    float: none;
    width: 100%;
    text-align: center;
  }
  input#button_mfp_goconfirm {
    width: 200px;
    height: 43px;
    background: transparent url("../../img/btn_send.png") center center no-repeat;
    background-size: cover;
  }
#button_mfp_goconfirm {
    width: 200px;
    height: 43px;
    background: transparent url("../../img/btn_send.png") center center no-repeat;
    background-size: cover;
  }
  input#button_mfp_reset {
    width: 200px;
    height: 43px;
    background: transparent url("../../img/btn_reset.png") center center no-repeat;
    background-size: cover;
  }
  #nikoniko-btn {
    margin: 20px auto 40px;
    text-align: center;
    max-width: 300px;
  }
  .rentacar-bottom {
    max-width: 300px;
    margin: 0 auto;
  }
  #contents p#highseason {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  #contents p.caution {
    padding: 0 10px;
  }
  #gmap {
    width: 100%;
    margin: 0;
  }
  #gmap iframe {
    width: 100%;
  }
  .top-wrap,
  .compamy-wrap,
  .service-wrap,
  .tokuten-wrap,
  .privacy-wrap,
  .shaken-wrap,
  .recruit-wrap,
  .contact-wrap,
  .news-wrap {
    padding: 0 10px;
  }
  #contents h3.shaken-h3 {
    padding: 10px 0;
  }
  #contents h3.recruit-title {
    background: #60bc93;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 10px;
    height: 100%;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  #contents .news-wrap h4 {
    height: auto;
    text-align: left;
    padding: 5px 10px;
    margin-bottom: 10px;
    margin-top: 0;
    top: 0;
    line-height: 1.6;
    font-weight: 700;
    margin-right: 0;
  }
  #contents .news-wrap .post {
    margin-bottom: 20px;
  }
  #contents .privacy-wrap h4 {
    text-align: left;
    margin-top: 0;
    top: 0;
    margin-bottom: 20px;
    background: none;
    border: 1px solid rgba(204, 204, 204, 1);
    background: transparent url("../../privacy/img/h4_sp.png") repeat-y center center;
    font-weight: 700;
    padding: 0 0 0 10px;
  }
  #contents .service-wrap h4 {
    background: linear-gradient(to right, #daf7f5, #ffffff);
    font-weight: 700;
    text-align: left;
    border: 1px solid rgba(204, 204, 204, 1);
    padding: 0 10px;
    line-height: 2.4;
    font-size: 16px;
    margin-top: 0;
    top: 0;
    margin-bottom: 10px;
  }
  #contents .service-wrap h4 span {
    margin: 0;
    width: 100%;
  }
  #contents .service-wrap h4.icon > span.sp-only {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    line-height: 1.4;
  }
  #contents .service-wrap h4.icon > span.sp-only img {
    width: 40px;
  }
  #contents .service-wrap h4.icon span.min {
    font-size: 12px;
    font-weight: 400;
  }
  #contents .tokuten-wrap h4 {
    background: linear-gradient(to right, rgba(255, 255, 165, 1), #ffffff);
    font-weight: 700;
    text-align: left;
    border: 1px solid rgba(204, 204, 204, 1);
    padding: 0 10px;
    line-height: 2.4;
    font-size: 16px;
    margin-top: 0;
    top: 0;
    margin-bottom: 10px;
  }
  #contents .tokuten-wrap h4 span {
    margin: 0;
    width: 100%;
  }
  #contents .tokuten-wrap h4.last {
    font-size: 14px;
  }
  #contents .tokuten-wrap h4.icon > span.sp-only {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    line-height: 1.4;
  }
  #contents .tokuten-wrap h4.icon > span.sp-only img {
    width: 40px;
  }
  #contents .tokuten-wrap h4.icon span.min {
    font-size: 12px;
    font-weight: 400;
  }
  #contents .tokuten-wrap h4.icon span.price {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 0, 0, 1);
  }
  #contents .service-wrap .h5-box {
    margin-left: 0;
    margin-right: 0;
  }

  #contents .service-wrap p {
    padding-left: 0;
    text-align: left;
  }
  #contents .service-wrap table {
    margin-bottom: 10px;
  }
  #contents .service-wrap p.center img {
    margin: 0 auto 20px;
  }
  #contents .service-wrap p.p-pagetop {
    float: right;
  }
  #contents .service-wrap p.mb {
    margin-bottom: 20px;
  }
  div#footer {
    padding: 0;
    padding: 20px 0 0;
    background: none;
    overflow: hidden;
  }
  div#footer #footer-gototop {
    text-align: right;
    background: #f5efe1;
  }
  .contact-nav {
    background: linear-gradient(180deg, #e40113 0%, #950719 100%);
    padding: 20px;
    text-align: center;
  }
  #contents p.contact-nav__title {
    text-align: center;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0px;
    font-size: 16px;
    padding-bottom: 10px;
  }
  #footer #text-link {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
  }
  #footer ul#text-link li {
    float: none;
    padding: 0;
    a {
      font-size: 14px;
      display: block;
      padding: 10px;
      text-decoration: none;
      background: linear-gradient(to bottom, rgba(241, 241, 241, 1), rgba(210, 213, 220, 1));
      border-bottom: 1px solid #ccc;
      position: relative;
      &::after {
        content: "";
        clip-path: polygon(0 100%, 0 0, 100% 50%);
        background: #000;
        width: 5px;
        height: 7px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: block;
      }
    }
  }
  #footer dl#hoken {
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  #footer dl#hoken dt {
    margin-bottom: 5px;
    display: block;
    width: 100vw;
    text-align: center;
    font-size: 12px;
  }

  #footer dl#hoken img {
    width: 100%;
  }
  #footer #footer-contact {
    background: #c30e22;
    padding: 20px 20px;
  }
  #footer #footer-contact #footer-contact-inner ul#f-banner li {
    float: none;
  }
  #footer-contact-inner ul {
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.25);
  }
  #footer-contact-inner ul li {
    max-width: max-content;
  }

  #footer #footer-contact #footer-contact-inner ul#f-banner {
    padding: 10px 10px;
    margin-top: 15px;
    flex-direction: row-reverse;
  }

  #footer p#f-copy {
    text-align: center;
    padding: 10px 0;
    background: #fff;
  }

  #footer dl#hoken dd {
    width: 85%;
    text-align: center;
    margin: 0 auto 10px;
    height: auto;
  }

  #footer dl#hoken dd ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
  }
  #footer dl#hoken dd img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  div#main-visual {
    top: -4vw !important;
  }
}
@media (max-width: 428px) {
  div#main-visual {
    top: 0 !important;
  }
  .top-service__wrap {
    padding: 20px 10px 60px;
  }
}
