-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
322 lines (296 loc) · 5.13 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
@charset "UTF-8";
/* CSSのリセット(消さないでください) */
html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
input,
div {
margin: 0;
padding: 0;
}
body {
font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif;
}
button {
-webkit-appearance: none;
appearance: none;
vertical-align: middle;
border: 0;
background: transparent;
padding: 0;
margin: 0;
outline: 0;
border-radius: 0;
}
li {
list-style: none;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background-color: #F5A9F2;
}
/* =====================
電光掲示板
======================= */
.ledText {
overflow: hidden;
position: relative;
padding:5px 0;
color: #FFB400;
font-size: 60px;
font-weight: bold;
background: #333333;
}
/* CSS3グラデーションでドット感を出す */
.ledText:after {
content: ' ';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-image: linear-gradient(#0a0600 1px, transparent 0px), linear-gradient(0, #0a0600 1px, transparent 1px);
background-image: -webkit-linear-gradient(#0a0600 1px, transparent 0px), -webkit-linear-gradient(0, #0a0600 1px, transparent 1px);
background-size: 2px 2px;
z-index: 10;
}
/* CSS3アニメーションでスクロール */
.ledText span {
display: inline-block;
white-space: nowrap;
padding-left: 100%;
-webkit-animation-name: marquee;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 15s;
-moz-animation-name: marquee;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
-moz-animation-duration: 15s;
animation-name: marquee;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-duration: 15s;
}
@-webkit-keyframes marquee {
from { -webkit-transform: translate(0%);}
99%,to { -webkit-transform: translate(-100%);}
}
@-moz-keyframes marquee {
from { -moz-transform: translate(0%);}
99%,to { -moz-transform: translate(-100%);}
}
@keyframes marquee {
from { transform: translate(0%);}
99%,to { transform: translate(-100%);}
}
/*トップ画像*/
.top{
height: 800px;
}
.top-left{
width: 30%;
height: 43%;
position: absolute;
top: 40%;
left: 15%;
z-index: 10;
}
.top-left img{
width: 100%;
}
.top-center{
width: 50%;
height: 50%;
position: absolute;
top: 30%;
left: 35%;
z-index: 1;
animation-name: neko;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-duration: 1.5s;
}
.top-center img{
width: 60%;
}
@keyframes neko {
0% {
transform: translate(0,0px);
}
100% {
transform: translate(0,-120px)
}
}
.top-right{
width: 30%;
height: 43%;
position: absolute;
top: 40%;
right: 15%;
z-index: 10;
}
.top-right img{
width: 100%;
}
/*カバー*/
.cover{
position: relative;
height: 600px;
/*min-height: 100vh;*/
background-image: url(img/sky01.jpg);
background-attachment: fixed;
background-size: cover;
color: #fff;
}
/*メニューボタン*/
.menu{
margin: 0 auto;
width: 900px;
height: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.menu-button{
display: flex;
justify-content: center;
width: 35%;
height: 50px;
background-color: #fff;
border-radius: 10px;
margin: 5px 50px;
font-weight: bold;
font-size: 25px;
opacity: 0;
transition-duration: 0.5s;
transition-property: opacity, transform;
}
.menu-button p{
}
.menu-button img{
width: 40px;
height: 40px;
}
.btn{
transform: translate(0, 50px);
}
.txt{
transform: translate(-50px, 0);
}
.is-scrollIn {
opacity: 1 !important;
transform: translate(0, 0);
}
/*テキスト*/
.textspace{
margin: 0 auto;
padding: 50px 10px;
width: 900px;
}
.text{
margin: 0 auto;
width: 700px;
}
.fadein{
line-height:400%;
opacity: 0;
transition-duration: 0.5s;
transition-property: opacity, transform;
}
/*フッター*/
footer{
background-color: gray;
color: #fff;
padding: 30px 30px;
}
footer h6{
text-align: center;
}
/*----スマホ画面-----*/
@media screen and (max-width: 480px) {
.top{
height: 220px;
}
.top-left{
width: 30%;
position: absolute;
top: 25%;
left: 15%;
z-index: 10;
}
.top-left img{
width: 100%;
}
.top-center{
width: 50%;
position: absolute;
top: 20%;
left: 35%;
z-index: 1;
}
.top-center img{
width: 60%;
}
.top-right{
width: 30%;
position: absolute;
top: 25%;
right: 15%;
z-index: 10;
}
.top-right img{
width: 100%;
}
@keyframes neko {
0% {
transform: translate(0,0px);
}
100% {
transform: translate(0,-30px)
}
}
/*カバー*/
.cover{
background-image: url(img/sky01.jpg);
background-size: cover;
background-attachment: scroll;
color: #fff;
}
/*メニュー*/
.menu{
width: 100%;
display: block;
}
.menu-button{
width: 95%;
margin: 10px auto;
}
}
/*テキスト*/
.textspace{
width: 100%;
}
.text{
width: 80%;
margin: 0 auto;
}
iframe{
width: 80%;
}