/* ===================================
   Variables & Reset
   =================================== */
:root {
    /* Colors - 和風モダンカラーパレット */
    --primary: #d4648d;          /* 桜色 */
    --primary-light: #f5a7c4;    /* 薄桜 */
    --primary-dark: #b84371;     /* 濃桜 */
    --secondary: #2c5f2d;        /* 深緑 */
    --accent: #e8b647;           /* 山吹色 */
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.05em;
}

.logo-year {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    padding: 4px 12px;
    border: 2px solid var(--primary);
    border-radius: 20px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://page.gensparksite.com/v1/base64_upload/85538ce33f653ba050529505b1e49b46');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-dark);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-title-main {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9);
}

.hero-title-sub {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 18px;
    color: var(--gray-800);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.9);
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    background-color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.hero-date i {
    color: var(--primary);
    font-size: 18px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(212, 100, 141, 0.3);
    transition: var(--transition);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 100, 141, 0.4);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-light);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    animation: fall linear infinite;
}

.sakura-petal:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.sakura-petal:nth-child(2) { left: 30%; animation-duration: 12s; animation-delay: 2s; }
.sakura-petal:nth-child(3) { left: 50%; animation-duration: 14s; animation-delay: 4s; }
.sakura-petal:nth-child(4) { left: 70%; animation-duration: 11s; animation-delay: 1s; }
.sakura-petal:nth-child(5) { left: 90%; animation-duration: 13s; animation-delay: 3s; }

@keyframes fall {
    0% {
        top: -10%;
        transform: rotate(0deg);
    }
    100% {
        top: 110%;
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Base
   =================================== */
.section {
    padding: var(--section-padding) 0;
}

.section:nth-child(even) {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    gap: 60px;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.about-description {
    font-size: 16px;
    color: var(--gray-800);
    line-height: 2;
    text-align: justify;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    font-size: 30px;
    color: var(--white);
}

.info-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.info-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===================================
   Program Section
   =================================== */
.program {
    background-color: var(--white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.program-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 100, 141, 0.15);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.program-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.program-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.program-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background-color: rgba(212, 100, 141, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

/* ===================================
   Access Section
   =================================== */
.access {
    background-color: var(--white);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.access-map {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-400);
}

.map-placeholder i {
    font-size: 64px;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-600);
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.access-section {
    padding-bottom: 35px;
    border-bottom: 1px solid var(--gray-200);
}

.access-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.access-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
}

.access-title i {
    color: var(--primary);
    font-size: 20px;
}

.access-text {
    font-size: 15px;
    color: var(--gray-800);
    line-height: 1.8;
}

.access-note {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background-color: rgba(232, 182, 71, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.access-note i {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.access-note p {
    font-size: 14px;
    color: var(--gray-800);
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background-color: var(--white);
    border-radius: 15px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(212, 100, 141, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text span {
    font-size: 13px;
    color: var(--gray-600);
}

.contact-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-top: 8px;
    text-decoration: underline;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.footer-logo p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .access-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 78px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 78px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-title-main {
        font-size: 48px;
    }
    
    .hero-title-sub {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }
    
    .hero-title-main {
        font-size: 36px;
    }
    
    .hero-title-sub {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
