@charset "UTF-8";

:root {
    --primary: #bf0000;
    --accent: #3cb371;
    --light-gray: #f4f5fb;
    --surface: #ffffff;
    --border-soft: rgba(15, 23, 42, 0.08);
    --border-subtle: rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 32px 64px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.05);
    --text-dark: #333333;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #fef7f7 0%, var(--light-gray) 55%, #f2f4fa 100%);
    color: var(--text-dark);
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Noto Sans JP",
        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    line-height: 1.6;
}

.wireframe {
    max-width: 1200px;
    margin: 100px auto;
    background: var(--surface);
    padding: 56px 56px 72px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
}

.content a {
    color: #fff;
}

h1,
h2,
h3 {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Noto Sans JP",
        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: bold !important;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 48px 48px 56px;
    border-radius: 32px;
    background: linear-gradient(135deg,
            rgba(191, 0, 0, 0.08),
            rgba(191, 0, 0, 0)),
        #ffffff;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    border: none;
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.cta-button+.cta-button {
    margin-left: 12px;
}

.cta-button--primary {
    background: var(--primary);
    color: #ffffff;
}

.cta-button--ghost {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(60, 179, 113, 0.24);
}

.cta-button--stacked {
    width: 100%;
    margin-left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-button--ghost:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-copy .copy-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-subtitle {
    margin: 0;
    font-size: 22px;
    line-height: 1.5;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-copy h1 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 38px;
}

.hero-headline-main {
    font-size: 38px;
}

.hero-headline-emphasis {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: block;
    text-align: center;
}

.hero-headline-tail {
    font-size: 32px;
    text-align: right;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero-copy p {
    margin: 0;
    font-size: 16px;
    color: #555555;
}

.service-overview {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(191, 0, 0, 0.14);
    background: #ffffff;
}

.service-overview::before,
.service-overview::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.service-overview::before {
    width: 380px;
    height: 380px;
    top: -160px;
    right: -140px;
    background: rgba(255, 214, 227, 0.45);
    border-radius: 46% 54% 60% 40%;
    transform: rotate(12deg);
}

.service-overview::after {
    width: 280px;
    height: 280px;
    bottom: -120px;
    left: -110px;
    background: rgba(214, 238, 255, 0.5);
    border-radius: 52% 48% 42% 58%;
    transform: rotate(-8deg);
}

.service-overview>* {
    position: relative;
    z-index: 1;
}

.service-overview-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 28px;
    align-items: center;
    position: relative;
}

.service-overview-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.service-overview-summary {
    margin: 0 0 20px;
    padding: 18px 22px;
    background: rgba(214, 238, 255, 0.35);
    border-radius: 20px;
    font-size: 15px;
    color: #505766;
    line-height: 1.7;
}

.service-overview-header .section-subtitle {
    margin: 0;
    font-size: 15px;
    color: #616779;
}

.service-overview-header::before,
.service-overview-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.service-overview-header::before {
    top: -32px;
    left: -36px;
    width: 140px;
    height: 140px;
    background: rgba(255, 241, 223, 0.5);
    border-radius: 42% 58% 52% 48%;
    transform: rotate(-10deg);
}

.service-overview-header::after {
    bottom: -28px;
    right: 20%;
    width: 82px;
    height: 82px;
    background: rgba(214, 238, 255, 0.6);
    border-radius: 50%;
    opacity: 0.75;
}

.service-overview-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(191, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(191, 0, 0, 0.12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    width: fit-content;
}

.service-overview-accent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(191, 0, 0, 0.25);
}

.service-overview-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.service-overview-visual img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.service-overview-visual::before {
    content: "";
    position: absolute;
    inset: 10% 8% 14% 8%;
    background: rgba(255, 241, 223, 0.65);
    border-radius: 32px 36px 28px 40px;
    transform: rotate(-4deg);
    z-index: 0;
}

.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-overview-card {
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 24px 28px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-overview-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary);
}

.service-overview-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #424b5a;
}

.service-overview-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.service-overview-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(191, 0, 0, 0.9), rgba(252, 190, 92, 0.9));
    flex-shrink: 0;
}

.service-overview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #616779;
}

.service-overview-meta span {
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(191, 0, 0, 0.08);
}

.service-overview-divider {
    height: 1px;
    width: 100%;
    background: rgba(191, 0, 0, 0.16);
    margin: 12px 0 24px;
}

.cta-stack {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 16px auto 0;
    justify-content: center;
}

.hero-visual {
    margin: -48px -48px -56px 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateY(-2px);
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    align-self: center;
    border-radius: 12px;
    background: linear-gradient(135deg,
            rgba(252, 215, 123, 0.95),
            rgba(248, 184, 66, 0.95));
    color: #7a5305;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 6px 16px rgba(248, 184, 66, 0.3);
}

