/*===header===*/
#header {
    position: absolute;
    z-index: 99;
    width: 100%;
    padding: 1rem;
}
.header__inner {
    position: relative;
}

.header__point {
    width: 100%;
    display: flex;
    max-width: 820px;
    margin: auto;
    justify-content: center;
}
.header__point--area {
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    flex-wrap: wrap;
    margin-top: 10px;
}
.header__point--item {
    border: 1px solid #26a7bb;
    color: #26a7bb;
    background-color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.header__logo {
    position: absolute;
    width: 80px;
    top: 0;
    left: 1rem;
}

/*===mv===*/
.mv {
    height: 100vh;
    position: relative;
    background-image: url(../lifemoneypartner/assets/img/main-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.mv__txt {
    line-height: 4.5rem;
    position: absolute;
    right: 15%;
    top: 12rem;
}
.mv__txt--common {
    font-weight: bold;
}
.mv__txt h1 {
    font-size: 2.8rem;
    color: #fff;
    width: fit-content;
}
.mv__txt h2 {
    font-size: 2.5rem;
    color: #26a7bb;
}
.bgblue {
    background-color: #26a7bb;
    padding: 0.5rem;
}

.blue__txt {
    color: #26a7bb;
    font-size: 2.3rem;
    margin-left: 0.5rem;
}

.mv__logo {
    display: flex;
    align-items: center;
}
.mv__logo--img {
    width: 140px;
}

.mvunder {
    background-color: rgba(38,167,187,0.6);
    padding: 2rem 1rem;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.mvunder__txt p {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}
.mvunder__btn {
    text-align: center;
}

.large__txt {
    font-size: 1.5rem;
}

/*===訴求軸rank===*/
.rank {
    background-color: #26a7bb;
    padding: 10rem 0;
}

.rank__title {
    margin-bottom: 3rem;
}
.rank__title h2 {
    color: #fff;
    border-left: 5px solid #fff;
    padding-left: 1.5rem;
}

.rank__txt, .rank__img {
    width: 50%;
}
.rank__txt {
    margin-right: 5rem;
}
.rank__txt p {
    color: #fff;
    line-height: 2rem;
    margin-bottom: 2rem;
}
.rank__txt p:last-child {
    margin-bottom: 0;
}

.rank__content {
    display: flex;
}

/*===サービス紹介consul===*/
.consul {
    padding: 10rem 0;
}

.consul__content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.consul__content--inner {
    max-width: 545px;
    margin-left: 1rem;
}
.consul__img {
    width: 50%;
}
.consul__img img {
    border-radius: 10px 0 0 10px;
}
.consul__content--inner {
    margin-right: 3rem;
}

.consul__title {
    margin-bottom: 3rem;
}

.consul__txt p {
    line-height: 2rem;
}

/*===メリットmerit===*/
.merit {
    background-color: #ecf8f9;
    padding: 10rem 0;
}

.merit__title {
    margin-bottom: 5rem;
}

.merit__content {
    margin: 0 2rem;
}

.merit__item {
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}
.merit__item:last-child {
    margin-bottom: 0;
}
.merit__item--content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;

}
.merit__item--content p {
    line-height: 2rem;
}
.merit__item--contentright {
    margin-left: 1rem;
}
.merit__item--contentright::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #fff;
}
.merit__item--contentleft {
    margin-right: 1rem;
}
.merit__item--contentleft::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-right: 15px solid #fff;
}

.merit__item--icon {
    width: 60px;
    position: absolute;
    top: -1.5rem;
}

/*===お問い合わせtopcontact===*/
.topcontact {
    background-image: url(../lifemoneypartner/assets/img/topcontact-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.topcontact__inner {
    background-color: rgba(38,167,187,0.6);
}

.topcontact__inner--area {
    padding: 10rem 1rem;
}

.topcontact__title {
    margin-bottom: 3rem;
}
.topcontact__title h2 {
    color: #fff;
    text-align: center;
    font-size: 1.7rem;
}

.topcontact__subtitle {
    margin-bottom: 2rem;
}
.topcontact__subtitle h3 {
    color: #fff;
    font-size: 1.5rem;
    border: 1px solid #fff;
    width: fit-content;
    padding: 1rem 2rem;
    position: relative;
}
.topcontact__subtitle h3::before, .topcontact__subtitle h3::after {
    position: absolute;
    top: 100%;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}
.topcontact__subtitle h3::before {
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #fff;
    border-width: 12px;
}
.topcontact__subtitle h3::after {
    margin-left: -8px;
    border-color: transparent;
    border-top-color: rgba(255,255,255,0.1);
    border-width: 8px;
}

.topcontact__txt {
    margin-bottom: 3rem;
}
.topcontact__txt p {
    color: #fff;
    line-height: 2rem;
}

.topcontact__content {
    display: flex;
    margin-bottom: 3rem;
}
.topcontact__content--txt {
    width: 60%;
    margin-right: 2rem;
    line-height: 2rem;
}
.topcontact__content--txt p {
    color: #fff;
}
.topcontact__content--txt p:first-child {
    margin-bottom: 3rem;
}
.topcontact__content--img {
    width: 40%;
}

.topcontact__btn {
    text-align: center;
}

/*===お客様の声voice===*/
.voice {
    padding: 10rem 0;
}

.voice__point--inner {
    display: flex;
    align-items: center;
}

.voice__point--item {
    margin-right: 1rem;
}
.voice__point--item p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.voice__point--img {
    width: fit-content;
    margin: auto;
}
.voice__point--img img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
}

.voicepoint__area {
    padding-bottom: 5rem;
}

.voice__case--item:first-child {
    margin-bottom: 5rem;
}

.vpi {
    display: flex;
}

.before {
    position: relative;
    padding: 2rem 1rem 3rem 1rem;
    /* max-width: 1000px;
    margin-right: 1rem; */
    width: 85%;
    color: #fff;
    font-weight: bold;
}
.before::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: #26a7bb;
    transform: scaleY(1) perspective(0.6em) rotateX(-0.2deg);
    transform-origin: top left;
    background-size: 200% 200%;
    animation: bggradient 5s ease infinite;
}

.before__title {
    margin-bottom: 0.5rem;
    font-style: italic;
}
.before__title p {
    font-size: 1.8rem;
}

.before__txt p {
    font-size: 1.6rem;
    padding-right: 3rem;
}

.before__name {
    margin-top: 0.5rem;
}
.before__name p {
    font-size: 1.3rem;
}

.after {
    padding: 0 1rem;
}

.after__title p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #26a7bb;
}

