/* ========================================
   LP Search - 検索広告用ランディングページ
   Design tokens inherited from motive theme
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.lp-body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #262626;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.lp-body img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pc-only { display: inline; }
.sp-only { display: none; }

@media (max-width: 765px) {
    .pc-only { display: none; }
    .sp-only { display: inline; }
}


/* --- Container --- */
.lp-container {
    max-width: 1100px;
    width: 88%;
    margin: 0 auto;
}


/* --- Button --- */
.lp-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.lp-btn--primary {
    background: transparent;
    color: #fff;
    padding: 16px 48px;
    font-size: 1rem;
}

.lp-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #262626;
    border-radius: 50px;
    z-index: -1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #555 0%, #262626 100%);
    border-radius: 50px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.lp-btn--primary:hover::before {
    transform: scale(0);
}

.lp-btn--primary:hover::after {
    opacity: 1;
}

.lp-btn--primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.lp-btn--large {
    padding: 20px 64px;
    font-size: 1.1rem;
}

@media (max-width: 765px) {
    .lp-btn--primary { padding: 14px 36px; font-size: 0.95rem; }
    .lp-btn--large { padding: 16px 40px; font-size: 1rem; width: 100%; }
}


/* --- Section Common --- */
.lp-section {
    padding: 100px 0;
}
.lp-section:nth-child(even) {
    background: #fff;
}

.lp-section__label {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    text-align: center;
}
.lp-section__sublabel {
    display: table;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #262626;
    text-align: center;
    letter-spacing: 0.1em;
    padding: 5px 1em;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.lp-section__title {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.lp-section__desc {
    text-align: center;
    color: #555;
    font-size: 1rem;
    line-height: 2;
    max-width: 720px;
    margin: 0 auto 48px;
}

@media (max-width: 765px) {
    .lp-section { padding: 64px 0; }
    .lp-section__title { font-size: 2em; }
    .lp-section__desc { font-size: 0.9rem; margin-bottom: 32px; }
}


/* ========================================
   HEADER
   ======================================== */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.lp-header__inner {
    max-width: 1100px;
    width: 88%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.lp-header__logo img {
    height: 24px;
    width: auto;
}

.lp-header__cta {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.lp-header__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #262626;
    border-radius: 50px;
    z-index: -1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-header__cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #555 0%, #262626 100%);
    border-radius: 50px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-header__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.lp-header__cta:hover::before {
    transform: scale(0);
}

.lp-header__cta:hover::after {
    opacity: 1;
}


/* ========================================
   HERO
   ======================================== */
.lp-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: #fafafa;
}

.lp-hero__inner {
    max-width: 1100px;
    width: 88%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.lp-hero__content {
    flex: 1;
}

.lp-hero__carousel {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-width: 0;
}

.lp-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.lp-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
}
.lp-hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.lp-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.lp-hero__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.lp-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.lp-hero__dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.lp-hero__label {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.lp-hero__title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.lp-hero__desc {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 36px;
}

@media (max-width: 765px) {
    .lp-hero { padding-top: 88px; padding-bottom: 48px; }
    .lp-hero__inner {
        flex-direction: column;
        gap: 32px;
    }
    .lp-hero__title { font-size: 1.7rem; }
    .lp-hero__desc { font-size: 0.9rem; margin-bottom: 24px; }
    .lp-hero__carousel {
        border-radius: 16px;
        width: 100%;
        flex: none;
        aspect-ratio: 16 / 10;
        /* Safari fallback: aspect-ratioが効かない場合のために */
        min-height: 0;
        overflow: hidden;
    }
    /* padding-top fallback for older Safari */
    @supports not (aspect-ratio: 16 / 10) {
        .lp-hero__carousel {
            height: 0;
            padding-top: 62.5%; /* 10/16 = 62.5% */
        }
    }
}


/* ========================================
   PROBLEM (2x2 grid cards)
   ======================================== */
.lp-problem__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.lp-problem__card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.lp-problem__card-icon {
    margin-bottom: 16px;
    opacity: 0.7;
}

.lp-problem__heading {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
}

.lp-problem__desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 765px) {
    .lp-problem__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .lp-problem__card { padding: 24px 20px; }
    .lp-problem__heading { font-size: 1.5em; }
}


/* ========================================
   SOLUTION (side by side)
   ======================================== */
.lp-solution {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.lp-solution__inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.lp-solution__image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.lp-solution__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
}

.lp-solution__content {
    flex: 1;
}

.lp-solution__content .lp-section__title {
    text-align: left;
}

.lp-solution__content .lp-section__label {
    text-align: left;
}

.lp-solution__content .lp-section__desc {
    text-align: left;
}

.lp-solution__content .lp-section__desc + .lp-section__desc {
    margin-top: 16px;
    font-weight: 600;
}

@media (max-width: 765px) {
    .lp-solution { padding-top: 48px !important; padding-bottom: 48px !important; }
    .lp-solution__inner { flex-direction: column; gap: 32px; }
    .lp-solution__image { border-radius: 16px; }
    .lp-solution__image img { aspect-ratio: 16 / 9; }
    .lp-solution__content .lp-section__title,
    .lp-solution__content .lp-section__label { text-align: center; }
    .lp-solution__content .lp-section__desc { text-align: left; }
}


/* ========================================
   STRENGTHS
   ======================================== */
.lp-strengths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 48px;
}

.lp-strengths__card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lp-strengths__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.lp-strengths__num {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
    padding: 24px 28px 0;
}

.lp-strengths__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 16px 0 0;
}

.lp-strengths__heading {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    padding: 20px 28px 0;
}

.lp-strengths__desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.9;
    padding: 12px 28px 28px;
}

