@charset "UTF-8";

/*全体に適用*/
html{
    font-family: serif;
}
html *{
    box-sizing: border-box;
}
body{
    background-image: url(images/haikei.jpg);
    margin: 0 auto;
    max-width: 768px;
}
img{
    max-width: 100%;
    height: auto;
}
.small{
    font-size: 12px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/*ロゴに適用*/
.logo{
    margin: 100px 0 0 0;
    text-align: center;
    font-size: 22px;
}

/*最初のページに適用*/
#top h1{
    margin: 16px 0 0 0;
}
.topnav{
    position: relative;
}
.icon{
    position: absolute;
    right: 90px;
    margin: 0;
    float: left;
}
.icon2{
    margin: 0 8px;
}
/*ハンバーガメニューここから*/
.hamburger{
    position: absolute;
    right: 25px; 
    top: 25px; 
}
/*クリック前の3本線*/
.nav_toggle {
    display: block;
    position: relative;
    width: 50px;
    height: 40px;
    }
.nav_toggle i {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #000000;
    position: absolute;
    transition: transform .5s, opacity .5s;
    z-index: 30;/*画像、ナビよりも上に表示*/
    }
.nav_toggle i:nth-child(1) {
    top: 0;
    }
.nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    }
.nav_toggle i:nth-child(3) {
    bottom: 0;
    }
/*クリック後の3本線*/
.nav_toggle.show i:nth-child(1) {
    transform: translateY(18px) rotate(-45deg);
    }
.nav_toggle.show i:nth-child(2) {
    opacity: 0;
    }  
.nav_toggle.show i:nth-child(3) {
    transform: translateY(-18px) rotate(45deg);
    }
/*クリック前のメニュー位置(メニューを隠す)*/
.nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 250px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    }
/*クリック後、隠していたメニューを表示する*/
.nav.show {
    opacity: 1;
    visibility: visible;
    background-color: #460012;
    opacity: 0.8;
    z-index: 20;/*写真よりも上に表示*/
    }
/*文字*/
.nav_menu_ul {
    display: block;
    color: #d6e7f7;
    margin: 0;
    padding-left: 20px;
}
.nav_menu_ul a:link{
    color: #d6e7f7;
    text-decoration: none;
}
.nav_menu_ul a:visited{
    color: #d6e7f7;
    text-decoration: none;
}
.nav_menu_ul li{
    padding-top: 16px;
}
/*ハンバーガメニューここまで*/

.slide {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    height: 500px;
    margin: auto;
    z-index: 10;/*ナビより下に表示*/
    clear: both;
    margin-top: 100px;
  }
  .slide img {
    display: block;
    position: absolute;
    width: inherit;
    height: inherit;
    opacity: 0;
    animation: slideanime 25s ease infinite;
  }
  .slide img:nth-of-type(1) {animation-delay: 0s;}
  .slide img:nth-of-type(2) {animation-delay: 5s;}
  .slide img:nth-of-type(3) {animation-delay: 10s;}
  .slide img:nth-of-type(4) {animation-delay: 15s;}
  .slide img:nth-of-type(5) {animation-delay: 20s;}
   
  @keyframes slideanime{
    0% { opacity: 0 }
    10% { opacity: 1 }
    20% { opacity: 1 }
    30% { opacity: 0 }
    100% { opacity: 0 }
  }

/*MENUに適用*/
.menulist{
    border-collapse: collapse;
    margin: 0 auto;
}
.price{
    vertical-align: bottom;
}
.menulist td{
    text-align: left;
    padding: 0 24px 0 0;
    line-height: 1;
}
.menu td, .menu2 td{
    border-bottom: 2px dotted #c0c0c0;
    padding: 0;
}
.menu td, .menu1 td{
    padding: 32px 0 0 0; 
}
.menulist strong{
    font-size: 24px;
}
/*staffに適用*/
.staff1{
    text-align: center;
}
.staff-photo{
    max-width: 350px;
    height: auto;
}
.staff1 h3{
    font-size: 24px;
    margin: 0;
    line-height: 1;
}
.passage{
    margin-top: 16px;
}
.passage p{
    text-align: left;
    line-height: 1.6;
    margin: 0 60px;
}
.staff1 h4{
    font-size: 22px;
}
.career table{
    border-collapse: collapse;
    margin: 0 auto
}
.career td{
    text-align: left;
}
.hobby li{
    list-style: none;
    padding: 0 32px 0 0;
    display: block;
    font-size: 18px;
}
.hobby p{
    font-size: 12px;
}

/*accessに適用*/
.map{
    position:relative;
    width: 95%;
    height:0;
    padding-top:70%;
}
.map iframe{
    position:absolute;
    top:0;
    left: 2.5%;
    width:100%;
    height:100%;
}
.address{
    text-align: right;
    margin: 8px 16px 0 0;
}
/*contactに適用*/
#contact{
    text-align: center;
}
#contact h3{
    font-size: 24px;
}
.linebutton:hover{
    filter: brightness(0.8);
}
.linebutton:active{
    filter: brightness(0.6);
}
.telbutton:hover{
    filter: brightness(0.8);
}
.telbutton:active{
    filter: brightness(0.6);
}
.return{
    text-align: right;
    margin-right: 50px;
    margin-top: 80px;
}

/*最後のページに適用*/
.endp{
    background-color: #460012;
}
.info{
    color: #d6e7f7;
    margin-left: 50px;
    margin-top: 50px;
}
.info ul, .endnav ul{
    padding: 0;
    margin: 8px 0 0 0;
}
.info li{
    display: block;
    list-style: none;
    font-size: 24px;
}
.tel{
    font-size: 40px;
}
.tel:link{
    color: #d6e7f7;
    text-decoration: none;
}
.endnav{
    margin-top: 50px;
    margin-left: 60px;
}
.endnav li{
    display: block;
    list-style: none;
    text-align: left;
    padding-top: 1.5em;
    font-size: 24px;
}
.endnav a:link{
    color: #d6e7f7;
    text-decoration: none;
}
.endnav a:visited{
    color: #d6e7f7;
    text-decoration: none;
}
.instgram{
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0;
    padding-bottom: 60px;
}
.copyright{
    color: #460012;
    margin: 0;
    font-size: 12px;
    text-align: center;
}



/*タブレット用(767px以下で適用)*/
@media(max-width:767px){
    .wrapper{
        margin: 0 8px
    }
    .slide {
        width: 90vw;
        height: calc(90vw * 0.714);
    }
      .staff-photo{
        max-width: 80vw;
        height: auto;
    }
}
/*スマートフォン用(469px以下で適用)*/
@media(max-width:469px){
    .wrapper{
        margin: 0 4px
    }
    .staff-photo{
        max-width: 80vw;
        height: auto;
        text-align: center;
    }
    .passage p{
        text-align: left;
        line-height: 1.6;
        margin: 0 20px;
    }
    .icon{
        margin-top: 8px;
    }
    .icon img{
        width: 70px;
        height: auto;
    }
    .return{
        margin-right: 16px;
        margin-top: 32px;        
    }
    .return img{
        width: 70px;
        height: auto;
    }
    #contact h3{
        font-size: 16px;
    }
    .info{
        margin-top: 16px;
        margin-left: 16px;
    }
    .endnav{
        margin-top: 16px;
        margin-left: 24px;
    }
    .info li, .endnav li{
        font-size: 16px;
    }
    .tel{
        font-size: 24px;
    }
    .tel img{
        width: 30px;
        height: auto;
    }
    .instgram{
        margin-top: 50px;
        padding-bottom: 30px;
    }
    .instgram img{
        width: 70px;
        height: auto;  
    }
   

}


