/* 
 * Other Pages Styles (除 front-page.php)
 * single.php, page.php, archive.php など、フロントページ以外のページ用
 */

/* =====================================
   スクロール追従LINE CTA (Other Pages)
   ===================================== */
.l-content {
  background-color: #fff8d8;
}
.p-breadcrumb.-bg-on {
  background-color: #ffffff;
}
/* =====================================
   その他のページ固有のスタイル
   ===================================== */

/* 記事ページやアーカイブページなどで必要なスタイルをここに追加 */
/* =====================================
   スクロール追従LINE CTA
   ===================================== */
.scroll-line-cta {
  position: fixed;
  bottom: -100px; /* 初期位置を下に隠す */
  right: 20px;
  z-index: 9999;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 弾むような動き */
  opacity: 0;
  visibility: hidden;
}

.scroll-line-cta.show {
  bottom: 100px;
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.8s ease-out;
}

.scroll-line-cta.hide {
  bottom: -100px;
  opacity: 0;
  visibility: hidden;
}

.scroll-line-cta__button {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.scroll-line-cta__button:hover {
  transform: scale(1.1) translateY(-3px);
}

.scroll-line-cta__button:active {
  transform: scale(1.05) translateY(-1px);
}

.scroll-line-cta__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes bounceIn {
  0% {
    transform: translateY(100px) scale(0.3);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px) scale(1.05);
    opacity: 0.8;
  }
  70% {
    transform: translateY(5px) scale(0.95);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* モバイル調整 */
@media (max-width: 767px) {
  .scroll-line-cta {
    right: 0px;
    bottom: 90px !important;
  }

  .scroll-line-cta__button {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 1294px) {
  #content {
    margin-bottom: 0;
  }
}

#content {
  padding-bottom: 64px;
}
