/* ===================================================
   Reset & Base
=================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #f0f0f0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===================================================
   Layout
=================================================== */
.l-page {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}

@media (max-width: 767px) {
  .l-page {
    max-width: 100%;
  }
}

/* ===================================================
   Section Image
   img 命名フレームは画像として配置
=================================================== */
.c-section-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===================================================
   CTA Section (Frame 1321317126 / 8757:7914)
   HTML実装セクション・画面下部に追従
=================================================== */
.c-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 375px;
  background-color: #fff;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  visibility: hidden;
}

.c-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

@media (max-width: 767px) {
  .c-cta {
    max-width: 100%;
  }
}

/* 追従CTAの高さ分だけページ下部に余白を追加 */
.l-page {
  padding-bottom: 134px;
}

/* インラインCTA（KV直下） */
.c-cta--inline {
  position: static;
  transform: none;
  box-shadow: none;
  max-width: 100%;
  visibility: visible;
  padding: 16px 16px 24px;
}

.c-cta--inline .c-cta__heading {
  font-size: 16px;
}

.c-cta__heading {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  text-align: center;
  letter-spacing: 0.8px;
  line-height: 1.25;
  font-feature-settings: 'palt' 1;
}

.c-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background-color: #ff8500;
  border: 2px solid #fff;
  border-radius: 100px;
  padding: 12px 20px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.c-cta__button:hover {
  opacity: 0.9;
}

.c-cta__button:active {
  opacity: 0.8;
  transform: translateY(1px);
}

.c-cta__badge {
  flex-shrink: 0;
  background-color: #fff;
  color: #ff8500;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 6px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  line-height: 1.25;
  font-feature-settings: 'palt' 1;
}

.c-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: #fff;
  min-width: 0;
}

.c-cta__text-sub {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.25;
  font-feature-settings: 'palt' 1;
  white-space: nowrap;
}

.c-cta__text-main {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 1.25;
  font-feature-settings: 'palt' 1;
  white-space: nowrap;
}

.c-cta__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
