/* ===========================================
   SphereAuto Landing Page Styles
   =========================================== */

/* Common */
.sphereauto-page {
    padding-top: 70px;
}

.sa-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ts-text);
    position: relative;
}

.sa-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ts-primary), var(--ts-secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===========================================
   Problem Section
   =========================================== */
.sa-problem {
    padding: 80px 20px;
    background: var(--ts-bg-white);
}

.sa-problem__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.sa-problem__item {
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sa-problem__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sa-problem__item i {
    font-size: 3rem;
    color: var(--ts-text-muted);
    margin-bottom: 1rem;
}

.sa-problem__item p {
    color: var(--ts-text);
    font-size: 1rem;
    line-height: 1.6;
}

.sa-problem__item strong {
    color: var(--ts-text);
    font-weight: 700;
}

/* ===========================================
   Strengths Section
   =========================================== */
.sa-strengths {
    padding: 80px 20px;
    background: var(--ts-bg-light);
}

.sa-strengths__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sa-strengths__item {
    position: relative;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.sa-strengths__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(91, 191, 222, 0.3);
}

.sa-strengths__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ts-bg-light);
    border-radius: 50%;
    color: var(--ts-primary);
    font-size: 2.5rem;
}

.sa-strengths__item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 0.5rem;
}

.sa-strengths__item > p {
    color: var(--ts-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sa-strengths__detail {
    color: var(--ts-text-light);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ===========================================
   Use Cases Section
   =========================================== */
.sa-usecases {
    padding: 80px 20px;
    background: var(--ts-bg-white);
}

.sa-usecase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sa-usecase:last-child {
    margin-bottom: 0;
}

.sa-usecase__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-usecase__image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sa-usecase__content {
    flex: 1;
}

.sa-usecase__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--ts-bg-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ts-primary);
    margin-bottom: 1rem;
}

.sa-usecase__label i {
    font-size: 1rem;
}

.sa-usecase__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 1rem;
}

.sa-usecase__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ts-text);
    margin-bottom: 1.5rem;
}

