/* ==========================================================================
   未就学児ママのための性共育講座 - ランディングページ CSS
   テイスト：柔らかく上品（ベージュ・くすみピンク・生成り系）
   ========================================================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5D4E37;
    background-color: #FEFCF7;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-beige: #F5F1E8;
    --secondary-pink: #F4A6CD;
    --soft-pink: #FFE4E1;
    --dusty-pink: #DDA0DD;
    --cream: #FEFCF7;
    --warm-white: #FAF7F2;
    --brown-text: #5D4E37;
    --light-brown: #8B7355;
    --accent-gold: #F0E68C;
    --shadow: rgba(93, 78, 55, 0.1);
    --shadow-strong: rgba(93, 78, 55, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Kiwi Maru', serif;
    font-weight: 500;
    color: var(--brown-text);
    line-height: 1.4;
}

.handwriting {
    font-family: 'Kiwi Maru', serif;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
section {
    padding: 60px 0;
    position: relative;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title .title-text {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brown-text);
    padding: 0 20px;
    background: var(--cream);
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-pink), transparent);
    z-index: 1;
}

/* Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    border: none;
    cursor: pointer;
    gap: 8px;
    min-height: 54px;
}

.cta-primary {
    background: linear-gradient(45deg, var(--secondary-pink), var(--dusty-pink));
    color: white;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.cta-secondary {
    background: var(--warm-white);
    color: var(--brown-text);
    border: 2px solid var(--secondary-pink);
}

.cta-secondary:hover {
    background: var(--soft-pink);
    transform: translateY(-2px);
}

.cta-tertiary {
    background: #00B900;
    color: white;
}

.cta-tertiary:hover {
    background: #009900;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.1rem;
    margin: 10px 5px;
}

.cta-button i {
    font-size: 1.2em;
}

/* ==========================================================================
   ①ヒーローセクション
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--primary-beige) 50%, var(--cream) 100%);
    background-image: 
        linear-gradient(135deg, rgba(255, 228, 225, 0.4) 0%, rgba(245, 241, 232, 0.3) 50%, rgba(254, 252, 247, 0.5) 100%),
        url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-background::before {
   /* content: '🌸 💕 🌺 💖';*/
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.hero-background::after {
    /*content: '✨ 🤱 💐 ❤️';*/
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 2rem;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 20%, rgba(245, 241, 232, 0.15) 60%, rgba(255, 228, 225, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title .main-catch {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--brown-text);
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(245, 241, 232, 0.8);
    text-align: left;
    text-indent: 0;
}

.hero-title .sub-catch {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--light-brown);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(245, 241, 232, 0.7);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--light-brown);
    margin-bottom: 40px;
    font-family: 'Kiwi Maru', serif;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(245, 241, 232, 0.6);
}

.hero-cta {
    margin-bottom: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--secondary-pink);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   ②共感・問題提起セクション
   ========================================================================== */
.empathy-section {
    background: var(--warm-white);
    padding: 80px 0;
}

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

.problems-list {
    margin: 50px 0;
}

.problem-item {
    display: flex;
    align-items: center;
    background: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px var(--shadow);
    border-left: 4px solid var(--secondary-pink);
    text-align: left;
}

.problem-item i {
    color: var(--secondary-pink);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 1rem;
    color: var(--brown-text);
    flex-grow: 1;
}

.empathy-message {
    margin-top: 50px;
}

.message-box {
    background: linear-gradient(45deg, var(--soft-pink), white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid var(--secondary-pink);
}

.message-box p {
    /*aoi add 1.2*/
    font-size: 1.0rem;
    line-height: 1.6;
    color: var(--brown-text);
}

.message-box strong {
    color: var(--secondary-pink);
    font-size: 1.3em;
}

.message-box em {
    color: var(--dusty-pink);
    font-weight: 600;
    font-style: normal;
}

/* ==========================================================================
   ③この講座で得られること
   ========================================================================== */
.benefits-section {
    background: var(--cream);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--soft-pink);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 3rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--brown-text);
}

.benefit-item p {
    color: var(--light-brown);
    line-height: 1.6;
}

/* ==========================================================================
   ④カリキュラム紹介
   ========================================================================== */
.curriculum-section {
    background: var(--warm-white);
    padding: 80px 0;
}

.curriculum-list {
    margin: 50px 0;
}

.curriculum-item {
    display: flex;
    align-items: flex-start;
    background: white;
    margin: 30px 0;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.curriculum-item:hover {
    transform: translateY(-3px);
}

.step-number {
    background: linear-gradient(45deg, var(--secondary-pink), var(--dusty-pink));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--brown-text);
}

.step-content p {
    color: var(--light-brown);
    line-height: 1.6;
}

.curriculum-cta {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   ⑤講師紹介
   ========================================================================== */
.instructor-section {
    background: var(--cream);
    padding: 80px 0;
}

.instructor-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 6px 30px var(--shadow);
    text-align: center;
    border: 2px solid var(--soft-pink);
}

.instructor-image {
    margin-bottom: 30px;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--soft-pink), var(--secondary-pink));
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.instructor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 3px solid var(--soft-pink);
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.instructor-name {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--brown-text);
}

.instructor-credentials {
    margin-bottom: 30px;
}

