@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    /* Color Palette - Pastel & Pop */
    --primary-color: #FFB7B2;
    /* Soft Pink/Salmon */
    --secondary-color: #B5EAD7;
    /* Pastel Mint/Blue */
    --accent-color: #FFDAC1;
    /* Pastel Peach/Yellow */
    --text-color: #555555;
    /* Dark Gray */
    --bg-color: #FFF9F0;
    /* Warm Cream */
    --white: #FFFFFF;

    /* Fonts */
    --font-main: 'Zen Maru Gothic', sans-serif;
    /* Rounded for friendliness */
    --font-title: 'Mochiy Pop One', sans-serif;
    /* Pop and cute */

    /* Spacing */
    --header-height: 80px;
    --section-padding: 60px 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: radial-gradient(#FFDAC1 1px, transparent 1px);
    background-size: 30px 30px;
    /* Polka dot pattern */
}

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

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    color: var(--text-color);
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 5px;
    margin-top: -10px;
    opacity: 0.6;
    transform: rotate(-2deg);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.2rem;
    font-family: var(--font-title);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    background-color: #ff9e99;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--secondary-color);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-pc ul {
    display: flex;
    gap: 30px;
}

.nav-pc a {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
}

.nav-pc a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-pc a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.nav-sp {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 1500;
    background-image: radial-gradient(#FFDAC1 1px, transparent 1px);
    background-size: 30px 30px;
}

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

.nav-sp ul {
    text-align: center;
}

.nav-sp li {
    margin: 20px 0;
}

.nav-sp a {
    font-size: 1.5rem;
    font-family: var(--font-title);
    color: var(--text-color);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 10px solid var(--accent-color);
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav a {
    margin: 0 1rem;
    font-weight: bold;
}

.copyright a {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .nav-pc {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Index Page Specifics
   ========================================================================== */

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 20px;
    background: radial-gradient(circle at 50% 50%, #fff 0%, var(--bg-color) 100%);
    gap: 3rem;
    min-height: 80vh;
    flex-wrap: wrap-reverse;
}

.hero-content {
    flex: 1 1 400px;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-img {
    flex: 1 1 400px;
    text-align: center;
}

.hero-img img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 10px 10px 0 var(--secondary-color);
    animation: morph 8s ease-in-out infinite;
    max-width: 100%;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid var(--secondary-color);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Activity Preview */
.activity-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 2px solid var(--accent-color);
    display: block;
    /* For link */
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-info {
    padding: 1.5rem;
}

.activity-info .date {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-info h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Opening Animation
   ========================================================================== */
.opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.opening.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-content {
    text-align: center;
}

.opening-logo {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: bounce 1s infinite alternate;
}

.opening-bounce {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    animation: jump 0.6s infinite alternate;
}

@keyframes bounce {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes jump {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}