@charset "utf-8";

@media (max-width: 1024px) {}

@media (max-width: 767px) {}


.section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 1.9em;
}

.section-title__en {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    color: #0E9C8D;
    text-align: center;
    display: block;
    font-size: 24px;
    margin-bottom: 0.5em;
    letter-spacing: 0.02em;
}

.section-title br {
    display: none;
}

@media (max-width: 1024px) {
    .section {
        padding: 75px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-title__en {
        font-size: 18px;
    }

    .section-title br {
        display: block;
    }


}

@media (max-width: 767px) {
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 1.5em;
        line-height: 1.375;
    }

    .section-title__en {
        font-size: 14px;
    }


}

/* ----------------------------------------------


導入 


----------------------------------------------*/

.intro {
    background-color: #0E9C8D;
}

.intro__container {
    max-width: 1215px;
}

.intro__content {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.intro__title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    position: relative;
}

.intro__title:before,
.intro__title:after {
    content: '';
    width: 4px;
    height: 40px;
    background-color: #50BCA0;
    display: block;
    position: absolute;
    bottom: 0;
    transform: rotate(-30deg);
    left: -30px;
}

.intro__title:after {
    left: initial;
    right: -30px;
    transform: rotate(30deg);
}

.intro__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.intro__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro__text {
    font-size: 16px;
    color: #fff;
}

.intro__item img {
    width: 40px;
    height: 40px;
}

@media (max-width: 1024px) {
    .intro__content {
        flex-direction: column;
        padding: 24px 0;
    }

    .intro__title {
        display: inline-block;
        margin: 0 auto 1.25em;
        font-size: 18px;
    }

    .intro__list {
        gap: 10px;
    }

    .intro__text {
        font-size: 14px;
    }

    .intro__item img {
        width: 36px;
        height: 36px;
    }

}

@media (max-width: 767px) {

    .intro__content {
        padding: 24px 0 28px;
    }

    .intro__title {
        font-size: 17px;
        margin-bottom: 1.5em;
    }

    .intro__list {
        gap: 10px;
    }

    .intro__title:before,
    .intro__title:after {
        height: 36px;
        width: 3px;
    }

    .intro__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 10px;
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }

    .intro__text {
        font-size: 13px;
    }

    .intro__item {
        width: calc((100% - 20px) / 3);
        gap: 5px;
    }
}

/* ----------------------------------------------


Aboutセクション 


----------------------------------------------*/

section.about {}

.about__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.about__image {
    width: 460px;
}

.about__description:not(:last-of-type) {
    margin-bottom: 50px;
}

.about__description {
    font-size: 28px;
    font-weight: 500;
    line-height: 2.15;
}

.about__description .dot-text {
    color: #0E9C8D;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.dot-text span {
    position: relative;
}

.dot-text span::before {
    content: "・";
    position: absolute;
    top: -1.25em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75em;
}

.about__description .text-bg {
    background-color: #0E9C8D;
    color: #fff;
    font-weight: 700;
    padding: 0.125em 0.25em;
    margin-right: 0.25em;
}

.about__description .text-lg {
    font-size: 1.125em;
    color: #0E9C8D;
    font-weight: 700;
}

.about__description:last-of-type {
    line-height: 1.75;
}

.about__cta {
    display: flex;
    gap: 50px;
    justify-content: center;
}

@media (max-width: 1024px) {

    .about__body {
        justify-content: center;
        gap: 30px;
    }

    .about__image {
        width: 40%;
    }

    .about__description {
        font-size: 20px;
    }


}

@media (max-width: 767px) {
    .about__body {
        flex-direction: column;
        gap: 38px;
        margin-bottom: 40px;
    }

    .about__cta {
        flex-direction: column;
        gap: 15px;
    }

    .about__description {
        font-size: 18px;
    }

    .about__description:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .about__image {
        width: 78%;
        max-width: 400px;
    }
}

/* ----------------------------------------------


Reasonセクション 


----------------------------------------------*/

section.reason {
    background-color: #EFF8F5;
}

.reason__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 0;
    border-bottom: 5px solid #FFFFFF;
}

.reason__item:last-of-type {
    border-bottom: 0;
    padding-bottom: 40px;
}

.reason__item:nth-of-type(2n) {
    flex-direction: row-reverse;
}

.reason__content {
    width: 432px;
    margin-left: 50px;
}

.reason__item:nth-of-type(2n) .reason__content {
    margin-left: 0;
    margin-right: 50px;
}

.reason__heading {
    font-size: 36px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1em;
}

.reason__number {
    background-color: #0E9C8D;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
    font-weight: 500;
    font-family: "Red Hat Display", sans-serif;
    width: 170px;
    padding: 0.25em;
    text-align: center;
    display: block;
    margin-bottom: 1em;
}

.reason__text {
    font-size: 18px;
    line-height: 2.2;
}

.reason__note {
    display: block;
    margin-top: 2em;
    font-size: 0.8em;
}


