/*.main_visual {
  background: url(../img/top_main.jpg);
  color: #fff;
}
.main_visual h1 {
  font-size: 68px;
  font-weight: normal;
  padding-top: 85px;
  padding-left: 36vw;
  text-shadow:
    1px 1px 1px #00178e, -1px 1px 1px #00178e, 1px -1px 1px #00178e, -1px -1px 1px #00178e, 1px 0px 1px #00178e, 0px 1px 1px #00178e, -1px 0px 1px #00178e, 0px -1px 1px #00178e;
}
.main_visual h1 span:first-of-type {
  font-size: 60px;
  font-weight: lighter;
}
.main_visual h1 span:last-of-type {
  font-size: 29px;
  display: block;
}*/
.main_visual{
  margin-bottom: 50px;
}
.main_visual img{
  width: 100%;
  height: auto;
}
#page-trail_wrap{
  width: 100%;
  max-width: 1200px;
}
#contents h1{
  font-size: 22px;
  border-bottom: 3px solid #ddd;
  padding-bottom: 5px;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 1315px;
}
#contents .tab_wrap {
  margin: 0 auto 0;
  padding: 0 10px;
  width: 100%;
  max-width: 1350px;
  position: relative;
}
#contents input[type="radio"] {
  display: none;
}
#contents .tab_area {
  font-size: 0;
  margin: 0 10px;
  display: flex;
  justify-content: center;
  visibility: hidden;
  display: none;
}
#contents .tab_area label {
  width: 23%;
  margin: 0 5px;
  padding-top: 15px;
  font-size: 20px;
  cursor: pointer;
  height: 60px;
  text-align: center;
  border: 2px solid #02178e;
  border-radius: 30px;
  color: #000;
}
#contents .tab_area label:hover {
  background: #02178e;
  color: #fff;
}
#contents .panel_area .tab_panel > div {
/*  width: 287px;*/
}
#contents .panel_area {
  width: 100%;
}
#contents .tab_panel {
  width: 100%;
/*  padding: 1.95vw 0 1.25vw;*/
  display: none;
}
#contents #tab1:checked ~ .tab_area .tab1_label, #contents #tab2:checked ~ .tab_area .tab2_label, #contents #tab3:checked ~ .tab_area .tab3_label, #contents #tab4:checked ~ .tab_area .tab4_label {
  background: #fff;
  cursor: default;
  color: #000;
}
#contents #tab1:checked ~ .panel_area #panel1, #contents #tab2:checked ~ .panel_area #panel2, #contents #tab3:checked ~ .panel_area #panel3, #contents #tab4:checked ~ .panel_area #panel4 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 50px;
  width: 100%;
  max-width: 1315px;
}
#contents .item {
  border: 2px solid #ddd;
  box-sizing: border-box;
  padding: 8px 8px 35px;
  width: 100%;
  max-width: 300px;
  margin: 10px 14px;
}
#contents .item:hover {
  text-decoration: none;
  opacity: 0.8;
  color: #000;
  outline: 2px solid #00a3f4;
  border: 2px solid #fff;
}
#contents .item > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#contents .dummy {
  width: 300px;
  margin: 0 12px;
}
#contents .item p {
  margin: 0;
}
#contents .service{
  font-size: 12px;
  padding-left: 12px;
}
#contents .item img {
  width: 100%;
  height: auto;
}
#contents .item .date_time {
  padding: 10px 0 10px;
  font-size: 22px;
  text-align: center;
}
#contents .item .date_time span{
  font-size: 20px;
}
#contents .item .title {
  flex-grow: 1;
  padding: 0 5px 10px 12px;
  font-weight: bold;
  font-size: 16px;
}
#contents .item .format {
  padding: 5px 0 5px 12px;
  font-size: 12px;
}
#contents .item .entry_fee {
  padding-left: 12px;
  font-size: 12px;
}
#contents .status01, #contents .status02, #contents .status03, #contents .status04 {
  color: #fff;
  border-radius: 30px;
  width: 80px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
  font-size: 12px;
  padding: 3px;
  margin-left: 5px;
}
#contents .status01 {
  background: #f16a00;
}
#contents .status02 {
  background: #6d84c8;
}
#contents .status03 {
  background: #757575;
}
#contents .status04 {
  background: #015eea;
  width: 110px;
}
.archive {
  position: absolute;
  right: 20px;
  top: 0;
}
.archive a {
  width: 165px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #015eea;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
}
.archive a:hover {
  text-decoration: none;
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
/*  .main_visual {
    height: 40vw;
    min-height: 128px;
    background-size: cover;
  }
  .main_visual h1 {
    font-size: 30px;
    text-align: center;
    padding-top: 10vw;
    padding-left: 0;
    display: block;
  }
  .main_visual h1 span:first-of-type {
    font-size: 26px;
  }
  .main_visual h1 span:last-of-type {
    font-size: 18px;
  }*/
  
  #contents .tab_panel {
    justify-content: center;
  }
  #contents .panel_area .tab_panel > div:not(.dummy) {
    width: 45%;
    min-width: 200px;
  }
  #contents .panel_area .tab_panel > div:nth-of-type(2n) {
    margin-right: 0;
  }
  #contents .item .date_time{
    font-size: 20px;
  }
}
@media screen and (max-width: 410px) {
  .main_visual{margin-bottom: 7vw;}
  .archive{position: static;text-align: right;}
}