質問編集履歴

3

コードの変更。

2020/09/05 07:10

投稿

takawork
takawork

スコア95

test CHANGED
File without changes
test CHANGED
@@ -10,8 +10,6 @@
10
10
 
11
11
  ```scss
12
12
 
13
- @charset "UTF-8";
14
-
15
13
  /* CSSのリセット */
16
14
 
17
15
  * {

2

コードの修正(全体を載せました)

2020/09/05 07:10

投稿

takawork
takawork

スコア95

test CHANGED
File without changes
test CHANGED
@@ -8,860 +8,566 @@
8
8
 
9
9
 
10
10
 
11
+ ```scss
12
+
13
+ @charset "UTF-8";
14
+
15
+ /* CSSのリセット */
16
+
17
+ * {
18
+
19
+ margin: 0;
20
+
21
+ padding: 0;
22
+
23
+ -webkit-box-sizing: border-box;
24
+
25
+ box-sizing: border-box;
26
+
27
+ outline: none;
28
+
29
+ font-family: 'Roboto', sans-serif;
30
+
31
+ }
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ /* メインビジュアル */
40
+
41
+ .mv {
42
+
43
+ height: 500px;
44
+
45
+ background-color: #ABCDD6;
46
+
47
+ /* MV右側 */
48
+
49
+ }
50
+
51
+
52
+
53
+ .mv-item {
54
+
55
+ max-width: 1140px;
56
+
57
+ margin: 0 auto;
58
+
59
+ display: -webkit-box;
60
+
61
+ display: -ms-flexbox;
62
+
63
+ display: flex;
64
+
65
+ }
66
+
67
+
68
+
69
+ .mv-left {
70
+
71
+ width: 50%;
72
+
73
+ padding-top: 20px;
74
+
75
+ padding-left: 35px;
76
+
77
+ /* border:2px solid red; */
78
+
79
+ }
80
+
81
+
82
+
83
+ .mv-left h1 {
84
+
85
+ font-size: 36px;
86
+
87
+ /* border:2px solid red; */
88
+
89
+ }
90
+
91
+
92
+
93
+ .mv-left-search span {
94
+
95
+ font-size: 28px;
96
+
97
+ color: red;
98
+
99
+ font-weight: bold;
100
+
101
+ }
102
+
103
+
104
+
105
+ .mv-input {
106
+
107
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
108
+
109
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
110
+
111
+ border-radius: 8px;
112
+
113
+ display: -webkit-box;
114
+
115
+ display: -ms-flexbox;
116
+
117
+ display: flex;
118
+
119
+ margin-top: 8px;
120
+
121
+ max-width: 480px;
122
+
123
+ /* border:2px solid red; */
124
+
125
+ }
126
+
127
+
128
+
129
+ .mv-input > * {
130
+
131
+ height: 50px;
132
+
133
+ padding: 8px;
134
+
135
+ -webkit-box-sizing: border-box;
136
+
137
+ box-sizing: border-box;
138
+
139
+ outline: none;
140
+
141
+ border: 2px solid black;
142
+
143
+ }
144
+
145
+
146
+
147
+ .mv .search-input {
148
+
149
+ width: 100%;
150
+
151
+ font-size: 16px;
152
+
153
+ border-right: none;
154
+
155
+ border-radius: 8px 0 0 8px;
156
+
157
+ }
158
+
159
+
160
+
161
+ .mv .search-btn {
162
+
163
+ width: 100px;
164
+
165
+ font-size: 32px;
166
+
167
+ line-height: 1;
168
+
169
+ cursor: pointer;
170
+
171
+ border-radius: 0 8px 8px 0;
172
+
173
+ background-color: #ffcc00;
174
+
175
+ }
176
+
177
+
178
+
179
+ .mv .recomend-keyword {
180
+
181
+ padding-top: 12px;
182
+
183
+ }
184
+
185
+
186
+
187
+ .mv .recomend-keyword-tag {
188
+
189
+ list-style: none;
190
+
191
+ padding-top: 12px;
192
+
193
+ display: -webkit-box;
194
+
195
+ display: -ms-flexbox;
196
+
197
+ display: flex;
198
+
199
+ -ms-flex-wrap: wrap;
200
+
201
+ flex-wrap: wrap;
202
+
203
+ }
204
+
205
+
206
+
207
+ .mv .recomend-keyword-tag a {
208
+
209
+ background-color: #00acee;
210
+
211
+ border: 2px solid black;
212
+
213
+ margin-left: 6px;
214
+
215
+ margin-top: 6px;
216
+
217
+ border-radius: 4px;
218
+
219
+ padding: 2px 10px;
220
+
221
+ font-weight: bold;
222
+
223
+ cursor: pointer;
224
+
225
+ font-size: 12px;
226
+
227
+ font-weight: bold;
228
+
229
+ display: block;
230
+
231
+ padding: 7px;
232
+
233
+ font-size: 12px;
234
+
235
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
236
+
237
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
238
+
239
+ border-radius: 8px;
240
+
241
+ }
242
+
243
+
244
+
245
+ .mv-right {
246
+
247
+ width: 50%;
248
+
249
+ padding-top: 20px;
250
+
251
+ padding-right: 35px;
252
+
253
+ position: relative;
254
+
255
+ /* border:2px solid red; */
256
+
257
+ }
258
+
259
+
260
+
261
+ .mv .japanMap {
262
+
263
+ height: 400px;
264
+
265
+ margin: 0 auto;
266
+
267
+ /* border:2px solid red; */
268
+
269
+ }
270
+
271
+
272
+
273
+ .mv .map-area {
274
+
275
+ -webkit-box-sizing: border-box;
276
+
277
+ box-sizing: border-box;
278
+
279
+ width: 66px;
280
+
281
+ border: 2px solid black;
282
+
283
+ border-radius: 6px;
284
+
285
+ overflow: hidden;
286
+
287
+ }
288
+
289
+
290
+
291
+ .mv .map-area li {
292
+
293
+ list-style: none;
294
+
295
+ border-bottom: 2px solid black;
296
+
297
+ padding: 2px;
298
+
299
+ width: 66px;
300
+
301
+ height: 28px;
302
+
303
+ font-size: 14px;
304
+
305
+ font-weight: 700;
306
+
307
+ overflow: hidden;
308
+
309
+ background-color: #ffcc00;
310
+
311
+ display: -webkit-box;
312
+
313
+ display: -ms-flexbox;
314
+
315
+ display: flex;
316
+
317
+ -webkit-box-pack: center;
318
+
319
+ -ms-flex-pack: center;
320
+
321
+ justify-content: center;
322
+
323
+ }
324
+
325
+
326
+
327
+ .mv .map-area a {
328
+
329
+ color: #030201;
330
+
331
+ text-decoration: none;
332
+
333
+ }
334
+
335
+
336
+
337
+ .mv .map-area li:last-child {
338
+
339
+ border-bottom: none;
340
+
341
+ }
342
+
343
+
344
+
345
+ /* 以下2列(.multi)の場合 */
346
+
347
+ .map-area.multi {
348
+
349
+ display: -webkit-box;
350
+
351
+ display: -ms-flexbox;
352
+
353
+ display: flex;
354
+
355
+ width: 136px;
356
+
357
+ -ms-flex-wrap: wrap;
358
+
359
+ flex-wrap: wrap;
360
+
361
+ }
362
+
363
+
364
+
365
+ .map-area.multi li:nth-child(odd) {
366
+
367
+ border-right: 2px solid black;
368
+
369
+ }
370
+
371
+
372
+
373
+ .map-area.multi li:nth-last-child(2) {
374
+
375
+ border-bottom: none;
376
+
377
+ }
378
+
379
+
380
+
381
+ /* 県ごと */
382
+
383
+ .map-area.kyushu {
384
+
385
+ position: absolute;
386
+
387
+ top: 100px;
388
+
389
+ left: 10px;
390
+
391
+ -webkit-box-shadow: 0 2px 4px black;
392
+
393
+ box-shadow: 0 2px 4px black;
394
+
395
+ border-radius: 8px;
396
+
397
+ }
398
+
399
+
400
+
401
+ .map-area.chugoku {
402
+
403
+ position: absolute;
404
+
405
+ top: 100px;
406
+
407
+ left: 80px;
408
+
409
+ -webkit-box-shadow: 0 2px 4px black;
410
+
411
+ box-shadow: 0 2px 4px black;
412
+
413
+ border-radius: 8px;
414
+
415
+ }
416
+
417
+
418
+
419
+ .map-area.kansai {
420
+
421
+ position: absolute;
422
+
423
+ top: 156px;
424
+
425
+ left: 150px;
426
+
427
+ -webkit-box-shadow: 0 2px 4px black;
428
+
429
+ box-shadow: 0 2px 4px black;
430
+
431
+ border-radius: 8px;
432
+
433
+ }
434
+
435
+
436
+
437
+ .map-area.shikoku {
438
+
439
+ position: absolute;
440
+
441
+ top: 320px;
442
+
443
+ left: 100px;
444
+
445
+ -webkit-box-shadow: 0 2px 4px black;
446
+
447
+ box-shadow: 0 2px 4px black;
448
+
449
+ border-radius: 8px;
450
+
451
+ }
452
+
453
+
454
+
455
+ .map-area.chubu {
456
+
457
+ position: absolute;
458
+
459
+ top: 300px;
460
+
461
+ left: 245px;
462
+
463
+ -webkit-box-shadow: 0 2px 4px black;
464
+
465
+ box-shadow: 0 2px 4px black;
466
+
467
+ border-radius: 8px;
468
+
469
+ }
470
+
471
+
472
+
473
+ .map-area.hokuriku {
474
+
475
+ position: absolute;
476
+
477
+ top: 100px;
478
+
479
+ left: 290px;
480
+
481
+ -webkit-box-shadow: 0 2px 4px black;
482
+
483
+ box-shadow: 0 2px 4px black;
484
+
485
+ border-radius: 8px;
486
+
487
+ }
488
+
489
+
490
+
491
+ .map-area.touhoku {
492
+
493
+ position: absolute;
494
+
495
+ top: 200px;
496
+
497
+ left: 400px;
498
+
499
+ -webkit-box-shadow: 0 2px 4px black;
500
+
501
+ box-shadow: 0 2px 4px black;
502
+
503
+ border-radius: 8px;
504
+
505
+ }
506
+
507
+
508
+
509
+ .map-area.kantou {
510
+
511
+ position: absolute;
512
+
513
+ top: 300px;
514
+
515
+ left: 400px;
516
+
517
+ -webkit-box-shadow: 0 2px 4px black;
518
+
519
+ box-shadow: 0 2px 4px black;
520
+
521
+ border-radius: 8px;
522
+
523
+ }
524
+
525
+
526
+
527
+ .map-area.hokkaido {
528
+
529
+ position: absolute;
530
+
531
+ top: 60px;
532
+
533
+ left: 430px;
534
+
535
+ -webkit-box-shadow: 0 2px 4px black;
536
+
537
+ box-shadow: 0 2px 4px black;
538
+
539
+ border-radius: 8px;
540
+
541
+ }
542
+
543
+
544
+
545
+ .map-area.okinawa {
546
+
547
+ position: absolute;
548
+
549
+ top: 400px;
550
+
551
+ left: 10px;
552
+
553
+ -webkit-box-shadow: 0 2px 4px black;
554
+
555
+ box-shadow: 0 2px 4px black;
556
+
557
+ border-radius: 8px;
558
+
559
+ }
560
+
561
+
562
+
563
+
564
+
11
565
  ```
12
566
 
13
- /* CSSのリセット */
14
-
15
- * {
16
-
17
- margin: 0;
18
-
19
- padding: 0;
20
-
21
- box-sizing: border-box;
22
-
23
- outline: none;
24
-
25
- font-family: 'Roboto', sans-serif;
26
-
27
- }
28
-
29
- .mv {
30
-
31
- 〜〜〜
32
-
33
-
34
-
35
- .mv {
36
-
37
- height: 500px;
38
-
39
- background-color: #ABCDD6;
40
-
41
- &-item {
42
-
43
- max-width: 1140px;
44
-
45
- margin: 0 auto;
46
-
47
- display: flex;
48
-
49
-
50
-
51
- }
52
-
53
- // MV左側
54
-
55
- &-left {
56
-
57
- width:50%;
58
-
59
- padding-top:20px;
60
-
61
- padding-left:35px;
62
-
63
- /* border:2px solid red; */
64
-
65
- h1 {
66
-
67
- font-size:36px;
68
-
69
- /* border:2px solid red; */
70
-
71
- }
72
-
73
-
74
-
75
- &-search span {
76
-
77
- font-size:28px;
78
-
79
- color:red;
80
-
81
- font-weight: bold;
82
-
83
- }
84
-
85
- }
86
-
87
- &-input {
88
-
89
- box-shadow: 0 2px 4px rgba(0, 0, 0, .28);
90
-
91
- border-radius: 8px;
92
-
93
- display: flex;
94
-
95
- margin-top: 8px;
96
-
97
- max-width: 480px;
98
-
99
- /* border:2px solid red; */
100
-
101
- }
102
-
103
- &-input>* {
104
-
105
- height: 50px;
106
-
107
- padding: 8px;
108
-
109
- box-sizing: border-box;
110
-
111
- outline: none;
112
-
113
- border: 2px solid black;
114
-
115
- }
116
-
117
- .search-input {
118
-
119
- width: 100%;
120
-
121
- font-size: 16px;
122
-
123
- border-right: none;
124
-
125
- border-radius: 8px 0 0 8px;
126
-
127
- }
128
-
129
- .search-btn {
130
-
131
- width: 100px;
132
-
133
- font-size: 32px;
134
-
135
- line-height: 1;
136
-
137
- cursor: pointer;
138
-
139
- border-radius: 0 8px 8px 0;
140
-
141
- background-color: #ffcc00;
142
-
143
- }
144
-
145
- .recomend-keyword {
146
-
147
- padding-top:12px;
148
-
149
- &-tag {
150
-
151
- list-style: none;
152
-
153
- padding-top:12px;
154
-
155
- display: flex;
156
-
157
- flex-wrap: wrap;
158
-
159
- a {
160
-
161
- background-color:#00acee;
162
-
163
- border:2px solid black;
164
-
165
- margin-left:6px;
166
-
167
- margin-top:6px;
168
-
169
- border-radius: 4px;
170
-
171
- padding:2px 10px;
172
-
173
- font-weight: bold;
174
-
175
- cursor: pointer;
176
-
177
- font-size:12px;
178
-
179
- font-weight:bold;
180
-
181
- display: block;
182
-
183
- padding: 7px;
184
-
185
- font-size:12px;
186
-
187
- box-shadow: 0 2px 4px rgba(0, 0, 0, .28);
188
-
189
- border-radius: 8px;
190
-
191
- }
192
-
193
- }
194
-
195
-
196
-
197
- }
198
-
199
- /* MV右側 */
200
-
201
- &-right {
202
-
203
- width:50%;
204
-
205
- padding-top:20px;
206
-
207
- padding-right:35px;
208
-
209
- position:relative;
210
-
211
- /* border:2px solid red; */
212
-
213
- }
214
-
215
- .japanMap {
216
-
217
- height: 400px;
218
-
219
- margin:0 auto;
220
-
221
- /* border:2px solid red; */
222
-
223
- }
224
-
225
- .map-area {
226
-
227
- box-sizing: border-box;
228
-
229
- width: 66px;
230
-
231
- border:2px solid black;
232
-
233
- border-radius: 6px;
234
-
235
- overflow: hidden;
236
-
237
- li {
238
-
239
- list-style:none;
240
-
241
- border-bottom: 2px solid black;
242
-
243
- padding:2px;
244
-
245
- width:66px;
246
-
247
- height:28px;
248
-
249
- font-size:14px;
250
-
251
- font-weight: 700;
252
-
253
- overflow:hidden;
254
-
255
- background-color:#ffcc00;
256
-
257
- display: flex;
258
-
259
- justify-content: center;
260
-
261
- }
262
-
263
-
264
-
265
- a {
266
-
267
- color: #030201;
268
-
269
- text-decoration: none;
270
-
271
- }
272
-
273
- li:last-child {
274
-
275
- border-bottom: none;
276
-
277
- }
278
-
279
- }
280
-
281
- }
282
-
283
-
284
-
285
-
286
-
287
- /* 以下2列(.multi)の場合 */
288
-
289
- .map-area.multi {
290
-
291
- display: flex;
292
-
293
- width: 136px;
294
-
295
- flex-wrap: wrap;
296
-
297
- }
298
-
299
- .map-area.multi li:nth-child(odd){
300
-
301
- border-right:2px solid black;
302
-
303
- }
304
-
305
- .map-area.multi li:nth-last-child(2){
306
-
307
- border-bottom: none;
308
-
309
- }
310
-
311
-
312
-
313
- /* 県ごと */
314
-
315
- .map-area.kyushu {
316
-
317
- position: absolute;
318
-
319
- top:100px;
320
-
321
- left:10px;
322
-
323
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
324
-
325
- border-radius: 8px;
326
-
327
- }
328
-
329
- .map-area.chugoku {
330
-
331
- position: absolute;
332
-
333
- top:100px;
334
-
335
- left:80px;
336
-
337
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
338
-
339
- border-radius: 8px;
340
-
341
- }
342
-
343
- .map-area.kansai {
344
-
345
- position: absolute;
346
-
347
- top:156px;
348
-
349
- left:150px;
350
-
351
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
352
-
353
- border-radius: 8px;
354
-
355
- }
356
-
357
- .map-area.shikoku {
358
-
359
- position: absolute;
360
-
361
- top:320px;
362
-
363
- left:100px;
364
-
365
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
366
-
367
- border-radius: 8px;
368
-
369
- }
370
-
371
- .map-area.chubu {
372
-
373
- position: absolute;
374
-
375
- top:300px;
376
-
377
- left:245px;
378
-
379
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
380
-
381
- border-radius: 8px;
382
-
383
- }
384
-
385
- .map-area.hokuriku {
386
-
387
- position: absolute;
388
-
389
- top:100px;
390
-
391
- left:290px;
392
-
393
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
394
-
395
- border-radius: 8px;
396
-
397
- }
398
-
399
- .map-area.touhoku {
400
-
401
- position: absolute;
402
-
403
- top:200px;
404
-
405
- left:400px;
406
-
407
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
408
-
409
- border-radius: 8px;
410
-
411
- }
412
-
413
- .map-area.kantou {
414
-
415
- position: absolute;
416
-
417
- top:300px;
418
-
419
- left:400px;
420
-
421
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
422
-
423
- border-radius: 8px;
424
-
425
- }
426
-
427
- .map-area.hokkaido {
428
-
429
- position: absolute;
430
-
431
- top:60px;
432
-
433
- left:430px;
434
-
435
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
436
-
437
- border-radius: 8px;
438
-
439
- }
440
-
441
- .map-area.okinawa {
442
-
443
- position: absolute;
444
-
445
- top:400px;
446
-
447
- left:10px;
448
-
449
- box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
450
-
451
- border-radius: 8px;
452
-
453
- }
454
-
455
- /* よく分かる代理店選びガイド */
456
-
457
- .guide {
458
-
459
- height: 700px;
460
-
461
- background-color:#FDECE6;
462
-
463
- }
464
-
465
- .guide-content {
466
-
467
- max-width: 1140px;
468
-
469
- margin:0 auto;
470
-
471
- }
472
-
473
- .guide-ttl {
474
-
475
- margin:0px auto;
476
-
477
- padding-top:20px;
478
-
479
- text-align: center;
480
-
481
- }
482
-
483
- .guide-ttl img{
484
-
485
- width:500px;
486
-
487
- }
488
-
489
- .guide-text {
490
-
491
- margin:0px auto;
492
-
493
- padding-top:8px;
494
-
495
- padding-bottom:20px;
496
-
497
- width:900px;
498
-
499
- }
500
-
501
- .guide-text p{
502
-
503
- text-align: center;
504
-
505
- font-size: 20px;
506
-
507
- font-weight: bold;
508
-
509
- }
510
-
511
- // よく分かる代理店ガイドのボックス
512
-
513
- .pa-top-guilde-list {
514
-
515
- margin-top: 4px;
516
-
517
- }
518
-
519
- .c-grid {
520
-
521
- display:flex;
522
-
523
- flex-wrap: wrap;
524
-
525
- box-sizing: border-box;
526
-
527
- margin:0 20px;
528
-
529
- }
530
-
531
-
532
-
533
- .pa-top-guilde-list__item {
534
-
535
- min-height:125px;
536
-
537
- }
538
-
539
- .c-grid__item--12 {
540
-
541
- width:50%;
542
-
543
- flex-shrink:0;
544
-
545
- padding:16px 8px 0;
546
-
547
- box-sizing:border-box;
548
-
549
- }
550
-
551
- .pa-top-guilde-list__item>a {
552
-
553
- display: flex;
554
-
555
- background: #fff;
556
-
557
- border-radius:8px;
558
-
559
- box-shadow:0 2px 4px rgba(0,0,0,.28);
560
-
561
- text-decoration:none;
562
-
563
- overflow: hidden;
564
-
565
- padding:7px;
566
-
567
- height:100%;
568
-
569
- }
570
-
571
- .pa-top-guilde-list__item a :hover {
572
-
573
- color:#f60;
574
-
575
- }
576
-
577
- .pa-top-guilde-list__item a {
578
-
579
- color: #0038ef;
580
-
581
- text-decoration:underline;
582
-
583
- }
584
-
585
- .pa-top-guilde-list__img {
586
-
587
- width:130px;
588
-
589
- }
590
-
591
- .c-grid img {
592
-
593
- width: 100%;
594
-
595
- box-sizing: border-box;
596
-
597
- }
598
-
599
- element.style {
600
-
601
- height:97.5px;
602
-
603
- }
604
-
605
- .pa-top-guilde-list__item dl {
606
-
607
- position: relative;
608
-
609
- padding-right: 30px;
610
-
611
- display: flex;
612
-
613
- flex-wrap:wrap;
614
-
615
- width: calc(100% - 140px);
616
-
617
- }
618
-
619
- .pa-top-guilde-list__item dl>dt {
620
-
621
- font-weight: 700;
622
-
623
- }
624
-
625
- .pa-top-guilde-list__item dl dd {
626
-
627
- color:#2a2a2a;
628
-
629
- font-size: 14px;
630
-
631
- margin-top: 5px;
632
-
633
- line-height: 1.5;
634
-
635
- }
636
-
637
-
638
-
639
- .pa-top-guilde-list__item dl:after {
640
-
641
- position: absolute;
642
-
643
- right: 8px;
644
-
645
- top:50%;
646
-
647
- transform:translateY(-50%);
648
-
649
- color: #aaa;
650
-
651
- content: "\f105";
652
-
653
- font-family: "Font Awesome 5 Free";
654
-
655
- font-weight: 900;
656
-
657
- font-size: 24px;
658
-
659
- }
660
-
661
-
662
-
663
-
664
-
665
- /* フッター */
666
-
667
- .footer {
668
-
669
- height: 40px;
670
-
671
- background-color:gray;
672
-
673
- transition: all 0.8s;
674
-
675
- &-item {
676
-
677
- max-width: 1140px;
678
-
679
- margin:0 auto;
680
-
681
- ul{
682
-
683
- display: flex;
684
-
685
- list-style: none;
686
-
687
- justify-content: center;
688
-
689
- line-height: 40px;
690
-
691
- }
692
-
693
- li{
694
-
695
- margin:0 auto;
696
-
697
- padding:0 10px;
698
-
699
- font-weight: bold;
700
-
701
- color:#fff;
702
-
703
- cursor: pointer;
704
-
705
- display:block;
706
-
707
- &:hover{
708
-
709
- background-color: rgba(255, 255, 255, 0.5);
710
-
711
- }
712
-
713
- }
714
-
715
- }
716
-
717
- }
718
-
719
- ```
720
-
721
- ```
722
-
723
- <div class="mv-right">
724
-
725
- <img class="japanMap" src="img/japanMap.png">
726
-
727
- <ul class="map-area kyushu">
728
-
729
- <li><a href="#">福岡</a></li>
730
-
731
- <li><a href="#">佐賀</a></li>
732
-
733
- <li><a href="#">長崎</a></li>
734
-
735
- <li><a href="#">大分</a></li>
736
-
737
- <li><a href="#">熊本</a></li>
738
-
739
- <li><a href="#">宮崎</a></li>
740
-
741
- <li><a href="#">鹿児島</a></li>
742
-
743
- </ul>
744
-
745
- <ul class="map-area shikoku multi">
746
-
747
- <li><a href="#">愛媛</a></li>
748
-
749
- <li><a href="#">高知</a></li>
750
-
751
- <li><a href="#">香川</a></li>
752
-
753
- <li><a href="#">徳島</a></li>
754
-
755
- </ul>
756
-
757
- <ul class="map-area chugoku">
758
-
759
- <li><a href="#">岡山</a></li>
760
-
761
- <li><a href="#">広島</a></li>
762
-
763
- <li><a href="#">山口</a></li>
764
-
765
- <li><a href="#">島根</a></li>
766
-
767
- <li><a href="#">鳥取</a></li>
768
-
769
- </ul>
770
-
771
- <ul class="map-area kansai multi">
772
-
773
- <li><a href="#">大阪</a></li>
774
-
775
- <li><a href="#">兵庫</a></li>
776
-
777
- <li><a href="#">京都</a></li>
778
-
779
- <li><a href="#">奈良</a></li>
780
-
781
- <li><a href="#">滋賀</a></li>
782
-
783
- <li><a href="#">和歌山</a></li>
784
-
785
- </ul>
786
-
787
- <ul class="map-area chubu multi">
788
-
789
- <li><a href="#">愛知</a></li>
790
-
791
- <li><a href="#">静岡</a></li>
792
-
793
- <li><a href="#">岐阜</a></li>
794
-
795
- <li><a href="#">三重</a></li>
796
-
797
- </ul>
798
-
799
- <ul class="map-area hokuriku">
800
-
801
- <li><a href="#">新潟</a></li>
802
-
803
- <li><a href="#">長野</a></li>
804
-
805
- <li><a href="#">富山</a></li>
806
-
807
- <li><a href="#">石川</a></li>
808
-
809
- <li><a href="#">福井</a></li>
810
-
811
- </ul>
812
-
813
- <ul class="map-area touhoku multi">
814
-
815
- <li><a href="#">青森</a></li>
816
-
817
- <li><a href="#">岩手</a></li>
818
-
819
- <li><a href="#">秋田</a></li>
820
-
821
- <li><a href="#">宮城</a></li>
822
-
823
- <li><a href="#">山形</a></li>
824
-
825
- <li><a href="#">福島</a></li>
826
-
827
- </ul>
828
-
829
- <ul class="map-area kantou multi">
830
-
831
- <li><a href="#">東京</a></li>
832
-
833
- <li><a href="#">神奈川</a></li>
834
-
835
- <li><a href="#"">埼玉</a></li>
836
-
837
- <li><a href="#">千葉</a></li>
838
-
839
- <li><a href="#">群馬</a></li>
840
-
841
- <li><a href="#">茨城</a></li>
842
-
843
- <li><a href="#">栃木</a></li>
844
-
845
- <li><a href="#">山梨</a></li>
846
-
847
- </ul>
848
-
849
- <ul class="map-area hokkaido">
850
-
851
- <li><a href="#">北海道</a></li>
852
-
853
- </ul>
854
-
855
- <ul class="map-area okinawa">
856
-
857
- <li><a href="#">沖縄</a></li>
858
-
859
- </ul>
860
-
861
- </div><!-- mv-right -->
862
-
863
- </div><!-- class="mv-item" -->
864
-
865
- </section><!-- class="mv" -->
866
-
867
- ```
567
+ 【HTML】
568
+
569
+ https://harigami.jp/cd?hsh=b527d0d6-a731-4170-8dfc-071eaa403d17
570
+
571
+
572
+
573
+ コードが長すぎて貼れなかったので、上のサイトに貼りました。

