*:where(:not(iframe, canvas, img, svg, video):not(svg *)){all: unset;display: revert;}
*,*::before,*::after{box-sizing: border-box;}
ol, ul {list-style: none;}
img {max-width: 100%;}
table{border-collapse: collapse;}
li a {
    color: #000;
    text-decoration: none;

}
#wrapper  {
    position: relative;
    display: flex;
    width: 100vw;
    height: 100vh;
    background: url(../img/bg_img.jpg);
}
nav {
    position: relative;
    width: 30%;
}
.nail_wrap {
    width: 100%;
    filter: drop-shadow(5px 10px 3px rgba(0, 0, 0, .5));

}
.nail {
    width: auto;
    max-width: 100%;
    transform: rotate(-180deg);
    transform-origin:0 50% ;
    transition: 1s ease-out;
}
.nail.rotate {
    transform: rotate(0deg);
}
main {
    width: 70%;
}
section {
    position: relative;
    width: 100%;
    height: 100vh;
}
section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-left: 25vw solid transparent;
    border-bottom: 100vh solid transparent;
    transform: translateX(100%);
    transition: .5s;
    transition-delay: 1s;
}
.fp-tableCell {
    position: relative;
    height: 100vh!important;
    padding-left: 10vw;
    text-align: right;
}
section h1 {
    display: block;
    width: 80%;
    text-align: right;
}
section h1 img {
    max-width: 500px;
}
section h2 {
    width: 10em;
    padding: 0 1em;
    margin-bottom: 30px;
    border-bottom:1px solid;
}
section .table {
    display: table;
    margin: 0 10% 50px auto;
    width: 21em;
}
#about dl {
    display: table-row;
}
#about dt {
    display: table-cell;
    width: 25%;
    padding-right: 1em;
    text-align: right;
    border-right: 1px solid;
}
#about dd {
    display: table-cell;
    padding: 0 1em;
    text-align: left;
}
section a {
    color: #000;
    text-decoration: none;
}
#about .fp-tableCell p {
    margin-right: 10%;
    margin-bottom: 50px;
}
#about .fp-tableCell .map {
    width: 50%;
}
#menu .fp-tableCell img {
    height: 80%;
    padding: 0 5%;
}
.frame_wrap {
    padding: 0 10%;
    text-align: right;
}
#about::before {
    border-bottom-color: #edaa90;
    opacity: .5;
}
#menu::before {
    border-bottom-color: #a75c45;
    opacity: .5;
}
#garally::before {
    border-bottom-color: #883438;
    opacity: .5;
}
#staff::before {
    border-bottom-color: #f999ae;
    opacity: .5;
}
#blog::before {
    border-bottom-color: #571335;
    opacity: .5;
}

.active::before { 
    transform: translateX(0);
}
#top div p {
    text-align: right;
    width: 80%;
    margin-bottom: 50px;
}
#fp-nav.left {
    width: 30%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0!important;
}
#fp-nav ul {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 100%;
}
#fp-nav ul li, .fp-slidesNav ul li {
    position: absolute;
    width: 100%;
    height: 100%;
}
#fp-nav li:nth-child(1){
    transform: translate(70%,5%);
} 
#fp-nav li:nth-child(2){
    transform: translate(95%,20%);
} 
#fp-nav li:nth-child(3){
    transform: translate(100%,35%);
} 
#fp-nav li:nth-child(4){
    transform: translate(88%,50%);
} 
#fp-nav ul li a span {
    background: none;
}
#fp-nav ul li a ~ div {
    transition: .5s;
}
#fp-nav ul li a.active ~ div {
    font-size: xx-large;
}
#fp-nav ul li .fp-tooltip {
    color: #000;
    width: auto;
    opacity: 1;
}
#menu .fp-tableCell{
    display: flex;
    flex-flow: column;
    flex-wrap: wrap-reverse;
    justify-content: flex-end;
    padding-right: 20px;
}
#menu .fp-tableCell div {
    width: 25em;
}
#menu h3 {
    padding-top: 25px;
}
#menu dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 25px 2em;
    color: #fff;
}
#menu dt {
    width: 15em;
    text-align: left;
}
#menu dd {
    width: 4em;
}
.sp {
    display: none;
}
#insta ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    align-content: space-around;
    max-width: 1000px;
    height: calc(100vh - 68px);
}
#insta ul li {
    width: 30%;
    max-width: 30vh;
    padding: 10px;
}
#insta .link {
    display: inline-block;
    border-bottom: 1px solid #fff;
    padding: 0 1em;
    margin-right: 3vw;
    box-sizing: border-box;
}
#insta .link a {
    color: #fff;
    cursor: pointer;
}
#insta .link a img {
    display: inline-block;
    width: 1.5em;
    margin: 0 10px 0 auto;
    color: #FFF;
    vertical-align: text-bottom;
}
#insta .link a span {
    font-size: 1.5em;
}
#Scroll a {
    position: absolute;
    bottom: 10px;
    left: 50%;
    padding-top: 80px;
    color: #000;
    text-decoration: none;
  }

#Scroll a span {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
  }
#Scroll a span:nth-of-type(1) {
    bottom: 32px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
  }
#Scroll a span:nth-of-type(2) {
    bottom: 48px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
  }
#Scroll a span:nth-of-type(3) {
    bottom: 64px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
  }
@-webkit-keyframes sdb {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes sdb {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
@media screen and (max-width: 1300px) {
    #insta ul li {
        width: 30vh;
    }
    #insta ul li:nth-child(n + 7) {
        display: none;
    }
}
@media screen and (max-width: 940px) {
    section .table {
        width: auto!important;
    }
    #fp-nav ul {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }
    #fp-nav li {
        position: relative!important;
        height: 3em!important;
        transform: none!important;
    }
    #insta ul li {
        width: 30vh;
    }
    #insta ul li:nth-child(n + 4) {
        display: none;
    }
    #about .fp-tableCell .map {
        width: 100%;
    }
    #menu .fp-tableCell div {
        display: none;
    }
    #menu .fp-tableCell {
        display: block;
    }
    #menu .fp-tableCell img {
        height: 100%;
    }
    .sp {
        position: absolute;
        right: 0;
        display: block;
    }
    section::before {
        width: 125%;
    }
    #Scroll a {
        left: 7%;
    }
}