/* ==========================
  ベース設定
========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Yu Gothic", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN",
    "メイリオ", sans-serif;
  color: #222;
  background-color: #ffffff;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("img/kv-bg01.webp") center / cover no-repeat;
  opacity: 0.9;
  z-index: -1;
}

/* ==========================
  中央帯（LP本体 480px）
========================== */

/* スマホベース：幅480pxまでの1カラム */
.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: #ffffff;
}

/* PCでは中央の白帯だけスクロールさせる */
@media (min-width: 768px) {
  html,
  body {
    height: 100%;
    overflow: hidden; /* 全体スクロールを止める */
  }

  .page {
    height: calc(100vh - 32px);   /* 上下に16pxずつ余白 */
    margin: 16px auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow-y: auto;             /* 中身だけスクロール */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================
  ボタン
========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  padding: 0.75em 1.5em;
  font-size: 14px;
}

.btn--lg {
  font-size: 16px;
  padding: 0.9em 2.2em;
}

.btn--full {
  width: 100%;
}

/* オレンジ系のメインボタン */
.btn--primary {
  background: linear-gradient(135deg, #ff9a3c, #ff7b1a);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 122, 40, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 122, 40, 0.45);
  opacity: 0.98;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 122, 40, 0.35);
}

/* もしサブボタンを使うなら（コメントアウト部分用） */
.btn--secondary {
  background-color: #ffffff;
  color: #ff7b1a;
  border: 2px solid #ffb36a;
}

/* 目立たせたいボタン用の“ゆるい鼓動アニメーション” */
.btn--pulse {
  animation: btn-pulse 1.6s ease-in-out infinite;
}

@keyframes btn-pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgba(255, 122, 40, 0.35);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 20px rgba(255, 122, 40, 0.5);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgba(255, 122, 40, 0.35);
  }
}

.btn--pulse:hover {
  animation-play-state: paused;
}

/* ==========================
  セクション画像ブロック
========================== */

.block {
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 画面内に入ったら表示 */
.block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.block img {
  display: block;
  width: 100%;
  height: auto;
}

/* ヒーローだけは最初から表示 */
.block--hero {
  position: relative;
  opacity: 1;
  transform: none;
}

/* ヒーローの上にボタンを重ねる */
.block--hero .block__cta {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  padding: 0;
}

.block--hero .block__cta-text,
.block--hero .block__cta-note {
  margin: 4px 0;
  color: #333;
  font-size: 16px;
}

.block--hero .btn--primary {
  width: 100%;
  max-width: 420px;
}

/* 中間・下部CTA共通 */
.block__cta {
  text-align: center;
  padding: 16px 16px 24px;
}

.block--cta-middle .block__cta,
.block--cta-bottom .block__cta {
  margin-top: -16px;
}

.block--overlay-cta {
  position: relative;
}

/* 画像の下部に重ねる */
.block--overlay-cta .block__cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 90%;
  padding: 0;
  text-align: center;
}

.block--overlay-cta .block__cta-text,
.block--overlay-cta .block__cta-note {
  color: #333;
  font-size: 16px;
}

.block--overlay-cta .btn--primary {
  width: 100%;
  max-width: 420px;
}

.block--cta-middle .block__cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 90%;
  padding: 0;
  text-align: center;
}

.block--cta-bottom .block__cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 90%;
  padding: 0;
  text-align: center;
}

#contact .block__cta{
  margin-top: 8px;
}

/* ==========================
  スマホ用 追従CTA（2ボタン）
========================== */

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 9999;
  display: flex;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  flex-direction: row;
}

.floating-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.15s ease;
}

.floating-cta__btn:active {
  opacity: 0.85;
}

/* 電話 */
.floating-cta__btn--tel {
  background-color: #1497b4;
}

/* LINE：LINEグリーン */
.floating-cta__btn--line {
  background-color: #06c755;
}

.floating-cta__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.floating-cta__btn-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-cta__btn-label {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

/* 隠すクラス（JSで使える） */
.floating-cta.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* ==========================
  フッター
========================== */

.site-footer {
  border-top: 1px solid #eee;
  padding: 16px;
  font-size: 12px;
  color: #666;
  background-color: #ffffff;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-footer__link {
  color: inherit;
  text-decoration: none;
}

.site-footer__link:hover {
  text-decoration: underline;
}

/* ==========================
  レスポンシブ
========================== */

@media (min-width: 768px) {
  .floating-cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    padding: 8px 12px;
  }

  .btn--lg {
    width: 100%;
    max-width: 420px;
  }

  .block__cta {
    padding-inline: 12px;
  }

  .site-footer {
    padding-bottom: 72px;
  }
}

/* ==========================
  スクロールバー非表示（中央帯）
========================== */

/* Chrome / Edge / Safari */
.page::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
.page {
  scrollbar-width: none;
}

/* IE / 古いEdge */
.page {
  -ms-overflow-style: none;
}


.white-text{
  color: #fff;
}
