/* CSS */
.inspection_main ul{
  display: flex;
  justify-content: space-between;
  align-items: inherit;
}

.inspection_main ul li div{
}
.inspection_main > ul{
  margin-bottom: 40px;
}
.inspection_main ul li{
  width: 43%;
}
.inspection_main > ul > li:first-child{
  background: url(/event/wp-content/uploads/2022/10/1008/20221008_inspection_main.jpg) no-repeat center bottom;
  background-size:cover;
}
.inspection_main ul li:nth-of-type(2){
  width: 55%;
  box-sizing: border-box;
}
.inspection_main ul li h5 {
  font-size:80%;
  font-weight:bold;
  letter-spacing:0.3em;
  background: #85001b;
  color: #fff;
  display: inline-block;
  height: 1.8em;
  line-height: 1.8em;
  padding: 0 1em 0 1em;
  position: relative;
}

.inspection_main ul li h5::before {
  border: 0.9em solid transparent;
  border-left-color: #85001b;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -0.9em;
  top: 0;
  width: 0;
}
.inspection_main ul li h4 {
  font-size:140% !important;
  margin-bottom:1em !important;
  padding-bottom:0.7em !important;
}
.inspection_main ul li a{
  color:#3F51B5;
  font-weight:bold;
  text-decoration:none;
}

.inspection_main ul li:nth-of-type(2) dd img{
  width:90%;
  max-width:500px;
  display:block;
  margin:20px auto 0;
}



.measure_info{
  border:2px solid #2196F3;
  background:#f0f8ff;
  padding:20px;
  box-sizing:border-box;
  margin:70px 0 30px 0;
}

.sub_info{
  background:#f5f5f5;
  padding:20px;
  box-sizing:border-box;
  margin:50px 0;
}

.sub_info h5{
  font-family: 'Jost', sans-serif;
  font-weight:100;
  font-size:130%;
  letter-spacing:0.3em;
  text-align:center;
  margin:0 0 0.8em 0;
}

