/* CSS */
.inspection_main{

}

.inspection_main img{
  width:100%;
  
}

.inspection_subpart{
  width:96%;
  max-width:1200px;
  margin:50px auto;
  box-sizing:border-box;
}

.inspection_subpart ul{
  width: 98%;
  margin:0;
  padding:0;
}

.sub section#subContainer div.main_box h3 {
    margin: 10px auto 10px;
}

no {
    border-bottom: 1px dotted #a74532;
}

.inspection_subpart ul li dl h5 {
  color:#fff;
  font-size:80%;
  font-weight:bold;
  letter-spacing:0.3em;
  background: #000;
  display: inline-block;
  height: 1.8em;
  line-height: 1.8em;
  padding: 0 1em 0 1em;
  position: relative;
}

.inspection_subpart ul li dl h5::before {
  border: 0.9em solid transparent;
  border-left-color: #000;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -0.9em;
  top: 0;
  width: 0;
}
.inspection_subpart ul li dl h4 {
  font-size:140% !important;
  margin-bottom:1em !important;
  padding-bottom:0.7em !important;
}

.inspection_subpart ul li a{
  color:#E91E63 !important;
  font-weight:bold;
  text-decoration:none;
}


.inspection_subpart ul.specialMovie {
  align-items: center;
}
.inspection_subpart ul.specialMovie li:nth-child(1) {
  width: 58%;
  margin-left: 2%;
}
.inspection_subpart ul.specialMovie li:nth-child(2) {
  width: 35%;
  background: none;
  overflow: visible;
}
.inspection_subpart ul.specialMovie li:nth-child(2) div.movieTitle {
  font-size: 130%;
  font-weight: bold;
  text-align: center;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 0.7em 0;
  margin-bottom: 20px;
  position: relative;
}
.inspection_subpart ul.specialMovie li:nth-child(2) div.movieTitle span {
  color: #e91e63;
  font-size: 60%;
  letter-spacing: 0.2em;
  background: #fff;
  padding-right: 10px;
  position: absolute;
  top: -0.7em;
  left: 0;
}
.inspection_subpart ul.specialMovie li:nth-child(2) a {
  display: block;
}
.inspection_subpart ul.specialMovie li:nth-child(2) img {
  height: auto !important;
  object-fit: unset;
}



.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%;
}

.ribbon10 {
  display: inline-block;
  position: relative;
  height: 45px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
  top: -23px;
}

.ribbon10:before {
  content: '';
  position: absolute;
  width: 12px;
  bottom: -7px;
  left: -38px;
  z-index: 0;
  border: 20px solid #A74534;
  border-left-color: transparent;
}

.ribbon10:after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: -7px;
  right: -35px;
  z-index: 0;
  border: 20px solid #A74534;
  border-right-color: transparent;
}

.sub section#subContainer div.main_box .ribbon10 .ribbon_bg {
  display: inline-block;
  position: relative;
  margin: 0;
  line-height: 36px;
  font-size: 16px;
  color: #f6de6c;
  background: #A74534;
  padding: 3px 80px 3px 80px;
  border: none;
  font-weight: normal;
}

.ribbon10 .ribbon_bg:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #783224;
}

.ribbon10 .ribbon_bg:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #783224;
  z-index: 1;
}

.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: 769px) {

  section#office .flex{
    flex-wrap: wrap;
  }

  .event_box_detail .bg {
      margin: 0 5%;
  }

  .sub section#subContainer section#office h2 {
      font-size: 30px;
      top: -14px;
  }

  section#office .flex div.img {
      width: 100%;
      max-height: 300px;
      overflow: hidden;
  }

  section#office .flex .right_box {
      width: 100%;
      margin-top: 10px;
  }

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

  .inspection_subpart ul li dl {
      padding: 0;
  }

  .inspection_subpart ul.flex {
      width: 100%;
      padding-bottom: 0;
  }

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

  .event_box_detail ul .flex {
      display: flex;
  }

  section#office {
      margin: 0 5% 60px;
      width: auto;
  }


  section#office .text {
      width: 100%;
      margin: 0;
  }

  section#office div.youtube {
      width: 100%;
      margin-top: 0px;
  }
  
  .inspection_subpart{
    }

  .inspection_subpart ul{
    width:100%;
    min-width:unset;
    display:block;
    justify-content:unset;
  }
  .inspection_subpart ul li{
    margin:0 auto 30px auto;
    box-sizing:border-box;
  }
  .inspection_subpart ul li dl h4 {
      font-size:120% !important;
      margin:1em 0em !important;
      padding-bottom:0.1em !important;
    }

  .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: 500px) {

  section#office div.youtube iframe {
    height: 200px;
}

  #event.sub section#subContainer div.main_box h4 {
      margin-top: 0;
  }

  .inspection_subpart{
  }
   .inspection_subpart ul li:nth-child(2) img{
    width:100% !important;
  }
  .inspection_subpart ul li:nth-child(1) dl h5 {
  font-size:70%;
  letter-spacing:0.2em;
  }
  .sub_info #infoblock{
    width:100%;
    margin:0 0 30px 0;
    text-align:center;
  }
  .sub_info #infoblock > a img{
    width:90%;
  }
   .event_box_detail{
   }
  .event_box_detail ul{
  }
  .event_box_detail ul li{
  }
  .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;
}

.inspection_subpart ul li dl {
    padding: 0;
}

.inspection_subpart ul.flex {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    }

.inspection_subpart ul.flex li {
    display: inline-block;
    list-style: none;
    height: 450px;
    }

.inspection_subpart ul.flex li {
    width: 90%;
    height: auto;
    margin: 0;
}

.sub section#subContainer div.main_box .ribbon10 .ribbon_bg {
    padding: 3px 40px;
    font-size: 14px;
    line-height: 26px;
}

.ribbon10:before {
    content: '';
    position: absolute;
    width: 12px;
    bottom: 0;
    left: -25px;
    z-index: 0;
    border: 14px solid #A74534;
    border-left-color: transparent;
}

.ribbon10:after {
    content: '';
    position: absolute;
    width: 10px;
    bottom: 0px;
    right: -23px;
    z-index: 0;
    border: 14px solid #A74534;
    border-right-color: transparent;
}

.event_box_detail .bg {
    margin: 0;
}

body#event section#subContainer .main_box.main_box p {
    margin-top: 10px;
}

section#office .flex {
    display: block;
}

section#office .flex div.img {
    width: 100%;
}

section#office .flex .right_box {
    width: 100%;
    margin-top: 15px;
}

section#office .text {
    width: 100%;
    margin-top: 34px;
}

section#office div.youtube {
    width: 100%;
    margin-top: 20px;
}

.sub section#subContainer section#office h2 {
    font-size: 26px;
    top: -13px;
}

}