﻿/* =========================================
   Reset & Base Styles
========================================= */
:root {
    --color-primary: #00a0b0;
    --color-primary-dark: #008a98;
    --color-accent: #FFA900;
    --color-accent-hover: #E69800;
    --color-emphasis-red: #CC3333;
    --color-text-main: #333333;
    --color-text-heading: #000000;
    --color-bg-light: #f9f9f9;
    --color-bg-white: #ffffff;
    --color-border: #e0e0e0;

    --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

    --container-width: 1000px;
    --spacing-section: 80px;
    --spacing-md: 40px;
    --spacing-sm: 20px;

    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================
   Typography
========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-heading);
    font-weight: 700!important;
    line-height: 1.4;
    margin-top: 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}


/* =========================================
   Buttons
========================================= */
.btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 169, 0, 0.3);
    transition: var(--transition);
}

.btn-cta-large i {
    margin-left: 10px;
}

.btn-cta-large:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 169, 0, 0.4);
    color: #fff;
    opacity: 1;
}


/* =========================================
   Header
========================================= */
.header {
    position: sticky;
    top: 0;
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}


/* =========================================
   Sections
========================================= */
.section {
    padding: var(--spacing-section) 0;
}

.section-gray {
    background-color: var(--color-bg-light);
}


/* =========================================
   MV (Main Visual)
========================================= */
.mv {
    background: #ffffff;
    padding: 76px 0 56px;
    border-bottom: 1px solid var(--color-border);
}

.mv-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mv-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.45;
    margin-bottom: 24px;
    text-align: left;
    color: var(--color-text-heading);
}

.mv-visual {
    margin-bottom: 32px;
}

.mv-kv {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 160, 176, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
    display: block;
}

.mv-description-sub {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
}


/* =========================================
   MV Catchcopy
========================================= */
.mv-catchcopy {
    margin: 28px 0 24px;
    text-align: center;
    line-height: 1.4;
}

.mv-catch-main {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text-heading);
    margin: 0 0 6px;
}

.mv-catch-sub {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--color-text-heading);
    margin: 0;
}

.mv-catch-red {
    color: var(--color-emphasis-red);
}


/* =========================================
   Solution Section
========================================= */
.solution-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.solution-resolve {
    margin-top: 32px;
    background: linear-gradient(135deg, #e6f7f8 0%, #f0fbfc 100%);
    border-left: 5px solid var(--color-primary);
    padding: 20px 28px;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    font-weight: 500;
}

.solution-resolve p {
    margin: 0;
}


/* =========================================
   Benefits Section
========================================= */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background: var(--color-bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-right: 30px;
    opacity: 0.8;
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-text {
    margin: 0;
}


/* =========================================
   Features Section
========================================= */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    border-left: 5px solid var(--color-primary);
    padding: 20px 30px;
    background-color: var(--color-bg-light);
    border-radius: 0 8px 8px 0;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-title span {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 15px;
    font-weight: bold;
}

.feature-text {
    margin: 0;
}


/* =========================================
   Workflow Section
========================================= */
.workflow-image-container {
    margin: 0 auto 40px;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    margin: 0 auto;
}

.workflow-intro {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    overflow: hidden;
}

.step-label {
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px;
    font-weight: bold;
    width: 120px;
    text-align: center;
}

.step-content {
    padding: 20px;
    flex-grow: 1;
}

.box-highlight {
    background-color: #fffde6;
    border: 2px solid var(--color-accent);
    padding: 30px;
    border-radius: 8px;
}

.point-list {
    margin: 0;
    padding-left: 20px;
}

.point-list li {
    margin-bottom: 10px;
}

.point-list li:last-child {
    margin-bottom: 0;
}

.workflow-closing-copy {
    margin-top: 24px;
    font-size: 1rem;
    color: #555;
    text-align: center;
    font-style: italic;
}


/* =========================================
   Comparison Section
========================================= */
.comparison-image-container {
    margin: 0 auto 32px;
    text-align: center;
}

.comparison-lead {
    max-width: 800px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}

.comparison-emphasis {
    text-align: center;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.comparison-emphasis p {
    margin: 0;
    line-height: 1.8;
}


/* =========================================
   Positioning Section
========================================= */
.positioning-lead {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}

.positioning-image-container {
    margin: 0 auto 32px;
    text-align: center;
}

.positioning-notes {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.7;
}

.positioning-notes p {
    margin: 4px 0;
}


/* =========================================
   FAQ Section
========================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-q {
    padding: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background-color: #fcfcfc;
}

.faq-q span {
    color: var(--color-primary);
    margin-right: 15px;
    font-size: 1.3rem;
}

.faq-a {
    padding: 20px 20px 20px 55px;
    border-top: 1px solid #f0f0f0;
}

.faq-a p {
    margin: 0;
}


/* =========================================
   CTA Sections
========================================= */
.section-cta {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.cta-inner {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 3px solid var(--color-primary);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 160, 176, 0.08);
}

.cta-title {
    color: var(--color-primary);
    margin-bottom: 24px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-title::after {
    display: none;
}

.cta-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-main);
    text-align: left;
}

.cta-actions {
    margin-bottom: 0;
}

/* Middle CTA modifiers */
.section-cta--middle {
    padding: 40px 0;
}

.cta-inner--middle {
    padding: 30px;
    box-shadow: none;
}

.cta-title--middle {
    margin-bottom: 20px;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}


/* =========================================
   About SCSmart Section
========================================= */
.about-scsmart-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-scsmart-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}


/* =========================================
   Related Services Section
========================================= */
.related-services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list li {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 5px;
}


/* =========================================
   Footer
========================================= */
.footer {
    background-color: #222;
    color: #888;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer .copyright {
    margin: 0;
}


/* =========================================
   Page Navigation (Outline Banner)
========================================= */
.c-outline--banner {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.c-outline__link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
    line-height: 1.6;
}

.c-outline__link::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.c-outline__link:hover {
    opacity: 0.7;
    text-decoration: none;
}


/* =========================================
   Utilities
========================================= */
.u-only-pc {
    display: block;
}


/* =========================================
   Responsive Design
========================================= */
@media (max-width: 768px) {
    .u-only-pc {
        display: none;
    }

    .mv-title {
        font-size: 1.5rem;
    }

    .mv-catchcopy {
        text-align: left;
    }

    .benefit-item {
        flex-direction: column;
    }

    .benefit-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-label {
        width: 100%;
    }

    .cta-inner {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.35rem;
    }

    .c-outline__link {
        font-size: 0.9rem;
        padding: 4px 0;
    }
}

.sp-only {
    display: none;
}