@charset "UTF-8";

/* ==========================================
   スケスケくん 追従CTAバナー
   PC：画面下部の横長バナー
   スマホ：従来の下部固定ボタン
   ========================================== */

/* 共通 */

.follow-cta {
  position: fixed;
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
}

.follow-cta.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.follow-cta__link {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: #eb6100;
  color: #fff;

  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    Meiryo,
    sans-serif;

  text-decoration: none;

  transition:
    background 0.2s,
    transform 0.2s;
}

.follow-cta__link:hover {
  background: #f56500;
  transform: translateY(-2px);
}

.follow-cta__sub {
  display: inline-block;
  border-radius: 100vh;

  background: #fff;
  color: #eb6100;

  font-weight: bold;
}

.follow-cta__main {
  color: #fff;
  font-weight: bold;
}

.follow-cta__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  color: #fff;
  font-weight: bold;
}


/* ==========================================
   PC版
   ========================================== */

@media screen and (min-width: 1024px) {
  .follow-cta {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 28px;
    background: #454545;
    box-shadow: 0 -3px 14px rgba(0,0,0,.16);
  }
  .follow-cta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    max-width: 1100px;
    margin: 0 auto;
  }
  /* 既存のLP共通スタイルによる文字色の上書きを防止 */
  .follow-cta .follow-cta__text,
  .follow-cta .follow-cta__catch,
  .follow-cta .follow-cta__description {
    color: #fff !important;
    opacity: 1;
    text-shadow: none;
  }
  .follow-cta__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 1 360px;
    min-width: 0;
    font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  }
  .follow-cta__catch {
    display: block;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
  }
  .follow-cta__description {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
  }
  .follow-cta__link {
    flex: 0 0 335px;
    width: 335px;
    min-height: 70px;
    padding: 10px 44px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 100vh;
    box-shadow: 0 3px 0 #b84c00, 0 5px 14px rgba(0,0,0,.18);
  }
  .follow-cta__sub {
    margin-bottom: 3px;
    padding: 2px 11px;
    font-size: 13px;
    line-height: 1.5;
  }
  .follow-cta__main {
    font-size: 21px;
    line-height: 1.4;
  }
  .follow-cta__arrow {
    right: 20px;
    font-size: 29px;
    line-height: 1;
  }
  body.has-follow-cta { padding-bottom: 105px; }
}

/* ==========================================
   スマホ・タブレット版
   従来のデザインを維持
   ========================================== */

@media screen and (max-width: 1023px) {

  .follow-cta {
    left: 0;
    right: 0;
    bottom: 0;

    padding:
      10px 12px
      calc(10px + env(safe-area-inset-bottom));

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
      0 -2px 10px rgba(0, 0, 0, 0.12);
  }

  .follow-cta__inner {
    display: block;
  }

  /* PC用の説明文は非表示 */

  .follow-cta__text {
    display: none;
  }

  .follow-cta__link {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: auto;
    max-width: 420px;
    height: 52px;

    margin: 0 auto;
    padding: 0 16px;

    border-radius: 100vh;

    box-shadow: 0 3px 0 #b84c00;
  }

  .follow-cta__link:hover {
    transform: none;
  }

  .follow-cta__sub {
    margin: 0;
    padding: 2px 10px;

    font-size: 11px;
    line-height: 1.6;
  }

  .follow-cta__main {
    font-size: 17px;
    line-height: 1.4;
  }

  .follow-cta__arrow {
    display: none;
  }

  body.has-follow-cta {
    padding-bottom: 76px;
  }

}