@charset "utf-8";

/* 基準 */
@media (min-width: 1401px) {
    main {
        --main-font-size: calc(1px);
    }
}
@media (min-width: 769px) and (max-width: 1400px) {
    main {
        --main-font-size: calc(100/1440 * 1vw);
        --main-font-size: calc(100/1440 * 1dvw);
    }
}
@media (max-width: 768px) {
    main {
        --main-font-size: calc(100 / 375 * 1vw );
        --main-font-size: calc(100 / 375 * 1dvw );
    }
}


/* other */
.other {
    overflow: hidden;
}
.other_swiper:has(.swiper-button-lock) .swiper_control {
    opacity: 0;
}
.other_swiper:not(:has(.swiper-button-lock)) {
    padding-bottom: var(--other-swiper-pb, 95rem);
}
.other_swiper_content:not(a),
.other_list_content:not(a) {
    opacity: 0.5;
}
.other_ttl_wrap {
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
    align-items: center;
}
.other_ttl {
    font-size: 50px;
    line-height: 1;
    font-weight: 600;
}
.other_ttl_nav {
    display:flex;
    align-items: center;
    flex-wrap: wrap;
}
.other_ttl_nav > li button {
    position:relative;
    color: inherit;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.other_ttl_nav > li button::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 7px;
    height: 9px;
    background: var(--color-black);
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
    margin-right: 5px;
}
.other_ttl_nav > li button.is_current::after {
    content:"";
    position: absolute;
    left:0;
    width:100%;
    border-top: 1px solid var(--color-black);
}
.other_list {
    display: flex;
}
.other_list_content {
    text-decoration: none;
}
.other_list_content.is_current {
    opacity: 0.5;
}
.other_img {
    width: 100%;
    overflow: hidden;
}
.other_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.other_story_box {
    background-color: var(--color-white);
    display: flex; 
    flex-direction: column;
    justify-content: center;
}
.other_story_ttl {
    color: var(--color-black);
}
.other_story_txt {
    line-height: 1.4;
    background-color: var(--color-light-gray);
}
.other_list_list > li {
    display: none;
}
.other_list_list > li.is_show {
    display: block;
}
.swiper_control {
    position: absolute;
    bottom: 0;
    right: 0;
    display:flex;
}
.other_swiper .swiper-button-next,
.other_swiper .swiper-rtl .swiper-button-prev {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
}
.other_swiper .swiper-button-prev,
.other_swiper .swiper-rtl .swiper-button-next {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.other_swiper .swiper-button-next,
.other_swiper .swiper-button-prev {
    background-color: var(--color-black);
}
.other_swiper .swiper-button-prev:after,
.other_swiper .swiper-rtl .swiper-button-next:after,
.other_swiper .swiper-button-next:after,
.other_swiper .swiper-rtl .swiper-button-prev:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent var(--color-white) transparent transparent;
    display: block;
}
.other_swiper .swiper-button-next:after,
.other_swiper .swiper-rtl .swiper-button-prev:after {
    rotate: 180deg;
}
.border_flex .other .content_inner {
    padding: 0;
}
@media (min-width: 769px) {
    .about_other .other_inner {
        width: 100%;
    }
    .other_ttl_wrap {
        width: calc(var(--main-font-size) * 1200);
    }
    .other_ttl_nav {
        gap: calc(var(--main-font-size) * 20);
        font-size: calc(var(--main-font-size) * 16);
    }
    .other {
        margin-top: calc(var(--main-font-size) * 180);
    }
    .other_ttl_nav > li button.is_current::after {
        bottom: calc(var(--main-font-size) * -5);
    }
    .other_list_list .swiper-slide,
    .other_swiper .swiper-slide {
        width: calc(var(--main-font-size) * var(--other-panel-width));
    }
    .about_other .other_list_list .swiper-slide,
    .other_swiper .swiper-slide {
        width: 25%;
    }
    .other_list_content {
        /* width: calc(var(--main-font-size) * var(--other-panel-width)); */
        display: block;
        position: relative;
        overflow: hidden;
    }
    .about_other .other_list_content {
        width: 100%;
    }
    .other_img {
        height: 100%;
    }
    .other_list_txt_area {
        position: absolute;
        z-index: 2;
        bottom: 0;
        left: 0;
    }
    .other_story_box {
        padding: calc(var(--main-font-size) * 6.5) calc(var(--main-font-size) * 20);
        position: relative;
    }
    .interview_other .other_story_box {
        width: 150rem;
    }
    .about_other .other_story_box {
        padding: calc(var(--main-font-size) * 6.5) calc(var(--main-font-size) * 12);
        width: 165rem;
        min-height: min(62px, 62rem);
    }
    .project_other .other_story_box {
        width: 255rem;
    }
    .team_other .other_story_box {
        padding: calc(var(--main-font-size) * 6.5) calc(var(--main-font-size) * 12);
        width: 295rem;
        width: 255rem;
    }
    .life_other .other_story_box {
        /* width: 230rem; */
        width: 200rem;
    }
    .other_story_ttl {
        font-size: calc(var(--main-font-size) * 14);
        line-height: 1.2;
    }
    .other_story_ttl_num {
        font-size: calc(var(--main-font-size) * 10);
    }
    .other_ttl_set {
        display: flex;
        align-items: center;
        min-height: calc(var(--main-font-size) * (58 - 6.5 * 2));
    }
    .other_ttl_en {
        font-size: calc(var(--main-font-size) * 15);
        font-size: calc(var(--main-font-size) * 14);
    }
    .other_ttl_jp {
        font-size: calc(var(--main-font-size) * 10);
    }
    .about_other .other_ttl_jp {
        letter-spacing: -0.05em;
    }
    .other_ttl_txt {
        font-size: calc(var(--main-font-size) * 13);
    }
    .other_swiper {
        margin-top: calc(var(--main-font-size) * 30);
        width: calc(var(--main-font-size) * 1200);
        margin-inline: auto;
    }
    .about_other .other_swiper {
        width: 100%;
    }
    .other_story_txt {
        padding: calc(var(--main-font-size) * 5) calc(var(--main-font-size) * 18);
        font-size: calc(var(--main-font-size) * 13);
    }
    .other_swiper .swiper-button-next,
    .other_swiper .swiper-button-prev {
        width: calc(var(--main-font-size) * 65);
        height: calc(var(--main-font-size) * 65);
    }
    .other_swiper .swiper-button-prev:after,
    .other_swiper .swiper-rtl .swiper-button-next:after,
    .other_swiper .swiper-button-next:after,
    .other_swiper .swiper-rtl .swiper-button-prev:after {
        border-width: calc(var(--main-font-size) * 5) calc(var(--main-font-size) * 8) calc(var(--main-font-size) * 5) 0;
    }
    @media(hover: hover){
        .other_img {
            position: relative;
            z-index: 1;
            /* transition: scale 0.4s; */
            /* transition: scale 0.1s; */
        }
        .other_img::after {
            content:"";
            position:absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            /* background: rgba(0,0,0,0.3); */
            opacity:0;
            /* transition: opacity 0.4s; */
        }
        a[href].other_list_content:hover .other_img {
            scale: 1.1;
            scale: 1.5;
        }
        a[href].other_list_content:hover .other_img::after {
            opacity:1;
        }
        .other_ttl_nav > li button:not(.is_current)::after {
            content: "";
            position: absolute;
            left: 0;
            width: 100%;
            border-top: 1px solid var(--color-black);
            bottom: calc(var(--main-font-size) * -5);
            scale: 0 1;
            transition: scale 0.4s;
        }
        .other_ttl_nav > li button:not(.is_current):hover::after {
            scale: 1 1;
        }
    }
}
@media (max-width: 768px) {
    .other_ttl_wrap {
        align-items: start;
        flex-direction: column;
    }
    .other_ttl {
        margin-bottom: 20rem;
    }
    .other_ttl_nav {
        gap: 0 20rem;
        font-size: 16rem;
        line-height: 3.2;
        margin-bottom: 10rem;
    }
    .other {
        margin-top: 180rem;
    }
    .other_ttl_nav > li button.is_current::after {
        bottom: 0px;
    }
    .other_list {
        margin-top: 16rem;
    }
    .swiper-slide {
        display:block;
        width: calc(var(--other-panel-width) * 1rem);
    }
    .other_list_content {
        display:block;
        width: calc(var(--other-panel-width) * 1rem);
        height: calc(var(--other-panel-width) * 1rem);
    }
    .other_img {
        min-height: 120rem;
    }
    .other_list_txt_area {
        position: absolute;
        z-index: 1;
        display: flex;
        flex-direction: column;
        bottom: -1px;
        left: 0;
    }
    .other_story_box {
        padding: 6.5rem 20rem;
        font-size: 10rem;
    }
    .interview_other .other_story_box {
        width: 150rem;
    }
    .team_other .other_story_box {
        width: 200rem;
    }
    .other_story_ttl_num {
        font-size: 10rem;
    }
    .other_ttl_set {
        display: flex;
        align-items: center;
        width: 135rem;
        height: 40rem;
    }
    .other_ttl_en {
        font-size: 15rem;
    }
    .other_ttl_jp {
        font-size: 10rem;
    }
    .about_other .other_ttl_jp {
        letter-spacing: initial;
    }

    .other_story_ttl {
        line-height: 1.4;
    }
    .other_story_txt {
        padding: 4rem 16rem;
        font-size: 12rem;
        margin-right: -16rem;
    }
    .other_list_list {
        position: relative;
    }
    .swiper_control {
        position: absolute;
        bottom: 0;
        right: 0rem;
        display:flex;
        gap: 1rem;
    }
    .swiper-button-prev,
    .swiper-button-next {
        position: relative;
        top:0;
        left:0;
        width: 65rem;
        height: 65em;
        background:#000;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .swiper {
        overflow: visible;
        position: relative;
    }
    .other_list_list > li {
        position: relative;
        padding-bottom: 75rem;
    }
    .other_swiper .swiper-button-next,
    .other_swiper .swiper-button-prev {
        width: 65rem;
        height: 65rem;
    }
    .other_swiper .swiper-button-prev:after,
    .other_swiper .swiper-rtl .swiper-button-next:after,
    .other_swiper .swiper-button-next:after,
    .other_swiper .swiper-rtl .swiper-button-prev:after {
        border-width: 5rem 8rem 5rem 0;
    }
}
@media (width >= 1441px) {
  .about_other .other_story_box {
    /* width: 190px; */
  }
  .life_other .other_story_box {
    /* width: 230px; */
    width: 200px;
  }
  .team_other .other_story_box {
    width: 255px;
  }
  .project_other .other_story_box {
    width: 255px;
  }
}