@charset "utf-8";

.sec-head.has-border {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec-head.has-border .tit-ja {
    position: relative;
    font-size: clamp(1.25rem, 1.068rem + 0.78vw, 2rem);
    padding-bottom: 20px;
}

.sec-head.has-border .tit-ja::before {
    content: "";
    width: 30%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #150E06;
}

.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;
}

.portrait-slider-area {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: none;

}

.portrait-slider {
    width: 100%;
    overflow: visible;
    height: 635px;
    position: relative;
}

.portrait-slider a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    cursor: none;
}


.portrait-slider .swiper-wrapper {
    align-items: center;
}

.portrait-slider .swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 171px;
    height: auto;
    overflow: visible;
    transform: translateX(0);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-slider .swiper-slide-inner {
    width: 171px;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.portrait-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/*

 * 423px - 171px = 252px

 * 左右へのはみ出し量は126pxずつ

 */

.portrait-slider .swiper-slide.is-before-active {
    transform: translateX(-126px);
}

.portrait-slider .swiper-slide.is-after-active {
    transform: translateX(126px);
}

.portrait-slider .swiper-slide-active {
    z-index: 2;
}

.portrait-slider .swiper-slide-active .swiper-slide-inner {
    transform: scale(2.4737);
}

.slider-cursor.pc-hidden {
    display: none;
}

.slider-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    aspect-ratio: 1 / 1;
    border: 2px solid #ccc5b3;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.75);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    will-change: left, top, transform;
}

.slider-cursor.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.slider-cursor p {
    margin: 0;
    color: inherit;
    font-size: clamp(0.875rem, 0.708rem + 0.71vw, 1.563rem);
    line-height: calc(38/25);
    text-align: center;
    color: #ccc5b3;
}

.portrait-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 50;
    display: flex;
    align-items: center;
    width: 51.5px;
    height: 103px;
    color: #1e160f;
    background-color: #e8e3d4;
    cursor: pointer;
}

.portrait-slider-arrow:hover {
    opacity: 50%;
}

.portrait-slider-arrow-prev {
    left: 0;
    justify-content: center;
    border-radius: 0 51.5px 51.5px 0;
    transform: translateY(-140%);
}

.portrait-slider-arrow-next {
    right: 0;
    justify-content: center;
    transform: translateY(-140%);
    border-radius: 51.5px 0 0 51.5px;
}

.portrait-slider-arrow-icon {
    position: relative;
    display: block;
}

.portrait-slider-arrow-icon::before {
    position: absolute;
    top: 50%;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.portrait-slider-arrow-prev .portrait-slider-arrow-icon::before {
    left: 0;
    transform: translateY(70%) rotate(-135deg);
}

.portrait-slider-arrow-next .portrait-slider-arrow-icon::before {
    right: 0;
    transform: translateY(70%) rotate(45deg);
}

.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;
}

.hiro-portrait-gallery,
.hiro-portrait-gallery *,
.hiro-portrait-gallery *::before,
.hiro-portrait-gallery *::after {
    box-sizing: border-box;
}

.sec-swiper {
    max-width: 1073px;
    width: 63%;
}

.hiro-portrait-gallery {
    overflow: hidden;
}

.hiro-portrait-gallery__inner {
    width: 100%;
    padding: 3.7rem 0 1rem 2rem;
    overflow: hidden;
}

.hiro-portrait-gallery .js-hiro-portrait-swiper {
    width: 100%;
    overflow: visible;
}

.hiro-portrait-gallery .swiper-wrapper {
    align-items: stretch;
}

.hiro-portrait-gallery .swiper-slide {
    width: 24rem;
    height: auto;
}

.hiro-portrait-gallery__image {
    width: 100%;
    aspect-ratio: 240 / 302;
    margin: 0;
    overflow: hidden;
    background-color: #bbb3a1;
}

.hiro-portrait-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hiro-portrait-gallery__navigation {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-top: 1.3rem;
}

.hiro-portrait-gallery__arrow {
    position: relative;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 2px solid #111;
    border-radius: 50%;
    background-color: transparent;
    color: #111;
    appearance: none;
    cursor: pointer;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
}