@media (max-width: 765px) {
    .lp-strengths__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .lp-strengths__img { height: 180px; }
}


/* ========================================
   WORKS
   ======================================== */
.lp-works__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.lp-works__item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lp-works__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.lp-works__img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.lp-works__info {
    padding: 24px 28px 28px;
}

.lp-works__category {
    font-size: 0.78rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.lp-works__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lp-works__desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 765px) {
    .lp-works__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .lp-works__img { height: 200px; }
    .lp-works__info { padding: 20px 20px 24px; }
}


/* ========================================
   VOICE
   ======================================== */
.lp-voice__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.lp-voice__card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.lp-voice__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.lp-voice__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}
.lp-voice__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-voice__company {
    font-size: 0.85rem;
    font-weight: 700;
}
.lp-voice__role {
    font-size: 0.78rem;
    color: #999;
}

.lp-voice__text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #444;
}

@media (max-width: 765px) {
    .lp-voice .lp-container {
        overflow: visible;
        padding: 0;
        width: 100%;
    }
    .lp-voice__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        margin-top: 32px;
        padding-bottom: 16px;
    }
    .lp-voice__grid::-webkit-scrollbar {
        height: 4px;
    }
    .lp-voice__grid::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 2px;
    }
    .lp-voice__grid::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }
    .lp-voice__card {
        padding: 24px 20px;
        width: 75vw;
        max-width: 75vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .lp-voice__card:first-child { margin-left: 6vw; }
    .lp-voice__card:last-child  { margin-right: 6vw; }
}


/* ========================================
   FLOW
   ======================================== */
.lp-flow__steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.lp-flow__step {
    text-align: center;
    position: relative;
}
.lp-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -14px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
}

.lp-flow__num {
    font-family: "circe-rounded", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 12px;
}

.lp-flow__heading {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lp-flow__desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.7;
}

