@charset "UTF-8";
/**************************************************************/
/* メインイメージ */
/**************************************************************/
.mainimg-pc{
    position: relative;
    width:100%;
    padding-top:56.25%;
    height: auto;
    /*background:url("../img/mainvisual/mainvisual_everyliveinc_pc.jpg") no-repeat center center / cover;*/
    z-index: 1;
    overflow: hidden;
}

@media screen and (max-width: 599px) {
  .mainimg-pc {
    height: 599px;
    padding-top: 0;
    width: 100%;
    /*background:url("../img/mainvisual/mainvisual_everyliveinc_sp.jpg") no-repeat center center / cover;*/
  }
}

/**************************************************************/
/* ピックアップ */
/**************************************************************/
.pickup-bg {
    background: linear-gradient(90deg, #fff 5%,#37d7ec 35%,#37d7ec 65%, #fff 95%);
    margin-top:-10px;
    margin-bottom:-60px;
    overflow: hidden;
}

.pickup-bg-img {
    background:url("../../assets/img/pickup_bg.svg")  no-repeat center center;
    background-size: cover;
    padding:20px 0;
    margin-top:-20px;
}

.pickup-slider {
	margin:20px 0 40px 0;
	overflow:hidden;
}

.pickup-slider-div {
	position: relative;
	margin: 0 0.5vw;
	width: 50vw;
    border:solid 1px #fff;
    transition: 0.2s;
    aspect-ratio:128 / 67;
    overflow: hidden;
    background: #fff;
}

.pickup-slider-div::after {
    content:"";
    position:absolute;
    top:0; right:0; bottom:0; left:0;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0); /* 初期状態では影を透明にする */
    transition: box-shadow 0.2s ease-in-out; /* 影の変化をアニメーションさせる */
    pointer-events: none;
}

.pickup-slider-div:hover::after {
    box-shadow:inset 0 0px 30px rgba(255, 255, 255,1);
}

.pickup-slider-div:hover {
    filter: brightness(120%);
}

.pickup-slider-div img {
	transition: opacity .3s;
	backface-visibility: hidden;
	height: auto;
	width:100%;
    box-shadow:inset 0 1px 5px rgba(0,0,0,.5);
}

/*一覧へボタン*/
.content-div-right-pickup {
    max-width:1140px;
    width:calc(100% - 40px);
    display: flex;
    justify-content:flex-end;
    margin:40px auto 0;
}

@media screen and (max-width: 999px) {
    .pickup-bg {
        margin-top:-10px;
        margin-bottom:-60px;
    }
}

@media screen and (max-width: 599px) {
    .pickup-bg {
        margin-top:-10px;
        margin-bottom:0px;
    }
    
    .pickup-bg-img {
        padding:10px 0;
        margin-top:-10px;
    }

    .pickup-slider {
	    margin:10px 0 20px 0;
    }
    .pickup-slider-div {
        margin: 0 2px;
        width: 75vw;
    }

    .content-div-right-pickup {
        justify-content:center;
        margin-top:30px;
    }
}

/**************************************************************/
/* ニュース */
/**************************************************************/
.news-box {
    position: relative;
    width:calc(100% - 40px);
    height:90px;
    margin:0 auto;
    border-top:solid 1px #ccc;
    display:flex;
    align-items: center;
}

.news-box::before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #ccc;
    transform: scale(2, 0);
    transition: 0.2s;
    transform-origin: left bottom;
}

/* マウスオーバー時 */
.news-box:hover::before {
  transform: scale(2, 1);
}

.news-box-last {
    border-bottom:solid 1px #ccc;
}