.sa-usecase__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sa-usecase__features li {
    padding: 0.5rem 0;
    color: var(--ts-text);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sa-usecase__features li i {
    color: var(--ts-secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===========================================
   Deployment Section
   =========================================== */
.sa-deployment {
    padding: 80px 20px;
    background: var(--ts-bg-light);
}

.sa-deployment__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.sa-deployment__item {
    position: relative;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.sa-deployment__item--highlight {
    border: 3px solid var(--ts-accent);
}

.sa-deployment__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--ts-accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.sa-deployment__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
}

.sa-deployment__item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 0.5rem;
}

.sa-deployment__label {
    color: var(--ts-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.sa-deployment__desc {
    color: var(--ts-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sa-deployment__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sa-deployment__features li {
    padding: 0.5rem 0;
    color: var(--ts-text);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.sa-deployment__features li i {
    color: var(--ts-secondary);
}

/* ===========================================
   Languages Section
   =========================================== */
.sa-languages {
    padding: 80px 20px;
    background: var(--ts-bg-white);
}

.sa-languages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.sa-languages__item {
    padding: 2rem 1rem;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sa-languages__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sa-languages__item i {
    font-size: 2.5rem;
    color: var(--ts-primary);
    margin-bottom: 1rem;
}

.sa-languages__item span {
    display: block;
    font-weight: 600;
    color: var(--ts-text);
}

.sa-languages__item--more {
    background: var(--ts-bg-light);
}

.sa-languages__item--more i {
    color: var(--ts-secondary);
}

.sa-languages__note {
    text-align: center;
    color: var(--ts-text-light);
    font-size: 0.9375rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================================
   CTA Section
   =========================================== */
.sa-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    text-align: center;
}

.sa-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.sa-cta__text {
    font-size: 1.125rem;
    color: white;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sa-cta__contact {
    margin-bottom: 2.5rem;
}

.sa-cta__email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.sa-cta__email i {
    font-size: 1.25rem;
}

.sa-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.sa-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
    justify-content: center;
}

.sa-cta__btn--primary {
    background: white;
    color: var(--ts-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sa-cta__btn--primary:hover {
    background: var(--ts-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.sa-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.sa-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media screen and (min-width: 768px) {

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

    .sa-strengths__grid {
        grid-template-columns: 1fr;
    }

    .sa-usecase {
        flex-direction: row;
        align-items: center;
    }

    .sa-usecase--reverse {
        flex-direction: row-reverse;
    }

    .sa-deployment__grid {
        grid-template-columns: 1fr 1fr;
    }

    .sa-cta__buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {

    .sa-problem__grid {
        gap: 1.5rem;
    }

    .sa-strengths__item {
        padding: 3rem 1.5rem 2rem;
    }

    .sa-usecase {
        padding: 25px;
        gap: 2rem;
        margin-bottom: 40px;
    }

    .sa-usecase__title {
        font-size: 1.5rem;
    }

    .sa-cta__title {
        font-size: 1.5rem;
    }

    .sa-cta__text {
        font-size: 1rem;
    }
}

/* ===========================================
   Hero Section (SphereAuto)
   =========================================== */
.sa-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem 3rem;
    background: linear-gradient(135deg, #e8f6fc 0%, #f3faea 100%);
    overflow: hidden;
}

.sa-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--ts-text);
    max-width: 560px;
}

.sa-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: 50px;
    background: #fff4e0;
    color: #8a4b00;
    border: 1px solid #f7c46c;
    font-size: 0.9375rem;
    font-weight: 700;
}

.sa-hero__label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #155e75;
    margin-bottom: 0.75rem;
}

.sa-hero__title {
    margin: 0 auto 1rem;
    max-width: 420px;
}

.sa-hero__title img {
    display: block;
    width: 100%;
    height: auto;
}

.sa-hero__lead {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1f2937;
    margin-bottom: 1rem;
}

.sa-hero__description {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 2rem;
}

.sa-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.sa-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sa-hero__cta--primary {
    background: linear-gradient(120deg, #187693, #3f6c1a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(24, 118, 147, 0.35);
}

.sa-hero__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(47, 147, 184, 0.45);
}

.sa-hero__cta--secondary {
    background: #fff;
    color: #1d6f8f;
    border: 2px solid #2f93b8;
}

.sa-hero__cta--secondary:hover {
    background: #eaf7fc;
}

.sa-hero__image {
    width: 100%;
    max-width: 600px;
}

.sa-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(31, 41, 55, 0.12);
    background: #fff;
}

.sa-notice {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
}

/* ===========================================
   How it works (steps)
   =========================================== */
.sa-flow {
    padding: 80px 20px 40px;
    background: var(--ts-bg-white);
}

.sa-arch {
    padding: 70px 20px;
    background: linear-gradient(180deg, #f6fbfd 0%, #fff 100%);
}

.sa-arch__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sa-arch__item {
    background: #fff;
    border: 1px solid #dbeaf1;
    border-top: 5px solid var(--ts-primary);
    border-radius: 14px;
    padding: 1.75rem;
}

.sa-arch__item:nth-child(2) { border-top-color: var(--ts-secondary); }
.sa-arch__item:nth-child(3) { border-top-color: var(--ts-accent); }

.sa-arch__item i {
    font-size: 1.75rem;
    color: #2b7f9e;
    margin-bottom: 0.75rem;
}

.sa-arch__item h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.sa-arch__item p {
    font-size: 0.9688rem;
    line-height: 1.8;
    color: #4b5563;
}

/* ===========================================
   Roadmap / development status
   =========================================== */
.sa-roadmap {
    padding: 80px 20px;
    background: #f9fafb;
}

.sa-roadmap__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sa-roadmap__item {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem;
}

.sa-roadmap__item--now {
    border: 2px solid var(--ts-secondary);
    box-shadow: 0 6px 24px rgba(141, 198, 63, 0.2);
}

.sa-roadmap__phase {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #2b7f9e;
    margin-bottom: 0.5rem;
}

.sa-roadmap__badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.7rem;
    border-radius: 50px;
    background: #e7f4d6;
    color: #3f6c1a;
    font-size: 0.8125rem;
    font-weight: 700;
}

.sa-roadmap__item h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.sa-roadmap__item p {
    font-size: 0.9688rem;
    line-height: 1.8;
    color: #4b5563;
}

/* ===========================================
   FAQ
   =========================================== */
.sa-faq {
    padding: 80px 20px;
    background: var(--ts-bg-white);
}

.sa-faq__list {
    max-width: 860px;
    margin: 0 auto;
}

.sa-faq__item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #fff;
}

.sa-faq__item summary {
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #1f2937;
    list-style-position: inside;
}

.sa-faq__item summary:focus-visible {
    outline: 3px solid #2f93b8;
    outline-offset: 2px;
}

.sa-faq__answer {
    padding: 0 1.4rem 1.3rem;
    font-size: 1rem;
    line-height: 1.9;
    color: #374151;
}

@media screen and (min-width: 768px) {
    .sa-hero {
        flex-direction: row;
        justify-content: space-between;
        padding: 4rem;
    }

    .sa-hero__content {
        max-width: 520px;
        text-align: left;
    }

    .sa-hero__title {
        margin-left: 0;
    }

    .sa-hero__buttons {
        justify-content: flex-start;
    }

    .sa-hero__image {
        flex: 1;
    }

    .sa-arch__grid,
    .sa-roadmap__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .sa-hero__lead {
        font-size: 1.25rem;
    }

    .sa-hero__cta {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================================
   コントラスト・禁則の調整（QAゲート。#5BBFDE は白地で 2.1:1 のため文字には使わない）
   =========================================== */
.sphereauto-page { line-break: strict; }
.sphereauto-page .site-breadcrumb a,
.sphereauto-page .sa-strengths__item > p,
.sphereauto-page .sa-usecase__label,
.sphereauto-page .sa-deployment__label { color: #187693; }
.sphereauto-page .sa-deployment__badge { background: #b45309; color: #fff; }
.sphereauto-page .sa-cta { background: linear-gradient(135deg, #187693 0%, #3f6c1a 100%); }
.sphereauto-page .sa-cta__btn--primary { color: #187693; }

.sphereauto-page .sa-strengths__number { background: linear-gradient(135deg, #187693 0%, #3f6c1a 100%); }
.sphereauto-page .sa-cta__btn--secondary { border-color: transparent; background: rgba(0, 0, 0, 0.28); }
.sphereauto-page .sa-notice a { color: #187693; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-width: 767px) {
    .sphereauto-page .container { width: 100%; }
    .sphereauto-page .sa-section-title {
        font-size: 1.5rem;
        line-height: 1.5;
        word-break: auto-phrase;
        text-wrap: balance;
    }
}
.sphereauto-page h3 { word-break: auto-phrase; text-wrap: balance; }
