#container_wrapper {
  position: relative;
  width: 100%;
  padding: 0 ;
}

/* Title  */
#ttl {
  margin: 0 2% 20px ;
}
h1 {
  clear: both;
  font-size: 2.8em;
  margin: 0 0 15px 0;
}
#ttl_jp {
  white-space: nowrap;
}
h3 {
  margin: 0.5em 0 -0.5em;
  font-size: 1.6em;
  display: inline-block;
}
h4 {
  margin: 0 0 15px 0;
  font-size: 1.3em;
}
hr {
  background: #000;
  width: 100%;
  height: 1px;
  border: none;
}
#tag {
  width: 100%;
  float: left;
  margin: 0 -155px 0 0;
}
#tag_wrapper {
  margin: 0 170px 0 0;
  padding: 0 0 0 2%;
}
.tag_list li {
  display: inline-block;
  margin: 0 10px 10px 0;
}
.tag_list li a {
  color: #fff;
  padding: 3px 10px 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  background-color: #1987E5;
  font-size: 1em;
}

/* Left menu  */
#side {
  position: relative;
  width: 300px;
  height: auto;
}

.side_index {
  position: absolute;
  top: 0;
  margin: 0 0 0 10px;
  padding: 20px 0;
  width: 290px;
  opacity: 0.95;
  z-index: 5;
}
.side_list {
  position: relative;
  margin: 0 0 10px;
  background-color: #333;
  padding: 5px 10px 10px 10px;
}
.side_list ul{
  position: relative;
  background-color: #fff;
}
.side_list li {
  background-color: #333;
  margin: 0;
  font-size: 1.1em;
  transition: 0.2s;
}
.side_list li:last-child {
  padding-top: 2px;
  text-align: right;
  font-size: 0.9em;
  border-bottom: none;
  border-top: 1px #444 solid;
}
.side_list li a {
  display: block;
  padding: 4px 10px ;
  color: #fff;
}
.side_list li:last-child a {
  padding: 2px 10px;
}

.side_list li:hover {
  opacity: 0.8;
  transition: 0.2s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#index_bar {
  position: absolute;
  width: 110px;
  height: 44px;
  top: 33px;
  left: 255px;
  cursor: pointer;
  display: none;
  -moz-transform:    rotate( -90deg );
  -webkit-transform: rotate( -90deg );
  -o-transform:      rotate( -90deg );
  -ms-transform:     rotate( -90deg );
  transform:         rotate( -90deg );
  background-color: #333;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  z-index: 5;
}
.slide#index_bar {
  box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.4);
}
#index_bar p {
  position: relative;
  padding: 12px 15px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
}

.slide {
  box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.03);
}

/* Main contents  */
#main {
  position: relative;
  width: 100%;
  padding: 20px;
  height: auto;
}

#side.fixed {
  position: static;
}
.fixed .side_index {
  position:fixed;
}
.fixedb .side_index {
  top: auto;
  bottom: 0;
}

.content {
  width: 100%;
  background-color: #fff;
  margin: 0 0 40px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  overflow: hidden;
}

.content h2 {
  background-color: #624A69;
  color: #fff;
  font-size: 1.6em;
  padding: 2px 2%;
}
.content h4 {
  margin: 1.5em 0px 0;
  font-size: 1.3em;
}
.txt_area {
  padding: 0.3em 2% 1.8em;
}
.txt:after {
  content: "";
  display: block;
  clear: both;
}

.content p {
  width: 100%;
  margin: 1.5em 0 2em;
}
.content .l{
  width: 48.9%;
  margin: 0 2% 10px 0;
}
.content .r {
  width: 48.9%;
  margin: 0 0 10px 2%;
}
.content .cl {
  clear: both;
}
.col {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.col_l, .col_r {
  width: 50%;
  display: table-cell;
  vertical-align: top;
}
.col_l {
  padding: 0 0.75em 0 0;
}
.col_r {
  padding: 0 0 0 0.75em;
}
.video_btn {
    position: relative;
    top: 5px;
    display: inline-block;
    width: 31px;
    height: 31px;
    padding: 4px;
    margin: 0 0 0 20px;
    background-color: #666;
    border-radius: 5px;
    cursor: pointer;
}

#viewer {
    width: 90%;
    margin: 20px;
    padding: 20px;
    max-width: 980px;
    min-width: 480px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #222;
    position: fixed;
    z-index: 11;
}
#viewer .close {
  top: 0;
  right: 0;
}
#v_container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
#v_container iframe {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100% !important;
    height: 100% !important;
}
.video_wrapper {
  margin: 0 0 40px 0;
}
.vid {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.vid iframe {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left:0;
}

@media (max-width: 1048px) {
  #side {
    width: 20px;
  }
  .side_index {
    left: -305px;
  }
  #index_bar {
  display: block;
  }
  #main {
    margin-left: 40px;
  }
  .slide {
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.4);
  }
}

