@charset "utf-8";

/* =========================
  初期状態
========================= */
html.is-loading,
body.is-loading {
    overflow: hidden;
}

body {
    margin: 0;
}

/* =========================
  ロード画面
========================= */
.loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    background-color: #150e06;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.loading.is-skip {
    display: none;
}

.load-img {
    width: 236px;
    height: auto;
    filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition:
        1s ease;
}

.load-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* ロード開始後に画像を表示 */
.loading.is-loading .load-img {
    opacity: 1;
    visibility: visible;
    filter: none;
}

/* ロード画面をフェードアウト */
.loading.is-white {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1.8s ease,
        visibility 1.8s ease;
}

/* 最後にロード画面を完全に無効化 */
.loading.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}



body {
    background: #150e06;
}

.fv {
    margin-top: calc(var(--header-height) * -1);
}

.fv .inner {
    display: flex;
    flex-direction: column;
    gap: 47px;
}

.fv .sec-top {
    display: flex;
    justify-content: space-between;
}

.fv-slider-wrap {
    display: flex;
    align-items: center;
    gap: 80px;
}

.fv-slider {
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    width: 504px;
    height: 756px;
    margin: 0;
    overflow: hidden;
    background: #ccc5b3;
    transition: 1.2s ease;
}

.fv-slider.is-active {
    opacity: 1;
    transform: translateY(0);
}

.fv-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.fv-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fv-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv-slider .swiper-slide .cover {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ccc5b3;
    transform: scale(1.02);
    clip-path: inset(100% 0 0 0);
    pointer-events: none;
    will-change: clip-path;
}

/*
 * カバーが画像全体を覆った状態
 */
.fv-slider .swiper-slide .cover.is-covered {
    clip-path: inset(0 0 0 0);
}

/*
 * 現在の画像を下から覆う
 */
