@charset "utf-8"; /*----------------------------------------------- * NEWS : COMMON -------------------------------------------------*/ #news .cont_h2_circle:before{ background-image: url(../img/news/news_h2_circle.svg); } #news .contentIn{ display: flex; flex-direction: column; min-height: calc(100vh - 320px - 88px); min-height: calc(100svh - 320px - 88px); } .pagerWrap{ margin-top: auto; padding-top: 80px; } @media screen and (max-width: 767px){ #news .contentIn{ min-height: calc(100vh - min(32vw, 240px) - var(--sp-size-192) - var(--sp-size-96)); min-height: calc(100svh - min(32vw, 240px) - var(--sp-size-192) - var(--sp-size-96)); } .pagerWrap{ padding-top: var(--sp-size-48); } } /*----------------------------------------------- * NEWS : LISTS -------------------------------------------------*/ .newsLists{ width: 100%; border-top: 2px solid var(--color-black); } .newsList{ width: 100%; border-bottom: 2px solid var(--color-black); } .newsList__link{ display: block; padding: 32px 0; line-height: 1; text-decoration: none; pointer-events: auto; } .newsList__linkIn{ display: flex; padding-right: 56px; position: relative; } .newsList__linkIn:after{ content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 24px; height: 10px; -webkit-mask: url(../img/common/arrow_r.svg) no-repeat center / contain; mask: url(../img/common/arrow_r.svg) no-repeat center / contain; background-color: #222; margin: auto 0; } .newsList__date{ flex-shrink: 0; padding-right: 32px; font-family: var(--font-eng); color: #FFF; line-height: 2; font-weight: 700; } .newsList__title{ color: var(--color-black); width: 100%; line-height: 2; } .newsList:nth-of-type(odd) .newsList__date{ color: var(--color-main1); } .newsList:nth-of-type(even) .newsList__date{ color: var(--color-main2); } @media screen and (max-width: 767px){ .newsLists{ width: 100%; max-height: unset; border-width: var(--sp-size-4); } .newsList__link{ padding: var(--sp-size-32) 0; } .newsList__linkIn{ flex-direction: column; padding-right: var(--sp-size-72); } .newsList__linkIn:after{ width: var(--sp-size-48); height: var(--sp-size-20); } .newsList__date{ padding-bottom: var(--sp-size-16); } .newsList__title{ -webkit-line-clamp: 2; line-height: 2; } .news_linkbtn{ display: block; text-align: center; } .news_link{ padding: var(--sp-size-24) var(--sp-size-80); border-radius: 80px; } } @media (hover: hover) and (pointer: fine) { .news_link{ transition: .3s ease; } .news_link:hover{ background-color: var(--color-black); color: #FFF; } .newsList__linkIn:after{ transform: translateX(-30%); transition: .4s ease .3s; } .newsList__link:hover .newsList__linkIn:after{ transform: translateX(0%); } .newsList__title span{ background: linear-gradient(var(--color-yellow), var(--color-yellow)) right bottom / 0 40% no-repeat; transition: background-size .8s ease; } .newsList__link:hover .newsList__title span { background-position: left bottom; background-size: 100% 40%; } .news_link{ border: 2px solid var(--color-black); transition: .3s ease; } .news_link:hover{ background-color: var(--color-black); color: #FFF; } .newsList__title span{ background: linear-gradient(var(--color-yellow), var(--color-yellow)) right bottom / 0 40% no-repeat; transition: background-size .8s ease; } .newsList__link:hover .newsList__title span { background-position: left bottom; background-size: 100% 40%; } } /*----------------------------------------------- * NEWS : Article -------------------------------------------------*/ .newsArticle{ width: 100%; padding-bottom: 40px; border-bottom: 2px solid #222; } .newsTitle{ width: 100%; padding: 24px 0; display: flex; position: relative; border-top: 2px solid #222; border-bottom: 2px solid #222; } .newsTitle:before{ top: 0; } .newsTitle:after{ bottom: 0; } .newsTitle__date{ flex-shrink: 0; padding-right: 32px; font-family: var(--font-eng); color: #FFF; padding-top: 4px; line-height: 2; color: var(--color-main1); font-weight: 700; } .newsTitle__txt{ color: var(--color-black); width: 100%; font-size: 20px; line-height: 2; } .newsArticleIn{ width: 100%; padding-top: 32px; position: relative; line-height: 2; } @media screen and (max-width: 767px){ .newsArticle{ padding-bottom: var(--sp-size-40); } .newsTitle{ padding: var(--sp-size-32) 0; border-width: var(--sp-size-4); flex-direction: column; } .newsTitle__date{ padding-right: 0; padding-top: 0; line-height: 1; padding-bottom: 0; } .newsTitle__txt{ font-size: var(--sp-size-28); padding-top: var(--sp-size-12); } .newsArticleIn{ padding-top: var(--sp-size-40); } } /* a */ .newsArticleIn a { color: #FFF; font-weight: 500; } /* img */ .newsArticleIn img { height: auto!important; max-width: 100%; } /* iframe */ .newsArticleIn iframe{ max-width: 100%; border: unset; } .news_linkbtn{ display: block; text-align: center; } .news_linkbtn.-mt{ margin-top: 80px; } .news_link{ display: inline-block; padding: 14px 48px; border-radius: 32px; background-color: #FFF; color: #222; font-family: var(--font-eng); line-height: 1; font-weight: 700; text-decoration: none; pointer-events: auto; border: 2px solid #222; } @media screen and (max-width: 767px){ .newsArticleIn iframe{ width: 100%;/* 654px */ height: 49.0667vw;/* 368px */ } .news_link{ padding: var(--sp-size-24) var(--sp-size-80); border-radius: 80px; } .news_link{ border-width: var(--sp-size-4); } .news_linkbtn.-mt{ margin-top: var(--sp-size-48); } }