style.scss 18 KB

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