@media (max-width: 765px) {
    .lp-flow__steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        margin-top: 32px;
        padding-bottom: 16px;
    }
    .lp-flow__step {
        flex: 0 0 70%;
        scroll-snap-align: center;
        background: #fff;
        border-radius: 16px;
        padding: 28px 24px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    .lp-flow__step:first-child { margin-left: 6%; }
    .lp-flow__step:last-child { margin-right: 6%; }
    .lp-flow__step::after { display: none; }
    .lp-flow__steps::-webkit-scrollbar { display: none; }
    .lp-flow__steps { -ms-overflow-style: none; scrollbar-width: none; }
}


/* ========================================
   COMPANY
   ======================================== */
.lp-company__inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.lp-company__photo {
    flex: 0 0 380px;
    border-radius: 20px;
    overflow: hidden;
}
.lp-company__photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.lp-company__content {
    flex: 1;
}
.lp-company__content .lp-section__label {
    text-align: left;
}

.lp-company__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
}

.lp-company__desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 2;
    margin-bottom: 32px;
}

.lp-company__info {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px 16px;
    font-size: 0.9rem;
}
.lp-company__info dt {
    font-weight: 700;
    color: #999;
}
.lp-company__info dd {
    color: #444;
}

@media (max-width: 765px) {
    .lp-company__inner {
        flex-direction: column;
        gap: 32px;
    }
    .lp-company__photo { flex: none; width: 100%; }
    .lp-company__title { font-size: 1.4rem; }
}


/* ========================================
   FAQ
   ======================================== */
.lp-faq__list {
    max-width: 800px;
    margin: 48px auto 0;
}

.lp-faq__item {
    border-bottom: 1px solid #e8e8e8;
}
.lp-faq__item:first-child {
    border-top: 1px solid #e8e8e8;
}

.lp-faq__question {
    cursor: pointer;
    padding: 24px 40px 24px 0;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    list-style: none;
    line-height: 1.6;
}
.lp-faq__question::-webkit-details-marker { display: none; }
.lp-faq__question::marker { display: none; content: ''; }

.lp-faq__question::before {
    content: 'Q.';
    font-family: "circe-rounded", sans-serif;
    font-weight: 700;
    color: #262626;
    margin-right: 12px;
}

.lp-faq__question::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.3s ease;
}

.lp-faq__item[open] .lp-faq__question::after {
    transform: translateY(-30%) rotate(-135deg);
}

.lp-faq__answer {
    padding: 0 0 24px 32px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.9;
}

@media (max-width: 765px) {
    .lp-faq__list { margin-top: 32px; }
    .lp-faq__question { padding: 20px 36px 20px 0; font-size: 0.95rem; }
}


/* ========================================
   CTA
   ======================================== */
.lp-cta {
    background: #262626 !important;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.lp-cta__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.lp-cta__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 2;
    margin-bottom: 40px;
}

.lp-cta__actions {
    margin-bottom: 32px;
}

.lp-cta .lp-btn--primary {
    background: transparent;
    color: #262626;
}

.lp-cta .lp-btn--primary::before {
    background: #fff;
}

.lp-cta .lp-btn--primary::after {
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
}

.lp-cta .lp-btn--primary:hover {
    color: #262626;
    box-shadow: 0 8px 32px rgba(255,255,255,0.25);
}

.lp-cta__notes {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-cta__notes li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.lp-cta__notes li::before {
    content: '\2713';
    margin-right: 6px;
    color: rgba(255,255,255,0.4);
}

.lp-cta__privacy {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
}

.lp-cta__privacy a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
}

.lp-cta__privacy a:hover {
    color: #fff;
}

@media (max-width: 765px) {
    .lp-cta { padding: 64px 0; }
    .lp-cta__title { font-size: 1.5rem; }
    .lp-cta__desc { font-size: 0.9rem; margin-bottom: 32px; }
    .lp-cta__notes { flex-direction: column; align-items: center; gap: 8px; }
}


/* ========================================
   FOOTER
   ======================================== */
.lp-footer {
    padding: 40px 0;
    text-align: center;
}

