﻿:root {
  --brand-main: #F08DA1;
  --brand-light: #FDF3F5;
  --brand-dark: #D9657B;
  --brand-accent: #F2A65A;
  --brand-deco: #9bc96f;
  --brand-text: #554A4B;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--brand-text);
  background-color: #FFFDFD;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

/* Header */
#header {
  transition: all 0.3s ease;
}

#header.scrolled {
  box-shadow: 0 4px 20px rgba(240, 141, 161, 0.1);
  padding-top: 4px;
  padding-bottom: 4px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* FV / Hero */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-left-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-light) 0%, #FFE4E9 100%);
  z-index: 1;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-fade 15s infinite ease-in-out;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }

@keyframes hero-fade {
  0%, 100% { opacity: 0; }
  6%, 33% { opacity: 1; }
  39% { opacity: 0; }
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FFE4E9 0%, rgba(255, 228, 233, 0.4) 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  
}

.hero-text-box {
  max-width: 650px;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(240, 141, 161, 0.15);
  border: 2px solid #FFF;
}

@media (max-width: 960px) {
  #hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-left-bg {
    display: none;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: 350px;
    order: 1;
  }

  .hero-visual::after {
    background: linear-gradient(to bottom, rgba(255, 228, 233, 0) 0%, var(--brand-light) 100%);
  }

  .hero-content {
    order: 2;
    padding: 0;
    margin-top: -50px;
    /* Overlap image */
  }

  .hero-text-box {
    margin: 0 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(240, 141, 161, 0.2);
  }
}

/* Common Section Styles */
.section-title {
  font-size: clamp(20px, 4vw, 36px);
  line-height: 1.4;
}

.section-label {
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-main);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Custom Checkmark for Troubles */
.trouble-list li::before {
  content: '笨・;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--brand-deco);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Blob Shape Background */
.blob-bg {
  position: absolute;
  z-index: 0;
  opacity: 0.4;
  filter: blur(40px);
}

/* FAQ Toggle */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Mobile Menu */
.hamburger span {
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 767px) {
  .hero-slide:nth-child(3) {
    background-position: 65% center;
  }
}

/* Prevent Text Selection and Image Dragging */
body {
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  
}
