/* 1.0 Initial Setup*/

* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family:  "Zen Maru Gothic", serif;
  color:#C55D0C;
  text-shadow: 5px 5px 10px rgb(190, 164, 164);
}


.njp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.njps {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.hm {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}


.zkg {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zmg {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.ys {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .header-right {
    float: none;
  }


}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.npnav {
  text-decoration:none; 
  color:#C55D0C;
  font-size: large; 
  font-weight: bold;
}

.logo {
  width: 25px; 
  height: 25px; 
  border-radius:25px; 
  box-shadow: none;


}

/**************************************************/

/* 2.0 Template */

.top-container {
  background-color: #f1f1f1;
  text-align: center;

}

.header {
  padding: 10px 16px;
  background: #555;
  color: #f1f1f1;
  z-index: 1;

  
}

.content {
  padding: 16px;
  text-align: center;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 102px;
}

/* 2.0 Navigation */

.topnav {
  overflow: hidden;
  text-shadow: none;

}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #C55D0C;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:nth-child(-n+4)) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;


    
  }


}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.responsive {
  width: 100%;
  height: auto;
}

/* 3.0 content*/

.video-mask{
  width: 100%;
  box-shadow: 5px 5px 10px rgb(190, 164, 164);
  border-radius: 25px; 
  overflow: hidden; 
}

.heading {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  border-radius: 25px; 
  margin-left: 30%; 
  margin-right: 30%;

}


/* 3.0 slide show */
.mySlides {display: none}
img {vertical-align: middle;box-shadow: 5px 5px 10px rgb(190, 164, 164);}

/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;

}

/* Next & previous buttons */
.prev, .next {
background-color: #717171;
opacity: 0.7;
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}

/* Position the "next button" to the right */
.prev {
left: 0;
border-radius: 0px 25px 25px 0px;
}

.next {
right: 0;
border-radius: 25px 0 0 25px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
color: white;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
background-color: #717171;
border-radius: 0 0 15px 15px;
opacity: 0.7;
}

/* Number text (1/3 etc) */
.numbertext {
color: white;
background-color: #717171;
border-radius: 25px;
opacity: 0.7;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 15px;
left: 15px;
}

/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}

@keyframes fade {
from {opacity: .4} 
to {opacity: 1}
}


/* 4.0  Gallery */

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex:33%; /* IE10 */
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  border-radius: 25px;
  
}

.caption {
  font-size: 10px;
  text-align: center;

}