.lp-footer__logo img {
    margin: 0 auto 12px;
    opacity: 0.3;
}

.lp-footer__copy {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.75rem;
    color: #bbb;
    letter-spacing: 0.1em;
}


/* ========================================
   Numbers
   ======================================== */
.lp-numbers {
    background: #262626 !important;
    padding: 64px 0;
}

.lp-numbers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.lp-numbers__value {
    font-family: "circe-rounded", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lp-numbers__unit {
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 2px;
}

.lp-numbers__plus {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 2px;
}

.lp-numbers__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    letter-spacing: 0.1em;
}

@media (max-width: 765px) {
    .lp-numbers { padding: 48px 0; }
    .lp-numbers__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .lp-numbers__value { font-size: 2.2rem; }
    .lp-numbers__unit { font-size: 0.9rem; }
    .lp-numbers__plus { font-size: 0.75rem; }
    .lp-numbers__label { font-size: 0.72rem; }
}


/* ========================================
   Service（対応領域）
   ======================================== */
.lp-service__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.lp-service__item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #262626;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@media (max-width: 765px) {
    .lp-service__grid { gap: 8px; margin-top: 32px; }
    .lp-service__item { padding: 8px 18px; font-size: 0.8rem; }
}


/* ========================================
   Mid CTA
   ======================================== */
.lp-mid-cta {
    background: #f0f0f0 !important;
    text-align: center;
    padding: 64px 0 !important;
}

.lp-mid-cta__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #262626;
}
.lp-mid-cta__text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #262626;
}

@media (max-width: 765px) {
    .lp-mid-cta { padding: 48px 0 !important; }
    .lp-mid-cta__title { font-size: 1.4rem; }
    .lp-mid-cta__text { font-size: 0.95rem; text-align: left; }
}


/* ========================================
   CTA Form (white card on dark bg)
   ======================================== */
.lp-cta__form {
    max-width: 600px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 40px 32px;
}

.lp-cta__form iframe {
    width: 100% !important;
}

@media (max-width: 765px) {
    .lp-cta__form { padding: 28px 20px 24px; border-radius: 12px; }
}



/* ========================================
   Animations
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .lp-section:not(.lp-mid-cta):not(.lp-numbers),
    .lp-hero__content,
    .lp-hero__carousel {
        opacity: 0;
        transform: translateY(24px);
        animation: lpFadeUp 0.6s ease forwards;
    }
    .lp-hero__content { animation-delay: 0.1s; }
    .lp-hero__carousel { animation-delay: 0.3s; }

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


/* ========================================
   BRANDING LP 追加スタイル
   ======================================== */

/* --- Hero（テキストのみ・シンプル版） --- */
.lp-hero--text {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #fafafa;
    padding: 120px 0 80px;
}
.lp-hero--text .lp-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}
.lp-hero--text .lp-hero__title {
    font-size: 3rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.lp-hero--text .lp-hero__desc {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin: 28px 0 40px;
    max-width: 640px;
}
@media (max-width: 765px) {
    .lp-hero--text { padding: 100px 0 60px; min-height: auto; }
    .lp-hero--text .lp-hero__title { font-size: clamp(1rem, 5.3vw, 1.8rem) !important; }
    .lp-hero--text .lp-hero__desc { font-size: 0.9rem; margin: 20px 0 32px; }
}

/* --- Concern（よくある課題・チェックリスト） --- */
.lp-concern__list {
    list-style: none;
    max-width: 680px;
    margin: 48px auto 0;
}
.lp-concern__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid #ebebeb;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
}
.lp-concern__item:first-child { border-top: 1px solid #ebebeb; }
.lp-concern__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #262626;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-concern__check::after {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
}
.lp-concern__conclusion {
    max-width: 680px;
    margin: 40px auto 0;
    padding: 28px 32px;
    background: #262626;
    color: #fff;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.9;
}
.lp-concern__conclusion strong {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}
@media (max-width: 765px) {
    .lp-concern__list { margin-top: 32px; }
    .lp-concern__item { font-size: 0.9rem; }
    .lp-concern__conclusion { padding: 24px 20px; font-size: 0.9rem; }
    .lp-concern__conclusion strong { line-height: 1.5; }
}

