section1.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. // @import "./keyframe.scss";
  2. .section1 {
  3. display: -webkit-box;
  4. display: -ms-flexbox;
  5. display: flex;
  6. -webkit-box-orient: vertical;
  7. -webkit-box-direction: normal;
  8. -ms-flex-flow: column;
  9. flex-flow: column;
  10. -webkit-box-align: center;
  11. -ms-flex-align: center;
  12. align-items: center;
  13. -webkit-box-pack: center;
  14. -ms-flex-pack: center;
  15. justify-content: center;
  16. background: url(../img/webp/section1/bg.webp) no-repeat center/cover;
  17. }
  18. .section1 .logo,
  19. .section1 .title1,
  20. .section1 .section1-wwbox img,
  21. .section1 .section1-wwbox .title2,
  22. .section1 .txt1,
  23. .section1 .txt2,
  24. .section1 .txt3 {
  25. opacity: 0;
  26. }
  27. .section1 .logo {
  28. z-index: 1;
  29. width: 6rem;
  30. height: 6.375rem;
  31. margin-bottom: 1.5rem;
  32. display: block;
  33. background: url(/img/section1/logo.webp) no-repeat center/cover;
  34. }
  35. .section1 .title1 {
  36. z-index: 1;
  37. font-size: 0.8rem;
  38. color: #997946;
  39. letter-spacing: 0.5rem;
  40. -webkit-transform: translate3d(0, -3%, 0);
  41. transform: translate3d(0, -3%, 0);
  42. }
  43. .section1 .section1-wwbox {
  44. position: relative;
  45. height: min(44rem, 70vh);
  46. margin: -4rem 0 -6rem;
  47. text-align: center;
  48. -webkit-transform: translate3d(0, -3%, 0);
  49. transform: translate3d(0, -3%, 0);
  50. }
  51. .section1 .section1-wwbox img {
  52. z-index: 1;
  53. position: relative;
  54. max-width: 100%;
  55. max-height: 100%;
  56. }
  57. .section1 .section1-wwbox .title2 {
  58. z-index: 2;
  59. position: absolute;
  60. top: 0;
  61. left: 0;
  62. width: 100%;
  63. height: 100%;
  64. background: url(/img/section1/section1-title.webp) no-repeat center/contain;
  65. }
  66. .section1 .txt {
  67. text-align: center;
  68. }
  69. .section1 .txt1 {
  70. font-size: 2rem;
  71. color: #ebeae3;
  72. margin-bottom: 1rem;
  73. letter-spacing: 0.2rem;
  74. }
  75. .section1 .txt2 {
  76. font-size: 1.5rem;
  77. color: #d09d68;
  78. }
  79. .section1 .txt3 {
  80. font-size: 0.75rem;
  81. color: #d09d68;
  82. letter-spacing: 0.015rem;
  83. }
  84. .section1.active .logo,
  85. .section1.active .title1,
  86. .section1.active .txt1,
  87. .section1.active .txt2,
  88. .section1.active .txt3,
  89. .section1.down .logo,
  90. .section1.down .title1,
  91. .section1.down .txt1,
  92. .section1.down .txt2,
  93. .section1.down .txt3,
  94. .section1.up .logo,
  95. .section1.up .title1,
  96. .section1.up .txt1,
  97. .section1.up .txt2,
  98. .section1.up .txt3 {
  99. -webkit-animation: section1-fadeInUp 0.8s 0.5s forwards;
  100. animation: section1-fadeInUp 0.8s 0.5s forwards;
  101. }
  102. .section1.active .section1-wwbox img,
  103. .section1.down .section1-wwbox img,
  104. .section1.up .section1-wwbox img {
  105. -webkit-animation: section1-fadeInUp-little 1.5s 0.8s forwards;
  106. animation: section1-fadeInUp-little 1.5s 0.8s forwards;
  107. }
  108. .section1.active .section1-wwbox .title2,
  109. .section1.down .section1-wwbox .title2,
  110. .section1.up .section1-wwbox .title2 {
  111. -webkit-animation: section1-fadeIn 1.2s 1s forwards;
  112. animation: section1-fadeIn 1.2s 1s forwards;
  113. }
  114. .section1.active .title1,
  115. .section1.down .title1,
  116. .section1.up .title1 {
  117. -webkit-animation-delay: 0.6s;
  118. animation-delay: 0.6s;
  119. }
  120. .section1.active .txt1,
  121. .section1.down .txt1,
  122. .section1.up .txt1 {
  123. -webkit-animation-delay: 0.9s;
  124. animation-delay: 0.9s;
  125. }
  126. .section1.active .txt2,
  127. .section1.down .txt2,
  128. .section1.up .txt2 {
  129. -webkit-animation-delay: 1s;
  130. animation-delay: 1s;
  131. }
  132. .section1.active .txt3,
  133. .section1.down .txt3,
  134. .section1.up .txt3 {
  135. -webkit-animation-delay: 1.1s;
  136. animation-delay: 1.1s;
  137. }
  138. /*
  139. @-webkit-keyframes section1-fadeIn {
  140. 0% {
  141. opacity: 0.5;
  142. }
  143. to {
  144. opacity: 1;
  145. }
  146. }
  147. @keyframes section1-fadeIn {
  148. 0% {
  149. opacity: 0.5;
  150. }
  151. to {
  152. opacity: 1;
  153. }
  154. }
  155. @-webkit-keyframes section1-fadeInUp-little {
  156. 0% {
  157. opacity: 0.1;
  158. -webkit-transform: translateY(3%);
  159. transform: translateY(3%);
  160. }
  161. to {
  162. opacity: 1;
  163. -webkit-transform: translateY(0);
  164. transform: translateY(0);
  165. }
  166. }
  167. @keyframes section1-fadeInUp-little {
  168. 0% {
  169. opacity: 0.1;
  170. -webkit-transform: translateY(3%);
  171. transform: translateY(3%);
  172. }
  173. to {
  174. opacity: 1;
  175. -webkit-transform: translateY(0);
  176. transform: translateY(0);
  177. }
  178. }
  179. @-webkit-keyframes section1-fadeInUp {
  180. 0% {
  181. opacity: 0.5;
  182. -webkit-transform: translateY(10%);
  183. transform: translateY(10%);
  184. }
  185. to {
  186. opacity: 1;
  187. -webkit-transform: translateY(0);
  188. transform: translateY(0);
  189. }
  190. }
  191. @keyframes section1-fadeInUp {
  192. 0% {
  193. opacity: 0.5;
  194. -webkit-transform: translateY(10%);
  195. transform: translateY(10%);
  196. }
  197. to {
  198. opacity: 1;
  199. -webkit-transform: translateY(0);
  200. transform: translateY(0);
  201. }
  202. }
  203. @-webkit-keyframes section1-fadeInDown {
  204. 0% {
  205. opacity: 0.5;
  206. -webkit-transform: translateY(0);
  207. transform: translateY(0);
  208. }
  209. to {
  210. opacity: 1;
  211. -webkit-transform: translateY(10%);
  212. transform: translateY(10%);
  213. }
  214. }
  215. @keyframes section1-fadeInDown {
  216. 0% {
  217. opacity: 0.5;
  218. -webkit-transform: translateY(0);
  219. transform: translateY(0);
  220. }
  221. to {
  222. opacity: 1;
  223. -webkit-transform: translateY(10%);
  224. transform: translateY(10%);
  225. }
  226. } */
  227. /* .section2 {
  228. background: url(../img/webp/section2/bg.webp) no-repeat center/cover;
  229. line-height: 2;
  230. color: #997946;
  231. display: -webkit-box;
  232. display: -ms-flexbox;
  233. display: flex;
  234. -webkit-box-pack: center;
  235. -ms-flex-pack: center;
  236. justify-content: center;
  237. -webkit-box-align: center;
  238. -ms-flex-align: center;
  239. align-items: center;
  240. }
  241. .section2 ul li {
  242. position: relative;
  243. opacity: 0;
  244. }
  245. .section2 ul li h3,
  246. .section2 ul li p {
  247. font-size: 1.5rem;
  248. padding: 0 var(--wall-margin-left3);
  249. }
  250. .section2 ul li h3 {
  251. padding-top: 5.875rem;
  252. }
  253. .section2 ul li p {
  254. text-align: right;
  255. padding-bottom: 5.875rem;
  256. }
  257. .section2 ul li:first-child:after {
  258. content: "";
  259. position: absolute;
  260. width: 100%;
  261. height: 2px;
  262. bottom: 0;
  263. left: 0;
  264. background: url(../img/webp/section2/line.webp) no-repeat center/contain;
  265. }
  266. .section2.down ul li {
  267. opacity: 1;
  268. -webkit-animation: down-upout 1s ease-out 0.1s forwards;
  269. animation: down-upout 1s ease-out 0.1s forwards;
  270. }
  271. .section2.down ul li + li {
  272. -webkit-animation-delay: 0.3s;
  273. animation-delay: 0.3s;
  274. }
  275. .section2.active ul li {
  276. opacity: 0;
  277. -webkit-animation: activedown-upin 1s ease-out 0.3s forwards;
  278. animation: activedown-upin 1s ease-out 0.3s forwards;
  279. }
  280. .section2.active ul li + li {
  281. -webkit-animation-delay: 0.5s;
  282. animation-delay: 0.5s;
  283. }
  284. .section2.active.up ul li {
  285. opacity: 0;
  286. -webkit-animation: activeup-downin 1s ease-out 0.3s forwards;
  287. animation: activeup-downin 1s ease-out 0.3s forwards;
  288. }
  289. .section2.active.up ul li + li {
  290. -webkit-animation-delay: 0.5s;
  291. animation-delay: 0.5s;
  292. }
  293. .section2.up ul li {
  294. opacity: 1;
  295. -webkit-animation: up-downout 1s ease-out 0.3s forwards;
  296. animation: up-downout 1s ease-out 0.3s forwards;
  297. }
  298. .section2.up ul li + li {
  299. -webkit-animation-delay: 0.5s;
  300. animation-delay: 0.5s;
  301. } */
  302. .video_demo {
  303. position: absolute;
  304. z-index: 10;
  305. top: 0;
  306. left: 0;
  307. width: 100%;
  308. }
  309. .video_canvas {
  310. width: 100%;
  311. height: 100%;
  312. }
  313. .isMobile .section1 .section1-wwbox {
  314. height: 61vh;
  315. margin: 4vh 7vw -6vh;
  316. display: -webkit-box;
  317. display: -ms-flexbox;
  318. display: flex;
  319. -webkit-box-align: end;
  320. -ms-flex-align: end;
  321. align-items: flex-end;
  322. }
  323. .isMobile .section1 .logo {
  324. margin-top: -8vh;
  325. }
  326. .isMobile .section1 .title1 {
  327. font-size: 1.2rem;
  328. }
  329. .isMobile .section1 .title2 {
  330. background-position: top;
  331. background-size: 80% auto;
  332. background-image: url(/img/section1/section1-title-mobile.webp);
  333. }