質問編集履歴
1
修正依頼により、問題の発現を確認した後コードを再掲いたしました。 この度は、貴重なお時間をいただきまして大変申し訳ございませんでした。
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,6 +28,66 @@
|
|
28
28
|
|
29
29
|
```HTML
|
30
30
|
|
31
|
+
<!doctype html>
|
32
|
+
|
33
|
+
<html>
|
34
|
+
|
35
|
+
<head>
|
36
|
+
|
37
|
+
<meta charset="UTF-8">
|
38
|
+
|
39
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
40
|
+
|
41
|
+
<link rel="stylesheet" href="animate.min.css"/>
|
42
|
+
|
43
|
+
<link rel="stylesheet" href="stylecopy.css">
|
44
|
+
|
45
|
+
<script type="text/javascript" src="common/js/jquery-3.5.1.min.js"></script>
|
46
|
+
|
47
|
+
<script src="wow.js"></script>
|
48
|
+
|
49
|
+
<script>new WOW().init();
|
50
|
+
|
51
|
+
</script>
|
52
|
+
|
53
|
+
<script type="text/javascript" src="program.js"></script>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<title>Casablanca</title>
|
58
|
+
|
59
|
+
</head>
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<body>
|
64
|
+
|
65
|
+
<div id="index">
|
66
|
+
|
67
|
+
<div class="slide-wrap">
|
68
|
+
|
69
|
+
<div class="slide" id="makeImg">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<img class="slide-item" src="images/topimage.jpg" alt="コーヒーの写真">
|
74
|
+
|
75
|
+
<img class="slide-item" src="images/cafe.jpg" alt="店内">
|
76
|
+
|
77
|
+
<img class="slide-item" src="images/cofeeandbook.jpg" alt="コーヒーと本の写真">
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<header>
|
86
|
+
|
87
|
+
<img class="logo" src="images/logo.svg" alt="Casablance" title="カサブランカ">
|
88
|
+
|
89
|
+
</header>
|
90
|
+
|
31
91
|
<div class="drawer">
|
32
92
|
|
33
93
|
<input type="checkbox" id="drawer-check" class="drawer-hidden" >
|
@@ -42,7 +102,7 @@
|
|
42
102
|
|
43
103
|
<nav class="drawer-content">
|
44
104
|
|
45
|
-
|
105
|
+
<ul class="drawer-list">
|
46
106
|
|
47
107
|
<li class="drawer-item"><a href="#index">Top</a></li>
|
48
108
|
|
@@ -54,9 +114,9 @@
|
|
54
114
|
|
55
115
|
</ul>
|
56
116
|
|
57
|
-
|
117
|
+
</nav>
|
58
|
-
|
118
|
+
|
59
|
-
|
119
|
+
</div>
|
60
120
|
|
61
121
|
|
62
122
|
|
@@ -64,7 +124,7 @@
|
|
64
124
|
|
65
125
|
<div id="About">
|
66
126
|
|
67
|
-
|
127
|
+
<h2 class="wow animate__animated animate__flipInX index_name">About</h2>
|
68
128
|
|
69
129
|
<div class="About_box">
|
70
130
|
|
@@ -76,13 +136,13 @@
|
|
76
136
|
|
77
137
|
</div>
|
78
138
|
|
79
|
-
|
139
|
+
<div class="wow animate__animated animate__fadeInLeft dripcoffee_index">
|
80
|
-
|
140
|
+
|
81
|
-
|
141
|
+
<h3>ウィーンで修行した<br class="br-sp" />マスターこだわりの一杯</h3></div>
|
82
142
|
|
83
143
|
<div class="wow animate__animated animate__fadeInUp dripcoffee_text">
|
84
144
|
|
85
|
-
|
145
|
+
<br class="br-sp" />カフェ文化が世界遺産となっている
|
86
146
|
|
87
147
|
<br class="br-sp" />オーストリア、ウィーンで修行を重ねた
|
88
148
|
|
@@ -102,13 +162,13 @@
|
|
102
162
|
|
103
163
|
</div>
|
104
164
|
|
105
|
-
|
165
|
+
<div class="wow animate__animated animate__fadeInLeft orange_index">
|
106
|
-
|
166
|
+
|
107
|
-
|
167
|
+
<h3>こだわりの一杯に<br class="br-sp" />出来立てのスイーツを添えて</h3></div>
|
108
|
-
|
168
|
+
|
109
|
-
|
169
|
+
<div class="wow animate__animated animate__fadeInUp orange_text">
|
110
|
-
|
170
|
+
|
111
|
-
|
171
|
+
<br class="br-sp" />開店前早朝から心込めて仕込む
|
112
172
|
|
113
173
|
<br class="br-sp" />マスターの絶品スイーツもご用意しております。
|
114
174
|
|
@@ -120,368 +180,580 @@
|
|
120
180
|
|
121
181
|
<br class="br-sp" />マスターが考えた組み合わせを提供致します。
|
122
182
|
|
123
|
-
|
183
|
+
</div></div></div></div>
|
184
|
+
|
185
|
+
</body></html>
|
186
|
+
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
```CSS
|
192
|
+
|
193
|
+
@charset "UTF-8";
|
194
|
+
|
195
|
+
/* CSS Document */
|
196
|
+
|
197
|
+
.logo{
|
198
|
+
|
199
|
+
display: block;
|
200
|
+
|
201
|
+
width: 100%;
|
202
|
+
|
203
|
+
background-color: #dc5f36;
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
}
|
208
|
+
|
209
|
+
.slide {
|
210
|
+
|
211
|
+
position : relative;
|
212
|
+
|
213
|
+
overflow : hidden;
|
214
|
+
|
215
|
+
width : 480px;
|
216
|
+
|
217
|
+
height : 726px;
|
218
|
+
|
219
|
+
margin : auto; /* サンプルは中央寄せの背景:白 */
|
220
|
+
|
221
|
+
background : #fff;
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
.slide-wrap{
|
226
|
+
|
227
|
+
width:100%;
|
228
|
+
|
229
|
+
height: auto;
|
230
|
+
|
231
|
+
}
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
/*=== 画像の設定 ======================================= */
|
236
|
+
|
237
|
+
.slide img {
|
238
|
+
|
239
|
+
display : block;
|
240
|
+
|
241
|
+
position : absolute;
|
242
|
+
|
243
|
+
width : inherit;
|
244
|
+
|
245
|
+
height : inherit;
|
246
|
+
|
247
|
+
left : 100%;
|
248
|
+
|
249
|
+
animation : slideAnime 12s ease infinite;
|
250
|
+
|
251
|
+
}
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
/*=== スライドのアニメーションを段差で開始する ========= */
|
256
|
+
|
257
|
+
.slide img:nth-of-type(1) { animation-delay: 0s }
|
258
|
+
|
259
|
+
.slide img:nth-of-type(2) { animation-delay: 4s }
|
260
|
+
|
261
|
+
.slide img:nth-of-type(3) { animation-delay: 8s }
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
/*=== スライドのアニメーション ========================= */
|
266
|
+
|
267
|
+
@keyframes slideAnime{
|
268
|
+
|
269
|
+
0% { left: 100% }
|
270
|
+
|
271
|
+
3% { left: 0 }
|
272
|
+
|
273
|
+
30% { left: 0 }
|
274
|
+
|
275
|
+
33% { left: -100% }
|
276
|
+
|
277
|
+
100% { left: -100% }
|
278
|
+
|
279
|
+
}
|
280
|
+
|
281
|
+
header{
|
282
|
+
|
283
|
+
position: absolute;
|
284
|
+
|
285
|
+
top: -20px;
|
286
|
+
|
287
|
+
left: -186px;
|
288
|
+
|
289
|
+
width: 220px;
|
290
|
+
|
291
|
+
height: 260px;
|
292
|
+
|
293
|
+
display:block;
|
294
|
+
|
295
|
+
transform: rotate(90deg);
|
296
|
+
|
297
|
+
}
|
298
|
+
|
299
|
+
.drawer-hidden {
|
300
|
+
|
301
|
+
display: none;
|
302
|
+
|
303
|
+
}
|
304
|
+
|
305
|
+
.drawer{
|
306
|
+
|
307
|
+
position: fixed;
|
308
|
+
|
309
|
+
width:100%;
|
310
|
+
|
311
|
+
height: 70px;
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
/* ハンバーガーアイコンの設置スペース */
|
316
|
+
|
317
|
+
.drawer-open {
|
318
|
+
|
319
|
+
position: absolute;
|
320
|
+
|
321
|
+
background-color: #dc5f36;
|
322
|
+
|
323
|
+
display: flex;
|
324
|
+
|
325
|
+
height: 60px;
|
326
|
+
|
327
|
+
width: 60px;
|
328
|
+
|
329
|
+
top: -730px;
|
330
|
+
|
331
|
+
right: 0;
|
332
|
+
|
333
|
+
justify-content: center;
|
334
|
+
|
335
|
+
align-items: center;
|
336
|
+
|
337
|
+
z-index: 98;
|
338
|
+
|
339
|
+
cursor: pointer;
|
340
|
+
|
341
|
+
}
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
/* ハンバーガーメニューのアイコン */
|
346
|
+
|
347
|
+
.drawer-open span,
|
348
|
+
|
349
|
+
.drawer-open span:before,
|
350
|
+
|
351
|
+
.drawer-open span:after {
|
352
|
+
|
353
|
+
content: '';
|
354
|
+
|
355
|
+
display: block;
|
356
|
+
|
357
|
+
height: 3px;
|
358
|
+
|
359
|
+
width: 25px;
|
360
|
+
|
361
|
+
border-radius: 3px;
|
362
|
+
|
363
|
+
background: #f7e3af;
|
364
|
+
|
365
|
+
transition: .1s;
|
366
|
+
|
367
|
+
position: absolute;
|
368
|
+
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
/* 三本線のうち一番上の棒の位置調整 */
|
374
|
+
|
375
|
+
.drawer-open span:before {
|
376
|
+
|
377
|
+
bottom: 8px;
|
378
|
+
|
379
|
+
}
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
/* 三本線のうち一番下の棒の位置調整 */
|
384
|
+
|
385
|
+
.drawer-open span:after {
|
386
|
+
|
387
|
+
top: 8px;
|
388
|
+
|
389
|
+
}
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
/* メニューのデザイン*/
|
394
|
+
|
395
|
+
.drawer-content {
|
396
|
+
|
397
|
+
width: 45%;/* ここの割合を小さくすると閉じる部分の領域が広がる */
|
398
|
+
|
399
|
+
height: 100%;
|
400
|
+
|
401
|
+
position: fixed;
|
402
|
+
|
403
|
+
top: 0;
|
404
|
+
|
405
|
+
left: 100%;/* メニューを画面外へ */
|
406
|
+
|
407
|
+
line-height: 100px;
|
408
|
+
|
409
|
+
z-index: 100;
|
410
|
+
|
411
|
+
background: rgba(247, 227, 175, 1);
|
412
|
+
|
413
|
+
transition: .2s;
|
414
|
+
|
415
|
+
color: #70372c;
|
416
|
+
|
417
|
+
}
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
/* アイコンがクリックされたらメニューを表示 */
|
422
|
+
|
423
|
+
#drawer-check:checked ~ .drawer-content {
|
424
|
+
|
425
|
+
left: 0;/* メニューを画面内へ */
|
426
|
+
|
427
|
+
}
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
/* メニューを閉じるための要素のデザイン*/
|
432
|
+
|
433
|
+
.drawer-close {
|
434
|
+
|
435
|
+
width: 100%;
|
436
|
+
|
437
|
+
height: 100%;
|
438
|
+
|
439
|
+
background: rgba(247, 227, 175, 0.6);
|
440
|
+
|
441
|
+
position: fixed;
|
442
|
+
|
443
|
+
top: 0;
|
444
|
+
|
445
|
+
left: 100%;/* 閉じるための要素を画面外へ */
|
446
|
+
|
447
|
+
z-index: 99;/* 重なり順をメニューより下に*/
|
448
|
+
|
449
|
+
transition: .1s;
|
450
|
+
|
451
|
+
}
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
#drawer-check:checked ~ .drawer-close {
|
456
|
+
|
457
|
+
left: 0;/* 閉じるための要素を画面内へ */
|
458
|
+
|
459
|
+
}
|
460
|
+
|
461
|
+
a{
|
462
|
+
|
463
|
+
color:inherit;
|
464
|
+
|
465
|
+
text-decoration: none;
|
466
|
+
|
467
|
+
outline: none;
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
ul{
|
472
|
+
|
473
|
+
list-style: none;
|
474
|
+
|
475
|
+
}
|
476
|
+
|
477
|
+
body{
|
478
|
+
|
479
|
+
position: relative;
|
480
|
+
|
481
|
+
font-family: "Noto Sans JP", "Noto Sans CJK JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴシック", "Hiragino Sans", "メイリオ", "Meiryo", "MS Pゴシック", "MS PGothic", sans-serif;
|
482
|
+
|
483
|
+
background-color: #70372c;
|
484
|
+
|
485
|
+
color: #f7e3af;
|
486
|
+
|
487
|
+
margin: 0;
|
488
|
+
|
489
|
+
}
|
490
|
+
|
491
|
+
.index_name{
|
492
|
+
|
493
|
+
animation: flipInX;
|
494
|
+
|
495
|
+
margin: auto;
|
496
|
+
|
497
|
+
animation-duration: 0.5s;
|
498
|
+
|
499
|
+
text-align: center;
|
500
|
+
|
501
|
+
font-size: 300%;
|
502
|
+
|
503
|
+
line-height: 150%;
|
504
|
+
|
505
|
+
background-color: #dc5f36;
|
506
|
+
|
507
|
+
color: #f7e3af;
|
508
|
+
|
509
|
+
}
|
510
|
+
|
511
|
+
.subindex_name{
|
512
|
+
|
513
|
+
animation: flipInX;
|
514
|
+
|
515
|
+
margin: auto;
|
516
|
+
|
517
|
+
animation-duration: 0.5s;
|
518
|
+
|
519
|
+
text-align: center;
|
520
|
+
|
521
|
+
font-size: 200%;
|
522
|
+
|
523
|
+
line-height: 150%;
|
524
|
+
|
525
|
+
background-color: #f7e3af;
|
526
|
+
|
527
|
+
color: #70372c;
|
528
|
+
|
529
|
+
}
|
530
|
+
|
531
|
+
.About_box{
|
532
|
+
|
533
|
+
margin: 0 auto;
|
534
|
+
|
535
|
+
z-index: 10;
|
536
|
+
|
537
|
+
}
|
538
|
+
|
539
|
+
.dripcoffee_box{
|
540
|
+
|
541
|
+
margin: auto;
|
542
|
+
|
543
|
+
width: 100%;
|
544
|
+
|
545
|
+
position: relative;
|
546
|
+
|
547
|
+
z-index: 0;
|
548
|
+
|
549
|
+
}
|
550
|
+
|
551
|
+
.dripcoffee_box img{
|
552
|
+
|
553
|
+
width: 100%;
|
554
|
+
|
555
|
+
position: relative;
|
556
|
+
|
557
|
+
}
|
558
|
+
|
559
|
+
.dripcoffee{
|
560
|
+
|
561
|
+
animation: fadeInRight;
|
562
|
+
|
563
|
+
animation-duration: 0.5s;
|
564
|
+
|
565
|
+
vertical-align: top;
|
566
|
+
|
567
|
+
padding: 0;
|
568
|
+
|
569
|
+
margin: 0;
|
570
|
+
|
571
|
+
}
|
572
|
+
|
573
|
+
.dripcoffee_index{
|
574
|
+
|
575
|
+
position: absolute;
|
576
|
+
|
577
|
+
animation: fadeInLeft;
|
578
|
+
|
579
|
+
animation-duration: 2s;
|
580
|
+
|
581
|
+
color: #f7e3af;
|
582
|
+
|
583
|
+
background-color: #70372c;
|
584
|
+
|
585
|
+
font-size: 4vw;
|
586
|
+
|
587
|
+
top: 50%;
|
588
|
+
|
589
|
+
left: 20;
|
590
|
+
|
591
|
+
padding: 1px 10px;
|
592
|
+
|
593
|
+
}
|
594
|
+
|
595
|
+
.dripcoffee_text{
|
596
|
+
|
597
|
+
position: absolute;
|
598
|
+
|
599
|
+
animation: fadeInUp;
|
600
|
+
|
601
|
+
animation-duration: 2s;
|
602
|
+
|
603
|
+
color: #f7e3af;
|
604
|
+
|
605
|
+
background-color: #70372c;
|
606
|
+
|
607
|
+
top: 65%;
|
608
|
+
|
609
|
+
left: 20;
|
610
|
+
|
611
|
+
font-size: 3vw;
|
612
|
+
|
613
|
+
padding: 1px 10px;
|
614
|
+
|
615
|
+
}
|
616
|
+
|
617
|
+
.orange_box{
|
618
|
+
|
619
|
+
margin: auto;
|
620
|
+
|
621
|
+
width: 100%;
|
622
|
+
|
623
|
+
position: relative;
|
624
|
+
|
625
|
+
z-index: 1;
|
626
|
+
|
627
|
+
}
|
628
|
+
|
629
|
+
.orange_box img{
|
630
|
+
|
631
|
+
width: 100%;
|
632
|
+
|
633
|
+
z-index: 1;
|
634
|
+
|
635
|
+
}
|
636
|
+
|
637
|
+
.orange{
|
638
|
+
|
639
|
+
animation: fadeInLeft;
|
640
|
+
|
641
|
+
animation-duration: 0.5s;
|
642
|
+
|
643
|
+
vertical-align: top;
|
644
|
+
|
645
|
+
padding: 0;
|
646
|
+
|
647
|
+
margin: 0;
|
648
|
+
|
649
|
+
z-index: 1;
|
650
|
+
|
651
|
+
}
|
652
|
+
|
653
|
+
.orange_index{
|
654
|
+
|
655
|
+
position: absolute;
|
656
|
+
|
657
|
+
text-align: left;
|
658
|
+
|
659
|
+
animation: fadeInLeft;
|
660
|
+
|
661
|
+
animation-duration: 2s;
|
662
|
+
|
663
|
+
color: #f7e3af;
|
664
|
+
|
665
|
+
font-size: 4vw;
|
666
|
+
|
667
|
+
background-color:#70372c;
|
668
|
+
|
669
|
+
top: 50%;
|
670
|
+
|
671
|
+
left: 0%;
|
672
|
+
|
673
|
+
padding: 1px 10px;
|
674
|
+
|
675
|
+
z-index: 1;
|
676
|
+
|
677
|
+
}
|
678
|
+
|
679
|
+
.orange_text{
|
680
|
+
|
681
|
+
text-align: left;
|
682
|
+
|
683
|
+
position: absolute;
|
684
|
+
|
685
|
+
animation: fadeInUp;
|
686
|
+
|
687
|
+
animation-duration: 2s;
|
688
|
+
|
689
|
+
color: #f7e3af;
|
690
|
+
|
691
|
+
font-size: 3vw;
|
692
|
+
|
693
|
+
background-color:#70372c;
|
694
|
+
|
695
|
+
top: 65%;
|
696
|
+
|
697
|
+
left: 0%;
|
698
|
+
|
699
|
+
padding: 1px 10px;
|
700
|
+
|
701
|
+
z-index: 1;
|
702
|
+
|
703
|
+
}
|
124
704
|
|
125
705
|
|
126
706
|
|
127
707
|
```
|
128
708
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
hei
|
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
|
-
.drawer-content {
|
182
|
-
|
183
|
-
width: 45%;/* ここの割合を小さくすると閉じる部分の領域が広がる */
|
184
|
-
|
185
|
-
height: 100%;
|
186
|
-
|
187
|
-
position: fixed;
|
188
|
-
|
189
|
-
top: 0;
|
190
|
-
|
191
|
-
left: 100%;/* メニューを画面外へ */
|
192
|
-
|
193
|
-
line-height: 100px;
|
194
|
-
|
195
|
-
z-index: 100;
|
196
|
-
|
197
|
-
background: rgba(247, 227, 175, 1);
|
198
|
-
|
199
|
-
transition: .2s;
|
200
|
-
|
201
|
-
color: #70372c;
|
202
|
-
|
203
|
-
}
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
/* アイコンがクリックされたらメニューを表示 */
|
208
|
-
|
209
|
-
#drawer-check:checked ~ .drawer-content {
|
210
|
-
|
211
|
-
left: 0;/* メニューを画面内へ */
|
212
|
-
|
213
|
-
}
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
/* メニューを閉じるための要素のデザイン*/
|
218
|
-
|
219
|
-
.drawer-close {
|
220
|
-
|
221
|
-
width: 100%;
|
222
|
-
|
223
|
-
height: 100%;
|
224
|
-
|
225
|
-
background: rgba(247, 227, 175, 0.6);
|
226
|
-
|
227
|
-
position: fixed;
|
228
|
-
|
229
|
-
top: 0;
|
230
|
-
|
231
|
-
left: 100%;/* 閉じるための要素を画面外へ */
|
232
|
-
|
233
|
-
z-index: 99;/* 重なり順をメニューより下に*/
|
234
|
-
|
235
|
-
transition: .1s;
|
236
|
-
|
237
|
-
}
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
#drawer-check:checked ~ .drawer-close {
|
242
|
-
|
243
|
-
left: 0;/* 閉じるための要素を画面内へ */
|
244
|
-
|
245
|
-
}
|
246
|
-
|
247
|
-
中略
|
248
|
-
|
249
|
-
.About_box{
|
250
|
-
|
251
|
-
margin: 0 auto;
|
252
|
-
|
253
|
-
z-index: 10;
|
254
|
-
|
255
|
-
}
|
256
|
-
|
257
|
-
.dripcoffee_box{
|
258
|
-
|
259
|
-
margin: auto;
|
260
|
-
|
261
|
-
width: 100%;
|
262
|
-
|
263
|
-
position: relative;
|
264
|
-
|
265
|
-
z-index: 0;
|
266
|
-
|
267
|
-
}
|
268
|
-
|
269
|
-
.dripcoffee_box img{
|
270
|
-
|
271
|
-
width: 100%;
|
272
|
-
|
273
|
-
position: relative;
|
274
|
-
|
275
|
-
}
|
276
|
-
|
277
|
-
.dripcoffee{
|
278
|
-
|
279
|
-
animation: fadeInRight;
|
280
|
-
|
281
|
-
animation-duration: 0.5s;
|
282
|
-
|
283
|
-
vertical-align: top;
|
284
|
-
|
285
|
-
padding: 0;
|
286
|
-
|
287
|
-
margin: 0;
|
288
|
-
|
289
|
-
}
|
290
|
-
|
291
|
-
.dripcoffee_index{
|
292
|
-
|
293
|
-
position: absolute;
|
294
|
-
|
295
|
-
animation: fadeInLeft;
|
296
|
-
|
297
|
-
animation-duration: 2s;
|
298
|
-
|
299
|
-
color: #f7e3af;
|
300
|
-
|
301
|
-
background-color: #70372c;
|
302
|
-
|
303
|
-
font-size: 4vw;
|
304
|
-
|
305
|
-
top: 50%;
|
306
|
-
|
307
|
-
left: 20;
|
308
|
-
|
309
|
-
padding: 1px 10px;
|
310
|
-
|
311
|
-
}
|
312
|
-
|
313
|
-
.dripcoffee_text{
|
314
|
-
|
315
|
-
position: absolute;
|
316
|
-
|
317
|
-
animation: fadeInUp;
|
318
|
-
|
319
|
-
animation-duration: 2s;
|
320
|
-
|
321
|
-
color: #f7e3af;
|
322
|
-
|
323
|
-
background-color: #70372c;
|
324
|
-
|
325
|
-
top: 65%;
|
326
|
-
|
327
|
-
left: 20;
|
328
|
-
|
329
|
-
font-size: 3vw;
|
330
|
-
|
331
|
-
padding: 1px 10px;
|
332
|
-
|
333
|
-
}
|
334
|
-
|
335
|
-
.orange_box{
|
336
|
-
|
337
|
-
margin: auto;
|
338
|
-
|
339
|
-
width: 100%;
|
340
|
-
|
341
|
-
position: relative;
|
342
|
-
|
343
|
-
z-index: 1;
|
344
|
-
|
345
|
-
}
|
346
|
-
|
347
|
-
.orange_box img{
|
348
|
-
|
349
|
-
width: 100%;
|
350
|
-
|
351
|
-
z-index: 1;
|
352
|
-
|
353
|
-
}
|
354
|
-
|
355
|
-
.orange{
|
356
|
-
|
357
|
-
animation: fadeInLeft;
|
358
|
-
|
359
|
-
animation-duration: 0.5s;
|
360
|
-
|
361
|
-
vertical-align: top;
|
362
|
-
|
363
|
-
padding: 0;
|
364
|
-
|
365
|
-
margin: 0;
|
366
|
-
|
367
|
-
z-index: 1;
|
368
|
-
|
369
|
-
}
|
370
|
-
|
371
|
-
.orange_index{
|
372
|
-
|
373
|
-
position: absolute;
|
374
|
-
|
375
|
-
text-align: left;
|
376
|
-
|
377
|
-
animation: fadeInLeft;
|
378
|
-
|
379
|
-
animation-duration: 2s;
|
380
|
-
|
381
|
-
color: #f7e3af;
|
382
|
-
|
383
|
-
font-size: 4vw;
|
384
|
-
|
385
|
-
background-color:#70372c;
|
386
|
-
|
387
|
-
top: 50%;
|
388
|
-
|
389
|
-
left: 0%;
|
390
|
-
|
391
|
-
padding: 1px 10px;
|
392
|
-
|
393
|
-
z-index: 1;
|
394
|
-
|
395
|
-
}
|
396
|
-
|
397
|
-
.orange_text{
|
398
|
-
|
399
|
-
text-align: left;
|
400
|
-
|
401
|
-
position: absolute;
|
402
|
-
|
403
|
-
animation: fadeInUp;
|
404
|
-
|
405
|
-
animation-duration: 2s;
|
406
|
-
|
407
|
-
color: #f7e3af;
|
408
|
-
|
409
|
-
font-size: 3vw;
|
410
|
-
|
411
|
-
background-color:#70372c;
|
412
|
-
|
413
|
-
top: 65%;
|
414
|
-
|
415
|
-
left: 0%;
|
416
|
-
|
417
|
-
padding: 1px 10px;
|
418
|
-
|
419
|
-
z-index: 1;
|
420
|
-
|
421
|
-
}
|
422
|
-
|
423
|
-
.menu_box{
|
424
|
-
|
425
|
-
position: relative;
|
426
|
-
|
427
|
-
width: 100%;
|
428
|
-
|
429
|
-
z-index: 1;
|
430
|
-
|
431
|
-
}
|
432
|
-
|
433
|
-
|
709
|
+
```JavaScript
|
710
|
+
|
711
|
+
$(function(){
|
712
|
+
|
713
|
+
$('a[href^="#"]').click(function(){
|
714
|
+
|
715
|
+
var speed = 500;
|
716
|
+
|
717
|
+
var href= $(this).attr("href");
|
718
|
+
|
719
|
+
var target = $(href == "#" || href == "" ? 'html' : href);
|
720
|
+
|
721
|
+
var position = target.offset().top;
|
722
|
+
|
723
|
+
$("html, body").animate({scrollTop:position}, speed, "swing");
|
724
|
+
|
725
|
+
return false;
|
726
|
+
|
727
|
+
});
|
728
|
+
|
729
|
+
});
|
730
|
+
|
731
|
+
$(function() {
|
732
|
+
|
733
|
+
$('.drawer-item>a').click(function() {
|
734
|
+
|
735
|
+
$('#drawer-check').removeAttr('checked').prop('checked', false).change();
|
736
|
+
|
737
|
+
});
|
738
|
+
|
739
|
+
})
|
740
|
+
|
741
|
+
$(window).on('scroll load',function () {
|
742
|
+
|
743
|
+
$('.animated').each(function(){
|
744
|
+
|
745
|
+
var $scrollBottom = $(window).scrollTop() + $(window).height();
|
746
|
+
|
747
|
+
var $torigger = $(this).offset().top;
|
748
|
+
|
749
|
+
if( $scrollBottom > $torigger) $(this).addClass('swing');
|
750
|
+
|
751
|
+
});
|
752
|
+
|
753
|
+
});
|
434
754
|
|
435
755
|
```
|
436
756
|
|
437
|
-
```JavaScript
|
438
|
-
|
439
|
-
$(function(){
|
440
|
-
|
441
|
-
$('a[href^="#"]').click(function(){
|
442
|
-
|
443
|
-
var speed = 500;
|
444
|
-
|
445
|
-
var href= $(this).attr("href");
|
446
|
-
|
447
|
-
var target = $(href == "#" || href == "" ? 'html' : href);
|
448
|
-
|
449
|
-
var position = target.offset().top;
|
450
|
-
|
451
|
-
$("html, body").animate({scrollTop:position}, speed, "swing");
|
452
|
-
|
453
|
-
return false;
|
454
|
-
|
455
|
-
});
|
456
|
-
|
457
|
-
});
|
458
|
-
|
459
|
-
$(function() {
|
460
|
-
|
461
|
-
$('.drawer-item>a').click(function() {
|
462
|
-
|
463
|
-
$('#drawer-check').removeAttr('checked').prop('checked', false).change();
|
464
|
-
|
465
|
-
});
|
466
|
-
|
467
|
-
})
|
468
|
-
|
469
|
-
$(window).on('scroll load',function () {
|
470
|
-
|
471
|
-
$('.animated').each(function(){
|
472
|
-
|
473
|
-
var $scrollBottom = $(window).scrollTop() + $(window).height();
|
474
|
-
|
475
|
-
var $torigger = $(this).offset().top;
|
476
|
-
|
477
|
-
if( $scrollBottom > $torigger) $(this).addClass('swing');
|
478
|
-
|
479
|
-
});
|
480
|
-
|
481
|
-
});
|
482
|
-
|
483
|
-
```
|
484
|
-
|
485
757
|
|
486
758
|
|
487
759
|
### 試したこと
|
@@ -489,3 +761,5 @@
|
|
489
761
|
|
490
762
|
|
491
763
|
CSSにてz-index: 0;やz-index: 1;を書いて重なり順を指定してみましたが、画像の下に隠れたままです。
|
764
|
+
|
765
|
+
Safari Chorome Firefox のブラウザで同様の問題を確認しております。
|