.p-mainv {
  position: relative;
  padding: 13.5rem 0 7.8rem;
}
@media screen and (min-width: 769px) {
  .p-mainv {
    padding: 23.5rem 0 18.4rem;
  }
}

.p-mainv__header {
  margin-bottom: 2.4rem;
  padding: 0 1.8rem 0 1.9rem;
}
@media screen and (min-width: 769px) {
  .p-mainv__header {
    display: none;
  }
}
.p-mainv__header .p-mainv__text {
  width: 29.3rem;
}
.p-mainv__header .p-mainv__title {
  padding-left: 1rem;
  margin: -2rem 0 0;
}
@media screen and (min-width: 769px) {
  .p-mainv__header .p-mainv__title {
    margin: -3rem 0 0;
  }
}

.p-mainv__footer {
  margin-top: 4.3rem;
  padding: 0 2rem;
}
@media screen and (min-width: 769px) {
  .p-mainv__footer {
    display: none;
  }
}

.p-mainv__slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}
@media screen and (min-width: 769px) {
  .p-mainv__slider {
    gap: 3.6rem;
    width: auto;
    -webkit-transform: none;
            transform: none;
  }
}

.p-mainv__item {
  position: relative;
  width: 82.9%;
  min-width: 82.9%;
  order: 1;
}
@media screen and (max-width: 768px) {
  .p-mainv__item:nth-child(3) {
    order: 0;
  }
  .p-mainv__item:nth-child(4), .p-mainv__item:nth-child(5) {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .p-mainv__item {
    width: 26.3%;
    min-width: 26.3%;
  }
}
.p-mainv__item::before {
  content: "";
  display: block;
  width: 102%;
  height: 102%;
  position: absolute;
  left: -1%;
  top: -1%;
  background: url("https://gogo-stations.dokokani-eki-net.com/wp-content/themes/original-theme/assets/img/home/window.webp") no-repeat center center/contain;
  z-index: 10;
  pointer-events: none;
}
@media screen and (min-width: 769px) {
  .p-mainv__item::before {
    width: 102%;
    height: 102%;
    left: -1%;
    top: -1%;
  }
}
.p-mainv__item:last-child {
  display: none;
}
@media screen and (min-width: 769px) {
  .p-mainv__item:last-child {
    display: block;
    order: 0;
  }
}
.p-mainv__item.__detail {
  display: none;
  border: none;
}
@media screen and (min-width: 769px) {
  .p-mainv__item.__detail {
    display: block;
    width: 28.7%;
    min-width: 28.7%;
    margin-top: -5rem;
  }
}
.p-mainv__item.__detail::before, .p-mainv__item.__detail::after {
  display: none;
}
.p-mainv__item .swiper {
  border-radius: 9rem;
  overflow: hidden;
  padding: 0.2rem 0;
}
@media screen and (min-width: 769px) {
  .p-mainv__item .swiper {
    border-radius: 13rem;
  }
}

.p-mainv__text {
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 769px) {
  .p-mainv__text {
    margin: -6rem 0 0 0;
    width: 82.2%;
  }
}
.p-mainv__text::before {
  background: #f0efea;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.p-mainv__text.is_active::before {
  -webkit-animation: mainv__text 1s cubic-bezier(0.18, 0.43, 0.47, 1.03) forwards;
          animation: mainv__text 1s cubic-bezier(0.18, 0.43, 0.47, 1.03) forwards;
}

@-webkit-keyframes mainv__text {
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

@keyframes mainv__text {
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}
.p-mainv__title {
  position: relative;
  z-index: 1;
  margin-bottom: 3.6rem;
}
.p-mainv__title .text {
  overflow: hidden;
  text-indent: 300%;
  white-space: nowrap;
  height: 0;
  display: block;
}
.p-mainv__title svg {
  width: 100%;
}

@media screen and (min-width: 769px) {
  .p-mainv__item_detail {
    width: 89.8%;
    margin-left: auto;
    margin-right: auto;
  }
}

.p-mainv__message {
  line-height: 1.7;
  font-weight: 700;
  padding: 1.6rem 0;
  border-top: 1px solid #bfbfbf;
  border-bottom: 1px solid #bfbfbf;
  opacity: 0;
  transition: 0.7s cubic-bezier(0.18, 0.43, 0.47, 1.03);
}
@media screen and (min-width: 769px) {
  .p-mainv__message {
    padding: 2.4rem 0;
    width: 95.4%;
  }
}
@media screen and (min-width: 1801px) {
  .p-mainv__message {
    font-size: 1.1vw;
  }
}
.p-mainv__message.is_active {
  opacity: 1;
}

.p-mainv__info {
  font-size: 1.3rem;
  margin-top: 1.2rem;
  line-height: 1.5;
  font-weight: 300;
  color: #878787;
}

.p-mainv__deco {
  position: absolute;
  z-index: 10;
}
.p-mainv__deco.__01 {
  bottom: -2.5rem;
  width: 126.1%;
  max-width: 126.1%;
}
@media screen and (min-width: 769px) {
  .p-mainv__deco.__01 {
    bottom: -4rem;
    width: 60.1%;
  }
}
@media screen and (min-width: 1701px) {
  .p-mainv__deco.__01 {
    width: 45.7%;
  }
}
.p-mainv__deco.__01.is_active {
  left: -28rem !important;
}
@media screen and (min-width: 769px) {
  .p-mainv__deco.__01.is_active {
    left: -19.8rem !important;
  }
}
@media screen and (min-width: 1701px) {
  .p-mainv__deco.__01.is_active {
    left: -21.4rem !important;
  }
}
.p-mainv__deco.__02 {
  right: 0;
  bottom: -3rem;
  width: 47.3%;
}
@media screen and (min-width: 769px) {
  .p-mainv__deco.__02 {
    right: 7.8rem;
    bottom: -2.8rem;
    width: 29.1%;
  }
}
@media screen and (min-width: 1701px) {
  .p-mainv__deco.__02 {
    right: 11.8rem;
    bottom: -3.8rem;
    width: 29.1%;
  }
}

.p-map {
  position: relative;
  background: #b9e3e0;
  padding: 8.35rem 0 8.1rem;
}
@media screen and (min-width: 769px) {
  .p-map {
    padding: 17.1rem 0 17.9rem;
  }
}

.p-map__deco {
  width: 102.1%;
  bottom: -1.7rem;
}
@media screen and (min-width: 769px) {
  .p-map__deco {
    width: 42.8%;
    bottom: -3.7rem;
  }
}
.p-map__deco.is_active {
  left: -19.2rem !important;
}
@media screen and (min-width: 769px) {
  .p-map__deco.is_active {
    left: -36.2rem !important;
  }
}

.p-latestposts {
  position: relative;
  padding: 7.4rem 0 8.4rem;
}
@media screen and (min-width: 769px) {
  .p-latestposts {
    padding: 16.5rem 0 15rem;
  }
}

@media screen and (min-width: 769px) {
  .p-latestposts__inner {
    display: flex;
    justify-content: space-between;
  }
}

.p-latestposts__header {
  position: relative;
  z-index: 100;
}
@media screen and (min-width: 769px) {
  .p-latestposts__header {
    width: 23.6%;
  }
}
@media screen and (min-width: 769px) {
  .p-latestposts__header .c-btn {
    margin-top: 12rem;
  }
}
@media screen and (min-width: 769px) {
  .p-latestposts__header::before {
    content: "";
    display: block;
    height: 120%;
    background: #f0efea;
    z-index: -1;
    position: absolute;
    right: -1rem;
    top: 0;
    width: 50vw;
  }
}
@media screen and (min-width: 769px) {
  .p-latestposts__header .p-keyword__header_inner {
    position: static;
    display: flex;
    align-items: center;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    bottom: 0;
    padding-top: 2.4rem;
    margin-top: 2.4rem;
    border-top: 1px solid #bfbfbf;
    gap: 6.6rem;
  }
}
.p-latestposts__header .p-keyword__header_inner .c-btn {
  margin-top: 0;
}

.p-latestposts__list {
  margin-bottom: 0.5rem;
  overflow: visible;
  position: relative;
  z-index: 0;
}
@media screen and (min-width: 769px) {
  .p-latestposts__list {
    display: flex;
    justify-content: flex-start;
    width: 74.5%;
    padding-top: 3.7rem;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 769px) {
  .p-latestposts__list .p-archive__item {
    width: 31.6%;
  }
}
.p-latestposts__list .p-archive__item .p-archive__item_img {
  padding-bottom: 84.0909090909%;
}
@media screen and (max-width: 768px) {
  .p-latestposts__list .p-archive__item + .p-archive__item {
    margin-top: 4rem;
  }
}

.p-latestposts__deco {
  width: 101.9%;
  bottom: -1.7rem;
}
@media screen and (min-width: 769px) {
  .p-latestposts__deco {
    width: 43%;
    bottom: -3.4rem;
  }
}
.p-latestposts__deco.is_active {
  right: -20.2rem !important;
}
@media screen and (min-width: 769px) {
  .p-latestposts__deco.is_active {
    right: -37.2rem !important;
  }
}

.p-highlight {
  position: relative;
  padding: 10.2rem 0 8.3rem;
  background: #ede7d8;
}
@media screen and (min-width: 769px) {
  .p-highlight {
    padding: 14rem 0 19.2rem;
  }
}
.p-highlight .c-btn {
  margin-top: 5.6rem;
}
@media screen and (min-width: 769px) {
  .p-highlight .c-btn {
    margin-top: 8rem;
  }
}

.p-highlight__header {
  margin-bottom: 4.8rem;
}
@media screen and (min-width: 769px) {
  .p-highlight__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5.3rem;
  }
}

.p-highlight__header_text {
  line-height: 1.7;
}
@media screen and (max-width: 768px) {
  .p-highlight__header_text {
    font-size: 1.3rem;
    margin: 3.2rem 0 4.8rem;
  }
}

.p-highlight__deco {
  width: 60%;
  bottom: -0.9rem;
}
@media screen and (min-width: 769px) {
  .p-highlight__deco {
    width: 24.5%;
    bottom: -1.4rem;
  }
}
.p-highlight__deco.is_active {
  left: -1.45rem !important;
}
@media screen and (min-width: 769px) {
  .p-highlight__deco.is_active {
    left: -2.9rem !important;
  }
}