/* ==========================================================================
   Base Styles / Variables
   ========================================================================== */
   :root {
    /* カラーパレット (パステル調) */
    --color-primary: #FFB6C1;    /* Light Pink */
    --color-primary-dark: #FF9EAB; /* Slightly darker pink for hover */
    --color-secondary: #FFF0F5;  /* Lavender Blush */
    --color-accent: #87CEFA;     /* Light Sky Blue */
    --color-text-main: #554A4A;  /* Soft Dark Brown */
    --color-text-light: #7D7070;
    --color-bg-white: #FFFFFF;
    --color-bg-beige: #FDF5E6;   /* Old Lace / Beige */
    --color-line: #06C755;       /* LINE Green */
    --color-line-hover: #05A044;

    /* タイポグラフィ */
    --font-heading: 'Kiwi Maru', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* デザインシステム */
    --border-radius: 20px;
    --border-radius-pill: 50px;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 12px 25px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.3s ease;
}

/* ==========================================================================
   Reset & Global
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 5px;
}

/* Background Colors */
.bg-light-pink { background-color: var(--color-secondary); }
.bg-white { background-color: var(--color-bg-white); }
.bg-light-beige { background-color: var(--color-bg-beige); }

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

.header.scrolled {
    padding: 10px 0;
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.btn-cv-header {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-cv-header:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offset for header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInOut 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
}

.hero-copy {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-text-main);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-text-main);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.section-desc {
    text-align: center;
    margin-bottom: 40px;
}

.courses-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.course-card {
    flex: 1;
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.course-header {
    padding: 20px;
    text-align: center;
    color: white;
}

.course-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.course-header.color-blue { background-color: var(--color-accent); }
.course-header.color-pink { background-color: var(--color-primary); }

.course-body {
    padding: 30px;
}

.course-intro {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-price-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.course-price-list li:last-child {
    border-bottom: none;
}

.course-price-list .time {
    font-weight: 500;
}

.course-price-list .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Instructor Section
   ========================================================================== */
.instructor-profile {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.instructor-image {
    flex: 0 0 250px;
}

.instructor-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-secondary);
}

.instructor-info {
    flex: 1;
}

.instructor-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.instructor-name span {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
}

.instructor-message {
    font-size: 1rem;
}

/* ==========================================================================
   Access Section
   ========================================================================== */
.access-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--color-bg-beige);
    padding: 40px;
    border-radius: var(--border-radius);
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.access-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.access-list i {
    color: var(--color-primary);
    margin-top: 5px;
}

.access-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ==========================================================================
   Contact / CTA Section
   ========================================================================== */
.contact-section {
    text-align: center;
    background-color: var(--color-secondary);
}

.contact-desc {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.line-button {
    background-color: var(--color-line);
}

.line-button:hover {
    background-color: var(--color-line-hover);
}

.note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 15px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-cv-large {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.4);
    text-align: center;
}

.btn-cv-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.6);
    color: white;
}

.cta-wrapper {
    text-align: center;
}

.btn-cv-normal {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: var(--color-primary-dark);
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    border: 2px solid var(--color-primary);
}

.btn-cv-normal:hover {
    background-color: var(--color-primary);
    color: white;
}

/* ==========================================================================
   Floating CTA (SP Only default hidden)
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cta.show {
    visibility: visible;
    opacity: 1;
}

.btn-cv-floating {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-line);
    color: white;
    text-align: center;
    border-radius: var(--border-radius-pill);
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-text-main);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
    color: #ccc;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
.pc-only { display: block; }
.sp-only { display: none; }

@media screen and (max-width: 768px) {
    .pc-only { display: none; }
    .sp-only { display: block; }

    .header-container { align-items: center; }
    .nav-menu { display: none; /* シンプル化のためSPではメニュー省略するかハンバーガーメニューにするが今回は非表示 */ }
    .btn-cv-header { font-size: 0.8rem; padding: 8px 15px; }

    .hero-copy { font-size: 2.2rem; }
    .hero-sub { font-size: 1rem; }

    .features-grid { grid-template-columns: 1fr; }
    .courses-wrapper { flex-direction: column; }
    
    .instructor-profile {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .access-content {
        flex-direction: column;
        padding: 20px;
    }
    .access-map iframe { height: 250px; }

    .section { padding: 50px 0; }
}
