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

:root {
  --clr-primary:      #E8623A;
  --clr-primary-dark: #C94E28;
  --clr-primary-glow: rgba(232, 98, 58, 0.55);
  --clr-cta-bg:       #FFFFFF;
  --clr-cta-bg-mid:   #FAFAFA;
  --clr-border:       #E8E8E8;
  --clr-text:         #3D2B1F;
  --clr-text-sub:     #7A5C4A;
  --clr-footer-bg:    #3D2B1F;
  --font:             'Noto Sans JP', sans-serif;
  --ease:             0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #fff;
  color: var(--clr-text);
  overflow-x: hidden;
}

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

a { text-decoration: none; }


/* ===================================================
   Layout Switch — PC / SP
   =================================================== */
.pc-layout { display: block; }
.sp-layout { display: none; }

@media (max-width: 768px) {
  .pc-layout { display: none; }
  .sp-layout { display: block; }
}


/* ===================================================
   Image Sections
   =================================================== */
.img-section {
  width: 100%;
  line-height: 0;
}
.img-section img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===================================================
   CTA Block
   =================================================== */
.cta-block {
  background: var(--clr-cta-bg);
  border-top:    2px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-border);
  padding: 52px 24px;
  text-align: center;
}

.cta-block--mid {
  background: #FAFAFA;
}

.cta-block--footer {
  background: #FFFFFF;
  padding: 68px 24px;
}

.cta-block__badge {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.cta-block__lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--clr-text-sub);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .cta-block { padding: 40px 20px; }
  .cta-block--footer { padding: 52px 20px; }
  .cta-block__lead { font-size: 14px; }
}


/* ===================================================
   CTA Button
   =================================================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #E8623A 0%, #F07A52 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 18px 48px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(232, 98, 58, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

/* Shimmer sweep on hover */
.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transition: left 0.55s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--clr-primary-glow);
  background: linear-gradient(135deg, #D4552F 0%, #E8623A 100%);
}

.cta-btn:hover::after { left: 160%; }

.cta-btn--large {
  font-size: 18px;
  padding: 22px 56px;
}

.cta-btn__arrow {
  font-size: 18px;
  transition: transform var(--ease);
}
.cta-btn:hover .cta-btn__arrow { transform: translateX(5px); }

@media (max-width: 768px) {
  .cta-btn {
    font-size: 15px;
    padding: 16px 24px;
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  .cta-btn--large {
    font-size: 16px;
    padding: 18px 24px;
  }
}


/* ===================================================
   Fixed CTA Button
   =================================================== */
.cta-fixed {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E8623A 0%, #F07A52 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(232, 98, 58, 0.45);
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease);
  will-change: transform;
}

/* opacityアニメーション（box-shadowより軽量・GPU処理） */
.cta-fixed::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  box-shadow: 0 4px 26px rgba(232, 98, 58, 0.75);
  opacity: 0;
  animation: pulse-glow 2.8s ease-in-out infinite;
  pointer-events: none;
}

.cta-fixed:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--clr-primary-glow);
}

.cta-fixed:hover::before {
  animation: none;
  opacity: 0;
}

.cta-fixed__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* SP: 下部中央固定 */
@media (max-width: 768px) {
  .cta-fixed {
    bottom: 14px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    padding: 12px 18px;
  }
  .cta-fixed:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}


/* ===================================================
   Footer
   =================================================== */
.site-footer {
  background: var(--clr-footer-bg);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
}


/* ===================================================
   Fade-in on Scroll
   =================================================== */
/* ===================================================
   Video Section
   =================================================== */
.video-section {
  background: var(--clr-cta-bg);
  border-top: 2px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-border);
  padding: 52px 24px;
  text-align: center;
}

.video-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 32px;
  line-height: 1.6;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .video-section {
    padding: 40px 20px;
  }
  .video-section__title {
    font-size: 18px;
    margin-bottom: 24px;
  }
}


/* ===================================================
   Fade-in on Scroll
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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