@charset "UTF-8";
/* -----------------------------------------------------------
   TOPICS
------------------------------------------------------------*/

#l-topics:after{
  display: none;
}
#l-topics .l-sort{
  width: 100%;
  margin: 0 auto;
}
#l-topics .l-inner .topics-list li{
  padding: 0 1.5%;
  margin-right: 0;
  margin-bottom: 2%;
}
.acd{
  margin-bottom:min(67px,41.3vw);
}
.acd summary{
  background-color: #DFE4E4;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: #0050FF;
  cursor: pointer;
  font-size: clamp(1.4rem , 1.2vw , 1.8rem);
  letter-spacing: 0.1em;
}
.acd summary::-webkit-details-marker {
  display: none;
}
.acd summary::before{
  content: "";
  display: block;
  width: 1.4em;
  height: calc(1.4em * 0.902);
  background-image: url(../img/icon_sort.svg);
  background-size: cover;
  margin-right: 0.4em;
}
.acd[open] summary::before{
  background-image: url(../img/icon_sort_white.svg);
}
.acd summary::after {
  content: '';
  transform: translateY(-25%) rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-bottom: 2px solid #0050FF;
  border-right: 2px solid #0050FF;
  transition: transform .3s;
}
.acd[open] summary{
  background-color: #0050FF;
  color: #FFF;
}
.acd[open] summary::after {
  transform: rotate(225deg);
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
}
.acd .select{
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 50px 100px 30px;
  color: #000;
  transition: transform .5s, opacity .5s;
  box-sizing: border-box;
  border: 1px solid #0050FF;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.acd[open] .select{
  transform: none;
  opacity: 1;
}
.acd .select label{
  width: 45%;
  font-size: clamp(1.2rem , 1.2vw , 1.6rem);
  padding: 0 0 1em 0;
  margin-bottom: 1em;
  border-bottom: 1px solid #D8D8D8;
  box-sizing: border-box;
}
.acd .select label input.facility-filter{
  margin-right: 1em;
}

.acd button#filter-button,
.acd button#clear-button{
  width: 48%;
  background-color: #0050FF;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.1rem , 1.1vw , 1.3rem);
  transition: .3s;
  text-align: center;
  padding: 1em 0;
  position: relative;
  border: none;
}
.acd button#filter-button:hover,
.acd button#clear-button:hover{
  color: #0050FF;
  background-color: #DDD;
}


@media screen and (min-width : 1024px) {
  #l-topics .l-inner{
    width: 80%;
    max-width: 1060px;
  }
  .acd .button-box{
    width: 80%;
    margin: min(50px,6.0vw) auto 0;
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (max-width : 1023px) {
  #l-topics .l-sort{
    width: 100%;
  }
  #l-topics .l-inner .topics-list li{
    padding: 0 1%;
    margin-bottom: 5vw;
  }
  .acd .button-box{
    width: 100%;
    margin: 4vw auto 0;
  }
  .acd{
    margin-bottom:8vw;
  }
  .acd summary{
    font-size: 1.3rem;
  }
  .acd .select{
    padding: 8.5vw 8vw 5vw;
    display: block;
  }
  .acd .select label{
    width: 100%;
    font-size: 1.4rem;
    display: block;
  }
  .acd button#filter-button,
  .acd button#clear-button{
    width: 100%;
    font-size: 1.3rem;
  }
  .acd button#filter-button{
    margin-top: 0.6em;
  }
}
/* -----------------------------------------------------------
   ARTICLE-MAIN
------------------------------------------------------------*/
#article-topics .article-ttl{
  margin-bottom: min(57px,4.5vw);
}
#article-topics .article-ttl .tag-name{
  display: inline-block;
  background-color: #005AFF;
  color: #FFF;
  font-size: clamp(1.1rem , 1.1vw , 1.6rem);
  padding: 0.2em 0.4em;
  margin-bottom: 0.8em;
}
#article-topics .article-ttl .tpc-date{
  color: #808080;
  font-size: clamp(1.4rem , 1.2vw , 1.8rem);
  margin-bottom: 0.2em;
}
#article-topics .article-ttl .tpc-ttl{
  color: #000;
  font-size: clamp(1.8rem , 1.8vw , 2.4rem);
  line-height: 1.4;
  margin-bottom: 0.2em;
}
#article-topics .article-main h3{
  color: #000;
  font-size: clamp(1.6rem , 1.5vw , 2.0rem);
  line-height: 1.6;
  margin-bottom: 1em;
}
#article-topics .article-main p.tpc-txt{
  color: #1A1A1A;
  font-size: clamp(1.2rem , 1.2vw , 1.6rem);
  margin-bottom: 1em;
  line-height: 1.8;
}
#article-topics .article-image{
  max-width: 525px;
  margin:0 auto min(66px,5.2vw);
}
#article-topics .article-image img{
  width: 100%;
  height: 100%;
}
#article-topics .btn-common{
  margin: min(70px,5.4vw) auto 0;
}
#article-topics p.tpc-txt a{
  color: #0050FF;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}
