@charset "utf-8";

section#fv {
    position: relative;
    height: 670px;
}

section#fv .bg-frame {
    position: relative;
    height: 100%;
    overflow: hidden;
}

section#fv .bg-frame img {
    position: absolute;
    height: 120%;
    max-width: unset;
    margin: auto;
    -webkit-transform: translate(-48%, -12%);
    -ms-transform: translate(-48%, -12%);
    transform: translate(-48%, -12%);
    transition: all .3s;
}

section#fv .bg-frame img.pc {
    display: none;
}

section#fv .inner-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-flow: column;
    padding: 52px 20px;
    justify-content: space-between;
    max-width: 960px;
    margin: auto;
    padding: 52px 20px 20px;
    color: white;
}

section#fv .inner-content h1 {
    font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 4px 4px 6px #000;
    line-height: 1.2;
}

section#fv .inner-content p {
    margin-top: 20px;
    margin-bottom: auto;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 4px 4px 6px #000;
}

section#fv .anchors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-flow: column;
}

section#fv .anchors a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 236px;
    height: 46px;
    background-color: #FFFFFF11;
    border: solid 2px white;
}

.container-wrapper div,
.container-wrapper p,
.container-wrapper li {
    font-size: 14px;
    font-weight: 400;
    color: black;
    line-height: 1.4;
    letter-spacing: 0;
}

.container-wrapper {
    display: flex;
    justify-content: center;
    background: black url(../img/back-1024x582.png) center repeat-y !important;
    background-size: 120% !important;
}

.container-wrapper .container {
    width: 100%;
    max-width: 960px;
    padding: 50px 20px 200px;
    background-color: white;
}

section#features,
section#example {
    margin-bottom: 40px;
}

section h2 {
    max-width: 890px;
    margin: 0 auto;
}

section#features>div {
    margin-bottom: 10px;
}

section .main-img {
    width: -webkit-fill-available;
    max-width: unset;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 20px;
}

section#example .flex {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
    margin: 20px 0;
}

section#example .flex .w-100,
section#example .flex figure.half,
section#example .flex figure img {
    width: 100%;
}

section#flow>img {
    margin: 20px 0;
}

.contact-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    gap: 10px;
    aspect-ratio: 1 / 0.6;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 60px;
    padding: 0 36%;
    background-image: url(https://www.logos.co.jp/wp/wp-content/uploads/2024/12/Group-545.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-block.reverse {
    background: transparent;
}

.contact-block p {
    font-size: clamp(10px, 2vw, 14px);
    font-weight: 700;
    color: white;
}

.contact-block p span {
    margin-right: 4px;
    font-size: clamp(14px, 3vw, 20px);
}

.contact-block.reverse p {
    color: black;
}

@media (min-width: 426px) {
    section#fv .bg-frame img {
        height: 140%;
        -webkit-transform: translate(-41%, -18%);
        -ms-transform: translate(-41%, -18%);
        transform: translate(-41%, -18%);
    }
}

@media (min-width: 769px) {
    section#fv .inner-content {
        padding: 72px 20px 52px;
    }

    section#fv .bg-frame img {
        -webkit-transform: translate(-32%, -18%);
        -ms-transform: translate(-32%, -18%);
        transform: translate(-32%, -18%);
    }

    section#fv .anchors {
        flex-flow: row;
    }

    .container-wrapper div,
    .container-wrapper p,
    .container-wrapper li {
        font-size: 16px;
    }

    section#example .flex .half {
        width: auto;
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .contact-block {
        gap: 20px;
        padding: 0 30%;
    }

    .contact-block p {
        font-size: clamp(20px, 2vw, 24px);
    }

    .contact-block p span {
        font-size: clamp(28px, 3vw, 34px);
    }

    section#flow>img {
        max-width: 826px;
        margin: 40px auto;
    }
}

@media (min-width: 1025px) {
    section#fv {
        position: relative;
        height: auto;
    }

    section#fv .bg-frame img {
        position: unset;
        width: 100%;
        transform: none;
        transition: unset;
    }

    section#fv .inner-content {
        justify-content: center;
        padding: 40px;
        gap: 72px
    }

    section#fv .inner-content p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 32px;
    }

    section#fv .bg-frame img.sp {
        display: none !important;
    }

    section#fv .bg-frame img.pc {
        display: block !important;
    }
}