.after__txt p {
    line-height: 2rem;
}

.pl__common {
    padding-left: 8rem;
}

.fa-check {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #26a7bb;
}

/*===お申し込みstep===*/
.step {
    background-color: #ecf8f9;
    padding: 10rem 1rem;
}
.step__title h2 {
    text-align: center;
    color: #26a7bb;
    display: flex;
    justify-content: center;
}
.step__title h2::before {
    margin-right: 30px;
    transform: rotate(-35deg);
}
.step__title h2::after {
    margin-left: 30px;
    transform: rotate(35deg);
}
.step__title h2::before, .step__title h2::after {
    content: '';
    width: 3px;
    height: 72px;
    background-color: #26a7bb;
}

.step__subtitle {
    max-width: 400px;
    margin: auto;
    padding: 3rem 1rem;
}

.step__content {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    justify-content: center;
    gap: 3rem;
}

.step__content--img {
    display: flex;
    align-items: center;
    position: relative;
}

.step__btn {
    margin-top: 5rem;
    text-align: center;
}

.dli-caret-right {
    display: inline-block;
    vertical-align: middle;
    color: #3ca7bb;
    line-height: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 1em;
    border-left-color: currentColor;
    border-right: 0;
    position: absolute;
    right: -1.7rem;
  }

/*===よくあるご質問faq===*/
.faq {
    padding: 10rem 0rem;
}

.faq__title {
    margin-bottom: 3rem;
}

.faq__item {
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    padding: 2rem 0;
}

/* .faq__item--icon {
    width: 100px;
} */

.faq__txtarea {
    width: 100%;
}

.faq__item--title {
    margin-bottom: 1rem;
}
.faq__item--icon {
    width: 50px;
    margin-right: 1rem;
}
.faq__item--title {
    font-weight: bold;
    color: #26a7bb;
    font-size: 1.2rem;
}

.faq__item--txt {
    line-height: 2rem;
}

.faq__btn {
    text-align: center;
    margin-top: 5rem;
}

