@charset "UTF-8";

/* ---------------------------------------
    first-view 
--------------------------------------- */
.first-view {
    margin-top: 70px;
    height: 120vh;
    background-image: url(../imgs/first-view-back.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.first-view__title {
    position: absolute;
    top: 20vh;
    left: 30px;
}

.first-view__title-top {
    background-color: var(--c_accent);
    display: flex;
    gap: 15px;
    height: 30px;
    width: fit-content;
    padding-right: 18px;
}

.first-view__title-under {
    margin-top: 26px;
    background-color: var(--c_accent);
    display: flex;
    gap: 15px;
    height: 30px;
    width: fit-content;
    padding-right: 18px;
}

.first-view__title img {
    width: auto;
    height: 100%;
}

.first-view__description {
    position: absolute;
    top: 34vh;
    color: var(--c_base);
    font-size: 14px;
    left: 30px;
    font-weight: var(--fw__demi);
}

.first-view__translate {
    position: absolute;
    right: 56px;
    width: 37%;
    max-width: 150px;
    top: 70vh;
}

@media (min-width: 768px) {
    .first-view__title {
        left: 8%;
        top: 30vh;
    }

    .first-view__title-top {
        height: 56px;
        padding-right: 36px;
    }

    .first-view__title-under {
        margin-top: 50px;
        height: 56px;
        padding-right: 36px;
    }

    .first-view__description {
        left: 8%;
        top: 55vh;
        font-size: 23px;
        line-height: 44px;
        letter-spacing: 1px;
        padding-right: 310px;
    }

    .first-view__translate {
        min-width: 200px;
        right: 10%;
        top: 62vh;
    }
}

@media (min-width: 1100px) {
    .first-view__translate {
        max-width: 280px;
        top: 58vh;
    }
}

/* ---------------------------------------
    tab-area
--------------------------------------- */
.tab-area {
    position: absolute;
    top: 40%;
    transition: all 0.3s var(--animation);
    right: 0;
    z-index: 28;
    transform: translateY(-50%);
}

.tab-area__tab {
    background-color: var(--c_base);
    padding: 19px 11px 24px;
    align-items: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--animation);
}

.tab-area__tab:not(:first-of-type) {
    margin-top: 24px;
}

.tab-area__tab:last-child {
    padding-bottom: 0;
}

.tab__icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-content: center;
}

