/* CSS Document */

.title-arrow {
  display: flex;
  align-items: center;
  margin: 1rem auto 2rem;
  font-size: 1.5rem;
  font-weight: 600;
	
}	

.circle-arrow {
  width: 36px;
  height: 36px;
  background: #c00;
  border-radius: 50%;
  position: relative;
}

/* 右向きの「＞」矢印 */
.circle-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 44%;
  width: 10px;
  height: 10px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: translate(-50%, -50%) rotate(45deg);
	
}

#lineups img {
  max-width: 100%;
  height: auto;
}

#top_main_container a > img:hover {
  opacity: 0.7;
}

#top_main_container a > img {
  opacity: 1;
  transition: opacity 0.25s ease-out;
}

.title-arrow a {
	text-decoration: none;
  margin-left: 7px;
	
}

.title-arrow span {
  color: #181878;
}


.top_slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.top_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.top_slide img {
  width: 100%;
  height: auto;
  display: block;
}


/* 追加 */
.top_slide {
  position: absolute;
  width: 100%;
}

.top_slide.active {
	opacity: 1;
  position: relative; /* ←コレ追加 */
}

/* PC用 */
.top_slide img.pc {
  display: block;
}
.top_slide img.sp {
  display: none;
}


.front-section {
  max-width: 960px;
  padding: 0;
  margin: 2rem auto 1rem;
}

.front-section2 {
  max-width: 90%;

}

.front-topics__title {
  padding: 0;
  margin: 0;
  font-size: 1.125rem;
  color: #181878;
}

.topics {
	width: 960px;
	margin: 40px auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
}

.topics h2 {
	width: 22%;
}


.topics-list {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.topics-item {
  display: block;
  margin: 0 0 0.75em 0;
  font-size: 0.9rem;
  text-decoration: none;
}
.topics-item:last-child {
  margin-bottom: 0;
}
.topics-item .post-link {
  width: 100%;
}

/* コンテナ */
.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* スライドトラック */
.track {
  display: flex;
  transition: transform 0.4s ease;
}

/* 各スライド */
.slide {
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ボタン */
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.slide {
	width: 320px;
	height: 140px;
	margin-right: 10px;
}

#lineups {
	width: 960px;
	margin: 50px auto;
	text-align: center;
}

#lineups h3 {
	color: #181878;
	margin-bottom: 20px;
}

#lineups h3 span {
	display: inline-block;
	min-width: 15rem;
	border-bottom: 5px solid #babbd8;
}

#lineups ul {
	list-style: none;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 20px 0 40px 0;
}

#lineups ul li {
	width: calc(84% / 6);
}


#btn-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.link-btn {
  padding: 10px 40px;
  line-height: 2;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: #181878;
  border-radius: 100vh;
  transition: opacity 0.25s ease-in-out;
}

.link-btn:hover {
  opacity: 0.8;
}
#btn-container .link-btn {
  color: #fff;
}
.link-btn:hover, .link-btn:focus, .link-btn:active,.link-btn:visited {
  color: #fff;
  text-decoration: none;
}	

.news-list {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-item {
  display: flex;
  align-items: flex-start;
  padding: 0;
  margin: 0 0 1em 0;
}
.post-link:visited {
  color: #181878;
}

.post-link > .date {
  margin-right: 1em;
}

iframe.storyupdate {
  width: 90%;
  margin: 0px auto;
  display: block;
}

#topcsr {
	background: #E1EEF8;
	background-size: 100% auto;
	width: 100%;
	padding: 50px 0 120px 0;
	margin: 70px 0 0 0;
}

#topcsr div {
	width: 90%;
	display: flex;
	margin: auto;
	padding: 20px 0;
	align-items: center;
}

#topcsr div h2 {
	margin: 0 auto 0px 0;
	font-size: 26px;
}

#topcsr div a {
	border-radius: 100vh;
	padding: 15px 30px;
	display: inline-block;
	text-align: center;
	background: #fff;
	font-size: 16px;
	transition: all ease 0.3s;
	text-decoration: none;
}

#topcsr div a:hover {
	box-shadow: 0px 0px 10px -5px #039;
	text-decoration: none;
}


/* SP */
@media (max-width: 480px) {
	
	.title-arrow {
		font-size: 1.2rem;
	}
	.circle-arrow {
	  width: 30px;
	  height: 30px;
	}

	.circle-arrow::after {
	  left: 44%;
	  width: 8px;
	  height: 8px;
	}
	
	.front-section {
	  max-width: inherit;
	  padding: 0;
	  margin: 2rem auto 1rem;
	  width: 100%;
	}

	.front-section3 {
		width: 90%;
	}
	
	.top_slider {
		margin-top: 50px;
	}
	
	.slide-track a {
    flex: 0 0 calc(20% - 10px);
    margin: 0 5px;
  }
	
.prev { left: 0px; }
.next { right: 0px; }

	
  .top_slide img.pc {
    display: none;
  }
  .top_slide img.sp {
    display: block;
  }
	
  .slide {
    width: 100%;
    height: auto;
	  margin: 0;
  }
	
	.topics {
	  width: 90%;
		display: block;
	}


	.topics h2 {
	  width: 100%;
		margin-bottom: 10px;
	}


	#lineups {
		width: 100%;
	}
	
	#lineups ul {
		flex-wrap: wrap;
		justify-content: space-around;	
		width: 90%;
		margin: 20px auto;
	}
	
	#lineups ul li {
	  width: calc(84% / 3);
		margin-bottom: 20px;
		line-height: 1.5;
		font-size: 0.9rem;
		word-break: break-all;
	}
	
	.post-link {
		width:  100%;
		padding: 0;
	}

	iframe.storyupdate {
		width: 100%;
		margin: 0px 0;
	}

	#top_thumbs_container {
		width: 90%;
		margin: auto;
		font-size: 0.9rem;
	}
	
	#newsframe2 {
		width: 90%;
		margin: auto;
		display: block;
	}

	#topcsr {
		background: #E1EEF8;
		background-size: auto 100%;
		width: 100%;
		padding: 30px 0;
	}

	#topcsr div {
		width: 90%;
		display: block;
		margin: auto;
		padding: 20px 0;
		align-items: center;
	}

	#topcsr div h2 {
		margin: 20px auto;
		font-size: 20px;
		text-align: center;
	}

	#topcsr div a {
		border-radius: 100vh;
		padding: 10px 0;
		display:block;
		text-align: center;
		width: 70%;
		margin: auto;
	}

}

