@charset "UTF-8";
.border_btn01 {
  display: inline-block;
  width: 100%;
  max-width: 400px; /* ボタン幅 */
  max-width: 400px; /* ボタン幅 */
  border: 2px solid #FF4500; /* 線幅・種類・色 */
  background: #fff; /* 背景色 */
  color: #FF4500; /* 通常時の文字色 */
  padding: 1em 2em;
  font-weight: bold; /* 文字の太さ */
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
}

/* マウスオーバーした際のデザイン */
.border_btn01:hover {
  color: #fff; /* 文字色 */
  background: #FF7F50; /* 背景色 */
}


/* コンテンツ部分 */
.box {
  background: #ddd;
  width: 100%;
  height: 400px;
}

/* 追従エリア全体（親要素） */
.fix-btn-group {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 200px;
  z-index: 999;
  animation: move 4s infinite;
  display: flex;
  flex-direction: column; /* 縦に隙間なく並べる */
  margin: 0;
  padding: 0;
}

/* 上部の吹き出しテキスト */
.fix-btn-label {
  display: block;
  background: #F0FFF0; /* ダークグレー */
  color: #00008B;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px 8px 0 0;
  box-shadow: 1px 1px 5px #aaa;
  line-height: 1.3;
  margin: 0;
  box-sizing: border-box;
}

/* 追従ボタン共通設定 */
.fix-btn, .fix-btn2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  margin: 0;
  padding: 0;
  gap: 6px; /* アイコンとテキストの間隔 */
}

/* 上のボタン（メール相談） */
.fix-btn2 {
  background: #0056b3; /* 信頼感のあるブルー */
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 下のボタン（LINE相談） */
.fix-btn {
  background: #06C755; /* LINE公式カラー */
  color: #fff;
  border-radius: 0 0 12px 12px;
}

/* アニメーション */
@keyframes move {
  0%, 40% { transform: scale(1); }
  5% { transform: scale(1.03); }
  10% { transform: scale(0.98); }
  15% { transform: scale(1.02); }
  20% { transform: scale(1); }
}

/* スマホ表示時（画面幅768px以下）の調整 */
@media screen and (max-width: 768px) {
  .fix-btn-group {
    right: 10px !important;
    /* セーフエリア（iPhoneのホームバー）分だけ浮かせると押しやすい */
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: 150px !important;
  }
 }

  .fix-btn-label {
    font-size: 11px !important;
    padding: 5px 2px !important;
    line-height: 1.2 !important;
  }

  .fix-btn, .fix-btn2 {
    height: 38px !important; /* タップ領域を少しだけ確保 */
  }

  .fix-btn span, .fix-btn2 span {
    font-size: 13px !important;
    font-weight: bold;
  }

  .fix-btn img, .fix-btn2 img {
    width: 18px !important;
    height: 18px !important;
  }


@media screen and (max-width: 767px) {
  .top-slider {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .only-sp-image {
    display: none !important;
  }
}