.lp-nav-has-dropdown {
    position: relative;
}

.lp-nav-dropdown {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--lp-shadow-md);
    padding: 14px 0;
    margin-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s var(--lp-ease), transform .2s var(--lp-ease), visibility .2s var(--lp-ease);
    z-index: 60;
}

.lp-nav-has-dropdown:hover .lp-nav-dropdown,
.lp-nav-has-dropdown:focus-within .lp-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lp-nav-dropdown li {
    padding: 0;
}

.lp-nav-dropdown a {
    display: block;
    padding: 8px 22px;
    font-size: 13px;
    color: var(--lp-text);
    font-weight: 600;
    line-height: 1.5;
}

.lp-nav-dropdown a:hover {
    color: var(--lp-blue);
    background: var(--lp-blue-paler);
}

.lp-nav-dropdown-head {
    padding: 10px 22px 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--lp-text-mute);
    letter-spacing: .15em;
    text-transform: uppercase;
    border-top: 1px solid var(--lp-border-soft);
    margin-top: 4px;
}

.lp-nav-dropdown-head:first-child {
    border-top: none;
    margin-top: 0;
}

/* ---------- Hero points (detail pages) ---------- */
.lp-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-hero-points li::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--lp-blue);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 13l4 4L19 7'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

/* ---------- Effect (BEFORE / AFTER) ---------- */
.lp-effect {
    padding: 96px 0;
    background: #fff;
}

.lp-effect-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lp-effect-item {
    background: #fff;
    border: 1px solid var(--lp-border-soft);
    border-radius: var(--lp-radius-lg);
    padding: 24px 28px 28px;
    box-shadow: var(--lp-shadow-sm);
}

.lp-effect-head {
    display: block;
    width: fit-content;
    background: var(--lp-blue-deep);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 0 auto 18px;
    letter-spacing: .04em;
}

.lp-effect-row {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    gap: 16px;
    align-items: stretch;
}

.lp-effect-card {
    border-radius: var(--lp-radius);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid transparent;
}

.lp-effect-card--before {
    background: #fdecee;
    border-color: #f6c8cc;
}

.lp-effect-card--after {
    background: var(--lp-blue-pale);
    border-color: #c8dafd;
}

.lp-effect-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .25em;
}

.lp-effect-card--before .lp-effect-label {
    color: var(--lp-accent-dark);
}

.lp-effect-card--after .lp-effect-label {
    color: var(--lp-blue);
}

.lp-effect-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--lp-blue-deep);
    line-height: 1.45;
}

.lp-effect-card--before .lp-effect-value {
    color: var(--lp-accent-dark);
}

.lp-effect-desc {
    font-size: 1.2rem;

    line-height: 1.7;
}

.lp-effect-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-blue);
}

.lp-effect-arrow svg {
    width: 28px;
    height: 28px;
}

/* ---------- Service detail grid (6 cards) ---------- */
.lp-detail {
    padding: 96px 0;
    background: var(--lp-blue-bg);
}

.lp-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lp-detail-card {
    background: #fff;
    border-radius: var(--lp-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease);
}

.lp-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}

.lp-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--lp-blue-pale);
    color: var(--lp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-detail-icon svg {
    width: 28px;
    height: 28px;
}

.lp-detail-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lp-blue-deep);
    margin-bottom: 10px;
}

.lp-detail-card p {
    font-size: 1.2rem;

    line-height: 1.85;
}

/* ---------- Flow (timeline list) ---------- */
.lp-flow-tl {
    padding: 96px 0;
    background: #fff;
}

.lp-flow-tl-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-flow-tl-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--lp-border-soft);
    border-radius: var(--lp-radius);
    padding: 18px 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease);
}

.lp-flow-tl-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-md);
}

.lp-flow-tl-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lp-flow-tl-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lp-blue-deep);
    margin-bottom: 6px;
}

.lp-flow-tl-body p {
    font-size: 1.2rem;

    line-height: 1.8;
}

/* ---------- Case study (参考事例) ---------- */
.lp-case {
    padding: 96px 0;
    background: var(--lp-blue-bg);
}

.lp-case-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
}

.lp-case-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--lp-border-soft);
    border-radius: var(--lp-radius-lg);
    padding: 32px 36px;
    box-shadow: var(--lp-shadow-sm);
}

.lp-case-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lp-case-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-blue-deep);
    margin: 6px 0 18px;
    line-height: 1.5;
}

.lp-case-block {
    border-radius: var(--lp-radius);
    padding: 18px 20px;
    margin-bottom: 14px;
}

.lp-case-block:last-child {
    margin-bottom: 0;
}

.lp-case-block--problem {
    background: var(--lp-accent-pale);
    border: 1px solid #f6c8cc;
}

.lp-case-block--solution {
    background: var(--lp-blue-pale);
    border: 1px solid #c8dafd;
}

.lp-case-tag {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.lp-case-block--problem .lp-case-tag {
    background: var(--lp-accent);
    color: #fff;
}

.lp-case-block--solution .lp-case-tag {
    background: var(--lp-blue);
    color: #fff;
}

.lp-case-block>p {
    font-size: 1.2rem;

    line-height: 1.85;
    margin: 0;
}

.lp-case-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-case-points li {
    position: relative;
    padding-left: 20px;
    font-size: 1.2rem;

    line-height: 1.85;
}

.lp-case-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-blue);
}

.lp-case-points strong {
    color: var(--lp-blue-deep);
    font-weight: 800;
}

