@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
    --green: #009CA3;
    --blue: #64C8E6;
    --light-blue: #C8F8FA;
    --yellow: #FFFDEF;
    --white: #FFF;
    --pink: #FF8D8D;
}

@media (min-width: 1101px) {
    html {
        font-size: 10px;
    }
}

@media (max-width: 1100px) and (min-width: 768px) {
    html {
        font-size: calc((100vw * 10) / 1100);
    }
}

@media (max-width: 750px) {
    html {
        font-size: calc((100vw * 10) / 390);
    }
}

body {
    color: #191919;
    font-size: 1.6rem;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: bold;
    text-align: justify;
    margin: 0 auto;
    text-align: left;
    word-break: break-word;
    letter-spacing: 0;
}

img {
    display: block;
    width: 100%;
}

a {
    display: inline-block;
    cursor: pointer;
}

section {
    position: relative;
}

p {
    font-size: 1.8rem;
    line-height: 2;
    font-weight: 600;
}

.sp {
    display: none;
}

@media  (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

/* =====================
    Main CSS
===================== */

header {
    padding: 1.4rem 0;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 100;
    transition: all 0.5s;
}

header.scroll_header {
    transition: all 0.5s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo {
    width: 20.7rem;
    display: inline-block;
    position: relative;
    z-index: 10000;
}

.wrapper {
    max-width: 100rem;
    margin: auto;
}

section {
    padding: 7.3rem 0 8rem 0;
}

.fv {
    padding: 10rem 0 5rem 0;
}

.fv-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fv-maintxt01,
.fv-maintxt02 {
    font-size: 3.8rem;
}

.fv-maintxt01 {
    line-height: 1.368;
    margin-bottom: 0.8rem;
}

.fv-maintxt01 span {
    color: var(--green);
}

.fv-maintxt02 {
    position: relative;
    display: inline-block;
    color: var(--white);
    padding: 0.8rem 1.3rem;
    margin-bottom: 2.6rem;
    overflow: hidden;
}

/* 背景 */
.fv-maintxt02::before{
    content:"";
    position:absolute;
    inset:0;
    background:var(--green);
    transform:scaleX(0);
    transform-origin:left;
    z-index:-1;
}

/* 背景アニメーション開始 */
.fv-maintxt02.is-active::before{
    animation:bgSlide 0.6s ease forwards;
}

/* 文字 */
.fv-maintxt02 span{
    display:inline-block;
    opacity:0;
    transform:translateY(20px);
}

.fv-maintxt02.is-active span{
    animation:textUp 0.5s ease forwards;
}

@keyframes bgSlide{
    to{
        transform:scaleX(1);
    }
}

@keyframes textUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.fv-subtxt {
    font-size: 2rem;
    line-height: 2;
}

.fv-img {
    width: 42.2rem;
}

.about {
    background-color: var(--light-blue);
}

h2 {
    font-size: 3.2rem;
    line-height: 1;
    text-align: center;
    margin-bottom: 5.2rem;
}

.h2_subtxt {
    font-size: 2.6rem;
    line-height: 1;
    text-align: center;
    margin-bottom: 4.7rem;
}

.about-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
}

.about-img {
    width: 22rem;
}

.service {
    background-color: var(--yellow);
}

.service-lists {
    margin: 3.2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.service-lists li {
    width: 23rem;
    height: 5.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--blue);
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-lists li span {
    display: block;
    font-size: 1.4rem;
}

.merit-contents {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 3.5rem;
}

.merit-img {
    width: 23rem;
}

.merit-lists {
    margin-bottom: 4rem;
}

.checkbox {
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 600;
    padding-left: 5.2rem;
    margin: 1.1rem 0;
    position: relative;
}

.checkbox::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 4.4rem;
    height: 3.3rem;
    background-image: url(../img/checkbox.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.plan {
    background-color: var(--light-blue);
}

.plan-contents {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.plan .h2_subtxt {
    text-align: left;
}

.plan-lists {
    margin: 2.5rem 0;
}

.plan-txt {
    font-size: 1.8rem;
    line-height: 1;
}

.plan-img {
    width: 22.6rem;
    margin-left: 4.2rem;
}

.manager {
    background-color: var(--yellow);
}

.manager-lists {
    margin: 3.2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.7rem;
}

.manager-lists li {
    width: 48.3rem;
    height: 5.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--blue);
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.faq {
    background-color: var(--light-blue);
}

.faq-contents {
    background-color: var(--white);
    border-radius: 3rem;
    padding: 3.4rem 2.2rem;
}

.faq-lists li {
    border-bottom: 1px solid #707070;
    padding-bottom: 2.2rem;
    margin-bottom: 2.9rem;
}

.faq-lists li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-lists p {
    font-size: 2rem;
    line-height: 1.3;
}

.faq-q {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 2rem;
}

.faq-q::before {
    position: absolute;
    content: "Q.";
    top: -0.7rem;
    left: 1rem;
    font-size: 3.2rem;
    color: var(--blue);
}

.faq-a {
    position: relative;
    padding-left: 9.5rem;
}

.faq-a::before {
    position: absolute;
    content: "A.";
    top: -0.7rem;
    left: 4.5rem;
    font-size: 3.2rem;
    color: var(--pink);
}

input,
textarea {
    width: 100%;
    max-width: 70rem;
    border: 1px solid #707070;
    border-radius: 1rem;
    padding: 2.2rem;
    line-height: 1;
    font-size: 16px;
}

input::placeholder {
    font-size: 2rem;
    color: #B4B4B4;
}

input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: 2px solid #707070;
    border-radius: 0;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

input[type="checkbox"]:checked{
    background: #707070;
    border-color: #707070;
}

input[type="checkbox"]:checked::after{
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="submit"] {
    text-align: center;
    color: var(--white);
    background-color: #FF7600;
    margin-top: 3rem;
    border: 0;
}

.form-checkbox label {
    display: block;
    margin: 0.5rem 0;
}

.form-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-name input {
    max-width: 26.9rem;
}

.form-contents span {
    font-size: 1.6rem;
    padding: 0.6rem 0.8rem;
    line-height: 1;
    color: var(--white);
    background-color: #D60000;
    margin-left: 1.5rem;
}

.form-contents .form-title {
    margin-top: 2.5rem;
    margin-bottom: 0.6rem;
}

.form-copyright {
    width: 100%;
    max-width: 70rem;
    text-align: center;
    margin-top: 2rem;
}

footer {
    background-color: var(--light-blue);
    padding: 3rem 0 1.5rem 0;
    text-align: center;
}

footer a,
footer p {
    line-height: 1;
    font-size: 1.4rem;
    font-weight: 600;
}

footer p {
    margin-top: 1.5rem;
}

.privacy {
    padding: 12rem 0 7rem 0;
}

.privacy h1 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 3.5rem;
}

.privacy h2 {
    font-size: 2rem;
    text-align: left;
    margin-top: 5.5rem;
    margin-bottom: 1rem;
}

.privacy li,
.privacy p {
    font-size: 1.8rem;
    line-height: 2;
    font-weight: 600;
}

.privacy ol {
    list-style: none;
    counter-reset: privacy-number;
}

.privacy ol li {
    position: relative;
    padding-left: 3.5rem;
    counter-increment: privacy-number;
    margin-bottom: 2.5rem;
}

.privacy ol li:last-child {
    margin-bottom: 0;
}

.privacy ol li::before {
    content: counter(privacy-number) ".";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.privacy-date {
    text-align: end;
    margin: 2.5rem 0 6rem 0;
}

@media  (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    section {
        padding: 5rem 0;
    }
    p {
        font-size: 1.6rem;
    }
    .logo img {
        width: auto;
        height: 47px;
    }
    .wrapper {
        width: 90%;
    }
    .fv {
        padding: 8rem 0 5rem 0;
    }
    .fv-maintxt01 {
        font-size: 3.4rem;
        text-align: center;
    }
    .fv-maintxt02 {
        display: block;
        font-size: 2.2rem;
        text-align: center;
    }
    .fv-img {
        width: 100%;
        margin-bottom: 3rem;
    }
    .fv-subtxt {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 2.6rem;
        margin-bottom: 3rem;
    }
    .h2_subtxt {
        font-size: 2.2rem;
        margin-bottom: 3rem;
        line-height: 1.5;
    }
    .about-contents {
        flex-direction: column-reverse;
    }
    .about-img {
        width: 50%;
        margin: 0 auto 3rem auto;
    }
    .service-lists {
        margin: 3rem 0;
        gap: 1rem 2%;
    }
    .service-lists li {
        width: 49%;
        height: 4.5rem;
        font-size: 1.4rem;
    }
    .service-lists li span {
        font-size: 1.2rem;
    }
    .merit-img {
        width: 50%;
        margin: 0 auto 3rem auto;
    }
    .merit-contents {
        gap: 0;
    }
    .merit-lists {
        width: 80%;
        margin: auto;
        margin-bottom: 3rem;
    }
    .checkbox {
        font-size: 1.8rem;
        padding-left: 4rem;
    }
    .checkbox::before {
        width: 3.4rem;
        height: 2.3rem;
    }
    .plan .h2_subtxt {
        text-align: center;
    }
    .plan-img {
        width: 50%;
        margin: auto;
    }
    .plan-lists {
        width: 80%;
        margin: 3rem auto;
    }
    .manager-lists {
        margin: 3rem 0;
    }
    .manager-lists li {
        width: 100%;
        font-size: 1.4rem;
    }
    .faq-lists p {
        font-size: 1.6rem;
    }
    .faq-q,
    .faq-a {
        padding-left: 5rem;
    }
    .faq-q::before,
    .faq-a::before {
        font-size: 2.4rem;
        left: 1rem;
    }
    input, textarea {
        padding: 1rem;
    }
    input::placeholder {
        font-size: 16px;
    }
    input[type="checkbox"]{
        width: 2rem;
        height: 2rem;
    }
    footer {
        padding: 1.1rem 0 0.5rem 0;
    }
    footer p {
        margin-top: 0.5rem;
    }

    .privacy h2 {
        line-height: 1.5;
    }
    .privacy li,
    .privacy p {
        font-size: 1.6rem;
    }
}


/* =====================
    ハンバーガー
===================== */

.main-nav-wrapper {
    position: fixed;
    top: 0;
    transform: initial;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: .4s;
    z-index: 999;
    overflow-y: auto;
    border-radius: 0;
    padding: 100px 20px 0 20px;
}

.hamburger {
    display: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    z-index: 9999;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #191919;
    margin: 7px 0;
    transition: .3s;
}

@media  (max-width: 768px) {
    .hamburger {
        display: block;
        top: 23px;
        right: 20px;
    }

    .main-nav-wrapper {
        position: fixed;
        top: 0;
        transform: initial;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: .4s;
        z-index: 999;
        overflow-y: auto;
        border-radius: 0;
        padding: 15rem 0 0 0;
        display: flex;
        flex-direction: column;
    }

    .main-nav-wrapper.open {
        right: 0;
    }

    .main-nav-wrapper li {
        text-align: center;
        margin-bottom: 3rem;
    }

    .main-nav-wrapper li a {
        font-size: 2rem;
        font-weight: 600;
        color: var(--green);
    }

    .hamburger-contact a {
        background-color: #FF7600;
        color: var(--white)!important;
        border-radius: 1rem;
        padding: 2.2rem 7rem;
    }

    .hamburger-footer {
        margin-top: auto;
        background-color: var(--light-blue);
        text-align: center;
        padding: 1.1rem 0 0.5rem 0;
    }

    .hamburger-footer a,
    .hamburger-footer p {
        line-height: 1;
        font-size: 1.4rem;
        font-weight: 600;
    }

    .hamburger-footer p {
        line-height: 1.4;
        margin-top: 0.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .main-contents {
        gap: 0;
    }

    .main-nav {
        width: 0;
    }
}

/* アニメーション */
/* アニメーションスタートの遅延時間を決めるCSS*/

.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger {
    opacity: 0;
}

.delay-time06 {
    animation-delay: 0.6s;
}
.delay-time08 {
    animation-delay: 0.8s;
}
.delay-time10 {
    animation-delay: 1s;
}
.delay-time12 {
    animation-delay: 1s;
}

/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/
    
.fade {
    opacity: 0;
}
    
/*==================================================
動き自体の指定：今回は「ふわっ」
===================================*/
    
.fadeUp {
    animation-name:fadeUpAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity: 0;
    }
    @keyframes fadeUpAnime{
        from {
        opacity: 0;
        transform: translateY(100px);
        }
    
        to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .delay-time06 {
        animation-delay: 0.6s;
    }
    .delay-time08 {
        animation-delay: 0.6s;
    }
    .delay-time10 {
        animation-delay: 0.6s;
    }
    .delay-time12 {
        animation-delay: 0.6s;
    }
}