.credential-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
    padding: 10px;
    background: var(--soft-pink);
    border-radius: 10px;
}

.credential-item i {
    color: var(--secondary-pink);
    margin-right: 10px;
    width: 20px;
}

.credential-item span {
    color: var(--brown-text);
}

.instructor-message {
    margin-top: 30px;
}

.instructor-message h4 {
    /*aoi add 1.2*/
    font-size: 2.9rem;
    margin-bottom: 15px;
    color: var(--brown-text);
}

.instructor-message blockquote {
    background: var(--primary-beige);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-pink);
    font-style: italic;
    line-height: 1.7;
    text-align: left;
}

.instructor-message em {
    color: var(--secondary-pink);
    font-weight: 600;
    font-style: normal;
}

/* ==========================================================================
   ⑥受講者の声
   ========================================================================== */
.testimonials-section {
    background: var(--warm-white);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    gap: 25px;
    margin-top: 50px;
}

.testimonial-item {
    text-align: center;
}

.testimonial-bubble {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    margin-bottom: 15px;
    border: 1px solid var(--soft-pink);
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.testimonial-bubble p {
    color: var(--brown-text);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--light-brown);
    font-size: 0.9rem;
}

/* ==========================================================================
   ⑦受講後の未来
   ========================================================================== */
.future-section {
    background: linear-gradient(135deg, var(--soft-pink), var(--cream));
    padding: 80px 0;
}

.future-image {
    text-align: center;
    margin: 40px 0;
}

.future-visual {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--secondary-pink), var(--dusty-pink));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto;
    box-shadow: 0 6px 25px var(--shadow);
}

.future-visual span {
    font-size: 1rem;
    margin-top: 10px;
    font-family: 'Kiwi Maru', serif;
}

.future-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 6px 25px var(--shadow);
    border: 4px solid var(--soft-pink);
}

.future-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.future-benefits {
    margin: 50px 0;
}

.future-item {
    display: flex;
    align-items: center;
    background: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    border-left: 4px solid var(--accent-gold);
}

.future-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.future-item p {
    color: var(--brown-text);
    flex-grow: 1;
}

.future-item em {
    color: var(--secondary-pink);
    font-weight: 600;
    font-style: normal;
}

.future-cta {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   ⑧Q&Aセクション
   ========================================================================== */
.qa-section {
    background: var(--cream);
    padding: 80px 0;
}

.qa-list {
    margin-top: 50px;
}

.qa-item {
    background: white;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    overflow: hidden;
    border: 1px solid var(--soft-pink);
}

.question {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--primary-beige);
    cursor: pointer;
    transition: background 0.3s ease;
}

.question:hover {
    background: var(--soft-pink);
}

.question i {
    color: var(--secondary-pink);
    font-size: 1.3rem;
    margin-right: 15px;
}

.question h3 {
    color: var(--brown-text);
    font-size: 1.1rem;
}

.answer {
    padding: 20px;
    background: white;
}

.answer p {
    color: var(--light-brown);
    line-height: 1.6;
}

/* ==========================================================================
   ⑨最後のCTAブロック
   ========================================================================== */
.final-cta-section {
    background: linear-gradient(135deg, var(--dusty-pink), var(--secondary-pink));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.cta-background::before {
    content: '✨ 💖 🌟 💕 🌸';
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    font-size: 3rem;
    animation: slide 15s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(255, 255, 255, 0.1));
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-message {
    font-size: 2rem;
    color: white;
    margin-bottom: 50px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ==========================================================================
   ⑩フッター
   ========================================================================== */
.footer-section {
    background: var(--brown-text);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content > div {
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--secondary-pink);
    margin-bottom: 10px;
}

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

.footer-instructor {
    color: #ddd;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    gap: 8px;
}

.social-link:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

.social-link.instagram:hover {
    background: #E4405F;
}

.social-link.line:hover {
    background: #00B900;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--secondary-pink);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    color: #aaa;
    font-size: 0.8rem;
}

/* ==========================================================================
   レスポンシブテキスト制御
   ========================================================================== */

/* モバイルファースト: デフォルトでスマホ表示 */
.mobile-break {
    display: inline;
}

.desktop-comma {
    display: none;
}



/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* Large Mobile (480px+) */
@media (min-width: 480px) {
    .container {
        max-width: 600px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title .main-catch {
        font-size: 2.2rem;
    }
    
    .hero-section {
        background-position: center top;
    }
    
    .final-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .container {
        max-width: 800px;
        padding: 0 40px;
    }
    
    section {
        padding: 100px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 50px auto 0;
    }
    
    .instructor-card {
        padding: 60px 50px;
    }
    
    .final-message {
        font-size: 2.5rem;
    }
    
    /* PC版: 改行を無効にして読点を表示 */
    .mobile-break {
        display: none;
    }
    
    .desktop-comma {
        display: inline;
    }
    

}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title .main-catch {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-section {
        background-position: center center;
        background-attachment: fixed;
    }
    
    .curriculum-item {
        padding: 35px;
    }
    
    .instructor-card {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .final-cta-section,
    .footer-section {
        background: white !important;
        color: black !important;
    }
    
    .cta-button {
        border: 2px solid black !important;
        background: white !important;
        color: black !important;
    }
}