@charset "utf-8";

:root {
    --color-main: #ffcc00;
    --color-base: #000;
    --color-red: #da2127;
    --color-green: #0a955a;
    --color-gray: #f2f2f2;
    --color-white: #fff;
    --border-radius: 10px;
    --font-bold: 700;
}

@font-face {
    font-family: 'Ackaisyo';
    src: url('../fonts/ackaisyo.woff2') format('woff2'),
        url('../fonts/ackaisyo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;

}

body {
    color: var(--color-base);
    font-family:
        "din-2014",
        "Noto Sans JP",
        sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
}

main {
    margin-top: 50px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    display: inline-block;
    width: 100%;
    color: var(--color-base);
    text-decoration: none;
}

li {
    list-style: none;
}

.inner {
    padding-inline: 5%;

}

h2 {
    padding-block: 30px;
    font-size: 2.4rem;
    text-align: center;
}

span.color-main {
    color: var(--color-main);
}

span.color-red {
    color: var(--color-red);
    font-size: 2.6rem;
}

span.color-yellow {
    color: var(--color-main);
}

span.border-white {
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: left 90%;
    background-size: 100% 12px;
}

span.border-yellow {
    background: linear-gradient(transparent 70%, var(--color-main) 50%);
}

.accent {
    padding-inline: 7px;
    background: var(--color-white);
    border-radius: var(--border-radius);
}

.sp {
    display: block;
}

.pc {
    display: none;
}

.btn-more {
    display: block;
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    padding: 10px 42px;
}

.btn-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-base);
    border-radius: 50px;
    transition: transform 0.3s;
}

.btn-more .btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: var(--font-bold);
    color: var(--color-white);
}

.btn-more .btn-circle {
    content: "";
    position: absolute;
    right: 10%;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
}

.btn-more .btn-circle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-left: 7px solid #000;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/**********************
header
***********************/
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    padding-left: 20px;
    background: var(--color-white);
    border-bottom: 1px solid #999;
}

.header-logo {
    width: 110px;
    z-index: 99999;
}

.toggle {
    display: block;
    position: relative;
    z-index: 99999;
    width: 50px;
    height: 50px;
    padding: 20px;
    background: var(--color-base);
}

.toggle .line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--color-white);
    transition: 0.3s;
}

.toggle .line:nth-of-type(1) {
    top: 30%;
}

.toggle .line:nth-of-type(2) {
    top: 50%;
}

.toggle .menu {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-weight: var(--font-bold);
    font-size: 1rem;
}

.header-pc,
.header-pc-cta {
    display: none;
}

.contact-btn {
    position: relative;
    z-index: 0;
    background: var(--color-green);
}

.contact-btn a {
    position: relative;
    display: inline-block;
    width: unset;
    color: var(--color-white);
}

.contact-btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(../images/mail-icon.svg) no-repeat center / contain;
}


/* ハンバーガー */

.logo-open {
    display: none;
}

.header.is-open .logo-default {
    display: none;
}

.header.is-open .logo-open {
    display: block;
}

.menu-close {
    display: none;
}

.header.is-open .menu-open {
    display: none;
}

.header.is-open .menu-close {
    display: inline;
}

.header.is-open .toggle {
    background: none;
}

.header.is-open .line:nth-child(1) {
    transform: translateX(-50%) rotate(25deg);
    top: 40%;
}

.header.is-open .line:nth-child(2) {
    transform: translateX(-50%) rotate(-25deg);
    top: 40%;
}

.header-sp {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100vh;
    background: #333;
    color: var(--color-white);
    padding: 5%;
    overflow: auto;
    transition: all 0.5s;
}

.header-sp ul {
    max-width: 350px;
    padding-block: 60px 40px;
}

.header-sp li {
    font-weight: var(--font-bold);
    border-bottom: 1px solid #f2f2f259;
}

.header-sp ul li:first-of-type {
    border-top: 1px solid #f2f2f259;
}

.header-sp li a {
    padding: 15px 10px;
    color: var(--color-white);
}

.header.is-open .header-sp {
    opacity: 1;
    visibility: visible;
}

.header.is-open .header-wrapper {
    background: #333;
}

body.header.is-open {
    overflow: hidden;
}

.header-sp-cta {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 350px;
    font-weight: var(--font-bold);
}

.header-sp-cta .free {
    display: flex;
    justify-content: center;
    gap: 5px;
    width: 280px;
    height: 50px;
    margin: 0 auto;
    padding-block: 5px;
    color: var(--color-white);
    background: #ca171d;
    border-radius: 5px;
}

