@charset "UTF-8";

@font-face {
  font-family: "Alte DIN 1451 Mittelschrift";
  src: url("../fonts/din1451alt.ttf") format("truetype"),
  url("../fonts/din1451alt.woff") format("woff");
}

:root {
  --font-japanese: "Inter", sans-serif;
  --font-number: "Alte DIN 1451 Mittelschrift", sans-serif;
  --font-order: "Noto Serif JP", serif;
}

strong {
  font-weight: bold;
}

/*コンテナ*/
.container{
    max-width: 996px;
    padding: 0 0.625rem;
    margin: 5em auto;
    font-family: var(--font-japanese);
    text-align: center;
}

.container h2 {
    font-size: 2rem;
    line-height: 1.4;
    color: #333;
    padding-left: 0;
    text-align: center;
    margin: 5%;
}

@media (max-width: 750px) {
    .container h2 {
        font-size: 1.5rem;
    }
}

/*スライド*/
.fv-wrapper {
    position: relative;
    height: 536px;
    width: 1360px;
    overflow: hidden;
    margin: 0 auto;
}
  
.fv-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
  
.fv-slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 4.5s ease-in-out, transform 4.5s ease-in-out;
    transform-origin: center center;
}
  
.fv-slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
}
  
.fv-slideshow .slide.fade-out {
    opacity: 0.2;
    transform: scale(1);
    transition: opacity 2s ease-in-out;
}

#slide1, #slide2, #slide3 {
    height: 540px;
    width: 100vw;
    position: absolute;
    top: 0;
    background-position: top center;
    background-repeat: no-repeat;
  }
  

#fv {
    position: relative;
    z-index: 1;
}
  
@media screen and (max-width: 750px) {
    .info-banner {
    position: relative;
    height: 140px;
    margin: 0 auto;
    }

    .info-banner.show-sp img {
        width: 90%;
        margin-top: 1em;
    }
    
    .fv-item {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 0;
    }
    
    .fv-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    .fv-slideshow > div {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    #slide1-sp, #slide2-sp, #slide3-sp {
        height: 100%;
    }
}
  

/*アンカーリンク*/
.anchor-link-section {
    margin-top: 1.25rem;
}
  
.anchor-link {
    display: flex;
    gap: 0.625rem 0.9375rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
  
@media (max-width: 750px) {
    .anchor-link {
      gap: 1.03vw;
      flex-direction: column;
      align-items: center;
    }
}
  
.anchor-link-item-large {
    width: 19.6875rem;
}

@media (max-width: 750px) {
    .anchor-link-item-large {
        width: 22.6875rem;
    }    
}

.anchor-link-item-small {
    width: 8em;
}

@media (max-width: 750px) {
    ul.anchor-link.anchor-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
  
@media (max-width: 750px) {
    .anchor-link-item {
      width: 64.87vw;
    }
}
  
.anchor-link-item-link {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #333333;
    display: flex;
    height: 3.125rem;
    position: relative;
    justify-content: center;
    align-items: center;
}
  
@media (max-width: 750px) {
    .anchor-link-item-link {
      font-size: 3.59vw;
      height: 8.72vw;
    }
}
  
.anchor-link-item-link:hover {
    text-decoration: none;
}
  
.anchor-link-item-link-arrow {
    font-size: 1rem;
    color: #333333;
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
}
  
@media (max-width: 750px) {
    .anchor-link-item-link-arrow {
      font-size: 3.59vw;
      right: 2.56vw;
    }
}

/*主要出発拠点一覧*/
.prefecture-section h3 {
    text-align: left;
    font-size: 1.5rem;
} 

.card-grid {
    display: flex;
    gap: 20px;
    height: 100%;
    margin: 1em 0 3em 0;
}

@media (max-width: 750px) {
    .card-grid{
        width: 100%;
        overflow: scroll;
    }
}

.card {
    flex: 1;
    display: block;
    position: relative;
    aspect-ratio: 3 /4;
    border: 1px solid #cfcece;
    padding: 0 0 3rem;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 750px) {
    .card{
        width: 340px;
        height: 41em;
    }
 
}

.card-grid img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 1rem 0 2rem 0;
}

.card-grid h3 {
    margin: 1rem;
}

.card-grid p {
    margin: 1rem;
    text-align: left;
    line-height: 1.7;
}

a.btn.reserve {
    border: 1px solid #0c8953;
    padding: 5px 35px 5px 25px;
    background-color: #0c8953;
    color: #fff;
    margin-right: 10px;
}

a.btn.detail {
    border: 1px solid #d2d2d2;
    padding: 5px 30px 5px 20px;
    margin-left: 10px;
    color: #444;
}

.card-buttons {
    position: absolute;
    bottom: 5%;
    left: 9%;
}

a.btn.reserve::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 88px;
  bottom: 0;
  margin: auto;
}