.tab-text-wrapper {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-text-wrapper p {
    writing-mode: vertical-lr;
    letter-spacing: 14px;
}

.tab-text-wrapper small {
    line-height: 13px;
    font-size: 10px;
}

@media (min-width: 768px) {
    .tab-area {
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .tab-area__tab {
        padding: 25px 14px 32px;
        width: fit-content;
    }

    .tab-area__tab:not(:first-of-type) {
        margin-top: 40px;
    }

    .tab__icon {
        width: 33px;
        height: 33px;
    }

    .tab-wechat,
    .tab-call,
    .tab-books {
        transition: all 0.3s var(--animation);
    }

    .tab-wechat:hover {
        padding-right: 40px;
    }

    .tab-call:hover {
        padding-right: 40px;
    }


    .tab-books:hover {
        padding-right: 40px;
    }
}




/* ---------------------------------------
    slider
--------------------------------------- */
.slider-section {
    position: relative;
}

.slider {
    overflow-x: hidden;
    display: flex;
    gap: 12px;
}

.slider__top {
    position: absolute;
    top: 0;
    width: 100vw;
    transform: translateY(-65%);
}

.slider__under {
    padding-top: 70px;
}

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

.slider__inner--top {
    animation: topscroll 120s infinite linear 0.5s both;
}

.slider__inner--under {
    animation: underscroll 120s infinite linear 0.5s both;
}

.slider__image--poster {
    width: 100px;
}

.slider__image--web {
    width: auto;
    height: 90px;
}

.slider__image--sp {
    width: auto;
    height: 110px;
}

@keyframes topscroll {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes underscroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (min-width:580px) {
    .slider__image--poster {
        width: 165px;
    }

    .slider__image--web {
        width: auto;
        height: 148px;
    }

    .slider__image--sp {
        width: auto;
        height: 183px;
    }

    .slider__under {
        padding-top: 160px;
    }
}

@media (min-width: 768px) {
    .slider {
        gap: 21px;
    }

    .slider__inner {
        gap: 21px;
    }

    .slider__image--poster {
        width: 232px;
    }

    .slider__image--web {
        width: auto;
        height: 207px;
    }

    .slider__image--sp {
        width: auto;
        height: 256px;
    }
}

/* ---------------------------------------
    strong
--------------------------------------- */

.strong {
    margin-top: 60px;
}

.strong-list {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strong-item__title-box {
    border: 1px solid var(--c_accent);
    border-radius: 9999px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-content: center;
    gap: 25px;
    max-width: 260px;
    margin: 0 auto;
}

.strong-item__title-text {
    text-align: center;
    font-size: var(--fs__h4);
    font-weight: var(--fw__medium);
}

.strong-item__title-number {
    font-size: 65px;
    font-weight: 500;
    line-height: 65px;
}

.strong-item__title-number span {
    font-size: 30px;
    font-weight: var(--fw__medium);
}

.strong-item__text {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .strong {
        margin-top: 130px;
    }

    .strong-list {
        flex-direction: row;
        gap: 60px;
        padding: 0;
    }

    .strong-item {
        width: calc(100vw - 120px);
    }

    .strong-item__title-number {
        font-size: 50px;
    }
}

@media (min-width: 960px) {
    .strong-item__title-number {
        font-size: 65px;
    }
}

/* ---------------------------------------
    clients
--------------------------------------- */
.clients {
    margin-top: 150px;
    text-align: center;
}

.clients__title {
    font-weight: var(--fw__medium);
}

.clients__text {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .clients__text {
        justify-content: center;
    }
}

/* ---------------------------------------
    image1-back
--------------------------------------- */
.image1-back {
    display: block;
    margin-top: 160px;
    height: 250px;
    width: 100%;
    background-image: url(../imgs/section-back1-min.png);
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .image1-back {
        margin-top: 200px;
        height: 500px;
    }
}

/* ---------------------------------------
    service
--------------------------------------- */
.service {
    background-image: url(../imgs/texture.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 55px;
    padding-bottom: 160px;
}

.services-title {
    font-weight: var(--fw__medium);
}

.service .container {
    text-align: center;
}

.y-line {
    height: 100px;
    width: 1px;
    background-color: var(--c_accent);
    margin: 0 auto;
}

.services-title {
    margin-top: 30px;
}

.service-none {
    margin-top: 55px;
}

.service-category {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category__title {
    font-size: 18px;
    font-weight: var(--fw__medium);
}

.category-list__item {
    align-items: center;
}

.category-list__item img {
    max-width: 170px;
}

.x-line {
    width: 175px;
    height: 1px;
    background-color: var(--c_accent);
    margin: 0 auto;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 540px) {
    .category-list {
        grid-template-columns: repeat(3, 1fr);
        margin: 0 20px;
    }
}


@media (min-width: 768px) {
    .service {
        padding-top: 200px;
        padding-bottom: 200px;
    }

    .service .container {
        padding: 0;

    }

    .services-title {
        margin-bottom: 100px;
    }

    .service-none {
        display: none;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }


    .service-category:last-of-type .category-list {
        max-width: 1020px;
        margin: 0 auto;
    }

    .category-list__item {
        min-width: 150px;
        width: calc((100% - 125px) / 6);
    }
}

/* ---------------------------------------
    flow
--------------------------------------- */
.flow {
    margin-top: 60px;
}

.flow-title {
    font-weight: var(--fw__medium);
    text-align: center;
    margin-top: 30px;
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 55px;
}



.flow-list__item-heading {
    display: flex;
    gap: 30px;
}

.flow-list__item-heading img {
    width: auto;
    height: 40px;
}

.flow-list__item-title {
    line-height: normal;
}

.flow-list__item-text {
    margin-top: 30px;
}

.flow-img {
    margin-top: 125px;
}

.flow-img img {
    height: 250px;
    object-fit: cover;
}

@media (min-width: 560px) {
    .flow {
        position: relative;
        margin-top: 140px;
    }

    .flow .container {
        display: grid;
        grid-template-columns: repeat(18, 1fr);
        grid-template-areas:
            " . . . y-line . . . . . . . . . . . . . ."
            ". . . flow-title . . . . flow-list flow-list flow-list flow-list flow-list flow-list flow-list flow-list flow-list flow-list";
    }

    .flow .y-line {
        grid-area: y-line;
    }

    .flow-title {
        grid-area: flow-title;
        writing-mode: vertical-rl;
        display: flex;
        align-items: center;
        letter-spacing: 28px;
        font-size: 32px;
        font-weight: var(--fw__medium);
    }


    .flow-list {
        grid-area: flow-list;
    }

    .flow-list__item-title {
        font-size: 24px;
        font-weight: var(--fw__demi);
    }
}

@media (min-width: 768px) {
    .flow-img {
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: end;
        width: 40%;
        height: fit-content;
        margin-top: 0;
    }

    .flow-img img {
        object-fit: cover;
        width: 100%;
        min-height: 360px;
    }
}

/* ---------------------------------------
    awards
--------------------------------------- */
.awards {
    margin-top: 70px;
}

.awards__title {
    font-weight: var(--fw__medium);
    text-align: center;
    margin-top: 30px;
}

.awards__description {
    margin-top: 55px;
    text-align: center;
}

.awards__wrapper {
    margin: 50px auto 0;
    width: fit-content;
    border: 1px solid var(--c_accent);
    padding: 20px 25px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.awards-list__wrapper {
    max-width: 315px;
    margin: 50px auto 0;
}

.awards-list__item::before {
    content: "·";
}

@media (min-width: 768px) {
    .awards {
        margin-top: 270px;
    }

    .awards__description {
        margin-top: 75px;
    }

    .awards__wrapper {
        margin-top: 70px;
        width: 100%;
        gap: 0;
        padding: 43px 0;
        grid-template-areas: "";
    }

    .awards-list__wrapper {
        max-width: 700px;
        display: grid;
        grid-template-columns: 4fr 3fr;
    }

    .awards-list__item {
        white-space: nowrap;
    }
}

/* ---------------------------------------
    image2-back
--------------------------------------- */
.image2-back {
    display: block;
    margin-top: 170px;
    height: 250px;
    width: 100%;
    background-image: url(../imgs/section-back2-min.png);
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .image2-back {
        margin-top: 270px;
        height: 500px;
    }
}

/* ---------------------------------------
    q-a
--------------------------------------- */
.q-a {
    margin-top: 70px;
    margin-bottom: 170px;
}

.q-a__title {
    text-align: center;
    margin-top: 30px;
    font-weight: var(--fw__medium);
}

.q-a-wrapper {
    margin-top: 60px;
}

.q-a-wrapper__title {
    text-align: center;
    margin-bottom: 55px;
    font-weight: var(--fw__medium);
}

.q-a-box:not(:first-of-type) {
    margin-top: 70px;
}

.q-box {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: start;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c_accent);
}

.q-box__icon {
    background-color: var(--c_accent);
    border-radius: 9999px;
    color: var(--c_base);
    font-size: var(--fs__h5);
    font-weight: var(--fw__medium);
    width: 30px;
    height: 30px;
    text-transform: uppercase;
    line-height: 26px;
}

.q-box__text {
    margin-right: 30px;
    text-align: left;
}

.q-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: fit-content;
    display: grid;
    place-content: center;
    transition: transform 0.3s var(--animation);
    cursor: pointer;
    height: 30px;
}

.q-a-box.open .q-arrow {
    transform: rotate(-180deg) translateY(50%);
}

.a-box {
    display: none;
    margin-top: 10px;
}

.a-box__wrapper {
    display: flex;
    gap: 20px;
}

.a-box__icon {
    aspect-ratio: 1 / 1;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    border: 1px solid var(--c_accent);
    font-size: var(--fs__h5);
    font-weight: var(--fw__medium);
    text-transform: uppercase;
    text-align: center;
    line-height: 26px;
}

.a-box__text {
    width: 100%;
    margin-right: 40px;
}

@media (min-width: 768px) {
    .q-a {
        margin-top: 145px;
        margin-bottom: 250px;
    }

    .q-a .container {
        position: relative;
    }

    .q-a__title {
        writing-mode: vertical-rl;
        text-orientation: upright;
        letter-spacing: 0.1em;
        font-size: 32px;
        font-weight: var(--fw__medium);
    }

    .q-a-wrapper {
        margin-right: 130px;
    }

    .q-a-wrapper:not(:first-of-type) {
        margin-top: 130px;
    }


    .q-a__title-wrapper {
        position: absolute;
        top: 0;
        right: 60px;
        transform: translateY(-185px);
    }

    .q-a-wrapper__title {
        text-align-last: left;
        margin-bottom: 40px;
    }

}

/* ---------------------------------------
    cta
--------------------------------------- */
.cta {
    background-image: url(../imgs/cta-back-texture.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 92px;
    padding-bottom: 60px;
}

.cta .y-line {
    position: absolute;
    top: 0;
    transform: translate(-50%, -40px);
    right: 50%;
}

.cta__title {
    font-weight: var(--fw__medium);
    text-align: center;
}

.cta-description {
    text-align: center;
    margin-top: 55px;
}

.ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 50px;
}

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

.ctas__heading-icon {
    width: 33px;
    height: 33px;
}

.ctas-qr {
    margin: 0 auto;
    width: 130px;
    height: 130px;
    opacity: 1;
    transition: all 0.3s var(--animation);
}

.ctas-qr:hover {
    opacity: 0.7;
}

.ctas__tell {
    cursor: pointer;
    font-size: 40px;
    line-height: 81px;
    font-weight: bold;
    opacity: 1;
    transition: all 0.3s var(--animation);
    white-space: nowrap;
}

.ctas__tell:hover {
    opacity: 0.7;
}

.ctas-tell .ctas__heading-icon {
    height: 33px;
    width: auto;
}

.ctas-tell .ctas__heading-icon img {
    height: 100%;
    width: auto;
}

@media (min-width: 960px) {
    .ctas-wrapper {
        display: flex;
        margin: 51px 70px 0;
        justify-content: space-between;
        gap: 20px;
    }

    .ctas {
        flex-direction: row;
        gap: 35px;
    }
}