main {
  padding-top: 15rem;
  min-height: calc(100vh - 51rem);
}

/* ヘッダー */

header {
  display: flex;
  position: fixed;
  gap: 26.6rem;
  max-width: 100%;
  width: 100%;
  height: 15rem;
  background-color: #FFFFFF;
  box-shadow: 0px 0.5rem 0.5rem #0000001A;
  z-index: 1000;
}

/* ヘッダーロゴ */
.header_logo a {
  display: block;
  width: 28.843rem;
  height: 22.482rem;
}

.header_logo a img {
  position: relative;
  max-width: 100%;
  object-fit: cover;
  margin-top: 2rem;
  margin-left: 2rem;
  z-index: 1001;
}

/* グローバルナビ */
.header_global_nav {
  width: 100%;
  position: relative;
}

.header_list {
  display: flex;
  align-items: center;
  margin-top: 4rem;
  gap: 9rem;
}

.header_list_item {
  width: 15rem;
  height: 7rem;
  text-align: center;
  padding-top: 2.5rem;
  margin-left: 0;
}

.header_list_item a {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', serif;
  color: #333333;
  letter-spacing: 0.75rem;
}

.header_list_item.line {
  position: relative;
  padding-bottom: 0.4rem;
}

.header_list_item.line::before {
  content: '';
  width: 100%;
  height: 0.1rem;
  display: block;
  background-color: #347BD2;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.header_list_item.line:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}

/* お問い合わせボタン */
.header_list_item:last-child {
  width: 20rem;
  height: 7rem;
  padding-top: 0.2rem;
}

.header_list_item a img.default_btn {
  position: absolute;
  width: 20rem;
  height: 7rem;
  top: 4rem;
  right: 4.5rem;
}

.header_list_item a img.hover_btn {
  position: absolute;
  width: 20rem;
  height: 7rem;
  top: 4rem;
  right: 4.5rem;
  display: none;
}

.header_list_item:last-child:hover img.hover_btn {
  display: block;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
}

/* ハンバーガーメニュー */
.hamburger_menu {
  display: none;
}

.sp_only {
  display: none;
}

/* フッター */
.footer {
  height: 25.2rem;
  padding-top: 20rem;
  background-color: #BAE3F9;
  margin-top: 6.35vh;
}

/* 雲のアニメーション */
.fuwafuwa {
  position: absolute;
  bottom: 15.5rem;
}

.cloud_1st,
.cloud_2nd,
.cloud_3rd {
  width: 12.844rem;
  transform-origin: 50% 50%;
}

@keyframes fuwafuwa1 {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }

  50% {
    transform: translate(0, -7px) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}

@keyframes fuwafuwa2 {
  0% {
    transform: translate(0, 0) rotate(7deg);
  }

  50% {
    transform: translate(-7px, 0) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(-7deg);
  }
}

.cloud_1st {
  margin: 0 0 0 7rem;
  position: relative;
  animation: fuwafuwa1 4s ease-in-out infinite alternate;
  top: -5vh;
}

.cloud_2nd {
  margin: 0 0 0 27.35rem;
  position: relative;
  animation: fuwafuwa2 4s ease-in-out infinite alternate;
  top: -6.35vh;
}

.cloud_3rd {
  margin: 0 0 0 47.7rem;
  position: relative;
  top: -3.8vh;
  z-index: 999;
}

/* 車 */
.car_container {
  position: relative;
  z-index: 10;
  margin-top: 1rem;
}

.car_home,
.car_company,
.car_works,
.car_contact {
  position: absolute;
  top: -5.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.car_container img {
  width: 16.279rem;
  height: 9.747rem;
}

.car_home img {
  display: block;
}

.car_company {
  display: flex;
  justify-content: center;
  gap: 16.321rem;
}

.car_works,
.car_contact {
  display: flex;
  justify-content: space-between;
}

.car_works {
  gap: 32.621rem;
}

.car_contact {
  gap: 16.321rem;
}

/* 波線のアニメーション */
.wave_animation {
  width: 100vw !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: 15.2rem;
  background-color: #BAE3F9;
  overflow: hidden;
}

.wave_animation.is_visible {
  opacity: 1;
}

.wave_animation svg {
  display: block;
  width: 100vw !important;
  height: 100%;
  max-width: none !important;
}

.wave_animation svg g {
  display: block;
}

.wave_animation svg:nth-of-type(2) {
  margin-top: -15.2rem;
}

.animated_wave1 {
  opacity: 1;
}

.animated_wave2 {
  opacity: 0.6;
}

/* フッターテキスト */
.footer_textarea {
  position: sticky;
  z-index: 10;
  width: 114rem;
  border-top: 0.1rem solid #FFFFFF;
  margin-top: -9rem;
  margin-left: auto;
  margin-right: auto;
}

.footer_title,
.footer_text {
  font-family: 'Noto Sans JP', serif;
  color: #FFFFFF;
}

.footer_title {
  font-size: 1.6rem;
  font-weight: bold;
  padding-top: 1.53rem;
}

.footer_text {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* SP */
@media screen and (max-width: 699.98px) {
  main {
    padding-top: 7rem;
  }

  /* header */
  .header {
    position: fixed;
    height: 7rem;
    z-index: 9999;
  }

  /* ヘッダーロゴ */
  .header_logo a {
    width: 10.942rem;
    height: 8.529rem;
  }

  .header_logo a img {
    position: relative;
    z-index: 10000;
    margin-top: 1.2rem;
    margin-left: 1.2rem;
  }

  /* ヘッダーグローバルナビ */
  .header_global_nav {
    display: none;
  }

  /* ハンバーガーボタン：閉じ */
  .hamburger {
    display: block;
    position: absolute;
    top: 0;
    /* right: 0; */
    left: 30.5rem;
    width: 7rem;
    height: 7rem;
    padding-top: 2rem;
    padding-left: 0.3rem;
    z-index: 10000;
  }

  .hamburger span {
    display: block;
    width: 3.6rem;
    height: 0.3rem;
    border-radius: 0.15rem;
    background-color: #347BD2;
    margin-bottom: 1.0rem;
    cursor: pointer;
    transition: transform 0.5s ease;
  }

  /* ハンバーガーボタン：開き */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.6rem, 1.6rem);
    width: 4.78rem;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.3rem, -1.2rem);
    width: 4.78rem;
  }


  /* ハンバーガーメニュー */
  .hamburger_menu {
    display: block;
    opacity: 0;
    background-color: #BAE3F9;
    /* background-color: blue; */
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100vw;
    height: calc(100vh - 7rem);
    transition: 1s;
    z-index: -1;
    font-weight: bold;
  }

  .hamburger_menu.open {
    opacity: 1;
    z-index: 999;
  }

  /* ハンバーガーメニューの雲のアニメーション */
  .fuwafuwa_cloud1 {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(../img/cloud.png) no-repeat center center / 14.9rem auto;
    display: inline-block;
    transition: 0s;
    width: 15rem;
    height: 10rem;
    margin-top: 11.4rem;
    margin-left: 3.4rem;
    padding-left: 3.4rem;
    padding-top: 3.9rem;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    color: #707070;
  }

  .fuwafuwa_cloud2 {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(../img/cloud.png) no-repeat center center / 14.9rem auto;
    display: inline-block;
    transition: 0s;
    width: 15rem;
    height: 10rem;
    margin-top: -0.5rem;
    margin-left: 18.7rem;
    padding-left: 3.4rem;
    padding-top: 3.9rem;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    color: #707070;
    line-height: 1.4em;
  }

  .fuwafuwa_cloud3 {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(../img/cloud.png) no-repeat center center / 14.9rem auto;
    display: inline-block;
    transition: 0s;
    width: 15rem;
    height: 10rem;
    margin-top: 4.7rem;
    margin-left: 3.4rem;
    padding-top: 3.9rem;
    font-size: 1.5rem;
    letter-spacing: 0;
    color: #707070;
    line-height: 1.4em;
  }

  .fuwafuwa_cloud1:hover,
  .fuwafuwa_cloud2:hover,
  .fuwafuwa_cloud3:hover {
    transition: 0s;
    color: #347BD2;
  }

  .humbarger_contact_wrapper {
    display: flex;
    margin-left: 1.3rem;
  }

  .letter_mark_hover {
    display: none;
  }

  .fuwafuwa_cloud3:hover .letter_mark_hover {
    display: block;
    width: 2.8rem;
    height: 2.1rem;
    margin-right: 0.5rem;
    transition: 0s;
  }

  .letter_mark {
    display: block;
    width: 2.8rem;
    height: 2.1rem;
    margin-right: 0.5rem;
  }

  .fuwafuwa_cloud3:hover .letter_mark {
    display: none;
    transition: 0s;
  }

  .humberger_contact {
    vertical-align: middle;
  }

  @keyframes fuwafuwa {
    0% {
      transform: translate(0, 0) rotate(-7deg);
    }

    50% {
      transform: translate(0, -7px) rotate(0deg);
    }

    100% {
      transform: translate(0, 0) rotate(7deg);
    }
  }

  /* フッター */
  .footer {
    height: 24.3rem;
    padding-top: 15rem;
  }

  /* 雲のアニメーション */
  .fuwafuwa {
    bottom: 14rem;
  }

  .cloud_1st,
  .cloud_2nd {
    width: 8.484rem;
    height: 4.817rem;
  }

  .cloud_1st {
    margin: 0 0 0 1.5rem;
  }

  .cloud_2nd {
    margin: 0 0 0 25.5rem;
    position: relative;
    top: -1.25rem;
  }

  .cloud_3rd {
    display: none;
  }

  /* 車 */
  .car_container {
    margin-top: 0rem;
  }

  .car_home,
  .car_company,
  .car_works,
  .car_contact {
    top: -2.5rem;
  }

  .car_container img {
    width: 8.853rem;
    height: 5.3rem;
  }

  .car_company {
    gap: 9.747rem;
  }

  .car_works {
    gap: 4.647rem;
  }

  .car_contact {
    gap: 0.147rem;
  }

  /* 波線のアニメーション */
  .wave_animation {
    width: 100% !important;
    height: 15.2rem;
    overflow: hidden;
  }

  .wave_animation svg {
    width: 100% !important;
    height: 100% !important;
  }

  .sp_only {
    display: block;
  }

  /* フッターテキスト */
  .footer_textarea {
    width: 37.5rem;
    margin-top: -9rem;
    background-color: #4BB0E2;
  }

  .footer_title,
  .footer_text {
    width: 27.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .footer_title {
    padding-top: 0.9rem;
  }

  .footer_text {
    padding-top: 1rem;
    padding-bottom: 3.7rem;
    margin-top: 0rem;
  }
}