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

:root {
  --yellow:    #FFD93D;
  --orange:    #FF6B35;
  --turquoise: #4ECDC4;
  --pink:      #FF6B9D;
  --purple:    #C77DFF;
  --white:     #FFFFFF;
  --bg:        #FFFDF5;
  --text:      #2D2D2D;
  --text-sub:  #666666;
  --radius:    20px;
  --shadow:    0 8px 32px rgba(0,0,0,0.10);
  --font-en:   'Nunito', sans-serif;
  --font-ja:   'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes float-delay {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}
@keyframes bounce-btn {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-4px) scale(1.03); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
  50%       { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; }
}

.float        { animation: float 3s ease-in-out infinite; }
.float-delay1 { animation: float-delay 3.5s ease-in-out infinite 0.3s; }
.float-delay2 { animation: float-delay 3.2s ease-in-out infinite 0.7s; }
.float-delay3 { animation: float-delay 3.8s ease-in-out infinite 1.1s; }
.bounce       { animation: bounce-btn 2s ease-in-out infinite; }

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease var(--delay, 0s), transform 0.6s ease var(--delay, 0s);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2.5px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-yt {
  background: #FF0000;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,253,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255,217,61,0.3);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
}
.logo-icon { font-size: 1.8rem; }
.logo strong { color: var(--orange); font-size: 1.15rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a:not(.btn) {
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.nav-list a:not(.btn):hover { background: var(--yellow); color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 110px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFDF5 0%, #FFF5E0 50%, #E8FFFE 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  animation: blob 8s ease-in-out infinite;
}
.shape1 {
  width: 400px; height: 400px;
  background: rgba(255,217,61,0.25);
  top: -80px; right: -80px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  animation-delay: 0s;
}
.shape2 {
  width: 300px; height: 300px;
  background: rgba(78,205,196,0.2);
  bottom: -60px; left: -60px;
  border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%;
  animation-delay: 2s;
}
.shape3 {
  width: 200px; height: 200px;
  background: rgba(255,107,157,0.2);
  top: 40%; left: 10%;
  border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  animation-delay: 4s;
}
.shape4 {
  width: 150px; height: 150px;
  background: rgba(199,125,255,0.2);
  top: 20%; right: 20%;
  border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;
  animation-delay: 6s;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-emoji { font-size: 0.8em; display: inline-block; margin-left: 8px; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.stat-icon { font-size: 1.2rem; }

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1;
}
.hero-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
  width: 140px;
}
.hero-card-emoji { font-size: 3.5rem; margin-bottom: 12px; }
.hero-card-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 4px;
  margin-bottom: 6px;
}
.hero-card-bar.short { width: 60%; background: var(--turquoise); }

.hero-card-sm {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  font-size: 2rem;
  cursor: default;
}

/* ===== SECTION COMMON ===== */
.section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--turquoise), var(--purple));
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
}
.section-desc { color: var(--text-sub); margin-top: 10px; font-size: 1rem; }

/* ===== ABOUT ===== */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.about-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.about-card-icon { font-size: 2.8rem; margin-bottom: 14px; }
.about-card h3 {
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--orange);
}
.about-card p { font-size: 0.92rem; color: var(--text-sub); line-height: 1.75; }

/* ===== VIDEOS ===== */
.videos {
  background: linear-gradient(160deg, #FFF5E0 0%, #E8FFFE 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-label {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.video-more { text-align: center; }

/* ===== GALLERY ===== */
.gallery { background: linear-gradient(160deg, #FFF5E0 0%, #E8FFFE 100%); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  background: #f0f0f0;
}

/* 4色のアクセントボーダーをループ */
.gallery-item:nth-child(4n+1) { border: 3px solid var(--yellow); }
.gallery-item:nth-child(4n+2) { border: 3px solid var(--turquoise); }
.gallery-item:nth-child(4n+3) { border: 3px solid var(--pink); }
.gallery-item:nth-child(4n+4) { border: 3px solid var(--orange); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(255,255,255,0.0);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #FFF5E0, #E8FFFE);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: var(--shadow);
}
.contact-emoji { font-size: 3.5rem; margin-bottom: 20px; }
.contact-box h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 16px; }
.contact-box p { color: var(--text-sub); margin-bottom: 28px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: #fff;
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-logo .logo-icon { font-size: 1.6rem; }

.footer-sns { display: flex; gap: 12px; }
.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: transform 0.2s, opacity 0.2s;
}
.sns-btn:hover { transform: scale(1.15); opacity: 0.85; }
.sns-btn.yt { background: #FF0000; color: #fff; }

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sp-only { display: inline; }

  /* Header */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,253,245,0.98);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform 0.3s;
    border-bottom: 2px solid var(--yellow);
    backdrop-filter: blur(12px);
  }
  .nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Hero */
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
}