.hiro-portrait-gallery__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-top: 0.1rem solid currentColor;
    border-right: 0.1rem solid currentColor;
}

.hiro-portrait-gallery__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.hiro-portrait-gallery__arrow--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.hiro-portrait-gallery__arrow:hover {
    color: #fff;
    background-color: #111;
}

.hiro-portrait-gallery__arrow.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}


.hiro-portrait-gallery .swiper-slide {
    width: 262px;

}

.flow .inner {
    padding: 80px 0 120px;
}

.flow .list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow .list .item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #150e06;
}

.flow .sec-img {
    max-width: 192px;
    width: 100%;
}

.flow .sec-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow .sec-text .desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flow .sec-text .desc p {
    line-height: calc(24/16);
}

.flow .sec-text .desc .kome {
    font-size: 14px;
    line-height: calc(20/14);
    color: #555;
}

.flow .item-tit {
    display: flex;
    align-items: center;
    gap: 9px;
}

.flow .item-tit .tit-ja {
    font-size: clamp(1.125rem, 1.095rem + 0.13vw, 1.25rem);
    line-height: calc(31/20);
    color: #150e06;
}

.flow .item-tit .num {
    width: 29px;
    aspect-ratio: 1/1;
    border-radius: 50px;
    background-color: #150E06;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    color: #e6e2d8;
}

@media screen and (max-width: 1024px) {
    .hiro-portrait-gallery__image {
        aspect-ratio: 262/329;
    }

    .hiro-portrait-gallery {
        overflow: visible;
    }

    .hiro-portrait-gallery__arrow {
        width: 36px;
        aspect-ratio: 1/1;
        height: auto;
    }

    .hiro-portrait-gallery__arrow::before {
        width: 6px;
        height: 6px;
    }

    .hiro-portrait-gallery__navigation {
        gap: 22px;
    }

    .flow .inner {
        padding-top: 32px;
    }

    .flow .list .item {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .flow .sec-img {
        max-width: none;
        height: 172px;
    }

    .flow .sec-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
                .t_gallery .btnarea {width: 90%;
                    margin: 0 auto;}
}




@media screen and (max-width: 990px) {
    .t_gallery .btnarea {
        gap: 40px;

    }
}

@media screen and (max-width: 767px) {
    .portrait-slider-area {
        overflow: visible;
        cursor: auto;

    }

    .portrait-slider .swiper-slide {

        width: 80px;

        height: 130px;

    }

    .portrait-slider .swiper-slide.is-before-active {
        transform: translateX(-61px);
    }

    .portrait-slider .swiper-slide.is-after-active {
        transform: translateX(61px);
    }

    .portrait-slider .swiper-slide-inner {
        width: 80px;
    }

    .portrait-slider {
        height: 308px;
        overflow: hidden;
    }

    .slider-cursor.sp-hidden {
        display: none;
    }

    .slider-cursor.pc-hidden {
        width: 98px;
        display: flex;
        border: 2px solid #ccc5b3;
        visibility: visible;
        opacity: 1;
        left: 0;
        margin: auto;
        right: 0;
        top: auto;
        bottom: -50px;
        transform: none;

    }

    .portrait-slider-arrow {
        width: 23.5px;
        height: 47px;
        top: 37%;
    }

    .portrait-slider-arrow-icon {
        width: 9px;
        height: auto;
    }

    .t_gallery .btnarea {
        width: 90%;
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        margin-top: 120px;
    }

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

@media (hover: none),
(pointer: coarse) {

    .portrait-slider-area {

        cursor: auto;

    }

    .slider-cursor {

        display: none;

    }

}

.gjs-dashed .portrait-slider {
    z-index: 2;
    cursor: auto;
}

.gjs-dashed .portrait-slider a {
    z-index: 0;
    cursor: auto;
}

.gjs-dashed .swiper-wrapper {
    flex-direction: column;
    height: auto;

}

.gjs-dashed .portrait-slider-area {
    cursor: auto;
}