body{
  background-color: #e6e6e6;
  color:#666161;
  font-family: "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN","Yu Gothic UI", "MS PGothic", sans-serif;
  margin: 0;
}

.header-logo{
  width:100%;
  text-align: center;
}
.header-logo img{
  width:300px;
  height: 220px;
  padding-top: 20px;
}
.header-logo a{
  color: #666161;
  text-decoration: none;
}
.header-logo a:hover{
  opacity: 0.5;
}
.header-logo p{
  text-align: center;
  margin: 0;
  letter-spacing: 3px;
  font-family: 'Merriweather', serif;
}
.name{
  font-size: 33px;
}
.header-nav ul{
  padding-left:0;
  margin:0 auto;
}
.main-nav li{
  list-style: none;
  text-align: center;
}
.nav-item a{
  color:#666161;
  text-decoration: none;
  display: block;
  padding: 0 5px 0 5px;
}
.main-nav li a:hover{
  background-color: #d3ccd6;
}

.breadcrumb{
  list-style: none;
  margin-left: 20px;
  margin-bottom: 50px;
}
.breadcrumb a{
  color: #E76868;
  text-decoration: none;
}
.breadcrumb a:hover{
  text-decoration: underline;
}
.breadcrumb li{
  display: inline-block;
  letter-spacing: 3px;
}
.breadcrumb li::after{
  content: ">";
  padding: 5px;
}
.breadcrumb li:last-child::after{
  content: none;
}

.title{
  border-top: 1px solid #666161;
  border-bottom: 1px dotted #666161;
  text-align: center;
  padding: 10px;
  font-family: 'Merriweather', serif;
  letter-spacing: 3px;
}
.title p{
  margin: 0;
}
.main-title{
  font-size: 25px;
}
.subtitle{
  font-size: 15px;
}
.contents1{
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 80px;
  padding-bottom: 40px;
}
.contents1::after{
    position: absolute;
    top: 10%;
    right: 0;
    left:0;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 80%;
    height: auto;
    content: "";
    background-color:  #d4dcd6;
    margin: 0 auto;
}
.contents1-businesscard{
  text-align: center;
}
.contents1-businesscard img{
  width: 380px;
  height: 230px;
}
 .contents1-content{
  text-align: center; 
  z-index: 1;
  }
