.hairlogx-lp {
    --hlx-navy: #0f1b33;
    --hlx-navy-soft: #182944;
    --hlx-blue: #507aa5;
    --hlx-red: #ef4444;
    --hlx-ice: #edf6fb;
    --hlx-silver: #dce8f0;
    --hlx-text: #152033;
    --hlx-muted: #5c6879;
    color: var(--hlx-text);
    background: #fff;
    font-family: "Noto Sans JP", sans-serif;
}

.hairlogx-lp main {
    overflow: hidden;
}

.hairlogx-lp .site-header {
    border-bottom-color: rgba(15, 27, 51, 0.09);
}

.hairlogx-lp .lang-switch {
    display: flex;
    gap: 4px;
    padding: 3px;
    border-radius: 9px;
    background: #eef2f6;
}

.hairlogx-lp .lang-switch a {
    padding: 5px 9px;
    border-radius: 7px;
    color: var(--hlx-muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.hairlogx-lp .lang-switch a.active {
    color: var(--hlx-navy);
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 27, 51, 0.1);
}

.hlx-hero {
    position: relative;
    padding: 88px 0 92px;
    background:
        radial-gradient(circle at 82% 18%, rgba(181, 218, 239, 0.52), transparent 29%),
        radial-gradient(circle at 8% 88%, rgba(239, 68, 68, 0.11), transparent 25%),
        linear-gradient(135deg, #f9fcfe 0%, #edf5fa 54%, #f9fbfd 100%);
}

.hlx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image: linear-gradient(rgba(80, 122, 165, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 122, 165, 0.11) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hlx-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
    align-items: center;
    gap: 72px;
}

.hlx-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--hlx-navy);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hlx-brand-row img {
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 27, 51, 0.16);
}

.hlx-eyebrow,
.hlx-section-label {
    margin-bottom: 14px;
    color: var(--hlx-red);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hlx-hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--hlx-navy);
    font-size: clamp(2.55rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.18;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .hlx-hero h1 {
        font-size: clamp(1.85rem, calc(6.8vw - 33px), 2.75rem);
    }
}

.hlx-hero-line {
    display: block;
}

.hairlogx-lp-en {
    font-family: "Inter", "Noto Sans JP", sans-serif;
}

.hairlogx-lp-en .hlx-hero h1 {
    max-width: 660px;
    font-size: clamp(2.45rem, 4.4vw, 3.8rem);
    letter-spacing: -0.055em;
}

.hlx-for-you h2 span {
    display: block;
}

.hairlogx-lp-en .hlx-benefit-copy h3 {
    font-size: 1.42rem;
}

.hlx-hero-lead {
    max-width: 650px;
    margin-bottom: 32px;
    color: #46566c;
    font-size: 1.08rem;
    line-height: 1.9;
}

.hlx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hairlogx-lp .hlx-btn-primary {
    min-height: 52px;
    padding: 14px 26px;
    color: #fff;
    background: var(--hlx-red);
    border: 1px solid var(--hlx-red);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.25);
}

.hairlogx-lp .hlx-btn-primary:hover {
    color: #fff;
    background: #dc3030;
    border-color: #dc3030;
    transform: translateY(-2px);
}

.hairlogx-lp .hlx-btn-secondary {
    min-height: 52px;
    padding: 14px 26px;
    color: var(--hlx-navy);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 27, 51, 0.2);
}

.hairlogx-lp .hlx-btn-secondary:hover {
    color: var(--hlx-navy);
    background: #fff;
    border-color: var(--hlx-navy);
}

.hlx-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--hlx-muted);
    font-size: 0.83rem;
    font-weight: 600;
}

.hlx-trust-list li {
    position: relative;
    padding-left: 18px;
}

.hlx-trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hlx-blue);
    font-weight: 800;
}

.hlx-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 620px;
}

.hlx-phone-frame {
    position: relative;
    z-index: 1;
    width: min(330px, 76vw);
    padding: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 42px;
    background: #fff;
    box-shadow: 0 36px 80px rgba(15, 27, 51, 0.22);
    transform: rotate(2deg);
}

.hlx-phone-frame img {
    display: block;
    width: 100%;
    border-radius: 34px;
}

.hlx-floating-note {
    position: absolute;
    z-index: 2;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    color: var(--hlx-muted);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(15, 27, 51, 0.14);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    line-height: 1.55;
}

.hlx-floating-note strong {
    color: var(--hlx-navy);
    font-size: 0.95rem;
}

.hlx-floating-note-top {
    top: 95px;
    right: -4px;
}

.hlx-floating-note-bottom {
    bottom: 82px;
    left: -18px;
}

.hlx-section {
    padding: 104px 0;
}

.hlx-section-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.hlx-section-heading h2,
.hlx-for-you h2,
.hlx-final-cta h2 {
    margin: 0;
    color: var(--hlx-navy);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.34;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .hlx-for-you h2 {
        font-size: clamp(1.9rem, calc(7.6vw - 38px), 3.1rem);
    }
}

