質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
下にコードを書いておきます。コードはめっちゃ見にくいと思いますが、どうか解決方法を教えてください。
|
4
4
|
|
5
|
-
|
5
|
+
|
6
6
|
|
7
7
|
```HTML
|
8
8
|
|
@@ -153,3 +153,391 @@
|
|
153
153
|
</body>
|
154
154
|
|
155
155
|
```
|
156
|
+
|
157
|
+
```css
|
158
|
+
|
159
|
+
html{
|
160
|
+
|
161
|
+
-webkit-overflow-scrolling: touch;
|
162
|
+
|
163
|
+
}
|
164
|
+
|
165
|
+
body{
|
166
|
+
|
167
|
+
margin: 0;
|
168
|
+
|
169
|
+
background: #000;
|
170
|
+
|
171
|
+
}
|
172
|
+
|
173
|
+
h1,h2,p{
|
174
|
+
|
175
|
+
margin: 0;
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
@media screen and (max-width: 700px){
|
180
|
+
|
181
|
+
img.forest{
|
182
|
+
|
183
|
+
position: fixed;
|
184
|
+
|
185
|
+
object-fit: cover;
|
186
|
+
|
187
|
+
width: 100vw;
|
188
|
+
|
189
|
+
height: 100vh;
|
190
|
+
|
191
|
+
z-index: -1;
|
192
|
+
|
193
|
+
}
|
194
|
+
|
195
|
+
img.mountain{
|
196
|
+
|
197
|
+
position: fixed;
|
198
|
+
|
199
|
+
object-fit: cover;
|
200
|
+
|
201
|
+
display: inline-block;
|
202
|
+
|
203
|
+
width: 100vw;
|
204
|
+
|
205
|
+
height: 100vh;
|
206
|
+
|
207
|
+
z-index: -3;
|
208
|
+
|
209
|
+
}
|
210
|
+
|
211
|
+
div.background{
|
212
|
+
|
213
|
+
background: black;
|
214
|
+
|
215
|
+
width: 100vw;
|
216
|
+
|
217
|
+
height: 200vw;
|
218
|
+
|
219
|
+
margin: 100vh 0 0 0;
|
220
|
+
|
221
|
+
position: fixed;
|
222
|
+
|
223
|
+
z-index: -2;
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
div.container{
|
228
|
+
|
229
|
+
color: aliceblue;
|
230
|
+
|
231
|
+
z-index: 1;
|
232
|
+
|
233
|
+
height: 1000vh;
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
div.container h1{
|
238
|
+
|
239
|
+
color: aliceblue;
|
240
|
+
|
241
|
+
position: absolute;
|
242
|
+
|
243
|
+
z-index: -2;
|
244
|
+
|
245
|
+
top: 30vh;
|
246
|
+
|
247
|
+
text-align: center;
|
248
|
+
|
249
|
+
opacity: 1;
|
250
|
+
|
251
|
+
}
|
252
|
+
|
253
|
+
div.container div.about h2.about_title{
|
254
|
+
|
255
|
+
position: fixed;
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
left: 50vw;
|
260
|
+
|
261
|
+
transform: translateX(-50%);
|
262
|
+
|
263
|
+
z-index: 3;
|
264
|
+
|
265
|
+
text-align: center;
|
266
|
+
|
267
|
+
opacity: 0;
|
268
|
+
|
269
|
+
margin-top: 20vw;
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
div.container div.about p.about_text{
|
274
|
+
|
275
|
+
position: fixed;
|
276
|
+
|
277
|
+
top: 50vh;
|
278
|
+
|
279
|
+
transform: translateY(-50%);
|
280
|
+
|
281
|
+
z-index: 3;
|
282
|
+
|
283
|
+
text-align: center;
|
284
|
+
|
285
|
+
margin: 5vw;
|
286
|
+
|
287
|
+
opacity: 0;
|
288
|
+
|
289
|
+
}
|
290
|
+
|
291
|
+
div.container div.present h2.present_title{
|
292
|
+
|
293
|
+
position: fixed;
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
left: 50vw;
|
298
|
+
|
299
|
+
transform: translateX(-50%);
|
300
|
+
|
301
|
+
z-index: 3;
|
302
|
+
|
303
|
+
text-align: center;
|
304
|
+
|
305
|
+
opacity: 0;
|
306
|
+
|
307
|
+
margin-top: 20vw;
|
308
|
+
|
309
|
+
}
|
310
|
+
|
311
|
+
div.container div.present p.present_text{
|
312
|
+
|
313
|
+
position: fixed;
|
314
|
+
|
315
|
+
top: 50vh;
|
316
|
+
|
317
|
+
transform: translateY(-50%);
|
318
|
+
|
319
|
+
z-index: 3;
|
320
|
+
|
321
|
+
text-align: center;
|
322
|
+
|
323
|
+
margin: 5vw;
|
324
|
+
|
325
|
+
opacity: 0;
|
326
|
+
|
327
|
+
}
|
328
|
+
|
329
|
+
div.container div.present div.present_image_area{
|
330
|
+
|
331
|
+
display: flex;
|
332
|
+
|
333
|
+
flex-direction: column;
|
334
|
+
|
335
|
+
position: fixed;
|
336
|
+
|
337
|
+
top: 50vh;
|
338
|
+
|
339
|
+
left: 50vw;
|
340
|
+
|
341
|
+
transform: translate(-50%, -50%);
|
342
|
+
|
343
|
+
}
|
344
|
+
|
345
|
+
div.container div.present div.present_image_area img.present_image{
|
346
|
+
|
347
|
+
z-index: 3;
|
348
|
+
|
349
|
+
opacity: 0;
|
350
|
+
|
351
|
+
width: 80vw;
|
352
|
+
|
353
|
+
height: auto;
|
354
|
+
|
355
|
+
}
|
356
|
+
|
357
|
+
div.container div.present div.present_image_area img.present_image:nth-child(1){
|
358
|
+
|
359
|
+
margin-bottom: 5vw;
|
360
|
+
|
361
|
+
}
|
362
|
+
|
363
|
+
div.container div.conclusion h2.conclusion_title{
|
364
|
+
|
365
|
+
position: fixed;
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
left: 50vw;
|
370
|
+
|
371
|
+
transform: translateX(-50%);
|
372
|
+
|
373
|
+
z-index: 3;
|
374
|
+
|
375
|
+
text-align: center;
|
376
|
+
|
377
|
+
opacity: 0;
|
378
|
+
|
379
|
+
margin-top: 20vw;
|
380
|
+
|
381
|
+
}
|
382
|
+
|
383
|
+
div.container div.conclusion p.conclusion_text{
|
384
|
+
|
385
|
+
position: fixed;
|
386
|
+
|
387
|
+
top: 50vh;
|
388
|
+
|
389
|
+
transform: translateY(-50%);
|
390
|
+
|
391
|
+
z-index: 3;
|
392
|
+
|
393
|
+
text-align: center;
|
394
|
+
|
395
|
+
margin: 5vw;
|
396
|
+
|
397
|
+
opacity: 0;
|
398
|
+
|
399
|
+
}
|
400
|
+
|
401
|
+
div.container div.card_area{
|
402
|
+
|
403
|
+
position: fixed ;
|
404
|
+
|
405
|
+
box-sizing: border-box;
|
406
|
+
|
407
|
+
display: flex;
|
408
|
+
|
409
|
+
justify-content: center;
|
410
|
+
|
411
|
+
flex-wrap: wrap;
|
412
|
+
|
413
|
+
z-index: 3;
|
414
|
+
|
415
|
+
opacity: 0;
|
416
|
+
|
417
|
+
}
|
418
|
+
|
419
|
+
div.container div.card_area a{
|
420
|
+
|
421
|
+
display: inline-block;
|
422
|
+
|
423
|
+
text-decoration: none;
|
424
|
+
|
425
|
+
backdrop-filter: blur(50px);
|
426
|
+
|
427
|
+
}
|
428
|
+
|
429
|
+
div.container div.card_area a div.card{
|
430
|
+
|
431
|
+
position: relative;
|
432
|
+
|
433
|
+
width: 70vw;
|
434
|
+
|
435
|
+
height: 30vh;
|
436
|
+
|
437
|
+
margin: 2vh 0 0 0;
|
438
|
+
|
439
|
+
box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
|
440
|
+
|
441
|
+
border-radius: 15px;
|
442
|
+
|
443
|
+
background: rgba(255, 255, 255, 0.1);
|
444
|
+
|
445
|
+
overflow: hidden;
|
446
|
+
|
447
|
+
display: flex;
|
448
|
+
|
449
|
+
justify-content: center;
|
450
|
+
|
451
|
+
align-items: center;
|
452
|
+
|
453
|
+
border-top: 1px solid rgba(255, 255, 255, 0.5);
|
454
|
+
|
455
|
+
border-left: 1px solid rgba(255, 255, 255, 0.5);
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
}
|
460
|
+
|
461
|
+
div.container div.card_area a div.card div.content{
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
text-align: center;
|
466
|
+
|
467
|
+
transition: 0.5s;
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
div.container div.card_area a div.card div.content h3{
|
472
|
+
|
473
|
+
position: absolute;
|
474
|
+
|
475
|
+
top: 0vw;
|
476
|
+
|
477
|
+
right: 10vw;
|
478
|
+
|
479
|
+
color: rgba(255, 255, 255, 0.2);
|
480
|
+
|
481
|
+
pointer-events: none;
|
482
|
+
|
483
|
+
font-size: 10vh;
|
484
|
+
|
485
|
+
}
|
486
|
+
|
487
|
+
div.container div.card_area a div.card div.content p{
|
488
|
+
|
489
|
+
color: #fff;
|
490
|
+
|
491
|
+
font-weight: 300;
|
492
|
+
|
493
|
+
}
|
494
|
+
|
495
|
+
div.container div.card_area::before{
|
496
|
+
|
497
|
+
content: '';
|
498
|
+
|
499
|
+
position: absolute;
|
500
|
+
|
501
|
+
top: 0;
|
502
|
+
|
503
|
+
left: 0;
|
504
|
+
|
505
|
+
width: 100%;
|
506
|
+
|
507
|
+
height: 100%;
|
508
|
+
|
509
|
+
background: linear-gradient(#7b7b7b);
|
510
|
+
|
511
|
+
clip-path: circle(30% at right 70%);
|
512
|
+
|
513
|
+
z-index: -1;
|
514
|
+
|
515
|
+
}
|
516
|
+
|
517
|
+
div.container div.card_area::after{
|
518
|
+
|
519
|
+
content: '';
|
520
|
+
|
521
|
+
position: absolute;
|
522
|
+
|
523
|
+
top: 0;
|
524
|
+
|
525
|
+
left: 0;
|
526
|
+
|
527
|
+
width: 100%;
|
528
|
+
|
529
|
+
height: 100%;
|
530
|
+
|
531
|
+
background: linear-gradient(rgb(255 255 255),rgb(255 161 0));
|
532
|
+
|
533
|
+
clip-path: circle(20% at 10% 10%);
|
534
|
+
|
535
|
+
z-index: -1;
|
536
|
+
|
537
|
+
}
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
}
|
542
|
+
|
543
|
+
```
|