1

cssの変更

2020/09/05 07:08

投稿

takawork
takawork

スコア95

test CHANGED
File without changes
test CHANGED
@@ -32,12 +32,178 @@
32
32
 
33
33
 
34
34
 
35
+ .mv {
36
+
37
+ height: 500px;
38
+
39
+ background-color: #ABCDD6;
40
+
35
- &-right {
41
+ &-item {
42
+
43
+ max-width: 1140px;
44
+
45
+ margin: 0 auto;
46
+
47
+ display: flex;
48
+
49
+
50
+
51
+ }
52
+
53
+ // MV左側
54
+
55
+ &-left {
36
56
 
37
57
  width:50%;
38
58
 
39
59
  padding-top:20px;
40
60
 
61
+ padding-left:35px;
62
+
63
+ /* border:2px solid red; */
64
+
65
+ h1 {
66
+
67
+ font-size:36px;
68
+
69
+ /* border:2px solid red; */
70
+
71
+ }
72
+
73
+
74
+
75
+ &-search span {
76
+
77
+ font-size:28px;
78
+
79
+ color:red;
80
+
81
+ font-weight: bold;
82
+
83
+ }
84
+
85
+ }
86
+
87
+ &-input {
88
+
89
+ box-shadow: 0 2px 4px rgba(0, 0, 0, .28);
90
+
91
+ border-radius: 8px;
92
+
93
+ display: flex;
94
+
95
+ margin-top: 8px;
96
+
97
+ max-width: 480px;
98
+
99
+ /* border:2px solid red; */
100
+
101
+ }
102
+
103
+ &-input>* {
104
+
105
+ height: 50px;
106
+
107
+ padding: 8px;
108
+
109
+ box-sizing: border-box;
110
+
111
+ outline: none;
112
+
113
+ border: 2px solid black;
114
+
115
+ }
116
+
117
+ .search-input {
118
+
119
+ width: 100%;
120
+
121
+ font-size: 16px;
122
+
123
+ border-right: none;
124
+
125
+ border-radius: 8px 0 0 8px;
126
+
127
+ }
128
+
129
+ .search-btn {
130
+
131
+ width: 100px;
132
+
133
+ font-size: 32px;
134
+
135
+ line-height: 1;
136
+
137
+ cursor: pointer;
138
+
139
+ border-radius: 0 8px 8px 0;
140
+
141
+ background-color: #ffcc00;
142
+
143
+ }
144
+
145
+ .recomend-keyword {
146
+
147
+ padding-top:12px;
148
+
149
+ &-tag {
150
+
151
+ list-style: none;
152
+
153
+ padding-top:12px;
154
+
155
+ display: flex;
156
+
157
+ flex-wrap: wrap;
158
+
159
+ a {
160
+
161
+ background-color:#00acee;
162
+
163
+ border:2px solid black;
164
+
165
+ margin-left:6px;
166
+
167
+ margin-top:6px;
168
+
169
+ border-radius: 4px;
170
+
171
+ padding:2px 10px;
172
+
173
+ font-weight: bold;
174
+
175
+ cursor: pointer;
176
+
177
+ font-size:12px;
178
+
179
+ font-weight:bold;
180
+
181
+ display: block;
182
+
183
+ padding: 7px;
184
+
185
+ font-size:12px;
186
+
187
+ box-shadow: 0 2px 4px rgba(0, 0, 0, .28);
188
+
189
+ border-radius: 8px;
190
+
191
+ }
192
+
193
+ }
194
+
195
+
196
+
197
+ }
198
+
199
+ /* MV右側 */
200
+
201
+ &-right {
202
+
203
+ width:50%;
204
+
205
+ padding-top:20px;
206
+
41
207
  padding-right:35px;
42
208
 
43
209
  position:relative;
@@ -286,6 +452,270 @@
286
452
 
287
453
  }
288
454
 
455
+ /* よく分かる代理店選びガイド */
456
+
457
+ .guide {
458
+
459
+ height: 700px;
460
+
461
+ background-color:#FDECE6;
462
+
463
+ }
464
+
465
+ .guide-content {
466
+
467
+ max-width: 1140px;
468
+
469
+ margin:0 auto;
470
+
471
+ }
472
+
473
+ .guide-ttl {
474
+
475
+ margin:0px auto;
476
+
477
+ padding-top:20px;
478
+
479
+ text-align: center;
480
+
481
+ }
482
+
483
+ .guide-ttl img{
484
+
485
+ width:500px;
486
+
487
+ }
488
+
489
+ .guide-text {
490
+
491
+ margin:0px auto;
492
+
493
+ padding-top:8px;
494
+
495
+ padding-bottom:20px;
496
+
497
+ width:900px;
498
+
499
+ }
500
+
501
+ .guide-text p{
502
+
503
+ text-align: center;
504
+
505
+ font-size: 20px;
506
+
507
+ font-weight: bold;
508
+
509
+ }
510
+
511
+ // よく分かる代理店ガイドのボックス
512
+
513
+ .pa-top-guilde-list {
514
+
515
+ margin-top: 4px;
516
+
517
+ }
518
+
519
+ .c-grid {
520
+
521
+ display:flex;
522
+
523
+ flex-wrap: wrap;
524
+
525
+ box-sizing: border-box;
526
+
527
+ margin:0 20px;
528
+
529
+ }
530
+
531
+
532
+
533
+ .pa-top-guilde-list__item {
534
+
535
+ min-height:125px;
536
+
537
+ }
538
+
539
+ .c-grid__item--12 {
540
+
541
+ width:50%;
542
+
543
+ flex-shrink:0;
544
+
545
+ padding:16px 8px 0;
546
+
547
+ box-sizing:border-box;
548
+
549
+ }
550
+
551
+ .pa-top-guilde-list__item>a {
552
+
553
+ display: flex;
554
+
555
+ background: #fff;
556
+
557
+ border-radius:8px;
558
+
559
+ box-shadow:0 2px 4px rgba(0,0,0,.28);
560
+
561
+ text-decoration:none;
562
+
563
+ overflow: hidden;
564
+
565
+ padding:7px;
566
+
567
+ height:100%;
568
+
569
+ }
570
+
571
+ .pa-top-guilde-list__item a :hover {
572
+
573
+ color:#f60;
574
+
575
+ }
576
+
577
+ .pa-top-guilde-list__item a {
578
+
579
+ color: #0038ef;
580
+
581
+ text-decoration:underline;
582
+
583
+ }
584
+
585
+ .pa-top-guilde-list__img {
586
+
587
+ width:130px;
588
+
589
+ }
590
+
591
+ .c-grid img {
592
+
593
+ width: 100%;
594
+
595
+ box-sizing: border-box;
596
+
597
+ }
598
+
599
+ element.style {
600
+
601
+ height:97.5px;
602
+
603
+ }
604
+
605
+ .pa-top-guilde-list__item dl {
606
+
607
+ position: relative;
608
+
609
+ padding-right: 30px;
610
+
611
+ display: flex;
612
+
613
+ flex-wrap:wrap;
614
+
615
+ width: calc(100% - 140px);
616
+
617
+ }
618
+
619
+ .pa-top-guilde-list__item dl>dt {
620
+
621
+ font-weight: 700;
622
+
623
+ }
624
+
625
+ .pa-top-guilde-list__item dl dd {
626
+
627
+ color:#2a2a2a;
628
+
629
+ font-size: 14px;
630
+
631
+ margin-top: 5px;
632
+
633
+ line-height: 1.5;
634
+
635
+ }
636
+
637
+
638
+
639
+ .pa-top-guilde-list__item dl:after {
640
+
641
+ position: absolute;
642
+
643
+ right: 8px;
644
+
645
+ top:50%;
646
+
647
+ transform:translateY(-50%);
648
+
649
+ color: #aaa;
650
+
651
+ content: "\f105";
652
+
653
+ font-family: "Font Awesome 5 Free";
654
+
655
+ font-weight: 900;
656
+
657
+ font-size: 24px;
658
+
659
+ }
660
+
661
+
662
+
663
+
664
+
665
+ /* フッター */
666
+
667
+ .footer {
668
+
669
+ height: 40px;
670
+
671
+ background-color:gray;
672
+
673
+ transition: all 0.8s;
674
+
675
+ &-item {
676
+
677
+ max-width: 1140px;
678
+
679
+ margin:0 auto;
680
+
681
+ ul{
682
+
683
+ display: flex;
684
+
685
+ list-style: none;
686
+
687
+ justify-content: center;
688
+
689
+ line-height: 40px;
690
+
691
+ }
692
+
693
+ li{
694
+
695
+ margin:0 auto;
696
+
697
+ padding:0 10px;
698
+
699
+ font-weight: bold;
700
+
701
+ color:#fff;
702
+
703
+ cursor: pointer;
704
+
705
+ display:block;
706
+
707
+ &:hover{
708
+
709
+ background-color: rgba(255, 255, 255, 0.5);
710
+
711
+ }
712
+
713
+ }
714
+
715
+ }
716
+
717
+ }
718
+
289
719
  ```
290
720
 
291
721
  ```