.hlx-section-heading > p:last-child {
    margin-top: 18px;
    color: var(--hlx-muted);
    line-height: 1.8;
}

.hlx-pain {
    background: #fff;
}

.hlx-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hlx-pain-card {
    padding: 30px;
    border: 1px solid #e1e9ef;
    border-radius: 20px;
    background: #fbfdfe;
}

.hlx-pain-card > span {
    display: block;
    margin-bottom: 42px;
    color: var(--hlx-red);
    font-size: 0.78rem;
    font-weight: 800;
}

.hlx-pain-card h3 {
    margin-bottom: 12px;
    color: var(--hlx-navy);
    font-size: 1.16rem;
}

.hlx-pain-card p {
    color: var(--hlx-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.hlx-pain-answer {
    margin-top: 52px;
    color: var(--hlx-muted);
    font-size: 1.16rem;
    line-height: 1.9;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hlx-pain-answer strong {
    color: var(--hlx-navy);
}

.hlx-steps {
    background: #f5f9fc;
}

.hlx-step {
    display: grid;
    grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
    align-items: center;
    gap: 86px;
    max-width: 960px;
    margin: 0 auto 84px;
}

.hlx-step:last-child {
    margin-bottom: 0;
}

.hlx-step-reverse {
    grid-template-columns: minmax(0, 1.24fr) minmax(260px, 0.76fr);
}

.hlx-step-reverse .hlx-step-visual {
    order: 2;
}

.hlx-step-reverse .hlx-step-copy {
    order: 1;
}

.hlx-step-visual {
    max-width: 330px;
    margin: 0 auto;
    padding: 8px;
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 28px 60px rgba(15, 27, 51, 0.14);
}

.hlx-step-visual img {
    display: block;
    width: 100%;
    border-radius: 25px;
}

.hlx-step-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--hlx-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hlx-step-copy h3 {
    margin-bottom: 18px;
    color: var(--hlx-navy);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hlx-step-copy p {
    color: var(--hlx-muted);
    font-size: 1.04rem;
    line-height: 1.9;
}

.hlx-text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--hlx-blue);
    font-weight: 700;
}

.hlx-text-link:hover {
    color: var(--hlx-navy);
}

.hlx-benefits {
    color: #fff;
    background: var(--hlx-navy);
}

.hlx-section-heading-light h2 {
    color: #fff;
}

.hlx-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.hlx-benefit-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.7fr);
    align-items: end;
    gap: 18px;
    min-height: 480px;
    padding: 38px 32px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
}

.hlx-benefit-copy {
    align-self: start;
    padding-top: 10px;
}

.hlx-benefit-copy > span {
    color: #9dc5df;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hlx-benefit-copy h3 {
    margin: 12px 0 14px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.45;
}

.hlx-benefit-copy p {
    color: #bfccdb;
    font-size: 0.92rem;
    line-height: 1.8;
}

.hlx-benefit-card img {
    display: block;
    width: 100%;
    min-width: 190px;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.18);
}

.hlx-for-you {
    background: #fff;
}

.hlx-for-you-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(380px, 1fr);
    gap: 88px;
    align-items: start;
}

.hlx-for-you-list {
    display: grid;
    gap: 10px;
}

.hlx-for-you-list li {
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e4ebf0;
    border-radius: 18px;
    background: #fbfdfe;
}

.hlx-for-you-list li > span {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--hlx-blue);
    font-weight: 800;
}

.hlx-for-you-list strong {
    color: var(--hlx-navy);
}