.news-box ul {
    width:100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.news-box ul li{
    display:flex;
    align-items: center;
}

.news-info {
    width:170px;
}

.news-ymd {
    width:105px;
    font-size:16px;
    color:#888;
}

.news-new {
    width:50px;
    font-size:16px;
    font-weight: bold;
    color:#f66;
}

.news-category{
    font-size:14px;
    color:#fff;
    background:#88ccff;
    padding:0 8px;
    border-radius: 20px;
    text-align: center;
    line-height: 1.4em;
}

.news-title {
    width:calc(100% - 160px);
    font-size:20px;
    line-height: 1.2em;
}

.news-title div{
    height:50px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media screen and (max-width: 999px) {
    .news-box {
        width:calc(100% - 20px);
        height:70px;
    }

    .news-box ul {
        padding: 0 7px;
    }

    .news-info {
        width:150px;
    }

    .news-ymd {
        width:90px;
        font-size:14px;
    }

    .news-new {
        width:45px;
        font-size:14px;
    }

    .news-category {
        font-size:12px;
    }

    .news-title {
        width:calc(100% - 140px);
        font-size:18px;
    }

    .news-title div {
        height:45px;
    }
}

@media screen and (max-width: 599px) {
    .news-box {
        width:100%;
        height:auto;
    }

    .news-box ul {
        padding: 30px 7px;
        display: inline;
        padding: 0 0;
    }

    .news-box ul li{
        align-items: start;
        padding:10px 0 0 0;
    }

    .news-info {
        width:100%;
        
    }

    .news-ymd {
        width:80px;
        font-size:12px;
    }

    .news-new {
        width:40px;
        font-size:12px;
    }

    .news-category {
        font-size:12px;
    }

    .news-title {
        width:100%;
        font-size:14px;
        margin-bottom:12px;
    }

    .news-title div {
        height:32px;
    }
}


/**************************************************************/
/* エブリマガジン */
/**************************************************************/
.top-magazine-list {
    display: flex;
    flex-wrap: wrap;
}

.top-magazine-box {
    width:358px;
    background:#fff;
    transition: .2s;
    margin-left:14px;
    margin-bottom:40px;
    transition: 0.2s;
}

.top-magazine-box a {
    display:block;
}

.top-magazine-box:hover {
    filter: brightness(120%);
}

.top-magazine-list > .top-magazine-box:nth-last-child(1),
.top-magazine-list > .top-magazine-box:nth-last-child(2),
.top-magazine-list > .top-magazine-box:nth-last-child(3) {
    margin-bottom:0;
}

.top-magazine-ymd {
    font-size:16px;
    color:#888888;
    margin-bottom:5px;
}

.top-magazine-ymd span {
    color:#ff6666;
    font-weight:bold;
    margin-left:10px;
}

.top-magazine-thumb {
    width:100%;
    aspect-ratio:128 / 67;
    overflow: hidden;
}

.top-magazine-thumb img {
    border-radius: 5px;
    width:100%;
}

.top-magazine-category {
    display: inline-block;
    font-size:14px;
    background:#9ab9d0;
    color:#fff;
    border-radius: 30px;
    padding:2px 10px;
    line-height:1.1em;
    margin:15px 0 10px;
}

.top-magazine-title {
    font-size:20px;
    font-weight: bold;
    line-height:1.2em;
    padding:3px 3px 0 3px;
    width:100%;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:2;
    overflow: hidden;
}

@media screen and (max-width: 1179px) {
    .top-magazine-box {
        width:32%;
        margin-left:1vw;
    }
}

@media screen and (max-width: 999px) {
    .top-magazine-ymd {
        font-size:14px;
        margin-bottom:4px;
    }

    .top-magazine-category {
        font-size:12px;
    }

    .top-magazine-title {
        font-size:18px;
    }
}

@media screen and (max-width: 799px) {
    .top-magazine-box {
        width:48%;
        margin-left:1vw;
    }
}

@media screen and (max-width: 599px) {
    .top-magazine-list > .top-magazine-box:nth-last-child(1),
    .top-magazine-list > .top-magazine-box:nth-last-child(2) {
        margin-bottom:0;
    }

    .top-magazine-ymd {
        font-size:12px;
        margin-bottom:3px;
    }

    .top-magazine-category {
        font-size:12px;
    }

    .top-magazine-title {
        font-size:14px;
        height:37px;
    }
}