@charset "UTF-8";

/*---------------------*/
/* フルサイズレイアウト */
.layout01 {
  position: relative;
  overflow: hidden;
}
.layout01::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
}
.layout01 .sc-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.layout01 .layout-inner {
  display: flex;
  justify-content: flex-start;
  min-height: 450px;
}
.layout01 .layout-inner .text-box {
  width: 47%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.layout01 .ttlarea {
  text-align: left;
}
/* --- 左右逆バージョン --- */
.layout01.layout-reverse::before {
  left: auto;
  left: 0;
}
.layout01.layout-reverse .layout-inner {
  justify-content: flex-end;
}
@media screen and (max-width: 960px) {
  .layout01::before {
    width: 100%;
    position: relative;
    display: block;
    height: 300px;
  }
  .layout01 .layout-inner {
    min-height: auto;
  }

  .layout01 .layout-inner .text-box {
    width: 100%;
    padding-top: 20px;
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .layout01::before {
    height: 250px;
  }
}

/* mv */
.p-mv {
  max-width: 2000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 70px;
}
.p-mv .splide__list {
  gap: 20px !important;
}
.p-mv .splide__track {
  height: 650px;
}
.p-mv .splide__slide {
  height: 650px;
  width: auto;
}
.p-mv .splide__slide img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 30px;
}
@media screen and (max-width: 1280px) {
  .p-mv .splide__track {
    height: 530px;
  }
  .p-mv .splide__slide {
    height: 530px;
  }
}

@media screen and (max-width: 1024px) {
  .p-mv .splide__track {
    height: 480px;
  }
  .p-mv .splide__slide {
    height: 480px;
  }
}
@media screen and (max-width: 600px) {
  .p-mv {
    padding-bottom: 40px;
  }
  .p-mv .splide__track {
    height: 450px;
  }
  .p-mv .splide__slide {
    height: 450px;
  }
}
@media screen and (max-width: 430px) {
  .p-mv .splide__list {
    gap: 10px !important;
  }
}
/* @media screen and (max-width: 767px) {
  .p-mv .splide__track {
    height: 300px;
  }
  .p-mv .splide__slide {
    height: 300px;
  }
}
@media screen and (max-width: 600px) {
  .p-mv .splide__track {
    height: 450px;
  }
  .p-mv .splide__slide {
    height: 450px;
    width: 80vw;
  }
  .p-mv .splide__slide img {
    width: 100%;
    object-fit: cover;
  }
} */

/* ---------------- */
/* about */
.p-about {
  padding-top: 0;
}
.p-about.layout01::before {
  background-image: url(../images/top/about-img.webp);
}
.p-about .ttlarea {
  text-align: left;
}
.p-about .text-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.p-about .about-br {
  display: none;
}
@media screen and (max-width: 960px) {
  .p-about .text-box {
    display: block;
  }
}
@media screen and (max-width: 370px) {
  .p-about .about-br {
    display: block;
  }
}

/* ---------------- */
/* 各拠点 location */
.p-location .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  margin-top: 40px;
}
.p-location .card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}
.p-location .card a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.p-location .text-box {
  background-color: var(--bg-base);
  position: relative;
  padding: 35px 10px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p-location .cardttl {
  background-color: var(--bg-base);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  color: var(--tx-main);
  font-size: 2rem;
  font-weight: 800;
  padding: 6px;
  border-radius: 20px 30px;
  min-width: 250px;
  text-align: center;
}
.p-location .info {
  text-align: center;
}
.p-location .address {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
}
.p-location .tel-number {
  font-size: 2.2rem;
  font-weight: 800;
}
.p-location .tel-span {
  font-size: 1.8rem;
}
.p-location .kind {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.p-location .kind li {
  background-color: var(--bg-accent);
  border-radius: 30px;
  font-size: 1.5rem;
}
@media screen and (max-width: 1280px) {
  .p-location .content {
    column-gap: 20px;
  }
  .p-location .kind li {
    font-size: 1.3rem;
    padding: 3px;
  }
}
@media screen and (max-width: 960px) {
  .p-location .content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .p-location .card {
    max-width: 300px;
  }
  .p-location .cardttl {
    padding: 3px 10px;
  }
  .p-location .text-box {
    padding: 25px 10px 20px;
  }
  .p-location .tel-number {
    line-height: 1.6;
  }
  .p-location .kind li {
    padding: 1px;
  }
  .p-location .kind {
    margin-top: 4px;
    gap: 7px 4px;
  }
}
@media screen and (max-width: 390px) {
  .p-location .content {
    margin-top: 20px;
  }
  .p-location .card {
    max-width: 100%;
  }
}

/* ---------------- */
/* 営業所マップ officemap */
.p-officemap {
  overflow: hidden;
}
.p-officemap .content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 60px;
}
@keyframes fuwahuwa1 {
  0%,
  100% {
    transform: translateY(-50%) translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) translate(-8px, -12px) rotate(-3deg);
  }
}
@keyframes fuwahuwa2 {
  0%,
  100% {
    transform: translateY(-50%) translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) translate(10px, -6px) rotate(2deg);
  }
}
@keyframes fuwahuwa3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-5px, 10px) rotate(4deg);
  }
}
.p-officemap .circle-img {
  display: inline-block;
}
.p-officemap .iejima-img {
  animation: fuwahuwa1 6s ease-in-out infinite;
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  left: -50px;
  width: 350px;
  height: 350px;
}
.p-officemap .motobu-img {
  animation: fuwahuwa2 7.5s ease-in-out infinite 1s;
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  right: -110px;
  width: 290px;
  height: 290px;
}
.p-officemap .okinawa-img {
  animation: fuwahuwa3 5.5s ease-in-out infinite 0.5s;
  position: absolute;
  top: 70%;
  right: 80px;
  width: 320px;
  height: 320px;
}
@media screen and (max-width: 1024px) {
  .p-officemap {
    padding-top: 0;
  }
  .p-officemap .content {
    padding-bottom: 0;
  }
  .p-officemap .iejima-img {
    width: 30vw;
    height: 30vw;
    left: -30px;
  }
  .p-officemap .motobu-img {
    right: -15px;
    width: 23vw;
    height: 23vw;
  }
  .p-officemap .okinawa-img {
    width: 28vw;
    height: 28vw;
    right: 40px;
  }
}
@media screen and (max-width: 430px) {
  .p-officemap .sc-inner {
    padding: 0;
  }
  .p-officemap .motobu-img {
    right: 3px;
  }
  .p-officemap .iejima-img {
    left: -10px;
    top: 45%;
  }
}

