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

body {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'ヒラギノ明朝 Pro', 'MS PMincho', 'MS 明朝', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #f8f9fa;
}

/* セクション共通 */
.section {
    padding: 50px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #1c1669;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.section-subtitle {
    font-size: 18px;
    color: #fe891f;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* モバイル時の改行制御 */
@media (max-width: 480px) {
    .mobile-break::before {
        content: "\A";
        white-space: pre;
    }
}

/* ヒーローセクション - 白背景 */
.hero {
    background: #ffffff;
    padding: 60px 0px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-catchcopy {
    font-size: 32px;
    font-weight: bold;
    color: #1c1669;
    margin-bottom: 20px;
    line-height: 1.3;
}

.sub-catchcopy {
    font-size: 20px;
    color: #fe891f;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* 悩みセクション - ライトグレー背景 */
.problems {
    background: #f8f9fa;
}

.problems-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    flex-direction: column;
}

.mother-image-section {
    text-align: center;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mother-image-placeholder {
    width: 250px;
    height: 300px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mother-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.problems-list {
    display: grid;
    gap: 20px;
    flex: 1;
}

.problem-item {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 20px;
    border: 2px solid #fe891f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    margin-left: 20px;
}

.problem-item::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid #fe891f;
}

.problem-item::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #ffffff;
}

.problem-text {
    color: #2c2c2c;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* モバイル用の吹き出し（上向き） */
@media (max-width: 767px) {
    .problem-item {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .problem-item::before {
        left: 20px;
        top: -12px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 12px solid #fe891f;
        border-top: none;
    }
    
    .problem-item::after {
        left: 22px;
        top: -10px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 10px solid #ffffff;
        border-top: none;
    }
}

/* 解決提案セクション - 白背景 */
.solution {
    background: #ffffff;
    color: #2c2c2c;
    text-align: center;
}

.solution .section-title {
    color: #1c1669;
}

/* 4つの強み - ライトグレー背景 */
.strengths {
    background: #f8f9fa;
}

.strengths-grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

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

.strength-number {
    background: #fe891f;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.strength-title {
    font-size: 20px;
    font-weight: bold;
    color: #1c1669;
    margin-bottom: 10px;
}

.strength-subtitle {
    font-size: 16px;
    color: #fe891f;
    margin-bottom: 15px;
    font-weight: 600;
}

.strength-description {
    color: #2c2c2c;
    line-height: 1.7;
}

.strength-image-placeholder {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.strength-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* CTA共通スタイル */
.cta-section {
    background: #ffffff;
    max-width: 700px;
    width: calc(100% - 40px);
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(28, 22, 105, 0.15);
    border: 2px solid #e9ecef;
    margin: 40px auto;
    position: relative;
}

.cta-header {
    margin-bottom: 30px;
}

.cta-title {
    font-size: 28px;
    font-weight: bold;
    color: #1c1669;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.cta-subtitle {
    font-size: 18px;
    color: #fe891f;
    font-weight: bold;
    margin: 0 0 25px 0;
}

.cta-description {
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    background: #fe891f;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    padding: 20px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(254, 137, 31, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
}

.cta-button:hover {
    background: #ff9533;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(254, 137, 31, 0.4);
}

.sub-cta-text {
    margin-top: 15px;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sub-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #1c1669;
    font-weight: 600;
}

.sub-item::before {
    content: "✓";
    color: #fe891f;
    font-weight: bold;
    margin-right: 6px;
    font-size: 14px;
}

.motivation-text {
    margin-top: 25px;
    font-size: 16px;
    color: #1c1669;
    font-weight: 600;
    line-height: 1.6;
}

/* 歴史と信頼 - 白背景 */
.history {
    background: #ffffff;
}

.history .container {
    max-width: 900px;
}

.history-message {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #2c2c2c;
}

.director-message {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.director-info {
    text-align: center;
    margin-bottom: 30px;
}

.director-image-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.director-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.director-name {
    font-size: 18px;
    font-weight: bold;
    color: #1c1669;
}

.director-text {
    line-height: 1.8;
    color: #2c2c2c;
    background: #e9ecef;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

/* 保護者の声 - ライトグレー背景 */
.reviews {
    background: #f8f9fa;
}

.reviews .container {
    max-width: 800px;
}

.review-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #fe891f;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    color: #1c1669;
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-author {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.review-image-placeholder {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 授業料 - 白背景 */
.pricing {
    background: #ffffff;
}

.pricing .container {
    max-width: 800px;
}

.price-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(254, 137, 31, 0.3);
    margin-bottom: 40px;
    border: 3px solid #fe891f;
    position: relative;
}

.price-box::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #fe891f, #ff9533);
    border-radius: 20px;
    z-index: -1;
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: #fe891f;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(254, 137, 31, 0.3);
}

.price-frequency {
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
}

.included-services {
    margin-top: 40px;
}

.service-grid {
    display: grid;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(28, 22, 105, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid #fe891f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(28, 22, 105, 0.12);
}

.service-icon {
    font-size: 16px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fe891f, #ff9533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-weight: bold;
}

.service-text {
    color: #2c2c2c;
    line-height: 1.6;
}

.service-text strong {
    color: #1c1669;
    font-size: 16px;
}

/* FAQ - ライトグレー背景 */
.faq {
    background: #f8f9fa;
}

.faq .container {
    max-width: 800px !important;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    background: #1c1669;
    color: #ffffff;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #2a1f7a;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    color: #2c2c2c;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* 教室案内 - 白背景 */
.classroom-info {
    background: #ffffff;
    text-align: center;
}

.info-grid {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-label {
    font-weight: bold;
    color: #1c1669;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-content {
    color: #2c2c2c;
    font-size: 14px;
    line-height: 1.5;
}

.classroom-images {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.classroom-image-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.classroom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.map-container {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.google-map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* 申し込みフォーム - ライトグレー背景 */
.contact-form {
    background: #f8f9fa;
}

.form-message {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    gap: 5px;
}

.form-label {
    font-weight: bold;
    color: #1c1669;
}

.form-input, .form-textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #fe891f;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #1c1669;
    color: #ffffff;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px auto 0;
    display: block;
}

.submit-button:hover {
    background: #2a1f7a;
    transform: translateY(-2px);
}

.contact-info-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .main-catchcopy {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-image-placeholder {
        height: 400px;
        max-width: 800px;
    }

    .problems-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .mother-image-section {
        width: auto;
        flex-shrink: 0;
    }

    .problems-list {
        grid-template-columns: repeat(2, 1fr);
        flex: 1;
        width: auto;
    }

    .mother-image-placeholder {
        width: 200px;
        height: 250px;
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group.full-width {
        grid-column: span 2;
    }

    .classroom-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problems-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* モバイル専用調整 */
@media (max-width: 480px) {
    .section {
        padding: 40px 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .problems-container {
        align-items: center;
    }
    
    .mother-image-section {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .cta-section {
        width: calc(100% - 25px);
        padding: 30px 20px;
        margin: 30px auto;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 18px 25px;
        max-width: 280px;
    }
    
    .main-catchcopy {
        font-size: 28px;
    }
    
    .hero-image-placeholder {
        max-width: 100vw;
        width: 100vw;
        margin: 20px 0 40px 0;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .director-text {
        padding: 20px 15px;
    }
    
    .director-message {
        padding: 40px 20px;
    }
}
