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

:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --accent-color: #FF9800;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* ヘッダー */
.header {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo-en {
    font-size: 14px;
    font-weight: 500;
    display: block;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

.header-cta {
    padding: 10px 24px;
    font-size: 14px;
}

/* ファーストビュー */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-title-section {
    flex: 1;
    min-width: 300px;
    order: 1;
}

.hero-image-space {
    flex: 1;
    order: 2;
}

.hero-description-section {
    flex: 1;
    min-width: 300px;
    order: 3;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-feature-card {
    background: #F7F9FC;
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8EEF5;
    flex: 1;
    min-width: 140px;
    max-width: 160px;
    text-align: center;
    height: 140px;
}
.feature-icon {
    font-size: 24px;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.feature-text-box {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    white-space: normal;
}

.hero-image-space {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-space img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* 課題セクション */
.problems {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF3E0 0%, #FFE0B2 100%);
}

.problems-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.problems-content {
    flex: 1;
}

.problems-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #FF5722;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.problem-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.problem-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.6;
}

.problems-image {
    flex: 1;
    position: relative;
}

.problems-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* セクションタイトル */
.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    line-height: 1.4;
}

/* サービスの特徴 */
.experience {
    padding: 80px 0;
    background: white;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.experience-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.experience-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    transform: translateY(-5px);
}

.card-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-text-wrapper {
    text-align: left;
}

.card-text-bullet {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.card-text-bullet:last-child {
    margin-bottom: 0;
}

/* サービスの流れ */
.flow {
    padding: 80px 0;
    background: linear-gradient(180deg, #F5F5F5 0%, #EEEEEE 100%);
}

.flow-steps {
    margin-bottom: 60px;
}

.flow-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-carousel {
    display: none;
}

.step {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    flex-shrink: 0;
}

.step-icon {
    font-size: 40px;
    margin: 16px 0 0 0;
    text-align: center;
    order: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    width: 100%;
    order: 1;
}

.step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
    text-align: left;
}

.step-desc {
    font-size: 13px;
    color: var(--text-light);
    margin: 12px 0 0 0;
    order: 3;
    text-align: center;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

/* オプション機能セクション */
.flow-optional {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed var(--border-color);
}

.optional-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
}

.optional-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.optional-content {
    text-align: left;
}

.optional-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.optional-desc {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
}

.faq-question {
    padding: 20px;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #EEEEEE;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 20px;
    background: white;
    display: none;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-logo h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

    .footer-bottom {
        text-align: center;
        padding: 15px 0 0 0;
        font-size: 12px;
        color: rgba(255,255,255,0.5);
        border-top: 0 !important;
    border: none !important;
    box-shadow: none !important;
    }

/* Sticky CTA Button */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.sticky-cta .cta-button {
    padding: 12px 28px;
    font-size: 14px;
}

/* Manusバッジ非表示 */
#manus-badge, .manus-badge, [class*="manus-badge"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

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

    .problems-wrapper {
        gap: 40px;
    }

    .flow-desktop {
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 18px;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        flex-wrap: nowrap;
    }

    .hero-title-section {
        flex: 1 1 auto;
        min-width: auto;
        order: 1;
    }

    .hero-image-space {
        flex: 0 1 100% !important;
        height: 300px;
        order: 2;
        margin: 20px 0;
    }

    .hero-description-section {
        flex: 1 1 auto;
        min-width: auto;
        order: 3;
    }

    .hero-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-image-space {
        height: 300px;
        width: 100%;
        order: 2;
        margin-top: 20px;
    }

    .hero-text {
        order: 1;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-card {
        padding: 30px 20px;
    }

    .card-number {
        font-size: 16px;
    }

    .card-text-bullet {
        font-size: 14px;
    }

    .problems {
        padding: 60px 0;
    }

    .problems-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .problems-list {
        gap: 16px;
    }

    .problem-item {
        padding: 20px;
        gap: 15px;
    }

    .problem-icon {
        font-size: 28px;
    }

    .problem-text {
        font-size: 16px;
    }

    .problems-image img {
        max-width: 100%;
    }

    .flow {
        padding: 60px 0;
    }

    .flow-desktop {
        display: none;
    }

    .flow-carousel {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        scroll-snap-align: start;
        padding-right: calc(50vw - 100px);
    }

    .flow-carousel .step {
        flex: 0 0 calc(100% - 15px);
        scroll-snap-align: start;
    }

    .flow-carousel .step-arrow {
        display: none;
    }

    .optional-feature {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

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

    .optional-icon {
        font-size: 40px;
    }

    .optional-title {
        font-size: 14px;
    }

    .optional-desc {
        font-size: 16px;
    }

    .faq {
        padding: 60px 0;
    }

    .faq-question h3 {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-logo h2 {
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }

    .sticky-cta {
        display: block;
    }

    .sticky-cta .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-features {
        gap: 12px;
    }

    .feature-text {
        font-size: 14px;
    }

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

    .problem-text {
        font-size: 14px;
    }

    .card-number {
        font-size: 14px;
    }

    .card-text-bullet {
        font-size: 13px;
    }

    .faq-question h3 {
        font-size: 13px;
    }
}

/* タブレット用（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content {
        gap: 40px;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-image-space {
        flex: 0 1 100%;
        height: 350px;
        order: 2;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .experience-card {
        padding: 32px 24px;
    }

    .problems-wrapper {
        gap: 40px;
        flex-direction: column;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-feature-card {
        flex: 0 1 calc(33.333% - 8px);
        max-width: none;
    }
}