.sub_info ol{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

.sub_info #infoblock{
  width:30%;
  padding:5px;
  background:#fff;
  box-shadow:5px 5px 5px #ccc;
}
.sub_info #infoblock a > img{
  width:100%;
}
#infoblock figure{
  margin: 0;
  display: none;
}
#infoblock figure:target{
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
}
#infoblock figure:target #overlay{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: inherit;
}
#infoblock figure:target img{
  animation: fadein .3s;
}
@keyframes fadein{
  0%{
    transform: scale(0.2);
    opacity: 0.2;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}


.info_present{
  width:90%;
  max-width:500px;
  background:#fff;
  z-index: 102;
  padding:2%;
  box-sizing:border-box;
  position:relative;
}

.info_present dl{
   background:#f0f0f0;
   text-align:center;
   padding:20px 0;
   margin:20px 0;
}

.info_present dl img{
  width:70%;
}


.info_present h5{
  color:#000;
  font-size:140%;
  font-weight:normal;
  letter-spacing:0;
}

.info_present h6{
  font-size:130%;
  width:100%;
  color:#fff;
  position:absolute;
  text-align:center;
  top:0;
  left:0;
  background:#333;
}




.info_present2{
  width:90%;
  max-width:500px;
  background:#fff;
  z-index: 102;
  padding:2%;
  box-sizing:border-box;
  position:relative;
}

.info_present2 h6{
  font-size:130%;
  width:100%;
  color:#fff;
  position:absolute;
  text-align:center;
  top:0;
  left:0;
  background:#333;
}

.info_present2 dl.star{
  margin:20px 0 10px 0;
}

.info_present2 dl.star dt{
  width:100%;
  margin:0 0;
  text-align:center;
  padding:20px 0;
}
.info_present2 dl.star dt img{
  width:70%;
  transform: rotate(-5deg);
  filter: drop-shadow(5px 5px 2px #444444);
}

.info_present2 dl.itune{
  display:flex;
  justify-content:space-between;
  background:#58aae8;
  padding:10px;
    box-shadow:5px 5px 5px inset #1a598a;
}
.info_present2 dl.itune p{
  font-size:95%;
  color:#fff;
  width:60%;
}
.info_present2 dl.itune dt{
  width:35% !important;
  margin:0 0;
  background:unset;
  position:relative;
}

.info_present2 > dl.itune dt img{
  width:100% !important;
  filter: drop-shadow(5px 5px 2px #2871a9);
  transform: rotate(-5deg);
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
}

.info_line{
  width:90%;
  max-width:500px;
  background:#fff;
  z-index: 102;
  padding:2%;
  box-sizing:border-box;
  position:relative;
}

.info_line dl{
   background: linear-gradient(-40deg,#fde8d3,#fcd);
   text-align:center;
   padding:20px 0;
   margin:20px 0;
}

.info_line dl img{
  width:70%;
}


.info_line h5{
  font-size:140%;
  font-weight:bold;
  letter-spacing:0;
  font-weight:normal;
}

.info_line h6{
  font-size:130%;
  width:100%;
  color:#fff;
  position:absolute;
  text-align:center;
  top:0;
  left:0;
  background:#333;
}

.event_box_detail{
  margin-bottom: 50px;
  text-align: center;
}

.sub section#subContainer div.main_box .event_box_detail h4 {
    border: none;
    margin: 5px 0 0 0;
    padding-bottom: 0;
}


.event_box_detail ul{
  display:flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.event_box_detail ul li{
  width: 32.5%;
  max-height:400px;
  overflow: hidden;
  display:block;
  margin: 0;
}

.event_box_detail ul li:last-child{
  margin:0 0 0 0;
}

.event_box_detail ul li img{
  width: 100%;
  max-height: 400px;
  object-fit:cover;
}

.event_box_detail p{
  width:100%;
  padding: 15px 0 5%;
  margin:0 auto;
  box-sizing:border-box;
}

.event_box_detail .bg {
    background-color: rgba( 255, 255, 255, 0.8 );
    margin: 0 11%;
    padding: 0% 5% 4%;
}
.eventSingle > .form_box{
  width:96%;
  margin:100px auto 70px auto;
}
.form_title{
  font-size:150%;
  font-weight:bold;
  letter-spacing:0.2em;
  text-align:center;
  border:1px solid #ccc;
  padding:10px 0;
  border-radius:50px;
  margin-bottom:50px;
}

@media screen and (max-width: 1200px) {
  .form_box {
    width: 96%;
    margin: 0 auto;
  }
  .detail_box > p {
    width: 96% !important;
    margin: 0 auto !important;
  }
  .measure_notes {
    width: 96% !important;
    margin: 0 auto !important;
  }
}
@media screen and (max-width: 769px) {
.inspection_main ul li h4 {
  margin:1em 0!important;
}
.inspection_lineuppart > ul > li:nth-of-type(1) {
  width: 41%;
}
.inspection_lineuppart ul li:last-child{
  width: 45%;
}
.inspection_main ul{
  margin:auto;
  min-width:unset;
  justify-content:unset;
  display: block;
}
.inspection_main ul li:nth-child(1){
  width: 90%;
}
.inspection_main > ul > li:first-child{
  height: 670px;
}
.inspection_main ul li:nth-child(2){
  width: 96%;
  order: -1;
}
.inspection_main ul li{
  margin:0 auto 20px auto;
  box-sizing:border-box;
}

  .eventSingle img {
      max-width: 100%;
  }


  body#event section#subContainer .main_box.main_box p {
      padding: 0 0 20px;
  }

  .event_box_detail ul .flex {
      display: flex;
  }


  .sub_info #infoblock{
    width:48%;
    margin:0 0 30px 0;
  }
  .sub_info #infoblock:nth-child(3){
    margin:0;
  }
  .event_box_detail ul{
    display:unset;
    justify-content:unset;
    width: 100%;
    margin: 0 auto;
  }
  .event_box_detail ul li{
    width:100%;
    margin-bottom:20px;
  }
  .event_box_detail ul li img{
    width:100%;
    object-fit:cover;
  }
  .event_box_detail p{
   margin:0 auto !important;
   padding:70px 10%;
  }
}

@media screen and (max-width: 599px) {
  .inspection_main > ul > li:first-child {
    height: 580px;
  }
  .sub_info #infoblock{
    width:100%;
    margin:0 0 30px 0;
    text-align:center;
  }
  .sub_info #infoblock > a img{
    width:90%;
  }
  .event_box_detail ul li img{
    width:100%;
  }
  .event_box_detail p{
    margin:0 auto !important;
    padding: 0;
  }
  .entry-content img {
      max-width: 100%;
      height: auto;
  }

  .event_box_detail .bg {
      margin: 0;
  }

}