style.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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. max-width: 400px;
  45. // @media (max-width: 991px) {
  46. // }
  47. }
  48. .title {
  49. font-size: 36px;
  50. text-align: center;
  51. color: var(--main-color);
  52. }
  53. .sub-title {
  54. display: block;
  55. margin: 20px auto 80px;
  56. text-align: center;
  57. color: #64646c;
  58. font-weight: 300;
  59. line-height: 28px;
  60. }
  61. #about,
  62. #service,
  63. #returns,
  64. #recruit {
  65. padding: 100px 0;
  66. }
  67. .click-btn {
  68. margin-top: 50px;
  69. display: flex;
  70. justify-content: center;
  71. a {
  72. position: relative;
  73. padding: 15px 40px;
  74. text-decoration: none;
  75. border-radius: 100px;
  76. box-shadow: 3px 5px 12px #ccc;
  77. background-image: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%);
  78. &::before {
  79. position: absolute;
  80. content: "";
  81. inset: 0;
  82. border-radius: 100px;
  83. background-image: linear-gradient(20deg, var(--main-color) 95%, var(--sub-color) 75%);
  84. opacity: 0;
  85. transition: opacity 0.3s linear;
  86. }
  87. &:hover::before {
  88. opacity: 1;
  89. }
  90. img {
  91. position: absolute;
  92. width: 35px;
  93. bottom: -10px;
  94. right: -5px;
  95. }
  96. span {
  97. position: relative;
  98. z-index: 100;
  99. color: #fff;
  100. font-size: 20px;
  101. font-weight: 500;
  102. letter-spacing: 3px;
  103. }
  104. }
  105. }
  106. /* header Start */
  107. #header {
  108. h2 {
  109. font-size: 36px;
  110. font-weight: 500;
  111. @media (max-width: 1200px) {
  112. font-size: 32px;
  113. }
  114. @media (max-width: 991px) {
  115. font-size: 28px;
  116. }
  117. }
  118. p {
  119. font-size: 18px;
  120. }
  121. a {
  122. display: inline-block;
  123. color: #fff;
  124. margin-top: 50px;
  125. padding: 15px 45px;
  126. font-weight: 400;
  127. border: none;
  128. border-radius: 100px;
  129. box-shadow: 3px 5px 12px #ccc;
  130. background: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%);
  131. transition: all 0.3s;
  132. text-decoration: none;
  133. &:hover {
  134. transform: translate(0px, -5px);
  135. }
  136. }
  137. section {
  138. padding: 30px 60px;
  139. display: inline-block;
  140. border-radius: 10px;
  141. border: 1px solid #ccc;
  142. line-height: 26px;
  143. }
  144. strong {
  145. font-size: 30px;
  146. font-weight: 700;
  147. margin-bottom: 15px;
  148. display: inline-block;
  149. }
  150. .line {
  151. margin-left: 20px;
  152. &::after {
  153. content: "";
  154. display: inline-block;
  155. width: 50px;
  156. height: 2px;
  157. background: #000;
  158. position: relative;
  159. top: -10px;
  160. left: -17px;
  161. margin-right: -10px;
  162. }
  163. }
  164. }
  165. /* header End */
  166. /* about Start */
  167. #about {
  168. margin-top: 50px;
  169. background-color: #f8f9fa;
  170. h4 {
  171. font-size: 26px;
  172. font-weight: 500;
  173. margin-bottom: 20px;
  174. }
  175. }
  176. /* about End */
  177. /* service Start */
  178. #service {
  179. h4 {
  180. padding: 8px 28px;
  181. margin-bottom: 20px;
  182. display: inline-block;
  183. color: #fff;
  184. font-size: 20px;
  185. font-weight: 500;
  186. border-radius: 10px;
  187. background: var(--sub-color);
  188. }
  189. h5 {
  190. line-height: 32px;
  191. }
  192. ul {
  193. li {
  194. img {
  195. width: 18px;
  196. margin-bottom: -3px;
  197. }
  198. }
  199. }
  200. }
  201. /* service End */
  202. /* returns Start */
  203. #returns {
  204. background-color: #f8f9fa;
  205. section {
  206. display: flex;
  207. flex-direction: column;
  208. align-items: center;
  209. h5 {
  210. margin: auto;
  211. padding: 10px 20px;
  212. display: inline-block;
  213. color: #fff;
  214. text-align: center;
  215. border-radius: 10px;
  216. background: var(--sub-color);
  217. }
  218. small {
  219. margin: 15px 0;
  220. color: #64646c;
  221. }
  222. }
  223. }
  224. /* returns End */
  225. /* footer Start */
  226. #recruit {
  227. h4 {
  228. font-size: 20px;
  229. margin-bottom: 5px;
  230. }
  231. li {
  232. margin: 30px 0;
  233. }
  234. .arrow {
  235. width: 20px;
  236. object-fit: contain;
  237. margin-right: 10px;
  238. }
  239. }
  240. /* returns End */
  241. /* footer Start */
  242. .footer {
  243. color: var(--main-color);
  244. background: #eeeded;
  245. h2 {
  246. font-size: 28px;
  247. }
  248. ul {
  249. li {
  250. margin: 15px 0;
  251. a {
  252. padding-bottom: 3px;
  253. transition: border-color 0.5s ease;
  254. text-decoration: none;
  255. color: var(--main-color);
  256. border-bottom: 1px solid transparent;
  257. &:hover {
  258. border-bottom: 1px solid var(--main-color);
  259. }
  260. }
  261. }
  262. }
  263. h3 {
  264. padding: 15px 0;
  265. margin-bottom: 0;
  266. color: #fff;
  267. font-size: 16px;
  268. font-weight: 300;
  269. text-align: center;
  270. background-color: var(--main-color);
  271. }
  272. img {
  273. margin-bottom: 10px;
  274. max-width: 500px;
  275. @media (max-width: 767px) {
  276. margin-bottom: 20px;
  277. }
  278. }
  279. .content {
  280. padding: 50px 100px 35px;
  281. display: flex;
  282. justify-content: space-between;
  283. @media (max-width: 767px) {
  284. padding: 50px 50px 35px;
  285. align-items: center;
  286. flex-direction: column;
  287. }
  288. }
  289. }
  290. /* footer End */