.content-flexbox{
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.content-teacher{
  padding: 40px 0  50px 0;
}
.content-neko {
  padding: 0px 60px 30px 60px;
}
.content-teacher img{
 width: 180px;
 height: 180px;
 border-radius: 50%;
 margin-bottom: 10px;
}
.content-teacher p{
  width: 100px;
  margin: 0 auto;
}
.content-neko img{
 width: 150px;
 height: 150px;
 border-radius: 50%;
 margin-bottom: 10px;
}
.flex-box-text{
  background-color: #d69090;
  color:#fff;
  box-shadow: 10px 10px 10px rgba(0,0,0,0.4);
  border-radius: 5%;
  font-size: 15px;
  padding: 5px;
  width: 80%;
  margin: 0 auto;
}
.content-bottom{
  font-size: 15px;
  line-height: 50px;
}
.container{
  margin:130px 100px  150px 100px;
  background-color:#d4dcd6;
  background-size: cover;
  padding-bottom: 70px;
  position: relative;
  }
  .neko-icon{
    position: absolute;
    top: 73px;
    right: 70px;
  }
  .neko-icon img{
    width: 180px;
    height: auto;
   }
  .neko-icon2{
    position: absolute;
    top:-90px;
    left:-30;
  }
 
.container p{
  font-size: 25px;
  text-decoration: underline;
  text-align: center;
  padding-top: 50px;
  font-family: 'Merriweather', serif;
  color: #ffffff;
}
.container-inner{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  justify-content: center;
  text-align: center;
  flex: auto;
  position: relative;
}
.item {
  width: 17%;
  height: auto;
  margin: 50px 20px 0 20px;  
}

.item img{
  width:  100%;
  height: 100%;
}
.container-text{
  text-align: center;
  padding-bottom: 20px;
  background-color: #d4dcd6;
  margin: 30px 100px 0px 100px;
}
.contents3{
  background-color: #d4dcd6;
  padding: 80px 0 70px 0;
  position: relative;
}
.neko-icon3{
  position: absolute;
  top: 0px;
  left: 100px;
}
.neko-icon3 img{
  width: 180px;
  height: auto;
}
.neko-icon4{
  position: absolute;
  bottom: 60px;
  right: 20px;
}
.neko-icon4 img{
  width: 180px;
  height: auto;
}
.contents3-inner{
  width: 70%;
  margin: 0 auto;
  background-color: #ffffff;
  padding-bottom: 50px;
}
.contents3-inner-title{
  font-size: 30px;
  text-align: center;
  color: #c4ccc7;
  padding-top: 30px;
  font-family: 'Merriweather', serif;
}

.history{
 width: 80%;
 margin: 0 auto;
}
 .green{
  background-color: #d4dcd6;
  border-radius: 2px;
  white-space: nowrap;
  display: inline;
  padding: 5px;
}
.history td{
  margin-right: 10px;
}
.history tr{
  line-height: 50px;
}
.work{
  width: 80%;
  margin: 0 auto;
  font-size: 15px;
}
.work-text-box{
  padding-top:30px ;
}
 .work-text-box p{
   margin: 0;
 }
.text-box-title{
  background-color: #d69090;
  padding: 10px 0 10px 0;
  text-align: center;
  width: 100px;
}
.work-text-box-inner{
  width: 100%;
 border-top: 1px solid #666161;
 line-height: 50px;
 
}
.work-text-box-inner dl{
  line-height: 30px;
}
.work-text-box-inner dt{
  float: left;
  background-color: #d4dcd6;
  margin-bottom: 10px;
  padding: 0 3px 0 3px;
} 
.work-text-box-inner dd{
  padding:3px 0  3px 30px;
  margin-bottom: 10px;
}
.footer{
  width: 100%;
  height: 170px;
  margin: 0 auto;
  background-color: #afafb0;
  display: flex;
  }
  .footer-left{
    width: 30%;
    text-align: center;
    margin: 30px 10px 0 10px;
   }
  .footer-logo{
    display: flex;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    }
  .footer-logo__photo{
    padding-top: 17px;
  }
 .footer-logo__photo img{
  width: 100%;
  height: 50px;
}
 .address p{
   margin: 0;
   font-size: 14px;
 }
 .footer-text{
   margin-top:18px;
 }
 .footer-text p{
  margin:0;
 }
 .footer-text__main{
   font-size: 23px;
   letter-spacing: 5px;
   font-family: 'Merriweather', serif;
 }
 .footer-text__sub{
  font-size: 13px;
 }

  .footer-nav{
    width: 65%;
    margin : 50px auto auto auto;
  }
  .footer-nav ul{
   padding: 0;
  }
  .footer-nav-item {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
 .footer-nav-item li{
   list-style: none;
   margin: 0 10px 0 10px;
 }
 .footer-nav-item a{
   color:#666161;
   text-decoration: none;
   letter-spacing: 2px;
 }
 .footer-nav-item a:hover{
   text-decoration: underline;
   color:#504946;
 }
 .copy{
   background-color: #504946;
   color:white;
   max-width: 100%;
   height: 50px;
   line-height: 50px;
   text-align: center;
 }

 @media screen and (min-width: 901px){
  .main-nav{
   width: 90%;
   height: auto;
   display: flex;
   justify-content: center;
   padding-top: 50px;
   align-items: center;
  }
  .main-nav__left{
   border-left: 1px solid #666161;
 }
 .main-nav li{
   letter-spacing: 3px;
   border-right: 1px solid #666161;
   flex:1 0 auto;
 }
 .hamburger-text{
   display: none;
}
}
@media screen and (max-width: 900px) {
  html{
    font-size: 15px;
  }
 .header{
   width:100%;
   height:auto;
   margin:0;
   padding-bottom: 30px;
 }
  .header-inner{
    width: 100%;
    height: auto;
   position: relative; 
  }
  .header-logo{
    margin-top: 30px;
    width: 100%;
    height: auto;
  }
  .header-logo img{
   width: 50%;
   height: auto;
   margin: 0 auto;
 }
 .header-logo-text{
   font-size: 0.9em;
 }
 .name{
   font-size: 1.8em;
 }
  .header-nav{
   position: fixed;
   right: -320px;
   top:0;
   width: 300px;
   height: 100vh;
   padding-top: 60px;
   background-color: #e6e6e6;
   transition: all .6s;
   z-index:200;
   overflow-y: auto;
  }
  .main-nav{
    margin: 0;
    padding: 0;
  }
  .hamburger{
   position: absolute;
   right: 15px;
   top:8px;
   width: 40px;
   height: 40px;
   cursor:pointer;
   z-index: 300;
 }
 .nav-item{
   padding:0 14px;
 }
 .nav-item a{
   display: block;
   padding:10px 0;
   border-bottom: 1px solid #eee;
   text-decoration: none;
 }
 .nav-item a:hover{
   background-color: #eee;
 }
 .hamburger_border{
   position: absolute;
   left:11px;
   width: 18px;
   height: 2px;
   background-color: #333333;
   transition: all .6s;
 }
 .hamburger_border_top{
   top:14px;
 }
 .hamburger_border_center{
   top:20px;
 }
 .hamburger_border_bottom{
   top:26px;
 }
 .hamburger-text{
   position: absolute;
   left:6px;
   width: 18px;
   height: 2px;
   top:30px;
   font-size: 10px;
   transition: all .6s;
   font-family: 'Merriweather', serif;
 }
 .black_bg{
   position: fixed;
   left:0;
   top:0;
   width: 100vw;
   height: 100vh;
   z-index: 100;
   background-color: #333333;
   opacity: 0;
   visibility: hidden;
   transition: all .6s;
   cursor: pointer;
 }
 .nav-open .header-nav{
   right:0;
 }
 .nav-open .black_bg{
   opacity: .8;
   visibility: visible;
 }
 .nav-open .hamburger_border_top{
   transform: rotate(45deg);
   top:20px;
 }
 .nav-open .hamburger_border_center{
   width: 0;
   left:50%;
 }
 .nav-open .hamburger_border_bottom{
   transform: rotate(-45deg);
   top:20px;
 }
 .breadcrumb{
  width: 80%;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 20px;
}
.breadcrumb li{
  font-size: 0.8em;
  letter-spacing: 0;
}
.header{
  padding-bottom: 10px;
}
 .main-title{
   font-size: 1.3em;
 }
 .subtitle{
   font-size: 0.8em;
 }
 .contents1{
   margin-bottom: 100px;
 }
 .contents1::after{
   top: 3%;
   width: 100%;
   height: auto;
 }
 .contents1-businesscard{
   width: 70%;
   height: auto;
   margin: 0 auto;
 }
 
 .contents1-businesscard img{
   width: 80%;
   height: auto;
 }
 .content-flexbox{
   display: block;
 }
 .contents1-content{
   width: 100%;
   height: auto;
 }
 .content-teacher{
   margin-top: 0;
 }
 .content-neko p{
  width: 40%;
 }
 .content-bottom{
   width: 80%;
   height: auto;
   margin: 0 auto;
   text-align: left;
 }
 .container{
   width: 100%;
   height: auto;
   margin: 0 0 0 0;
 }
 .neko-icon img{
   display: none;
 }
 .neko-icon2{
   top: -5%;
 }
 .neko-icon2 img{
   width: 150px;
   height: auto;
 }
 .container{
   margin-bottom: 100px;
 }
 .container-inner{
   width: 90%;
   height: auto;
   margin: 0 auto;
   justify-content: space-around;
 }
  .item {
    width: 40%;
    height: auto;
    margin: 50px 0 0 0;
 }
 .item img{
   width: 100%;
   height:100%;
 }
 .container-text{
   width: 85%;
   padding: 40px 0 0 0; 
   margin: 0 auto;
 }
  .contents3-inner{
    width: 90%;
  }
  .neko-icon3 {
    top:-1px;
    left:0;
  }
  .neko-icon3 img{
    width: 150px;
    height: auto;
  }
  .neko-icon4{
    bottom: -1%;
    right: 0;
  }
  .neko-icon4 img{
    width: 150px;
    height: auto;
  }
  .history{
    width: 90%;
    border-bottom: none;
  }
  .history tr{
    line-height: 30px;
  }
  .work{
    width: 90%;
  }
  .work-text-box-inner{
    padding: 0;
  }
  .work-text-box-inner p{
    line-height: 40px;
  }
  .text-box-title{
    padding:5px 0 5px 0;
    width: 95px;
  }

  .footer{
    display: block;
    width: 100%;
    height: auto;
  }
  .footer-left{
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0;
  }
  .footer-logo{
     justify-content: center;
  }
  .footer-text__main{
    font-size: 1.2em;
  }
  .footer-text__sub{
    font-size: 0.9em;
  }
  .footer-logo__photo{
    width: auto;
    height: 4%;
    margin-left: 10px;
  }
  .footer-logo__photo img{
    width: 100%;
    height: 100%;
  }
  .address p{
    font-size: 0.9em;
  }
  .footer-nav{
    width: 100%;
    height: auto;
    margin-top:10px;
    margin-bottom: 0;
    padding-bottom: 20px;
  }
  .footer-nav-item{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    height: auto;
    margin: 0 auto;
  }
  .footer-nav-item li{
    padding: 0;
    flex:1 0 auto;
  }
  .footer-nav-item a{
    display: block;
    padding: 0;
    border-bottom: none;
    text-align: center;
    font-size: 0.9em;
  }
  .copy{
    font-size: 0.9em;
    width: 100%;
    height: auto;
    line-height: 30px;
  }
}