body {
  margin: 0;
  background-color: #faf099;
  font-family: "Noto Sans JP", sans-serif;
}

.lp-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: 0px 7px 15px orange;
}

section img,
footer img {
  width: 100%;
  height: auto;
  display: block;
}


/* =============================================

          ここから修正しております。 

============================================= */


/* ---- LINEボタン付きセクション ---- */
.yoyaku-section {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* 背景画像 */
.yoyaku-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- LINEボタン（Safari安定版） ---- */
.line-button {
  position: absolute;
  bottom: 297px;
	left: 50%;
	transform: translateX(-50%);
  z-index: 2;
	width: 1267px;
	text-align: center;
}

/* 画像サイズ（PC）＋アニメは画像だけに適用 */
.line-button img {
  width: 100%;
  height: auto;
  display: block;

  /* 弾むアニメーションはここにだけ付ける */
  animation: btn-bounce 1.8s ease-in-out infinite;
  transform-origin: center bottom;
  -webkit-transform: translateZ(0); /* Safari/GPU 安定化 */
}

.line-button:hover img {
  transform: scale(1.08); /* ←この transform はアニメと合成されます */
}

/* 弾むアニメーション：translateY/scale のみ（translate(-50%,-50%)は使わない） */
@keyframes btn-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-3%) scale(1.08);
  }
  60% {
    transform: translateY(-1.5%) scale(1.05);
  }
}

/* ---- スマホ対応 ---- */
@media (max-width: 1440px) {
	.line-button {
		bottom: 20.625vw;
		width: 87.986vw;
	}
}
@media (max-width: 768px) {
	.line-button {
		bottom: 21.052vw;
		width: 87.891vw;
	}
  /* モバイルで少し速くするなら： */
  .line-button img {
    animation-duration: 1.6s;
  }
}
@media (max-width: 414px) {
	.line-button {
		bottom: 20.9vw;
		width: 84.541vw;
	}
}
/* =============================================
  //ここまで修正しております。 
============================================= */

.footer {
  background-color: #ff3c00; /* 鮮やかなオレンジ */
  color: #fff;
  padding: 40px 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 20px;
}

.privacy-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.privacy-link:hover {
  text-decoration: underline;
}

.footer-left p {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}

.footer-right {
  text-align: center;
}

.to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #ff3c00;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.arrow:hover {
  transform: translateY(-5px);
}

.text {
  font-size: 20px;
  font-weight: 600;
}

/* ======= フッターのレスポンシブ対応 ======= */
@media (max-width: 768px) {
  .footer {
    padding: 30px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .footer-left p {
    margin-top: 15px;
    font-size: 16px;
  }

  .arrow {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .text {
    font-size: 18px;
  }
}

/* ---- フッターCTAボタン調整 ---- */
.cta-buttons {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .line-btn,
  .tel-btn {
    width: 80%;
    text-align: center;
  }
}

/* ===== 電話ボタン（縦配置・右側固定） ===== */
.call-sticky-wrap {
  position: fixed;
  right: 1vw;        /* 右端からの余白 */
  bottom: 0.7vh;
  display: flex;
  align-items: center;
  pointer-events: none; /* wrapper はクリック不可にする（リンクだけ有効に）*/
  z-index: 9999;
}

/* ボタン本体：縦方向にアイコン→テキスト */
.call-sticky {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;      /* 縦に並べる（アイコン上、文字下） */
  align-items: center;
  justify-content: center;
  gap: 3px;                    /* アイコンと文字の間隔 */
  width: 30px;                 /* 横幅（狭め） */
  padding: 10px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #004aad, #007bff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;             /* 小さめの文字サイズで縦表示に最適化 */
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

/* 触った時の動き（hoverやタップ時） */
.call-sticky:hover,
.call-sticky:active {
  transform: scale(1.08) translateY(-2px); /* 少し浮く */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}


/* 押したときの挙動 */
.call-sticky:active {
  transform: translateY(2px) scale(0.98);
}

/* アイコンサイズ調整（SVGが入っている想定） */
.call-sticky__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* テキスト中央揃え */
.call-sticky__text {
  display: block;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}


/* モバイルでは少し大きめに（必要なら）
@media (max-width: 768px) {
  .call-sticky {
    width: 72px;
    padding: 12px 10px;
    font-size: 13px;
    gap: 8px;
    border-radius: 14px;
  }
} */

/* もし「PCでは表示、スマホでは非表示」にしたければ下を有効にしてください */
/*
@media (max-width: 768px) {
  .call-sticky-wrap { display: none; }
}
*/





/* デスクトップでは非表示 */
@media (min-width: 900px) {
  .call-sticky-wrap {
    display: none;
  }
}
