@charset "utf-8"; /* VAR */ /* ALL */ * { padding: 0; margin: 0; box-sizing: border-box; } body { width: 100%; font-family: sans-serif; } ul, li { list-style: none; } a, a:hover, a:link, a:active { text-decoration: none; color: black; } .wrap { width: 100%; margin: 0 auto; max-width: 1000px; } /* TOP */ .pageOne { height: 1280px; display: flex; flex-direction: column; } header { width: 100%; height: 80%; background: url('asset/mainImage.jpg') no-repeat center; background-size: 100% 100%; } .top { height: 10%; } .topTitleSection { height: 90%; } header .wrap { height: 100%; display: flex; } header .wrap .topLeft { width: 30%; } header .wrap .topLeft .logo img { width: 40%; height: 40%; } header .wrap .topRight { width: 70%; } header .wrap .topRight ul { height: 100%; display: flex; justify-content: space-around; align-items: center; } header .wrap .topRight ul li a { font-weight: 600; font-size: larger; padding: 20px; } header .wrap .topRight ul li a:hover { background-color: darkgray; opacity: 30%; border-radius: 10px; } .topTitleSection .wrap { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; position: relative; top: 100px; } .topTitleSection .wrap .mainTitle { font-size: 70px; font-weight: 600; border-bottom: 5px black solid; text-align: center; letter-spacing: 0.4rem; } .topTitleSection .wrap .subTitle { font-size: 35px; font-weight: 600; text-align: center; } .scroll { height: 20%; text-align: center; } .scroll .wrap { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } .directionMark { animation: mark 1s infinite; position: relative; bottom: 8px; font-weight: 600; } @keyframes mark { from{ } to { top: 8px; } }