@charset "utf-8";

/* 会員登録ページ */
.member_entry_merit{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 50px;
    margin-top : 50px;
}
.member_entry_merit_tile{
    max-width: 300px;
    margin: auto;
}
.member_entry_merit_img{
    max-width: 75px;
    aspect-ratio: 1 / 1;
	display:-ms-flexbox;
	display:flex;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	align-items : center;
	justify-content : center;
    margin: auto;
    margin-bottom : 10px;
}
.member_logo{
    font-size: inherit;
    height: 1em;
}
.member_entry_present
{
    display : grid;
    grid-template-columns: 1fr;
    background-color : var(--color-blue);
}
.member_entry_present_text{
    padding: 10px 5px;
}
.member_entry_present_img{
    font-size: 0;
    height : 150px;
    max-width: 100%;
}
.member_entry_present_img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: 50% 5%;
}
.campaign_limit{
    letter-spacing: 0;
    display: inline-block;
    margin : 0px 5px; 
}
.campaign_limit small{
    font-size: 0.8em;
}
#HISTORY_RESULT,
#FAVORITE_RESULT
{
    max-height : 50vw;
    overflow-y: scroll;
    padding-right : 30px;
}
.member_entry_present_text > div
{
    text-align : center;
    position : relative;
}
.member_entry_present_text > div img
{
    margin : 10px 5px 0px 10px;
    max-width: 100%;  
}
.member_entry_present_text > div > span
{
    position : absolute;
    bottom : 0px;
    right : 0px;
}
.member_entry_merit_text h3
{
    font-family: var(--title-font);
    font-size : 21px;
    background-color : var(--color-main-orange);
    padding : 10px;
    color : var(--color-white);
    margin : 20px 0px;
}
/* 会社概要 */
#COMPANY_TABLE
{
    z-index : 5;
    position : relative;
}

/* スタッフ紹介 */
.staff_box
{
    border-top : 1px solid var(--color-brown);
    padding : 50px 0px;
    transition : all 0.5s;
}
.staff_box:hover
{
    opacity : 0.7;
}
.staff_box.contents_icon:before
{
    right : 0;
    transform : translateY(0) rotate(90deg);
    width : 70px;
    top : 0px;
    right : 30px;
}

.staff_profile
{
    display : grid;
    grid-template-columns : repeat(auto-fit, minmax(350px, 1fr));
    gap : 30px;
}
.staff_profile img
{
    max-width : 100%;
    margin : 20px 0px;
}
.staff_profile table th
{
    color: var(--color-brown);
}
#STAFF_LIST_RESULT .staff_profile > table
{
    display : none;
}
#STAFF_LIST_RESULT .contents_title p
{
    font-size : 16px;
    line-height : 1.5em;
}

/* 写真スライド */
.slider_window
{
    width : 100%;
    overflow : hidden;
    position : relative;
    aspect-ratio : 3 / 2;
}
.slider_track
{
    width : 100%;
    height : 100%;
}
.slide
{
    position : absolute;
    top : 0;
    left : 50%;
    width : 100%;
    height : 100%;
    transition : transform 0.5s ease;
    background-color : #f8f8f8;
}
.slide img
{
    width : 100%;
    height : 100%;
    object-fit : cover;
}
.slide span
{
    display : block;
    width : 100%;
    background-color : rgba(255,255,255,0.5);
    font-size : 16px;
    text-align : center;
    position : absolute;
    bottom : 0;
    padding : 7px 0px;
    font-weight : bold;
}
.slider
{
    position : relative;
}
.prev,
.next
{
    position : absolute;
    top : 45%;
    background-color : rgba(0,0,0,0.8);
    color : #ffffff;
    border : none;
    width : 40px;
    height : 40px;
    font-size : 18px;
    font-weight : bold;
    cursor : pointer;
    padding : 0;
    text-align : center;
    z-index : 2;
	transition: all 0.5s;
}
.prev:hover,
.next:hover
{
    opacity : 0.5;
}
.next
{
    right : 0px;
}
/* ----------------------------------------------------------------------------- */
/* 450px以上 */
/* ----------------------------------------------------------------------------- */
@media screen and (min-width: 530px) {
    .member_entry_present_text > div img
    {
        margin : 10px 0px 0px 10px;
        width: auto;
    }
    .member_entry_present_text > div > span
    {
        right : 50px;
    }
    .prev,
    .next
    {
        width : 50px;
        height : 50px;
        font-size : 24px;
    }
}

/* ----------------------------------------------------------------------------- */
/* 768px以上　タブレット */
/* ----------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {

    .member_entry_present
    {
        grid-template-columns: 60% 40%;
    }
    .member_entry_present_img{
        font-size: 0;
        height : 100%;
    }
    .member_entry_present_text{
        padding: 20px;
        padding-right: 30px;
    }
    .member_entry_present_text > div > span
    {
        right : 10px;
        bottom : 20px;
    }
    .slider_window
    {
        aspect-ratio : 2 / 1;
    }
    .slide
    {
        width : 70%;
    }
    .staff_box:nth-child(odd) .staff_profile table
    {
        order : -1;
    }
    .staff_box.contents_icon:before
    {
        width: 125px;
        right : 0px;
        top : 20px;
    }
    .staff_box:nth-child(even).contents_icon:before
    {
        left : 0;
        transform : translateY(0) rotate(0);
    }
    .staff_box:nth-child(even) .contents_title
    {
        width : 50%;
        margin-left : 52%;
    }
    #STAFF_LIST_RESULT .staff_profile > table
    {
        display : table;
    }
    #STAFF_LIST_RESULT .staff_profile > div
    {
        display : none;
    }
}
/* ----------------------------------------------------------------------------- */
/* 1024px以上　PC */
/* ----------------------------------------------------------------------------- */
@media screen and (min-width: 1024px) {

}
/* ----------------------------------------------------------------------------- */
/* 1250px以上 */
/* ----------------------------------------------------------------------------- */
@media screen and (min-width : 1250px) {

}