﻿@charset "UTF-8";

@keyframes stroke-width {
  0% {
    width: 0;
  }
  100% {
    width: calc(100% - 20px);
  }
}
@keyframes stroke-height {
  0% {
    height: 0;
    opacity: 1;
  }
  100% {
    height: calc(100% - 20px);
    opacity: 1;
  }
}
#newtitle .newtitle-item.active a:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 20px);
  height: 10px;
  border-top: 3px solid #FFC800; 
  border-right: 3px solid #FFC800; 
  border-radius: 0 10px 0 0;
  opacity: 0;
  z-index: 1;
}
#newtitle .newtitle-item.active a.animated:before {
  opacity: 1;
  animation: stroke-width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#newtitle .newtitle-item.active a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10px;
  height: calc(100% - 20px);
  border-left: 3px solid #FFC800; 
  border-bottom: 3px solid #FFC800; 
  border-radius: 0 0 0 10px;
  opacity: 0;
  z-index: 1;
}
#newtitle .newtitle-item.active a.animated:after {
  opacity: 1;
  animation: stroke-height 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#newtitle .newtitle-item.active a .img:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 20px);
  height: 10px;
  border-left: 3px solid #FFC800; 
  border-bottom: 3px solid #FFC800; 
  border-radius: 0 0 0 10px;
  opacity: 0;
  z-index: 1;
}
#newtitle .newtitle-item.active a.animated .img:before {
  opacity: 1;
  animation: stroke-width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#newtitle .newtitle-item.active a .img:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: calc(100% - 20px);
  border-top: 3px solid #FFC800; 
  border-right: 3px solid #FFC800; 
  border-radius: 0 10px 0 0;
  opacity: 0;
  z-index: 1;
}
#newtitle .newtitle-item.active a.animated .img:after {
  opacity: 1;
  animation: stroke-height 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- PC ---- */
html[data-browse-mode="P"] #newtitle {
  width: 1280px;
  margin: 0 auto 100px;
  color: #999;
  font-size: 14px;
  line-height: 1.7;
}
html[data-browse-mode="P"] #newtitle .sp {
  display: none;
}
html[data-browse-mode="P"] #newtitle h1 {
  margin: 0;
}
html[data-browse-mode="P"] #newtitle .intro {
  padding: 60px 0;
}
html[data-browse-mode="P"] #newtitle .intro .text {
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.42;
}
html[data-browse-mode="P"] #newtitle .intro .date {
  display: flex;
  margin: 8px 0 0;
}
html[data-browse-mode="P"] #newtitle .newtitle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
  padding: 70px 0 0;
  border-top: 1px solid #FFF;
}
html[data-browse-mode="P"] #newtitle .newtitle-item {
  width: 305px;
}
html[data-browse-mode="P"] #newtitle .newtitle-item a {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition-delay: .2s;
}
html[data-browse-mode="P"] #newtitle .newtitle-item a:hover {
  transform: scale(1.3);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: #333;
  text-decoration: none;
  z-index: 10;
}
html[data-browse-mode="P"] #newtitle .newtitle-item:not(.active) .img {
  opacity: .5;
}
html[data-browse-mode="P"] #newtitle .newtitle-item .img img {
  width: 100%;
}
html[data-browse-mode="P"] #newtitle .newtitle-item h2 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 0 0;
  margin: 0;
  transition: all .3s .1s;
  pointer-events: none;
}
html[data-browse-mode="P"] #newtitle .newtitle-item.active h2 {
  padding: 0;
  margin: 10px;
}
html[data-browse-mode="P"] #newtitle .newtitle-item a:hover h2 {
  -webkit-line-clamp: 2;
  transform: scale(0.8);
  margin: 0 -15px;
  padding: 10px 0;
}

/* ---- SP ---- */
html[data-browse-mode="S"] #newtitle {
  color: #999;
  font-size: 13px;
  line-height: 1.5;
  padding: 0 20px;
}
html[data-browse-mode="S"] #newtitle .pc {
  display: none;
}
html[data-browse-mode="S"] #newtitle h1 {
  margin: 0;
}
html[data-browse-mode="S"] #newtitle .intro {
  padding: 40px 0;
}
html[data-browse-mode="S"] #newtitle .intro .text {
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}
html[data-browse-mode="S"] #newtitle .intro .date {
  display: flex;
  margin: 4px 0 0;
}
html[data-browse-mode="S"] #newtitle .newtitle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  border-top: 1px solid #FFF;
  padding: 40px 0 0;
}
html[data-browse-mode="S"] #newtitle .newtitle-item {
  width: calc((100% - 8px) / 2);
}
html[data-browse-mode="S"] #newtitle .newtitle-item a {
  position: relative;
  display: block;
  padding: 0 0 8px;
}
html[data-browse-mode="S"] #newtitle .newtitle-item .img {
  border-radius: 10px;
  overflow: hidden;
}
html[data-browse-mode="S"] #newtitle .newtitle-item:not(.active) .img {
  opacity: .5;
}
html[data-browse-mode="S"] #newtitle .newtitle-item h2 {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: bold;
  margin: 8px 0 0;
}
html[data-browse-mode="S"] #newtitle .newtitle-item.active h2 {
  padding: 0 8px;
}