/* =========================================
   Base & Reset
   ========================================= */
:root {
    --primary-color: #E78B7F;   /* サーモンピンク */
    --primary-dark: #d67a6e;
    --primary-light-bg: #fff0ee;
    --secondary-color: #F7C4AA; /* 淡いオレンジ */
    
    --main-gradient: linear-gradient(135deg, #E78B7F 0%, #F7C4AA 100%);
    --bg-gradient: linear-gradient(135deg, #fff 0%, #fffcfb 100%);
    
    --text-color: #555555;
    --text-heading: #444444;
    
    --bg-body: #ffffff;
    --bg-light: #fff9f5;
    
    --white: #ffffff;
    --radius-lg: 20px;
    --radius-btn: 50px;
    --shadow-card: 0 8px 25px rgba(0,0,0,0.03);
    
    --font-en: 'Outfit', sans-serif;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    letter-spacing: 0.05em;
}

*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; transition: 0.3s; }
h1, h2, h3, h4 { color: var(--text-heading); font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* Utility */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 16px;
}
.btn-primary {
    background: var(--main-gradient);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(231, 139, 127, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

/* Sections */
.section { padding: 100px 0; position: relative; font-feature-settings: "palt"; letter-spacing: 0.1em;}
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-family: var(--font-en);
    text-transform: uppercase;
}
.section-title { font-size: 32px; margin: 0; color: var(--text-heading); }

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 7vw; line-height: 1.5;}
    .section-header { margin-bottom: 10%;}
}


/* =========================================
   Wave Separator
   ========================================= */
.wave-separator {
    line-height: 0; width: 100%;
    position: relative;
    z-index: 3; pointer-events: none;
}
.wave-separator svg { width: 100%; height: 60px; display: block; }
@media(min-width: 769px) { .wave-separator svg { height: 90px; } }

.wave-overlap-top { margin-top: -60px; }
@media(min-width: 769px) { .wave-overlap-top { margin-top: -90px; } }
.wave-overlap-contact { margin-top: -60px; }
@media(min-width: 769px) { .wave-overlap-contact { margin-top: -90px; } }

.fill-white path { fill: var(--white); } 

@media (max-width: 768px) {
    /* .wave-separator {
        display: none;
    } */
}


/* =========================================
   Header
   ========================================= */
.header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 24px; color: var(--primary-color); margin: 0; font-weight: 800; font-family: var(--font-en); }
.btn-nav {
    padding: 10px 24px; font-size: 14px;
    background: var(--primary-color); color: #fff; border-radius: 30px;
}
@media (max-width: 768px) { .btn-nav { font-size: 12px; padding: 8px 16px; } }


/* =========================================
   Hero Section (FV)
   ========================================= */
.hero {
    margin-top: 60px;
    padding: 60px 20px 140px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center;
}
.hero-decoration {
    position: absolute; border-radius: 50%; opacity: 0.4; filter: blur(50px); z-index: 0;
}
.deco-1 { top: -50px; left: -100px; width: 400px; height: 400px; background: var(--primary-color); opacity: 0.15; }
.deco-2 { bottom: 50px; right: -50px; width: 300px; height: 300px; background: var(--secondary-color); opacity: 0.2; }