.hero-lead {
    font-size: 18px;
    color: #444444;
    line-height: 1.55;
}

.hero-notice {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(191, 0, 0, 0.08);
    color: var(--primary);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.hero-notice::before {
    content: "⚠️";
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-mark {
    background: linear-gradient(transparent 60%, rgba(252, 215, 123, 0.9) 60%);
    padding: 0 4px;
}

.trust-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 0 32px;
}

.trust-title-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trust-heading-text {
    flex: 1 1 60%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trust-heading .section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.trust-heading-link {
    font-size: 12px;
    color: rgba(191, 0, 0, 0.8);
    text-decoration: none;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trust-heading-link::after {
    content: "↗";
    font-size: 10px;
}

.trust-heading-link:hover {
    text-decoration: underline;
}

.trust-heading-visual {
    flex: 0 0 auto;
}

.trust-heading-visual img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 32px 24px;
    border-radius: 24px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 18px;
    padding: 20px 22px;
    background: linear-gradient(180deg, rgba(191, 0, 0, 0.06) 0%, #ffffff 65%);
    color: var(--primary);
    border: 1px solid rgba(191, 0, 0, 0.16);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trust-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.trust-text p {
    margin: 0;
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

.trust-section .section-title {
    text-align: left;
    margin: 0;
}

.trust-section .section-subtitle {
    text-align: left;
    color: #616779;
    margin: 6px 0 0;
}

.section {
    border: 1px solid var(--border-subtle);
    background: var(--surface);
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.trust-section {
    gap: 0px;
}

.section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.section-subtitle {
    margin: -12px 0 0;
    font-size: 16px;
    color: #616779;
}

.section-lead {
    margin: -8px 0 8px;
    font-size: 15px;
    color: #4a5363;
    line-height: 1.8;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    border-radius: 22px;
    padding: 24px 26px;
    background: linear-gradient(155deg, rgba(245, 247, 255, 0.96), rgba(235, 240, 250, 0.9));
    border: 1px solid rgba(150, 162, 185, 0.18);
    box-shadow: 0 18px 34px rgba(67, 76, 96, 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-icon {
    width: 66%;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
    filter: invert(60%) sepia(39%) saturate(534%) hue-rotate(13deg) brightness(104%) contrast(97%);
}

.benefit-card strong {
    font-size: 17px;
    color: #2f3a4b;
}

.benefit-card p {
    margin: 0;
    font-size: 14px;
    color: #586072;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.portfolio-card {
    border-radius: 26px;
    border: 1px solid rgba(150, 162, 185, 0.2);
    background: linear-gradient(155deg, rgba(245, 247, 255, 0.92), rgba(235, 240, 250, 0.96));
    box-shadow: 0 18px 34px rgba(67, 76, 96, 0.12);
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.portfolio-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.portfolio-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(191, 0, 0, 0.08);
    color: rgba(191, 0, 0, 0.85);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.portfolio-card-title {
    margin: 0;
    font-size: 18px;
    color: #2f3a4b;
}

.portfolio-description {
    margin: 0;
    font-size: 14px;
    color: #586072;
    line-height: 1.7;
}

.portfolio-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portfolio-thumb {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(150, 162, 185, 0.28);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    cursor: zoom-in;
    height: 600px;
}

.portfolio-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.portfolio-thumb span {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #2f3a4b;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(37, 40, 52, 0.25);
}

.portfolio-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(67, 76, 96, 0.2);
}

.portfolio-thumb:focus-visible {
    outline: 3px solid rgba(191, 0, 0, 0.45);
    outline-offset: 4px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(150, 162, 185, 0.25);
    border-radius: 28px;
    padding: 28px 32px;
    background: linear-gradient(155deg, rgba(245, 247, 255, 0.9), rgba(235, 240, 250, 0.95));
    box-shadow: 0 18px 34px rgba(67, 76, 96, 0.12);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(150, 162, 185, 0.2);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgba(191, 0, 0, 0.6), rgba(255, 196, 64, 0.6));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 22px;
    text-align: left;
    font-size: 15px;
    color: #2f3a4b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: "";
}

.faq-question span {
    margin-right: 12px;
    flex: 1;
}

.faq-question i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(150, 162, 185, 0.4);
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #2f3a4b;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-question i::before {
    content: "＋";
}

.faq-answer {
    padding: 0 22px 18px 22px;
    font-size: 14px;
    color: #586072;
    line-height: 1.7;
    display: none;
    border-top: 1px dashed rgba(150, 162, 185, 0.3);
    margin-top: -6px;
}

.faq-item[open] {
    border-color: rgba(191, 0, 0, 0.28);
    box-shadow: 0 18px 36px rgba(191, 0, 0, 0.12);
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-item[open] .faq-question {
    color: var(--primary);
}

.faq-item[open] .faq-question i {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    transform: rotate(180deg);
}

.faq-item[open] .faq-question i::before {
    content: "－";
}

.faq-item[open] .faq-answer {
    display: block;
    animation: faqFade 0.25s ease;
}

@keyframes faqFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 248, 229, 0.9), rgba(255, 255, 255, 0.95));
    border-radius: 22px;
    padding: 24px 26px 26px;
    border: 1px solid rgba(212, 172, 55, 0.3);
    box-shadow: 0 18px 34px rgba(212, 172, 55, 0.16);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -18px;
    left: 20px;
    font-size: 46px;
    color: rgba(212, 172, 55, 0.4);
    font-family: "Times New Roman", serif;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.8;
    color: #33353d;
    margin: 0;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-meta img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta strong {
    display: block;
    font-size: 15px;
    color: #2f3a4b;
}

.testimonial-meta span {
    font-size: 13px;
    color: #606a7c;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 12px;
}

.problem-list li {
    border: none;
    background: transparent;
    padding: 0;
}

.problem-card {
    height: 100%;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.problem-headline {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    line-height: 1.5;
}

.problem-description {
    margin: 0;
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
}

.problem-arrow {
    margin: 28px auto 12px;
    font-size: 24px;
    line-height: 1;
    color: #4a3f39;
    text-align: center;
}

.problem-section {
    background: #f4efe5;
    border: 1px solid rgba(67, 62, 60, 0.12);
    box-shadow: 0 18px 36px rgba(67, 62, 60, 0.08);
}

.problem-section .section-title {
    color: #4a3f39;
    text-align: center;
    margin-bottom: 8px;
}

.problem-section .problem-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 236, 0.96) 100%);
    border: 1px solid rgba(67, 62, 60, 0.12);
    box-shadow: none;
    border-radius: 18px;
}

.problem-section .problem-headline {
    color: #4a3f39;
}

.problem-section .problem-description {
    color: #5f5954;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.flow-visual {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

.flow-visual img {
    max-width: 45%;
    height: auto;
}

.flow-track {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.flow-track h3 {
    margin: 0;
    font-size: 18px;
    color: #2f3a4b;
}

.flow-track--featured h3 {
    color: #7b5500;
}

.flow-track-steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.flow-step-block {
    background: rgba(245, 247, 255, 0.96);
    border: 1px solid rgba(150, 162, 185, 0.2);
    border-radius: 20px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    min-height: 90px;
}

.flow-step-block::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #d6dbe8;
    color: #2f3a4b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.flow-step-block strong {
    font-size: 15px;
    color: #2f3a4b;
}

.flow-step-block p {
    margin: 0;
    font-size: 12px;
    color: #586072;
}

.flow-track--featured .flow-step-block {
    background: linear-gradient(155deg, rgba(255, 248, 229, 0.9), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(212, 172, 55, 0.3);
}

.flow-track--featured .flow-step-block::before {
    background: #eddba2;
    color: #7b5500;
}

.flow-track--featured .flow-step-block strong {
    color: #7b5500;
}

.flow-track--featured .flow-step-block p {
    color: #735500;
}

.flow-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(89, 99, 121, 0.5);
    flex: 0 0 auto;
    align-self: center;
}

.flow-arrow::after {
    content: "↓";
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.feature-card {
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 20px 24px;
    background: var(--surface);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.pricing {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(191, 0, 0, 0.18);
    border-radius: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(191, 0, 0, 0.08), rgba(255, 255, 255, 0.95));
    box-shadow: var(--shadow-sm);
}

.pricing strong {
    font-size: 18px;
}

.plans-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.plans-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.plans-intro-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #5a6272;
}

.plans-intro-text p {
    margin: 0;
}

.plans-intro-badge {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(191, 0, 0, 0.1);
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 0.12em;
    font-weight: 700;
    white-space: nowrap;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.plan-card {
    border: 1px solid rgba(150, 162, 185, 0.18);
    border-radius: 28px;
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(155deg, rgba(245, 247, 255, 0.96), rgba(235, 240, 250, 0.86));
    box-shadow: 0 18px 36px rgba(68, 76, 96, 0.12);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.plan-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.plan-card--featured {
    background: linear-gradient(155deg, rgba(212, 172, 55, 0.2), rgba(255, 248, 229, 0.98));
    box-shadow: 0 24px 48px rgba(212, 172, 55, 0.28);
}

.plan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(120, 132, 156, 0.16);
    color: #2c3445;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.plan-card--featured .plan-tag {
    background: linear-gradient(135deg, #d4ac37, #f8e7b4);
    color: #5a4200;
}

.plan-card-title {
    margin: 0;
    font-size: 22px;
    color: #30394a;
}

.plan-card--featured .plan-card-title {
    color: #7b5500;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 700;
    color: #2f3a4b;
}

.plan-card--featured .plan-price {
    color: #805900;
}

.plan-price-main {
    font-size: 32px;
}

.plan-price-unit {
    font-size: 14px;
    color: #5a6272;
    font-weight: 500;
}

.plan-summary {
    margin: 0;
    font-size: 14px;
    color: #505766;
    line-height: 1.6;
}

.plan-card--standard .plan-summary {
    color: #3f4656;
}

.plan-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #414b5a;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-list li {
    position: relative;
    padding-left: 22px;
}

.plan-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4c5c7a;
    font-weight: 700;
}

.plan-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.plan-note {
    font-size: 12px;
    color: #616779;
}

.plan-button {
    border: none;
    background: #55617a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(63, 72, 93, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(63, 72, 93, 0.24);
}

.plan-card--featured .plan-button {
    background: linear-gradient(135deg, #d4ac37, #f8e7b4);
    color: #4d3600;
    box-shadow: 0 12px 20px rgba(212, 172, 55, 0.32);
}

.plan-card--featured .plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(212, 172, 55, 0.4);
}


.benefit-list li {
    background: #ffffff;
}

.faq-list li {
    background: #ffffff;
}

.faq-list li strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
}

.footer {
    border: 1px solid var(--border-subtle);
    padding: 32px 36px;
    background: var(--surface);
    display: grid;
    gap: 20px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.08em;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.contact-info {
    font-size: 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.problem-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(191, 0, 0, 0.2);
    border-radius: 24px;
    padding: 0 32px;
    background: linear-gradient(135deg, rgba(191, 0, 0, 0.12), rgba(255, 255, 255, 0.95));
    box-shadow: var(--shadow-md);
}

.problem-cta-copy {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.problem-visual img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .problem-list {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .flow-visual {
        justify-content: center;
    }

    .flow-visual img {
        max-width: 220px;
    }
}

@media (max-width: 900px) {
    body {
        padding: 24px 16px;
    }

    .wireframe {
        padding: 32px 24px;
    }

    .hero {
        padding: 40px 28px;
        border-radius: 24px;
    }

    .hero-main {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-headline-main {
        font-size: 32px;
    }

    .hero-headline-emphasis {
        font-size: 54px;
    }

    .hero-headline-tail {
        font-size: 26px;
    }

    .cta-stack {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .service-overview-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-overview::before {
        width: 220px;
        height: 220px;
        top: -120px;
        right: -160px;
    }

    .service-overview::after {
        width: 200px;
        height: 200px;
        bottom: -140px;
        left: -120px;
    }

    .service-overview-accent {
        padding: 8px 16px;
        font-size: 12px;
    }

    .service-overview-accent-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .service-overview-visual {
        justify-content: center;
    }

    .service-overview-visual img {
        max-width: 240px;
    }

    .service-overview-header::before {
        top: -24px;
        left: -24px;
        width: 120px;
        height: 120px;
    }

    .service-overview-header::after {
        bottom: -28px;
        right: 20%;
        width: 68px;
        height: 68px;
        box-shadow: 14px 10px 0 rgba(255, 241, 223, 0.75);
    }

    .service-overview-visual::before {
        inset: 10% 12% 18% 12%;
        border-radius: 24px 28px 24px 28px;
        transform: rotate(-4deg);
    }

    .plans-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .plan-card {
        padding: 28px 26px;
    }

    .plan-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        font-size: 16px;
    }

    .flow-visual {
        display: none;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-thumbnails {
        grid-template-columns: 1fr;
    }

    .portfolio-thumb {
        height: 420px;
    }

    .section-lead {
        margin: -4px 0 4px;
        font-size: 14px;
    }

    .faq-accordion {
        padding: 22px 20px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 18px 16px 18px;
        font-size: 13px;
    }

    .hero-visual {
        position: static;
        margin: 32px 0 0 0;
        display: block;
        overflow: visible;
        min-height: auto;
    }

    .hero-image {
        position: static;
        display: block;
        width: 100%;
        height: auto;
    }

    .trust-heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .trust-heading-text {
        flex: 1 1 auto;
        max-width: none;
    }

    .trust-heading .section-title {
        justify-content: center;
    }

    .trust-section .section-title,
    .trust-section .section-subtitle {
        text-align: center;
    }

    .problem-list {
        grid-template-columns: 1fr;
    }

    .problem-cta {
        flex-direction: column;
        text-align: center;
    }

    .problem-visual img {
        max-width: 140px;
    }
}