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

*,
*::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;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

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


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

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

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

  .page {
    height: 100vh;   /* 上下16pxずつ余白 */
    margin: 0 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 5em;
}

.btn--sm {
  font-size: 13px;
  padding: 0.6em 1.4em;
}

.btn--line {
  background: linear-gradient(135deg, #06c755, #00a944);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.btn--line:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  opacity: 0.96;
}

.btn--line:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* 目立たせたいボタン用の鼓動アニメーション */
.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(0, 0, 0, 0.18);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  }
}

.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 {
  opacity: 1;
  transform: none;
  position: relative;
  padding: 0;
}

.block--hero .block__cta{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;            /* ボタン幅を調整 */
  text-align: center;
  padding: 0;
}

/* ボタンとテキストの調整 */
.block--hero .block__cta-text,
.block--hero .block__cta-note {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.block--hero .btn--line {
  width: 100%;
  max-width: 400px;
}

.block__cta {
  text-align: center;
  padding: 16px 16px 24px;
}

.block__cta-text {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.block__cta-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #555;
}

.block--cta-bottom {
  padding-bottom: 24px;
}

.center{
  display: block;
  margin: 0 auto;
}

.mb-20{
  margin-bottom: 20px;
}

.mb-30{
  margin-bottom: 30px;
}

.mb-40{
  margin-bottom: 40px;
}

.mb-60{
  margin-bottom: 60px;
}

.w-95{
  width: 95%;
}

.w-90{
  width: 90%;
}

.w-80{
  width: 80%;
}

.w-75{
  width: 75%;
}


/* ==========================
  3つのポイント
========================== */
.point-inner{
  display: block;
  width: 90%;
  margin: 0 auto;
}

/* ==========================
  スマホ用 追従CTA
========================== */

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 21px;
  background: linear-gradient(135deg, #06c755, #00a944);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.floating-cta__text {
  display: flex;
  flex-direction: column;
}

.floating-cta__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.floating-cta__sub {
  font-size: 12px;
  opacity: 0.85;
}

.floating-cta__button {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background-color:#fff;
  color: #00a944;
  font-size: 12px;
  font-weight: 700;
}

/* ヒーローCTAが見えている間は隠す用クラス（JS制御） */
.floating-cta.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* ==========================
  会社情報（HTML表）
========================== */

.company-info {
  padding: 16px 12px 24px;
}

.company-info__inner {
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eee;
}

.company-info__title {
  margin: -16px -16px 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  background-color: #F16B00;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 12px 12px 0 0;
  color: #fff;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.info-table th,
.info-table td {
  padding: 12px 10px;
  border-top: 1px solid #eee;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.6;
}

.info-table th {
  width: 34%;
  color: #666;
  font-weight: 700;
}

.info-table td {
  width: 66%;
  color: #222;
  word-break: break-word;
}

.info-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.map-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 比率（一番見やすい） */
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4px;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


@media (max-width: 360px) {
  .info-table th,
  .info-table td {
    font-size: 12px;
    padding: 10px 8px;
  }
}

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

.site-footer {
  padding: 16px;
  font-size: 12px;
  color: #fff;
  background-color: #000;
}

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

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

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

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

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

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

  .block__cta {
    padding-inline: 12px;
  }

  .floating-cta {
    display: block;
  }

  /* SPで追従CTAと被らないように余白追加 */
  .site-footer {
    padding-bottom: 56px;
  }
}

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

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

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

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