﻿/* top page */
#top {
  margin-top: -70px;
  background-image: url(../images/top_bg01.jpg);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center top;
  /*
    #film_roll {
        margin: 50px 0;
        width: 100%;

        .film_roll_wrapper {
            display: block;
            text-align: center;
            float: none;
            position: relative;
            top: auto;
            right: auto;
            bottom: auto;
            left: auto;
            z-index: auto;
            width: 100%;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden;
            width: 100%;
        }

        .film_roll_shuttle {
            text-align: left;
            float: none;
            position: relative;
            top: 0;
            left: 0;
            right: auto;
            bottom: auto;
            margin: 0 !important;
            padding: 0 !important;
            z-index: auto;
        }

        .film_roll_shuttle.vertical_center:before {
            content: '';
            display: inline-block;
            height: 100%;
            vertical-align: middle;
            margin-right: -0.25em;
        }

        .film_roll_child {
            position: relative;
            display: inline-block;
            vertical-align: middle;
            zoom: 1;
        }

        img {
            margin: 0 20px;
            border: solid 1px #ddd;
        }
    }*/
}
#top .jirei {
  text-align: center;
  padding-bottom: 0;
}
#top .jirei h4 {
  text-align: center;
  font-weight: bold;
  margin: 20px;
}
#top .jirei div > div a {
  color: #000;
  text-decoration: none;
}
#top .jirei div > div:hover {
  opacity: 0.8;
}
#top .contents {
  border-top: solid 10px #fff;
  background-color: #fff;
  margin-bottom: 40px;
}
#top .contents div {
  padding: 0;
  border-right: solid 1px #fff;
}
#top .contents div:hover {
  opacity: 0.8;
}
#top .contents div a img {
  width: 100%;
}
#top .contents div a h4 {
  font-size: 14px;
  color: #fff;
  background-color: #333300;
  padding: 10px;
  margin: 0;
  text-align: center;
}
#top .events h4 {
  color: #660;
  padding-bottom: 8px;
  border-bottom: solid 1px #000;
}
#top .events .h4 {
  color: #203b39;
}
#top .article h4 {
  color: #660;
  padding-bottom: 8px;
  border-bottom: solid 1px #000;
}
#top .article div[class=d-flex] {
  padding-bottom: 10px;
}
#top .article div[class=d-flex] a {
  color: #333300;
  display: block;
  font-size: 16px;
}
#top .article div[class=d-flex] .badge-dark {
  background-color: #660;
  padding: 5px 10px;
  margin-top: 7px;
}
#top .article hr {
  margin: 0 0 10px 0;
}
#top #slider {
  overflow: hidden;
}
#top #slider img {
  margin: 0 8px;
  border: solid 1px #eee;
}
#top .newarticle2 {
  height: 150px;
  overflow: auto;
}
#top .newarticle2 .badge-dark {
  background-color: #c00;
}
#top .newarticle2 hr {
  margin: 5px 0;
}
#bukken img {
  max-height: 250px;
  margin: 0 10px;
}
@media (max-width: 768px) {
  #bukken img {
    max-height: 200px;
    margin: 0 5px;
  }
}
#bukken .h4 {
  font-size: 1.1em;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}
#bukken .badge {
  padding: 4px 7px !important;
}
#bukken .badge-warning {
  color: #fff;
}
/* main visual */
#mainv {
  margin-top: 0;
  width: 100%;
  height: 800px;
  position: relative;
  top: -70px;
}
@media (max-width: 768px) {
  #mainv {
    height: 400px;
  }
}
#mainv #video {
  object-fit: cover;
  position: absolute;
  width: auto;
  height: 100%;
  /*
        @media (min-width: 1800px) {
            width: 100%;
            height: auto;
        }
            */
}
#mainv .newarticle {
  position: relative;
  width: 650px;
  height: 150px;
  overflow: auto;
  margin: 50px auto 0 auto;
  padding: 10px 30px;
  text-align: left;
  border-radius: 5px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}
#mainv .newarticle a {
  color: #fff;
}
#mainv .newarticle .badge-dark {
  background-color: #c00;
}
#mainv .newarticle hr {
  margin: 5px 0;
}
#mainv_in {
  width: 1000px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  text-align: center;
}
#mainv_in img {
  width: 100%;
  max-width: 600px;
}
@media (max-width: 1009px) {
  #mainv_in img {
    margin-top: 170px;
  }
}
@media (max-width: 992px) {
  #mainv_in {
    width: 100%;
  }
  #mainv_in img {
    top: 0;
    margin-top: 300px;
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  #mainv_in img {
    margin-top: 125px;
    max-width: 300px;
  }
}
#lineup {
  cursor: pointer;
}