#article-topics p.tpc-txt a:hover{
  color: #B1B1B1;
}
.article-main .article-sec{
  margin-bottom: min(50px,3.9vw);
}

@media screen and (max-width : 1023px) {
  #article-topics .article-ttl .tag-name{
    font-size: 1.0rem;
  }
  #article-topics .article-ttl .tpc-date{
    font-size: 1.2rem;
  }
  #article-topics .article-ttl .tpc-ttl{
    font-size: 1.5rem;
  }
  #article-topics .article-main p.tpc-txt{
    font-size: 1.2rem;
  }
  #article-topics .article-main h3{
    margin-bottom: 0.4em;
  }
  .article-main .article-sec{
    margin-bottom: 5.3vw;
  }
}

/* -----------------------------------------------------------
   SLIDER
------------------------------------------------------------*/
.topics-swiper-wrap{
  width: 100%;
  max-width: 525px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
.topics-swiper{
	overflow: visible;
	margin-bottom: 80px;
}
.topics-swiper .swiper-wrapper .swiper-slide{
	opacity: 0;
}
.topics-swiper .swiper-wrapper .swiper-slide.swiper-slide-active{
	opacity: 1.0;
}
.topics-swiper .swiper-wrapper .swiper-slide img{
	width: 100%;
}
.topics-swiper .swiper-pagination{
	bottom: -40px !important;
}
.swiper-pagination-bullet{
	border-radius: 0;
	width: 40px;
	height: 2px;
	opacity: 1.0;
	background-color: #B1B1B1;
}
.swiper-pagination-bullet-active{
	background-color: #0050FF;
}

/* next prev */
.swiper-button-next:after,
.swiper-button-prev:after{
	display: none;
}
.swiper-button-next,
.swiper-button-prev{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #0050FF;
  opacity: .9;
}
.swiper-button-next{
	right: -25px;
}
.swiper-button-prev{
	left: -25px;
}
.swiper-button-next span,
.swiper-button-prev span{
	display: inline-block;
	vertical-align: middle;
	color: #FFF;
	line-height: 1;
	position: relative;
	width: 0.8em;
	height: 0.8em;
}
.swiper-button-next span{
	transform: translateX(-25%) rotate(45deg);
}
.swiper-button-prev span{
	transform: translateX(25%) rotate(-135deg);
}
.swiper-button-next span:after,
.swiper-button-next span:before,
.swiper-button-prev span:after,
.swiper-button-prev span:before
{
	content: '';
	position: absolute;
	background-color: #FFF;
	border-radius: 0.1em;
}
.swiper-button-next span::before,
.swiper-button-prev span::before {
	top: 0;
	left: 0;
	right: 0;
	height: 0.2em;
}
.swiper-button-next span::after,
.swiper-button-prev span::after {
	top: 0;
	right: 0;
	bottom: 0;
	width: 0.2em;
}

@media screen and (max-width : 767px) {
  .topics-swiper-wrap{
    width: 80%;
  }
	.topics{
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100vh;
	}
	.swiper-pagination-bullet{
		width: 22.75px;
	}
	.swiper-button-next,
	.swiper-button-prev{
		width: 40px;
		height: 40px;
	}
	.swiper-button-next span,
  .swiper-button-prev span{
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    position: relative;
    width: 0.8em;
    height: 0.8em;
  }
}

/* -----------------------------------------------------------
   LIST
------------------------------------------------------------*/
.topics-new{
  margin: min(70px,5.4vw) auto 0;
}
.topics-new h4{
  margin-bottom: min(55px,4.2vw);
  text-align: center;
  font-size: clamp(2.0rem,1.8vw,2.4rem);
}
@media screen and (max-width : 767px) {
  .topics-new{
    margin: min(53px,14vw) auto 0;
  }
  .topics-new h4{
    margin-bottom: min(35px,9.3vw);
  }
}


/* -----------------------------------------------------------
   202602改修
------------------------------------------------------------*/
/* Topics一覧に「もっと見る」ボタンを追加 */
#topicsList .more-button .label {
  color: #0050FF;
  font-family: "Roboto", serif;
  font-weight: 500;
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  display: block;
  margin: auto;
  width: fit-content;
  transition: .3s;
  cursor: pointer;
  input {
    display: none;
  }
  .arrow {
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 1px;
    margin-top: 5px;
    border-radius: 9999px;
    background-color: #0050ff;
    text-indent: -9999px;
    bottom: 0.4em;
    right: -25px;
    transition: .3s;
  }
  &:hover .arrow {
    right: -35px;
  }
  .arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 0.5px);
    right: 0;
    width: 8px;
    height: 1px;
    border-radius: 9999px;
    background-color: #0050FF;
    transform: rotate(40deg);
    transform-origin: calc(100% - 0.5px) 50%;
  }
}
#topicsList .topics-list li {
  opacity: 0;
  animation: fadeIn .2s linear forwards;
  animation-delay: calc(rem(sibling-index() - 1, 8) * .1s);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#topicsList .acd {
  /* display: none; */
  opacity: 0;
  animation: fadeIn .2s linear forwards;
}
/* #topicsList .topics-list li:nth-child(n + 13) {
  display: none;
} */
#topicsList .topics-list li a figure {
  position: relative;
  aspect-ratio: 1/1;
  background-color: #ececec;
}
#topicsList .topics-list li a figure::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1/1;
  width: 40px;
  background-color: #00000099;
  mask-image: url(../img/loading.webp);
  mask-size: 100%;
  mask-position: center;
  mask-repeat: no-repeat;
}
#topicsList .topics-list li a figure img {
  position: relative;
  z-index: 1;
}

/* もっと見るが有効になった */
/*
#topicsList:has(.more-button :checked) .acd {
  display: block;
}
#topicsList:has(.more-button :checked) .more-button {
  display: none;
}
#topicsList:has(.more-button :checked) .topics-list li:nth-child(n + 13){
  display: block;
}
*/

/* 絞り込みが操作された */
/* #topicsList:has(.topics-list li.on) .more-button {
  display: none;
}
#topicsList:has(.topics-list li.on) .topics-list li {
  display: none;
}
#topicsList:has(.topics-list li.on) .topics-list li.on {
  display: block;
}
*/

.l-main {
  position: relative;
}
.backhead {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1;
  right: 1em;
  bottom: 1em;
  width: 60px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: #0050ff;
  background-image: url(../img/icon-backhead.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  border-radius: 100%;
  transform: translate(100%, 0);
  pointer-events: none;
  cursor: pointer;
  transition: 0.2s linear;
  opacity: 0;
}
.backhead.on {
  transform: translate(0, 0);
  pointer-events: auto;
  opacity: 1;
}
.backhead:hover {
  opacity: 0.8;
}
@media screen and (max-width: 750px) {
  .backhead {
    width: 48px;
    right: 0.5em;
    bottom: 0.5em;
  }
}