
.width{
    max-width: 1200px;
    margin: 0 auto;
}
body{
    margin: 0;
}
@media screen and (max-width: 1300px) {
    .width{
        max-width: 100%;
        padding: 0 50px ;
        margin: 0 50px;
    }
}
@media screen and (max-width: 768px) {
    .width{
        max-width: 100%;
        padding: 0 20px;
        margin: 0px;
    }
}

/* よく使うタイトルのcss */
#titlebox .main{
    font-family: Cormorant Garamond,sans-serif;
    font-size: 62px;
    font-style: italic;
    margin: 0;
    line-height: initial;
    font-weight: 500;
    color: #7788b7;
}
#titlebox .sub{
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.NewsTitle{
    position: absolute;
    top: -70px;
    left: 50px;
}
@media screen and (max-width: 768px) {
    #titlebox .main{
        font-size: 36px;
        font-weight: bold;
    }
    #titlebox .sub{
        font-size: 14px;
    }
    .NewsTitle{
        position: absolute;
        top: -45px;
        left: 20px;
    }
}
/* よく使うタイトルのcss */

/* newsここから */
#news{
    width: 100%;
    padding: 200px 0 100px;
    background-color: #c3c3c3;
}
#news > .inner{
    padding: 70px 50px 30px;
    margin-bottom: 50px;
    background-color: #fff;
    position: relative;
}

@media screen and (max-width: 768px) {
    #news{
        width: calc(100% - 40px);
        padding: 100px 20px 40px;
    }
    #news > .inner{
        padding: 50px 20px 30px;
        background-color: #fff;
        position: relative;
        margin-bottom: 30px;
    }
}

#news .categorybox{
    display: flex;
    /* align-items: center; */
    padding: 0px 50px 0px;
}

#news .categorybox .category_nav{
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: end;
}
#news .categorybox .title{
    font-family: 'Oswald',sans-serif;    
    font-weight: 500;
    font-size: 24px;
    color: #528080;
    letter-spacing: 1px;
    margin: 0;
}
#news .categorybox .category_nav li{
    width: auto;
    padding: 0 30px;
    border-right: 1px solid #bbb;
    text-align: center;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    color: #332d2a;
}

@media screen and (max-width: 768px) {
    #news .categorybox{
        display: block;
        padding: 10px 0 0 ;
    }
    #news .categorybox .title{
        font-family: 'Oswald',sans-serif;    
        font-weight: 500;
        padding-bottom: 10px;
        font-size: 20px;
        letter-spacing: 1px;
        margin: 0;
    }
    #news .categorybox .category_nav{
        width: 100%;
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: end;
    }
    
    #news .categorybox .category_nav li{
        flex-basis: 33%;
        width: 100%;
        padding: 0 0px;
        border-right: 1px solid #bbb;
        text-align: center;
        font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
        font-size: 15px;
        color: #332d2a;
    }
    #news .categorybox .category_nav li:last-child{
        border-right: none;
    }
}

#news > .news_details{
    padding: 70px 50px 30px;
    background-color: #fff;
}
#news > .news_details .news_titles{
    padding: 20px 10%;
    border-bottom: 1px solid #bbbbbb;
    position: relative;
}
#news > .news_details .news_titles .daycg{
    display: flex;
    gap: 20px;
    align-items: center;
}
#news > .news_details .news_titles .daycg .day{
    font-family: 'Oswald',sans-serif;
    font-size: 13px;
    color: #528099;
    margin: 0;
}
#news > .news_details .news_titles .daycg .category{
    font-family: 'Oswald',sans-serif;
    font-size: 13px;
    color: #fff;
    padding: 3px 5px;
    letter-spacing: 1px;
    border-radius: 2px;
    width: 65px;
    text-align: center;
    margin: 0;
}
#news > .news_details .news_titles .category.column{
    background-color: #77aad9;
}
#news > .news_details .news_titles .category.event{
    background-color: #ce965a;
}
#news > .news_details  .news_titles .news_title{
    padding-top: 20px;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 20px;
    color: #332d2a;
    margin: 0;
    line-height: 30px;
}
@media screen and (max-width: 1300px) {
    #news > .news_details{
        margin: 0 50px;
    }
    #news > .news_details .news_titles{
        padding: 20px 5%;
    }
}
@media screen and (max-width: 768px) {
    #news > .news_details{
        width: calc(100% - 40px);
        padding: 50px 20px 30px;
        margin: 0;
    }
    #news > .news_details .news_titles{
        display: block;
        padding: 10px 0px;
        border-bottom: 1px solid #bbbbbb;
        position: relative;
    }
    #news > .news_details .news_titles .daycg{
        display: flex;
        gap: 20px;
        align-items: center;
        padding-bottom: 0px;
    }
    #news > .news_details .news_titles  .daycg  .category{
        padding: 1px 5px;
    }
    #news > .news_details .news_titles .news_title{
        font-size: 16px;
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
    /* white-space: nowrap; */
        padding-top: 10px;
        padding-right: 0px;
    }
}


