@charset "utf-8";

.p-top-fv {
  width: 100%;
  aspect-ratio: 1366/537;
  display: flex;
  margin-top: 164px;

  @media (width < 1120px) {
    margin-top: 138px;
  }

  @media (width < 768px) {
    margin-top: 70px;
    aspect-ratio: 1366 / 800;
  }
}

.p-top-fv__left,
.p-top-fv__right {
  width: 30%;
  position: relative;

  @media (width < 768px) {
    width: 25%;
  }
}

.p-top-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-top-fv__left {
}

.p-top-fv__center {
  width: 40%;
  position: relative;

  @media (width < 768px) {
    width: 50%;
  }
}

.p-top-fv__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 calc(20vw / 13.66);
  font-family: var(--font-rounded);
  pointer-events: none;
}

.p-top-fv__body {
  pointer-events: all;
}

.p-top-fv__head {
  width: 100%;
  max-width: calc(466vw / 13.66);
  margin: calc(48vw / 13.66) auto 0;
  background: #fff;
  border: calc(4vw / 13.66) solid #0ab4ff;
  border-radius: calc(5vw / 13.66);
  font-size: calc(29vw / 13.66);
  line-height: 1.5;
  color: #0ab4ff;

  @media (width < 768px) {
    margin: calc(20vw / 3.75) auto 0;
    max-width: none;
    font-size: calc(12vw / 3.75);
  }
}

.p-top-fv__title1 {
  margin-top: calc(9vw / 13.66);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20vw / 13.66);
  font-size: calc(27vw / 13.66);
  color: #000;
  -webkit-text-stroke: calc(10vw / 13.66) #fff;
  paint-order: stroke;

  @media (width < 768px) {
    font-size: calc(10vw / 3.75);
  }

  div:first-of-type {
    color: var(--color-orange);
    font-size: calc(37vw / 13.66);

    @media (width < 768px) {
      font-size: calc(16vw / 3.75);
    }
  }
}

.p-top-fv__title2 {
  margin: calc(10vw / 13.66) auto;
  width: 100%;
  max-width: calc(407vw / 13.66);
  aspect-ratio: 430/83;
  object-fit: contain;

  @media (width < 768px) {
    margin: calc(4vw / 3.75) auto;
    max-width: 90%;
  }
}

.p-top-fv__title3 {
  font-size: calc(32vw / 13.66);
  color: var(--color-orange);
  -webkit-text-stroke: calc(10vw / 13.66) #fff;
  paint-order: stroke;

  @media (width < 768px) {
    font-size: calc(14vw / 3.75);
  }
}

.p-top-fv__h1 {
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
}

.p-top-fv__points {
  display: flex;
  gap: calc(20vw / 13.66);
  justify-content: center;
}

.p-top-fv__point {
  padding: calc(30vw / 13.66);
  width: calc(151vw / 13.66);
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  font-size: calc(21vw / 13.66);
  color: #000;
  text-align: left;
  position: relative;

  @media (width < 768px) {
    width: calc(55vw / 3.75);
    font-size: calc(8vw / 3.75);
  }

  div:last-of-type {
    text-align: center;
    font-size: calc(43vw / 13.66);
    color: var(--color-orange);
    line-height: 1;

    @media (width < 768px) {
      font-size: calc(16vw / 3.75);
    }
  }
}

.p-top-fv__point:not(:first-of-type)::before {
  content: '';
  position: absolute;
  left: calc(-24vw / 13.66);
  top: 50%;
  transform: translateY(-50%);
  width: calc(31vw / 13.66);
  aspect-ratio: 1;
  background: url('https://ms-rentalcar.com/system_panel/uploads/images/close-icon.svg') no-repeat center center / contain;

  @media (width < 768px) {
    left: calc(-9vw / 3.75);
    width: calc(12vw / 3.75);
  }
}

.p-top-fv__note {
  font-size: calc(14vw / 13.66);
  color: #000;
  line-height: normal;

  @media (width < 768px) {
    font-size: calc(8vw / 3.75);
  }
}

