/* Unin-inspired finish: white space, fine rules and quiet typography.
   Retain S-Photo's content, photos, conversion links and desktop hero layout. */
:root {
    --text-main: #292929;
    --text-muted: #565656;
    --border-color: #e5e5e5;
}

.header {
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #eee;
}

.header-nav a {
    font-weight: 400;
    letter-spacing: 0.04em;
}

section[id] {
    scroll-margin-top: 124px;
}

.problems,
.comparison,
.features,
.before-after,
.contents,
.faq,
.cta {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    letter-spacing: 0.03em;
}

.section-header {
    padding-top: 0;
    margin-bottom: 56px;
}

.section-header .bg-text {
    position: static;
    transform: none;
    margin-bottom: 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.16em;
    color: #666;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.section-title::after,
.feature-accent::after,
.hero-title-accent::after {
    display: none;
}

.problems,
.comparison,
.features,
.contents,
.cta {
    padding-top: 100px;
    padding-bottom: 100px;
}

.problem-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
}

.problem-list::before {
    display: none;
}

.problem-list li {
    font-weight: 400;
    line-height: 1.9;
}

.problem-list li::before {
    background: #fff;
    border-width: 1px;
}

.marker {
    background: none;
    font-weight: 700;
}

.problem-solution {
    margin-top: 32px;
}

.triangle-down {
    display: none;
}

.solution-sub {
    font-weight: 400;
    margin-bottom: 16px;
}

.solution-main {
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.solution-main span {
    font-size: 1em;
    margin: 0;
}

.problem-cta {
    margin-top: 36px;
}

.comp-table-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: none;
}

.comparison th,
.comparison td {
    font-weight: 400;
}

.comparison thead th,
.comparison .col-sphoto {
    font-weight: 700;
}

.comparison .sphoto-cell,
.comparison .col-sphoto {
    background: #f5f5f5;
}

.feature-row,
.flow-step {
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.feature-img,
.flow-img {
    border-radius: 2px;
    box-shadow: none;
}

.feature-point-title {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.feature-num,
.step-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: #666;
}

.feature-num::before {
    display: none;
}

.feature-desc p,
.flow-text p {
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    color: #444;
}

.step-label {
    background: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 18px;
}

.flow-text h3 {
    font-weight: 700;
    line-height: 1.65;
}

.ba-slide,
.ba-box,
.ba-after,
.ba-arrow {
    border-radius: 2px;
    box-shadow: none;
}

.ba-slide {
    border-color: #e5e5e5;
}

.ba-label,
.ba-copy-label {
    border-radius: 2px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    box-shadow: none;
}

.ba-text,
.ba-text strong {
    font-weight: 400;
    line-height: 1.9;
}

.swipe-hint {
    font-size: 12px;
    font-weight: 400;
    animation: none;
}

.faq {
    max-width: 840px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.faq-item {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    margin-bottom: 0;
}

.faq-q {
    padding: 28px 0 14px;
    font-weight: 700;
    line-height: 1.8;
}

.faq-a {
    padding: 0 0 28px;
    font-weight: 400;
    line-height: 2;
}

.faq-q::before,
.faq-a::before {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    flex: 0 0 22px;
    color: #666;
    line-height: inherit;
    margin-top: 0;
}

.cta {
    border-top: 1px solid #eee;
}

.cta-lead {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.cta-title {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.03em;
}

.price-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
}

.price-label {
    font-weight: 500;
}

.price-main,
.price-sub {
    font-weight: 400;
}

.cta-note {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.header-btn,
.btn-lrg {
    border-radius: 6px;
    box-shadow: none;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-lrg {
    padding: 22px 52px;
    font-size: 20px;
}

.btn-lrg::before {
    content: '';
    position: absolute;
    right: 24px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.btn-lrg .btn-sub {
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 6px;
    opacity: 1;
}

.header-btn:hover,
.btn-lrg:hover {
    box-shadow: none;
    background: #363636;
    transform: translateY(-1px);
}

/* The existing footer uses inline colours. Keep the white surface continuous. */
footer {
    background: #fff !important;
    border-top: 1px solid #e5e5e5;
    color: #666 !important;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}

footer a {
    color: #555 !important;
}

footer a:hover {
    color: #111 !important;
}

@media (min-width: 768px) {
    .feature-container {
        max-width: 1000px;
    }

    .feature-row {
        gap: 72px;
        margin-bottom: 120px;
    }

    .feature-img {
        aspect-ratio: 4 / 5;
    }

    .flow-wrap {
        gap: 88px;
    }
}

@media (max-width: 767px) {
    section[id] {
        scroll-margin-top: 104px;
    }

    .problems,
    .comparison,
    .features,
    .contents,
    .faq,
    .cta {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header .bg-text {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .section-title {
        font-size: 22px !important;
        line-height: 1.6;
    }

    .problem-list {
        padding: 28px 22px;
    }

    .problem-list li {
        font-size: 14px;
    }

    .feature-row {
        margin-bottom: 56px;
    }

    .feature-row:last-child {
        margin-bottom: 0;
    }

    .feature-content,
    .flow-text {
        padding: 28px 0 0;
    }

    .feature-point-title {
        font-size: 23px;
        line-height: 1.6;
    }

    .feature-desc p,
    .flow-text p {
        font-size: 14px;
    }

    .flow-wrap {
        gap: 52px;
    }

    .ba-label {
        top: 12px;
        left: 12px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .ba-text {
        font-size: 13px;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .btn-lrg,
    .problem-cta .btn-lrg {
        padding: 20px 40px;
        font-size: 18px;
    }

    .btn-lrg::before {
        right: 18px;
    }

    .btn-lrg .btn-sub,
    .problem-cta .btn-sub {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-btn:hover,
    .btn-lrg:hover {
        transform: none;
    }
}