#things_to_do .txt_area {
  padding: 0.3em 2% ;
}
.ev_icons li {
  display: inline-block;
  vertical-align: top;
  width: 8.49%;
  margin: 2%;
}
.ev_icons div {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}
.ev_icons p {  text-align: center;
  font-size: 0.8em;
  margin: 0.5em 0 0;
  line-height: 1.2;
}
img.ev_icon {
  position: absolute;
  width: 600%;
}
.ev_food, .ev_dance, .ev_theater, .ev_ritual, .ev_costumes, .ev_music {
  top: 0;
}
.ev_parade, .ev_tea, .ev_charm, .ev_martial_arts, .ev_competition, .ev_archery {
  top: -100%;
}
.ev_kemari, .ev_illumination, .ev_imayo, .ev_ikebana, .ev_horse_riding, .ev_mikoshi {
  top: -200%;
}
.ev_fire_ritual, .ev_drink, .ev_fireworks, .ev_sumo, .ev_market {
  top: -300%;
}
.ev_food, .ev_parade, .ev_kemari, .ev_fire_ritual {
  left: 0;
}
.ev_dance, .ev_tea, .ev_illumination, .ev_drink {
  left: -100%;
}
.ev_theater, .ev_charm, .ev_imayo, .ev_fireworks {
  left: -200%;
}
.ev_ritual, .ev_martial_arts, .ev_ikebana, .ev_sumo {
  left: -300%;
}
.ev_costumes, .ev_competition, .ev_horse_riding,  .ev_market {
  left: -400%;
}
.ev_music, .ev_archery, .ev_mikoshi {
  left: -500%;
}

#schedule p {
  margin: 0 0 10px;
}
#schedule b, #schedule strong, #schedule h3 {
  display: block;
  margin: 30px 0 0;
}
#schedule td {
  padding: 0 20px 0 0 ;
}
.access_map {
  position: relative;
  float: right;
  width: 49%;
  height: 300px;
  margin: 1.5em 0 1.5em 0.9%;
}
.MapSpot h3 {
  font-size: 1.4em;
  margin: 3em 0 0;
  clear: left;
}
.first h3 {
  margin: 1em 0 0;
}
.MapSpot h4, .inside h3 {
  font-size: 1.2em;
  margin: 1.5em 0 0;
  clear: left;
}
#access dl {
  height: 4.5em;
}
#access p {
  margin: 5px 0 0 ;
}
#access ul {
  margin: 5px 0 0;
}
#access li {
  margin: 0 0 5px;
}
.map_link {
  display: inline-block;
  float: right;
  height: 32px;
  padding: 5px 10px;
  margin: 5px 0 0;
  background: #C3A1CF;
  font-size: 0.9em;
  color: #fff !important;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  overflow: hidden;
}
.map_link:hover {
  opacity: 0.8;
  text-decoration: none !important;
}
.map_icon {
  display: inline-block;
  width: 24px;
  vertical-align: middle;
  margin: 0 5px 0 0 ;
}
.addr {
  width: 50%;
  table-layout: fixed;
}
.addr td {
  width: 40px;
  position: relative;
  vertical-align: top;
  word-break: break-all;
}
.addr td.data {
  width: 100%;
  padding: 0 0 0 1em;
}
.addr td.data:before {
  position: absolute;
  top: 0;
  left: 0.2em;
  content: ":";
  margin: 0 0.5em 0 0;
  display: block;
}
#access .trans li,
#map .trans li {
  position: relative;
  margin: 0 0 5px 1em;
}
.trans li:before {
  position: absolute;
  content: "▶";
  font-size: 11px;
  top: 5px;
  left: -15px;
}
.trans span {
  display: inline-block;
  margin: 0 0.5em 0 0;
}

#access, #access .txt_area {
  margin: 0 0 20px;
}

