/* ==========================================================================
   ブンブン(88)運転代行 LP - style.css
   ========================================================================== */

:root {
  --yellow: #FFCC00;
  --yellow-deep: #FCD21C;
  --black: #1A1A18;
  --white: #FFFFFF;
  --red: #E8362B;
  --line-green: #06C755;
  --cyan: #4FD8E8;
  --gray-text: #4A4A46;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-comic: 6px 6px 0 var(--black);
  --shadow-comic-sm: 4px 4px 0 var(--black);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "M PLUS 1p", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* スマホ固定CTA分の余白 */
}

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

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

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   共通パーツ
   ========================================================================== */

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 28px;
  position: relative;
  display: block;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  background: var(--yellow);
  border-radius: 3px;
  margin: 10px auto 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-comic-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
}

.btn-block {
  width: 100%;
  margin: 0 auto 14px;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-call {
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  padding: 18px 20px;
}

.btn-call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.btn-call-text small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.btn-line {
  background: var(--line-green);
  color: var(--white);
}

.btn-instagram {
  background: var(--white);
  color: var(--black);
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  background: var(--black);
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header-title {
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.header-title-sub {
  color: var(--yellow);
}

/* ==========================================================================
   1. ファーストビュー
   ========================================================================== */

.hero {
  background: var(--yellow);
  background-image: radial-gradient(rgba(0,0,0,0.06) 2px, transparent 2px);
  background-size: 16px 16px;
  padding: 36px 0 44px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.hero-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 20px;
  text-shadow: 3px 3px 0 var(--white);
}

.hero-image {
  margin: 0 auto 22px;
  max-width: 320px;
  filter: drop-shadow(0 8px 0 rgba(0,0,0,0.12));
}

.hero-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 0 22px;
}

.chip {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-comic-sm);
  min-width: 140px;
}

.chip-accent {
  background: var(--black);
  color: var(--white);
}

.chip-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 2px;
}

.chip-value {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.hero-note {
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 0;
}

/* ==========================================================================
   2. 選ばれる理由
   ========================================================================== */

.reasons {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.reason-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-comic-sm);
  padding: 18px 14px;
  text-align: center;
}

.reason-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.reason-icon svg {
  width: 24px;
  height: 24px;
}

.reason-card h3 {
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 6px;
}

.reason-card p {
  font-size: 12.5px;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   3. 料金
   ========================================================================== */

.price {
  background: var(--black);
  color: var(--white);
}

.price .section-title::after {
  background: var(--yellow);
}

.price-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 4px solid var(--yellow);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--yellow);
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 22px;
  color: var(--black);
  border-bottom: 2px dashed #ddd;
}

.price-row:last-child {
  border-bottom: none;
}

.price-name {
  font-size: 16px;
  font-weight: 700;
}

.price-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
}

.price-value small {
  font-size: 14px;
  font-weight: 700;
}

.price-row-main {
  background: var(--yellow);
}

.price-row-main .price-name {
  font-size: 18px;
}

.price-row-main .price-value {
  font-size: 32px;
}

.price-catch {
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
  margin: 0 0 14px;
}

.price-fine {
  text-align: center;
  font-size: 11.5px;
  color: #bbb;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   4. こんな時に
   ========================================================================== */

.scenes {
  background: var(--white);
}

.scene-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scene-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFBEA;
  border: 2px solid var(--black);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
}

.scene-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.scene-image {
  margin: 0 auto;
  max-width: 260px;
  border-radius: var(--radius-md);
  border: 3px solid var(--black);
  box-shadow: var(--shadow-comic-sm);
}

/* ==========================================================================
   5. ご利用の流れ
   ========================================================================== */

.flow {
  background: #FFFBEA;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-comic-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  background: var(--black);
  color: var(--yellow);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.flow-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   6. お支払い
   ========================================================================== */

.payment {
  background: var(--white);
}

.payment-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.payment-badge {
  flex: 1;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  padding: 20px 10px;
  box-shadow: var(--shadow-comic-sm);
  font-weight: 900;
  font-size: 15px;
}

.payment-badge svg {
  width: 32px;
  height: 32px;
}

.payment-badge-paypay {
  color: #EE1D64;
  font-size: 18px;
  justify-content: center;
}

/* ==========================================================================
   7. 最終CTA
   ========================================================================== */

.final-cta {
  background: var(--black);
  background-image: radial-gradient(rgba(255,255,255,0.06) 2px, transparent 2px);
  background-size: 16px 16px;
  text-align: center;
  color: var(--white);
}

.final-cta-image {
  max-width: 220px;
  margin: 0 auto 18px;
}

.final-cta-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.4;
  margin: 0 0 14px;
}

.final-cta-phone {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.final-cta .btn-instagram {
  background: var(--yellow);
  border-color: var(--yellow);
}

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

.site-footer {
  background: var(--black);
  color: #cfcfcf;
  text-align: center;
  padding: 32px 0 40px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.footer-name {
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  margin: 0 0 10px;
}

.footer-info {
  font-size: 12.5px;
  margin: 0 0 4px;
  line-height: 1.6;
}

.footer-tel a {
  display: inline-block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--yellow);
}

.footer-copyright {
  font-size: 11px;
  color: #777;
  margin: 18px 0 0;
}

/* ==========================================================================
   スマホ固定CTA
   ========================================================================== */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  border-top: 3px solid var(--black);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 16px;
  padding: 16px 10px;
}

.mobile-cta a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.mobile-cta-call {
  background: var(--red);
  color: var(--white);
  flex: 1.3;
}

.mobile-cta-line {
  background: var(--line-green);
  color: var(--white);
}

/* ==========================================================================
   スクロールアニメーション
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   タブレット以上（固定CTAは基本モバイル向けだが768px以下で幅広対応）
   ========================================================================== */

@media (min-width: 481px) {
  .container {
    max-width: 560px;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
  .mobile-cta {
    display: none;
  }
}
