:root {
  /* 
   * ====================================================
   * 2) Rin-Design 配色定義
   * ====================================================
   */
  --bg: #FFFFFF;
  --surface: #FFF7FB;
  --surface-2: #F6FBFF;
  --text: #1C1C1C;
  --muted: #6B6B6B;
  --primary: #FF4D8D;
  --secondary: #35C6FF;
  --accent: #FFD84D;
  --mint: #2EE59D;
  --purple: #8B5CFF;
  --coral: #FF7A59;
  --line: #F0E7F0;
  --shadow: rgba(28, 28, 28, 0.12);
  --danger: #E54848;
  --ok: #2CB67D;

  /* Gradients */
  --grad-1: linear-gradient(90deg, #FF4D8D 0%, #35C6FF 45%, #FFD84D 100%);
  --grad-2: radial-gradient(circle at 20% 20%, rgba(255, 77, 141, 0.20), rgba(53, 198, 255, 0.15), rgba(255, 216, 77, 0.10));

  /* Spacing */
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 12px;
  --space-l: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;

  /* Radius */
  --radius-card: 24px;
  --radius-pill: 999px;
  --radius-btn: 999px;

  /* Fonts */
  --font-heading: 'Poppins', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  /* 上品な背景装飾 (ドット) */
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: var(--space-l);
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  font-size: 16px;
  margin-bottom: var(--space-l);
}

small {
  font-size: 14px;
  color: var(--muted);
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

ul {
  list-style: none;
}

/* 
 * ====================================================
 * Common Components
 * ====================================================
 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--grad-1);
  color: #fff;
}

/* Shine effect for primary button */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title span {
  display: block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}

/* Cards */
.card {
  background: var(--bg);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(28, 28, 28, 0.15);
}

/* Pastel Card Variants */
.card-pastel-1 {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFF 100%);
  /* Pale Pink */
  box-shadow: 0 10px 25px rgba(255, 77, 141, 0.15);
  border: 1px solid rgba(255, 77, 141, 0.1);
}

.card-pastel-2 {
  background: linear-gradient(135deg, #FFF9C4 0%, #FFF 100%);
  /* Pale Yellow */
  box-shadow: 0 10px 25px rgba(255, 216, 77, 0.15);
  border: 1px solid rgba(255, 216, 77, 0.1);
}

.card-pastel-3 {
  background: linear-gradient(135deg, #E0F7FA 0%, #FFF 100%);
  /* Pale Blue */
  box-shadow: 0 10px 25px rgba(53, 198, 255, 0.15);
  border: 1px solid rgba(53, 198, 255, 0.1);
}

.card-pastel-1:hover {
  box-shadow: 0 15px 35px rgba(255, 77, 141, 0.25);
}

.card-pastel-2:hover {
  box-shadow: 0 15px 35px rgba(255, 216, 77, 0.25);
}

.card-pastel-3:hover {
  box-shadow: 0 15px 35px rgba(53, 198, 255, 0.25);
}

/* Image Hover Effects */
.img-hover-zoom {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-card);
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.img-hover-zoom:hover .img-overlay {
  opacity: 1;
}

/* 
 * ====================================================
 * Header & Navigation
 * ====================================================
 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: var(--space-m) 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow);
  padding: var(--space-s) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  /* For absolute centering of nav */
}

.logo {
  height: 48px;
  z-index: 1001;
  /* Ensure above nav if overlap */
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-pc {
  display: flex;
  gap: var(--space-m);

  /* Absolute Center */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  /* Bold */
  font-size: 18px;
  /* Larger text */
  position: relative;
  white-space: nowrap;
  /* Prevent line break */

  /* Glass Button Style */
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  color: var(--text);
  transition: all 0.3s ease;
}

.nav-link::after {
  content: none;
  /* Remove underline */
}

.nav-link:hover,
.nav-link.active {
  /* Add active class support if needed */
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(255, 77, 141, 0.15);
  /* Primary color hint */
  color: var(--primary);
}

/* Contact button in nav should also match or pop */
.nav-pc .btn {
  font-size: 18px;
  padding: 10px 24px;
  white-space: nowrap;
  /* Force single line */
  min-width: max-content;
  /* Ensure width fits content */
  flex-shrink: 0;
  /* Prevent squashing */
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.line {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: 0.3s;
}

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--bg);
  box-shadow: -4px 0 20px var(--shadow);
  transition: right 0.4s ease;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  z-index: 1050;
}

.nav-mobile.active {
  right: 0;
}

/* 
 * ====================================================
 * Footer
 * ====================================================
 */
.footer {
  background-color: var(--surface);
  padding: var(--space-4xl) 0 var(--space-xl);
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-links {
  margin: var(--space-xl) 0;
  display: flex;
  justify-content: center;
  gap: var(--space-l);
}

.social-icon {
  font-size: 24px;
  color: var(--primary);
}

/* 
 * ====================================================
 * Animations (Intersection Observer Targets)
 * ====================================================
 */
.anim-el {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade In */
.fade-in {
  /* default state defined in JS or handled by removing class? 
     Usually: base class has opacity 0, visible class has opacity 1 
  */
}

.anim-el.visible {
  opacity: 1;
  transform: none;
}

.slide-up {
  transform: translateY(40px);
}

.slide-left {
  transform: translateX(-40px);
}

.slide-right {
  transform: translateX(40px);
}

.pop {
  transform: scale(0.9);
}

/* Stagger delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .anim-el {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* 
 * ====================================================
 * Mobile Responsive
 * ====================================================
 */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .nav-pc {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .container {
    width: 94%;
  }
}

/* 
 * ====================================================
 * Mascots (Random Floating - Edge Focused)
 * ====================================================
 */
.mascot-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.mascot {
  position: absolute;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  opacity: 0.35;
  /* More transparent */
  will-change: transform;
}

/* 
 * Keyframes adjusted to avoid center screen 
 * Center is roughly 30vw-70vw / 30vh-70vh
 */

@keyframes floatPath1 {
  0% {
    transform: translate(5vw, 10vh) rotate(0deg);
  }

  33% {
    transform: translate(20vw, 80vh) rotate(5deg);
  }

  66% {
    transform: translate(10vw, 40vh) rotate(-5deg);
  }

  100% {
    transform: translate(5vw, 10vh) rotate(0deg);
  }
}

@keyframes floatPath2 {
  0% {
    transform: translate(95vw, 80vh) rotate(0deg);
  }

  33% {
    transform: translate(80vw, 20vh) rotate(-10deg);
  }

  66% {
    transform: translate(90vw, 50vh) rotate(5deg);
  }

  100% {
    transform: translate(95vw, 80vh) rotate(0deg);
  }
}

@keyframes floatPath3 {
  0% {
    transform: translate(10vw, -10vh) rotate(0deg);
  }

  50% {
    transform: translate(90vw, -5vh) rotate(5deg);
  }

  /* Across top */
  100% {
    transform: translate(10vw, -10vh) rotate(0deg);
  }
}

@keyframes floatPath4 {
  0% {
    transform: translate(80vw, 110vh) rotate(0deg);
  }

  50% {
    transform: translate(20vw, 105vh) rotate(-5deg);
  }

  /* Across bottom */
  100% {
    transform: translate(80vw, 110vh) rotate(0deg);
  }
}

/* Apply specific animations - Slower durations */
.mascot-bear {
  animation: floatPath1 60s linear infinite;
  /* Left side vertical */
}

.mascot-rabbit {
  animation: floatPath2 70s linear infinite;
  /* Right side vertical */
  width: 100px;
}

.mascot-dog {
  animation: floatPath3 80s linear infinite;
  /* Top horizontal */
  width: 110px;
}

.mascot-tiger {
  animation: floatPath4 75s linear infinite;
  /* Bottom horizontal */
  width: 115px;
}

/* 
 * ====================================================
 * Rising Balloons
 * ====================================================
 */
#balloon-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.balloon {
  position: absolute;
  bottom: -150px;
  border-radius: 50%;
  opacity: 0.4;
  will-change: transform;
  animation: riseUp linear infinite;
}

.balloon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
}

@keyframes riseUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-130vh) rotate(10deg);
    opacity: 0;
  }
}

/* Colors */
.b-color-1 {
  background-color: #FFB7B2;
}

.b-color-2 {
  background-color: #FFDAC1;
}

.b-color-3 {
  background-color: #E2F0CB;
}

.b-color-4 {
  background-color: #B5EAD7;
}

.b-color-5 {
  background-color: #C7CEEA;
}

.b-color-6 {
  background-color: #E0F7FA;
}

.b-color-7 {
  background-color: #FFF9C4;
}

/* Sizes */
.b-size-1 {
  width: 30px;
  height: 38px;
}

.b-size-2 {
  width: 50px;
  height: 60px;
}

.b-size-3 {
  width: 70px;
  height: 85px;
}

.b-size-4 {
  width: 90px;
  height: 110px;
}