.hero-container {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.hero-text { flex: 1; max-width: 500px; z-index: 2; }
.hero-sub {
    color: var(--primary-color); font-weight: 700; margin-bottom: 15px;
    display: inline-block; background: #fff; padding: 6px 15px;
    border-radius: 20px; font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.hero-title { font-size: 42px; line-height: 1.4; margin-bottom: 20px; color: #333; font-feature-settings: "palt"; letter-spacing: 0.06em;}
.highlight { background: linear-gradient(transparent 65%, #ffdfdf 65%); font-weight: 700; }
.hero-desc { color: var(--text-color); margin-bottom: 30px; font-size: 16px; }
.cta-group { margin-top: 20px; } .btn-lg { padding: 18px 50px; font-size: 18px; }

.hero-image-area {
    flex: 1; display: flex; justify-content: center;
    position: relative; z-index: 1; max-width: 450px;
}
.hero-img-wrapper {
    width: 380px; height: 380px;
    border-radius: 40px; overflow: hidden;
    box-shadow: 20px 20px 0px rgba(247, 196, 170, 0.3); border: 5px solid #fff;
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.floating-badge {
    position: absolute; background: #fff; padding: 0;
    border-radius: 50%; width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-weight: 700; color: var(--primary-color);
    font-size: 13px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}
.badge-1 { top: 0; left: 0; border: 2px solid var(--secondary-color); }
.badge-2 { bottom: 0; right: 0; animation-delay: 1s; border: 2px solid var(--primary-color); }

@media (max-width: 768px) {
    .hero { padding: 13% 20px 20%; text-align: center; display: block; }
    .hero-container { flex-direction: column-reverse; }
    .hero-text { margin-top: 30px; max-width: 100%; }
    .hero-title { font-size: 7.5vw; text-align: center; margin-bottom: 10%;}
    .hero-desc { font-size: 4vw; margin-bottom: 10%;}
    .floating-badge { width: 80px; height: 80px; font-size: 3.2vw;}
    
    /* === 【修正】FV画像のスマホサイズ拡大 === */
    .hero-img-wrapper {
        width: 340px; /* 280pxから拡大 */
        height: 340px;
        max-width: 100%; /* はみ出し防止 */
        margin: 0 auto;
        box-shadow: 5px 5px 0px rgba(247, 196, 170, 0.3);
    }
}


/* =========================================
   Section 1: Problems
   ========================================= */
.problems { background-color: var(--bg-light); padding-top: 60px; }
.problem-list { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; }
.problem-item {
    background: var(--white); padding: 30px 20px;
    border-radius: var(--radius-lg); width: 280px; text-align: center;
    box-shadow: var(--shadow-card); transition: transform 0.3s;
}
.problem-item:hover { transform: translateY(-5px); }
.check-icon {
    width: 40px; height: 40px; background: #fff0ee; color: var(--primary-color);
    border-radius: 50%; line-height: 40px; font-size: 20px; font-weight: bold; margin: 0 auto 15px;
}
.problem-item p { margin: 0; font-weight: 700; color: #666; }
.problem-conclusion {
    text-align: center; background: var(--white);
    display: inline-block; padding: 20px 40px; border-radius: 50px;
    position: relative; left: 50%; transform: translateX(-50%);
    box-shadow: var(--shadow-card); border: 2px dashed var(--secondary-color);
}
.problem-conclusion strong { color: var(--primary-color); font-size: 22px; }

@media (max-width: 768px) {
    .problems {padding: 10% 0;}
    .problem-list { flex-direction: column; align-items: center; }
    .problem-item { width: 100%; display: flex; align-items: center; gap: 15px; text-align: left; }
    .check-icon { margin: 0; flex-shrink: 0; text-align: center;}
    .problem-conclusion { width: 100%; border-radius: 15px; padding: 20px; }
}


/* =========================================
   Section 2: Reasons
   ========================================= */
.reasons { background: #fff; padding-top: 40px; }
.reasons-grid { display: flex; gap: 30px; justify-content: center; }
.reason-card {
    flex: 1; max-width: 320px; background: #fff;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee;
    transition: all 0.4s ease;
}
.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(231, 139, 127, 0.15); border-color: var(--secondary-color);
}
.reason-img { position: relative; height: 180px; overflow: hidden; }
.reason-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.reason-card:hover .reason-img img { transform: scale(1.1); }
.reason-badge {
    position: absolute; top: 10px; right: 10px; background: var(--primary-color); color: #fff;
    width: 40px; height: 40px; border-radius: 50%; text-align: center; line-height: 40px; font-weight: 700; font-family: var(--font-en);
}
.reason-content { padding: 25px; text-align: center; }
.reason-content h4 { font-size: 18px; margin: 0 0 15px; color: var(--text-heading); }
.reason-content p { font-size: 14px; color: #666; text-align: left; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
    .reasons-grid { flex-direction: column; align-items: center; gap: 30px; }
    .reason-card { width: 100%; }
    .reasons { padding-top: 0;}
}


/* =========================================
   Section 3: Goal
   ========================================= */
.goal { background-color: var(--white); padding-bottom: 120px; }
.goal-wrapper { display: flex; align-items: center; gap: 60px; }

.goal-visual-area {
    flex: 1; position: relative; height: 400px;
    display: flex; justify-content: center; align-items: center;
}
.goal-img-box {
    position: absolute; width: 350px; height: 350px;
    border-radius: 20px; overflow: hidden; z-index: 0;
    box-shadow: 20px 20px 0 var(--bg-light);
}
.goal-img-box img { width: 100%; height: 100%; object-fit: cover; }

.anim-circle {
    position: absolute; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-weight: 700;
    color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.15); z-index: 2; font-size: 14px;
}
.circle-main {
    width: 120px; height: 120px; background: var(--primary-color);
    top: 30px; left: 30px; font-size: 18px; border: 3px solid #fff;
    animation: float 6s ease-in-out infinite;
}
.circle-sub1 {
    width: 90px; height: 90px; background: var(--secondary-color);
    bottom: 50px; left: 50px; border: 3px solid #fff;
    animation: float 5s ease-in-out infinite 1s;
}
.circle-sub2 {
    width: 80px; height: 80px; background: #fff;
    bottom: 80px; right: 20px; color: var(--primary-color);
    border: 2px solid var(--primary-color); animation: float 7s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.goal-content { flex: 1; }
.goal-lead { color: var(--primary-color); font-weight: 700; margin-bottom: 10px; }
.goal-main { font-size: 28px; margin-bottom: 30px; line-height: 1.6; }
.goal-list li {
    background: var(--bg-light); margin-bottom: 10px; padding: 15px 20px;
    border-radius: 0; color: #555; font-weight: 500;
    list-style: none; border-left: 5px solid var(--primary-color);
}

@media (max-width: 768px) {
    /* === 【修正】ゴールの被り解消 === */
    .goal-wrapper { 
        flex-direction: column-reverse; 
        gap: 170px; /* 余白を広げて被り防止 */
    }
    .goal-visual-area { width: 100%; height: 350px; }
    .goal-img-box { width: 90%; height: 280px; box-shadow: 10px 10px 0 var(--bg-light);}
    .goal-main { font-size: 5.5vw; }
    /* 円アニメーションの位置調整（はみ出し防止） */
    .circle-main { left: 10px; top: 10px; width: 100px; height: 100px; }
    .circle-sub1 { left: 20px; bottom: 20px; }
    .circle-sub2 { right: 0px; bottom: 50px; }
    .goal-lead { font-size: 4vw;}
}


/* =========================================
   Section 4: Curriculum
   ========================================= */
.curriculum { background-color: var(--white); }

/* === 【修正】カリキュラムの上部余白（スマホ用） === */
@media (max-width: 768px) {
    .curriculum {
        padding-top: 100px; /* 多めに確保 */
    }
}

.curriculum-container {
    display: flex; align-items: stretch; justify-content: center;
    gap: 0; max-width: 900px; margin: 0 auto;
}

.c-step-card {
    flex: 1;
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 0; text-align: center; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); overflow: hidden;
    transition: all 0.4s ease;
}
.c-step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(231, 139, 127, 0.2);
    border-color: var(--primary-color); z-index: 5;
}
.c-step-header {
    background: #f8f8f8; padding: 15px; border-bottom: 1px solid #eee; transition: 0.4s;
}
.c-step-card:hover .c-step-header { background: var(--primary-color); }
.c-step-label {
    font-family: var(--font-en); font-weight: 700; color: #aaa;
    letter-spacing: 0.05em; transition: 0.4s;
}
.c-step-card:hover .c-step-label { color: #fff; }
.c-step-body { padding: 20px; }
.c-step-body h4 { font-size: 18px; margin: 0 0 10px; color: var(--text-heading); }
.c-desc { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 15px; height: 42px; }
.c-tags { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.c-tags li { font-size: 11px; background: #eee; padding: 4px 10px; border-radius: 4px; color: #777; }
.c-connector { display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.arrow-right {
    width: 0; height: 0; border-top: 8px solid transparent;
    border-bottom: 8px solid transparent; border-left: 10px solid #ddd;
}

@media (max-width: 768px) {
    .curriculum-container { flex-direction: column; gap: 20px; align-items: center; }
    .c-step-card { width: 100%; max-width: 320px; }
    .c-step-card:hover { transform: scale(1.02); }
    .arrow-right { transform: rotate(90deg); }
    .c-desc { height: auto; }
}


/* =========================================
   Section 5: FAQ
   ========================================= */
.faq { background: var(--bg-light); padding-bottom: 120px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; margin-bottom: 15px; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.faq-question {
    width: 100%; text-align: left; background: #fff; border: none;
    padding: 20px 50px 20px 25px; font-size: 16px; font-weight: 700;
    color: var(--text-heading); cursor: pointer; position: relative;
    font-family: inherit; transition: 0.3s;
}
.faq-question::before {
    content: "Q"; color: var(--primary-color); margin-right: 10px; font-size: 18px; transition: 0.3s;
}
.faq-question::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-size: 24px; color: var(--secondary-color); font-weight: 400; transition: 0.3s;
}
.faq-question.active { background: var(--primary-light-bg); color: var(--primary-color); }
.faq-question.active::before { color: var(--primary-dark); }
.faq-question.active::after { content: "-"; color: var(--primary-color); }

.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff;
}
.faq-answer-inner {
    padding: 20px 25px; font-size: 15px; color: #333; line-height: 1.8; border-top: 1px solid #f0f0f0;
}


/* =========================================
   Contact Form
   ========================================= */
.contact {
    /* SVGと統一したグラデーション */
    background: linear-gradient(to right, #E78B7F 0%, #F7C4AA 100%);
    padding-bottom: 120px; padding-top: 20px;
    color: #fff; position: relative; z-index: 4;
}
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-title { font-size: 28px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 10px; line-height: 1.5;}
.contact-sub { color: rgba(255,255,255,0.95); line-height: 1.5;}

.form-wrapper {
    background: #fff; border-radius: 30px; padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); max-width: 600px; margin: 0 auto;
}
.form-title-area {
    text-align: center; margin-bottom: 30px; border-bottom: 2px solid #f0f0f0; padding-bottom: 20px;
}
.form-title-area h2 { margin: 0; color: var(--primary-color); }
.form-title-area p { margin: 5px 0 0; font-size: 12px; color: #aaa; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: #555; font-size: 14px; }
.required { background: var(--primary-color); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }
input, select {
    width: 100%; padding: 15px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; font-size: 16px; color: #333;
}
input:focus, select:focus { outline: none; border-color: var(--primary-color); background: #fff; }
.btn-submit {
    width: 100%; padding: 18px; background: var(--primary-color);
    color: #fff; border: none; border-radius: 50px;
    font-size: 18px; font-weight: 700; cursor: pointer;
    box-shadow: 0 10px 20px rgba(231, 139, 127, 0.4); transition: 0.3s;
}
.btn-submit:hover { background: #d67a6e; transform: translateY(-2px); }
@media (max-width: 768px) { 
    .form-wrapper { padding: 30px 20px; border-radius: 15px; } 
    .contact-title { margin-bottom: 7%; margin-top: 3%;}
    .form-title-area h2 {font-size: 6vw;}
    .form-submit {margin-top: 8%;}
    .contact { padding-bottom: 15%;}
}
.footer { background: #fff; text-align: center; padding: 30px 0; font-size: 12px; color: #aaa; }