/* CSS */


.inspection_main img{
  max-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 {
  font-family: 'Jost', sans-serif;
  color:#fff;
  font-size:100%;
  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.85em;
  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_main.obog {
    position: relative;
    text-align: center;
  padding:100px;
  background:#eee;
  box-sizing:border-box;
}
.inspection_main.obog > img{
  box-shadow:15px 15px 0px #e1e1e1;
  border:3px solid #fff;
}

.inspection_main.obog span.ribbon {
   display: inline-block;
   position: absolute;
   top: -6px;
   right: 60px;
   margin: 0;
   padding: 40px 30px 20px;
   box-sizing: border-box;
   z-index: 2;
   width: 160px;
   text-align: center;
   color: white;
   font-size: 13px;
   background: #fff;
   border-radius: 2px 0 0 0;
   border-top: 1px solid #eee;
}

.inspection_main.obog span.ribbon:before {
  position: absolute;
  content: '';
  top: 0;
  right: -5px;
  border: none;
  border-bottom: solid 6px #29345a;
  border-right: solid 5px transparent;
}


.inspection_main.obog span.ribbon:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 40px solid #fff;
}

.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;
  margin-bottom: 30px!important;
}
.sub_info ol{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}
.sub_info ol li{
  width: 30%;
  background-color: white;
}
.sub_info ol h6{
  text-align: center;
  font-size: 120%!important;
  font-family: 'Amatic SC', cursive;

}
.sub_info ol h6 {
  color:#fff;
  font-size:80%;
  font-weight:bold;
  letter-spacing:0.3em;
  background: #75c6ef;
  display: inline-block;
  height: 1.8em;
  line-height: 1.8em;
  padding: 0 1em 0 1em;
  position: relative;
}

.sub_info ol h6::before {
  border: 0.9em solid transparent;
  border-left-color: #75c6ef;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -0.88em;
  top: 0;
  width: 0;
}
.sub_info ol li dl{
  /* display: flex; */
}
.sub_info ol li dl dt{
  padding: 5% 2%;
}
.sub_info ol li dl dd{
  width: 100%!important;
  padding: 0%!important;
  font-size: 100%;
  text-align: center;
  margin-bottom: 10px;
  color: #5b4635;
}
.sub_info ol li dl dd a{
  color: #5b4635;
}
.sub_info ol li dl dd span{
  font-size: 80%;
}
/* #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%;
} */
/* サブ画像 */
.event_box_detail{
  margin-bottom: 50px;
  text-align: center;
}
.event_box_detail .bg {
    background-color: rgba( 255, 255, 255, 0.8 );
    margin: 0 11%;
    padding: 0% 5% 4%;
}
.event_box_detail h4{
  font-family: 'Caveat', cursive;
  font-size: 200%!important;
  color: #75c6ef;
  text-align: left!important;
  border-bottom:0!important;
}
.event_box_detail h4:first-letter{
  font-size:2em;
  color:#2372c9;
  font-weight:bold;
}
.event_box_detail ul{
  display:flex!important;
  justify-content: space-between!important;
  width: 100%;
  margin: 0 auto;
}

.event_box_detail ul li{
  width: 32.5%;
  /* max-height:420px; */
  overflow: hidden;
  display:block;
  margin: 0!important;
}
.event_box_detail ul li img{
  width: 100%;
  max-height: 400px;
  object-fit:cover;
}
.event_box_detail ul li dl dd{
  color: #2a2a28;
  font-size: 110%;
  font-family: serif;
}
.event_box_detail ul li dl dd span{
  font-family: 'Caveat', cursive;
  color: #2372c9;
  font-size: 140%;
}
.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;
}
/* 所在地・アナウンス */
.event_info{
  padding: 2%!important;
}
.detail_box{
  width:97% !important;
  margin-right:2%;
}
.detail_box table{
  width: 100%;
  margin-bottom: 20px;
}
.detail_box table tr{
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}
.detail_box table tr th{
  font-size:90%;
  color:#fff;
  font-weight:bold;
  width: 20%;
    text-align: center;
    letter-spacing: 0.1em;
    background: #000;
    padding: 10px 0;
    margin-right: 16px;
}
.detail_box table tr td{
  padding-left: 16px;
}

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

/* point */
.obog_event_point {
    background: #eee;
    padding: 100px 10% 60px;
    position: relative;
    margin: 100px 0 60px;
}