#news  > .news_details .detail{
    padding: 100px 10% 20px;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    margin: 0;
    line-height: 46px;
    letter-spacing: 2px;
}
#news  > .news_details .detail .image{
    padding-bottom: 50px;
    margin: 0;
    width: 100%;
}
#news  > .news_details .detail img{
    max-width: 100%;
}
#news  > .news_details .detail p{
    margin: 0;
}
@media screen and (max-width: 1300px) {
    #news  > .news_details .detail{
        padding: 50px 5% 20px;
    }
}
@media screen and (max-width: 768px) {
    
    #news  > .news_details .detail{
        font-size: 15px;
        margin: 0;
        line-height: 40px;
        letter-spacing: 1px;
        padding: 30px 0 ;
    }

    #news  > .news_details .detail .image{
        padding-bottom: 30px;
        width: 100%;
        margin: 0;
    }
    #news  > .news_details .detail .image img{
        max-width: 100%;
    }
}

/* newsここまで */

#link > .links{
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    display: flex;
    gap: 150px;
}

#link > .links a{
    color: #000;
}
#link > .links .page{
    width: auto;
    text-align: center;
}

#link > .links  .prev{
    width: auto;
    padding-left: 40px;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

#link > .links  .prev::after{
    background: url(https://image.global-center.co.jp/recruiting/news/icon_prev.svg) no-repeat center center;
    background-size: contain;
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    left: 0px;
    width: 20px;
    height: 20px;
    transition: .3s;
}

#link > .links .list{
    width: auto;
    padding: 0 20px;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    position: relative;
}

#link > .links  .next{
    width: auto;
    padding-right: 40px;
    font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

#link > .links  .next::after{
    background: url(https://image.global-center.co.jp/recruiting/index/icon_arrow_min.svg) no-repeat center center;
    background-size: contain;
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    right: 0px;
    width: 20px;
    height: 20px;
    transition: .3s;
}

@media screen and (max-width: 768px) {

    #link > .links{
        width: 100%;
        padding: 70px 0;
        gap: 20px;
    }
    
    #link > .links a{
        color: #000;
    }
    #link > .links .page{
        width: auto;
        text-align: center;
    }
    
    #link > .links  .prev{
        width: auto;
        padding-left: 30px;
        font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 500;
        position: relative;
    }
    
    #link > .links  .prev::after{
        background: url(https://image.global-center.co.jp/recruiting/news/icon_prev.svg) no-repeat center center;
        background-size: contain;
        content: "";
        display: block;
        position: absolute;
        top: calc(50% - 8px);
        left: 0px;
        width: 20px;
        height: 20px;
        transition: .3s;
    }
    
    #link > .links .list{
        width: auto;
        padding: 0 10px;
        font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: bold;
        position: relative;
    }
    
    #link > .links  .next{
        width: auto;
        padding-right: 30px;
        font-family: 'Noto Serif JP', YakuHanJPs, 'Noto Sans Japanese', 'Hiragino Kaku Gothic Pro', MyYuGothicM, Meiryo, sans-serif;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 500;
        position: relative;
    }
    
    #link > .links  .next::after{
        background: url(https://image.global-center.co.jp/recruiting/index/icon_arrow_min.svg) no-repeat center center;
        background-size: contain;
        content: "";
        display: block;
        position: absolute;
        top: calc(50% - 8px);
        right: 0px;
        width: 20px;
        height: 20px;
        transition: .3s;
    }
}
.video-wrapper{
    width: 100%;            /* 親コンテナの幅に合わせる */
    aspect-ratio: 560/315;   /* 560:315の比率を維持 */
    position: relative;     /* 内部のiframe配置のため */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .media{
    margin: 0;
  }