.p-top-fv__right {
  img {
    @media (width < 768px) {
      object-position: center right;
    }
  }
}

.p-top-contact {
}

.p-top-contact__head {
  width: 100%;
  height: 70px;
  position: relative;
  z-index: 1;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-top-contact__head::before {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 31px;
  height: 31px;
  background: var(--color-blue);
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.p-top-contact__head-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-rounded);
  font-size: 24px;
  color: #fff;
  line-height: normal;

  @media (width < 768px) {
    font-size: 15px;
    gap: 6px;
  }

  span {
    font-size: 28px;

    @media (width < 768px) {
      font-size: 24px;
    }
  }
}

.p-top-contact__head-text::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: #fff;
  transform: rotate(45deg);

  @media (width < 768px) {
    width: 24px;
  }
}

.p-top-contact__head-text::after {
  content: '';
  width: 30px;
  height: 1.5px;
  background: #fff;
  transform: rotate(-45deg);

  @media (width < 768px) {
    width: 24px;
  }
}

.p-top-contact__bg {
  padding: 60px 0 80px;
  background: url('https://ms-rentalcar.com/system_panel/uploads/images/top-contact-bg.png') no-repeat center center / cover;

  .l-inner {
    max-width: 1060px;
  }
}

.p-top-contact__box {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 8px solid var(--color-orange);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 24px clamp(12px, calc(24vw / 13.66), 24px) 18px;
  overflow: hidden;

  @media (width < 768px) {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.p-top-contact__box::before,
.p-top-contact__box::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 412px;
  aspect-ratio: 412/249;
  background: url('https://ms-rentalcar.com/system_panel/uploads/images/top-contact-box-bg.png') no-repeat center center / cover;
}

.p-top-contact__box::before {
  top: -8px;
  left: 0px;
}

.p-top-contact__box::after {
  bottom: -8px;
  right: 0px;
  transform: rotate(180deg);
}

.p-top-contact__illust {
  width: 29%;
  max-width: 270px;
  aspect-ratio: 270/223;
  object-fit: contain;

  @media (width < 1120px) {
    width: 25%;
  }

  @media (width < 768px) {
    width: 100%;
  }
}

.p-top-contact__main {
  width: 43%;
  font-family: var(--font-rounded);
  color: #000;

  @media (width < 768px) {
    width: 100%;
    max-width: 290px;
  }
}

.p-top-contact__text {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: 24px;
  line-height: normal;

  @media (width < 1120px) {
    font-size: 18px;
  }

  .is-marker p {
    font-size: 34px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: var(--color-yellow);
    text-decoration-thickness: 0.6em;
    text-underline-offset: -0.4em;
    text-decoration-skip-ink: none;

    @media (width < 1120px) {
      font-size: 26px;
    }
  }
}

.p-top-contact__tel {
  margin-top: 14px;
  width: fit-content;
  padding: 10px 0;
  border-bottom: 2px solid var(--color-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-lato);
  font-size: 48px;
  color: var(--color-orange);
  line-height: normal;
  white-space: nowrap;

  @media (width < 1120px) {
    font-size: 35px;
  }

  @media (width < 768px) {
    margin-top: 0;
  }

  img {
    width: 42px;
    aspect-ratio: 1;
    flex-shrink: 0;

    @media (width < 1120px) {
      width: 30px;
    }
  }
}

.p-top-contact__tel a:hover {
  opacity: 0.7;
}

.p-top-contact__time {
  margin-top: 9px;
  font-family: var(--font-noto-sans-jp);
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.p-top-contact__links {
  margin-top: 4px;
  width: 25.4%;
  display: flex;
  flex-direction: column;
  gap: 8px;

  @media (width < 1120px) {
    width: 30%;
  }

  @media (width < 768px) {
    width: 100%;
    margin-top: 0;
    align-items: center;
  }
}

.p-top-contact-link {
  max-width: 242px;
  height: 80px;
  padding: 4px 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;

  @media (width < 1120px) {
    padding: 4px 12px;
  }

  @media (width < 768px) {
    height: 70px;
    width: 100%;
  }
}

.p-top-contact-link:hover {
  opacity: 0.7;
}

.p-top-contact-link.is-mail {
  background: var(--color-green);
}

.p-top-contact-link.is-reservation {
  background: var(--color-l-blue);
}

.p-top-contact-link__icon {
  width: 32px;
  object-fit: contain;

  @media (width < 1120px) {
    width: 24px;
  }
}

.p-top-contact-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;

  @media (width < 1120px) {
    font-size: 12px;
  }

  div:last-of-type {
    font-weight: 700;
    font-size: 16px;

    @media (width < 1120px) {
      font-size: 14px;
    }
  }
}

.p-top-about {
  border-top: 10px solid #ff9d42;
  border-bottom: 10px solid #ff9d42;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.p-top-about__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  @media (width < 768px) {
    position: relative;
    width: 200%;
    aspect-ratio: 100/34;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    @media (width < 768px) {
      object-position: left bottom;
    }
  }
}