.header-sp-cta .free a {
    color: var(--color-white);
}

.free-icon {
    width: 20%;
}

.icon-text {
    margin-top: -4px;
    font-size: 0.45rem;
    text-align: center;
    white-space: nowrap;
}

.free-time {
    font-size: 1rem;
    margin-top: -2px;
}

.header-sp-cta .contact {
    position: relative;
    width: 280px;
    height: 50px;
    margin: 0 auto;
    text-align: center;
}

.header-sp-cta .contact-lead {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    padding-block: 2px;
    border-radius: 50px;
    color: var(--color-base);
    font-size: 1rem;
}

.header-sp-cta .contact-lead::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    z-index: -1;
    transform: translateX(-50%);
    border-width: 12px 10px 0 10px;
    border-style: solid;
    border-color: var(--color-main) transparent transparent transparent;
}

.header-sp-cta .contact-btn {
    border-radius: 5px;
}

.header-sp-cta .contact-btn a {
    padding-left: 25px;
    line-height: 50px;
}

.header-sp .privacy a {
    display: inline-block;
    margin-block: 30px 60px;
    color: var(--color-white);
}

.header-sp .copyright {
    text-align: left;
}


/**********************
cta
***********************/
.cta {
    margin-top: 120px;
    padding-block: 60px 30px;
    background: var(--color-main);
    font-weight: var(--font-bold);
}

.cta .inner {
    position: relative;
    padding-bottom: 30px;
}

.cta img {
    position: absolute;
    top: 130px;
    right: 0;
    width: 35%;
    object-fit: contain;
}

.target {
    margin: 0 auto;
}

.target p {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    padding: 10px 15px 10px 25px;
    background: var(--color-white);
    border-radius: var(--border-radius);
}

.target p::before {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.cta .cta-contents {
    position: relative;
    z-index: 1;
    margin: 20px auto 0;
    padding: 20px 25px;
    background: var(--color-red);
    border-radius: var(--border-radius);
    text-align: center;
}

.cta .tel-num {
    font-size: 4.5rem;
}

.option {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.option p {
    width: calc((100% / 3) - 4px);
    background: var(--color-main);
    color: var(--color-base);
    border-radius: 50px;
}

.tel-lead {
    position: relative;
    background: var(--color-white);
    border-radius: 50px;
}

.tel-lead .color-red {
    font-size: 1.1rem;
}

.tel-lead::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: var(--color-red) transparent transparent transparent;
}

.tel-lead::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    border-width: 12px 10px 0 10px;
    border-style: solid;
    border-color: var(--color-white) transparent transparent transparent;
}

.cta .tel div {
    padding-block: 10px;
}

.cta .tel-num {
    position: relative;
    margin: 0 auto;
    padding-left: 32px;
    width: fit-content;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1;
}

.cta .tel-num a {
    color: var(--color-white);
}

.cta .tel-num::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url(../images/tel-icon-white.svg) no-repeat center / contain;
}

.cta .tel-time {
    margin-bottom: 15px;
    color: var(--color-white);
    font-size: 1.2rem;
}

.cta .contact {
    position: relative;
}

.contact-lead {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 65%;
    padding-inline: 10px;
    background: var(--color-main);
    border-radius: 50px;
    text-align: center;
}

.cta .contact-lead::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    border-width: 12px 10px 0 10px;
    border-style: solid;
    border-color: var(--color-main) transparent transparent transparent;
}

.cta .contact-btn {
    padding-block: 20px;
    border-radius: var(--border-radius);
}

.cta .contact-btn a {
    padding-left: 35px;
    font-size: 2rem;
}

.cta .contact-btn a::before {
    width: 30px;
    height: 30px;
}

/**********************
footer
***********************/
footer {
    padding-block: 30px 90px;
    background: var(--color-base);
    color: var(--color-white);
    text-align: center;
}

footer a {
    display: inline-block;
    width: fit-content;
    color: var(--color-white);
    text-align: center;
}

footer img {
    width: 190px;
}

.footer-info {
    padding-block: 30px 20px;
}

.footer-info p {
    width: fit-content;
    margin: 0 auto;
    padding: 5px;
}

.footer-info .privacy {
    display: none;
}

.footer-info .privacy a {
    color: var(--color-white);
}

.map-icon a {
    position: relative;
    padding-left: 20px;
}

