@charset "utf-8";
/*-----------------------------------------------
* 01. Archive
* 02. Detail
-------------------------------------------------*/
/*-----------------------------------------------
* 01. Archive
-------------------------------------------------*/
/**
* news item
*/
.newsLists__item {
margin-bottom: 15px;
}
.newsLists__item:last-child {
margin-bottom: 0;
}
/* a link */
.newsLists__link {
background-color: #000;
border: 2px solid #5eb8b3;
display: flex;
width: 100%;
text-decoration: none;
}
/* date */
.newsLists--date {
background-color: #5eb8b3;
color: #000;
display: flex;
align-items: center;
font-size: 16px;
font-weight: 700;
padding: 18px 0 18px 16px;
position: relative;
}
.newsLists--date:after {
content: "";
background-color: #5eb8b3;
width: 50%;
height: 100%;
position: absolute;
top: 0;
right: -25%;
z-index: 0;
transform: skewX(-20deg);
}
.newsLists--time {
position: relative;
z-index: 1;
}
/* title */
.newsLists--title {
font-size: 16px;
font-weight: 700;
width: 100%;
margin: 18px 40px 18px 50px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
transition: color .4s ease;
}
.newsLists__link:hover .newsLists--title {
color: #5eb8b3;
}
@media screen and (max-width:768px) {
.newsLists__item {
height: 56px;
margin-bottom: 10px;
}
/* a link */
.newsLists__link {
align-items: center;
height: 100%;
}
/* date */
.newsLists--date {
font-size: 10px;
font-size: 1rem;
height: 100%;
padding: 0 0 0 6px;
}
/* title */
.newsLists--title {
color: #5eb8b3;
font-size: 10px;
font-size: 1rem;
margin: 0 20px 0 30px;
-webkit-line-clamp: 2;
}
}
/*-----------------------------------------------
* 02. Detail
-------------------------------------------------*/
/* title */
.newsDetail__titleWrap {
background-color: #000;
border: 2px solid #5eb8b3;
display: flex;
flex-direction: row-reverse;
width: 100%;
}
/* date */
.newsDetail__title--date {
background-color: #5eb8b3;
color: #000;
display: flex;
align-items: center;
font-size: 16px;
font-weight: 700;
padding: 18px 0 18px 16px;
position: relative;
}
.newsDetail__title--date:after {
content: "";
background-color: #5eb8b3;
width: 50%;
height: 100%;
position: absolute;
top: 0;
right: -25%;
z-index: 0;
transform: skewX(-20deg);
}
.newsDetail--time {
position: relative;
z-index: 1;
}
/* title */
.newsDetail__title {
font-size: 16px;
font-weight: 700;
width: 100%;
padding: 18px 40px 18px 50px;
}
@media screen and (max-width:768px) {
/* date */
.newsDetail__title--date {
font-size: 10px;
font-size: 1rem;
padding: 8px 10px;
}
.newsDetail__title--date:after {
content: none;
}
/* title */
.newsDetail__title {
color: #5eb8b3;
font-size: 12px;
font-size: 1.2rem;
line-height: 1.6;
padding: 8px 20px;
}
}
/* text area */
.newsDetail__textWrap {
background-color: #000;
border: 2px solid #5eb8b3;
margin-top: -2px;
padding: 40px;
}
.newsDetail__text {
font-size: 16px;
line-height: 2;
}
.newsDetail__text a {
color: #5eb8b3;
}
.newsDetail__textWrap iframe{
width: 640px;
height: 360px;
}
.newsDetail__textWrap img{
max-width: 100%;
height: auto;
}
@media screen and (max-width:768px) {
.newsDetail__textWrap {
padding: 24px;
}
.newsDetail__text {
font-size: 12px;
font-size: 1.2rem;
}
.newsDetail__textWrap img{
height: auto !important;
}
/* youtube */
.ytWrap {
display: block;
width: 100%;
padding-top: 56.25%;
position: relative;
}
.ytWrap iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}