.reason__content .btn--primary {
    margin-top: 20px;
}

.reason__image {
    width: 50%;
    height: auto;
}

@media (max-width: 1024px) {

    .reason__item,
    .reason__item:nth-of-type(2n) {
        /* flex-direction: column; */
    }

    .reason__item {
        padding: 55px 0;
        justify-content: center;
    }

    .reason__heading {
        font-size: 26px;
    }

    .reason__text {
        font-size: 16px;
    }

    .reason__image {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .reason__content {
        margin-left: 0;
        width: initial;
    }

    .reason__container {
        width: 100%;
        overflow: hidden;
    }

    .reason__item,
    .reason__item:nth-of-type(2n) {
        padding: 60px 0 45px;
        flex-direction: column;
        align-items: start;
        position: relative;
        border-width: 3px;
        max-width: 540px;
        margin-right: auto;
        margin-left: auto;
    }

    .reason__item:nth-of-type(2n) .reason__content {
        margin-right: 0;
    }

    .reason__item:last-of-type {
        padding-bottom: 20px;
    }

    .reason__heading {
        font-size: 21px;
        letter-spacing: 0;
        margin-bottom: 1.5em;
        line-height: 1.75;
    }

    .reason__text {
        font-size: 13px;
        line-height: 2;
    }

    .reason__number {
        font-size: 13px;
        padding: 0.375em;
        width: 90px;
        border-radius: 2px;
    }

    .reason__image {
        position: absolute;
        right: -28px;
        top: 0;
        max-width: 240px;
    }

    .reason__content .btn--primary {
        width: 100%;
    }
}

/* ----------------------------------------------


Worksセクション 


----------------------------------------------*/

.works__lead,
.flow__lead {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 1.875em;
}

.works__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 40px;
    margin-bottom: 100px;
}

.works__item img {
    border-radius: 8px;
}

.works__item span {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-top: 0.5em;
    display: block;
}

.works__cta {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.works__cta .works__text {
    text-align: center;
    color: #0598A6;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    position: relative;
    display: inline-block;
}

.works__cta .works__text:before,
.works__cta .works__text:after {
    content: '';
    position: absolute;
    width: 3px;
    height: 56px;
    background-color: #C1E4F0;
    transform: rotate(-30deg);
    bottom: 0;
    left: -35px;
}

.works__cta .works__text:after {
    transform: rotate(30deg);
    left: initial;
    right: -35px;
}

@media (max-width: 1024px) {

    .works__lead,
    .flow__lead {
        font-size: 18px;
    }

    .works__list {
        margin-bottom: 60px;
    }

    .works__item span {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .works__cta .works__text:before,
    .works__cta .works__text:after {
        display: none;
    }

    .works__lead,
    .flow__lead {
        font-size: 15px;
        font-weight: 400;
    }

    .works__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
        max-width: 540px;
        margin: 0 auto 50px;
    }

    .works__item span {
        font-size: 13px;
        margin-top: 0.25em;
    }

    .works__cta {
        gap: 20px;
    }

    .works__cta .works__text {
        font-size: 14px;
    }
}

/* ----------------------------------------------


Functionセクション 


----------------------------------------------*/

section.function {
    background-color: #EFF8F5;
}

.function__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 40px;
    margin-bottom: 60px;
}

.function__item {
    background-color: #fff;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.function__item img {
    width: 100px;
    height: 100px;
}

.function__item span {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.function__cta {
    text-align: center;
}

.function__item span br {
    display: none;
}

@media (max-width: 1024px) {
    /* .function__list {
        grid-template-columns: repeat(3, 1fr);
    } */

    .function__list {
        gap: 10px;
    }

    .function__item span {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .function__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 10px;
        max-width: 380px;
        margin: 0 auto 40px;
    }

    .function__item span {
        font-size: 14px;
        text-align: center;
        line-height: 1.25;
    }

    .function__item span br {
        display: block;
    }

    .function__item img {
        width: 80px;
        height: 80px;
    }
}

/* ----------------------------------------------


Flowご利用の流れ 


----------------------------------------------*/

.flow__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.flow__card {
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    position: relative;
}

.flow__card:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 40px solid #D0EEE6;
    /* z-index: -1; */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -40px;
    z-index: -1;
}

.flow__card:last-of-type:after {
    content: none;
}

.flow__card img {
    /* height: 50%; */
    border-radius: 8px 8px 0 0;
}

.flow__body {
    padding: 30px;
    padding-bottom: 40px;
}

.flow__heading {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 1em;
    font-weight: 600;
}

.flow__text {
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .flow__heading {
        font-size: 20px;
    }

    .flow__list {
        gap: 25px;
    }

    .flow__text {
        font-size: 16px;
    }

    .flow__card:after {
        right: -25px;
    }
}

