123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- @charset "UTF-8";
- .header {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 55px;
- padding: 0 10px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- z-index: 11;
- &:before {
- content: "";
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
- opacity: 0.7;
- }
- .nav {
- position: fixed;
- top: 0;
- left: -100%;
- width: 100%;
- height: 100%;
- background-color: $blue;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 1;
- ul,li {
- padding: 0;
- list-style: none;
- }
- &__list {
- margin-top: -10%;
- }
- .close {
- position: absolute;
- top: 25px;
- right: 25px;
- width: 25px;
- height: 25px;
- opacity: 1;
- &__line {
- position: absolute;
- top: 50%;
- left: 0;
- width: 100%;
- height: 2px;
- border-radius: 2px;
- background-color: #fff;
- transform-origin: center center;
- &:nth-child(1) {
- transform: rotate(45deg);
- }
- &:nth-child(2) {
- transform: rotate(-45deg);
- }
- }
- }
- &__list {
- width: 100%;
- }
- &__item {
- position: relative;
- @include em(22);
- font-weight: 300;
- letter-spacing: 1px;
- &::before {
- content: "";
- display: block;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 165px;
- height: 3px;
- background-color: rgba(#ECECEC,0.1);
- border-bottom: 1px dashed #FFFFFF;
- opacity: 0.45;
- }
- a {
- position: relative;
- display: block;
- padding: 15px 0;
- text-align: center;
- color: #fff;
- img {
- image-rendering: pixelated;
- }
- .beBold {
- font-weight: 500;
- }
- .highlight {
- color: #FFEFBE;
- }
- }
- &-index {
- width: 102px;
- height: auto;
- }
- &-gojustahour {
- width: 243px;
- height: auto;
- }
- }
- &__sublist {
- padding-left: 0;
- padding-bottom: 35px;
- }
- &__subitem {
- a {
- padding: 0;
- line-height: 1;
- margin-bottom: 35px;
- letter-spacing: 2px;
- font-weight: 400;
- span {
- font-weight: 700;
- }
- }
- &:last-child {
- a {
- margin-bottom: 0;
- }
- }
- }
- &__goindex {
- display: block;
- position: absolute;
- right: 30px;
- bottom: 30px;
- img {
- image-rendering: pixelated;
- image-rendering: -webkit-optimize-contrast;
- &:nth-child(1) {
- width: 16px;
- margin-right: 10px;
- }
- &:nth-child(2) {
- width: 102px;
- }
- }
- }
- }
- .hamburger {
- position: relative;
- width: 30px;
- height: 20px;
- left: 0;
- transition: left 0.3s;
- &__line {
- position: absolute;
- left: 0;
- width: 100%;
- height: 2px;
- background-color: #fff;
- border-radius: 2px;
- transition: 0.3s;
- &:nth-child(1) {
- transform-origin: left top;
- top: 0;
- }
- &:nth-child(2) {
- top: 10px;
- }
- &:nth-child(3) {
- top: 20px;
- transform-origin: left bottom;
- }
- }
- &.active {
- left: 15px;
- .hamburger__line {
- &:nth-child(1) {
- top: 2px;
- left: 50%;
- width: 50%;
- transform: rotate(30deg);
- }
- &:nth-child(3) {
- top: 18px;
- left: 50%;
- width: 50%;
- transform: rotate(-30deg);
- }
- }
- }
- }
- .logo {
- display: block;
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- width: 145px;
- height: auto;
- img {
- width: 100%;
- height: auto;
- image-rendering: pixelated;
- }
- }
- }
|