/**
 * Member Custom CSS
 * メンバーページのカスタムスタイル（WHO WE AREから完全独立）
 * WHO WE AREの既存CSSを元に作成
 */

/* ==========================================================================
   Base Styles (基本スタイル)
   ========================================================================== */

.member .page__inner {
    width: 100%
}

.member_detail .page__inner {
    width: 860px
}

@media screen and (max-width:750px) {
    .member_detail .page__inner {
        width: 660px
    }
}

.member .page__head {
    width: 193px;
    height: 23.83px;
    margin-bottom: 40px
}

@media screen and (max-width:750px) {
    .member .page__head {
        width: 250px;
        height: 30.88px;
        margin-bottom: 80px
    }
}

.member .page__title {
    margin-bottom: 24px
}

.member .margin60 {
    margin-bottom: 60px
}

@media screen and (max-width:750px) {
    .member .margin60 {
        margin-bottom: 80px
    }
}

.member__column,
.member__column__body {
    margin: 0 auto;
    width: 100%;
    overflow: hidden
}

@media screen and (max-width:750px) {
    .member__column__body {
        width: 100%
    }
}

/* ==========================================================================
   Member Archive Page (メンバー一覧ページ)
   ========================================================================== */

.member__container {
    background-color: #FFF;
    padding-top: 100px;
    width: 860px;
    margin: 0 auto
}

.member__container .page__title {
    font-size: 28px;
    position: relative;
    font-family: "Roboto", sans-serif;
}

.member__container .page__title:after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 23px;
    left: 0;
    width: 12px;
    height: 1px;
    background: #000;
}

@media screen and (max-width:750px) {
    .member__container {
        padding-top: 90px;
        width: 660px
    }

    .member__container .page__title {
        font-size: 40px;
    }

    .member__container .page__title:after {
        top: 35px;
        width: 20px;
    }
}

.member__container .member__body {
    width: 820px;
    margin: 0 auto
}

@media screen and (max-width:750px) {
    .member__container .member__body {
        margin-left: auto;
        margin-right: auto;
        width: 600px
    }
}

.member__list {
    z-index: 0;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden
}

@media screen and (max-width:750px) {
    .member__list {
        margin-left: auto;
        margin-right: auto;
        width: 600px
    }
}

.member__list__item {
    height: auto;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 402px;
    float: left;
    margin-right: 15px;
    box-sizing: border-box;
    border: 1px solid #000;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.member__list__item:nth-child(2n) {
    margin-right: 0
}

@media screen and (max-width:750px) {
    .member__list__item:nth-child(2n) {
        float: none
    }

    .member__list__item {
        width: 600px;
        margin-right: 0;
        margin-bottom: 54px;
        float: none
    }
}

@media screen and (max-width:750px) and (max-width:750px) {
    .member__list__item {
        margin-bottom: 20px
    }
}


