@charset "utf-8";

/* =============================================
	style
============================================= */
.event-info{
  margin: 0 0 20px;
}
.opening-closing__cont{
  display: none;
  opacity: 0;
}
.opening-closing__cont.open{
  display: block;
  animation: fadeIn 0.4s ease-in 0s forwards;
}

@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
.event-notice{
  padding: 15px;
  margin: 0 0 35px;
  font-size: 1.3rem;
  background-color: #efefef;
}
.event-notice p,
.event-notice li{
  font-size: 1.3rem;
}
.event-notice__detail{
  margin: 15px 0 0;
}
.area-name{
  margin: 0 0 10px;
}
.area-name a{
  display: block;
  padding: 15px 25px;
  font-size: 1.8rem;
  color: var(--font-dark);
  text-decoration: none;
  background: url(/nikken/system/img/open.svg) no-repeat 97% center;
  background-size: 20px 20px;
  border: 1px solid #a3a3a3;
  border-radius: 15px;
  transition: all 0.2s ease;
}
.area-name a.open{
  background: url(/nikken/system/img/close.svg) no-repeat 97% center;
  background-size: 20px 20px;
}
.area-name a:hover{
  color: var(--ict-color);
  background: url(/nikken/system/img/open_hover.svg) no-repeat 97% center;
  background-size: 20px 20px;
  border: 1px solid var(--ict-color);
  opacity: 0.8;
}
.area-name a.open:hover{
  background: url(/nikken/system/img/close_hover.svg) no-repeat 97% center;
  background-size: 20px 20px;
}
.opening-closing__switch a.detail__switch{
  display: inline-block;
  padding-right: 14px;
  text-decoration: underline;
  background: url(/nikken/system/img/open.svg) no-repeat 98% center;
  background-size: 10px 10px;
  transition: all 0.2s ease;
}
.opening-closing__switch a.detail__switch:hover{
  text-decoration: none;
  opacity: 0.8;
}
.opening-closing__switch a.detail__switch.open{
  background: url(/nikken/system/img/close.svg) no-repeat 98% center;
  background-size: 10px 10px;
}
.area-event__list{
  padding: 0 0 45px;
}

/* ===========================================
	MediaQueries
=========================================== */

/* スマホ----------------------------- */
@media screen and (width <= 767px){
  .event-info__table tr{
    position: relative;
  }
  .event-info__table tr.month-info{
    margin-top: 4.5em;
  }
  .event-info__table tr.month-info td:nth-child(1)::before{
    display: inline-block;
  }
  .event-info__table tr.month-info td:nth-child(1)::after{
    content: none;
  }
  .event-info__table tr.month-info td:nth-child(1){
    position: absolute;
    top: -3.2em;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 10px 5px;
    background-color: #f0efef;
  }
  .event-info__table tr td:nth-child(1)::before{
    margin-top: 0;
    content: '都道府県';
  }
  .event-info__table tr td:nth-last-child(2)::before{
    content: '開催日程';
  }
  .event-info__table tr td:nth-last-child(1)::before{
    content: '会場';
  }

}

/* PC----------------------------- */
@media screen and (width >= 768px){
  .event-info__table tr td:nth-last-child(3){
    width: 13%;
  }
  .event-info__table tr td:nth-last-child(2){
    width: 31%;
  }
  .event-info__table tr td:nth-last-child(1){
    width: auto;
  }
  .area-name a{
    background: url(/nikken/system/img/open.svg) no-repeat 98% center;
    background-size: 20px 20px;
  }
  .area-name a.open{
    background: url(/nikken/system/img/close.svg) no-repeat 98% center;
    background-size: 20px 20px;
  }
  .area-name a:hover{
    color: var(--ict-color);
    background: url(/nikken/system/img/open_hover.svg) no-repeat 98% center;
    background-size: 20px 20px;
  }
  .area-name a.open:hover{
    background: url(/nikken/system/img/close_hover.svg) no-repeat 98% center;
    background-size: 20px 20px;
  }
}