/* Routemap */
.routemap h3 {
  display: block;
  font-size: 1.2em;
  text-align: center;
  margin: 0 0 5px;
}
#route_container {
  overflow: hidden;
  position: fixed;
  z-index: 11;
  background-repeat: no-repeat;
  cursor: pointer;
}
#route_btns {
  position: absolute;
  width: 48px;
  right: 30px;
  bottom: 30px;
  z-index: 12;
}
#route_btns li {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 10px 0 0 ;
  text-align: center;
  opacity: 0.4;
  cursor: pointer;
}
#route_container #close {
  color: #fff;
  background: #222;
  font-size: 24px;
}
#print {
  background: #AC8CB8;
  padding: 5px;
}
.route_btn img {
  position: relative;
  display: inline-block;
}
.route_btn:before {
  content:'';
  width: 0;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}
.route_arrow {
  position: absolute;
  font-size: 2em;
  width: 44px;
  height: 44px;
  text-align: center;
  opacity: 0.4;
  display: none;
}
#arrow_top, #arrow_bottom {
  left: 0;
  right: 0;
  margin: auto;
}
#arrow_top {
  top: 20px;
}
#arrow_bottom {
  bottom: 20px;
}
#arrow_left, #arrow_right {
  top: 0;
  bottom: 0;
  margin: auto;
}
#arrow_left {
  left: 20px;
}
#arrow_right {
  right: 20px;
}
#print_area {
  display: none;
}
#print_area h3 {
  display: block;
  text-align: center;
  margin: 0;
}

@media print {
  .mapView {
    height: auto;
    background: #fff;
  }
  .mapView > * {
    display: none !important;
  }
  #print_area {
    overflow: visible;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: block !important;
  }
  #print_area h3 {
    height: 33px;
  }
  .printable_area {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -33px;
    padding-top: 33px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing:  border-box;
  }
  .printable_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .printable_area img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
  }
}

/* Gallery */
#gallery_wrapper {
  padding: 1em 2% 1em;
  background-color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.gallery_link {
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery_package {
  position: relative;
  width: 100%;
  margin: 10px 0 10px 20px;
}
.gallery_package:after {
  content: "";
  display: block;
  clear: both;
}

.gallery_package h3, .rec_ttl {
  position: absolute;
  width : 100%;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 2% 4%;
  margin: 0;
  line-height: 1.5;
  background: rgba(0,0,0,0.1);
  background: -webkit-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,1.0)),
to(rgba(0,0,0,1.0)));
  background: -moz-linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,1.0));
  background: -ms-linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,1.0));
  background: -o-linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,1.0));
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,1.0));
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorStr=#22000000, endColorStr=#FF000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorStr=#22000000, endColorStr=#FF000000)";
}
.gallery_package h3 {
  font-size: 1.4em;
}
.thumbs {
  position: relative;
  width: 100%;
}
.thumbs li.package_wrapper {
  position: relative;
  width: 47.2%;
  margin: 0 2% 0 0;
  float: left;
  cursor: pointer;
  overflow: hidden;
}
.thumbs li {
  position: relative;
  width: 22.1%;
  margin: 0 2% 2% 0;
  float: left;
  overflow: hidden;
  cursor: pointer;
}
.more_img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 15% 0 0 ;
  display: block;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 3em;
  text-align: center;
  pointer-events: none;
}
#modal-overlay{
  z-index:10;
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:120%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
#gallery_box {
  position: fixed;
  width:90%;
  top:0;
  left: 0;
  margin:20px;
  padding: 5px 1% 1%;
  max-width: 1048px;
  min-width: 560px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  background-color: #333;
  z-index: 11;
}
#gallery_ttl {
  position: relative;
  height: 1.8em;
  font-size: 1.2em;
  padding: 5px;
  color: #fff;
}
#rec_link {
  position: relative;
  margin : 0 0 0 20px;
  font-size: 0.8em;
  color: #fff !important;
  padding: 0 3px;
  background: #666;
}
.close {
  position: absolute;
  width:28px;
  height:28px;
  color: #fff;
  font-size: 1.2em;
  top: 5px;
  right: 5px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}
#gallery_box_wrapper {
  opacity: 0;
}
#gallery_main {
  position: relative;
  width: 100%;
}
#gallery_img_wrapper:-webkit-full-screen{
  position : fixed ;
  left     : 0 ;
  top      : 0 ;
  width    : 100% ;
  height   : 100% ;
}
#gallery_img_wrapper:-moz-full-screen {
  position : fixed ;
  left     : 0 ;
  top      : 0 ;
  width    : 100% ;
  height   : 100% ;
}
#gallery_img_wrapper:-ms-fullscreen {
  position : fixed ;
  left     : 0 ;
  top      : 0 ;
  width    : 100% ;
  height   : 100% ;
}
#gallery_img_wrapper:fullscreen {
  position : fixed ;
  left     : 0 ;
  top      : 0 ;
  width    : 100% ;
  height   : 100% ;
}
#gallery_imgs {
  position: relative;
  width: 100%;
  height: 100%;
}

