質問編集履歴
8
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -570,15 +570,13 @@
|
|
570
570
|
|
571
571
|
|
572
572
|
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
573
|
|
578
574
|
|
579
575
|
```
|
580
576
|
|
581
|
-
|
577
|
+
こちらが本題です<(_ _)>
|
578
|
+
|
579
|
+
うまくいかない[サイト](https://jsfiddle.net/2p51m0xf/1/)
|
582
580
|
|
583
581
|
|
584
582
|
|
7
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
複数ページにわたり、humburgerをクリックし、navを開いた時に、背景を固定させたい。
|
4
4
|
|
5
|
-
現状:Topページでは動いていますが他の階層ページでは、動いていないです。
|
5
|
+
現状:Topページでは動いていますが他の階層ページ(blog)では、動いていないです。
|
6
|
+
|
7
|
+
**※blogのindex.htmlも同じCSSにしています。**
|
8
|
+
|
9
|
+
HTMLのclassに反応がないです!!
|
6
10
|
|
7
11
|
```固定させるjs
|
8
12
|
|
@@ -30,7 +34,7 @@
|
|
30
34
|
|
31
35
|
### 該当のソースコード
|
32
36
|
|
33
|
-
|
37
|
+
1つ目はTopページ↓
|
34
38
|
|
35
39
|
```
|
36
40
|
|
@@ -126,6 +130,104 @@
|
|
126
130
|
|
127
131
|
```
|
128
132
|
|
133
|
+
|
134
|
+
|
135
|
+
仮のblog site
|
136
|
+
|
137
|
+
```HTML
|
138
|
+
|
139
|
+
<!DOCTYPE html>
|
140
|
+
|
141
|
+
<html>
|
142
|
+
|
143
|
+
<head>
|
144
|
+
|
145
|
+
<meta charset="utf-8">
|
146
|
+
|
147
|
+
<meta name="viewport" content="width=device-width">
|
148
|
+
|
149
|
+
<title>Drawer</title>
|
150
|
+
|
151
|
+
<link rel="stylesheet" type="text/css" href="./../style.css">
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</head>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<body>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<div class="wrapper">
|
164
|
+
|
165
|
+
<main>
|
166
|
+
|
167
|
+
<h1>ドロワーメニュー</h1>
|
168
|
+
|
169
|
+
<p>コンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツ</p>
|
170
|
+
|
171
|
+
</main>
|
172
|
+
|
173
|
+
<div class="hamburger_button" href="">
|
174
|
+
|
175
|
+
<span></span>
|
176
|
+
|
177
|
+
<span></span>
|
178
|
+
|
179
|
+
<span></span>
|
180
|
+
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<nav class="menu-trigger">
|
184
|
+
|
185
|
+
<ul>
|
186
|
+
|
187
|
+
<li><a href="../humberger-menu.html"></a></li>
|
188
|
+
|
189
|
+
<li>MENU</li>
|
190
|
+
|
191
|
+
<li>MENU</li>
|
192
|
+
|
193
|
+
</ul>
|
194
|
+
|
195
|
+
</nav>
|
196
|
+
|
197
|
+
<div class="overlay"></div>
|
198
|
+
|
199
|
+
</div>
|
200
|
+
|
201
|
+
<br>
|
202
|
+
|
203
|
+
<br>
|
204
|
+
|
205
|
+
<br>
|
206
|
+
|
207
|
+
<br>
|
208
|
+
|
209
|
+
<br>
|
210
|
+
|
211
|
+
<br>
|
212
|
+
|
213
|
+
<br>
|
214
|
+
|
215
|
+
<br>
|
216
|
+
|
217
|
+
<br>
|
218
|
+
|
219
|
+
<br>
|
220
|
+
|
221
|
+
<script src="../jquery-3.6.0.min.js"></script>
|
222
|
+
|
223
|
+
<script src="../script.js"></script>
|
224
|
+
|
225
|
+
</body>
|
226
|
+
|
227
|
+
</html>
|
228
|
+
|
229
|
+
```
|
230
|
+
|
129
231
|
```CSS
|
130
232
|
|
131
233
|
|
@@ -410,6 +512,8 @@
|
|
410
512
|
|
411
513
|
$('.hamburger_button').on('click',function(){
|
412
514
|
|
515
|
+
$('html').toggleClass('scroll-prevent')
|
516
|
+
|
413
517
|
if($(this).hasClass('active')){
|
414
518
|
|
415
519
|
$(this).removeClass('active');
|
@@ -420,6 +524,8 @@
|
|
420
524
|
|
421
525
|
$('.overlay').removeClass('open');
|
422
526
|
|
527
|
+
$('html').removeclass('scroll-prevent') // 追記
|
528
|
+
|
423
529
|
} else {
|
424
530
|
|
425
531
|
$(this).addClass('active');
|
@@ -460,35 +566,13 @@
|
|
460
566
|
|
461
567
|
menuWidth = menu.outerWidth();
|
462
568
|
|
569
|
+
});
|
570
|
+
|
463
571
|
|
464
572
|
|
465
|
-
$('html').removeclass('scroll-prevent') // 追記
|
466
|
-
|
467
573
|
|
468
574
|
|
469
|
-
|
575
|
+
|
470
|
-
|
471
|
-
body.toggleClass('open');
|
472
|
-
|
473
|
-
$('html').toggleClass('scroll-prevent')
|
474
|
-
|
475
|
-
if(body.hasClass('open')){
|
476
|
-
|
477
|
-
body.animate({'right' : menuWidth }, 200);
|
478
|
-
|
479
|
-
menu.animate({'right' : 0 }, 200);
|
480
|
-
|
481
|
-
} else {
|
482
|
-
|
483
|
-
menu.animate({'right' : -menuWidth }, 200);
|
484
|
-
|
485
|
-
body.animate({'right' : 0 }, 200);
|
486
|
-
|
487
|
-
}
|
488
|
-
|
489
|
-
});
|
490
|
-
|
491
|
-
});
|
492
576
|
|
493
577
|
|
494
578
|
|
6
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -148,6 +148,24 @@
|
|
148
148
|
|
149
149
|
}
|
150
150
|
|
151
|
+
.scroll-prevent {
|
152
|
+
|
153
|
+
/*動き固定*/
|
154
|
+
|
155
|
+
position: fixed;
|
156
|
+
|
157
|
+
/*奥行きを管理*/
|
158
|
+
|
159
|
+
z-index: -1;
|
160
|
+
|
161
|
+
/*下2つで背景を元のサイズのまま表示することができる*/
|
162
|
+
|
163
|
+
width: 100%;
|
164
|
+
|
165
|
+
height: 100%;
|
166
|
+
|
167
|
+
}
|
168
|
+
|
151
169
|
* {
|
152
170
|
|
153
171
|
box-sizing: border-box;
|
5
簡略化させました
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,6 +4,18 @@
|
|
4
4
|
|
5
5
|
現状:Topページでは動いていますが他の階層ページでは、動いていないです。
|
6
6
|
|
7
|
+
```固定させるjs
|
8
|
+
|
9
|
+
$('html').removeclass('scroll-prevent') // 追記
|
10
|
+
|
11
|
+
$('html').toggleClass('scroll-prevent') // 追記
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```
|
16
|
+
|
17
|
+
を使って、実装しようとしています。
|
18
|
+
|
7
19
|
|
8
20
|
|
9
21
|
### 試したこと
|
@@ -14,11 +26,13 @@
|
|
14
26
|
|
15
27
|
|
16
28
|
|
29
|
+
|
30
|
+
|
17
31
|
### 該当のソースコード
|
18
32
|
|
19
33
|
|
20
34
|
|
21
|
-
```
|
35
|
+
```
|
22
36
|
|
23
37
|
<!DOCTYPE html>
|
24
38
|
|
@@ -26,127 +40,85 @@
|
|
26
40
|
|
27
41
|
<head>
|
28
42
|
|
43
|
+
<meta charset="utf-8">
|
44
|
+
|
45
|
+
<meta name="viewport" content="width=device-width">
|
46
|
+
|
29
|
-
|
47
|
+
<title>Drawer</title>
|
30
|
-
|
48
|
+
|
31
|
-
<link
|
49
|
+
<link rel="stylesheet" type="text/css" href="./style.css">
|
32
|
-
|
33
|
-
|
50
|
+
|
51
|
+
|
34
52
|
|
35
53
|
</head>
|
36
54
|
|
55
|
+
|
56
|
+
|
37
57
|
<body>
|
38
58
|
|
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
|
-
<div class="news-txt">
|
104
|
-
|
105
|
-
<time>202.12.01</time>
|
106
|
-
|
107
|
-
<p class="news-desc">和室の改装を行いますため、</p><!-- /.news-desc -->
|
108
|
-
|
109
|
-
</div><!-- /.news-txt --></a>
|
110
|
-
|
111
|
-
<br>
|
112
|
-
|
113
|
-
<br>
|
114
|
-
|
115
|
-
<br>
|
116
|
-
|
117
|
-
<br>
|
118
|
-
|
119
|
-
<br>
|
120
|
-
|
121
|
-
<br>
|
122
|
-
|
123
|
-
<br>
|
124
|
-
|
125
|
-
<br>
|
126
|
-
|
127
|
-
<br>
|
128
|
-
|
129
|
-
<br>
|
130
|
-
|
131
|
-
<br>
|
132
|
-
|
133
|
-
<br>
|
134
|
-
|
135
|
-
<br>
|
136
|
-
|
137
|
-
<br>
|
138
|
-
|
139
|
-
<br>
|
140
|
-
|
141
|
-
</main>
|
142
|
-
|
143
|
-
<script src="../asserts/js/jquery-3.6.0.min.js">
|
144
|
-
|
145
|
-
</script>
|
146
|
-
|
147
|
-
<script src="../asserts/js/script.js">
|
148
|
-
|
149
|
-
</script>
|
59
|
+
|
60
|
+
|
61
|
+
<div class="wrapper">
|
62
|
+
|
63
|
+
<main>
|
64
|
+
|
65
|
+
<h1>ドロワーメニュー</h1>
|
66
|
+
|
67
|
+
<p>コンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツコンテンツ</p>
|
68
|
+
|
69
|
+
</main>
|
70
|
+
|
71
|
+
<div class="hamburger_button" href="">
|
72
|
+
|
73
|
+
<span></span>
|
74
|
+
|
75
|
+
<span></span>
|
76
|
+
|
77
|
+
<span></span>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<nav class="menu-trigger">
|
82
|
+
|
83
|
+
<ul>
|
84
|
+
|
85
|
+
<li>MENU</li>
|
86
|
+
|
87
|
+
<li>MENU</li>
|
88
|
+
|
89
|
+
<li>MENU</li>
|
90
|
+
|
91
|
+
</ul>
|
92
|
+
|
93
|
+
</nav>
|
94
|
+
|
95
|
+
<div class="overlay"></div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
|
99
|
+
<br>
|
100
|
+
|
101
|
+
<br>
|
102
|
+
|
103
|
+
<br>
|
104
|
+
|
105
|
+
<br>
|
106
|
+
|
107
|
+
<br>
|
108
|
+
|
109
|
+
<br>
|
110
|
+
|
111
|
+
<br>
|
112
|
+
|
113
|
+
<br>
|
114
|
+
|
115
|
+
<br>
|
116
|
+
|
117
|
+
<br>
|
118
|
+
|
119
|
+
<script src="./jquery-3.6.0.min.js"></script>
|
120
|
+
|
121
|
+
<script src="./script.js"></script>
|
150
122
|
|
151
123
|
</body>
|
152
124
|
|
@@ -156,521 +128,261 @@
|
|
156
128
|
|
157
129
|
```CSS
|
158
130
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
t
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
m
|
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
|
-
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
@charset 'UTF-8';
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
body {
|
140
|
+
|
141
|
+
font-family: "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "Meiryo UI", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
|
142
|
+
|
143
|
+
font-size: 16px;
|
144
|
+
|
145
|
+
line-height: 1.5;
|
146
|
+
|
147
|
+
margin: 0;
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
* {
|
152
|
+
|
153
|
+
box-sizing: border-box;
|
154
|
+
|
155
|
+
}
|
156
|
+
|
157
|
+
ul {
|
158
|
+
|
159
|
+
list-style: none;
|
160
|
+
|
161
|
+
margin: 0;
|
162
|
+
|
163
|
+
padding: 0;
|
164
|
+
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
------------------------------------------------- */
|
170
|
+
|
171
|
+
.wrapper {
|
172
|
+
|
173
|
+
height: 100%;
|
174
|
+
|
175
|
+
overflow-x: hidden;
|
176
|
+
|
177
|
+
position: relative;
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
.overlay {
|
182
|
+
|
183
|
+
content: "";
|
184
|
+
|
185
|
+
display: block;
|
186
|
+
|
187
|
+
width: 0;
|
188
|
+
|
189
|
+
height: 0;
|
190
|
+
|
191
|
+
background-color: rgba(0, 0, 0, 0.5);
|
192
|
+
|
193
|
+
position: absolute;
|
194
|
+
|
195
|
+
top: 0;
|
196
|
+
|
197
|
+
left: 0;
|
198
|
+
|
199
|
+
z-index: 2;
|
200
|
+
|
201
|
+
opacity: 0;
|
202
|
+
|
203
|
+
transition: opacity .5s;
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
.overlay.open {
|
208
|
+
|
209
|
+
width: 100%;
|
210
|
+
|
211
|
+
height: 100%;
|
212
|
+
|
213
|
+
opacity: 1;
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
main {
|
218
|
+
|
219
|
+
height: 100%;
|
220
|
+
|
221
|
+
min-height: 100vh;
|
222
|
+
|
223
|
+
padding: 0 50px;
|
224
|
+
|
225
|
+
background-color: #eee;
|
226
|
+
|
227
|
+
transition: all .5s;
|
228
|
+
|
229
|
+
display: flex;
|
230
|
+
|
231
|
+
flex-direction: column;
|
232
|
+
|
233
|
+
justify-content: center;
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
main.open {
|
238
|
+
|
239
|
+
transform: translateX(-250px);
|
240
|
+
|
241
|
+
}
|
242
|
+
|
243
|
+
main h1 {
|
244
|
+
|
245
|
+
text-align: center;
|
246
|
+
|
247
|
+
font-weight: 500;
|
248
|
+
|
249
|
+
}
|
250
|
+
|
251
|
+
main p {
|
252
|
+
|
253
|
+
text-align: center;
|
254
|
+
|
255
|
+
}
|
256
|
+
|
257
|
+
.hamburger_button {
|
258
|
+
|
259
|
+
display: inline-block;
|
260
|
+
|
261
|
+
width: 36px;
|
262
|
+
|
263
|
+
height: 28px;
|
264
|
+
|
265
|
+
vertical-align: middle;
|
266
|
+
|
267
|
+
cursor: pointer;
|
198
268
|
|
199
269
|
position: fixed;
|
200
270
|
|
271
|
+
top: 30px;
|
272
|
+
|
273
|
+
right: 30px;
|
274
|
+
|
275
|
+
z-index: 100;
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
}
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
.hamburger_button span {
|
284
|
+
|
285
|
+
display: inline-block;
|
286
|
+
|
287
|
+
box-sizing: border-box;
|
288
|
+
|
289
|
+
position: absolute;
|
290
|
+
|
291
|
+
left: 0;
|
292
|
+
|
293
|
+
width: 100%;
|
294
|
+
|
295
|
+
height: 4px;
|
296
|
+
|
297
|
+
background-color: #000;
|
298
|
+
|
299
|
+
transition: all .5s;
|
300
|
+
|
301
|
+
}
|
302
|
+
|
303
|
+
.hamburger_button.active span {
|
304
|
+
|
305
|
+
background-color: #fff;
|
306
|
+
|
307
|
+
}
|
308
|
+
|
309
|
+
.hamburger_button span:nth-of-type(1) {
|
310
|
+
|
201
311
|
top: 0;
|
202
312
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
ma
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
m
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
.header-left {
|
248
|
-
|
249
|
-
display: -webkit-box;
|
250
|
-
|
251
|
-
display: -webkit-flex;
|
252
|
-
|
253
|
-
display: -ms-flexbox;
|
254
|
-
|
255
|
-
display: flex;
|
256
|
-
|
257
|
-
-webkit-box-pack: left;
|
258
|
-
|
259
|
-
-webkit-justify-content: left;
|
260
|
-
|
261
|
-
-ms-flex-pack: left;
|
262
|
-
|
263
|
-
justify-content: left;
|
264
|
-
|
265
|
-
-webkit-box-align: center;
|
266
|
-
|
267
|
-
-webkit-align-items: center;
|
268
|
-
|
269
|
-
-ms-flex-align: center;
|
270
|
-
|
271
|
-
align-items: center;
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
.header-left h1 {
|
278
|
-
|
279
|
-
display: block;
|
280
|
-
|
281
|
-
}
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
@media screen and (max-width: 599px) {
|
286
|
-
|
287
|
-
.header-left h1 {
|
288
|
-
|
289
|
-
width: 100px;
|
290
|
-
|
291
|
-
}
|
292
|
-
|
293
|
-
}
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
.header-left h1 .logo img {
|
298
|
-
|
299
|
-
display: block;
|
300
|
-
|
301
|
-
max-width: 130px;
|
302
|
-
|
303
|
-
width: 100%;
|
304
|
-
|
305
|
-
height: 130px;
|
306
|
-
|
307
|
-
margin: 20px 120px 20px 20px;
|
308
|
-
|
309
|
-
}
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
.header-left .nav {
|
314
|
-
|
315
|
-
display: -webkit-box;
|
316
|
-
|
317
|
-
display: -webkit-flex;
|
318
|
-
|
319
|
-
display: -ms-flexbox;
|
320
|
-
|
321
|
-
display: flex;
|
322
|
-
|
323
|
-
-webkit-box-pack: justify;
|
324
|
-
|
325
|
-
-webkit-justify-content: space-between;
|
326
|
-
|
327
|
-
-ms-flex-pack: justify;
|
328
|
-
|
329
|
-
justify-content: space-between;
|
330
|
-
|
331
|
-
-webkit-box-align: center;
|
332
|
-
|
333
|
-
-webkit-align-items: center;
|
334
|
-
|
335
|
-
-ms-flex-align: center;
|
336
|
-
|
337
|
-
align-items: center;
|
338
|
-
|
339
|
-
margin-left: 120px;
|
340
|
-
|
341
|
-
}
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
.header-left .nav-open {
|
346
|
-
|
347
|
-
-webkit-transform: translateZ(0);
|
348
|
-
|
349
|
-
transform: translateZ(0);
|
350
|
-
|
351
|
-
}
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
356
|
-
|
357
|
-
.header-left .nav {
|
358
|
-
|
359
|
-
top: 80px;
|
313
|
+
}
|
314
|
+
|
315
|
+
.hamburger_button.active span:nth-of-type(1) {
|
316
|
+
|
317
|
+
transform: translateY(12px) rotate(-45deg);
|
318
|
+
|
319
|
+
}
|
320
|
+
|
321
|
+
.hamburger_button span:nth-of-type(2) {
|
322
|
+
|
323
|
+
top: 12px;
|
324
|
+
|
325
|
+
}
|
326
|
+
|
327
|
+
.hamburger_button.active span:nth-of-type(2) {
|
328
|
+
|
329
|
+
opacity: 0;
|
330
|
+
|
331
|
+
}
|
332
|
+
|
333
|
+
.hamburger_button span:nth-of-type(3) {
|
334
|
+
|
335
|
+
bottom: 0;
|
336
|
+
|
337
|
+
}
|
338
|
+
|
339
|
+
.hamburger_button.active span:nth-of-type(3) {
|
340
|
+
|
341
|
+
transform: translateY(-12px) rotate(45deg);
|
342
|
+
|
343
|
+
}
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
.menu-trigger {
|
348
|
+
|
349
|
+
width: 250px;
|
350
|
+
|
351
|
+
height: 100%;
|
352
|
+
|
353
|
+
padding-top: 100px;
|
354
|
+
|
355
|
+
background-color: rgb(16, 69, 153, 0.8);
|
360
356
|
|
361
357
|
position: fixed;
|
362
358
|
|
363
|
-
top:
|
359
|
+
top: 0;
|
364
360
|
|
365
361
|
right: 0;
|
366
362
|
|
367
363
|
z-index: 10;
|
368
364
|
|
369
|
-
overflow: hidden;
|
370
|
-
|
371
|
-
width: 16.25rem;
|
372
|
-
|
373
|
-
background-color: #000;
|
374
|
-
|
375
|
-
width: 50%;
|
376
|
-
|
377
|
-
height: 60vh;
|
378
|
-
|
379
|
-
-webkit-transform: translate(550px);
|
380
|
-
|
381
|
-
|
365
|
+
transform: translate(250px);
|
382
|
-
|
383
|
-
|
366
|
+
|
384
|
-
|
385
|
-
transition: .5s;
|
367
|
+
transition: all .5s;
|
386
|
-
|
368
|
+
|
387
|
-
}
|
369
|
+
}
|
388
|
-
|
370
|
+
|
389
|
-
.
|
371
|
+
.menu-trigger.open {
|
390
|
-
|
391
|
-
|
372
|
+
|
392
|
-
|
393
|
-
|
373
|
+
transform: translateZ(0);
|
394
|
-
|
374
|
+
|
395
|
-
}
|
375
|
+
}
|
396
|
-
|
397
|
-
|
376
|
+
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
.
|
377
|
+
.menu-trigger li {
|
406
|
-
|
407
|
-
|
378
|
+
|
408
|
-
|
409
|
-
display: -webkit-flex;
|
410
|
-
|
411
|
-
display: -ms-flexbox;
|
412
|
-
|
413
|
-
|
379
|
+
color: #fff;
|
414
|
-
|
415
|
-
-webkit-box-align: center;
|
416
|
-
|
417
|
-
-webkit-align-items: center;
|
418
|
-
|
419
|
-
-ms-flex-align: center;
|
420
|
-
|
421
|
-
align-items: center;
|
422
|
-
|
423
|
-
padding-top: 20px;
|
424
|
-
|
425
|
-
padding-bottom: 20px;
|
426
|
-
|
427
|
-
}
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
432
|
-
|
433
|
-
.header-left .nav .header-list {
|
434
|
-
|
435
|
-
display: -webkit-box;
|
436
|
-
|
437
|
-
display: -webkit-flex;
|
438
|
-
|
439
|
-
display: -ms-flexbox;
|
440
|
-
|
441
|
-
display: flex;
|
442
|
-
|
443
|
-
-webkit-box-orient: vertical;
|
444
|
-
|
445
|
-
-webkit-box-direction: normal;
|
446
|
-
|
447
|
-
-webkit-flex-direction: column;
|
448
|
-
|
449
|
-
-ms-flex-direction: column;
|
450
|
-
|
451
|
-
flex-direction: column;
|
452
|
-
|
453
|
-
margin: 100px;
|
454
380
|
|
455
381
|
text-align: center;
|
456
382
|
|
457
|
-
padding
|
383
|
+
padding: 10px 0;
|
458
|
-
|
384
|
+
|
459
|
-
}
|
385
|
+
}
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
.header-left .nav .header-list .header-item {
|
468
|
-
|
469
|
-
color: #fff;
|
470
|
-
|
471
|
-
}
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
476
|
-
|
477
|
-
.header-left .nav .header-list .header-item {
|
478
|
-
|
479
|
-
padding-left: 20px;
|
480
|
-
|
481
|
-
}
|
482
|
-
|
483
|
-
}
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
.header-left .nav .header-list .header-item + .header-item {
|
492
|
-
|
493
|
-
padding-left: 30px;
|
494
|
-
|
495
|
-
}
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
500
|
-
|
501
|
-
.header-left .nav .header-list .header-item + .header-item {
|
502
|
-
|
503
|
-
padding-left: 20px;
|
504
|
-
|
505
|
-
}
|
506
|
-
|
507
|
-
}
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
.header-left .nav .header-list .header-item > a {
|
516
|
-
|
517
|
-
color: #fff;
|
518
|
-
|
519
|
-
display: inline-block;
|
520
|
-
|
521
|
-
-webkit-transition: .3s;
|
522
|
-
|
523
|
-
transition: .3s;
|
524
|
-
|
525
|
-
/* 0.3秒で拡大までの時間 */
|
526
|
-
|
527
|
-
}
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
532
|
-
|
533
|
-
.header-left .nav .header-list .header-item > a {
|
534
|
-
|
535
|
-
padding-bottom: 65px;
|
536
|
-
|
537
|
-
font-size: 2.4rem;
|
538
|
-
|
539
|
-
}
|
540
|
-
|
541
|
-
}
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
.header-right {
|
550
|
-
|
551
|
-
margin-left: auto;
|
552
|
-
|
553
|
-
}
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
.header-right .header-link {
|
562
|
-
|
563
|
-
margin: 10px;
|
564
|
-
|
565
|
-
}
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
570
|
-
|
571
|
-
.header-right .header-link {
|
572
|
-
|
573
|
-
margin-left: auto;
|
574
|
-
|
575
|
-
}
|
576
|
-
|
577
|
-
}
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
.header-right .header-link .calender-link {
|
582
|
-
|
583
|
-
display: block;
|
584
|
-
|
585
|
-
background-color: #978F10;
|
586
|
-
|
587
|
-
text-decoration: none;
|
588
|
-
|
589
|
-
font-weight: bold;
|
590
|
-
|
591
|
-
-webkit-box-align: center;
|
592
|
-
|
593
|
-
-webkit-align-items: center;
|
594
|
-
|
595
|
-
-ms-flex-align: center;
|
596
|
-
|
597
|
-
align-items: center;
|
598
|
-
|
599
|
-
text-align: center;
|
600
|
-
|
601
|
-
color: #fff;
|
602
|
-
|
603
|
-
padding: 10px 37px;
|
604
|
-
|
605
|
-
font-size: 1.6rem;
|
606
|
-
|
607
|
-
-webkit-transition: .3s;
|
608
|
-
|
609
|
-
transition: .3s;
|
610
|
-
|
611
|
-
}
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
616
|
-
|
617
|
-
.header-right .header-link .calender-link {
|
618
|
-
|
619
|
-
margin-right: 100px;
|
620
|
-
|
621
|
-
}
|
622
|
-
|
623
|
-
}
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
.overlay {
|
636
|
-
|
637
|
-
content: "";
|
638
|
-
|
639
|
-
display: block;
|
640
|
-
|
641
|
-
width: 0;
|
642
|
-
|
643
|
-
height: 0;
|
644
|
-
|
645
|
-
background-color: rgba(0, 0, 0, 0.5);
|
646
|
-
|
647
|
-
position: absolute;
|
648
|
-
|
649
|
-
top: 0;
|
650
|
-
|
651
|
-
left: 0;
|
652
|
-
|
653
|
-
z-index: 2;
|
654
|
-
|
655
|
-
opacity: 0;
|
656
|
-
|
657
|
-
-webkit-transition: opacity .5s;
|
658
|
-
|
659
|
-
transition: opacity .5s;
|
660
|
-
|
661
|
-
}
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
.overlay._open {
|
666
|
-
|
667
|
-
width: 100%;
|
668
|
-
|
669
|
-
height: 100%;
|
670
|
-
|
671
|
-
opacity: 1;
|
672
|
-
|
673
|
-
}
|
674
386
|
|
675
387
|
```
|
676
388
|
|
@@ -678,85 +390,89 @@
|
|
678
390
|
|
679
391
|
$(function(){
|
680
392
|
|
681
|
-
|
682
|
-
|
683
|
-
$(
|
393
|
+
$('.hamburger_button').on('click',function(){
|
684
|
-
|
685
|
-
|
394
|
+
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
if($(
|
395
|
+
if($(this).hasClass('active')){
|
690
|
-
|
396
|
+
|
691
|
-
$(this).removeClass('
|
397
|
+
$(this).removeClass('active');
|
692
|
-
|
398
|
+
|
693
|
-
$(
|
399
|
+
$('main').removeClass('open');
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
400
|
+
|
698
|
-
|
699
|
-
|
401
|
+
$('.menu-trigger').removeClass('open');
|
700
|
-
|
402
|
+
|
701
|
-
$('.overlay').removeClass('
|
403
|
+
$('.overlay').removeClass('open');
|
404
|
+
|
702
|
-
|
405
|
+
} else {
|
406
|
+
|
703
|
-
|
407
|
+
$(this).addClass('active');
|
408
|
+
|
704
|
-
|
409
|
+
$('main').addClass('open');
|
410
|
+
|
411
|
+
$('.menu-trigger').addClass('open');
|
412
|
+
|
413
|
+
$('.overlay').addClass('open');
|
414
|
+
|
705
|
-
}
|
415
|
+
}
|
706
|
-
|
416
|
+
|
707
|
-
|
417
|
+
});
|
418
|
+
|
708
|
-
|
419
|
+
$('.overlay').on('click',function(){
|
420
|
+
|
421
|
+
if($(this).hasClass('open')){
|
422
|
+
|
709
|
-
$(this).
|
423
|
+
$(this).removeClass('open');
|
424
|
+
|
710
|
-
|
425
|
+
$('.menu-trigger').removeClass('active');
|
426
|
+
|
711
|
-
$('
|
427
|
+
$('main').removeClass('open');
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
428
|
+
|
716
|
-
|
717
|
-
$('.
|
429
|
+
$('.menu-trigger').removeClass('open');
|
718
|
-
|
719
|
-
|
430
|
+
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
}
|
431
|
+
}
|
432
|
+
|
433
|
+
});
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
var menu = $('.menu-trigger'),
|
438
|
+
|
439
|
+
menuBtn = $('.hamburger_button'),
|
440
|
+
|
441
|
+
body = $(document.body),
|
442
|
+
|
443
|
+
menuWidth = menu.outerWidth();
|
724
444
|
|
725
445
|
|
726
446
|
|
447
|
+
$('html').removeclass('scroll-prevent') // 追記
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
menuBtn.on('click', function(){
|
452
|
+
|
453
|
+
body.toggleClass('open');
|
454
|
+
|
455
|
+
$('html').toggleClass('scroll-prevent')
|
456
|
+
|
457
|
+
if(body.hasClass('open')){
|
458
|
+
|
459
|
+
body.animate({'right' : menuWidth }, 200);
|
460
|
+
|
461
|
+
menu.animate({'right' : 0 }, 200);
|
462
|
+
|
463
|
+
} else {
|
464
|
+
|
465
|
+
menu.animate({'right' : -menuWidth }, 200);
|
466
|
+
|
467
|
+
body.animate({'right' : 0 }, 200);
|
468
|
+
|
469
|
+
}
|
470
|
+
|
727
|
-
});
|
471
|
+
});
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
$('.overlay').on('click',function(){
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
$('html').toggleClass('scroll-prevent') // 固定解除
|
736
|
-
|
737
|
-
if($(this).hasClass('_open')){
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
$(this).removeClass('_open');
|
742
|
-
|
743
|
-
$('.humburger').removeClass('_active');
|
744
|
-
|
745
|
-
$('.line').removeClass('_open');
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
$(".nav").removeClass('nav-open');
|
750
|
-
|
751
|
-
// $('.drawer-nav').removeClass('_active');
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
}
|
756
472
|
|
757
473
|
});
|
758
474
|
|
759
|
-
|
475
|
+
|
760
476
|
|
761
477
|
```
|
762
478
|
|
4
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -126,6 +126,18 @@
|
|
126
126
|
|
127
127
|
<br>
|
128
128
|
|
129
|
+
<br>
|
130
|
+
|
131
|
+
<br>
|
132
|
+
|
133
|
+
<br>
|
134
|
+
|
135
|
+
<br>
|
136
|
+
|
137
|
+
<br>
|
138
|
+
|
139
|
+
<br>
|
140
|
+
|
129
141
|
</main>
|
130
142
|
|
131
143
|
<script src="../asserts/js/jquery-3.6.0.min.js">
|
3
修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,7 +108,23 @@
|
|
108
108
|
|
109
109
|
</div><!-- /.news-txt --></a>
|
110
110
|
|
111
|
-
|
111
|
+
<br>
|
112
|
+
|
113
|
+
<br>
|
114
|
+
|
115
|
+
<br>
|
116
|
+
|
117
|
+
<br>
|
118
|
+
|
119
|
+
<br>
|
120
|
+
|
121
|
+
<br>
|
122
|
+
|
123
|
+
<br>
|
124
|
+
|
125
|
+
<br>
|
126
|
+
|
127
|
+
<br>
|
112
128
|
|
113
129
|
</main>
|
114
130
|
|
2
Sp版の時と不要な要素は削除しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
複数ページにわたり、humburgerをクリックし、navを開いた時に、背景を固定させたい。
|
4
4
|
|
5
|
-
現状
|
5
|
+
現状:Topページでは動いていますが他の階層ページでは、動いていないです。
|
6
6
|
|
7
7
|
|
8
8
|
|
9
9
|
### 試したこと
|
10
10
|
|
11
|
-
|
11
|
+
下記のサイトを見て行いましたが、できませんでした。
|
12
12
|
|
13
13
|
[背景を固定](https://qiita.com/ShintaroKoizumi/items/82107fe292f3847d634e)
|
14
14
|
|
@@ -42,8 +42,6 @@
|
|
42
42
|
|
43
43
|
<div class="header-left">
|
44
44
|
|
45
|
-
<h1 class="logo"><a href="../index.html"><img alt="" class="header-logo" src="../asserts/img/top-header-logo.png"></a></h1>
|
46
|
-
|
47
45
|
<nav class="nav drawer-nav">
|
48
46
|
|
49
47
|
<ul class="header-list">
|
@@ -90,6 +88,30 @@
|
|
90
88
|
|
91
89
|
<div class="overlay"></div><!-- /.overlay -->
|
92
90
|
|
91
|
+
<main>
|
92
|
+
|
93
|
+
<div class="news-txt">
|
94
|
+
|
95
|
+
<time>202.12.01</time>
|
96
|
+
|
97
|
+
<p class="news-desc">お休み させていただきます。
|
98
|
+
|
99
|
+
</p><!-- /.news-desc -->
|
100
|
+
|
101
|
+
</div><!-- /.news-txt --></a>
|
102
|
+
|
103
|
+
<div class="news-txt">
|
104
|
+
|
105
|
+
<time>202.12.01</time>
|
106
|
+
|
107
|
+
<p class="news-desc">和室の改装を行いますため、</p><!-- /.news-desc -->
|
108
|
+
|
109
|
+
</div><!-- /.news-txt --></a>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
</main>
|
114
|
+
|
93
115
|
<script src="../asserts/js/jquery-3.6.0.min.js">
|
94
116
|
|
95
117
|
</script>
|
@@ -158,604 +180,464 @@
|
|
158
180
|
|
159
181
|
|
160
182
|
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
.header-inner {
|
188
|
+
|
189
|
+
max-width: 1880px;
|
190
|
+
|
191
|
+
width: 100%;
|
192
|
+
|
193
|
+
display: -webkit-box;
|
194
|
+
|
195
|
+
display: -webkit-flex;
|
196
|
+
|
197
|
+
display: -ms-flexbox;
|
198
|
+
|
199
|
+
display: flex;
|
200
|
+
|
201
|
+
-webkit-box-align: center;
|
202
|
+
|
203
|
+
-webkit-align-items: center;
|
204
|
+
|
205
|
+
-ms-flex-align: center;
|
206
|
+
|
207
|
+
align-items: center;
|
208
|
+
|
209
|
+
margin: 0 auto;
|
210
|
+
|
211
|
+
box-sizing: border-box;
|
212
|
+
|
213
|
+
-webkit-box-sizing: border-box;
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
.header-left {
|
220
|
+
|
221
|
+
display: -webkit-box;
|
222
|
+
|
223
|
+
display: -webkit-flex;
|
224
|
+
|
225
|
+
display: -ms-flexbox;
|
226
|
+
|
227
|
+
display: flex;
|
228
|
+
|
229
|
+
-webkit-box-pack: left;
|
230
|
+
|
231
|
+
-webkit-justify-content: left;
|
232
|
+
|
233
|
+
-ms-flex-pack: left;
|
234
|
+
|
235
|
+
justify-content: left;
|
236
|
+
|
237
|
+
-webkit-box-align: center;
|
238
|
+
|
239
|
+
-webkit-align-items: center;
|
240
|
+
|
241
|
+
-ms-flex-align: center;
|
242
|
+
|
243
|
+
align-items: center;
|
244
|
+
|
245
|
+
}
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
.header-left h1 {
|
250
|
+
|
251
|
+
display: block;
|
252
|
+
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
|
161
257
|
@media screen and (max-width: 599px) {
|
162
258
|
|
163
|
-
.header {
|
259
|
+
.header-left h1 {
|
260
|
+
|
261
|
+
width: 100px;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
}
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
.header-left h1 .logo img {
|
270
|
+
|
271
|
+
display: block;
|
272
|
+
|
273
|
+
max-width: 130px;
|
274
|
+
|
275
|
+
width: 100%;
|
276
|
+
|
277
|
+
height: 130px;
|
278
|
+
|
279
|
+
margin: 20px 120px 20px 20px;
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
.header-left .nav {
|
286
|
+
|
287
|
+
display: -webkit-box;
|
288
|
+
|
289
|
+
display: -webkit-flex;
|
290
|
+
|
291
|
+
display: -ms-flexbox;
|
292
|
+
|
293
|
+
display: flex;
|
294
|
+
|
295
|
+
-webkit-box-pack: justify;
|
296
|
+
|
297
|
+
-webkit-justify-content: space-between;
|
298
|
+
|
299
|
+
-ms-flex-pack: justify;
|
300
|
+
|
301
|
+
justify-content: space-between;
|
302
|
+
|
303
|
+
-webkit-box-align: center;
|
304
|
+
|
305
|
+
-webkit-align-items: center;
|
306
|
+
|
307
|
+
-ms-flex-align: center;
|
308
|
+
|
309
|
+
align-items: center;
|
310
|
+
|
311
|
+
margin-left: 120px;
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
.header-left .nav-open {
|
318
|
+
|
319
|
+
-webkit-transform: translateZ(0);
|
320
|
+
|
321
|
+
transform: translateZ(0);
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
328
|
+
|
329
|
+
.header-left .nav {
|
330
|
+
|
331
|
+
top: 80px;
|
164
332
|
|
165
333
|
position: fixed;
|
166
334
|
|
167
|
-
top: 0;
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
335
|
+
top: 150px;
|
336
|
+
|
337
|
+
right: 0;
|
338
|
+
|
339
|
+
z-index: 10;
|
340
|
+
|
341
|
+
overflow: hidden;
|
342
|
+
|
343
|
+
width: 16.25rem;
|
344
|
+
|
345
|
+
background-color: #000;
|
346
|
+
|
347
|
+
width: 50%;
|
348
|
+
|
349
|
+
height: 60vh;
|
350
|
+
|
351
|
+
-webkit-transform: translate(550px);
|
352
|
+
|
353
|
+
transform: translate(550px);
|
354
|
+
|
355
|
+
-webkit-transition: .5s;
|
356
|
+
|
357
|
+
transition: .5s;
|
358
|
+
|
359
|
+
}
|
360
|
+
|
361
|
+
.header-left .nav-open {
|
362
|
+
|
363
|
+
-webkit-transform: translateZ(0);
|
364
|
+
|
365
|
+
transform: translateZ(0);
|
366
|
+
|
367
|
+
}
|
368
|
+
|
369
|
+
}
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
.header-left .nav .header-list {
|
378
|
+
|
379
|
+
display: -webkit-box;
|
380
|
+
|
381
|
+
display: -webkit-flex;
|
382
|
+
|
383
|
+
display: -ms-flexbox;
|
384
|
+
|
385
|
+
display: flex;
|
386
|
+
|
387
|
+
-webkit-box-align: center;
|
388
|
+
|
389
|
+
-webkit-align-items: center;
|
390
|
+
|
391
|
+
-ms-flex-align: center;
|
392
|
+
|
393
|
+
align-items: center;
|
394
|
+
|
395
|
+
padding-top: 20px;
|
396
|
+
|
397
|
+
padding-bottom: 20px;
|
398
|
+
|
399
|
+
}
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
404
|
+
|
405
|
+
.header-left .nav .header-list {
|
406
|
+
|
407
|
+
display: -webkit-box;
|
408
|
+
|
409
|
+
display: -webkit-flex;
|
410
|
+
|
411
|
+
display: -ms-flexbox;
|
412
|
+
|
413
|
+
display: flex;
|
414
|
+
|
415
|
+
-webkit-box-orient: vertical;
|
416
|
+
|
417
|
+
-webkit-box-direction: normal;
|
418
|
+
|
419
|
+
-webkit-flex-direction: column;
|
420
|
+
|
421
|
+
-ms-flex-direction: column;
|
422
|
+
|
423
|
+
flex-direction: column;
|
424
|
+
|
425
|
+
margin: 100px;
|
426
|
+
|
427
|
+
text-align: center;
|
428
|
+
|
429
|
+
padding-left: 40px;
|
430
|
+
|
431
|
+
}
|
432
|
+
|
433
|
+
}
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
.header-left .nav .header-list .header-item {
|
440
|
+
|
441
|
+
color: #fff;
|
442
|
+
|
443
|
+
}
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
448
|
+
|
449
|
+
.header-left .nav .header-list .header-item {
|
450
|
+
|
451
|
+
padding-left: 20px;
|
452
|
+
|
453
|
+
}
|
454
|
+
|
455
|
+
}
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
.header-left .nav .header-list .header-item + .header-item {
|
464
|
+
|
465
|
+
padding-left: 30px;
|
466
|
+
|
467
|
+
}
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
472
|
+
|
473
|
+
.header-left .nav .header-list .header-item + .header-item {
|
474
|
+
|
475
|
+
padding-left: 20px;
|
476
|
+
|
477
|
+
}
|
478
|
+
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
.header-left .nav .header-list .header-item > a {
|
488
|
+
|
489
|
+
color: #fff;
|
490
|
+
|
491
|
+
display: inline-block;
|
492
|
+
|
493
|
+
-webkit-transition: .3s;
|
494
|
+
|
495
|
+
transition: .3s;
|
496
|
+
|
497
|
+
/* 0.3秒で拡大までの時間 */
|
498
|
+
|
499
|
+
}
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
504
|
+
|
505
|
+
.header-left .nav .header-list .header-item > a {
|
506
|
+
|
507
|
+
padding-bottom: 65px;
|
508
|
+
|
509
|
+
font-size: 2.4rem;
|
510
|
+
|
511
|
+
}
|
512
|
+
|
513
|
+
}
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
.header-right {
|
522
|
+
|
523
|
+
margin-left: auto;
|
524
|
+
|
525
|
+
}
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
.header-right .header-link {
|
534
|
+
|
535
|
+
margin: 10px;
|
536
|
+
|
537
|
+
}
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
542
|
+
|
543
|
+
.header-right .header-link {
|
544
|
+
|
545
|
+
margin-left: auto;
|
546
|
+
|
547
|
+
}
|
548
|
+
|
549
|
+
}
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
.header-right .header-link .calender-link {
|
554
|
+
|
555
|
+
display: block;
|
556
|
+
|
557
|
+
background-color: #978F10;
|
558
|
+
|
559
|
+
text-decoration: none;
|
560
|
+
|
561
|
+
font-weight: bold;
|
562
|
+
|
563
|
+
-webkit-box-align: center;
|
564
|
+
|
565
|
+
-webkit-align-items: center;
|
566
|
+
|
567
|
+
-ms-flex-align: center;
|
568
|
+
|
569
|
+
align-items: center;
|
570
|
+
|
571
|
+
text-align: center;
|
572
|
+
|
573
|
+
color: #fff;
|
574
|
+
|
575
|
+
padding: 10px 37px;
|
576
|
+
|
577
|
+
font-size: 1.6rem;
|
578
|
+
|
579
|
+
-webkit-transition: .3s;
|
580
|
+
|
581
|
+
transition: .3s;
|
582
|
+
|
583
|
+
}
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
588
|
+
|
589
|
+
.header-right .header-link .calender-link {
|
590
|
+
|
591
|
+
margin-right: 100px;
|
592
|
+
|
593
|
+
}
|
594
|
+
|
595
|
+
}
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
.overlay {
|
608
|
+
|
609
|
+
content: "";
|
610
|
+
|
611
|
+
display: block;
|
612
|
+
|
613
|
+
width: 0;
|
614
|
+
|
615
|
+
height: 0;
|
616
|
+
|
617
|
+
background-color: rgba(0, 0, 0, 0.5);
|
618
|
+
|
619
|
+
position: absolute;
|
620
|
+
|
621
|
+
top: 0;
|
622
|
+
|
623
|
+
left: 0;
|
624
|
+
|
625
|
+
z-index: 2;
|
626
|
+
|
627
|
+
opacity: 0;
|
628
|
+
|
629
|
+
-webkit-transition: opacity .5s;
|
630
|
+
|
631
|
+
transition: opacity .5s;
|
632
|
+
|
633
|
+
}
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
.overlay._open {
|
182
638
|
|
183
639
|
width: 100%;
|
184
640
|
|
185
|
-
display: -webkit-box;
|
186
|
-
|
187
|
-
display: -webkit-flex;
|
188
|
-
|
189
|
-
display: -ms-flexbox;
|
190
|
-
|
191
|
-
display: flex;
|
192
|
-
|
193
|
-
-webkit-box-align: center;
|
194
|
-
|
195
|
-
-webkit-align-items: center;
|
196
|
-
|
197
|
-
-ms-flex-align: center;
|
198
|
-
|
199
|
-
align-items: center;
|
200
|
-
|
201
|
-
margin: 0 auto;
|
202
|
-
|
203
|
-
box-sizing: border-box;
|
204
|
-
|
205
|
-
-webkit-box-sizing: border-box;
|
206
|
-
|
207
|
-
}
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
.header-left {
|
212
|
-
|
213
|
-
display: -webkit-box;
|
214
|
-
|
215
|
-
display: -webkit-flex;
|
216
|
-
|
217
|
-
display: -ms-flexbox;
|
218
|
-
|
219
|
-
display: flex;
|
220
|
-
|
221
|
-
-webkit-box-pack: left;
|
222
|
-
|
223
|
-
-webkit-justify-content: left;
|
224
|
-
|
225
|
-
-ms-flex-pack: left;
|
226
|
-
|
227
|
-
justify-content: left;
|
228
|
-
|
229
|
-
-webkit-box-align: center;
|
230
|
-
|
231
|
-
-webkit-align-items: center;
|
232
|
-
|
233
|
-
-ms-flex-align: center;
|
234
|
-
|
235
|
-
align-items: center;
|
236
|
-
|
237
|
-
}
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
.header-left h1 {
|
242
|
-
|
243
|
-
display: block;
|
244
|
-
|
245
|
-
}
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
@media screen and (max-width: 599px) {
|
250
|
-
|
251
|
-
.header-left h1 {
|
252
|
-
|
253
|
-
width: 100px;
|
254
|
-
|
255
|
-
}
|
256
|
-
|
257
|
-
}
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
.header-left h1 .logo img {
|
262
|
-
|
263
|
-
display: block;
|
264
|
-
|
265
|
-
max-width: 130px;
|
266
|
-
|
267
|
-
width: 100%;
|
268
|
-
|
269
|
-
height: 130px;
|
270
|
-
|
271
|
-
margin: 20px 120px 20px 20px;
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
.header-left .nav {
|
278
|
-
|
279
|
-
display: -webkit-box;
|
280
|
-
|
281
|
-
display: -webkit-flex;
|
282
|
-
|
283
|
-
display: -ms-flexbox;
|
284
|
-
|
285
|
-
display: flex;
|
286
|
-
|
287
|
-
-webkit-box-pack: justify;
|
288
|
-
|
289
|
-
-webkit-justify-content: space-between;
|
290
|
-
|
291
|
-
-ms-flex-pack: justify;
|
292
|
-
|
293
|
-
justify-content: space-between;
|
294
|
-
|
295
|
-
-webkit-box-align: center;
|
296
|
-
|
297
|
-
-webkit-align-items: center;
|
298
|
-
|
299
|
-
-ms-flex-align: center;
|
300
|
-
|
301
|
-
align-items: center;
|
302
|
-
|
303
|
-
margin-left: 120px;
|
304
|
-
|
305
|
-
}
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
.header-left .nav-open {
|
310
|
-
|
311
|
-
-webkit-transform: translateZ(0);
|
312
|
-
|
313
|
-
transform: translateZ(0);
|
314
|
-
|
315
|
-
}
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
320
|
-
|
321
|
-
.header-left .nav {
|
322
|
-
|
323
|
-
top: 80px;
|
324
|
-
|
325
|
-
position: fixed;
|
326
|
-
|
327
|
-
top: 150px;
|
328
|
-
|
329
|
-
right: 0;
|
330
|
-
|
331
|
-
z-index: 10;
|
332
|
-
|
333
|
-
overflow: hidden;
|
334
|
-
|
335
|
-
width: 16.25rem;
|
336
|
-
|
337
|
-
background-color: #000;
|
338
|
-
|
339
|
-
width: 50%;
|
340
|
-
|
341
|
-
height: 60vh;
|
342
|
-
|
343
|
-
-webkit-transform: translate(550px);
|
344
|
-
|
345
|
-
transform: translate(550px);
|
346
|
-
|
347
|
-
-webkit-transition: .5s;
|
348
|
-
|
349
|
-
transition: .5s;
|
350
|
-
|
351
|
-
}
|
352
|
-
|
353
|
-
.header-left .nav-open {
|
354
|
-
|
355
|
-
-webkit-transform: translateZ(0);
|
356
|
-
|
357
|
-
transform: translateZ(0);
|
358
|
-
|
359
|
-
}
|
360
|
-
|
361
|
-
}
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
@media screen and (max-width: 599px) {
|
366
|
-
|
367
|
-
.header-left .nav {
|
368
|
-
|
369
|
-
top: 60px;
|
370
|
-
|
371
|
-
position: fixed;
|
372
|
-
|
373
|
-
z-index: 2;
|
374
|
-
|
375
|
-
overflow: hidden;
|
376
|
-
|
377
|
-
width: 16.25rem;
|
378
|
-
|
379
|
-
background-color: rgba(0, 0, 0, 0.9);
|
380
|
-
|
381
|
-
width: 75%;
|
382
|
-
|
383
|
-
-webkit-transform: translate(550px);
|
384
|
-
|
385
|
-
transform: translate(550px);
|
386
|
-
|
387
|
-
-webkit-transition: margin-left .5s;
|
388
|
-
|
389
|
-
transition: margin-left .5s;
|
390
|
-
|
391
|
-
margin-left: 100px;
|
392
|
-
|
393
|
-
}
|
394
|
-
|
395
|
-
.header-left .nav-open {
|
396
|
-
|
397
|
-
-webkit-transform: translateZ(0);
|
398
|
-
|
399
|
-
transform: translateZ(0);
|
400
|
-
|
401
|
-
}
|
402
|
-
|
403
|
-
}
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
.header-left .nav .header-list {
|
408
|
-
|
409
|
-
display: -webkit-box;
|
410
|
-
|
411
|
-
display: -webkit-flex;
|
412
|
-
|
413
|
-
display: -ms-flexbox;
|
414
|
-
|
415
|
-
display: flex;
|
416
|
-
|
417
|
-
-webkit-box-align: center;
|
418
|
-
|
419
|
-
-webkit-align-items: center;
|
420
|
-
|
421
|
-
-ms-flex-align: center;
|
422
|
-
|
423
|
-
align-items: center;
|
424
|
-
|
425
|
-
padding-top: 20px;
|
426
|
-
|
427
|
-
padding-bottom: 20px;
|
428
|
-
|
429
|
-
}
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
434
|
-
|
435
|
-
.header-left .nav .header-list {
|
436
|
-
|
437
|
-
display: -webkit-box;
|
438
|
-
|
439
|
-
display: -webkit-flex;
|
440
|
-
|
441
|
-
display: -ms-flexbox;
|
442
|
-
|
443
|
-
display: flex;
|
444
|
-
|
445
|
-
-webkit-box-orient: vertical;
|
446
|
-
|
447
|
-
-webkit-box-direction: normal;
|
448
|
-
|
449
|
-
-webkit-flex-direction: column;
|
450
|
-
|
451
|
-
-ms-flex-direction: column;
|
452
|
-
|
453
|
-
flex-direction: column;
|
454
|
-
|
455
|
-
margin: 100px;
|
456
|
-
|
457
|
-
text-align: center;
|
458
|
-
|
459
|
-
padding-left: 40px;
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
}
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
@media screen and (max-width: 599px) {
|
468
|
-
|
469
|
-
.header-left .nav .header-list {
|
470
|
-
|
471
|
-
margin: 0 auto;
|
472
|
-
|
473
|
-
}
|
474
|
-
|
475
|
-
}
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
.header-left .nav .header-list .header-item {
|
480
|
-
|
481
|
-
color: #fff;
|
482
|
-
|
483
|
-
}
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
488
|
-
|
489
|
-
.header-left .nav .header-list .header-item {
|
490
|
-
|
491
|
-
padding-left: 20px;
|
492
|
-
|
493
|
-
}
|
494
|
-
|
495
|
-
}
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
@media screen and (max-width: 599px) {
|
500
|
-
|
501
|
-
.header-left .nav .header-list .header-item {
|
502
|
-
|
503
|
-
padding: 0px;
|
504
|
-
|
505
|
-
font-size: 2rem;
|
506
|
-
|
507
|
-
}
|
508
|
-
|
509
|
-
}
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
.header-left .nav .header-list .header-item + .header-item {
|
514
|
-
|
515
|
-
padding-left: 30px;
|
516
|
-
|
517
|
-
}
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
522
|
-
|
523
|
-
.header-left .nav .header-list .header-item + .header-item {
|
524
|
-
|
525
|
-
padding-left: 20px;
|
526
|
-
|
527
|
-
}
|
528
|
-
|
529
|
-
}
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
@media screen and (max-width: 599px) {
|
534
|
-
|
535
|
-
.header-left .nav .header-list .header-item + .header-item {
|
536
|
-
|
537
|
-
padding-left: 0px;
|
538
|
-
|
539
|
-
}
|
540
|
-
|
541
|
-
}
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
.header-left .nav .header-list .header-item > a {
|
546
|
-
|
547
|
-
color: #fff;
|
548
|
-
|
549
|
-
display: inline-block;
|
550
|
-
|
551
|
-
-webkit-transition: .3s;
|
552
|
-
|
553
|
-
transition: .3s;
|
554
|
-
|
555
|
-
/* 0.3秒で拡大までの時間 */
|
556
|
-
|
557
|
-
}
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
562
|
-
|
563
|
-
.header-left .nav .header-list .header-item > a {
|
564
|
-
|
565
|
-
padding-bottom: 65px;
|
566
|
-
|
567
|
-
font-size: 2.4rem;
|
568
|
-
|
569
|
-
}
|
570
|
-
|
571
|
-
}
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
@media screen and (max-width: 599px) {
|
576
|
-
|
577
|
-
.header-left .nav .header-list .header-item > a {
|
578
|
-
|
579
|
-
-webkit-writing-mode: vertical-lr;
|
580
|
-
|
581
|
-
-ms-writing-mode: tb-lr;
|
582
|
-
|
583
|
-
writing-mode: vertical-lr;
|
584
|
-
|
585
|
-
margin: 0 5vw;
|
586
|
-
|
587
|
-
}
|
588
|
-
|
589
|
-
}
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
.header-right {
|
594
|
-
|
595
|
-
margin-left: auto;
|
596
|
-
|
597
|
-
}
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
@media screen and (max-width: 599px) {
|
602
|
-
|
603
|
-
.header-right {
|
604
|
-
|
605
|
-
margin-left: 20px;
|
606
|
-
|
607
|
-
}
|
608
|
-
|
609
|
-
}
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
.header-right .header-link {
|
614
|
-
|
615
|
-
margin: 10px;
|
616
|
-
|
617
|
-
}
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
622
|
-
|
623
|
-
.header-right .header-link {
|
624
|
-
|
625
|
-
margin-left: auto;
|
626
|
-
|
627
|
-
}
|
628
|
-
|
629
|
-
}
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
.header-right .header-link .calender-link {
|
634
|
-
|
635
|
-
display: block;
|
636
|
-
|
637
|
-
background-color: #978F10;
|
638
|
-
|
639
|
-
text-decoration: none;
|
640
|
-
|
641
|
-
font-weight: bold;
|
642
|
-
|
643
|
-
-webkit-box-align: center;
|
644
|
-
|
645
|
-
-webkit-align-items: center;
|
646
|
-
|
647
|
-
-ms-flex-align: center;
|
648
|
-
|
649
|
-
align-items: center;
|
650
|
-
|
651
|
-
text-align: center;
|
652
|
-
|
653
|
-
color: #fff;
|
654
|
-
|
655
|
-
padding: 10px 37px;
|
656
|
-
|
657
|
-
font-size: 1.6rem;
|
658
|
-
|
659
|
-
-webkit-transition: .3s;
|
660
|
-
|
661
|
-
transition: .3s;
|
662
|
-
|
663
|
-
}
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
668
|
-
|
669
|
-
.header-right .header-link .calender-link {
|
670
|
-
|
671
|
-
margin-right: 100px;
|
672
|
-
|
673
|
-
}
|
674
|
-
|
675
|
-
}
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
@media screen and (max-width: 599px) {
|
680
|
-
|
681
|
-
.header-right .header-link .calender-link {
|
682
|
-
|
683
|
-
padding: 8px 16px;
|
684
|
-
|
685
|
-
font-size: 1.4rem;
|
686
|
-
|
687
|
-
}
|
688
|
-
|
689
|
-
}
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
.header-right .header-link .calender-link::before {
|
694
|
-
|
695
|
-
content: "";
|
696
|
-
|
697
|
-
display: inline-block;
|
698
|
-
|
699
|
-
margin: -3px 5px 0 0;
|
700
|
-
|
701
|
-
background-image: url(../../../asserts/img/calender.png);
|
702
|
-
|
703
|
-
background-repeat: no-repeat;
|
704
|
-
|
705
|
-
background-size: contain;
|
706
|
-
|
707
|
-
vertical-align: middle;
|
708
|
-
|
709
|
-
width: 22px;
|
710
|
-
|
711
|
-
height: 22px;
|
712
|
-
|
713
|
-
}
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
.header-right .header-link .calender-link:hover {
|
718
|
-
|
719
|
-
background-color: #000;
|
720
|
-
|
721
|
-
}
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
.overlay {
|
726
|
-
|
727
|
-
content: "";
|
728
|
-
|
729
|
-
display: block;
|
730
|
-
|
731
|
-
width: 0;
|
732
|
-
|
733
|
-
height: 0;
|
734
|
-
|
735
|
-
background-color: rgba(0, 0, 0, 0.5);
|
736
|
-
|
737
|
-
position: absolute;
|
738
|
-
|
739
|
-
top: 0;
|
740
|
-
|
741
|
-
left: 0;
|
742
|
-
|
743
|
-
z-index: 2;
|
744
|
-
|
745
|
-
opacity: 0;
|
746
|
-
|
747
|
-
-webkit-transition: opacity .5s;
|
748
|
-
|
749
|
-
transition: opacity .5s;
|
750
|
-
|
751
|
-
}
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
.overlay._open {
|
756
|
-
|
757
|
-
width: 100%;
|
758
|
-
|
759
641
|
height: 100%;
|
760
642
|
|
761
643
|
opacity: 1;
|
1
修正しました
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
複数ページにわたり、drawer-navを開いた時に、背景を固定させたい。
|
test
CHANGED
File without changes
|