@media (max-width: 767px) {
    .flow__list {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 30px;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }

    .flow__card:after {
        /* display: none; */
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 30px solid #D0EEE6;
        bottom: -65px;
        right: initial;
        top: initial;
        left: 50%;
        transform: translateX(-50%);
    }

    .flow__card img {
        aspect-ratio: 16 / 9;
    }

    .flow__body {
        padding: 20px;
        padding-bottom: 25px;
    }

    .flow__heading {
        font-size: 18px;
    }

    .flow__text {
        font-size: 14px;
    }
}

/* ----------------------------------------------


faqよくあるご質問


----------------------------------------------*/

section.faq {
    background-color: #EFF8F5;
}

.faq__item {
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 12px;
}

.faq__item:not(:last-of-type) {
    margin-bottom: 15px;
}

.faq__question {
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    line-height: 3;
    position: relative;
}

.faq__icon {
    width: 30px;
    transition: transform 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

/* 開いた時に回転 */
.faq__item.is-open .faq__icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    line-height: 1.5;
}

.faq__item.is-open .faq__answer {
    margin-top: 1em;
    margin-bottom: 1em;
}

@media (max-width: 1024px) {}

@media (max-width: 767px) {
    .faq__question {
        font-size: 15px;
        line-height: 1.75;
    }

    .faq__list {
        max-width: 540px;
        margin: 0 auto;
    }

    .faq__item {
        padding: 8px 20px;
        padding-right: 40px;
        border-radius: 8px;
    }

    .faq__icon {
        width: 20px;
        right: -20px;
    }
}

/* ----------------------------------------------


関連サービス


----------------------------------------------*/

.related-services {
    background-color: #DCF5FD;
}

.related-services__title {
    font-size: 36px;
    font-weight: 500;
}

.related-services__lead {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2.5em;
}

.related-services__lead br {
    display: none;
}

.related-services__list {
    display: flex;
    gap: 40px;
}

.related-services__item {
    border: 2px solid #0598A6;
    width: 100%;
    padding: 40px 40px 60px 40px;
    border-radius: 20px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    display: block;
}

.related-services__item:before {
    content: '';
    width: 53%;
    height: 100%;
    display: block;
    background: url(../img/service-work.png) center left no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.related-service-card--card:before {
    background-image: url(../img/service-card.png);
}

/* カード中身 */

.related-service-card__body {
    position: relative;
    z-index: 2;
}

.related-service-card__label {
    font-size: 16px;
    font-weight: 600;
    background-color: #0598A6;
    color: #fff;
    border-radius: 2em;
    margin-bottom: 0.5em;
    padding: 0 1em;
    display: inline-block;
}

.related-service-card--card .related-service-card__label {
    color: #0598A6;
    background-color: #DCF5FD;
}

.related-service-card__title {
    font-size: 36px;
    color: #0598A6;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
    margin-bottom: 1em;
}

.related-service-card__title .is-accent {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 800;
    font-size: 1.2em;
    letter-spacing: 0;
    position: relative;
    top: 1px;
    padding-right: 2px;
}

.related-service-card__title .is-sub {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 800;
    font-size: 0.875em;
    letter-spacing: 0;
    padding-left: 0.1em;
    line-height: 1;
}

.related-service-card__text {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.related-services__title br {
    display: none;
}

@media (max-width: 1024px) {
    .related-services__list {
        /* flex-direction: column; */
    }

    .related-services__list {
        gap: 20px;
    }

    .related-service-card__text {
        font-size: 14px;
    }

    .related-service-card__title {
        font-size: 28px;
    }

    .related-services__item {
        padding: 20px 20px 40px 20px;
    }

    /* .related-services__item:before {
        background-position: top -40px center;
        width: 65%;
    } */

}

@media (max-width: 767px) {
    .related-services__title {
        font-size: 20px;
        line-height: 1.5;
    }

    .related-services__title br {
        display: block;
    }



    .related-services__list {
        flex-direction: column;
    }

    .related-services__lead {
        font-size: 15px;
        margin-bottom: 2em;
    }

    .related-services__lead br {
        display: block;
    }

    .related-services__item {
        padding: 30px 20px 30px 20px;
        border: 1px solid #0598A6;
        border-radius: 12px;
    }

    .related-service-card__label {
        font-size: 14px;
    }

    .related-service-card__title {
        font-size: 26px;
    }

    .related-service-card__label {
        padding: 0.125em 1.5em;
    }

    .related-service-card__text {
        font-size: 13px;
        font-weight: 400;
    }
}

/* ----------------------------------------------


CTAセクション


----------------------------------------------*/
.cta-section {
    background-color: #0E9C8D;
    padding: 80px 0;
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-section__button {
    font-size: 24px;
    width: auto;
    padding: 0 3em;
}



@media (max-width: 1024px) {
    .cta-section__buttons {
        flex-direction: column;
    }

    .cta-section__button  {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-section__buttons {
        gap: 15px;
    }

    .cta-section__button {
        font-size: 17px;
    }
}