@media only screen and (min-width: 781px) {

header {
position: fixed;
box-shadow: 0 1px 5px 5px #eee;
-moz-box-shadow: 0 1px 5px 5px #eee;
-webkit-box-shadow: 0 1px 5px 5px #eee;
}

h1, nav li {
font-size: 14px;
}

h1, h2 {
margin-right: 3px;
}

h1, h2, nav li a {
line-height: 56px;
}

h1, h2, nav, nav ul {
display: inline;
}

nav {
z-index: 30;
}

nav li {
padding: 0 3px;
display: inline-block;
}

#menu h3 img, #location h3 img, #gallery h3 img, #contact h3 img {
margin-bottom: 25px;
}

#navToggle, .sp {
display: none;
}

#category {
height: 225px;
padding-top: 70px;
}

.l-c, .r-c {
width: 49%;
display: inline-block;
}

.l-c dl, .r-c dl {
min-height: 580px;
}

.l-c {
margin-right: 1%;
}

.r-c {
margin-left: 1%;
}

.r-c .scroll {
height: 350px;
overflow: scroll;
}

footer {
background: url(../img/common/bg-footer-deco.png) no-repeat 100% 10px;
}

/*home*/

#home table {
width: 49.5%;
display: inline-block;
}

#home td {
width: 24.5%;
}

/*gallery*/

.thumbs li {
width: 16%;
padding: 5px 2%;
}

}

/*gallery only mq*/
@media only screen and (min-width: 401px) and (max-width: 780px) {
.thumbs li {
width: 21%;
padding: 5px 2%;
}
}
@media only screen and (max-width: 400px) {
.thumbs li {
width: 42%;
padding: 5px 4%;
}
}

@media only screen and (max-width: 780px) {

#navToggle i {
line-height: 56px;
}

#navToggle {
left: 10px;
}

#navToggle, nav {
position: absolute;
}

nav {
top: 0;
right: 10px;
}

nav li {
display: inline-block;
}

nav li a {
padding: 0 3px;
line-height: 60px;
}

h1 {
font-size: 20px;
line-height: 60px;
}

nav li a {
font-size: 18px;
}

header {
height: 56px;
position: fixed;
top: 0;
right: 0;
left: 0;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}

header h1 a {
text-align: center;
padding-left: 0;
}

header h1 a, #navToggle, nav li {
display: block;
}

h2 {
display: none;
}

nav {position: relative;}

nav ul {
height: 100%;
overflow-y: auto;
}

nav li {
float: none;
}

nav li a {
padding: 0 25px;
line-height: 60px;
}

nav li a {
color: #9aa6af;
}

nav li a.active {
color: #fff;
background-color: #141e23;
}

nav li a:hover {
color: #fff;
background-color: #19252c;
}

nav li:first-child a.active, nav li:first-child a:hover {
border-radius: 20px 0 0 0;
}

#category {
padding: 30px 0;
}

.l-c, .r-c {
width: 100%;
}

.r-c {
margin-top: 50px;
}

.button {
margin: 5px 0;
display: inline-block;
}

.pc {
display: none;
}

/*home*/

#home table {
width: 100%;
}

#home td {
width: 50%;
}

/* nav annimation */

nav {
width: 93%;
height: 100%;
position: fixed;
left: 0;
top: 0;
margin: 0;
background-color: #1d2d35;
border-radius: 8px;
opacity: .3;
-webkit-transform: translate3d(5%,0,0)scale(.97);
-moz-transform: translate3d(5%,0,0)scale(.97);
transform: translate3d(5%,0,0)scale(.97);
}

nav.open {
opacity: 1;
-webkit-transform: translate3d(0,0,0)scale(1);
-webkit-animation: slideIn .35s ease-in-out;
-moz-transform: translate3d(0,0,0)scale(1);
-moz-animation: slideIn .35s ease-in-out;
transform: translate3d(0,0,0)scale(1);
animation: slideIn .35s ease-in-out;
}

@-webkit-keyframes slideIn {
0%       {opacity: .3;
-webkit-transform: translate3d(5%,0,0)scale(.97);}
100%  {opacity: 1;
-webkit-transform: translate3d(0,0,0)scale(1);}
}

@-moz-keyframes slideIn {
0%      {opacity: .3;
-moz-transform: translate3d(5%,0,0)scale(.97);}
100%  {opacity: 1;
-moz-transform: translate3d(0,0,0)scale(1);}
}

@keyframes slideIn {
0%      {opacity: .3;
transform: translate3d(5%,0,0)scale(.97);}
100%  {opacity: 1;
transform: translate3d(0,0,0)scale(1);}
}

nav.close {
opacity: .3;
-webkit-transform: translate3d(5%,0,0)scale(.97);
-webkit-animation: slideOut .3s ease-in-out;
-moz-transform: translate3d(5%,0,0)scale(.97);
-moz-animation: slideOut .3s ease-in-out;
transform: translate3d(5%,0,0)scale(.97);
animation: slideOut .3s ease-in-out;
}

@-webkit-keyframes slideOut {
0%      {opacity: 1;
-webkit-transform: translate3d(0,0,0)scale(1);}
100%  {opacity: .3;
-webkit-transform: translate3d(5%,0,0)scale(.97);}
}

@-moz-keyframes slideOut {
0%      {opacity: 1;
-moz-transform: translate3d(0,0,0)scale(1);}
100%  {opacity: .3;
-moz-transform: translate3d(5%,0,0)scale(.97);}
}

@keyframes slideOut {
0%      {opacity: 1;
transform: translate3d(0,0,0)scale(1);}
100%  {opacity: .3;
transform: translate3d(5%,0,0)scale(.97);}
}

#content {
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
z-index: 10;
}

header.open, #content.open {
-webkit-transform: translate3d(240px,0,0);
-webkit-animation: open .5s ease-in-out;
-moz-transform: translate3d(240px,0,0);
-moz-animation: open .5s ease-in-out;
transform: translate3d(240px,0,0);
animation: open .5s ease-in-out;
}

@-webkit-keyframes open {
0%      {-webkit-transform: translate3d(0,0,0);}
70%    {-webkit-transform: translate3d(260px,0,0);}
100%  {-webkit-transform: translate3d(240px,0,0);}
}

@-moz-keyframes open {
0%      {-moz-transform: translate3d(0,0,0);}
70%    {-moz-transform: translate3d(260px,0,0);}
100%  {-moz-transform: translate3d(240px,0,0);}
}

@keyframes open {
0%      {transform: translate3d(0,0,0);}
70%    {transform: translate3d(260px,0,0);}
100%  {transform: translate3d(240px,0,0);}
}

header.close, #content.close {
-webkit-transform: translate3d(0,0,0);
-webkit-animation: close .3s ease-in-out;
-moz-transform: translate3d(0,0,0);
-moz-animation: close .3s ease-in-out;
transform: translate3d(0,0,0);
animation: close .3s ease-in-out;
}

@-webkit-keyframes close {
0%      {-webkit-transform: translate3d(240px,0,0);}
100%  {-webkit-transform: translate3d(0,0,0);}
}

@-moz-keyframes close {
0%       {-moz-transform: translate3d(240px,0,0);}
100%  {-moz-transform: translate3d(0,0,0);}
}

@keyframes close {
0%       {transform: translate3d(240px,0,0);}
100%  {transform: translate3d(0,0,0);}
}

}