:root { --width: 1px; }
@media (max-width: 780px) { :root { --width: 1 / 780 * 100vw; } }
.pc{display: block;} .sp{display: none;}
@media (max-width: 780px) {.pc{display: none;} .sp{display: block;}}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}
header,
main,
footer {
    max-width: 780px;
    margin: 0 auto;
}
header {
    position: relative;
}
.header-line {
    width: calc(180 * var(--width));
    position: absolute;
    top: calc(17 * var(--width));
    right: calc(20 * var(--width));
}
.header-line img {
    width: 100%;
    height: auto;
    animation: btn 1.6s ease-in infinite;
}
footer {
    padding-bottom: calc(140 * var(--width));
}
section {
    position: relative;
}
img {
    width: 100%;
    height: auto;
    display: block;
}

.fv a {
    /* width: calc(732 * var(--width)); */
    width: calc(670 * var(--width));
    height: auto;
    position: absolute;
    /* bottom: calc(28 * var(--width)); */
    bottom: calc(0 * var(--width));
    left: 50%;
    transform: translateX(-50%);
}

.fv a img {
    animation: btn 1.6s ease-in infinite;
}

.counseling {
    margin-top: calc(-140 * var(--width));
    z-index: -1;
}
.access iframe {
    position: absolute;
    bottom: calc(38 * var(--width));
    left: 50%;
    transform: translateX(-50%);
    width: calc(568 * var(--width));
    height: calc(353 * var(--width));
}

@keyframes btn {
    0% {
        transform: scale(0.99);
    }
    10% {
        transform: scale(0.99);
    }
    30% {
        transform: scale(0.91);
    }
    40% {
        transform: scale(0.91);
    }
    50% {
        transform: scale(0.9, 0.94);
    }
    60% {
        transform: scale(0.99);
    }
    70% {
        transform: scale(0.92);
    }
    100% {
        transform: scale(0.99);
    }
}

.cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(732 * var(--width));
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.cta .btn01 {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.show {
    opacity: 1;
    visibility: visible;
}
.cta .btn01 img {
    animation: btn 1.6s ease-in infinite;
}