123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. @charset "UTF-8";
  2. .header {
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. height: 55px;
  8. padding: 0 10px;
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. z-index: 11;
  13. &:before {
  14. content: "";
  15. display: block;
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 100%;
  21. background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
  22. opacity: 0.7;
  23. }
  24. .nav {
  25. position: fixed;
  26. top: 0;
  27. left: -100%;
  28. width: 100%;
  29. height: 100%;
  30. background-color: $blue;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. z-index: 1;
  35. ul,li {
  36. padding: 0;
  37. list-style: none;
  38. }
  39. &__list {
  40. margin-top: -10%;
  41. }
  42. .close {
  43. position: absolute;
  44. top: 25px;
  45. right: 25px;
  46. width: 25px;
  47. height: 25px;
  48. opacity: 1;
  49. &__line {
  50. position: absolute;
  51. top: 50%;
  52. left: 0;
  53. width: 100%;
  54. height: 2px;
  55. border-radius: 2px;
  56. background-color: #fff;
  57. transform-origin: center center;
  58. &:nth-child(1) {
  59. transform: rotate(45deg);
  60. }
  61. &:nth-child(2) {
  62. transform: rotate(-45deg);
  63. }
  64. }
  65. }
  66. &__list {
  67. width: 100%;
  68. }
  69. &__item {
  70. position: relative;
  71. @include em(22);
  72. font-weight: 300;
  73. letter-spacing: 1px;
  74. &::before {
  75. content: "";
  76. display: block;
  77. position: absolute;
  78. bottom: 0;
  79. left: 50%;
  80. transform: translateX(-50%);
  81. width: 165px;
  82. height: 3px;
  83. background-color: rgba(#ECECEC,0.1);
  84. border-bottom: 1px dashed #FFFFFF;
  85. opacity: 0.45;
  86. }
  87. a {
  88. position: relative;
  89. display: block;
  90. padding: 15px 0;
  91. text-align: center;
  92. color: #fff;
  93. img {
  94. image-rendering: pixelated;
  95. }
  96. .beBold {
  97. font-weight: 500;
  98. }
  99. .highlight {
  100. color: #FFEFBE;
  101. }
  102. }
  103. &-index {
  104. width: 102px;
  105. height: auto;
  106. }
  107. &-gojustahour {
  108. width: 243px;
  109. height: auto;
  110. }
  111. }
  112. &__sublist {
  113. padding-left: 0;
  114. padding-bottom: 35px;
  115. }
  116. &__subitem {
  117. a {
  118. padding: 0;
  119. line-height: 1;
  120. margin-bottom: 35px;
  121. letter-spacing: 2px;
  122. font-weight: 400;
  123. span {
  124. font-weight: 700;
  125. }
  126. }
  127. &:last-child {
  128. a {
  129. margin-bottom: 0;
  130. }
  131. }
  132. }
  133. &__goindex {
  134. display: block;
  135. position: absolute;
  136. right: 30px;
  137. bottom: 30px;
  138. img {
  139. image-rendering: pixelated;
  140. image-rendering: -webkit-optimize-contrast;
  141. &:nth-child(1) {
  142. width: 16px;
  143. margin-right: 10px;
  144. }
  145. &:nth-child(2) {
  146. width: 102px;
  147. }
  148. }
  149. }
  150. }
  151. .hamburger {
  152. position: relative;
  153. width: 30px;
  154. height: 20px;
  155. left: 0;
  156. transition: left 0.3s;
  157. &__line {
  158. position: absolute;
  159. left: 0;
  160. width: 100%;
  161. height: 2px;
  162. background-color: #fff;
  163. border-radius: 2px;
  164. transition: 0.3s;
  165. &:nth-child(1) {
  166. transform-origin: left top;
  167. top: 0;
  168. }
  169. &:nth-child(2) {
  170. top: 10px;
  171. }
  172. &:nth-child(3) {
  173. top: 20px;
  174. transform-origin: left bottom;
  175. }
  176. }
  177. &.active {
  178. left: 15px;
  179. .hamburger__line {
  180. &:nth-child(1) {
  181. top: 2px;
  182. left: 50%;
  183. width: 50%;
  184. transform: rotate(30deg);
  185. }
  186. &:nth-child(3) {
  187. top: 18px;
  188. left: 50%;
  189. width: 50%;
  190. transform: rotate(-30deg);
  191. }
  192. }
  193. }
  194. }
  195. .logo {
  196. display: block;
  197. position: absolute;
  198. left: 50%;
  199. transform: translateX(-50%);
  200. width: 145px;
  201. height: auto;
  202. img {
  203. width: 100%;
  204. height: auto;
  205. image-rendering: pixelated;
  206. }
  207. }
  208. }