.member__list__item__img {
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: 188px;
    height: 154px;
    overflow: hidden;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

@media screen and (max-width:750px) {
    .member__list__item__img {
        width: 280px;
        height: 230px
    }
}

.member__list__item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.member__list__item__text {
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 15px
}

.member__list__item__text img {
    width: 100%;
    height: auto;
    display: block
}

.member__list__item__name {
    font-size: 15px;
    line-height: 100%;
    font-weight: 700
}

.lang_type_en .member__list__item__name {
    font-size: 15px
}

@media screen and (max-width:750px) {
    .member__list__item__text {
        padding: 20px
    }

    .member__list__item__name {
        font-size: 25px;
        line-height: 100%
    }

    .lang_type_en .member__list__item__name {
        font-size: 25px
    }
}

.member__list__item__position {
    font-size: 10px;
    line-height: 150%;
    letter-spacing: -0rem;
    margin-top: 10px;
    font-style: italic
}

.lang_type_en .member__list__item__position {
    font-size: 10px;
    letter-spacing: .1rem
}

@media screen and (max-width:750px) {
    .member__list__item__position {
        font-size: 16px;
        line-height: 150%;
        margin-top: 12px
    }

    .lang_type_en .member__list__item__position {
        font-size: 16px
    }
}

/* ホバーエフェクト */
.member__list__item .member__list__item__img img {
    -webkit-transition: -webkit-transform .5s ease-out;
    transition: transform .5s ease-out;
    -webkit-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important
}

.member__list__item:hover .member__list__item__img img {
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: scale(1.1) !important;
    -ms-transform: scale(1.1) !important;
    transform: scale(1.1) !important
}

@media screen and (max-width:750px) {
    .member__list__item:hover .member__list__item__img img {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none
    }
}

/* リンクエリア - item__link__viewスタイルを使用 */
.member__list__item .item__link__view {
    margin: 0 10px 10px 0
}

/* ==========================================================================
   Member Single Page (メンバー詳細ページ)
   WHO WE AREと同じデザイン、独立したクラス名
   ========================================================================== */

.member_detail .page__inner {
    width: 860px
}

@media screen and (max-width:750px) {
    .member_detail .page__inner {
        width: 660px
    }
}

.member__profile {
    width: 820px;
    margin-bottom: 75px;
    margin-left: auto;
    margin-right: auto
}

@media screen and (max-width:750px) {
    .member__profile {
        width: 600px;
        margin-bottom: 105px
    }
}

.member__profile__name {
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 100%;
    font-weight: 700
}

.lang_type_en .member__profile__name {
    font-size: 20px
}

@media screen and (max-width:750px) {
    .member__profile__name {
        margin-left: auto;
        margin-right: auto;
        width: 600px;
        font-size: 25px;
        line-height: 100%
    }

    .lang_type_en .member__profile__name {
        font-size: 25px
    }
}

.member__profile__position {
    margin-bottom: 30px;
    font-size: 13px;
    line-height: 150%
}

.lang_type_en .member__profile__position {
    font-size: 13px
}

@media screen and (max-width:750px) {
    .member__profile__position {
        margin-left: auto;
        margin-right: auto;
        width: 600px;
        font-size: 18px;
        line-height: 150%
    }

    .lang_type_en .member__profile__position {
        font-size: 18px
    }
}

.member__profile__img {
    width: 820px;
    height: auto;
    margin-bottom: 20px
}

@media screen and (max-width:750px) {
    .member__profile__img {
        width: 600px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-bottom: 18px
    }
}

.member__profile__text {
    font-size: 13px;
    line-height: 250%
}

.lang_type_en .member__profile__text {
    font-size: 13px
}

@media screen and (max-width:750px) {
    .member__profile__text {
        font-size: 18px;
        line-height: 220%;
        margin-left: auto;
        margin-right: auto;
        width: 600px
    }

    .lang_type_en .member__profile__text {
        font-size: 18px
    }
}

.member__job__title {
    position: relative;
    z-index: 0;
    top: 0;
    left: 0;
    margin-top: 24px;
    margin-bottom: 12px;
    padding-left: 0;
    font-size: 13px;
    line-height: 220%;
    font-weight: 700;
    overflow: hidden
}

.lang_type_en .member__job__title {
    font-size: 13px
}

.member__job__title span,
.member__job__title:after {
    display: none
}

@media screen and (max-width:750px) {
    .member__job__title {
        margin-top: 32px;
        margin-bottom: 6px;
        font-size: 18px;
        line-height: 175%
    }

    .lang_type_en .member__job__title {
        font-size: 18px
    }
}

.member__insert {
    margin: 60px 0
}

.member__bottom {
    position: relative;
    z-index: 0;
    padding-top: 50px;
    width: auto;
    text-align: center
}

@media screen and (max-width:750px) {
    .member__bottom {
        padding-top: 70px
    }
}

/* Native responsive layout: MEMBER archive and profile.
   Desktop dimensions above 980px remain defined by the legacy rules. */
@media screen and (max-width:979.98px) {
    .member .page__inner,
    .member_detail .page__inner,
    .member__container,
    .member__container .member__body,
    .member__list,
    .member__profile,
    .member__profile__name,
    .member__profile__position,
    .member__profile__img,
    .member__profile__text {
        width: 100%;
        max-width: 820px;
        min-width: 0;
    }

    .member__container {
        padding-top: clamp(72px, 11vw, 100px);
    }

    .member__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
    }

    .member__list__item,
    .member__list__item:nth-child(2n) {
        width: 100%;
        min-width: 0;
        margin: 0;
        float: none;
    }

    .member__list__item__img {
        width: min(46%, 188px);
        height: auto;
        aspect-ratio: 188 / 154;
    }

    .member__list__item__text {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .member__profile__img {
        height: auto;
    }

    .member__profile__text {
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width:750.98px) {
    .member.page .member__container {
        width: min(88vw, 660px);
        padding-top: 14vw;
    }

    .member.page .member__container .page__title {
        padding-left: min(4vw, 30px);
        margin-bottom: min(3.2vw, 24px);
        font-size: min(5.333333vw, 40px);
        line-height: 1.75;
    }

    .member.page .member__container .page__title:after {
        top: min(4.666667vw, 35px);
        width: min(2.666667vw, 20px);
    }

    .member.page .member__container .member__body,
    .member.page .member__list,
    .member.page .member__list__item {
        width: min(80vw, 600px);
    }

    .member.page .member__container .member__body,
    .member.page .member__list {
        margin-left: auto;
        margin-right: auto;
    }

    .member.page .member__list {
        grid-template-columns: minmax(0, 1fr);
        gap: min(2.666667vw, 20px);
        margin-bottom: min(1.6vw, 12px);
    }

    .member.page .member__list__item,
    .member.page .member__list__item:nth-child(2n) {
        box-sizing: border-box;
        margin: 0 auto;
    }

    .member.page .member__list__item__img {
        width: min(37.333333vw, 280px);
        aspect-ratio: 280 / 230;
    }

    .member.page .member__list__item__text {
        padding: min(2.666667vw, 20px);
    }

    .member.page .member__list__item__name,
    .lang_type_en .member.page .member__list__item__name {
        font-size: min(3.333333vw, 25px);
        line-height: 1;
    }

    .member.page .member__list__item__position,
    .lang_type_en .member.page .member__list__item__position {
        margin-top: min(1.6vw, 12px);
        font-size: min(2.133333vw, 16px);
        line-height: 1.5;
    }

    .lang_type_en .member.page .member__list__item__position {
        letter-spacing: .133333vw;
    }

    .member.page .member__list__item .item__link__view {
        right: min(.8vw, 6px);
        width: min(7.466667vw, 56px);
        height: min(4.933333vw, 37px);
        margin: 0 min(1.333333vw, 10px) min(1.333333vw, 10px) 0;
    }

    .member.page .member__list__item .item__link__view__bartop,
    .member.page .member__list__item .item__link__view__barbottom {
        height: 1px;
    }

    .member.page .member__list__item .item__link__view__barright {
        width: 1px;
    }

    #member_detail.member_detail .page__inner {
        width: min(88vw, 660px);
    }

    #member_detail.member_detail .page__head {
        box-sizing: content-box;
        width: min(33.333333vw, 250px);
        height: min(4.116667vw, 30.875px);
        margin-top: 25vw;
        margin-bottom: min(10.666667vw, 80px);
        padding-left: min(4vw, 30px);
    }

    #member_detail.member_detail .member__profile,
    #member_detail.member_detail .member__column__body,
    #member_detail.member_detail .member__profile__name,
    #member_detail.member_detail .member__profile__position,
    #member_detail.member_detail .member__profile__img,
    #member_detail.member_detail .member__profile__text {
        width: min(80vw, 600px);
    }

    #member_detail.member_detail .member__profile {
        margin-bottom: min(14vw, 105px);
    }

    #member_detail.member_detail .member__profile__name,
    .lang_type_en #member_detail.member_detail .member__profile__name {
        margin-bottom: min(2.4vw, 18px);
        font-size: min(3.333333vw, 25px);
        line-height: 1;
    }

    #member_detail.member_detail .member__profile__position,
    .lang_type_en #member_detail.member_detail .member__profile__position {
        margin-bottom: min(4vw, 30px);
        font-size: min(2.4vw, 18px);
        line-height: 1.5;
    }

    #member_detail.member_detail .member__profile__img {
        height: auto;
        margin-bottom: min(2.4vw, 18px);
    }

    #member_detail.member_detail .member__profile__text,
    .lang_type_en #member_detail.member_detail .member__profile__text {
        font-size: min(2.4vw, 18px);
        line-height: 2.2;
    }

    #member_detail.member_detail .member__job__title,
    .lang_type_en #member_detail.member_detail .member__job__title {
        margin-top: min(4.266667vw, 32px);
        margin-bottom: min(.8vw, 6px);
        font-size: min(2.4vw, 18px);
        line-height: 1.75;
    }

    #member_detail.member_detail .member__insert {
        margin: min(8vw, 60px) 0;
    }

    #member_detail.member_detail .member__bottom {
        width: 100%;
        padding-top: min(9.333333vw, 70px);
    }

    #member_detail.member_detail .member__bottom .btn_square {
        padding-top: min(9.333333vw, 70px);
    }

    #member_detail.member_detail .member__bottom .btn_square__item__text {
        padding: min(1.6vw, 12px) min(4vw, 30px);
    }

    #member_detail.member_detail .member__bottom .btn_square__item__text p,
    .lang_type_en #member_detail.member_detail .member__bottom .btn_square__item__text p {
        font-size: min(2.4vw, 18px);
    }

    #member_detail.member_detail .member__bottom .btn_square__item__arror {
        right: min(.4vw, 3px);
        width: min(.933333vw, 7px);
        height: min(1.466667vw, 11px);
    }

    #member_detail.member_detail .member__bottom .btn_square__item__bartop,
    #member_detail.member_detail .member__bottom .btn_square__item__barbottom {
        height: 1px;
    }

    #member_detail.member_detail .member__bottom .btn_square__item__barleft {
        width: 1px;
    }
}
