-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
953 lines (836 loc) · 20.9 KB
/
style.css
File metadata and controls
953 lines (836 loc) · 20.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
/* =========================================
1. 基礎變數與全域設定 (Global Styles)
========================================= */
:root {
--bg-color: #f8fafc;
--card-bg: #ffffff;
--text-main: #0f172a;
--text-body: #475569;
--accent: #2563eb;
--border: rgba(0, 0, 0, 0.06);
--nav-height: 80px;
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', 'Noto Sans TC', sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-body);
line-height: 1.7;
overflow-x: hidden;
}
p { font-size: 130%; }
li {
font-size: 1.2rem;
line-height: 1.8;
color: var(--text-body);
margin-bottom: 12px;
}
.col-text li {
font-size: 1.25rem;
margin-bottom: 16px;
}
/* =========================================
2. 導覽列 (Navigation)
========================================= */
nav {
position: fixed;
top: 0;
width: 100%;
height: var(--nav-height);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 5%;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
z-index: 2000;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo {
font-size: 1.5rem;
font-weight: 900;
color: var(--accent);
text-decoration: none;
letter-spacing: -1px;
z-index: 2100;
}
.nav-title-sticky {
position: relative;
left: 0;
transform: none;
opacity: 0;
visibility: hidden;
font-weight: 900;
font-size: 1.5rem;
color: var(--accent);
transition: opacity 0.3s ease;
white-space: nowrap;
}
nav.scrolled .nav-title-sticky {
opacity: 1;
visibility: visible;
}
.nav-external-links {
display: flex;
gap: 12px;
z-index: 2100;
}
.nav-external-links a {
color: var(--text-main);
text-decoration: none;
font-size: 0.85rem;
font-weight: 600;
padding: 8px 16px;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 8px;
transition: 0.3s;
}
.nav-external-links a:hover,
#nav-links a.active {
background: var(--accent);
color: #fff;
}
#nav-links a.active {
font-weight: 800;
}
/* =========================================
3. 語言切換系列 (Language Buttons & Overlay)
========================================= */
#lang-btn, .nav-lang-btn {
margin-left: 15px;
padding: 6px 12px;
cursor: pointer;
border-radius: 4px;
font-weight: 600;
transition: 0.3s;
}
#lang-btn {
font-family: 'Inter', sans-serif;
font-size: 14px;
border: 1.5px solid #000;
color: #000;
background: transparent;
}
#lang-btn:hover {
background: #000 !important;
color: #fff !important;
}
.nav-lang-btn {
background-color: #f8f9fa;
border: 1px solid #333;
color: #333;
}
.nav-lang-btn:hover {
background-color: #333;
color: #fff;
}
.language-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #0f172a;
color: white;
text-align: center;
z-index: 9999;
}
.lang-box p {
margin-bottom: 25px;
color: #cbd5e1;
}
.btn-group {
display: flex;
gap: 20px;
justify-content: center;
}
.lang-choice {
display: inline-block;
padding: 12px 30px;
border: 2px solid var(--accent);
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 8px;
transition: 0.3s;
}
.lang-choice:hover {
background: var(--accent);
transform: translateY(-3px);
}
/* =========================================
4. Hero 與大綱區塊 (Hero & Outline)
========================================= */
.hero-section {
display: flex;
align-items: center;
justify-content: space-between;
min-height: auto;
padding: calc(var(--nav-height) + 80px) 5% 80px;
gap: 60px;
max-width: 1400px;
margin: 0 auto;
}
.hero-image-container {
flex: 1.2;
position: relative;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
aspect-ratio: 16 / 10;
width: 100%;
}
.hero-image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 40px;
background: linear-gradient(transparent, rgba(0,0,0,0.8));
color: white;
}
.hero-title {
font-size: 3.5rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 10px;
transition: transform 0.1s linear, opacity 0.1s linear;
transform-origin: top left;
}
.hero-subtitle {
font-size: 1.5rem;
opacity: 0.9;
}
.outline-container {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}
.outline-container::before {
content: "";
display: block;
width: 50px;
height: 4px;
background: var(--accent);
margin-bottom: 25px;
border-radius: 2px;
}
.outline-container p {
font-size: 1.15rem;
line-height: 2;
color: var(--text-body);
margin: 0;
text-align: justify;
text-justify: inter-character;
}
.outline-title {
font-size: 5rem;
font-weight: 900;
color: var(--text-main);
line-height: 1;
margin-bottom: 20px;
white-space: pre-line;
}
.outline-desc {
font-size: 1.25rem;
color: var(--text-body);
margin-bottom: 30px;
max-width: 100%;
}
.outline-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 30px;
}
.outline-links a {
color: var(--text-main);
text-decoration: none;
font-size: 0.9rem;
font-weight: 600;
padding: 10px 20px;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.outline-links a:hover {
transform: translateY(-3px);
background: var(--accent);
color: #fff;
border-color: var(--accent);
}
.scroll-hint {
display: flex;
align-items: center;
gap: 10px;
color: var(--accent);
font-weight: 700;
text-decoration: none;
transition: 0.3s;
}
/* =========================================
5. 內容區塊與排版 (Content Layouts)
========================================= */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 80px 24px;
}
.section-col {
display: flex;
vertical-align: top;
}
.section-image {
margin: 1rem 0.5rem 2rem 0.5rem;
}
.section-image img {
min-height: 35rem;
aspect-ratio: 4 / 3;
border-radius: 20px;
width: 100%;
object-fit: cover;
}
section { margin-bottom: 120px; }
h2 {
font-size: 2.5rem;
color: var(--text-main);
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 15px;
}
.content-container {
max-width: 1000px;
margin: 0 auto;
/* 原本是 padding: 20px; 改成下面這行 👇 */
padding: calc(var(--nav-height) + 40px) 20px 20px;
}
.content-section {
margin-bottom: 150px;
}
.section-header {
text-align: center;
margin-bottom: 60px;
opacity: 1 !important;
transform: none !important;
width: 100%;
display: block;
}
.section-header h2 {
font-size: 2.5rem;
font-weight: 900;
color: var(--text-main);
position: relative;
display: inline-block;
padding-bottom: 15px;
margin-bottom: 5px;
}
.section-subtitle {
font-size: 1rem;
color: var(--text-body);
font-weight: 500;
margin-top: 0;
margin-bottom: 15px;
display: block;
}
.content-section h3 {
text-align: center;
font-size: 1.5rem;
margin-bottom: 20px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
line-height: 1.8;
color: var(--text-main);
}
.row {
display: flex;
align-items: center;
gap: 60px;
}
.row.reverse { flex-direction: row-reverse; }
.col-text { flex: 1; }
.col-text p {
font-size: 1.15rem;
margin-bottom: 20px;
color: var(--text-body);
}
.col-image {
flex: 1;
margin-bottom: 10px;
}
.col-image img {
width: 100%;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
transition: transform 0.4s ease;
aspect-ratio: 4 / 3;
object-fit: cover;
}
.col-image img:hover { transform: scale(1.02); }
.reflect-img { align-items: start; }
.reflect-img .col-image {
margin: 1rem 0;
box-sizing: border-box;
}
.img-source
{
color: #67676770;
text-align: left;
font-size: 1.2rem;
}
.quote-text {
text-align: center;
max-width: 950px;
margin: 60px auto;
line-height: 1.8;
color: var(--text-main);
font-style: italic;
}
/* =========================================
6. 成員與卡片 (Members Grid)
========================================= */
.member-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.member-card {
background: white;
padding: 24px;
border-radius: 16px;
border: 1px solid var(--border);
transition: 0.3s ease;
text-align: left;
cursor: pointer;
}
.member-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 20px -5px rgba(0,0,0,0.05);
border-color: var(--accent);
}
.member-avatar {
width: 64px;
height: 64px;
background: #e2e8f0;
border-radius: 50%;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #94a3b8;
font-size: 1.5rem;
}
.member-name {
color: var(--text-main);
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 4px;
}
.member-role {
font-size: 0.85rem;
color: var(--text-body);
font-weight: 500;
}
.member-image {
width: 100%;
aspect-ratio: 4 / 5;
object-fit: cover;
border-radius: 12px;
margin-top: 15px;
}
/* =========================================
7. 彈出視窗系列 (Modals & Overlays)
========================================= */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
padding: 20px;
opacity: 0;
transition: opacity 0.3s ease;
cursor: zoom-out;
}
.modal-overlay.active {
display: flex;
opacity: 1;
}
.modal-card {
background: #ffffff;
width: 100%;
max-width: 800px;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
position: relative;
overflow: hidden;
transform: scale(0.9) translateY(20px);
transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-overlay.active .modal-card {
transform: scale(1) translateY(0);
}
.modal-close {
position: absolute;
top: 20px;
right: 20px;
background: rgba(0,0,0,0.1);
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 24px;
color: #0f172a;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
transition: background 0.3s;
}
.modal-body {
display: grid;
grid-template-columns: 1fr 1.2fr;
}
.modal-image-container {
width: 100%;
height: 100%;
min-height: 400px;
overflow: hidden;
}
.modal-image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.modal-text-content {
padding: 60px 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.modal-name {
font-size: 2.5rem;
font-weight: 900;
color: #0f172a;
line-height: 1.1;
margin-bottom: 8px;
}
.modal-role {
font-size: 1.1rem;
font-weight: 600;
color: var(--accent);
margin-bottom: 20px;
}
.modal-divider {
width: 60px;
height: 4px;
background: var(--accent);
border-radius: 2px;
margin-bottom: 30px;
}
.modal-desc {
font-size: 1rem;
color: var(--text-body);
line-height: 1.8;
}
/* =========================================
8. 功能性輔助類別與動畫 (Utilities & Animations)
========================================= */
.fade-up {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
opacity: 1;
transform: translateY(0);
}
.zh-only { display: none; }
.en-only { display: none; }
.en-only p {
font-size: 1.2rem;
line-height: 1.8;
}
body.lang-en .zh-only { display: none; }
body.lang-en .en-only { display: block; }
.lang-text {
transition: opacity 0.2s ease;
}
/* 手機版三橫線按鈕 (此處補上剛剛遺漏的漢堡按鈕基礎設定) */
.menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
z-index: 2500;
padding: 10px;
}
.menu-toggle span {
width: 25px;
height: 3px;
background: var(--text-main);
border-radius: 2px;
transition: 0.3s;
}
/* =========================================
9. 頁尾 (Footer)
========================================= */
footer {
padding: 60px 5%;
background: #fff;
border-top: 1px solid var(--border);
text-align: center;
}
.footer-logo { margin-bottom: 1rem; }
.footer-image {
max-height: 6rem;
margin: 0 0.5rem;
box-sizing: border-box;
vertical-align: middle;
}
/* =========================================
10. 響應式設計 (Media Queries)
========================================= */
@media (max-width: 1024px) {
.hero-section {
flex-direction: column;
padding-top: calc(var(--nav-height) + 40px);
gap: 40px;
}
.hero-image-container {
flex: none;
width: 100%;
}
.outline-container {
padding: 0;
}
.outline-links, .nav-external-links { justify-content: center; }
.hero-title { font-size: 2.5rem; }
.outline-title { font-size: 4rem; }
.row, .row.reverse {
flex-direction: column;
gap: 40px;
}
}
@media (max-width: 768px) {
/* =========================================
1. 導覽列與選單 (按鈕靠左上,漢堡選單靠右)
========================================= */
nav {
display: flex;
justify-content: flex-end !important;
align-items: center;
padding: 0 20px;
position: relative;
}
.nav-title-sticky {
display: none !important;
}
/* 👇 語言切換按鈕固定在左上角 👇 */
#lang-btn {
position: fixed !important;
left: 5% !important;
top: 22px !important;
margin: 0 !important;
z-index: 3000 !important;
}
.nav-lang-btn {
margin: 0 !important;
padding: 4px 10px !important;
width: fit-content;
}
/* 漢堡選單與側邊欄動畫 */
.menu-toggle { display: flex; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-external-links {
position: fixed;
top: 0; right: -100%;
width: 100%; height: 100vh;
background: white;
flex-direction: column;
justify-content: center; align-items: center;
transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
gap: 30px;
}
.nav-external-links.active { right: 0; }
.nav-external-links a { font-size: 1.5rem; border: none; background: none; padding: 0; }
/* =========================================
2. 標題與排版修正 (拯救過大的標題)
========================================= */
h2, .section-header h2 {
font-size: 2rem !important;
line-height: 1.3 !important;
margin-bottom: 1rem !important;
letter-spacing: -0.5px;
}
.outline-title { font-size: 2.2rem; }
.hero-title { font-size: 2rem; }
.content-section h3 { font-size: 1.3rem; }
/* =========================================
3. 內文段落 (更好的呼吸感與換行)
========================================= */
p {
font-size: 1.05rem !important;
line-height: 1.6 !important;
color: #475569 !important;
}
.outline-desc, .col-text p {
font-size: 1rem !important;
}
.en-only p,
.outline-container p,
.col-text p {
text-align: left !important;
text-justify: auto !important;
word-break: break-word !important;
}
/* =========================================
4. 區塊間距與 Padding (解決留白與避開導覽列)
========================================= */
.container {
padding-top: 100px !important;
padding-bottom: 40px !important;
padding-left: 20px !important;
padding-right: 20px !important;
}
.content-container {
/* 原本是 padding: 40px 20px; 改成下面這行 👇 */
padding: calc(var(--nav-height) + 20px) 20px 40px;
}
.hero-section {
padding: calc(var(--nav-height) + 20px) 5% 40px;
gap: 30px;
}
/* 💡 這行非常關鍵!這是解決您截圖中「異常大空格」的魔法 */
section, .content-section {
margin-bottom: 60px !important;
}
/* =========================================
5. 圖片排版 (確保不撐破螢幕、單欄排列)
========================================= */
.section-col {
flex-direction: column;
gap: 20px;
}
.section-image {
margin: 0 0 15px 0 !important;
width: 100%;
}
.hero-image-container, .col-image img {
width: 100%;
height: auto;
aspect-ratio: auto;
}
/* =========================================
6. 彈出視窗 (Modal) - 手機版優化
========================================= */
.modal-card {
max-height: 85vh !important; /* 限制卡片高度最多只能佔螢幕的 85% */
display: flex;
flex-direction: column;
}
.modal-body {
grid-template-columns: 1fr;
overflow-y: auto; /* 💡 魔法在這裡:讓內容太長時可以在卡片內部滑動 */
-webkit-overflow-scrolling: touch; /* 讓 iPhone 滑動起來更順暢 */
}
.modal-image-container {
min-height: 250px;
flex-shrink: 0; /* 防止圖片被擠壓 */
}
.modal-text-content {
padding: 30px 20px;
}
.modal-name {
font-size: 1.8rem;
}
/* 確保 X 按鈕永遠浮在最上層,而且幫它加個白底跟陰影,以免跟圖片混在一起 */
.modal-close {
background: #ffffff !important;
box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
top: 15px !important;
right: 15px !important;
z-index: 2000 !important;
}
/* =========================================
7. 手機版專屬底部下一頁按鈕
========================================= */
.mobile-next-page {
display: flex !important; /* 在手機版強制顯示 */
justify-content: center;
padding: 0 20px 60px 20px; /* 確保按鈕跟頁尾之間有足夠的呼吸空間 */
}
.mobile-next-page a {
display: block;
width: 100%;
background-color: var(--accent); /* 使用你的主題藍色 */
color: #ffffff !important;
text-align: center;
padding: 16px 20px;
border-radius: 12px;
font-size: 1.15rem;
font-weight: 800;
text-decoration: none;
box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); /* 加上藍色系陰影增加立體感 */
transition: transform 0.2s ease;
}
.mobile-next-page a:active {
transform: scale(0.96); /* 手機點擊時會有微縮小的按壓回饋感 */
}
nav {
display: flex;
justify-content: flex-end !important;
align-items: center;
padding: 0 20px;
position: fixed !important; /* 💡 改回 fixed,讓它永遠貼在頂端 */
top: 0;
left: 0;
width: 100%;
}
.logo {
position: absolute;
left: 50%;
transform: translateX(-50%); /* 💡 強制絕對置中,不影響左右按鈕 */
font-size: 1.25rem !important; /* 字體稍微縮小一點適應手機 */
max-width: 50vw; /* 限制最大寬度,不能超過螢幕一半 */
white-space: nowrap; /* 強制不換行 */
overflow: hidden; /* 超出的部分隱藏 */
text-overflow: ellipsis; /* 💡 太長的話字尾會自動變成「...」 */
}
}
.mobile-next-page {
display: none;
}
/* 鎖定背景滾動專用 class */
body.no-scroll {
overflow: hidden;
}