.hlx-for-you-list p {
    margin-top: 7px;
    color: var(--hlx-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.hlx-faq {
    background: #f5f9fc;
}

.hlx-narrow {
    max-width: 880px;
}

.hlx-faq-list {
    display: grid;
    gap: 12px;
}

.hlx-faq-list details {
    border: 1px solid #dfe8ef;
    border-radius: 16px;
    background: #fff;
}

.hlx-faq-list summary {
    position: relative;
    padding: 22px 54px 22px 24px;
    color: var(--hlx-navy);
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.hlx-faq-list summary::-webkit-details-marker {
    display: none;
}

.hlx-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    color: var(--hlx-blue);
    font-size: 1.35rem;
    transform: translateY(-50%);
}

.hlx-faq-list details[open] summary::after {
    content: "−";
}

.hlx-faq-list details p {
    padding: 0 24px 22px;
    color: var(--hlx-muted);
    line-height: 1.8;
}

.hlx-final-cta {
    padding: 88px 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 25%, rgba(122, 174, 207, 0.24), transparent 32%),
        linear-gradient(135deg, #0f1b33, #192c49);
}

.hlx-final-cta-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.hlx-final-cta > img {
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.hlx-final-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
}

.hlx-final-cta p:not(.hlx-section-label) {
    margin-top: 12px;
    color: #bfcddd;
}

.hlx-play-badge {
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hlx-play-badge:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.hlx-play-badge img {
    display: block;
    width: auto;
    height: 56px;
}

.hlx-guides {
    padding: 72px 0;
    background: #fff;
}

.hlx-guides h2 {
    margin-bottom: 24px;
    color: var(--hlx-navy);
    font-size: 1.35rem;
}

.hlx-guide-links {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e4ebf0;
    border-radius: 16px;
    background: #e4ebf0;
}

.hlx-guide-links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    color: var(--hlx-navy);
    background: #fff;
    font-weight: 600;
}

.hlx-guide-links a:hover {
    color: var(--hlx-blue);
    background: #f9fbfc;
}

.hlx-mobile-cta {
    display: none;
}

@media (max-width: 900px) {
    .hlx-hero-inner {
        grid-template-columns: 1fr;
        gap: 58px;
        text-align: center;
    }

    .hlx-brand-row,
    .hlx-hero-actions,
    .hlx-trust-list {
        justify-content: center;
    }

    .hlx-hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .hlx-hero-visual {
        min-height: auto;
    }

    .hlx-floating-note-top {
        right: 10%;
    }

    .hlx-floating-note-bottom {
        left: 10%;
    }

    .hlx-benefit-grid,
    .hlx-for-you-inner {
        grid-template-columns: 1fr;
    }

    .hlx-for-you-inner {
        gap: 42px;
    }

    .hlx-final-cta-inner {
        grid-template-columns: auto 1fr;
    }

    .hlx-final-cta-inner > a {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 116px;
    }
}

@media (max-width: 768px) {
    .hairlogx-lp {
        padding-bottom: 72px;
    }

    .hairlogx-lp .site-nav {
        display: none;
    }

    .hlx-hero {
        padding: 56px 0 64px;
    }

    .hlx-hero h1 {
        font-size: clamp(1.2rem, calc(6.8vw - 4px), 3.15rem);
        line-height: 1.24;
    }

    .hlx-hero-line {
        display: inline;
    }

    .hlx-hero-lead {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hlx-hero-actions {
        flex-direction: column;
    }

    .hlx-hero-actions .btn {
        width: 100%;
    }

    .hlx-trust-list {
        gap: 8px 13px;
        font-size: 0.74rem;
    }

    .hlx-phone-frame {
        width: min(290px, 76vw);
    }

    .hlx-floating-note {
        padding: 10px 12px;
        font-size: 0.7rem;
    }

    .hlx-floating-note strong {
        font-size: 0.8rem;
    }

    .hlx-floating-note-top {
        top: 70px;
        right: 0;
    }

    .hlx-floating-note-bottom {
        bottom: 55px;
        left: 0;
    }

    .hlx-section {
        padding: 76px 0;
    }

    .hlx-section-heading {
        margin-bottom: 40px;
    }

    .hlx-section-heading h2,
    .hlx-final-cta h2 {
        font-size: clamp(1.15rem, calc(6vw - 3px), 2.1rem);
    }

    .hlx-for-you h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        letter-spacing: -0.055em;
    }

    .hlx-for-you h2 span {
        display: block;
    }

    .hlx-wide-break {
        display: none;
    }

    .hlx-pain-grid {
        grid-template-columns: 1fr;
    }

    .hlx-pain-card {
        padding: 24px;
    }

    .hlx-pain-card > span {
        margin-bottom: 22px;
    }

    .hlx-pain-answer {
        margin-top: 40px;
        font-size: 1rem;
    }

    .hlx-step,
    .hlx-step-reverse {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 72px;
        text-align: center;
    }

    .hlx-step-reverse .hlx-step-visual,
    .hlx-step-reverse .hlx-step-copy {
        order: initial;
    }

    .hlx-step-copy h3 {
        font-size: 1.75rem;
    }

    .hlx-step-copy p {
        font-size: 0.98rem;
    }

    .hlx-benefit-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 30px 24px 0;
    }

    .hlx-benefit-card img {
        width: min(280px, 88%);
        margin: 0 auto;
    }

    .hlx-for-you-title {
        text-align: center;
    }

    .hlx-for-you-list li {
        padding: 20px;
    }

    .hlx-final-cta {
        padding: 72px 0;
        text-align: center;
    }

    .hlx-final-cta-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hlx-final-cta-inner > a {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
        margin-left: 0;
    }

    .hlx-final-cta-inner > .hlx-play-badge {
        width: auto;
        justify-self: center;
    }

    .hlx-play-badge img {
        height: 52px;
    }

    .hlx-mobile-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1200;
        display: block;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(15, 27, 51, 0.1);
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(12px);
    }

    .hlx-mobile-cta a {
        display: block;
        padding: 13px 18px;
        border-radius: 10px;
        color: #fff;
        background: var(--hlx-red);
        box-shadow: 0 8px 20px rgba(239, 68, 68, 0.22);
        text-align: center;
        font-size: 0.92rem;
        font-weight: 800;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hairlogx-lp *,
    .hairlogx-lp *::before,
    .hairlogx-lp *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
