/*
Theme Name: original
Theme URI: xxxxx
Description: 
Version: 1.0
Author: kawaguchi
Author URI: kawaguchi
*/


/* Reset
------------------------------------------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,textarea,p,th,td,select,header,nav,section,footer {
  margin: 0;
  padding: 0;
  color: #696969;
  line-height: 1.6;
  word-wrap: break-word;
  box-sizing: border-box;
}

address,em,i {
  font-style: normal;
}
strong,th,b {
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: none;
}
h1,h2,h3,h4,h5,h6 p a{
  font-size: 100%;
  font-weight: normal;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
img {
  border: 0;
  /*width: 100%;*/
  vertical-align: top;
  max-width: 100%;
  margin-top: 5%;
}
li {
  /* list-style-type: none; */
  /* width: 33%; */
}
small{
  font-size: 100%;
}
iframe {
  border: 0;
}


/* header
------------------------------------------------------------*/
.img_repeat{
    background: url(img/img_border.png);
    background-position: top;
    background-repeat: repeat-x;
    width: 100%;
    margin-bottom: 70px;
    margin: auto;
    height: 31px;
}

.h1{
  text-decoration: none;
}

.h1:hover{
  opacity: 0.5;
}

h1{
    font-size: 32px;
    text-align: center;
    padding: 2% 0;
    font-weight: bold;
    letter-spacing: 20px;
}
.header_fix{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: double 3px silver;
    border-top: double 3px silver;
    margin: 1.5rem 2%;
}


/* nav
------------------------------------------------------------*/

.sub-menu {
  display: none;
}


.menu-item-has-children:hover .sub-menu {
  display: block;
}

.menu {
  text-align: center;
}


.menu > .menu-item {
  display: inline-block;
  padding: .5em .3em;
}


.menu-item {
  list-style-type: none;
}


.menu-item-has-children {
  position: relative;
}


.menu-item-has-children:hover {
  cursor: pointer;
}


.menu-item-has-children:hover .sub-menu {
  display: block;
}


.sub-menu {
  display: none;
  position: none;
  top: 100%;
  left: 0;
  width: 200px;
  background: white;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  padding: 0;
  z-index: 1;
}


.sub-menu > .menu-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}


.sub-menu > .menu-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: .5em 0;
}


.sub-menu > .menu-item a:hover {
  background: black;
  color: white;
}

@media only screen and (max-width: 480px){
  nav{
    display: none;
  }
}

@media only screen and (max-width: 480px){
  .menu{
    flex-direction: column;
  }
  
}

a{
  text-decoration: none;
  color: #696969;
  font-weight: bold;
}
a:hover{opacity: 0.8;}

.menu{
  display: flex;
  justify-content: space-around;
}
/*
nav .ul li{
  display: inline;
  padding: 1%;
}

.menu-item:hover{
  opacity: 0.3;
}

nav .ul li a{
    text-decoration: none;
    color: #726969;
    font-weight: bold;
    /* font-size: 2vw; 
}


/*top main
------------------------------------------------------------*/

main{
    margin: 0 auto;
    padding-top: 175px;
}

@media only screen and (max-width: 480px){
  main{
  }
  .sub-menu {
    display: block;
    position: relative;
    width: 100%;
    box-shadow: none;
    border-top: solid 1px #707070;
  }
  .sub-menu{
    background: none;
}
.sub-menu > .menu-item:not(:last-child){
  border: none;
}
.header_fix{
  justify-content: space-between;
}

}

@media only screen and (max-width: 1280px){
  main{
    width: 100%;
  }
}

/*index php
------------------------------------------------------------*/
main .img{}

main .img .wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

main .img .wrapper a{display: block;width: 320px;height: 320px;}

main .img .wrapper .background{
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 320px;
  height: 320px;
  margin: 2%;
}

@media only screen and (max-width: 1090px){
main .img .wrapper .background{
  }
}

.textbox{
  position: relative;
  opacity: 0;
  bottom: 326px;
  left: 6px;
}

.textbox:hover{
  opacity: 1;
}

.textbox .text{
    position: absolute;
    top: 200px;
    width: 250px;
    margin-left: 10%;
}

.textbox .text p{
    color: #fff;
}

 .textbox .title{
    position: absolute;
    top: 270px;
    margin: 0 10%;
}

.textbox .title h2{
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.textbox .mask{
    background: #000000b5;
    height: 320px;
    width: 322px;
}

/*single php
------------------------------------------------------------*/
.post{
    background: #f0f0f0;
}
.post a{
        color: #07e2ec;
       font-size: 18px;
}

.post a:hover{
  opacity: 0.5;
  text-decoration:none;
}

.detail{
    padding: 3%;
}

.detail .article{
    text-align: center;
}

.detail p{
    width: 90%;
    margin: 0 auto;
    text-align: start;
}

/*h2
------------------------------------------------------------*/
.midashi{
    margin: 3%;
    font-size: 24px;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 20px;
    border-bottom: double 3px silver;
    border-top: double 3px silver;
}

@media only screen and (max-width: 980px){
  .midashi{
  text-indent:1em;
  }
}

@media only screen and (max-width: 480px){
  .midashi{

margin-top: 15%;
}
}

/*h3
------------------------------------------------------------*/
h3{
    margin: 10%;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 10px;
    border-bottom: double 3px silver;
    border-top: double 3px silver;
}



/* next
------------------------------------------------------------*/
.next{
  text-align: center;
}

.next a{
   text-decoration: none;
   color: #696969;
   font-weight: bold;
  }

.next a:hover{
  opacity: 0.5;
}

/* footer
------------------------------------------------------------*/
footer{
  background: url(img/img_border.png);
  background-position: top;
  background-repeat: repeat-x;
  padding: 30px;
  margin: auto;
}
footer p{
  text-align: center;
  margin-top: 20px;
}

@media only screen and (max-width: 1280px){
  footer{
    width: 100%;
  }
}


header {position: fixed;background: #fff;width: 100%;z-index: 1;}

/* hanberger
------------------------------------------------------------*/

#nav-drawer {padding-left: 4%;}


.nav-unshown {
  display:none;
}


#nav-open {
  display: block;
  width: 30px;
  height: 22px;
  margin-top: 5%;
}


@media screen and (min-width:480px) {
  #nav-open {
    display:none;
  }
}


#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}


#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: black; */
  opacity: 0;
  transition: .3s ease-in-out;
}


#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 70%;
  max-width: 330px;
  height: 100%;
  background: #ffffff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}

#nav-content a{
    text-align: center;
    text-decoration: none;
    display: block;
    color: #707070;
    padding-top: 10%;
    margin-top: 10%;
}


#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}