.p-top-about__body {
  margin-left: auto;
  width: 66%;
  min-height: 564px;
  background: linear-gradient(90deg, transparent 0%, #fff 18%);
  padding: 86px 20px 40px;
  position: relative;
  z-index: 1;

  @media (width < 1120px) {
    min-height: auto;
    padding: 40px 20px;
  }

  @media (width < 768px) {
    margin-top: calc(-120vw / 7.67);
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, #fff 18%);
    padding: 120px 20px 40px;
  }
}

.p-top-about__container {
  margin: 0 auto;
  max-width: 672px;
  padding-left: calc(80vw / 13.66);
  padding-left: 80px;

  @media (width < 768px) {
    padding-left: 0;
  }
}

.p-top-about__list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.p-top-about-item {
  display: flex;
  align-items: center;
  gap: 22px;

  @media (width < 1120px) {
    gap: 12px;
  }

  @media (width < 768px) {
    gap: 8px;
  }
}

.p-top-about-item__icon {
  width: 52px;
  aspect-ratio: 52/43;
  object-fit: contain;

  @media (width < 1120px) {
    width: 40px;
  }

  @media (width < 768px) {
    width: 24px;
  }
}

.p-top-about-item__text {
  font-family: var(--font-rounded);
  font-size: 24px;
  line-height: normal;

  @media (width < 1120px) {
    font-size: 16px;
  }

  @media (width < 768px) {
    font-size: 15px;
  }

  div {
    display: inline-block;
  }

  div:not(:last-of-type) {
    margin-right: -0.15em;
  }

  span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #ffd900;
    text-decoration-thickness: 0.6em;
    text-underline-offset: -0.4em;
    text-decoration-skip-ink: none;
  }
}