.lp-case-note {
    font-size: 1.1rem;
    color: var(--lp-text-mute);
    line-height: 1.7;
    margin: 16px 0 0;
}

.lp-hero-detail .lp-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
}

/* PC（2カラム時）はヒーローテキストを少し右に寄せる */
@media (min-width: 1025px) {
    .lp-hero-detail .lp-hero-text {
        padding-left: 48px;
    }
}

@media (max-width: 1024px) {
    .lp-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-hero-detail .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {

    .lp-effect,
    .lp-detail,
    .lp-flow-tl,
    .lp-case {
        padding: 36px 0;
    }

    /* ----- Case study (centered) ----- */
    .lp-case-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 18px;
        text-align: center;
    }

    .lp-case-num {
        margin: 0 auto;
    }

    .lp-case-points li {
        text-align: left;
    }

    .lp-hero-points {
        align-items: flex-start;
        width: 100%;
        margin-left: 1%;
    }

    .lp-hero-points li {
        justify-content: flex-start;
        text-align: left;
        font-size: 1rem;
    }

    .lp-effect-item {
        text-align: center;
    }

    .lp-effect-head {
        margin-bottom: 18px;
    }

    .lp-effect-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lp-effect-card {
        align-items: center;
        text-align: center;
    }

    .lp-effect-value {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .lp-effect-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .lp-effect-arrow {
        margin: 0 auto;
    }

    .lp-effect-arrow svg {
        transform: rotate(90deg);
    }

    .lp-detail-grid {
        grid-template-columns: 1fr;
    }

    .lp-detail-card {
        text-align: center;
    }

    .lp-detail-card h3 {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .lp-detail-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .lp-detail-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-flow-tl-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 18px 18px 20px;
        gap: 12px;
    }

    .lp-flow-tl-num {
        width: 44px;
        height: 44px;
        font-size: 16px;
        margin: 0 auto;
    }

    .lp-flow-tl-body h3 {
        font-size: 1.2rem;
    }

    .lp-flow-tl-body p {
        text-align: center;
        font-size: 1rem;
    }

    .lp-nav.is-open .lp-nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 4px;
        padding: 6px 0;
        background: var(--lp-blue-paler);
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .lp-effect-card {
        padding: 16px 16px;
    }

    .lp-effect-value {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    .lp-effect-desc {
        font-size: 1rem;
        line-height: 1.55;
    }

    .lp-detail-card {
        padding: 22px 18px;
    }

    .lp-detail-card h3 {
        font-size: 1.1rem;
    }

    .lp-detail-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.lp-risk {
    padding: 96px 0;
    background: linear-gradient(180deg, #fff 0%, var(--lp-accent-pale) 100%);
}

.lp-risk .lp-section-tag {
    color: var(--lp-accent);
}

.lp-risk-lead {
    font-size: 1.2rem;
    line-height: 1.95;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.lp-risk-lead strong {
    color: var(--lp-accent-dark);
    font-weight: 800;
}

.lp-risk-card {
    background: #fff;
    border: 2px solid var(--lp-accent-pale);
    border-radius: var(--lp-radius-lg);
    padding: 36px 40px;
    box-shadow: var(--lp-shadow-md);
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.lp-risk-card-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 8px 18px rgba(235, 75, 85, .28);
}

.lp-risk-card-badge svg {
    width: 18px;
    height: 18px;
}

.lp-risk-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.lp-risk-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #fdf4f5;
    border-left: 4px solid var(--lp-accent);
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lp-blue-deep);
    line-height: 1.7;
}

.lp-risk-list li::before {
    content: "";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--lp-accent);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><line x1='6' y1='6' x2='18' y2='18'/><line x1='18' y1='6' x2='6' y2='18'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .lp-risk {
        padding: 12px 0;
    }

    .lp-risk-card {
        padding: 28px 20px;
        text-align: center;
    }

    .lp-risk-lead {
        text-align: center;
    }

    .lp-risk-list li {
        font-size: 14px;
        padding: 14px 14px 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        border-left: none;
        border-top: 4px solid var(--lp-accent);
    }

    .lp-risk-list li::before {
        margin-top: 0;
    }
}

/* =========================================================
   Footer (footer-content 構成) — security-check.html 専用
   ========================================================= */
.footer {
    background-color: #ffffff;
    color: #000000;
    padding: 64px 0 32px;
    border-top: 1px solid var(--lp-border-soft);
}

.footer .footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
    align-items: start;
}

.footer .footer-title {
    display: block;
    text-align: left;
}

.footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer .footer-logo img {
    height: 168px;
    width: 168px;
    max-width: 168px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer .footer-title h4 {
    color: var(--lp-blue);
    font-size: 1.3rem;
    margin: 0;
}

.footer .footer-section h4 {
    color: var(--lp-text);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.125rem;
}

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

.footer .footer-section li {
    margin-bottom: 12px;
}

.footer .footer-section a {
    text-decoration: none;

    transition: color .2s var(--lp-ease);
}

.footer .footer-section a:hover {
    color: var(--lp-blue);
}

.footer .footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--lp-border-soft);
    color: var(--lp-text-mute);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: center;
        text-align: center;
    }

    .footer .footer-title {
        text-align: center;
    }

    /* モバイルでは「動物病院 IT サポート」を上、ロゴを下に */
    .footer .footer-logo {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .footer .footer-section li img {
        margin: 0 auto;
    }
}

/* 正方形の画像が見切れないようにフレーム比率を合わせる */
.lp-hero-frame--square {
    aspect-ratio: 1 / 1;
}