/*===footer===*/
.footer {
    background-image: url(../lifemoneypartner/assets/img/footer-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.footer__content {
    background-color: rgba(0,0,0,0.6);
}

.footer__common--txt  {
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.company {
    font-size: 1.2rem;
    padding: 5rem 0 1rem 0;
}
.company__name {
    font-size: 1.5rem;
    padding: 1rem;
}

.footer__logo {
    width: 80px;
    margin: auto;
}

.address {
    margin-top: 1rem;
}

.hpurl { 
    margin: 2rem 0;
    text-align: center;
}
.hpurl a {
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 0.5rem 1rem;
}

.cpr {
    font-size: 0.7rem;
    text-align: center;
    padding: 0 1rem 1rem 1rem;
    color: #fff;
}


@media screen and (max-width:1100px) {
    .header__point {
        padding-left: 100px;
    }
}


/*ipad用CSS*/
@media screen and (max-width:850px) {
    /*===header===*/
    .header__point--area {
        gap: 0.5rem;
    }

    .header__point--item {
        font-size: 1rem;
        padding: 0.3rem 1.3rem;
    }

    /*===mv===*/
    .mv__txt {
        right: 0rem;
        top: 16rem;
        left: 5rem;
    }

    /*===consul===*/
    .consul__content--inner {
        margin-right: 2rem;
    }

    .consul__content--inner {
        width: 50%;
    }

    /*===お問い合わせtopcontact===*/
    .topcontact {
        background-position: right;
    }

    .topcontact__title h2 {
        font-size: 1.5rem;
    }

    .topcontact__subtitle h3 {
        font-size: 1.3rem;
    }

    /*===お客様の声voice===*/
    .pl__common {
        padding-left: 1rem;
    }

    .before__title p {
        font-size: 1.5rem;
    }
    .before__txt p {
        font-size: 1.3rem;
    }
    .before__name p {
        font-size: 1rem;
    }
    .after__title p {
        font-size: 1.5rem;
    }

    /*===step===*/
    .step__btn {
        margin-top: 3rem;
    }

    /*===よくあるご質問faq===*/
    .faq__item--title {
        font-size: 1.1rem;
    }
}

/*タブレット用CSS*/
@media screen and (max-width:768px) {
    /*===お問い合わせtopcontact===*/
    .topcontact__title h2 {
        font-size: 1.4rem;
    }

    .topcontact__subtitle h3 {
        font-size: 1.2rem;
    }

    .topcontact__subtitle h3 {
        padding: 0.5rem 1rem;
    }

    /*===お客様の声voice===*/
    .before {
        width: 95%;
    }
}

/*スマホ用CSS*/
@media screen and (max-width:570px) {
    /*===header===*/
    .header__point--item {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    .header__logo {
        width: 60px;
        left: 0;
    }

    .header__point {
        padding-left: 80px;
    }

    /*===mv===*/
    .mv {
        height: 95vh;
        background-image: url(../lifemoneypartner/assets/img/mv-sp.jpg);
    }

    .mv__txt {
        line-height: 4rem;
        top: 16rem;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .mv__txt h2 {
        font-size: 2rem;
    }

    .mv__txt h1 {
        font-size: 2rem;
    }

    .mv__logo--img {
        width: 120px;
    }

    .mvunder {
        padding: 1rem;
    }

    /*===rank===*/
    .rank {
        padding: 5rem 0;
    }

    .rank__content {
        display: block;
    }

    .rank__txt {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    .rank__txt, .rank__img {
        width: 100%;
    }

    .rank__title {
        margin-bottom: 2rem;
    }

    .rank__txt p {
        margin-bottom: 1rem;
    }

    /*===consul===*/
    .consul {
        padding: 5rem 0;
    }
    .consul__content {
        display: block;
    }

    .consul__content--inner {
        width: 100%;
        margin-left: 0;
        max-width: inherit;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .consul__img {
        width: 95%;
        margin-left: auto;
    }

    /*===merit===*/
    .merit {
        padding: 5rem 0;
    }

    .merit__content {
        margin: 0 1rem;
    }
    .merit__item {
        margin-bottom: 4rem;
    }
    .merit__item:last-child {
        margin-bottom: 4rem;
    }
    
    .readmore {
        border: 1px solid #3ca7bb;
        background-color: #fff;
        width: 80%;
        margin: auto;
        border-radius: 30px;
        padding: 0.7rem;
        color: #3ca7bb;
        font-size: 1rem;
    }
    .readmore .open {
        display: block;
    }
    .readmore.on-click .open {
        display: none;
    }
    .readmore .close {
        display: none;
    }
    .readmore.on-click .close {
        display: block;
    }

    /*===topcontact===*/
    .topcontact {
        background-image: url(../lifemoneypartner/assets/img/tc-sp.jpg);
        background-position: center;
    }

    .topcontact__inner--area {
        padding: 5rem 1rem;
    }

    .topcontact__subtitle h3 {
        padding: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .topcontact__content {
        display: block;
    }

    .topcontact__content--txt {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    .topcontact__content--img {
        width: 100%;
    }

    .topcontact__txt {
        margin-bottom: 2rem;
    }

    /*===voice===*/
    .voice {
        padding: 5rem 0;
    }
    .voice__point--inner {
        flex-direction: column-reverse;
    }

    .merit__title {
        margin-bottom: 3rem;
    }

    .voice__point--item {
        margin-right: 0;
        margin-top: 2rem;
    }
    .voice__point--item p {
        font-size: 1rem;
    }

    .before::before {
        transform: inherit;
    }
    .before {
        width: 100%;
        margin-bottom: 2rem;
    }

    .after__title p {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .before__txt p {
        padding-right: 0;
    }

    /*===step===*/
    .step {
        padding: 5rem 0;
    }
    .step__title h2::before, .step__title h2::after {
        margin-top: auto;
    }

    .step__subtitle {
        width: 100%;
        max-width: inherit;
    }

    .step__content {
        grid-template-columns: 250px;
    }

    .step__content--img {
        display: block;
        text-align: center;
    }
    .dli-caret-right {
        right: inherit;
        position: inherit;
    }
    .dli-caret-down {
        display: inline-block;
        vertical-align: middle;
        color: #3ca7bb;
        line-height: 1;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
        border-width: 1em;
        border-top-color: currentColor;
        border-bottom: 0;
        margin-top: 2rem;
    }

    /*===faq===*/
    .faq {
        padding: 5rem 0;
    }

    .faq__item--icon {
        width: 40px;
    }

    .faq__title {
        margin-bottom: 1rem;
    }

    .faq__btn {
        margin-top: 3rem;
    }

    /*===footer===*/
    .address {
        line-height: 2rem;
    }
}