style.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. $table: 1024px;
  7. $moblie: 767px;
  8. @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap');
  9. $process: #6f645a;
  10. // 行動裝置
  11. @font-face {
  12. font-family: 追奇手寫體;
  13. src: url(./drechifont-proportional.ttf);
  14. font-weight: 900;
  15. }
  16. $Font-color: #fff;
  17. $toggle: #9c857b;
  18. $title-color: #4b515e;
  19. body {
  20. .title {
  21. font-weight: bolder;
  22. padding: 15px;
  23. font-family: 'Noto Serif TC', serif !important;
  24. color:$title-color;
  25. text-align: center;
  26. @media screen and(max-width:$table) {
  27. font-size: 48px;
  28. }
  29. @media screen and(max-width:$moblie) {
  30. font-size: 40px;
  31. }
  32. @media screen and(max-width:400px) {
  33. font-size:30px!important;
  34. }
  35. }
  36. .btn {
  37. width: 100vw;
  38. text-align: center;
  39. }
  40. .btn-main {
  41. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  42. border: none;
  43. padding: 15px;
  44. background: rgb(64, 72, 84);
  45. color: $Font-color;
  46. font-size: 16px;
  47. letter-spacing: 1px;
  48. width: 280px;
  49. border-radius: 30px;
  50. transition: 0.3s;
  51. &:hover {
  52. background-color: $toggle;
  53. width: 285px;
  54. font-size: 16px;
  55. }
  56. @media screen and(max-width:$table) {
  57. font-size: 16px;
  58. padding: 20px;
  59. }
  60. }
  61. .arrow {
  62. position: fixed;
  63. right: 3vw;
  64. bottom: 100px;
  65. width: 45px;
  66. height: 40px;
  67. z-index: 10;
  68. background-color: #E06649;
  69. &:hover{
  70. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  71. }
  72. }
  73. }
  74. .navigation {
  75. width: 100vw;
  76. height: 60px;
  77. background: #fff;
  78. box-shadow: 0 5px 9px rgba(0, 0, 0, 0.3);
  79. // position: relative;
  80. z-index: 5;
  81. position: fixed;
  82. overflow: hidden;
  83. .logo {
  84. padding: 10px;
  85. margin-bottom: 5px;
  86. img {
  87. width: 128px;
  88. }
  89. }
  90. #menu-btn1 {
  91. position: absolute;
  92. right: 40px;
  93. top: 15px;
  94. width: 32px;
  95. height: 32px;
  96. z-index: 6;
  97. }
  98. }
  99. #banner-box {
  100. height: 45vh;
  101. overflow: hidden;
  102. position:relative;
  103. @media screen and(max-width:$moblie) {
  104. height: 50vh;
  105. }
  106. .banner-slider {
  107. .slick-dots {
  108. margin-bottom: 50px;
  109. ::before{
  110. color:#fff;
  111. }
  112. @media screen and(max-width:$table) {
  113. font-size: 48px;
  114. }
  115. }
  116. .banner1,
  117. .banner2,
  118. .banner3 {
  119. width: 100vw;
  120. height: 50vh;
  121. background-size: contain;
  122. background-repeat: no-repeat;
  123. background-size: 100vw 70vh;
  124. @media screen and(max-width:$moblie) {
  125. height: 50vh;
  126. background-size: cover;
  127. background-position:center center;
  128. }
  129. @media screen and(max-width:$table) {
  130. height: 45vh;
  131. }
  132. h1 {
  133. line-height: 40vh;
  134. text-align: center;
  135. padding: 15px;
  136. color: #fff;
  137. font-family: 追奇手寫體;
  138. font-size: 72px;
  139. }
  140. .img {
  141. width: 20px;
  142. }
  143. }
  144. .banner1 {
  145. background-image: url(./img/banner/001.webp);
  146. }
  147. .banner2 {
  148. background-image: url(./img/banner/002.webp);
  149. }
  150. .banner3 {
  151. background-image: url(./img/banner/003.webp);
  152. }
  153. }
  154. }
  155. #content1 {
  156. margin-top: 100px;
  157. text-align: center;
  158. .title {
  159. margin: 30px 0px;
  160. font-family: "Times New Roman", Times, serif;
  161. @media screen and(max-width:$moblie) {
  162. font-size: 30px;
  163. }
  164. @media screen and(max-width:400px) {
  165. font-size: 25px;
  166. }
  167. }
  168. .text {
  169. position: relative;
  170. .text2 {
  171. position: absolute;
  172. top: 15vw;
  173. left: 20vw;
  174. z-index: 1;
  175. @media screen and(max-width:$table) {
  176. width: 60vw;
  177. height: 30vw;
  178. }
  179. @media screen and(max-width:$moblie) {
  180. width: 80vw;
  181. left: 10vw;
  182. }
  183. h2 {
  184. line-height: 1.5;
  185. color: #fff;
  186. text-align-last: left;
  187. font-size: 20px;
  188. letter-spacing: 1px;
  189. @media screen and(max-width:$table) {
  190. font-size: 32px;
  191. }
  192. @media screen and(max-width:$moblie) {
  193. font-size: 1.3rem;
  194. }
  195. @media screen and(max-width: 400px) {
  196. font-size: 1.1rem;
  197. }
  198. }
  199. }
  200. }
  201. img {
  202. margin: 15px auto;
  203. width: 70vw;
  204. height: 30vh;
  205. object-fit: cover;
  206. filter: brightness(70%);
  207. @media screen and(max-width:$moblie) {
  208. width: 85vw;
  209. }
  210. }
  211. }
  212. #service {
  213. width: 100vw;
  214. text-align: center;
  215. h1{
  216. @media screen and(max-width: 400px) {
  217. margin: 50px 0;
  218. padding: 0;
  219. font-size: 30px !important;
  220. }
  221. }
  222. .text {
  223. font-size: 1.5rem;
  224. display: inline;
  225. text-align: left;
  226. @media screen and(max-width:$moblie) {
  227. font-size: 1rem;
  228. }
  229. @media screen and(max-width: 576px) {
  230. font-size: 0.8rem;
  231. }
  232. .left-box {
  233. .left-text{
  234. color: #000;
  235. font-weight: 900;
  236. @media screen and(max-width: 769px) {
  237. padding-top: 3vw;
  238. }
  239. @media screen and(max-width: 576px) {
  240. font-size: 0.9rem;
  241. padding-top: 5vw;
  242. }
  243. @media screen and(max-width: 400px) {
  244. font-size: 0.7rem;
  245. }
  246. }
  247. @media screen and(max-width: 769px) {
  248. width: 45vw;
  249. padding-left: 50px;
  250. margin-top: 30px;
  251. }
  252. @media screen and(max-width: 576px) {
  253. padding-left: 30px;
  254. margin-top: 20px;
  255. }
  256. @media screen and(max-width: 400px) {
  257. padding-top:5px;
  258. margin-top: 15px;
  259. padding-left: 10px; }
  260. }
  261. }
  262. .icon {
  263. width: 20vw;
  264. }
  265. h1 {
  266. margin: 50px;
  267. @media screen and(max-width:$moblie) {
  268. font-size: 34px;
  269. }
  270. @media screen and(max-width: 400px) {
  271. font-size:30px!important;
  272. }
  273. }
  274. }
  275. #service-process {
  276. margin: 0 auto;
  277. width: 65vw;
  278. background-color: #f7f7f7;
  279. @media screen and(max-width:$moblie) {
  280. width: 85vw;
  281. }
  282. h1 {
  283. @media screen and(max-width:$table) {
  284. margin-bottom: 150px;
  285. }
  286. @media screen and(max-width:$moblie) {
  287. font-size: 32px;
  288. margin-bottom: 30px;
  289. }
  290. }
  291. .process-box {
  292. width: 65vw;
  293. display: grid;
  294. margin: 0px auto;
  295. grid-template-columns: repeat(2, 1fr);
  296. @media screen and(max-width:$moblie) {
  297. width: 75vw;
  298. }
  299. }
  300. img {
  301. width: 128px;
  302. height: 128px;
  303. object-fit: cover;
  304. @media screen and(max-width:$table) {
  305. height: 256px;
  306. width: 256px;
  307. }
  308. @media screen and(max-width:$moblie) {
  309. width: 128px;
  310. height: 128px;
  311. }
  312. }
  313. .process-title {
  314. text-align: center;
  315. width: 190px;
  316. @media screen and(max-width:$table) {
  317. width: 30vw;
  318. }
  319. @media screen and(max-width:$table) {
  320. width: 40vw;
  321. }
  322. .p-text{
  323. font-size: 20px;
  324. font-family: 微軟正黑體;
  325. font-weight: bolder;
  326. color: $process;
  327. @media screen and(max-width:$table) {
  328. width: 40vw;
  329. font-size: 38px;
  330. }
  331. @media screen and(max-width:$moblie) {
  332. font-size: 18px;
  333. width: 40vw;
  334. }
  335. }
  336. img {
  337. @media screen and(max-width:$table) {
  338. margin-top: 80px;
  339. width: 40px;
  340. height: 40px;
  341. }
  342. @media screen and(max-width:$moblie) {
  343. width: 8vw;
  344. height:8vw;
  345. margin-top: 10px;
  346. }
  347. }
  348. }
  349. }
  350. #feedback {
  351. margin: auto;
  352. width: 70vw;
  353. padding-top: 50px;
  354. @media screen and(max-width:$moblie) {
  355. width: 90vw;
  356. }
  357. .feedback-slider1 {
  358. width: 70vw;
  359. @media screen and(max-width:$moblie) {
  360. width: 90vw;
  361. }
  362. }
  363. h1 {
  364. margin-bottom: 50px;
  365. }
  366. .box {
  367. position: relative;
  368. p {
  369. margin: 20px;
  370. text-align: center;
  371. font-size: 18px;
  372. font-weight: 600;
  373. }
  374. img {
  375. width: 390px;
  376. height: 195px;
  377. object-fit: cover;
  378. @media screen and(max-width:$table) {
  379. width: 70vw;
  380. height: 30vh;
  381. }
  382. @media screen and(max-width:$moblie) {
  383. width: 90vw;
  384. }
  385. }
  386. .play{
  387. position: absolute;
  388. left:32vw;
  389. top:15vw;
  390. width: 10vw;
  391. height: 10vw;
  392. opacity: 0.8;
  393. z-index: 10;
  394. @media screen and(max-width:$moblie) {
  395. left:40vw;
  396. top:20vw;
  397. width: 15vw;
  398. height: 15vw;
  399. opacity: 0.8;
  400. z-index: 10;
  401. }
  402. }
  403. }
  404. }
  405. #contact-us {
  406. margin-top: 100px;
  407. p {
  408. font-size: 16px;
  409. font-weight: 600;
  410. margin: 0px 10px;
  411. @media screen and(max-width:$table) {
  412. font-size: 24px;
  413. text-align: center;
  414. }
  415. @media screen and(max-width:$moblie) {
  416. font-size: 16px;
  417. }
  418. }
  419. #form-title {
  420. padding-top: 100px;
  421. margin-bottom: 50px;
  422. color: $title-color;
  423. }
  424. #form-text {
  425. width: 100vw;
  426. margin: 30px auto;
  427. @media screen and(max-width:$table) {
  428. font-size: 24px;
  429. text-align: center;
  430. margin: 30px auto;
  431. }
  432. @media screen and(max-width:$moblie) {
  433. font-size: 16px;
  434. margin: 30px auto;
  435. }
  436. }
  437. h1 {
  438. text-align: center;
  439. font-size: 24px;
  440. font-weight: 900;
  441. @media screen and(max-width:$table) {
  442. font-size: 36px;
  443. }
  444. @media screen and(max-width:$moblie) {
  445. font-size: 24px;
  446. }
  447. }
  448. #contact-form {
  449. text-align: center;
  450. .btn {
  451. margin: 50px auto;
  452. border: none;
  453. padding: 15px;
  454. background: #ffaf60;
  455. color: rgb(64, 72, 84);
  456. font-size: 20px;
  457. width: 300px;
  458. border-radius: 30px;
  459. &:hover {
  460. color: #fff;
  461. background-color: #745c54;
  462. }
  463. }
  464. #location,
  465. #type,
  466. #modal,
  467. #budget,
  468. #square,
  469. #style,
  470. #date,
  471. #email,
  472. #name,
  473. #phone,
  474. #gender,
  475. #rooms,
  476. #livingroom,
  477. #bathroom {
  478. border-radius: 3px;
  479. width: 85%;
  480. height: 60px;
  481. margin: 15px 0;
  482. padding-left: 15px;
  483. border: 1px solid rgba(0, 0, 0, 0.3);
  484. font-size: 18px;
  485. appearance: none;
  486. background: url(./img/icondown.webp) 95% 50% no-repeat scroll transparent;
  487. background-size: 10px 10px;
  488. background-color: #fff;
  489. }
  490. #square,
  491. #date,
  492. #email,
  493. #name,
  494. #phone {
  495. font-size: 18px;
  496. width: 85%;
  497. background: none;
  498. }
  499. #gender {
  500. display: block;
  501. margin: 0 auto;
  502. }
  503. #facebook {
  504. margin: 15px auto;
  505. width: 85vw;
  506. height: 60px;
  507. border: 1px solid #3B5998;
  508. text-align: right;
  509. // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
  510. // background-size: 32px 32px;
  511. background-color: #fff;
  512. transition: 0.3s;
  513. position: relative;
  514. p {
  515. position: absolute;
  516. font-weight: normal;
  517. @media screen and(max-width:$table) {
  518. top: 1vw;
  519. right: 10vw;
  520. font-size: 20px;
  521. }
  522. @media screen and(max-width:$moblie) {
  523. top: 1.8vw;
  524. right: 1vw;
  525. }
  526. .sapn-line{
  527. padding-right: 1vw;
  528. font-size: 28px;
  529. @media screen and(max-width:$moblie) {
  530. right: 2vw;
  531. }
  532. }
  533. }
  534. img {
  535. position: absolute;
  536. left: 30px;
  537. top: 15px;
  538. width: 32px;
  539. height: 32px;
  540. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  541. }
  542. &:hover {
  543. background-color: #2a4f91;
  544. color: #fff;
  545. img {
  546. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  547. }
  548. }
  549. }
  550. a {
  551. text-decoration: none;
  552. color: #ee751b;
  553. }
  554. #checkbox {
  555. margin-top: 30px;
  556. }
  557. #email,
  558. #name,
  559. #phone {
  560. background: none;
  561. background-color: #fff;
  562. }
  563. .option {
  564. width: 85%;
  565. }
  566. }
  567. #form {
  568. text-align: center;
  569. position: relative;
  570. #phone {
  571. position: absolute;
  572. left: 500px;
  573. }
  574. }
  575. }
  576. #footer {
  577. padding-top: 50px;
  578. width: 100vw;
  579. height: 150px;
  580. background-color: #ebe6e2;
  581. color: $title-color;
  582. text-align: center;
  583. font-size: 16px;
  584. line-height: 2;
  585. font-weight: 900;
  586. a {
  587. text-decoration: none;
  588. color: $title-color;
  589. }
  590. p {
  591. margin-left: 5px;
  592. display: inline;
  593. }
  594. }
  595. #menu-box {
  596. top: 60px;
  597. height: 45vh;
  598. width: 100vw;
  599. position: fixed;
  600. z-index: 5;
  601. overflow: hidden;
  602. hr {
  603. margin-left: 10px;
  604. width: 350px;
  605. background: #65584c;
  606. }
  607. #menu-box2 {
  608. width: 100vw;
  609. height: 45vh;
  610. background-color: #f4f4f3;
  611. opacity: 0.9;
  612. z-index: 7;
  613. text-align: center;
  614. #menu-link {
  615. display: grid;
  616. grid-template-columns: repeat(3, 1fr);
  617. width: 350px;
  618. margin: 0 auto;
  619. }
  620. .menu-logo {
  621. opacity: 1;
  622. img {
  623. width: 40px;
  624. height: 40px;
  625. filter: invert(34%) sepia(7%) saturate(1111%) hue-rotate(347deg) brightness(98%) contrast(88%);
  626. }
  627. }
  628. a {
  629. display: inline-block;
  630. text-decoration: none;
  631. color: #65584c;
  632. font-size: 16px;
  633. margin-top: 20px;
  634. }
  635. .menu-text {
  636. width: 100vw;
  637. text-align: center;
  638. margin-bottom: 10px;
  639. }
  640. }
  641. }