.fv-slider .swiper-slide .cover.is-covering {
    animation:
        fv-cover-in 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/*
 * 次の画像のカバーを上へ抜く
 */
.fv-slider .swiper-slide .cover.is-revealing {
    animation:
        fv-cover-out 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes fv-cover-in {
    0% {
        clip-path: inset(100% 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fv-cover-out {
    0% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 100% 0);
    }
}

.fv-slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fv-slider-arrow {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 30px;
    cursor: pointer;
}

.fv-slider-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #e9dfcd;
    border-left: 1px solid #e9dfcd;
}

.fv-slider-arrow--prev::before {
    left: 6px;
    transform: translateY(-50%) rotate(-45deg);
}

.fv-slider-arrow--next::before {
    right: 6px;
    transform: translateY(-50%) rotate(135deg);
}

.fv-slider-arrow.is-disabled {
    pointer-events: none;
    opacity: 0.3;
}

.fv-slider-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 109px;
    aspect-ratio: 1/1;
    color: #ccc5b3;
    font-size: clamp(0.875rem, 0.541rem + 1.42vw, 2.25rem);
    line-height: 1;
    border: 1px solid #CCC5B3;
    border-radius: 50%;
}

.fv-slider-pagination__slash {
    margin-inline: 3px;
}

.fv-tit {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 36px;

}

.fv-tit .tit-ja {
    font-size: clamp(1.25rem, 1.129rem + 0.52vw, 1.75rem);
    letter-spacing: 0.5em;
    color: #e6e2d8;
    writing-mode: vertical-lr;
}

.fv-tit .tit-ja:last-child {
    margin-top: auto;
}



.t_about .inner {
    padding: 40px 0 160px;
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.t_about .sec-tit {
    display: flex;
    align-items: baseline;
    font-size: clamp(1.5rem, 1.272rem + 0.97vw, 2.438rem);
    color: #ccc5b3;
    margin-bottom: 40px;
}

.t_about .sec-text {
    margin-top: 183px;
}

.t_about .sec-text .desc {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 32px;
}

.t_about .desc p {
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    line-height: calc(24 / 16);
    color: #e6e2d8;
}

.t_about {
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.t_about .tit-en {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.t_about .sec-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    align-items: flex-end;
    padding-bottom: 18px;
    position: relative;
}

.t_about .sec-img::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    opacity: 0;
    background-color: #FFF;
    transition: .8s ease;
}

.t_about .sec-img.is-active::before {
    width: 130%;
    opacity: 1;
}

.t_prof {
    position: relative;
    z-index: 3;
}

.t_prof::before {
    content: "";
    position: absolute;
    left: 0;
    top: -40%;
    background: url(/system_panel/uploads/images/20260720133633998637.png) no-repeat center/contain;
    max-width: 1176px;
    width: 62%;
    height: 739px;
    z-index: -1;
}

.t_prof .inner {
    padding-bottom: 160px;
    display: flex;
    gap: 5%;
}

.t_prof .sec-tit {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.t_prof .main-tit {
    display: flex;
    gap: 4px;
}

.t_prof .sub-tit {
    position: relative;
}

.t_prof .sub-tit::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 57px;
    height: 1px;
    background-color: #FFFFFF;
    left: 0;
}

.t_prof .sub-tit .tit-ja {
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    color: #e6e2d8;
    text-align: right;
}

.t_prof .main-tit .tit-en {
    font-size: clamp(2.5rem, 2.015rem + 2.07vw, 4.5rem);
    color: #ccc5b3;
    writing-mode: sideways-rl;
}

.t_prof .main-tit .tit-ja {
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    color: #ccc5b3;
    writing-mode: vertical-lr;
}

.t_prof .sec-img {
    max-width: 480px;
    width: 100%;
    position: relative;
}

.t_prof .sec-img .morebtn {
    position: absolute;
    bottom: 80px;
    left: 50%;
}

.t_prof .fv-tit {
    align-items: flex-start;
    margin-right: 10%;
    margin-left: auto;
}

.t_prof .fv-tit .tit-ja:last-child {
    margin: auto 0;
}

.t_gallery .inner {
    padding: 104px 0 160px;
}

.t_gallery {
    position: relative;
}


.t_gallery>.tit-en {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    top: 0;
}

.t_gallery .tit-ja {
    font-size: clamp(2rem, 1.909rem + 0.39vw, 2.375rem);
    text-align: center;
    color: #ccc5b3;
    margin-bottom: 37px;
}

.t_gallery::before {
    content: "";
    width: 100%;
    height: 105%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: url(/system_panel/uploads/images/20260720224953119443.png) no-repeat center/cover;
}






.t_gallery .btnarea {
    display: flex;
    justify-content: center;
    gap: 128px;
    margin-top: 120px;
}

.t_gallery .btnarea .item {
    max-width: 512px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 9px 0 27px;
    background: linear-gradient(to right, #74532a 0%, #503d32 100%);
}

.t_gallery .btnarea .item:hover .tit-en,
.t_gallery .btnarea .item:hover .text {
    opacity: 50%;
}

.t_gallery .btnarea .item .tit-en {
    font-size: clamp(2rem, 1.499rem + 2.14vw, 4.063rem);
    text-align: center;
    color: #ccc5b3;
    transition: .4s ease;
}

.t_gallery .btnarea .item .text {
    font-size: clamp(0.75rem, 0.629rem + 0.52vw, 1.25rem);
    text-align: center;
    color: #e6e2d8;
    transition: .4s ease;
}

.t_clients {
    position: relative;
    z-index: 3;
}

.t_clients::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    background: url(/system_panel/uploads/images/20260720234702934964.png) no-repeat bottom left/contain;
    max-width: 693px;
    width: 37%;
    aspect-ratio: 693/436;
    z-index: -1;
}

.t_clients .inner {
    padding-bottom: 308px;
    display: flex;
    gap: 96px;
}

.t_clients .sec-img {
    max-width: 654px;
    width: 100%;
}

.t_clients .sec-text {
    display: flex;
    flex-direction: column;
}

.t_clients .sec-text .tit-ja {
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    color: #ccc5b3;
    margin-bottom: 20px;
}

.t_clients .sec-text .desc {
    margin-bottom: 40px;
}

.t_clients .sec-text .desc p {
    font-size: 14px;
    color: #e6e2d8;
    line-height: calc(20/14);
}

.t_news .inner {
    padding-bottom: 120px;
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.t_news .tit-en,
.t_insta .tit-en {
    font-size: clamp(2.5rem, 2.136rem + 1.55vw, 4rem);
    color: #ccc5b3;
}

.t_news .sec-body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 34px;
}

.t_news .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
}

.t_news .webgeneLink {
    padding-bottom: 6px;
    border-bottom: 1px solid #ccc5b3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.t_news .blogDetailImg {
    aspect-ratio: 311/422;
    margin-bottom: 13px;
}

.t_news .blogDetailImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t_news .cate {
    font-size: clamp(0.688rem, 0.672rem + 0.06vw, 0.75rem);
    text-align: center;
    color: #e6e2d8;
    padding: 4px 8px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #ccc5b3;
    margin-bottom: 6px;
}

.t_news .ItemTit {
    font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
    line-height: calc(26/18);
    color: #e6e2d8;
    margin-bottom: 10px;
}

.t_news .date {
    font-size: clamp(0.688rem, 0.672rem + 0.06vw, 0.75rem);
    text-align: right;
    color: #e6e2d8;
    width: 100%;
}

.t_insta .inner {
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.t_insta .webgene-blog {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.t_insta .imgBx01 {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t_insta .imgBx01 img {
    width: 100%;
    height: 324px;
    object-fit: cover;
}

.t_insta .pb-3,
.t_insta .py-3 {
    padding: 0 !important;
}

@media screen and (max-width: 1180px) {
    .t_about .sec-text {
        width: 79%;
    }
}

@media screen and (max-width: 990px) {
    .fv {
        margin-top: 92px;
    }

    .fv .sec-top {
        flex-direction: column-reverse;
        align-items: center;
    }

    .fv .fv-tit {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8px;
    }

    .fv .fv-tit .tit-ja,
    .t_prof .main-tit .tit-ja,
    .t_prof .main-tit .tit-en {
        writing-mode: horizontal-tb;
    }

    .fv-slider {
        width: 249px;
        height: auto;
        margin-bottom: 12px;
    }

    .fv-slider-pagination {
        width: 43px;
    }

    .fv-slider-pagination__slash {
        margin: 0;
    }

    .fv-slider-arrow {
        width: 3px;
        height: 5px;
    }

    .t_about .sec-img {
        gap: 8px 16px;
    }

    .t_about .inner {
        flex-direction: column-reverse;
        gap: 120px;
        padding: 80px 0 96px;
    }

    .t_about .sec-text {
        margin-top: 0;
        width: 100%;
    }

    .t_about .tit-en {
        top: 63%;
    }

    .t_about .sec-tit {
        margin-bottom: 29px;
    }

    .t_about .sec-text .desc {
        margin-bottom: 40px;
    }

    .t_about .sec-tit img {
        width: 169px;
        height: auto;
    }

    .t_insta .imgBx01 img {
        height: 147px;
    }

    .t_prof .inner {
        display: grid;
        grid-template-areas: "title"
            "name"
            "img";
        align-items: center;
        gap: 0;
    }

    .t_prof .sec-tit {
        grid-area: name;
        gap: 0;
        z-index: 5;
    }

    .t_prof .sec-img {
        grid-area: img;
        margin-top: -58px;
        z-index: 1;
        flex-direction: column;
        gap: 24px;
        display: flex;
        align-items: center;
        max-width: none;
    }

    .t_prof .fv-tit {
        grid-area: title;
        margin-right: auto;
        margin-bottom: 57px;

    }

    .t_prof .fv-tit .tit-ja:last-child {
        margin-top: 40%;
    }

    .t_prof .main-tit {
        flex-direction: column-reverse;
        gap: 0;
    }

    .t_prof .sub-tit::before {
        position: relative;
        inset: 0;
        display: inline-block;
        width: 46px;
        margin: auto 0;
    }

    .t_prof .sub-tit {
        display: flex;
        gap: 11px;
        align-items: center;
    }

    .t_prof .main-tit .tit-ja {
        margin-top: -6px;
    }

    .t_prof .sec-img .morebtn {
        position: relative;
        inset: 0;
    }

    .t_prof::before {
        top: 0;
        left: -127px;
        background-position: top;
        max-width: none;
        width: 340px;
        height: 214px;
    }

    .t_gallery .inner {
        padding: 64px 0 120px;
    }

    .t_gallery .btnarea {
        gap: 40px;
    }

    .t_clients .inner {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 80px;
    }

    .t_clients::before {
        width: 335px;
        height: 212px;
        max-width: none;
    }

    .t_news .inner {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        padding-bottom: 120px;
    }

    .t_news .webgene-blog {
        gap: 40px;
        align-items: center;
    }

    .t_news .blogDetailImg {
        aspect-ratio: 191 / 258;
    }

    .t_insta .inner {
        gap: 22px;
        padding-bottom: 140px;
    }

    .morebtn {
        margin: 0 auto;
    }
}


@media screen and (max-width: 767px) {
    .fv .inner {
        padding-top: 20px;
    }

    .t_about .tit-en {
        top: auto;
        bottom: 364px;
    }



    .t_insta .webgene-blog {
        grid-template-columns: repeat(3, 1fr);
    }

    .t_gallery .btnarea {
        flex-direction: column;
        align-items: center;
        margin-top: 120px;
    }

    .t_gallery .btnarea .item {
        padding: 12px 0 20px;
    }

    .t_about .desc p br {
        display: none;
    }

    .t_news .webgene-blog {
        display: flex;
        flex-direction: column;
    }

}



.gjs-dashed {
    background: #150e06;
}

.gjs-dashed .loading {
    position: relative;
}


.gjs-dashed .fv-slider {
    opacity: 1;
    transform: translateY(0);
}

.gjs-dashed .load-img {
    opacity: 1;
  filter:none;
    visibility: visible;
}