@charset "UTF-8";
/*****************************
  cmn
*****************************/
.activitylist{
  gap: 2rem;
  margin: 0 auto;
  max-width: 800px;
}
.activitylist li{
  width: calc(25% - 1.5rem);
  width: calc(50% - 2rem);
}
.activitylist li a {
  border-radius: 6px 6px 0 0 ;
  display: block;
  opacity: 1;
  overflow: hidden;
}
.activitylist li a p{
  background: #fff;
  display: block;
  border-bottom: 1px solid #707070;
  opacity: 1 !important;
  padding: 1rem 3rem 1rem 1rem;
  position: relative;
  text-decoration: none;
  transition: .5s;
}
.activitylist li a span{
  background: #fff;
  border: 1px solid #0B97D2;
  border-radius: 50%;
  padding: .7rem;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  transition: .5s;
}
.activitylist li a span::before{
  content: "";
  background: #0B97D2;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  height: 4px;
  width: 4px;
}
.activitylist li a:hover p{
  background: #0B97D2;
  border-color: #fff;
  color: #fff;
}
.activitylist li a:hover span{
  background: #fff;
  padding: 1rem;
  right: 7px;
}
.activitylist li a:hover span::before{
  background: transparent;
  border-radius: 0;
  border-style: solid;
  border-color: transparent transparent transparent #0B97D2;
  border-width: 5px 0px 5px 8.66px;
  height: 0;
  width: 0;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  .activitylist li{
    width: calc(50% - 2rem);
  }
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .activitylist li{
    width: 100%;
  }
  .activitylist li a{
    border-radius: 6px 0 0 6px;
    display: flex;
    height: 100%;
  }
  .activitylist li a .imgbox{
    width: 80px;
  }
  .activitylist li a .imgbox img{
    aspect-ratio: 1/1;
    object-fit: cover;
    height: auto;
    width: 100%;
  }
  .activitylist li a p{
    display: flex;
    align-items: center;
    font-size: 4.7vw;
    padding: 0 3rem 0 1.5rem;
    width: calc(100% - 80px);
  }
}
