@charset "UTF-8";

/* リセットCSS（一般的なスタイルの初期化） */
body,
h1,
h2,
p,
a {
  margin: 0;
  padding: 0;
}

img {
  vertical-align: bottom;
}

.small-img {
  width: 50%;
}
.button-img {
  width: 40%;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

header {
  text-align: center;
}

a img {
  animation: pulse 0.5s infinite alternate;
}

.swiper a img {
  animation:normal;
}

/* 振動アニメーションのキーフレーム定義 */
@keyframes pulse {
  to {
    transform: translateX(2px) translateY(2px);
    /* カーソルがホバーされたときに、ボタンが横方向と縦方向に2pxずつ振動するようになります。 */
  }
}

.button1 {
  margin-bottom: 50px;
}

main {
  text-align: center;
    margin-bottom: 200px;
}

#button-line-mail {
  margin: auto;
  width: 50%;
}

.small-button {
  width: 95%;
}

.insert {
  position: relative;
}

.right-img {
  width: 50%;
}

.left-img2 {
  width: 25%;
  position: absolute;
  top: 17%;
  left: 25%;
  z-index: 10;
}

.final-message {
  margin-bottom: 90px;
}

footer {
  background: linear-gradient(to bottom, #005ae1, #008cff);
  text-align: center;
  color: #fff;
  position: fixed;
  z-index: 99999;
  bottom: 0;
  right: 0;
  left: 0;
}

.footer-element {
  margin: 0 auto;
  width: 48%;
  padding-top: 5px;
  padding-bottom: 10px;
}

.free-button-last {
  background-color: #fff;
  display: inline-block;
  min-width: 200px;
  border-radius: 50px;
  font-family: sans-serif;
  font-size: 24px;
  padding: 10px 20px 10px 20px;
  border: none;
  font-weight: 600;
  color: #005ae1;
}

.characters {
  font-size: 24px;
  font-weight: 600;
}

.swiper{
  margin-top: 45px;
  margin-bottom: 45px;
  padding-bottom: 30px;
}
.swiper .swiper-pagination{
  margin-bottom: -15px;
}
.swiper .swiper-pagination .swiper-pagination-bullet{
  width: 15px;
  height: 15px;
}
.swiper .swiper-slide a{
  display: block;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.swiper picture{
  display: block;
  width: 100%;
}
.swiper picture img{
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* レスポンシブデザイン */
@media (max-width: 834px) {
  .small-img {
    width: 100%;
  }
  .button-img {
    width: 80%;
  }
  .button1 {
    margin-bottom: 20px;
  }
  #button-line-mail {
    width: 100%;
  }
  .right-img {
    width: 100%;
  }
  .left-img2 {
    width: 50%;
    position: absolute;
    top: 20%;
    left: 0%;
    z-index: 10;
  }
  .footer-element {
    width: 90%;
  }
  .characters {
    font-size: 16px;
    font-weight: 600;
  }
  .free-button-last {
    font-size: 16px;
    font-weight: 600;
    padding: 5px 30px 5px 30px;
  }
  p {
    font-size: 14px;
  }

  .swiper{
    margin-top: 45px;
    margin-bottom: 45px;
    padding-bottom: 30px;
  }
  .swiper .swiper-pagination{
    margin-bottom: -15px;
  }
  .swiper .swiper-pagination .swiper-pagination-bullet{
    width: 4vw;
    height: 4vw;
  }
}


/*************
タブ関連
*************/
.type-contents{
  margin-left: auto;
  margin-right: auto;
  margin-top: 35px;
  margin-bottom: 35px;
  background-color: #66baff;
    box-sizing: border-box;
    padding: 3% 2%;
}
.type-contents img{
  width: 100%;
}
.tab-wrap{
  
}
.tab-wrap .tab-menu ul{
	list-style: none;
  display: flex;
  align-items: baseline;
  padding: 0;
  margin-bottom: 0;
}
.tab-wrap .tab-menu ul li{
  flex: 1;
  color: #ffffff;
  cursor: pointer;
}
.tab-wrap .tab-contents{
  background-color: #ffffff;
    box-sizing: border-box;
    padding: 5%;
}
.tab-wrap .tab-contents > div{
	display: none;
}
.tab-wrap .tab-contents > div.active{
	display: block;
	animation: show 0.8s linear 0s;
}