/* --- Issue（つくること問題） --- */
.lp-issue__lead {
    max-width: 720px;
    margin: 32px auto 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    text-align: center;
}
.lp-issue__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.lp-issue__card {
    background: #C92D26;
    border-radius: 16px;
    padding: 32px 24px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 4px 24px rgba(201,45,38,0.25);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lp-issue__card-label {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
}
.lp-issue__result {
    margin-top: 40px;
    padding: 28px 36px;
    background: #f5f5f3;
    border-radius: 12px;
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 765px) {
    .lp-issue__cards { grid-template-columns: 1fr; gap: 12px; }
    .lp-issue__card { font-size: 1.05rem; padding: 24px 20px; }
    .lp-issue__result { padding: 20px 20px; text-align: left; }
}

/* --- Compare（比較） --- */
.lp-body--branding .lp-compare {
    position: relative;
    overflow: hidden;
    background-color: #FAF7F2;
    padding-top: 70px;
}
.lp-body--branding .lp-compare::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg_difference.jpg') center 40px / cover no-repeat;
    z-index: 0;
}
.lp-body--branding .lp-compare .lp-container {
    position: relative;
    z-index: 1;
}
.lp-compare__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.lp-compare__col {
    border-radius: 20px;
    padding: 36px 32px;
}
.lp-compare__col--others {
    background: #fff;
    border: 1px solid #e8e8e8;
}
.lp-compare__col--motive {
    background: #262626;
    color: #fff;
}
.lp-compare__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.5;
}
.lp-compare__col--motive .lp-compare__label { opacity: 0.6; color: #fff; }
.lp-compare__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}
.lp-compare__list {
    list-style: none;
}
.lp-compare__list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.lp-compare__col--motive .lp-compare__list li {
    border-bottom-color: rgba(255,255,255,0.08);
    color: #fff;
}
.lp-compare__list li:last-child { border-bottom: none; }
.lp-compare__list li::before {
    content: '—';
    font-size: 0.8rem;
    opacity: 0.3;
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-compare__col--motive .lp-compare__list li::before {
    content: '✓';
    opacity: 0.7;
    color: #fff;
}
.lp-compare__goal {
    margin-top: 24px;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 16px;
    border-radius: 8px;
    text-align: center;
    background: rgba(0,0,0,0.06);
    color: #444;
}
.lp-compare__col--motive .lp-compare__goal {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
@media (max-width: 765px) {
    .lp-compare__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .lp-compare__col { padding: 28px 24px; }
}

/* --- Values（提供価値・4項目） --- */
.lp-values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lp-values__card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.lp-values__num {
    font-family: "circe-rounded", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e8e8e8;
    line-height: 1;
    margin-bottom: 16px;
}
.lp-values__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.lp-values__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.9;
}
@media (max-width: 765px) {
    .lp-values__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .lp-values__card { padding: 28px 24px; }
    .lp-values__num { font-size: 1rem; }
}

/* --- Services Detail（サービス詳細） --- */
.lp-services__accordion {
    max-width: 800px;
    margin: 48px auto 0;
}
.lp-services__item {
    border-bottom: 1px solid #e8e8e8;
}
.lp-services__item:first-child { border-top: 1px solid #e8e8e8; }
.lp-services__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    cursor: default;
}
.lp-services__item-num {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #bbb;
    flex-shrink: 0;
    width: 24px;
}
.lp-services__item-title {
    font-size: 1.05rem;
    font-weight: 700;
}
.lp-services__body {
    padding: 0 0 24px 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lp-services__tag {
    background: #f5f5f3;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #555;
}
@media (max-width: 765px) {
    .lp-services__header { padding: 22px 0; gap: 14px; }
    .lp-services__body { padding-left: 38px; }
}

/* --- Before/After --- */
.lp-ba__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.lp-ba__col {
    border-radius: 20px;
    padding: 36px 32px;
}
.lp-ba__col--before {
    background: #fff;
    border: 1px solid #e8e8e8;
}
.lp-ba__col--after {
    background: #262626;
    color: #fff;
}
.lp-ba__label {
    font-family: "circe-rounded", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #bbb;
}
.lp-ba__col--after .lp-ba__label { color: rgba(255,255,255,0.4); }
.lp-ba__list {
    list-style: none;
}
.lp-ba__list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.7;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #333;
}
.lp-ba__col--after .lp-ba__list li {
    border-bottom-color: rgba(255,255,255,0.12);
    color: #fff;
}
.lp-ba__list li:last-child { border-bottom: none; }
.lp-ba__list li::before {
    content: '×';
    color: #aaa;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.lp-ba__col--after .lp-ba__list li::before {
    content: '○';
    color: rgba(255,255,255,0.7);
}
@media (max-width: 765px) {
    .lp-ba__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .lp-ba__col { padding: 28px 24px; }
}

/* --- Target（こんな企業に） --- */
.lp-target__list {
    list-style: none;
    max-width: 900px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.lp-target__item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    color: #262626;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.lp-target__item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #262626;
    flex-shrink: 0;
    margin-top: 6px;
}
@media (max-width: 765px) {
    .lp-target__list { grid-template-columns: 1fr; margin-top: 32px; gap: 12px; }
    .lp-target__item { font-size: 1rem; padding: 20px 22px; }
}

/* --- Pre Footer --- */
.lp-pre-footer {
    background: #f5f5f3;
    text-align: center;
    padding: 80px 0;
}
.lp-pre-footer__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}
.lp-pre-footer__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 2;
    max-width: 560px;
    margin: 0 auto;
}
@media (max-width: 765px) {
    .lp-pre-footer { padding: 56px 0; }
    .lp-pre-footer__title { font-size: 1.4rem; }
}