a.btn.detail::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #444;
    border-right: solid 2px #444;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 6%;
    bottom: 0;
    margin: auto;
}

/*メリット*/
section#merits {
    background-image: url('/rentacar/img/region/merits-bg.jpg');
    padding-bottom: 0.2em;
    background-position: top center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 750px) {
    section#merits {
      background-size: cover;
      background-position: center top;
      min-height: 400px;
    }
}

.title-box {
    padding: 5em 0 2.5em 0;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

.title-box > p {
    font-size: 1.5em;
    text-align: left;
    font-weight: bold;
}

.title-box h2 {
    margin: 0;
}

strong.fs-35 {
    font-size: 1.25em;
}

img.appeal-line {
    position: absolute;
    top: 70px;
    right: -23px;
}

.merits-box {
    background-color: #fff;
    margin-bottom: 2em;
    position: relative;
    padding: 2em 5em;
}

.merits-box:nth-child(4) {
    margin-bottom: 1em;
}

img.merits-tag-img {
    position: absolute;
    top: -11px;
    left: 5px;
}

.merits-content {
    text-align: left;
    line-height: 1.7;
}

.merits-content p, .merits-content h3 {
    line-height: 1.7;
}

.merits-content h3 {
    color: #006e2e;
}

h3.appeal {
    color: #e73b3c;
    margin: 0;
}


/*外せない観光地*/
#sightseeing h2 {
    margin: 0;
}

#sightseeing h3 {
    text-align: center;
    font-size: 1.8em;
}

@media screen and (max-width: 750px) {
    #sightseeing h3 {
      font-size: 1.25em;
    }
}

.spot-section {
    border: 3px solid #0c8953;
    border-radius: 25px;
    margin: 2em 0;
    height: auto;
}

img.spot-image {
    width: 90%;
    margin: 2em 0;
    height: 100%;
}

.spot-header {
    border-bottom: 1px solid #098953;
    padding: 1em;
    background-color: #098953;
    color: #fff;
    border-radius: 20px 20px 0 0;
    font-size: 1.25rem;
    font-weight: bold;
}

img.spot-subimage {
    width: 90%;
    margin: 2em;
    text-align: center;
    height: 80%;
}

@media screen and (max-width: 750px) {
    img.spot-subimage {
      width: 100%;
      margin: 0;
    }
    
}

.spot-description-below {
    background-color: #e6f1eb;
    border-radius: 0 0 9px 9px;
    display: flex;
    margin: 1.5em 0 0 0;
    padding-right: 1em;
    text-align: left;
    line-height: 1.7;
    flex-direction: column;
}

@media screen and (max-width: 750px) {
    .spot-description-below {
      padding-right: 0;
    }
}

.spot-description-below-pic {
    flex: 1;
    text-align: center;
}

.spot-description-below-text {
    flex: 1;
    margin: 2em;
}

@media screen and (max-width: 750px) {
    .spot-description-below-text {
        margin: 0;
    }
}

.spot-description-top {
    margin: 1.5em 0;
}

.spot-link {
    background-color: #e6f1eb;
    border-radius: 0 0 25px 25px;
    margin: 0 auto;
    height: 100%;
    padding: 1em 0 3em 0;
    text-align: center;
}

a.cta-button {
    border-radius: 30px;
    background-color: #0f8953;
    color: #fff;
    padding: 1em 3em 1em 3em;
    position: relative;
    display: inline-block;
    padding-left: 22px;
    margin: 0 auto;
    text-align: center;
}

.cta-button:before {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 5%;
  bottom: 0;
  margin: auto;
}
.cta-button:after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #000000;
    border-right: solid 2px #000000;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 8%;
    bottom: 0;
    margin: auto;
}

p.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.spot-row {
    display: flex;
}

@media screen and (max-width: 750px) {
    .spot-row {
      display: block;
      margin: 1.5em;
    }
}

p.medium-p.spot-description-top-text {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
    line-height: 1.7;
}

@media screen and (max-width: 750px) {
    p.medium-p.spot-description-top-text {
      text-align: left !important;
    }    
}

/*未作成のページへのリンク用（ページ作成後に削除）*/
.disabled-link{
    pointer-events: none;
}

/*全国のレンタカーを探す*/
.region-lookfor {
   padding: 3em 0 !important;
}

.basewid h2::before,
.basewid h2::after {
  content: none !important;
  display: none !important;
}

.basewid h2 {
    text-align: center;
    color: #444;
    font-size: 1.8em;
}

/* エリア別でレンタカーを探す */
section.region-search-thumbs {
    text-align: center;
    margin: 5em auto;
}

section.region-search-thumbs h2 {
    font-size: 1.8em;
    margin-bottom: 1.5rem;
}