/* --- Google Fonts (Elegant Version) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Noto+Sans+JP:wght@300;400;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* --- Global Styles & Variables --- */
:root {
    --font-heading: 'Noto Serif JP', serif; /* Unified to Noto Serif JP for readability */
    --font-body: 'Noto Sans JP', sans-serif;
    --color-primary: #ff8fab; /* Bright Pink */
    --color-secondary: #ffecb3; /* Light Yellow/Cream */
    --color-accent: #ffd700;   /* Gold */
    --color-text: #4a4a4a;
    --color-bg-light: #ffffff;
    --color-bg-dark: #fbf0f5; /* Very light pink background */
    --gradient-bg: linear-gradient(135deg, #ffe0f0 0%, #ffc0d9 100%); /* Pink gradient */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.8;
    font-weight: 300;
}

/* --- Starry Background Animation --- */
@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
.stars {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    display:block;
    
    /* SEO修正: Base64を外部ファイルに変更 */
    background:#000 transparent url(stars.png) repeat top center;
    
    z-index:-2;
    animation:move-twink-back 200s linear infinite;
}

/* --- Custom Sparkle Effect --- */
.sparkle-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.sparkle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle-float 5s infinite ease-out;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
}
@keyframes sparkle-float {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    20% { opacity: 0.8; transform: scale(1); }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* --- General Layout & Typography --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
}
h2 {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 400;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-bg);
    border-radius: 2px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent), #fcc300);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 215, 0, 0.5);
}

/* ★ New Simple Button Style */
.cta-button-secondary {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 143, 171, 0.4);
    transition: all 0.3s ease;
}
.cta-button-secondary:hover {
    transform: translateY(-2px);
    background: #ff749c; /* Slightly darker pink */
    box-shadow: 0 6px 15px rgba(255, 143, 171, 0.5);
}

/* --- Header / Hero Section --- */
.hero {
    padding: 60px 0 30px 0;
    color: var(--color-text);
    text-align: center;
    background: linear-gradient(135deg, #c7e9fb 0%, #ffedf2 100%);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}
.hero .container {
    padding-top: 20px;
}
.hero-banner-image {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 15px;
    border: 5px solid rgba(255,255,255,0.7);
}
.hero .main-catchphrase {
    font-size: 2.5rem;
    margin: 20px 0 10px 0;
    text-shadow: 0 2px 5px rgba(255,255,255,0.5);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Pain Points Section --- */
.pain-points { background-color: #fef8f9; }
.pain-points ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.pain-points li {
    background: var(--color-bg-light);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    position: relative;
    padding-left: 50px;
    border-left: 5px solid var(--color-primary);
}
.pain-points li::before {
    content: '✦';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1.5rem;
}
.solution-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 40px;
    padding: 15px;
    background: #fff0f5;
    border-radius: 10px;
    border: 1px solid var(--color-primary);
}

/* --- About Section --- */
.card-showcase-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.about-features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 30%;
    border-bottom: 5px solid var(--color-primary);
    transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
}

/* --- USP Section (3 Reasons) --- */
.usp { background-color: #fef8f9; }
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.usp-item .number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    color: #f7d6e4;
    line-height: 1;
    flex-shrink: 0;
}
.usp-item h4 {
    text-align: left;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 400;
}
.usp-result {
    margin-top: 50px;
    text-align: center;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--color-secondary), #fff);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow);
}

/* --- Skills & Target Audience Section --- */
.skills-target {
    background-color: #fef8f9;
}
.skills-target h3 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 40px;
}
.skills-image {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 30px auto 40px auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.skills-target .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.skills-target .skill-item {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 4px solid var(--color-primary);
    transition: transform 0.3s ease;
}
.skills-target .skill-item:hover {
    transform: translateY(-3px);
    background-color: #fef7f9;
}
.skills-target .target-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.skills-target .target-list li {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Before/After Section --- */
.before-after { background-color: white; }
.ba-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ba-table div { padding: 25px; }
.ba-table .header {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    padding-bottom: 15px;
}
.ba-table .before { background: #fdfcff; }
.ba-table .after { background: var(--color-secondary); }
.ba-table .before .header { color: #888; }
.ba-table .after .header { color: var(--color-primary); }
.ba-table .cell { border-top: 1px solid #eee; }
.ba-table .after .cell { font-weight: 700; color: #6a6a6a; }

/* --- Creator Section --- */
.creator-section {
    background-color: #fef8f9;
}
.creator-card {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--color-primary);
}
.creator-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}
.creator-profile-image {
    width: 220px;
    height: auto;
    border-radius: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.creator-text-content {
    flex: 1;
}
.creator-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: left;
}
.creator-card .author-name {
    font-weight: 700;
    text-align: right;
    margin-top: 20px;
}
.creator-card p {
    text-align: left;
}

/* --- Testimonials Section --- */
.testimonials { background-color: white; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--color-primary);
    transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card .author {
    font-weight: 700;
    margin-top: 20px;
    text-align: right;
    color: #777;
}

/* --- Course Details Section --- */
#application { background-color: #fef8f9; }
.details-grid {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.details-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}
.details-item:last-child {
    border-bottom: none;
}
.details-item dt {
    width: 30%;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}
.details-item dd {
    width: 70%;
}

.curriculum {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.curriculum h3 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 20px;
}
.curriculum h4 {
    color: var(--color-primary);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 1.5rem;
    text-align: left;
}
.curriculum ul {
    list-style: none;
    padding-left: 20px;
}
.curriculum ul li {
    text-align: left;
    position: relative;
    padding-left: 20px;
}
.curriculum ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}
.curriculum-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.curriculum-images img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-height: 250px;
    object-fit: contain;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 60px 0;
    background: white;
}
.pricing-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    background: #fff0f5;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow);
}
.pricing-box .price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
}
.pricing-box .includes {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}
.payment-methods {
    margin-top: 20px;
}
.payment-methods h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- FAQ Section --- */
.faq { background-color: #fef8f9; }
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.faq-item summary {
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    position: relative;
    background-color: #fdfcff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '＋';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px 20px 20px;
    line-height: 1.8;
    border-top: 1px dashed #f0f0f0;
}

/* --- Closing Section --- */
.closing {
    background: linear-gradient(135deg, #ffc0d9 0%, #ff8fab 100%);
    text-align: center;
    color: white;
    padding: 100px 0;
}
.closing h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.closing p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* --- CTA Section before FAQ --- */
.cta-pre-faq {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

/* --- Footer --- */
.site-footer {
    background-color: #fbf0f5; /* Light pink background */
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
.site-footer p {
    margin-bottom: 10px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .hero .main-catchphrase { font-size: 2rem; }
    .about-features, .usp-item, .details-item { flex-direction: column; text-align: center; }
    .feature-card, .usp-item, .details-item dt, .details-item dd { width: 100%; }
    .usp-item h4 { text-align: center; }
    .ba-table { grid-template-columns: 1fr; }
    .ba-table .before { border-bottom: 2px solid var(--color-primary); }
    .hero-banner-image { border-radius: 0; }
    .creator-content-wrapper { flex-direction: column; }
    .creator-card h3, .creator-card p { text-align: center; }
    .creator-card .author-name { text-align: center; }
    .curriculum-images { flex-direction: column; align-items: center; }
}