/* ========================================
   BRANDING LP カラーテーマ (#C92D26)
   body.lp-body--branding でスコープ
   ======================================== */

/* Hero タイトル SP フォントサイズ（ブランディングLP専用） */
@media (max-width: 765px) {
    .lp-body--branding .lp-hero__title {
        font-size: clamp(1.2rem, 6.5vw, 1.8rem) !important;
    }
}

/* ヘッダーCTA */
.lp-body--branding .lp-header__cta {
    background: #C92D26;
    color: #fff;
}
.lp-body--branding .lp-header__cta:hover {
    background: #a82420;
}

/* ボタン */
.lp-body--branding .lp-btn--primary {
    background: #C92D26;
    border-color: #C92D26;
}
.lp-body--branding .lp-btn--primary::before {
    background: #a82420;
}

/* セクションラベル */
.lp-body--branding .lp-section__label {
    color: #C92D26;
}

/* ヒーロードット */
.lp-body--branding .lp-hero__dot.is-active {
    background: #C92D26;
    border-color: #C92D26;
}

/* Problem 背景画像（右下） */
.lp-body--branding .lp-issue {
    position: relative;
    overflow: hidden;
}
.lp-body--branding .lp-issue::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    aspect-ratio: 1 / 1;
    background: url('../images/bg_problem.jpg') center center / cover no-repeat;
    z-index: 0;
}
.lp-body--branding .lp-issue .lp-container {
    position: relative;
    z-index: 1;
}

/* Concern 背景パターン */
.lp-body--branding .lp-concern {
    position: relative;
    overflow: hidden;
}
.lp-body--branding .lp-concern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg_pattern.jpg');
    background-repeat: repeat;
    background-size: 50%;
    opacity: 0.5;
    z-index: 0;
}
.lp-body--branding .lp-concern .lp-container {
    position: relative;
    z-index: 1;
}

