@charset "utf-8";

.start-content {
  position: relative;
  width: 90%;
  max-width: 1380px;
  margin: 3rem auto;
  padding: 5rem 3% 2.5rem 3%;
  background-color: #f9f0e7;
}

.start-inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.start-top {
  position: relative;
  width: 100%;
  margin: 2rem auto 0;
}

.app {
  position: relative;
  width: 100%;
  margin: 2rem auto 0;
  aspect-ratio: 1 / 0.29;
  background-image: url(../img/start/bg-1.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.app-anchor {
  width: 49%;
  margin: 0 12% 0 0;
}

a.app-btn {
  transition: all 0.2s ease;
  filter: drop-shadow(5px 5px 0px rgba(67, 42, 42, 1.0));
}

.app-icon {
  position: absolute;
  width: 30%;
  bottom: .8rem;
  left: .8rem;
}

.app-frame {
  position: relative;
  width: 100%;
  margin: 2rem auto 0;
  padding: 2rem;
  aspect-ratio: 1 / 0.745;
  background-image: url(../img/start/bg-2.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% auto;
}

.app-mt {
  margin: 3rem auto 0 !important;
}

.app-title {
  width: 26%;
  margin: 0 0 1rem;
}

.app-image {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
}

.app-item {
  width: 25%;
}

.app-item img:first-child {
  width: 92%;
  margin: 0 0 .6rem;
}

.app-dl {
  width: 100%;
  margin: .8rem 0 0;
  border-radius: 20px;
  padding: .6rem;
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.app-dl-badge-1 {
  width: 20%;
}

.app-dl-badge-2 {
  width: 24%;
}

.app-dl-arrow {
  width: 3%;
  margin: 0 1%;
}

.app-dl-text {
  color: #EC2D00;
  font-size: 18px;
  font-weight: 600;
}

.app-dl-text span {
  display: block;
  padding: .2rem 0 0;
  font-size: 12px;
  font-weight: 400;
}

a.app-browser {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.115;
  margin: 3rem auto 0;
  background-image: url(../img/start/btn-browser-bg.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: all 0.2s ease;
  opacity: 1;
}

.start-bottom {
  position: relative;
  width: 90%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 2rem 3% 0 3%;
}

.zebrac-title {
  width: 80%;
  margin: 0 auto 1.5rem;
}

.zebrac-btn {
  width: 100%;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a.zebrac-btn-item {
  display: block;
  width: 31.6%;
  background-image: url(../img/start/btn-z-bg.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.btn-img:hover {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}


@media screen and (min-width: 1px) and (max-width: 743px) {
  section {
    margin: 0 0 2rem !important;
  }

  p.lower {
    top: .7rem !important;
  }

  .start-content {
    width: 100%;
    margin: 1rem auto 0;
    padding: 12.5% 0 0;
  }

  .start-inner {
    width: 90%;
    padding: 0 0 3rem;
  }

  .start-top {
    position: relative;
    width: 100%;
    margin: .5rem auto;
  }

  .app {
    padding: 1.6rem 1.4rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1.299;
    background-image: url(../img/start/sp-bg-1.png);
    display: block;
  }

  .app-anchor {
    width: 100%;
    margin: 0 auto;
  }

  .image-btn {
    width: 90%;
    margin: 1rem auto 0;
  }

  a.app-btn {
    display: block;
    margin: 1rem auto 0;
    transition: all 0.2s ease;
    filter: drop-shadow(5px 5px 0px rgba(67, 42, 42, 1.0));
  }

  a.app-btn img {
    width: 100%;
  }

  .app-icon {
    position: static;
    width: 46%;
    margin: 1.6rem auto;
  }

  .app-frame {
    position: relative;
    width: 100%;
    margin: 2rem auto 0;
    padding: 1.6rem 0 1rem;
    aspect-ratio: 1 / 2.586;
    background-image: url(../img/start/sp-bg-2.png);
  }

  .app-frame {
    position: relative;
    width: 100%;
    margin: 2rem auto 0;
    padding: 1.6rem 0;
    aspect-ratio: 1 / 2.586;
    background-image: url(../img/start/sp-bg-2.png);
  }

  .frame-left,
  .frame-right {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    z-index: 99;
  }

  .frame-left {
    left: 0;
  }

  .frame-right {
    right: 0;
  }

  .frame-left img,
  .frame-right img {
    height: 100%;
    display: block;
  }

  .app-mt {
    margin: 3rem auto 0 !important;
  }

  .app-title {
    width: 70%;
    margin: 0 auto 1rem;
  }

  /* スライダー */
  .swiper {
    overflow: visible;
    /* はみ出し表示を許す（.swiper-container の外も見せたいとき） */
  }

  .swiper-outer {
    width: 100%;
    margin: 0 auto;
  }

  .swiper-slide {
    text-align: center !important;
  }

  .swiper-slide img {
    width: 100% !important;
  }

  .swiper-slide img:last-child {
    width: 140% !important;
    transform: translateX(-15%);
  }

  .swiper-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
  }

  .swiper-navigation .swiper-button-prev,
  .swiper-navigation .swiper-button-next {
    position: static !important;
    top: auto !important;
    margin-top: 0 !important;
    width: 25px !important;
    height: 25px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .swiper-button-prev {
    margin: 0 2% 0 0;
    background-image: url(../img/common/arrow-left.png);
  }

  .swiper-button-next {
    margin: 0 0 0 2%;
    background-image: url(../img/common/arrow-right.png);
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    display: none;
  }

  .swiper-navigation .swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    gap: 0 !important;
  }

  .swiper-pagination-bullet {
    background-image: none !important;
    /* JS側で指定するため */
  }

  .swiper-pagination-bullet[data-index="0"] {
    background-image: url('../img/start/p-1.png') !important;
  }

  .swiper-pagination-bullet[data-index="1"] {
    background-image: url('../img/start/p-2.png') !important;
  }

  .swiper-pagination-bullet[data-index="2"] {
    background-image: url('../img/start/p-3.png') !important;
  }

  .swiper-pagination-bullet[data-index="3"] {
    background-image: url('../img/start/p-4.png') !important;
  }

  .swiper-pagination-bullet-active[data-index="0"] {
    background-image: url('../img/start/p-on-1.png') !important;
  }

  .swiper-pagination-bullet-active[data-index="1"] {
    background-image: url('../img/start/p-on-2.png') !important;
  }

  .swiper-pagination-bullet-active[data-index="2"] {
    background-image: url('../img/start/p-on-3.png') !important;
  }

  .swiper-pagination-bullet-active[data-index="3"] {
    background-image: url('../img/start/p-on-4.png') !important;
  }

  .swiper-slide img.fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .swiper-slide img.fade.show {
    opacity: 1;
    visibility: visible;
  }

  /* スライダーここまで */

  .app-image {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
  }

  .app-item img:first-child {
    margin: 0 0 .4rem;
  }

  .app-dl {
    width: 90%;
    margin: .8rem auto 0;
    border-radius: 4px;
    padding: 1rem;
    background-color: #F9F0E7;
    display: block;
    text-align: center;
  }

  .app-dl-badge-1 {
    width: 66%;
    margin: .5rem auto;
  }

  .app-dl-badge-2 {
    width: 76%;
    margin: .5rem auto;
  }

  .app-dl-text {
    color: #EC2D00;
    font-size: 4vw;
    font-weight: 800;
  }

  .app-dl-text span {
    display: block;
    padding: .2rem 0 0;
    font-size: 3vw;
    font-weight: 400;
  }

  a.app-browser {
    aspect-ratio: 1 / 0.37;
    margin: 2rem auto 0;
  }

  .start-bottom {
    width: 100%;
    padding: 1.5rem 8% 0;
  }

  .zebrac-title {
    width: 100%;
    margin: 0 auto 1.5rem;
  }

  .zebrac-btn {
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  a.zebrac-btn-item {
    width: 100%;
    margin: 1rem auto 0;
  }

  a.zebrac-btn-item:last-child {
    margin: 1rem auto 3rem;
  }

}

@media screen and (min-width: 744px) and (max-width: 1024px) {

  section {
    margin: 0 0 3rem !important;
  }

  .start-content {
    margin: 2rem auto;
    padding: 3rem 3% 1rem;
  }

  .image-btn {
    display: flex;
    gap: 15px;
    margin: 1rem 0 0;
  }

  .image-btn a {
    display: inline-block;
    max-height: 54px;
    height: 4.5vw;
  }

  .image-btn img {
    height: 100%;
    object-fit: contain;
    display: block;
  }

  a.app-btn {
    filter: drop-shadow(4px 4px 0px rgba(67, 42, 42, 1.0));
  }

  .app-icon {
    position: absolute;
    width: 30%;
    bottom: .8rem;
    left: .8rem;
  }

  .app-frame {
    padding: 1rem;
  }

  .app-title {
    margin: 0 0 .5rem;
  }

  .app-item img:first-child {
    margin: 0 0 .3rem;
  }

  .app-dl {
    margin: .4rem 0 0;
    border-radius: 14px;
    padding: .5rem;
  }

  .app-dl-text {
    font-size: 1.6vw;
  }

  .app-dl-text span {
    font-size: 1vw;
  }

  a.app-browser {
    margin: 2rem auto 0;
  }

  .start-bottom {
    width: 80%;
    padding: 1rem 3% 0 3%;
  }

  .zebrac-title {
    width: 80%;
    margin: 0 auto 1.2rem;
  }

  .zebrac-btn {
    margin: 0 auto 2rem;
  }

}

@media screen and (min-width: 1025px) {
  .image-btn {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 1.8rem 0 0;
  }

  .image-btn a {
    display: inline-block;
    max-height: 54px;
    height: 4.5vw;
  }

  .image-btn img {
    height: 100%;
    object-fit: contain;
    display: block;
  }

  a.app-btn:hover {
    translate: 5px 5px;
    filter: drop-shadow(5px 5px 0px rgba(67, 42, 42, 0));
  }

  a.app-browser:hover {
    opacity: 0.6;
  }

  .zebrac-btn-item img:hover {
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }
}