style.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /* 共通樣式 */
  2. :root {
  3. --main-color: #005bac;
  4. --sub-color: #00b9ef;
  5. }
  6. * {
  7. letter-spacing: 1px;
  8. font-weight: 300;
  9. font-family: "Noto Sans TC", sans-serif !important;
  10. }
  11. .navbar {
  12. box-shadow: 1px 1px 10px #ccc;
  13. .navbar-collapse {
  14. flex-grow: 0;
  15. }
  16. }
  17. p,
  18. li {
  19. line-height: 32px;
  20. }
  21. ul {
  22. list-style: none;
  23. }
  24. img {
  25. width: 100%;
  26. height: auto;
  27. }
  28. .navbar {
  29. position: fixed;
  30. right: 0;
  31. left: 0;
  32. top: 0;
  33. z-index: 1000;
  34. .navbar-nav {
  35. li {
  36. margin: 0 3px;
  37. }
  38. }
  39. }
  40. #all {
  41. overflow: hidden;
  42. }
  43. .logo {
  44. position: absolute;
  45. width: 220px;
  46. top: 5px;
  47. left: 5px;
  48. @media (max-width: 991px) {
  49. top: 0px;
  50. }
  51. }
  52. .title {
  53. font-size: 36px;
  54. text-align: center;
  55. color: var(--main-color);
  56. }
  57. .sub-title {
  58. display: block;
  59. margin: 20px auto 80px;
  60. text-align: center;
  61. color: #64646c;
  62. font-weight: 300;
  63. }
  64. #about,
  65. #service,
  66. #returns,
  67. #recruit {
  68. padding: 100px 0;
  69. }
  70. .click-btn {
  71. margin-top: 50px;
  72. display: flex;
  73. justify-content: center;
  74. a {
  75. position: relative;
  76. padding: 15px 40px;
  77. text-decoration: none;
  78. border-radius: 100px;
  79. box-shadow: 3px 5px 12px #ccc;
  80. background-image: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%);
  81. &::before {
  82. position: absolute;
  83. content: "";
  84. inset: 0;
  85. border-radius: 100px;
  86. background-image: linear-gradient(20deg, var(--main-color) 95%, var(--sub-color) 75%);
  87. opacity: 0;
  88. transition: opacity 0.3s linear;
  89. }
  90. &:hover::before {
  91. opacity: 1;
  92. }
  93. img {
  94. position: absolute;
  95. width: 35px;
  96. bottom: -10px;
  97. right: -5px;
  98. }
  99. span {
  100. position: relative;
  101. z-index: 100;
  102. color: #fff;
  103. font-size: 18px;
  104. font-weight: 500;
  105. letter-spacing: 3px;
  106. }
  107. }
  108. }
  109. .service-btn {
  110. width: 160px;
  111. display: block;
  112. margin: 20px auto;
  113. padding: 15px 20px;
  114. font-size: 18px;
  115. border-radius: 100px;
  116. text-align: center;
  117. text-decoration: none;
  118. color: var(--main-color);
  119. border: 2px solid var(--main-color);
  120. transition: all .3s;
  121. &:hover {
  122. opacity: .8;
  123. }
  124. }
  125. /* header Start */
  126. #header {
  127. h2 {
  128. font-size: 36px;
  129. font-weight: 500;
  130. @media (max-width: 1200px) {
  131. font-size: 32px;
  132. }
  133. @media (max-width: 991px) {
  134. font-size: 28px;
  135. }
  136. }
  137. p {
  138. font-size: 18px;
  139. }
  140. a {
  141. display: inline-block;
  142. color: #fff;
  143. margin-top: 50px;
  144. padding: 15px 45px;
  145. font-weight: 400;
  146. border: none;
  147. border-radius: 100px;
  148. box-shadow: 3px 5px 12px #ccc;
  149. background: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%);
  150. transition: all 0.3s;
  151. text-decoration: none;
  152. &:hover {
  153. transform: translate(0px, -5px);
  154. }
  155. }
  156. section {
  157. padding: 30px 60px;
  158. display: inline-block;
  159. border-radius: 10px;
  160. border: 1px solid #ccc;
  161. line-height: 26px;
  162. }
  163. strong {
  164. font-size: 30px;
  165. font-weight: 700;
  166. margin-bottom: 15px;
  167. display: inline-block;
  168. }
  169. .line {
  170. margin-left: 20px;
  171. &::after {
  172. content: "";
  173. display: inline-block;
  174. width: 50px;
  175. height: 2px;
  176. background: #000;
  177. position: relative;
  178. top: -10px;
  179. left: -17px;
  180. margin-right: -10px;
  181. }
  182. }
  183. }
  184. /* header End */
  185. /* about Start */
  186. #about {
  187. margin-top: 50px;
  188. background-color: #f8f9fa;
  189. h4 {
  190. font-size: 26px;
  191. font-weight: 500;
  192. margin-bottom: 20px;
  193. }
  194. }
  195. /* about End */
  196. /* service Start */
  197. #service {
  198. h4 {
  199. padding: 8px 28px;
  200. margin-bottom: 20px;
  201. display: inline-block;
  202. color: #fff;
  203. font-size: 20px;
  204. font-weight: 500;
  205. border-radius: 10px;
  206. background: var(--sub-color);
  207. }
  208. h5 {
  209. line-height: 32px;
  210. }
  211. ul {
  212. li {
  213. img {
  214. width: 18px;
  215. margin-bottom: -3px;
  216. }
  217. }
  218. }
  219. }
  220. /* service End */
  221. /* returns Start */
  222. #returns {
  223. background-color: #f8f9fa;
  224. section {
  225. display: flex;
  226. flex-direction: column;
  227. align-items: center;
  228. h5 {
  229. margin: auto;
  230. padding: 10px 20px;
  231. display: inline-block;
  232. color: #fff;
  233. text-align: center;
  234. border-radius: 10px;
  235. background: var(--sub-color);
  236. }
  237. small {
  238. margin: 15px 0;
  239. color: #64646c;
  240. }
  241. }
  242. }
  243. /* returns End */
  244. /* footer Start */
  245. #recruit {
  246. h4 {
  247. font-size: 20px;
  248. margin-bottom: 5px;
  249. }
  250. li {
  251. margin: 30px 0;
  252. }
  253. .arrow {
  254. width: 20px;
  255. object-fit: contain;
  256. margin-right: 10px;
  257. }
  258. }
  259. /* returns End */
  260. /* footer Start */
  261. .footer {
  262. color: var(--main-color);
  263. background: #eeeded;
  264. h2 {
  265. font-size: 28px;
  266. }
  267. ul {
  268. li {
  269. margin: 15px 0;
  270. a {
  271. padding-bottom: 3px;
  272. transition: border-color 0.5s ease;
  273. text-decoration: none;
  274. color: var(--main-color);
  275. border-bottom: 1px solid transparent;
  276. &:hover {
  277. border-bottom: 1px solid var(--main-color);
  278. }
  279. }
  280. }
  281. }
  282. h3 {
  283. padding: 15px 0;
  284. margin-bottom: 0;
  285. color: #fff;
  286. font-size: 16px;
  287. font-weight: 300;
  288. text-align: center;
  289. background-color: var(--main-color);
  290. }
  291. img {
  292. max-width: 300px;
  293. }
  294. .content {
  295. padding: 50px 100px 35px;
  296. display: flex;
  297. justify-content: space-between;
  298. @media (max-width: 767px) {
  299. align-items: center;
  300. flex-direction: column;
  301. }
  302. }
  303. }
  304. /* footer End */
  305. /* contact Start */
  306. .contact-form {
  307. margin: 150px auto;
  308. h2 {
  309. font-size: 30px;
  310. }
  311. h3 {
  312. font-size: 22px;
  313. margin-bottom: 20px;
  314. }
  315. .btn {
  316. color: #fff;
  317. background-color: var(--main-color);
  318. }
  319. .line {
  320. display: block;
  321. width: 100px;
  322. margin: 20px 0;
  323. height: 3px;
  324. background-color: var(--main-color);
  325. }
  326. .errorText {
  327. display: none;
  328. }
  329. .loading-btn {
  330. display: none;
  331. }
  332. }
  333. /* contact End */