/* チェックリスト */
.lp-body--branding .lp-concern__check {
    background: #C92D26;
}
.lp-body--branding .lp-concern__conclusion {
    background: #C92D26;
    border-left: none;
}

/* 比較カラム・motive側 */
.lp-body--branding .lp-compare__col--motive {
    background: #C92D26;
}
.lp-body--branding .lp-compare__col--motive .lp-compare__goal {
    background: rgba(255,255,255,0.15);
}

/* Values 背景画像 */
.lp-body--branding .lp-values {
    position: relative;
    overflow: hidden;
}
.lp-body--branding .lp-values::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg_values.jpg') center center / cover no-repeat;
    z-index: 0;
}
.lp-body--branding .lp-values::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.lp-body--branding .lp-values .lp-container {
    position: relative;
    z-index: 2;
}
.lp-body--branding .lp-values .lp-section__title {
    color: #fff;
}

/* Values番号 */
.lp-body--branding .lp-values__num {
    color: rgba(201,45,38,0.15);
}

/* Flow番号 */
.lp-body--branding .lp-flow__num {
    color: #C92D26;
    background: rgba(201,45,38,0.08);
}

/* Before/After 背景画像 */
.lp-body--branding .lp-ba {
    position: relative;
    overflow: hidden;
}
.lp-body--branding .lp-ba::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg_before-after.jpg') center center / cover no-repeat;
    z-index: 0;
}
.lp-body--branding .lp-ba .lp-container {
    position: relative;
    z-index: 1;
}

/* Before/After → After側 */
.lp-body--branding .lp-ba__col--after {
    background: #C92D26;
}

/* ========================================
   WORKS MARQUEE
   ======================================== */
.lp-marquee {
    background: #FAF7F2;
    padding: 40px 0;
    overflow: hidden;
}
.lp-marquee__track {
    overflow: hidden;
    width: 100%;
}
.lp-marquee__inner {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 90s linear infinite;
}
.lp-marquee__img {
    width: 360px;
    height: 256px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 765px) {
    .lp-marquee__img { width: 240px; height: 170px; }
}

/* ========================================
   スクロールアニメーション（fade-up）
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Target ドット */
.lp-body--branding .lp-target__item::before {
    background: #C92D26;
}

/* Mid CTA */
.lp-body--branding .lp-mid-cta {
    background: #1a1a1a !important;
    color: #fff;
}
.lp-body--branding .lp-mid-cta--first {
    background: #FAF7F2 !important;
    color: #262626 !important;
}
.lp-body--branding .lp-mid-cta--first .lp-mid-cta__text {
    color: #262626;
}
@media (max-width: 765px) {
    .lp-body--branding .lp-mid-cta--first .lp-mid-cta__text {
        text-align: center;
    }
}
.lp-body--branding .lp-mid-cta--final {
    position: relative;
    overflow: hidden;
}
.lp-body--branding .lp-mid-cta--final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg_cta.jpg') center center / cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}
.lp-body--branding .lp-mid-cta--final::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.lp-body--branding .lp-mid-cta--final .lp-container {
    position: relative;
    z-index: 2;
}
.lp-body--branding .lp-mid-cta__title {
    color: #fff;
}
.lp-body--branding .lp-mid-cta__text {
    color: #fff;
}

/* CTA セクション */
.lp-body--branding .lp-cta {
    background: #1a1a1a !important;
}

/* Pre Footer */
.lp-body--branding .lp-pre-footer {
    background: #C92D26;
    color: #fff;
}
.lp-body--branding .lp-pre-footer__desc {
    color: rgba(255,255,255,0.8);
}

/* Services item num */
.lp-body--branding .lp-services__item-num {
    color: #C92D26;
}

/* Voice card border accent */
.lp-body--branding .lp-voice__card {
    border-top: 3px solid #C92D26;
}
