body {
    margin: 0 auto;
    z-index: 1;
}

/* スタートアニメーション */
.st-line {
    width: 0%;
    height: 1px;

    background-color: white;
    position: fixed;
    top: 50%;
    z-index: 4;
}

.up {
    width: 101%;
    height: 100vh;
    background-color: #000;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    position: fixed;
    z-index: 3;
}

.down {
    width: 100%;
    height: 100vh;
    background-color: #000;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    position: fixed;
    z-index: 3;
    bottom: 0;
}

.start {
    width: 100%;
    display: table-cell;
    line-height: 100vh;
    text-align: center;
    vertical-align: middle;
    height: 100vh;
    position: fixed;
    opacity: 0;
    z-index: 4;
}

.start-font {
    font-size: 68px;
    width: 100%;
    font-family: serif;
    text-align: center;
    vertical-align: middle;
    color: white;
    /* left: 50%;
    top: 50%; */
    /* transform: translateX(-50%) translateY(-50%); */
    inset: 0;
    /* opacity: 0; */

    /* transition: 2.5s; */
}

/* アニメーション */

section {
    opacity: 0;
    transition: 1.5s;
}

.In {
    opacity: 1;
}

/* nav-bar関連 */

header {
    position: fixed;
    z-index: 2;
    width: 100%;
}

.burger {
    cursor: pointer;
    display: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.5s ease-in-out;
}

.navbar {
    width: 100%;
}

.nav {
    display: flex;
    justify-content: end;

}

.nav-active {
    transform: translateX(0%) !important;
}

/* topイメージ */
#top-img img {

    width: 100%;
    height: 60vh;
    padding-top: 40px;

}



/* 1stメッセージ */

/* #message1 {
    background-image: url(/img/1st-contact.png);
    background-size: 100% 100vh, cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    text-align: center;
    font-weight: bold;
    position: relative;
    height: 90vh;
    padding-top: 20px;


} */

.prob-h2 {
    padding: 30px 0;
}

#problem-area {
    width: 100%;
    padding: 0 8rem;
    display: flex;
    justify-content: space-between;
}

.problem-header {
    color: rgb(242, 67, 67);
    background: linear-gradient(transparent 75%, rgba(46, 240, 124, 0.2) 75%);
    margin-bottom: 0.7rem;

}

.problem-img {
    width: 100%;
    height: 18rem;
}

.problem-text {
    margin-top: 0.8rem;
}

.first-img-pc {
    width: 100%;
    height: 70vh;
}

.mobile-img {
    display: none;
}

.first-message {
    height: 4em;
}

.h1 {
    font-size: 20px;
    padding: 5%;
}

#problem-img {
    position: relative;
}

.first-img {
    height: 50vh;
}

/* 1stメッセージ */

.prob-h2 {
    text-align: center;
}

#problem-img h2 {
    /* position: absolute;
    top: 15px;
    left: 40%; */
    color: rgb(17, 16, 16);
}

.ballon img {
    width: 280px;
    height: 350px;
}



.ballon1 {
    position: absolute;
    top: 110px;
    left: 0%;
}

.ballon2 {
    position: absolute;
    top: 5px;
    left: 23%;
}

.ballon3 {
    position: absolute;
    top: 40px;
    right: 10%;
}

/* 出来ること */



#ability {
    background: url(/img/list-back.png) no-repeat top center/cover;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
}

.list-heading {
    background-color: rgba(119, 116, 116, 0.4);
    width: 65%;
    display: inline-block;
    text-align: center;
    align-items: center;
    height: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
}

.list-header {
    color: rgb(255, 255, 255);
}

.list-img {
    width: 268px;
    height: 268px;
}

.ability-list {
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    flex-direction: initial;
    flex-wrap: wrap;
    padding: 0;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    flex-direction: column;
    flex-wrap: initial;
    background-color: rgba(225, 225, 225, 0.6);
    /* width: calc((100%-2px)/3); */
    width: 20%;
    padding: 10px;
    margin-right: 1px;
    margin-bottom: 1px;
    opacity: 0;
    transition: 1.5s;

}

.show-item {
    opacity: 1;
}

.list-text span {
    display: inline-block;
}

.list-content {
    color: blue;
    font-size: 1.4rem;
}

/* 相談ボタン */
.consultation {
    margin-top: 40px;
    text-align: center;
}

.cn-btn {
    width: 32rem;
    height: 3rem;
    font-size: 24px;
    display: inline-block;
    margin-bottom: 40px;
    padding-top: 5px;
    text-decoration: none;
    text-align: center;
    border-radius: 15px;
}

.fa {
    margin-right: 10px;
    font-size: 30px;
}

.consul-button {
    background-color: red;
    color: white;
}

.line-button {
    background-color: #00c300;
    color: white;
}

.consultation p {
    background-color: yellow;
    padding: 0.8rem;
    width: 32rem;
    margin: 0 auto;
    border-radius: 30px;
}

.consultation span {
    display: inline-block;
}

/* 料金表示 */
#payment {
    background-image: url(/img/payment-back\ \(1\).png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    width: 100%;
    padding-top: 40px;
}



#payment h1 {
    text-align: center;
    color: rgb(214, 35, 35);
}

.pay-text {
    text-align: center;
    font-size: 18px;
    margin-top: 18px;
}


