.top {
    overflow-x: hidden;
}

/* ---------------------------------------------------------------
    mainvisual
--------------------------------------------------------------- */
.mainvisual {
    --blockGap: 18px;
    --headerHeight: 74px;
    padding-top: var(--blockGap);
    position: relative;
}

.mainvisual__inner {
    height: calc(100vh - calc(var(--blockGap) + var(--headerHeight))); /* fallback */
    height: calc(100svh - calc(var(--blockGap) + var(--headerHeight)));
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 88.88vw;
}

.mainvisualCatch {
    height: 100%;
    left: 0;
    padding: 48px 3.3%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.mainvisual__slide {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.mainvisual__slide img {
    height: 88vh;
    object-fit: cover;
    width: 100%;
}

.mainvisualCatch__title {
    color: var(--c-white);
    font-family: "Montserrat", sans-serif;
    font-size: 6vw;
    font-weight: 700;
    height: fit-content;
    line-height: 1.1em;
    text-align: start;
    text-shadow: 0 0 18px rgba(67, 75, 122, 0.7);
    transition: transform 0.6s, opacity 0.6s;
    white-space: pre-wrap;
}

.mainvisualCatch__word {
    color: var(--c-white);
    font-size: 1.25vw;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 2.2;
    margin-top: calc(8px * 5);
    opacity: 0;
    text-shadow: 0 0 18px rgba(67, 75, 122, 0.7);
    transform: translateY(80px);
    transition: transform 0.8s 1.9s, opacity 0.8s 1.9s;
}

.mainvisualCatch__word.is-active {
    opacity: 1;
    transform: translateY(0);
}

.mainvisual__slide .swiper-container {
    overflow: hidden;
    position: relative;
}

.mainvisual__slide .swiper-wrapper {
    transition-duration: 1s;
    transition-property: opacity;
}

.mainvisual__slide .swiper-slide {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity;
}

.mainvisual__slide .swiper-slide-active {
    opacity: 1;
}

.loopText {
    align-items: center;
    bottom: -8vw;
    display: flex;
    left: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.loopText span {
    flex-shrink: 0;
    white-space: nowrap;
}

.loopText span img {
    height: 10vw;
    width: auto;
}

.loopText span:nth-child(odd) {
    animation: MoveLeft 50s -25s infinite linear;
}

.loopText span:nth-child(even) {
    animation: MoveLeft2 50s infinite linear;
}

@keyframes MoveLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes MoveLeft2 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}

@media screen and (max-width: 1080px) {
    .mainvisual {
        height: 100svh;
    }

    .mainvisualCatch__title {
        font-size: 64px;
        text-shadow: 0 0 10px rgba(67, 75, 122, 0.7);
    }

    .mainvisualCatch__word {
        font-size: 18px;
        line-height: 2;
        margin-top: calc(8px * 2);
        text-shadow: 0 0 6px rgba(67, 75, 122, 0.7);
    }

    .loopText {
        bottom: 7vw;
    }

    .loopText span img {
        height: 80px;
        width: auto;
    }
}

@media screen and (max-width: 576px) {
    .mainvisualCatch {
        padding-left: 21px;
    }

    .mainvisualCatch__title {
        font-size: 48px;
    }

    .mainvisualCatch__word {
        font-size: 16px;
    }
}

/* ---------------------------------------------------------------
    about
--------------------------------------------------------------- */
.about {
    padding: calc(8px * 20) 0;
    position: relative;
}

.about::after {
    background: url("../images/top/img_about_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    content: "";
    height: 35.13vw;
    position: absolute;
    right: 0;
    width: 46.59vw;
}

.aboutBox {
    margin-top: calc(8px * 10);
}

.about .commonHeading__title,
.about .commonHeading__word {
    transform: translateX(50px);
}

.about .commonHeading__title.is-active,
.about .commonHeading__word.is-active {
    transform: translateX(0);
}

.aboutBox__title {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.2s, opacity 0.2s;
}

.aboutBox__text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: calc(8px * 10);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.6s, opacity 0.6s;
}

.aboutBox .aboutBox__text + .aboutBox__text {
    margin-top: calc(8px * 3);
}

.aboutBox__title.is-active,
.aboutBox__text.is-active {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1080px) {
    .about {
        padding: calc(8px * 6) 0 calc(8px * 10);
    }

    .about::after {
        height: 35.13vw;
        width: 46.59vw;
    }

    .aboutBox {
        margin-top: calc(8px * 5);
    }

    .aboutBox__title {
        font-size: 26px;
    }

    .aboutBox__text {
        font-size: 14px;
        margin-top: calc(8px * 5);
    }

    .aboutBox .aboutBox__text + .aboutBox__text {
        margin-top: calc(8px * 2);
    }
}

/* ---------------------------------------------------------------
    thumbnail
--------------------------------------------------------------- */
.thumbnail {
    overflow: hidden;
}

.thumbnail__figcaption {
    font-family: var(--font-notosans);
    font-size: 14px;
    letter-spacing: 0.01em;
    margin-inline: auto;
    max-width: 75%;
    padding-block: 16px;
    text-align: end;
}

@media screen and (max-width: 767px) {
    .thumbnail__figcaption {
        font-size: 12px;
        max-width: 95%;
    }
}

.thumbnail img {
    filter: blur(15px);
    opacity: 0.2;
    transform: scale(1.15);
    transition: transform 1s, opacity 1s, filter 1s;
}

.thumbnail.is-active img {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
    transition: transform 1s, opacity 1s filter 1s;
}

@media screen and (max-width: 767px) {
    .thumbnail img {
        object-fit: cover;
    }
}

/* ---------------------------------------------------------------
    service
--------------------------------------------------------------- */
.service {
    background: #f5f5f5;
    padding: calc(8px * 20) 0;
    position: relative;
}

@media screen and (max-width: 767px) {
    .service {
        padding-block: 80px 20px;
    }
}

.service .serviceHead {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
}

.service .commonHeading__title,
.service .commonHeading__word {
    transform: translateX(50px);
}

.service .commonHeading__title.is-active,
.service .commonHeading__word.is-active {
    transform: translateX(0);
}

.service__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    opacity: 0;
    padding-top: 80px;
    position: relative;
    transform: translateY(100px);
}

.service__content.is-active {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s, opacity 0.3s;
}

@media screen and (max-width: 1080px) {
    .service__content {
        margin-top: 60px;
    }
}

@media screen and (max-width: 767px) {
    .service__content {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 40px;
        row-gap: 32px;
    }
}

.service__contentBg {
    max-width: 720px;
    position: absolute;
}

.service__contentBg--1 {
    left: -4%;
    top: -14%;
}

@media screen and (max-width: 1080px) {
    .service__contentBg--1 {
        left: -2%;
        top: -10%;
        width: 47vw;
    }
}

@media screen and (max-width: 767px) {
    .service__contentBg--1 {
        left: -1.7vw;
        top: 3.5%;
    }
}

.service__contentBg--2 {
    max-height: 800px;
    right: 2%;
    top: 29.6%;
    width: 65vw;
}

@media screen and (max-width: 1080px) {
    .service__contentBg--2 {
        top: auto;
    }
}

@media screen and (max-width: 767px) {
    .service__contentBg--2 {
        top: 55%;
        transform: translateY(-50%);
    }
}

.service__contentBg--3 {
    left: 2%;
    top: 49.2%;
    width: 57vw;
}

@media screen and (max-width: 767px) {
    .service__contentBg--3 {
        left: 6.4%;
        top: 67.9%;
    }
}

.service__image {
    min-width: 610px;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .service__image {
        min-width: 300px;
        width: 52vw;
    }
}

.service__image img {
    aspect-ratio: 609 / 516;
    clip-path: polygon(24% 0, 76% 0, 100% 50%, 76% 100%, 24% 100%, 0% 50%);
    filter: brightness(60%);
    position: relative;
    transition: filter 0.2s;
    width: min(100%, 610px);
    z-index: 1;
}

@media (any-hover: hover) {
    .service__image:hover img {
        filter: brightness(100%);
        transition: filter 0.2s;
    }
}

.service__architecture img {
    object-fit: cover;
    object-position: top;
}

.service__label--kyusyu {
    color: var(--c-sub);
    font-size: 30px;
    font-weight: 500;
    position: absolute;
    right: 400px;
}

.service__label--tokyo {
    bottom: -80px;
    color: var(--c-primary);
    font-size: 30px;
    font-weight: 500;
    position: absolute;
    right: 400px;
}

@media screen and (max-width: 1080px) {
    .service__label--kyusyu {
        right: 320px;
    }
}

@media screen and (max-width: 1080px) {
    .service__label--tokyo {
        right: 320px;
    }
}

@media screen and (max-width: 767px) {
    .service__label--tokyo {
        inset: 0;
        position: relative;
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .service__label--kyusyu {
        inset: 0;
        position: relative;
        text-align: center;
    }
}

.service__label--kyusyu span {
    color: var(--c-black);
    display: block;
    font-size: 12px;
    font-weight: 300;
    margin-top: 4px;
}

.service__label--tokyo span {
    color: var(--c-black);
    display: block;
    font-size: 12px;
    font-weight: 300;
    margin-top: 4px;
}

.service__ce {
    position: relative;
    right: 20%;
    top: 53%;
}

@media screen and (max-width: 767px) {
    .service__ce {
        inset: unset;
    }
}

.service__architectureTokyo {
    top: 30%;
}

@media screen and (max-width: 767px) {
    .service__architectureTokyo {
        inset: unset;
    }
}

.service__inner {
    display: grid;
    justify-items: center;
    left: 50%;
    position: absolute;
    row-gap: 32px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.service__imageText {
    color: var(--c-white);
    display: flex;
    flex-direction: column;
    font-size: 32px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .service__imageText {
        font-size: 24px;
    }
}

.service__imageText span {
    font-family: var(--font-montserrat);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.7;
}

.serviceArrow {
    align-items: center;
    background: rgb(255, 255, 255, 0.4);
    border-radius: 50%;
    content: "";
    display: inline-flex;
    height: 46px;
    justify-content: center;
    transition: background 0.2s;
    width: 46px;
}

@media (any-hover: hover) {
    .service__image:hover .serviceArrow {
        background: rgb(255, 255, 255, 0.5);
        transition: background 0.2s;
    }
}

.serviceArrow::after {
    aspect-ratio: 1;
    background: var(--c-white);
    clip-path: polygon(0 7%, 7% 0, 57% 50%, 7% 100%, 0 93%, 43% 50%, 0 7%);
    content: "";
    display: inline-block;
    height: 8px;
    margin-left: 5px;
}

/* ---------------------------------------------------------------
    case
--------------------------------------------------------------- */
.case {
    overflow: hidden;
    padding: calc(8px * 12) 0;
    position: relative;
    z-index: 1;
}

.caseBg {
    background: var(--c-gray-50);
    clip-path: polygon(0 0, 0 85%, 100% 0);
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.case__container {
    position: relative;
    z-index: 1;
}

.case .commonHeading__title,
.case .commonHeading__word {
    transform: translateX(50px);
}

.case .commonHeading__title.is-active,
.case .commonHeading__word.is-active {
    transform: translateX(0);
}

.caseList {
    margin-right: calc(50% - 50vw);
    margin-top: calc(8px * 10);
    overflow: hidden;
}

.swiper-controller {
    align-items: center;
    display: flex;
    gap: 1.6rem;
    justify-content: flex-end;
    margin-top: 3.2rem;
}
.swiper-pagination {
    margin-right: auto;
}

.cardCase {
    width: 31.25vw;
}

@media (any-hover: hover) {
    .cardCase a:hover .cardCase__title,
    .cardCase a:hover .cardCase__date,
    .cardCase a:hover .cardCase__category {
        color: var(--c-primary);
        transition: color 0.2s;
    }
}

.cardCase__img {
    position: relative;
}

.cardCase__img img {
    aspect-ratio: 450 / 400;
    clip-path: polygon(
        15.5% 0,
        70% 0%,
        100% 0,
        100% 70%,
        100% 100%,
        0 100%,
        0% 70%,
        0 17.7%
    );
    height: auto;
    max-width: 450px;
    object-fit: cover;
    width: 100%;
}

.cardCase__meta {
    align-items: center;
    column-gap: 10px;
    display: flex;
    font-family: var(--fonnt-lato);
    font-size: 12px;
    margin-top: 24px;
}

@media screen and (max-width: 767px) {
    .cardCase__meta {
        margin-top: 12px;
    }
}

.cardCase__date {
    align-items: center;
    color: #282e31;
    column-gap: 20px;
    display: flex;
    font-size: 12px;
}

.cardCase__category {
    align-items: center;
    display: flex;
}

.cardCase__category::before {
    background: var(--c-border-gray);
    content: "";
    display: block;
    height: 12px;
    margin-right: 10px;
    width: 1px;
}

.cardCase__title {
    -webkit-box-orient: vertical;
    color: #282e31;
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.7;
    margin-top: calc(8px * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.swiper-scrollbar {
    height: 4px !important;
    margin-top: calc(8px * 5);
    position: relative !important;
}

.caseMore {
    display: flex;
    justify-content: flex-end;
    margin-top: calc(8px * 5);
}

@media screen and (max-width: 1080px) {
    .case {
        padding: calc(8px * 8) 0;
    }

    .caseList {
        margin-top: calc(8px * 5);
    }

    .swiper-controller {
        align-items: center;
        display: flex;
        gap: 1.6rem;
        justify-content: flex-end;
        margin-top: 3.2rem;
    }
    .swiper-pagination {
        margin-right: auto;
    }

    .cardCase {
        width: 200px !important;
    }

    .cardCase__img {
        position: relative;
    }

    .cardCase__img img {
        height: 200px;
        object-fit: cover;
        width: 200px;
    }

    .cardCase__date {
        align-items: center;
        color: #282e31;
        column-gap: 20px;
        display: flex;
        font-size: 12px;
    }

    .cardCase__title {
        color: #282e31;
        font-size: 16px;
        line-height: 1.7;
        margin-top: calc(8px * 2);
    }

    .swiper-scrollbar {
        height: 4px !important;
        margin-top: calc(8px * 5);
        position: relative !important;
    }

    .caseMore {
        display: flex;
        justify-content: flex-end;
        margin-top: calc(8px * 5);
    }
}

/* ---------------------------------------------------------------
    recruit
--------------------------------------------------------------- */
.recruit {
    background: url("../images/top/img_recruit_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 34.44vw;
    width: 100%;
}

.recruit__column {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 34.44vw;
}

.recruitBox__title {
    color: #636363;
    font-size: 16px;
    font-weight: 400;
}

.recruitBox__next {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-top: 2.5vw;
}

.recruitBox__next--text {
    color: #636363;
    font-size: 16px;
    line-height: 1.8;
}

.recruitBox__next--link {
    color: #636363;
    font-size: 16px;
    line-height: 1.8;
    padding-right: calc(8px * 3);
    position: relative;
    transition: color 0.2s;
}

@media (any-hover: hover) {
    .recruitBox__next--link:hover {
        color: var(--c-black);
        transition: color 0.2s;
    }
}

.recruitBox__next--link::before {
    background: url("../images/common/icon_taget.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 14px;
    margin-top: -7px;
    position: absolute;
    right: 0;
    top: 50%;
    width: 14px;
}

.recruitBox__next--link::after {
    background: #636363;
    bottom: 0;
    content: "";
    height: 1px;
    position: absolute;
    right: 0;
    width: 100%;
}

@media screen and (max-width: 1080px) {
    .recruit {
        background-position-x: 51%;
        height: auto;
        width: 100%;
    }

    .recruit__column {
        align-items: center;
        display: grid;
        grid-template-columns: 100%;
        height: auto;
        justify-items: end;
        padding: calc(8px * 5) 0;
    }

    .recruitBox:nth-of-type(1) {
        order: 2;
    }

    .recruitBox:nth-of-type(2) {
        order: 1;
    }

    .recruitBox__textImg {
        margin-top: calc(8px * 3);
    }

    .recruitBox__textImg img {
        height: auto;
        max-width: 300px;
    }

    .recruitBox__next {
        display: grid;
        grid-template-columns: 100%;
        justify-items: end;
        margin-top: calc(8px * 5);
    }

    .recruitBox__next--text {
        color: #636363;
        font-size: 15px;
        line-height: 1.8;
    }

    .recruitBox__next--link {
        font-size: 16px;
        line-height: 1.8;
        margin-top: calc(8px * 5);
        padding-right: calc(8px * 3);
        position: relative;
    }
}

/* ---------------------------------------------------------------
    office
--------------------------------------------------------------- */
.office {
    padding: calc(8px * 20) 0 calc(8px * 12);
}

.office .commonHeading__title,
.office .commonHeading__word {
    transform: translateX(50px);
}

.office .commonHeading__title.is-active,
.office .commonHeading__word.is-active {
    transform: translateX(0);
}

@media screen and (max-width: 1080px) {
    .office {
        padding: calc(8px * 10) 0;
    }
}

/* --------------------------------------------------------------

    Contact Nav

-------------------------------------------------------------- */
.contactNav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.contactNav__item {
    align-items: center;
    background: var(--c-link);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.16vw 0;
    position: relative;
}

.contactNav__item::before {
    background: #fff;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1px;
}

.contactNav__item:nth-of-type(1)::before {
    display: none;
}

.contactNav__item--icon img {
    height: 2.84vw;
    width: auto;
}

.contactNav__item--title {
    color: #fff;
    font-size: 1.11vw;
    font-weight: 700;
    margin-top: 2.22vw;
    text-align: center;
}

.contactNav__item--arrow {
    margin-top: 1.66vw;
}

.contactNav__item--arrow img {
    height: 2.84vw;
    width: auto;
}

.contactNav__item--call {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5vw;
    font-weight: 600;
    margin-top: 1.66vw;
}

.contactNav__item--call a {
    color: #fff;
}

@media screen and (max-width: 1080px) {
    .contactNav {
        grid-template-columns: 100%;
    }

    .contactNav__item {
        padding: calc(8px * 4) 0;
    }

    .contactNav__item::before {
        bottom: 0;
        height: 1px;
        top: unset;
        width: 100%;
    }

    .contactNav__item:nth-of-type(1)::before {
        display: block;
    }

    .contactNav__item:nth-of-type(3)::before {
        display: none;
    }

    .contactNav__item--icon img {
        height: 30px;
    }

    .contactNav__item--title {
        font-size: 16px;
        margin-top: calc(8px * 2);
    }

    .contactNav__item--arrow {
        margin-top: calc(8px * 3);
    }

    .contactNav__item--arrow img {
        height: 24px;
    }

    .contactNav__item--call {
        font-size: 20px;
        margin-top: calc(8px * 3);
    }
}

/* ---------------------------------------------------------------
    News
--------------------------------------------------------------- */
.news {
    padding: calc(8px * 20) 0;
}

@media screen and (max-width: 1080px) {
    .news {
        padding: calc(8px * 10) 0;
    }
}

.news__container {
    display: grid;
    row-gap: 80px;
}

@media screen and (max-width: 767px) {
    .news__container {
        row-gap: 40px;
    }
}

.newsList {
    column-gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    letter-spacing: 0.1em;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(50px);
}

.newsList.is-active {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.2s, opacity 0.2s;
}

@media screen and (max-width: 1024px) {
    .newsList {
        grid-template-columns: 1fr;
        overflow: hidden;
    }
}

.newsList__item {
    align-items: start;
    border-bottom: 1px solid var(--c-border-gray);
    color: var(--c-black);
    column-gap: 24px;
    display: grid;
    grid-template-columns: 130px 1fr;
    padding-block: 20px;
    transition: background 0.2s;
}

@media (any-hover: hover) {
    .newsList__item:hover {
        background: var(--c-gray-50);
        transition: background 0.2s;
    }
}

.newsList__thumbnail img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: min(100%, 130px);
}

.newsList__text {
    display: grid;
    row-gap: 10px;
}

.newsList__meta {
    align-items: center;
    column-gap: 10px;
    display: flex;
}

.newsList__date {
    align-items: center;
    display: flex;
    font-family: var(--fonnt-montserrat);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
}

.newsList__category {
    align-items: center;
    display: flex;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.newsList__date::after {
    background: var(--c-border-gray);
    content: "";
    display: block;
    height: 12px;
    margin-left: 10px;
    width: 1px;
}

.newsList__title {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .newsList__title {
        font-size: 13px;
    }
}

.news__button {
    display: grid;
    place-items: center;
}
