*,
*::before,
*::after {
  box-sizing: border-box;
}
/* ページ全体の基本スタイル */
  body {
    margin: 0;
    background: #fff;
    font-family: sans-serif;
    padding: 0;
    overflow-x: hidden;
  }

  img {
    margin-top: -2px;
  }
  
  /* 画像を縦に並べるためのスタック */
  .image-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* 各画像の表示スタイル */
  .image-stack img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* LINEボタンの基本スタイル */
  .line-button {
    cursor: pointer;
    transition: opacity 0.3s ease;
    animation: blink-glow 1.2s infinite;
    border-radius: 8px;
    width: 90%;
    display: block;
    margin: 0 auto;
  }

  /* 追従ボタン（line-button-wrapper-footer） */
  .line-button-wrapper-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
          box-sizing: border-box;
  }
  
  /* ホバー時の半透明エフェクト */
  .line-button:hover {
    opacity: 0.8;
  }
  
  /* チカチカ光るアニメーションの定義 */
  @keyframes blink-glow {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  /* LINEボタンを包むラッパー（チケット画像と重ねるため） */
  .line-button-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 20px;
  }
  
  /* チケット画像の位置調整（LINEボタンの右上） */
  .ticket-image {
    position: absolute;
    top: -23px;
    right: 25px;
    width: 80px;
  }

  /* フッター */
  .site-footer {
    text-align: center;
    padding: 20px;
    background-color: #0cc4bc;
    font-size: 14px;
    color: #fff;
  }

  /* フッターボタン全体を固定表示 */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* ボタン共通スタイル */
.footer-button {
  display: block;
  text-align: center;
}

/* 左：電話ボタン（幅60%） */
.call-button {
  width: 66.5%;
}

/* ボタン画像が枠内で100%表示されるように */
.footer-button img {
  width: 100%;
  height: auto;
  display: block;
}

  /* 画像のサイズ指定 */
  .line-button-footer {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: blink-glow 1.2s infinite;
  }
  
.site-footer a {
  color: inherit;             /* 親要素の文字色を継承（青を消す） */
  text-decoration: none;      /* 下線を消す */
  color: #fff;
}
  
  /* 画像のサイズ指定 */

  

/* アニメーション（すでにあるなら省略可） */
@keyframes blink-glow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* フッターが隠れないようマージン追加 */
.site-footer {
  text-align: center;
  padding: 20px;
  padding-bottom: 120px;
  background-color: #0cc4bc;
  font-size: 14px;
  width: 100%;
  margin-top: 2rem;
}

  /* PCではより大きく表示 */
  @media (min-width: 1024px) {
    .site-footer {
      padding-bottom: 180px;
    }
  }

.header__btn {
    position: absolute;
    margin: 0 auto;
}

.header__btn img {
    width: 10%;
    position: relative;
    top: 7rem;
    left: 9rem;
}

@media screen and (max-width: 500px) {
    .header__btn img {
        width: 12%;
        top: 4.3rem;
        left: 1rem;
    }
}

.fotter_txt{
  font-size: 12px;
  margin-top:20px;
  margin-bottom: 10px;
  color: #fff;
}


/* よくある質問 */
.qa-7 {
  display: block;
  box-sizing: border-box;
  margin-bottom: 10px;
  position: relative;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #fff;
  padding: 1em 2em 1em 3em; /* 左右パディングは親で統一 */
  margin:1rem;
}
@media screen and (min-width: 641px) {
  .qa-7 {
    width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* summaryの見た目 */
.qa-7 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  font-family: serif;
}

/* Q番号の位置（親パディング内で絶対配置） */
.qa-7 summary::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-family: serif;
  color: #10c5bd;
}

.qa-1 summary::before { content: "Q1"; }
.qa-2 summary::before { content: "Q2"; }
.qa-3 summary::before { content: "Q3"; }
.qa-4 summary::before { content: "Q4"; }
.qa-5 summary::before { content: "Q5"; }
.qa-6 summary::before { content: "Q6"; }

/* 矢印 */
.qa-7 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border-bottom: 2px solid #10c5bd;
  border-right: 2px solid #10c5bd;
  content: '';
  transition: transform .5s;
  
}

.qa-7[open] summary::after {
  transform: rotate(225deg);
  
}

/* pのアニメーション */
.qa-7 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  color: #333;
  font-family: serif;
  transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
  transform: none;
  opacity: 1;
  color: #ff5858;
}

.faq{
  margin-top:3rem;
  margin-bottom: 3rem;
}

  .image-wrapper {
    position: relative;
    display: inline-block;
  }

  .base-image {
    display: block;
  }

  .overlay-button {
    position: absolute;
    bottom: .7rem; /* 重ねる位置を調整 */
    cursor: pointer;
    width: 100%;
  }