﻿.swiper-vertical .swiper-slide .sp-only {
  display: none;
}

.swiper-vertical .swiper-slide .text .sp-only {
  display: none;
}

/* スマホサイズ（例: 767px以下）では表示 */
@media screen and (max-width: 767px) {
  .swiper-vertical .swiper-slide .sp-only {
    display: block;
    width: 55%;
    height: auto;
    border: none;
    cursor: pointer;
    margin-top: 2px;
  }

  .swiper-vertical .swiper-slide .text .sp-only {
    display: block;
    width: 55%;
    height: auto;
    border: none;
    cursor: pointer;
    margin: auto;
  }
}

/********    PC    ********/

body {
  width: 100%;
  margin: 0;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;

}

.main-container {
  width: 100%;
  max-width: 640px;
  height: 900px;
  background: #fff;
  position: relative;
  border: 1px solid #ccc;
  overflow: hidden;
}

.page-indicator {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 14px;
  z-index: 20;
}

.swiper-vertical {
  height: 100%;
  width: 100%;
}

.swiper-vertical .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 432px;
  box-sizing: border-box;
}

.swiper-vertical .swiper-slide .button img {
  width: 80%;
  display: block;
  text-align: center;
  height:auto;
  border: none;
  cursor: pointer;
  margin: 5px auto 0 auto;
}

.swiper-vertical .swiper-slide img {
  align-items: center;
  width: 640px;
  height: 900px;
  box-sizing: border-box;
}

.swiper-vertical .swiper-slide .text img,
.swiper-vertical .swiper-slide .text02 img {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  box-sizing: border-box;
}

.swiper-vertical .swiper-slide .text img {
  width: 100%;
  height: 111px;
  object-fit: cover;
}

.swiper-vertical .swiper-slide .text02 img {
  height: 215px;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* 横カルーセル */
.horizontal-carousel-wrapper {
  position: relative;
  width: 100%;
}

.swiper-horizontal {
  padding: 10px 50px;
}

.swiper-horizontal .swiper-slide {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.swiper-horizontal .swiper-slide img {
  width: 50%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  display: block;
}

/* テーブルスタイル */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-bottom: 1px dotted #ccc;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

/* 横スライド矢印 */
.arrow-left,
.arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: #fff;
  cursor: pointer;
}

.arrow-left {
  left: 16px;
}

.arrow-right {
  right: 16px;
}

a {
  opacity: 1;
  transition: all 0.3s;
  color: #ccc;
}

a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
.sponly {
  display: none;
}

.pconly {
  display: block;
}
#formSlide {
  width: 100%;
  max-width: 640px;
  border-color: transparent;
  background: #f6f6f6;
}
#formSlide iframe {
  width: 580px !important;
  border-color: transparent;
  height: 800px;
  margin: 0 auto;
}
#formSlide .totop {
  width:80px;
  height:40px;
  border-radius:0 0 40px 40px;
  box-shadow:0 4px 0 #c30745;
  background:#f50967;
  margin: 0 auto;
  text-align: center;
}
#formSlide .totop a{
  font-size: 90%;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-decoration:none;
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

/* =================================================================
   SP
   ================================================================= */
@media (max-width: 750px) {
  h2 {
    font-size: 20px;
  }

  th,
  td {
    font-size: 14px;
    padding: 6px;
  }

  .arrow-left,
  .arrow-right {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .main-container {
    width: 100%;
    max-width: 375px;
    height: 900px;
    background: #fff;
    position: relative;
    border: 1px solid #ccc;
    overflow: hidden;
  }

  .page-indicator {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    z-index: 20;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  }

  .swiper-vertical {
    height: 100%;
  }

  .swiper-vertical .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: auto;
    box-sizing: border-box;
  }

  .swiper-vertical .swiper-slide img {
    width: 100%;
    height: 465px;

  }

  .swiper-vertical .swiper-slide .button img {
    width: 80%;
    display: block;
    text-align: center;
    height:auto;
    border: none;
    cursor: pointer;
    margin: 5px auto 0 auto;
  }

  .swiper-vertical .swiper-slide .text img {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: 66px;
    box-sizing: border-box;
  }

  .swiper-vertical .swiper-slide .text img {
    width: 100%;
    object-fit: cover;
  }

  .swiper-vertical .swiper-slide .text02 img {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: 140px;
    box-sizing: border-box;
  }

  .horizontal-carousel-wrapper {
    position: relative;
    width: 100%;
  }

  .swiper-horizontal {
    padding: 10px 50px;
  }

  .swiper-horizontal .swiper-slide {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
  }

  .swiper-horizontal .swiper-slide img {
    width: 40%;
    height: auto;
    object-fit: cover;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
  }

  th,
  td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    text-align: center;
  }

  .arrow-left {
    left: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .arrow-right {
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .fixedbtn_inner {
    bottom: 1vw;
    right: 1vw;
    padding: 5px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 10px #999;
    font-size: 60%;
  }

  .fixedbtn_inner .fixed_btn i {
    position: relative;
    bottom: 0.3vw;
  }

  .fixedbtn_inner .fixed_btn a {
    display: block;
    font-weight: bold;
    color: #333;
    width: 50px;
    height: 50px;
  }

  .fixedbtn_inner .fixed_btn p {
    line-height: 110%;
  }
  #formSlide{
    width: 100% !important;
    max-width: 100% !important;
    background: #fafafa;
    padding: 0;
    margin: 0;
 overflow: hidden; 
  }
  #formSlide iframe {
    width: 365px !important;
    max-width: 375px!important;
    scale: 0.9;
    padding: 0;
    margin: 0;
  }
}
