@charset "UTF-8";

/****/
#topics {
	width:100%;
	margin:0;
	padding:30px 0;
	background:#f3efe4;
}
#main  #topics > h2 {
	width: calc(100% - 40px);
	max-width:1000px;
	margin:0 auto 1em;
	background-image:url(../img/common/menu1.png);
	box-sizing:border-box;
}
.swiper-topics {
	position:relative;
}
#topics ul {
	margin-bottom:45px;
}
#topics li {
	width:360px;
	margin:0 10px;
	background:#FFF;
	border-radius:20px;
	overflow:hidden;
}
#topics li a {
	display:block;
}
#topics li .img {
	height:270px;
	overflow:hidden;
}
#topics li .img img {
	min-height:270px;
	min-width:100%;
}
#topics li div.detail {
	box-sizing:border-box;
	padding:10px;
	font-size:14px;
}
#topics li dd {
	font-size:13px;
	margin-bottom:0.2em;
	font-family:'Sawarabi micho';
}
#topics li dd:nth-child(2) {
	margin-bottom:0.4em;
}
#topics li dd span {
	display:inline-block;
	font-size:12px;
	line-height:1.5em;
	padding:0 0.3em;
	background:#999;
	color:#FFF;
	margin-right:0.3em;
	font-family:'Sawarabi micho';
}
#topics li dd span.company {
	background:#74b12e;
}
#topics li dd span.event {
	background:#F90;
}
#topics li dd span.manahouse {
background:#c49600;
}
#topics li dd span.manahouse2 {
  background-color: #e9d0a1;
	color:#000000;
}
/* #topics li dd span.hoikuen {
	background:#ec6d74;
} */
#topics li dd span.other {
	background:#9eb700;
}
#topics li dd span.keiaihoikuen {
	background:#00a273;
}
#topics li dd span.atagohoikuen {
	background:#ec6d74;
}
#topics li dd span.topics {
	/* background:#2778be; */
	background-color: #f00;
}
#topics li dd span.news {
	background-color: #f00;
}

#topics li dt {
	font-size:15px;
	line-height:1.3em;
	font-family:'Sawarabi mincho';
}
#topics > a {
	display:block;
	width:14em;
	margin:0 auto;
	color:#000;
	font-size:18px;
	line-height:2.0em;
	border:1px solid #000;
	background:#fff;
	text-align:center;
	transition:.3s;
	font-family:'Sawarabi mincho';
}
#topics > a:hover {
	color:#FFF;
	background:#000;
}
.swiper-pagination-bullet-active {
	background-color:#5cb531;
}
.swiper-pagination-bullet {
	border:1px solid #FFF;
}
.swiper-topics.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom:-35px;
}


.sideBnr {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 99;
	transform: translateY(-50%);
}
.sideBnr a {
  display: grid;
  max-width: 35px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  row-gap: 3px;
	padding: .5em .25em;
	background-color:#d7141b;
  border-radius: 5px 0 0 5px;
	font-size: 24px;
	color: #FFF;
	line-height: 1;
  transition: all .5s;
}
.sideBnr a:hover {
  opacity: .75;
}
.sideBnr a span img {
  display: inline-block;
  width: 100%;
}
.sideBnr a span:nth-child(2) {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  justify-content: center;
  align-content: center;
}


@media screen and (max-width:1000px){

#topics li {
	width:320px;
}
#topics li .img {
	height:210px;
}
#topics li .img img {
	min-height:210px;
}

}

@media screen and (max-width: 768px){

#topics {
	padding:20px 0;
}
#topics li {
	width:240px;
	margin:0 10px;
	border-radius:15px;
}
#topics li .img {
	height:160px;
}
#topics li .img img {
	min-height:160px;
}
#topics li dd {
	font-size:13px;
}
#topics li dd span {
	font-size:12px;
}
#topics li dt {
	font-size:14px;
}
#topics > a {
	font-size:16px;
}

.swiper-topics.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom:-30px;
}
	
}

@media screen and (max-width:640px){

#topics {
	padding:15 0;
}
#topics ul {
	margin-bottom:30px;
}
#topics li {
	width:160px;
	margin:0 5px;
	border-radius:10px;
}
#topics li .img {
	height:120px;
}
#topics li .img img {
	min-height:120px;
}
#topics li div.detail {
	padding:5px;
}
#topics li dd {
	font-size:12px;
}
#topics li dd span {
	font-size:11px;
	margin-bottom:0.3em;
}
#topics li dt {
	font-size:13px;
}
#topics > a {
	font-size:14px;
}
.swiper-topics.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom:-25px;
}

/* 240615-side_button */
.sideBnr {
	top: 80%;
	transform: translateY(-100%);
}

}