.start-font span,
.pay-text span,
.pay-description,
.list-description span {
    display: inline-block;
}

.pay-inner {
    display: flex;
    justify-content: center;

}

.pay-list,
.excel-list {
    width: 45%;
    text-align: center;
    margin-right: 15px;
}

.h3-head {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.standard-head {
    background-color: rgb(96, 96, 215);

}

.subscription-head {
    background-color: rgb(212, 131, 131);
}

.pay-area {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 30px 0;

}

.pay-title {
    color: rgb(70, 97, 158);
    font-style: italic;
    margin-bottom: 30px;
}

.price {
    margin: 60px auto 0 auto;
    width: 90%;
    height: auto;
    background-color: rgba(225, 225, 225, 0.6);
    padding: 26px 0;
    border-radius: 6px;
}



.price-description span {
    color: blue;
    font-size: 30px;
    font-style: italic;
}

/* フォーム */
#consul-form {
    background-color: rgba(0, 0, 0, 0.6);
    color: black;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.form {
    background-color: #fff;
    padding: 1.3rem;
}

#consul-form p {
    text-align: center;
    color: red;
    font-size: 18px;
}



.form-group {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
}

.form-group label {
    width: 120px;
    align-self: center;
    margin-left: 2rem;
}

.form-group>div {
    width: 340px;
}


.button-area {
    text-align: center;
    margin-top: 1rem;
}

.form-button {
    background-color: rgb(48, 25, 223);
    padding: 10px 20px 10px 20px;
    border-radius: 8px;
    color: white;
    margin-right: 2rem;
}

.p-info>details>div {
    height: 100vh;
}

/* footer */

footer {
    padding: 1rem 4rem;
    border-top: rgb(193, 190, 190) 1px solid;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}

.copylight {
    display: flex;
    flex-flow: column;
}

.copylight img {
    width: 9rem;
    height: 5rem;
    margin-bottom: 12px;
}

.copylight a {
    color: rgb(150, 144, 144);
    text-decoration: none;
    font-size: 12px;
}

.footer-sns {
    font-size: 2rem;
    margin-right: 14px;
}

.insta {
    color: rgb(225, 48, 108);
}

.sns-link {
    margin-bottom: 24px;

}


@media screen and (max-width:1024px) {
    #top-img video {
        height: 50vh;
        padding: 0;
    }
}

/* タブレット */
@media screen and (max-width:820px) {

    /*  ハンバーガーメニュー */

    #page {
        overflow-x: hidden;

    }

    .nav {
        height: 8vh;
    }

    .navbar {
        position: relative;
        top: 0;
        left: 0;
        z-index: 10;
    }

    .nav {
        position: absolute;
        right: 0;
        height: 91vh;
        top: 9vh;
        width: 30%;
        flex-direction: column;
        justify-content: start;
        background-color: rgba(246, 248, 248, 0.7);
        z-index: 10;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
    }

    .nav li {
        opacity: 0;
    }

    .burger {
        display: block;
        margin-right: 20px;
    }

    .start-font {
        font-size: 60px;
        width: auto;
    }

    /* 1stメッセージ */

    .h1 {
        font-size: 16px;
    }

    /* 料金 */

    .pay-inner {
        display: block;
        justify-content: space-between;

    }

    .pay-list {
        width: 100%;
        text-align: center;
    }

    .pay-list {
        width: 100%;
    }

    .pay-inner {
        padding: 0;
    }

    .price-area {
        display: flex;
        align-items: center;
    }

    .price-description {
        margin-left: 20px;
    }

    .price {
        margin: 0 auto;
    }

    footer {
        padding: 1rem 2rem;
    }

}

/* スマホ */
@media screen and (max-width:430px) {

    .start-font {
        font-size: 28px;
        width: 100%;

    }

    /* 1stメッセージ */
    .first-img-pc {
        display: none;
    }

    #problem-img {
        position: relative;
    }

    .mobile-img {
        display: block;
    }

    .text-1 {
        position: absolute;
        top: 20px;
    }

    .text-2 {
        position: absolute;
        top: 120px;
    }

    .text-3 {
        position: absolute;
        top: 220px;
    }

    .problem-header {
        text-align: center;
    }

    #problem-area {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .problem-text {
        align-items: center;
        width: 95%;
        height: 5.5rem;
        font-size: 0.9rem;
        background-color: white;
        margin-top: 20px;
        margin-left: 2.5%;
        /* border: solid black 2px;
        border-radius: 20px; */
    }

    .problem-text span {
        color: red;
    }

    .mobile-icon {
        width: 110px;
        height: 110px;
    }

    /* 出来ること */
    .ability-list {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 0;
    }

    .list-item {
        width: 100%;
    }

    /* 相談ボタンエリア */
    .cn-btn {
        width: 100%;
    }

    .consultation p {
        width: 100%;
    }

    /* form */

    .form {
        width: 100%;
        padding: 0.8rem;
    }

    .form-label {
        font-size: 10px;
    }

    .p-info {
        font-size: 10px;
    }

    .p-info>details>div {
        font-size: 10px;
    }
}

/* アニメーション */

@keyframes navFade {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(45deg) translate(-3px, 14px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(-405deg) translate(-3px, -14px);
}