main.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. @charset "UTF-8";
  2. @import 'reset';
  3. @import 'mixin';
  4. @import 'media';
  5. header{
  6. position: fixed;
  7. width: 100%;
  8. top: 0;
  9. left: 0;
  10. z-index: 10;
  11. background: #fff;
  12. .header--line--banner--wrap{
  13. background-image: url(../img/top_line_bg.svg);
  14. background-size: auto;
  15. background-repeat: no-repeat;
  16. background-position: left center;
  17. background-color: #2ECC71;
  18. width:100%;
  19. padding:0px;
  20. @include flex-center;
  21. overflow: hidden;
  22. transition: all linear .2s;
  23. height:100px;
  24. &.actv{
  25. padding:0px 0px;
  26. height:0px;
  27. &+.header--contents--wrap{
  28. .header--dim{
  29. top: 170px;
  30. }
  31. }
  32. }
  33. .inner--contents{
  34. width:100%;
  35. max-width: 1200px;
  36. display: flex;
  37. flex-direction: column;
  38. align-items: center;
  39. justify-content: center;
  40. position: relative;
  41. .close--btn{
  42. background: none;
  43. border: 0px;
  44. padding:0px;
  45. position: absolute;
  46. top: calc(50% - 15px);
  47. right:0px;
  48. }
  49. h3{
  50. color: #FFF;
  51. text-align: center;
  52. font-size: 20px;
  53. font-style: normal;
  54. font-weight: 700;
  55. margin-bottom: 10px;
  56. letter-spacing: -0.4px;
  57. }
  58. p{
  59. color: #FFF;
  60. font-size: 15px;
  61. letter-spacing: -0.3px;
  62. font-weight: 500;
  63. }
  64. }
  65. }
  66. .header--contents--wrap{
  67. width:100%;
  68. @include flex-center;
  69. min-height:80px;
  70. .hnb--wrap{
  71. @include flex-center;
  72. gap:10px;
  73. button{
  74. padding:0px;
  75. border:0px;
  76. background: none;
  77. width:30px;
  78. height:30px;
  79. @include flex-center;
  80. &.hmb--btn{
  81. display: none;
  82. }
  83. }
  84. }
  85. .header--contents{
  86. width:100%;
  87. display: flex;
  88. flex-direction: column;
  89. .header--logo--wrap{
  90. border-bottom: 1px solid #d9d9d9;
  91. .logo--wrap{
  92. height: 100px;
  93. align-items: center;
  94. margin: 0 auto;
  95. width: 100%;
  96. max-width:1200px;
  97. display: flex;
  98. justify-content: space-between;
  99. padding: 20px 0;
  100. .logo{
  101. width: 210px;
  102. height: 58px;
  103. a{
  104. display: inline-block;
  105. img{
  106. width: 100%;
  107. }
  108. }
  109. }
  110. .txt{
  111. display: flex;
  112. flex-direction: column;
  113. gap: 15px;
  114. justify-content: center;
  115. p{
  116. color: #000;
  117. font-size: 15px;
  118. font-weight: 300;
  119. letter-spacing: -0.15px;
  120. line-height: 1;
  121. span{
  122. color: #1aaf59;
  123. font-weight: 600;
  124. }
  125. &:last-child{
  126. font-size: 18px;
  127. span{
  128. font-weight: 700;
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }
  135. .header--gnb--wrap{
  136. .gnb--wrap{
  137. width: 100%;
  138. max-width: 1200px;
  139. margin: 0 auto;
  140. transition: left linear .2s;
  141. &.actv{
  142. >ul{
  143. li{
  144. >ul{
  145. display: block;
  146. top:52px;
  147. pointer-events: auto;
  148. transform: translateX(-50%) translateY(0px);
  149. opacity: 1;
  150. }
  151. }
  152. }
  153. }
  154. >ul{
  155. width: 100%;
  156. @include flex-center;
  157. li{
  158. width: 20%;
  159. position: relative;
  160. text-align: center;
  161. a{
  162. width: 100%;
  163. color: #000;
  164. font-size: 17px;
  165. height: 70px;
  166. display: inline-block;
  167. line-height: 70px;
  168. font-style: normal;
  169. font-weight: 600;
  170. letter-spacing: -0.34px;
  171. }
  172. ul{
  173. /*!2025-07-23 추가 */
  174. pointer-events: none;
  175. position: absolute;
  176. top:-500px;
  177. left:50%;
  178. opacity: 0;
  179. transform: translateX(-50%) translateY(-20px);
  180. transition: transform linear .2s, opacity linear .4s;
  181. background: transparent;
  182. padding:10px;
  183. z-index: 1000;
  184. li{
  185. padding:5px;
  186. a{
  187. color: #191919;
  188. font-size: 17px;
  189. font-style: normal;
  190. font-weight: 500;
  191. letter-spacing: -0.34px;
  192. white-space: nowrap;
  193. strong{
  194. color: #5D1BB8;
  195. font-size: 17px;
  196. font-style: normal;
  197. font-weight: 700;
  198. letter-spacing: -0.34px;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. }
  207. }
  208. }
  209. .header--wrap{
  210. position: relative;
  211. display: flex;
  212. align-items: center;
  213. justify-content: center;
  214. flex-direction: column;
  215. &:after{
  216. transition: all ease-in-out .3s;
  217. content: "";
  218. display: block;
  219. height:0px;
  220. width:100%;
  221. background: #fff;
  222. position: absolute;
  223. top: 166px;
  224. left:0px;
  225. border-top:1px solid #ebebeb;
  226. z-index: -1;
  227. }
  228. }
  229. }
  230. .header--dim{
  231. &.actv{
  232. display: block;
  233. height:300px;
  234. }
  235. display: none;
  236. width:100%;
  237. height: 0px;
  238. position: fixed;
  239. top:270px;
  240. left:0px;
  241. background:#fff;
  242. border-top:1px solid #eee;
  243. z-index: 900;
  244. }
  245. main{
  246. padding-top: 270px!important;
  247. &.actv{
  248. padding-top: 170px!important;
  249. }
  250. .main--visual--section{
  251. overflow: hidden;
  252. position: relative;
  253. .main--visual--wrap{
  254. width:100%;
  255. .main--visual--img{
  256. width:100%;
  257. overflow: hidden;
  258. height:500px;
  259. position: relative;
  260. img{
  261. position: absolute;
  262. left:50%;
  263. transform: translateX(-50%);
  264. }
  265. .main--visual--txt{
  266. position: absolute;
  267. width: 100%;
  268. left: 50%;
  269. transform: translateX(-50%);
  270. height: 100%;
  271. display: flex;
  272. align-items: center;
  273. justify-content: center;
  274. flex-direction: column;
  275. max-width: 1200px;
  276. gap: 40px;
  277. h3{
  278. color: #191919;
  279. font-size: 50px;
  280. font-weight: 700;
  281. }
  282. p{
  283. font-size: 18px;
  284. color: #191919;
  285. font-weight: 400;
  286. margin-bottom: 30px;
  287. }
  288. }
  289. }
  290. }
  291. .main--visual--pager{
  292. position: absolute;
  293. left:50%;
  294. transform: translateX(-50%);
  295. bottom:35px;
  296. z-index: 9;
  297. display: flex;
  298. justify-content: flex-end;
  299. align-items: center;
  300. width:100%;
  301. max-width:1200px;
  302. gap:11px;
  303. .prev--next--wrap{
  304. @include flex-center;
  305. gap:11px;
  306. button{
  307. @include flex-center;
  308. width: 50px;
  309. height: 50px;
  310. border-radius: 50px;
  311. border:0px;
  312. background: rgba(255, 255, 255, 0.80);
  313. backdrop-filter: blur(2px);
  314. }
  315. }
  316. .play--pause{
  317. @include flex-center;
  318. gap:11px;
  319. button{
  320. @include flex-center;
  321. width: 50px;
  322. height: 50px;
  323. border-radius: 50px;
  324. border:0px;
  325. background: rgba(255, 255, 255, 0.80);
  326. backdrop-filter: blur(2px);
  327. }
  328. }
  329. .main--visual--fraction{
  330. display: flex;
  331. align-items: center;
  332. justify-content: center;
  333. border-radius: 100px;
  334. background: rgba(255, 255, 255, 0.80);
  335. backdrop-filter: blur(2px);
  336. width:80px;
  337. height:50px;
  338. span{
  339. color: #737373;
  340. font-size: 16px;
  341. font-style: normal;
  342. letter-spacing: -0.32px;
  343. &.swiper-pagination-current{
  344. color:#333;
  345. font-weight: 500;
  346. }
  347. &.swiper-pagination-total{
  348. color: #737373;
  349. }
  350. }
  351. }
  352. .main--visual--pagination{
  353. display: flex;
  354. gap: 8px;
  355. align-items: center;
  356. justify-content: center;
  357. .swiper-pagination-bullet{
  358. width: 12px;
  359. height: 12px;
  360. border-radius: 50%;
  361. background: rgba(255, 255, 255, 0.5);
  362. border: none;
  363. cursor: pointer;
  364. transition: all 0.3s ease;
  365. &.swiper-pagination-bullet-active{
  366. background: #fff;
  367. transform: scale(1.2);
  368. }
  369. }
  370. }
  371. .main--visual--progress{
  372. display: flex;
  373. align-items: center;
  374. gap: 10px;
  375. .progress-bar{
  376. width: 100px;
  377. height: 4px;
  378. background: rgba(255, 255, 255, 0.3);
  379. border-radius: 2px;
  380. position: relative;
  381. overflow: hidden;
  382. }
  383. .progress-text{
  384. color: #fff;
  385. font-size: 14px;
  386. font-weight: 500;
  387. min-width: 30px;
  388. }
  389. }
  390. }
  391. }
  392. }