質問編集履歴

1

cssの全体的な記載を増やしました。

2022/01/06 05:21

投稿

7seHAL
7seHAL

スコア4

test CHANGED
File without changes
test CHANGED
@@ -54,6 +54,364 @@
54
54
 
55
55
  【css】
56
56
 
57
+ html{
58
+
59
+ font-size: 62.5%;/*16px x 62.5%=10px*/
60
+
61
+ }
62
+
63
+ body{
64
+
65
+ color: #333;
66
+
67
+ font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
68
+
69
+ font-size: 1.8rem;
70
+
71
+ background:#eaeaea;
72
+
73
+ font-feature-settings: "palt";
74
+
75
+ line-height: 24px;
76
+
77
+ letter-spacing: 1px;
78
+
79
+ word-break: break-all;
80
+
81
+ margin: 0;
82
+
83
+ }
84
+
85
+ a{
86
+
87
+ color: #333333;
88
+
89
+ text-decoration: none;
90
+
91
+ }
92
+
93
+
94
+
95
+ strong{
96
+
97
+ background: linear-gradient(transparent 60%, #e79324 60%);
98
+
99
+ }
100
+
101
+
102
+
103
+ img{
104
+
105
+ max-width: 100%;
106
+
107
+ height: auto;
108
+
109
+ }
110
+
111
+
112
+
113
+ p{
114
+
115
+ margin: 15px 0;
116
+
117
+ }
118
+
119
+
120
+
121
+
122
+
123
+ a{
124
+
125
+ transition: all 0.2s;
126
+
127
+ }
128
+
129
+
130
+
131
+ a:hover{
132
+
133
+ opacity: 0.4;
134
+
135
+ }
136
+
137
+
138
+
139
+
140
+
141
+ h2 {
142
+
143
+ color:#fff;
144
+
145
+ padding: 2rem 3rem;
146
+
147
+ border-left: 20px solid #1d4057;
148
+
149
+ background: #020507;
150
+
151
+ }
152
+
153
+
154
+
155
+ /*utility*/
156
+
157
+ .wrapper{
158
+
159
+ box-sizing: border-box;
160
+
161
+ margin: 100px auto;
162
+
163
+ padding: 0 80px;
164
+
165
+ }
166
+
167
+
168
+
169
+ .img-pc{
170
+
171
+ display: block;
172
+
173
+ }
174
+
175
+
176
+
177
+ .img-sp{
178
+
179
+ display: none;
180
+
181
+ }
182
+
183
+
184
+
185
+ .br-reverse{
186
+
187
+ display: none;
188
+
189
+ }
190
+
191
+
192
+
193
+ .text-center{
194
+
195
+ text-align: center;
196
+
197
+ margin: 0 auto;
198
+
199
+ }
200
+
201
+
202
+
203
+ .text-bold{
204
+
205
+ font-weight: 700;
206
+
207
+ }
208
+
209
+
210
+
211
+ .text-orange{
212
+
213
+ color: #e79324;
214
+
215
+ }
216
+
217
+
218
+
219
+ .text_big{
220
+
221
+ font-size: 1.5rem;
222
+
223
+ }
224
+
225
+
226
+
227
+ .text{
228
+
229
+ margin: 0 20px;
230
+
231
+ }
232
+
233
+
234
+
235
+ .bg_white{
236
+
237
+ background-color: #ffffff;
238
+
239
+ }
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+ .clearfix::after {
248
+
249
+ content: "";
250
+
251
+ display: block;
252
+
253
+ clear: both;
254
+
255
+ }
256
+
257
+
258
+
259
+ .box{
260
+
261
+ padding: 1.5em 1em;
262
+
263
+ margin: 2em auto;
264
+
265
+ font-weight: bold;
266
+
267
+ background: #FFF;
268
+
269
+ border: solid 1.5px #e79324;
270
+
271
+ border-radius: 15px;
272
+
273
+ width: 700px;
274
+
275
+ }
276
+
277
+
278
+
279
+ .box2{
280
+
281
+ padding: 1.5em 1em;
282
+
283
+ margin: 2em auto;
284
+
285
+ font-weight: bold;
286
+
287
+ background: #FFF;
288
+
289
+ border: solid 1.5px #e79324;
290
+
291
+ border-radius: 15px;
292
+
293
+ width: auto;
294
+
295
+ }
296
+
297
+
298
+
299
+ /*section*/
300
+
301
+ .section-header{
302
+
303
+ top: 0%;
304
+
305
+ left: 0%;
306
+
307
+ z-index: 110;
308
+
309
+ padding: 0;
310
+
311
+ }
312
+
313
+
314
+
315
+
316
+
317
+ .section-main{
318
+
319
+ padding: 30px 80px;
320
+
321
+ }
322
+
323
+
324
+
325
+ .section-new{
326
+
327
+ margin: 40px 0 40px 0;
328
+
329
+ padding: 30px 15px;
330
+
331
+ }
332
+
333
+
334
+
335
+ .section-footer{
336
+
337
+ padding: 20px;
338
+
339
+ text-align: center;
340
+
341
+ background: #b9dca9;
342
+
343
+ color: #ffffff;
344
+
345
+ margin: 0px ;
346
+
347
+
348
+
349
+ }
350
+
351
+
352
+
353
+ .footer-img{
354
+
355
+ height: 30px;
356
+
357
+ margin-bottom: 15px;
358
+
359
+ }
360
+
361
+
362
+
363
+ .section-info{
364
+
365
+ margin: 0 0 40px 0;
366
+
367
+ }
368
+
369
+
370
+
371
+
372
+
373
+ .section-news{
374
+
375
+ margin: 30px 0 60px 0;
376
+
377
+ padding-top: 78px;
378
+
379
+ }
380
+
381
+
382
+
383
+ /*header*/
384
+
385
+
386
+
387
+ .logo{
388
+
389
+ width: 250px;
390
+
391
+ height: auto;
392
+
393
+ margin: 0 auto;
394
+
395
+ }
396
+
397
+
398
+
399
+ .container img {
400
+
401
+ width: 100%;
402
+
403
+ height: 100%;
404
+
405
+ object-fit: cover;
406
+
407
+ }
408
+
409
+
410
+
411
+
412
+
413
+ /*navigation*/
414
+
57
415
  nav{
58
416
 
59
417
  text-align: center;
@@ -90,6 +448,8 @@
90
448
 
91
449
 
92
450
 
451
+
452
+
93
453
 
94
454
 
95
455
  .btn-trigger{
@@ -98,8 +458,6 @@
98
458
 
99
459
  }
100
460
 
101
-
102
-
103
461
 
104
462
 
105
463
  .navigation {
@@ -134,7 +492,9 @@
134
492
 
135
493
 
136
494
 
495
+
496
+
137
- .nav-list{
497
+ .nav-list{
138
498
 
139
499
  display: flex;
140
500
 
@@ -144,11 +504,9 @@
144
504
 
145
505
  }
146
506
 
147
-
148
-
149
-
150
-
507
+
508
+
151
- .nav-item{
509
+ .nav-item{
152
510
 
153
511
  margin: 0 auto;
154
512
 
@@ -158,7 +516,9 @@
158
516
 
159
517
 
160
518
 
519
+
520
+
161
- .l-horizon .nav-item.current>a {
521
+ .l-horizon .nav-item.current>a {
162
522
 
163
523
  color: #aaa;
164
524
 
@@ -168,7 +528,9 @@
168
528
 
169
529
 
170
530
 
531
+
532
+
171
- .l-horizon .nav-item>a {
533
+ .l-horizon .nav-item>a {
172
534
 
173
535
  display: block;
174
536
 
@@ -182,9 +544,7 @@
182
544
 
183
545
 
184
546
 
185
-
186
-
187
- nav li:not(:nth-child(2)) {
547
+ nav li:not(:nth-child(2)) {
188
548
 
189
549
  border-right: 1px solid #5d5d5d;
190
550
 
@@ -192,9 +552,7 @@
192
552
 
193
553
 
194
554
 
195
-
196
-
197
- nav li {
555
+ nav li {
198
556
 
199
557
  list-style: none;
200
558
 
@@ -208,20 +566,18 @@
208
566
 
209
567
 
210
568
 
211
-
212
-
213
- .nav-item {
569
+ .nav-item {
214
570
 
215
571
  margin: 0 auto;
216
572
 
217
- min-width: 600px;
218
-
219
573
  }
220
574
 
221
575
 
222
576
 
223
577
 
224
578
 
579
+ /*ナビゲーションのリンク設定*/
580
+
225
581
  nav ul li a {
226
582
 
227
583
  display: block;
@@ -238,8 +594,6 @@
238
594
 
239
595
 
240
596
 
241
-
242
-
243
597
  nav ul li li a{
244
598
 
245
599
  text-align: left;