.p-top-about__desc {
  margin-top: 32px;
  margin-bottom: 50px;

  @media (width < 1120px) {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

.p-top-about__link {
}

.p-flow {
  padding: 120px 0 150px;
  background: url('https://ms-rentalcar.com/system_panel/uploads/images/section-bg.png') no-repeat center center / cover;

  @media (width < 768px) {
    padding: 80px 0 100px;
  }

  .l-inner {
    max-width: 1060px;
  }
}

.p-flow__list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.p-flow-item {
  width: 100%;
  padding: 50px clamp(20px, calc(48vw / 13.66), 48px);
  background: #fff;
  border: 3px solid var(--color-sky);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  @media (width < 768px) {
    flex-direction: column;
    padding: 32px 16px;
  }
}

.p-flow-item__img {
  width: 44%;
  aspect-ratio: 404/300;
  border-radius: 5px;
  object-fit: cover;

  @media (width < 768px) {
    width: 100%;
  }
}

.p-flow-item__body {
  width: 51%;

  @media (width < 1120px) {
    flex: 1 1 auto;
  }

  @media (width < 768px) {
    width: 100%;
  }
}

.p-flow-item__head {
  font-family: var(--font-rounded);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 28px;
  line-height: normal;

  @media (width < 1120px) {
    font-size: 24px;
  }

  @media (width < 768px) {
    font-size: 22px;
    gap: 10px;
  }
}

.p-flow-item__num {
  width: 73px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://ms-rentalcar.com/system_panel/uploads/images/flow-num-bg.svg') no-repeat center center / contain;
  color: #fff;
  font-size: 32px;
  line-height: normal;

  @media (width < 1120px) {
    width: 62px;
    font-size: 28px;
  }

  @media (width < 768px) {
    width: 54px;
    font-size: 24px;
  }
}

.p-flow-item__desc {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;

  @media (width < 1120px) {
    font-size: 14px;
  }

  @media (width < 768px) {
    margin-top: 24px;
    gap: 20px;
  }

  span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #ffd900;
    text-decoration-thickness: 0.6em;
    text-underline-offset: -0.4em;
    text-decoration-skip-ink: none;
  }
}

.p-company {
  background: var(--color-l-orange);
  padding: 125px 0 130px;

  @media (width < 768px) {
    padding: 80px 0;
  }

  .l-inner {
  }
}

.p-company__flex {
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  @media (width < 768px) {
    flex-direction: column;
    gap: 40px;
  }
}

.p-company__img {
  width: 47%;
  aspect-ratio: 538/461;
  border-radius: 10px;
  object-fit: cover;

  @media (width < 768px) {
    width: 100%;
  }
}

.p-company__table {
  width: 47.8%;

  @media (width < 1120px) {
    flex: 1 1 auto;
  }

  @media (width < 768px) {
    width: 100%;
  }
}

.p-company__table-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 29px 0;
  border-top: 1px solid #ccc;
  line-height: normal;

  @media (width < 1120px) {
    font-size: 14px;
  }
}

.p-company__table-row:last-of-type {
  border-bottom: 1px solid #ccc;
}

.p-company__thead {
  font-family: var(--font-rounded);
  color: var(--color-l-blue);
  min-width: 144px;

  @media (width < 1120px) {
    min-width: 100px;
  }
}

.p-company__tbody {
  font-weight: 500;

  div {
    display: inline-block;
  }

  a:hover {
    opacity: 0.7;
  }
}

.p-top-news {
  padding: 120px 0 185px;
  background: #f3fafd;

  @media (width < 768px) {
    padding: 80px 0 120px;
  }
}

.p-top-news__list {
  margin-top: 60px;

  section {
    display: flex;
    flex-direction: column;
    gap: 10px;

    .c-news-item {
      background: #fff;
    }
  }
}

.p-top-news__link {
  margin: 0 auto;
  margin-top: 60px;
  text-align: center;

  .c-arrow-btn {
    max-width: 264px;

    div {
      flex: 1 1 auto;
    }
  }

  .c-arrow-btn::after {
  }
}

.p-insta {
  padding: 120px 0 180px;
  background: var(--color-l-orange);

  @media (width < 768px) {
    margin-bottom: 0;
    padding: 80px 0 120px;
  }
}

.p-insta__body {
  margin-top: 40px;

  section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px clamp(20px, calc(50vw / 13.66), 50px);

    @media (width < 1120px) {
      grid-template-columns: repeat(2, 1fr);
      width: fit-content;
      margin: 0 auto;
    }

    @media (width < 600px) {
      display: flex;
      flex-direction: column;
    }
  }

  article {
    width: 100%;

    @media (width < 1120px) {
      width: 254px;
    }
  }

  .imgBx01 {
    display: block;
  }

  .imgBx01:hover {
    opacity: 0.7;
  }

  .imgBx01 img,
  .imgBx01 video {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-gray);
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
  }

  .imgBx01 > span {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
  }

  .imgBx01 > img + span,
  .imgBx01 > video + span {
    display: none;
  }

  .webgene-item-main-video {
    display: block;
    width: auto;
    max-width: 100%;
  }

  .webgene-item .dayTxt {
    margin-top: 15px;
    color: var(--color-base);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.09em;
  }

  .webgene-item .snsTit {
    margin-top: 15px;
    font-size: 14px;
    line-height: calc(30 / 14);
    letter-spacing: 0.03em;
    color: #555555;
  }
}