.obog_event_point ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 0;
}

.obog_event_point ul > li > ul >li {
    width: 48%;
}

.obog_event_point > ul > li  {
    margin-bottom: 30px;
}

.sub section#subContainer div.main_box .obog_event_point{
  position:relative;
}
.sub section#subContainer div.main_box .obog_event_point h4 {
  color:transparent;
  font-family: 'Jost', sans-serif;
  font-size:300%;
  line-height:1em;
  letter-spacing:0.2em;
  top: -1.0em;
  color: #000;
  position: absolute;
  border-bottom:none;
}
.sub section#subContainer div.main_box .obog_event_point h4 span{
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  letter-spacing:0.1em;
  display:block;
  font-size:40%;
  font-weight:lighter;
}
.obog_event_point div.title {
    /* display: flex; */
    align-items: baseline;
    width: 100%;

}

.obog_event_point div.title h4 {
    padding-left: 30px;
    display: block;
}

.obog_event_point ul > li > ul >li h5 {
    font-size: 130%;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000;
}

.obog_event_point ul > li > ul >li h5 span {
    color: transparent;
    font-family: 'Jost', sans-serif;
    font-size: 230%;
    font-weight:normal;
    line-height:1em;
    color: #000;
    padding-right: 10px;
}

.obog_event_point ul > li:last-child {
    margin-bottom:0;
}


.obog_event_point ul > li > ul > li {
    position: relative;
    z-index: 1;
}


.obog_event_point ul > li > ul > li.img {
    background-size: cover;
}

.obog_event_point ul > li > ul > li.img img {
    box-shadow: 10px 10px 0px #e1e1e1;
}

@media screen and (max-width: 959px) {
  .inspection_main.obog {
    padding: 9%;
}
.obog_event_point {
      padding: 10% 5% 30px;
  }
  .obog_event_point .title h4{
    font-size: 300% !important;
    top: -45px !important;
    position: absolute !important;
    }

  /* #event.sub section#subContainer div.main_box .obog_event_point h4{
    margin: 10px 0 0 !important;
    width: 100% !important;
    font-size: 150% !important;
  }     */
 }

@media screen and (max-width: 769px) {

.inspection_main.obog span.ribbon{
  right: 15px;
}

.obog_event_point ul{
}

.obog_event_point ul > li > ul >li{
  width:auto;
}

.obog_event_point ul > li > ul > li.img{
  margin-bottom:15px;
}

.obog_event_point ul > li > ul > li.img img{
  max-width:100%;
}

.obog_event_point > ul > li:nth-child(2) > ul > li.img {
    order: -1;
}

  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!important;
    justify-content:unset!important;
    width: 100%;
    margin: 0 auto;
  }
  .event_box_detail ul li{
    width:100%;
    margin-bottom:20px!important;
  }
  .event_box_detail ul li img{
    width:100%;
    object-fit:cover;
  }
  .event_box_detail ul li dl dd{
    margin-bottom: 15px;
  }
  .event_box_detail p{
   margin:0 auto !important;
   padding:70px 10%;
  }
}
@media screen and (max-width: 610px) {
  .obog_event_point .title h4{
    font-size: 220% !important;
    }
  .obog_event_point {
    padding: 10% 5% 30px !important;
  }
}
@media screen and (max-width: 500px) {

.inspection_main.obog span.ribbon {
    padding: 20px;
    width: 120px;
}

.inspection_main.obog span.ribbon:after {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 20px solid #fff;
}

.obog_event_point .title h4{
  font-size: 230% !important;
  }


  .inspection_main.obog span.ribbon {
      padding: 15px;
      width: 110px;
  }

  .inspection_main.obog span.ribbon:after {
      border-left: 55px solid transparent;
      border-right: 55px solid transparent;
      border-top: 20px solid #fff;
  }

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

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

  .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 ol{
    display: block;
    justify-content: unset;
  }
  .sub_info ol li{
    width: 100%!important;
  }
  .sub_info ol li dl dd{
    padding: 0 2% 9%!important;
  }
  .sp_only{
    display: block;
}
   .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;
}

}

@media screen and (max-width: 465px) {
  .obog_event_point .title h4{
    font-size: 180% !important;
    top: -20px !important;
    }
}
@media screen and (max-width: 355px) {
  .obog_event_point {
    padding: 20% 5% 30px !important;
  }
}