.map-icon a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url(../images/map-pin.svg) no-repeat center / contain;
}

.footer-nav {
    display: none;
}

.footer-tel {
    display: none;
}

.copyright {
    padding-top: 20px;
    text-align: center;
}

/**********************
topへ戻る
***********************/
.to-top {
    position: fixed;
    right: 5%;
    bottom: 90px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-base);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s;
}

.to-top.is-show {
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-left: 2px solid var(--color-white);
    transform: rotate(45deg);
}

/**********************
フローティングボタン
***********************/
.floating {
    display: flex;
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    max-width: unset;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating.is-show {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
}


.floating .free,
.floating .contact-btn {
    border-radius: 0;
}

.floating .free,
.floating .contact {
    width: 50%;
}

.floating .free-tap,
.floating .contact-btn a {
    font-size: 1.5rem;
}

.floating .contact-lead {
    width: 70%;
    font-size: 1rem;
}

/**********************
hover(sp)
***********************/
.header-pc li a,
.header-sp li a,
.footer-nav li a,
.footer-info a,
.contact-btn,
.fv-form .btn-submit,
.btn-more,
.btn-more span {
    transition:
        color 0.3s,
        background-color 0ms,
        transform 0.3s,
        filter 0.3s;
}

.header-pc li:not(.contact-btn) a:active {
    color: var(--color-red);
}

.header-sp li a:active,
.privacy u:active,
.footer-nav li a:active,
.footer-info p a:active {
    color: var(--color-main);
}

.header-pc .contact-btn a:active,
.contact-btn:active,
.free:active,
.fv-form .btn-submit:active {
    filter: brightness(1.2);
}

.btn-more:active {
    transform: translateX(-50%) scale(0.95);
}

.btn-more:active span {
    transform: translateY(-50%) scale(1.2);
}

.third-contents-a .feature-image .btn-more:active,
.contact-form input.wpcf7-submit:active {
    transform: scale(0.95);
}

/**********************
レスポンシブ
***********************/
@media (min-width: 480px) {
    body {
        font-size: 1.6rem;
    }

    .logo-open {
        display: none;
    }

    .cta .inner {
        max-width: 480px;
        margin: 0 auto;
    }

    .tel-lead .color-red {
        font-size: 1.25rem;
    }

    .footer {
        padding-block: 30px;
    }

    .footer-info .privacy {
        display: block;
    }

    .floating {
        display: none;
    }

    /**********************
    hover(pc)
    ***********************/
    .header-pc li:not(.contact-btn):hover a {
        color: var(--color-red);
    }

    .fv-form .btn-submit:hover,
    .contact-btn:hover,
    .free:hover,
    .contact-btn:hover {
        filter: brightness(1.2);
    }

    .btn-more:hover::before {
        transform: scale(0.95);
    }

    .btn-more:hover .btn-circle {
        transform: translateY(-50%) scale(1.2);
    }

    .btn-more:hover .btn-circle::before {
        transform: translate(-35%, -50%) scale(0.9);
    }

    .contact-form input.wpcf7-submit:hover {
        transform: scale(0.95);
    }

    .header-sp li:hover a,
    .privacy u:hover,
    .footer-nav li:hover a,
    .footer-info p:hover a {
        color: var(--color-main);
    }
}

@media (min-width: 750px) {
    .sp {
        display: none;
    }

    .pc {
        display: block;
    }

    .inner {
        padding-inline: 8%;
    }

    span.color-red {
        font-size: 3.8rem;
    }

    .btn-more {
        padding: 15px 60px;
    }

    .header-sp {
        overflow: unset;
    }

    .cta .target p .pc,
    .cta .cta-box .pc {
        display: none;
    }

    .cta .inner {
        max-width: 750px;
        margin: 0 auto;
        padding-inline: 11%;
    }

    .cta .target p {
        font-size: 2rem;
    }

    .cta .tel-lead {
        padding: 5px;
    }

    .tel-lead .color-red {
        font-size: 1.6rem;
    }

    .cta .tel-num {
        font-size: 5.5rem;
    }

    .cta .tel-num::before {
        left: -20px;
        width: 40px;
        height: 40px;
    }

    .cta .tel-time {
        font-size: 1.25rem;
    }

    .cta .contact-btn a {
        font-weight: var(--font-bold);
        font-size: 3rem;
    }

    .cta img {
        right: 80px;
        top: 150px;
    }

    .footer-tel {
        display: block;
    }
}

@media (min-width:1024px) {
    .header-wrapper {
        height: 120px;
        padding-left: 40px;
    }

    .header-logo {
        width: 195px;
    }

    .toggle,
    .header-sp {
        display: none;
    }

    .header-container {
        width: calc(100% - 220px);
        border-left: 1px solid #999;
    }

    .header-pc-cta {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        height: 60px;
        border-bottom: 1px solid #999;
    }

    .header-pc {
        display: flex;
        justify-content: flex-end;
        height: 60px;
    }

    .header-pc ul {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
    }

    .header-pc li {
        position: relative;
        padding-right: 15px;
        line-height: 60px;
        font-weight: 500;
    }

    .header-pc li::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 1px;
        height: 30px;
        background-color: #999;
        transform: translateY(-50%);
    }

    .header-pc li.list-price {
        border: none;
        padding-right: 0;
    }

    .header-pc li.list-price::after {
        display: none;
    }

    .header-pc .contact-btn {
        position: relative;
        top: -16px;
        border-radius: 0;
        border: none;
        padding: 0 15px;
    }

    .header-pc .contact-btn a {
        padding-left: 25px;
    }

    .header-pc .contact-btn a::before {
        width: 20px;
        height: 20px;
    }

    .header.is-open .header-pc-cta {
        display: none;
    }

    .header-pc-cta .tel {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-pc-cta .tel-lead {
        display: flex;
        align-items: center;
        padding-inline: 10px;
        color: var(--color-red);
        font-size: 1.25rem;
        border: 1px solid var(--color-red);
    }

    .header-pc-cta .tel-lead::before {
        left: unset;
        bottom: unset;
        right: -8px;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        border-width: 7px 5px 0 7px;
    }

    .header-pc-cta .tel-lead::after {
        left: unset;
        bottom: unset;
        right: -7px;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        border-width: 7px 5px 0 7px;
    }

    .header-pc-cta .tel-num {
        position: relative;
        margin: 0 auto;
        padding-left: 32px;
        width: fit-content;
        font-weight: 900;
        font-size: 4rem;
        line-height: 1;
    }

    .header-pc-cta .tel-num a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        background: url(../images/header-telmark.svg) no-repeat center / contain;
    }

    .header-pc-cta .tel-time {
        font-size: 1.25rem;
    }

    .header-pc .contact {
        position: relative;
    }

    .header-pc .contact-lead {
        position: relative;
        top: -10px;
        width: 91%;
        font-size: 1rem;
    }

    .header-pc .contact-lead::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -7px;
        z-index: -1;
        transform: translateX(-50%);
        border-width: 12px 10px 0 10px;
        border-style: solid;
        border-color: var(--color-main) transparent transparent transparent;
    }

    main {
        margin-top: 120px;
    }

    .cta .inner {
        max-width: 1000px;
    }

    .cta .cta-container {
        width: 75%;
        margin: 0 auto;
    }

    .cta .target {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .cta .target p {
        width: calc(100% / 3);
        padding: 15px 15px 15px 30px;
        margin-bottom: 16px;
        font-size: 1.8rem;
    }

    .cta .target p .pc {
        display: block;
    }

    .cta .option {
        display: flex;
    }

    .cta .tel-lead {
        margin: 0 auto;
        padding-inline: 10px;
    }

    .cta .contact-lead {
        width: 75%;
    }

    .cta .contact-btn {
        padding: 30px 35px 25px;
    }

    footer {
        padding-block: 60px 30px;
        text-align: left;
    }

    .footer-wrapper>a {
        display: block;
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
    }

    .footer-nav {
        display: block;
    }

    .footer-nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 30px;
        padding-top: 30px;
    }

    .footer-info p {
        margin: unset;
    }
}

@media (min-width: 1200px) {
    .inner {
        max-width: 1140px;
        margin: 0 auto;
        padding-inline: 0;
    }

    .header-pc-cta .tel-lead br {
        display: none;
    }

    .cta .inner {
        padding-inline: 0;
    }

    .cta .cta-contents {
        width: 100%;
        padding: 20px 35px;
    }

    .cta .option p {
        width: calc((100% / 3) - 10px);
        padding-block: 5px;
    }

    .cta .cta-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cta .tel-lead .color-red,
    .cta .contact-lead {
        font-size: 1.6rem;
    }

    .cta .tel-num {
        font-size: 5.5rem;
    }
}