#gallery_img_wrapper {
  text-align: center;
}
#prev img, #next img, #full img {
  vertical-align:middle;
  max-width: 100%;
  max-height: 100%;
}
.imgs, #prev, #next, #full {
  z-index: 6;
}
#gallery_main_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
#gallery_img_container {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#gallery_img_container img {
  display: none;
}
#gallery_recs {
  margin: 3% 10%;
  z-index: 7;
  display: none;
  background: #333;
}
#gallery_recs:after {
  content: '';
  display: block;
  clear: left;
}
#gallery_recs .wrap {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
}
#gallery_recs li {
  position: relative;
  float: left;
  width: 45.9%;
  padding-top: 30.6%;
  margin: 2%;
  cursor: pointer;
}
#gallery_box .alert {
  width: 100%;
  height: 100%;
  padding: 45% 0 0;
  color: #fef263;
  font-size: 1.5em;
  background: #333;
}
#gallery_txt {
  position: relative;
  width: 100%;
  margin: 10px 0;
  height: 4.5em;
}
#gallery_txt p{
  position: absolute;
  color: #fff;
  top:0;
  left: 0;
  display: none;
}
.photo_ttl {
  display: block;
  font-size: 1.2em;
}
.cbtn {
  text-align: center;
  font-size: 24px;
  padding: 0 10px;
  color: #fff;
  opacity: 0.4;
  cursor: pointer;
}
.cbtn:hover {
  opacity: 0.8;
}
.carousel_list {
  width: 100%;
  overflow: hidden;
}
.clearfix:after {
  display:block;
  clear:both;
  height:0px;
  visibility:hidden;
  content:".";
}
#gallery_thumb {
  width: 1000%;
}
#gallery_thumb li {
  position: relative;
  float: left;
  width: 0.91%;
  padding-top: 0.91%;
  margin: 0 0.1% 0 0;
  opacity: 1.0;
  filter: alpha(opacity=100);
  cursor: pointer;
}
#gallery_thumb li:first-child {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
#gallery_thumb li:last-child {
  margin: 0;
}
#gallery_thumb li div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: contain;
}
#gallery_thumb .rec  div {
  vertical-align: middle;
  color: #fff;
  background: #444;
  text-align: center;
}
#gallery_thumb .rec div:before {
  content: "";
  width: auto;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}
#gallery_thumb .rec span {
  vertical-align: middle;
}

#carousel_area {
  position: relative;
  padding-top: 12%;
  overflow: hidden;
}
#pointer {
  width: 100%;
  margin: 5px auto 0;
  text-align: center;
}
#pointer li {
  display: inline-block;
  margin: 0 5px;
  font-size: 13px;
  color: #fff;
  opacity: 0.4;
  cursor: pointer;
}
#pointer .cur {
  opacity: 0.8;
}

#prev, #next {
  position: absolute;
  top: 0;
  width:30%;
  height: 100%;
  color: #fff;
  opacity: 0;
  cursor: pointer;
}
#prev img, #next img {
  position: absolute;
  top:48%;
  width: 28px;
}
#prev img {
  left:10px;
}
#next img {
  right: 10px;
}
#prev {
  left:0;
}
#next {
  right: 0;
}
#full {
  position: absolute;
  width: 28px;
  top: 10px;
  right: 10px;
  opacity: 0;
  cursor: pointer;
}


.clearfix:after {
  display:block;
  clear:both;
  height:0px;
  visibility:hidden;
  content:".";
}
.clearfix {
  min-height: 1px;
}
.googleMapCanvas {
  position: relative;
  width: 100%;
  height: 100%;
}
.glink, .routemap, .nogallery {
  position: relative;
  display:block;
}
.glink, .routemap {
  cursor: pointer;
}
.glink:before, .nogallery:before {
  content: url("../images/dummy.gif");
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}
.glink:after, .routemap:after {
  content: url("../images/zoom.png");
  width: 18px;
  height: 18px;
  padding: 6px;
  background: rgba(0,0,0,0.4);
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-block;
  pointer-events: none;
}
.half {
  width: 43.9%;
  margin: 5% 3% 2%;
  display: inline-block;
}
.lazyload, .lazyloading {
  opacity: 0;
}
.lazyloaded {
  opacity: 1;
  transition: opacity 200ms;
}