/* ページ全体の余白をなくす */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* container の余白をなくす */
.container {
  margin: 0;
  padding: 0;
}

/* モバイルファースト設計 */
.image-stack {
  display: flex;
  flex-direction: column;
  gap: 0; /* 隙間をなくす */
  margin: 0; /* 外側の余白をなくす */
  padding: 0; /* 内側の余白をなくす */
  background-color: #e9f3f8;
}

.image-stack img {
  width: 100%; /* 画面幅いっぱいに画像を広げる */
  height: auto; /* アスペクト比を維持 */
  display: block; /* 余計な空白を防ぐ */
}

.voice {
  background-color: #c1dffd;
  padding: 1rem 0 0;
  color: #000;
}

.voice__inner.service {
  padding: 0;
}

.voice__list {
  max-width: 100%;
  margin: 0 auto;
  display: flex
;
  overflow-x: scroll;
}

@media screen and (max-width: 769px) {
  .voice .voiceBox {
      flex: 0 0 80px;
      min-width: 90%;
      width: 90%;
      margin: 0 5%;
  }
}

@media screen and (max-width: 769px) {
  .voice .voiceBox__inner {
      position: relative;
      padding: 2%;
      border: 5px solid #000000;
      margin: 10px 30px 0;
      background-color: #fff;
      line-height: 2rem;
  }
}

.voiceBox p {
  font-size: 12px;
  text-align: center;
  padding: 25px 0 0;
  font-weight: 700;
}

@media screen and (max-width: 769px) {
  .voice .voiceBox + .voiceBox {
      margin-top: 0;
  }
}

.voice .voiceBox__inner::after {
  display: block;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 20px;
  background-image: url(../image/arrow_voice3.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  content: "";
}

.voice .voiceBox::after {
  display: block;
  width: 24vw;
  height: 36vw;
  margin: 15px auto 0;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.voice .voiceBox.voiceBox01::after {
  background-image: url(../image/voice_01.png);
}

.voice .voiceBox.voiceBox02::after {
  background-image: url(../image/voice_02.png);
}

.voice .voiceBox.voiceBox03::after {
  background-image: url(../image/voice_03.png);
}

.voice .voiceBox.voiceBox04::after {
  background-image: url(../image/voice_04.png);
}

.voice .voiceBox.voiceBox05::after {
  background-image: url(../image/voice_05.png);
}

.voice .voiceBox.voiceBox06::after {
  background-image: url(../image/voice_06.png);
}

/* ボタン全体のスタイル */
.btn {
  text-align: center;
}

/* 画像ボタンの伸縮アニメーション */
.btn img {
  animation: scaleAnimation 1.5s infinite ease-in-out; /* アニメーションの追加 */
}

/* 伸縮アニメーションの定義 */
@keyframes scaleAnimation {
  0%, 100% {
      transform: scale(1); /* 通常サイズ */
  }
  50% {
      transform: scale(1.3); /* 10%拡大 */
  }
}

.container .btn {
  width: 70%;
  margin: 0 auto;
  text-align: center;
  background-color: #e9f3f8;
  padding: 30px 0;
}

.container img {
  width: 100%;
  height: auto;
  display: block;
}

.btn-link img {
  width: 100%;
}

.btn img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

.footer {
  background-color: #10071e;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
}

.footer-links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #fff;
}

.header-sp {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 20.8%;
  background: url(../image/header-sp.png) no-repeat center center;
  background-size: cover;
}

.tokushou {
  padding: 15px;
  background-color: #ffffff;
  margin-bottom: 20px;
}

.tokushou h2 {
  text-align: center;
  color: #333333;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.tokushou table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tokushou th, .tokushou td {
  padding: 10px;
  text-align: left;
  display: block;
}

.tokushou th {
  background-color: #f4f4f4;
  color: #333333;
  font-weight: bold;
  margin-bottom: 5px;
}

.tokushou td {
  background-color: #ffffff;
  color: #555555;
  margin-bottom: 15px;
}

.privacy-policy {
  padding: 15px;
  background-color: #ffffff;
  margin-bottom: 20px;
}

.privacy-policy h2 {
  text-align: center;
  color: #333333;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.privacy-policy p {
  color: #555555;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: justify;
}

.privacy-policy h3 {
  color: #00695c;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.terms-of-service {
  padding: 15px;
  background-color: #ffffff;
  margin-bottom: 20px;
  text-align: justify;
  position: relative;
}

.terms-of-service h2 {
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
}

.terms-of-service p {
  color: #555555;
  font-size: 14px;
  margin-bottom: 15px;
}