*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
    background: #0d2b66;
    color: #222;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 24, 63, 0.88);
    backdrop-filter: blur(8px);
}

.lp-header__inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-header__logo,
.lp-header__link {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.lp {
    overflow: hidden;
}

.lp-section {
    width: 100%;
}

.lp-section>img,
.lp-image-wrap {
    display: block;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.lp-image-wrap {
    position: relative;
}

.cta-overlay,
.tel-overlay {
    position: absolute;
    display: block;
    z-index: 2;
}

.cta-overlay--hero {
    left: 11.5%;
    width: 77%;
    top: 90%;
    height: 7.2%;
    border-radius: 999px;
}

/* other内CTA */
.cta-overlay--other {
    left: 13.5%;
    width: 73.5%;
    top: 80%;
    height: 6.8%;
    border-radius: 999px;
}

/* footer内CTA */
.cta-overlay--footer {
    left: 11.5%;
    width: 77%;
    top: 10.5%;
    height: 36%;
    border-radius: 999px;
}

/* footer内 電話エリア */
.tel-overlay {
    left: 18%;
    width: 64%;
    top: 58%;
    height: 28%;
    border-radius: 8px;
}

.cta-trigger {
    width: 100%;
}

.floating-cta {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    width: min(88%, 360px);
}

.floating-cta.is-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-cta__btn {
    display: block;
    text-align: center;
    padding: 18px 24px;
    border-radius: 999px;
    background: #F0844B;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@keyframes floaty {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-4px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.floating-cta.is-show {
    animation: floaty 2.5s ease-in-out infinite;
}

.floating-cta:hover {
    animation-play-state: paused;
}

/* PCで見た時に下に固定CTAが邪魔なら少し小さく */
@media (min-width: 768px) {
    .floating-cta {
        width: 320px;
        bottom: 24px;
    }

    .floating-cta__btn {
        font-size: 16px;
        padding: 14px 20px;
    }
}

html {
    scroll-behavior: smooth;
}

.lp-image-wrap--hero {
    position: relative;
}

.menu-toggle {
    position: absolute;
    top: 1%;
    right: 4%;
    z-index: 30;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.sp-menu {
    position: absolute;
    inset: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 24px 32px;
    background: rgba(8, 24, 63, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sp-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.sp-menu__list a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

body.menu-open {
    overflow: hidden;
}