/* ---------------- */
/* 事業紹介 business */
.p-business .ttlarea .mainttl {
  color: var(--tx-primary);
}
.p-business .content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
}
.p-business .card-link {
  background-color: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
  min-height: 300px;
  height: 100%;
}
.p-business .card-full {
  grid-column: span 2;
}
.p-business .img-box {
  position: relative;
  min-height: 100%;
}
.p-business .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-business .taxi .img-box img,
.p-business .public .img-box img {
  object-position: 20% center;
}
.p-business .shuttle .img-box img,
.p-business .parking .img-box img {
  object-position: right center;
}
.p-business .text-box {
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.p-business .card-ttlbox {
  text-align: center;
  margin-bottom: 20px;
}
.p-business .cardttl {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.p-business .subtitle {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tx-accent);
}
.p-business .img-box .charterd-sp {
  display: none;
}
@media screen and (max-width: 1280px) {
  .p-business .content {
    gap: 20px;
  }
  .p-business .text-box {
    padding: 20px;
  }
  .p-business .card-ttlbox {
    margin-bottom: 5px;
  }
  .p-business .cardttl {
    font-size: 2.6rem;
    line-height: 1.4;
  }
}
@media screen and (max-width: 1024px) {
  .p-business .sc-inner {
    padding: 0 0 0 30px;
  }
  .p-business .content {
    grid-template-columns: 1fr;
  }
  .p-business .card-full {
    grid-column: span 1;
  }
  .p-business .card-link {
    min-height: 200px;
    border-radius: 20px 0 0 20px;
  }
  .p-business .cardttl {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-business .card-link {
    min-height: 170px;
  }
  .p-business .cardttl {
    font-size: 2.4rem;
  }
  .p-business .subtitle {
    font-size: 1.2rem;
  }
  .p-business .text-box .desc {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 600px) {
  .p-business .sc-inner {
    padding: 0 0 0 20px;
  }
  .p-business .card-link {
    min-height: 140px;
  }
  .p-business .charterd .img-box img {
    object-position: 10% center;
  }
  .p-business .text-box {
    padding: 15px 12px;
  }
  .p-business .cardttl {
    font-size: 2rem;
  }
  .p-business .text-box .desc {
    font-size: 1.3rem;
  }
  .p-business .img-box .charterd-pc {
    display: none;
  }
  .p-business .img-box .charterd-sp {
    display: block;
  }
}
@media screen and (max-width: 430px) {
  .p-business .text-box {
    line-height: 1.4;
  }
}
@media screen and (max-width: 390px) {
  .p-business .subtitle {
    font-size: 1rem;
  }
  .p-business .cardttl {
    font-size: 1.9rem;
    letter-spacing: 0.5px;
  }
  .p-business .charterd .text-box br {
    display: none;
  }
}

/* ---------------- */
/* ヒストリー history */
.p-history {
  padding-top: 0;
}
.p-history.layout01::before {
  background-image: url(../images/top/top-history.webp);
}
@media screen and (max-width: 1280px) {
  .p-history .ttlarea .secondttl {
    font-size: 2.8rem;
  }
}
