回答編集履歴
1
元にしているサイトだと全て横並びでは無く画像と住所データのブロックが横並びだったので修正しました。
test
CHANGED
@@ -6,11 +6,23 @@
|
|
6
6
|
|
7
7
|
```html
|
8
8
|
|
9
|
+
<section class="shop-information">
|
10
|
+
|
11
|
+
<div class="common-inner">
|
12
|
+
|
13
|
+
<h2 class="section-title">Shop shop-information</h2>
|
14
|
+
|
15
|
+
<p class="section-text">shiroの店舗情報をご紹介します。</p>
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
9
21
|
<div class="shop-block__container">
|
10
22
|
|
11
23
|
|
12
24
|
|
13
|
-
<div class="shop-b
|
25
|
+
<div class="shop-block__wrapper">
|
14
26
|
|
15
27
|
<p class="shop-block__image">
|
16
28
|
|
@@ -22,48 +34,170 @@
|
|
22
34
|
|
23
35
|
|
24
36
|
|
37
|
+
<div>
|
38
|
+
|
25
|
-
<div class="shop-block__wrapper">
|
39
|
+
<div class="shop-block__wrapper">
|
26
|
-
|
40
|
+
|
27
|
-
<p class="shop-b
|
41
|
+
<p class="shop-block__title">住所</p>
|
28
|
-
|
42
|
+
|
29
|
-
<p class="shop-b
|
43
|
+
<p class="shop-block__text">〒810-0001 福岡県福岡市中央区天神0-0-0</p>
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div class="shop-block__wrapper">
|
50
|
+
|
51
|
+
<p class="shop-brock__title">電話番号</p>
|
52
|
+
|
53
|
+
<p class="shop-brock__text">0120-000-000</p>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
<div class="shop-block__wrapper">
|
60
|
+
|
61
|
+
<p class="shop-block__title">営業時間</p>
|
62
|
+
|
63
|
+
<p class="shop-block__text">11:00-20:30 (定休日:水曜日)</p>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div class="shop-block__wrapper">
|
70
|
+
|
71
|
+
<p class="shop-block__title">アクセス</p>
|
72
|
+
|
73
|
+
<p class="shop-block__text">天神駅12a出口から徒歩6分 東京駅8b出口から徒歩12分</p>
|
74
|
+
|
75
|
+
</div>
|
30
76
|
|
31
77
|
</div>
|
32
78
|
|
33
|
-
|
34
|
-
|
35
|
-
<div class="shop-block__wrapper">
|
36
|
-
|
37
|
-
<p class="shop-brock__title">電話番号</p>
|
38
|
-
|
39
|
-
<p class="shop-brock__text">0120-000-000</p>
|
40
|
-
|
41
|
-
</div>
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
<div class="shop-block__wrapper">
|
46
|
-
|
47
|
-
<p class="shop-brock__title">営業時間</p>
|
48
|
-
|
49
|
-
<p class="shop-brock__text">11:00-20:30 (定休日:水曜日)</p>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div class="shop-block__wrapper">
|
56
|
-
|
57
|
-
<p class="shop-brock__title">アクセス</p>
|
58
|
-
|
59
|
-
<p class="shop-brock__text">天神駅12a出口から徒歩6分 東京駅8b出口から徒歩12分</p>
|
60
|
-
|
61
|
-
</div>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
79
|
</div>
|
66
80
|
|
67
81
|
</div>
|
68
82
|
|
83
|
+
|
84
|
+
|
85
|
+
</section>
|
86
|
+
|
69
87
|
```
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
```css
|
92
|
+
|
93
|
+
@charset "UTF-8";
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
*, *::before, *::after {
|
98
|
+
|
99
|
+
box-sizing: border-box;
|
100
|
+
|
101
|
+
margin: 0;
|
102
|
+
|
103
|
+
padding: 0;
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
body {
|
108
|
+
|
109
|
+
margin: 0;
|
110
|
+
|
111
|
+
font-family: sans-serif;
|
112
|
+
|
113
|
+
font-size: 16px;
|
114
|
+
|
115
|
+
color: #2b2b2b;
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
h1, h2, h3, p {
|
122
|
+
|
123
|
+
margin: 0;
|
124
|
+
|
125
|
+
padding: 0;
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
a {
|
132
|
+
|
133
|
+
color: #2b2b2b;
|
134
|
+
|
135
|
+
text-decoration: none;
|
136
|
+
|
137
|
+
}
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
section {
|
142
|
+
|
143
|
+
text-align: center;
|
144
|
+
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
.common-inner{
|
154
|
+
|
155
|
+
padding: 80px 0;
|
156
|
+
|
157
|
+
max-width: 960px;
|
158
|
+
|
159
|
+
margin: 0 auto;
|
160
|
+
|
161
|
+
}
|
162
|
+
|
163
|
+
.shop-block{
|
164
|
+
|
165
|
+
display: flex;
|
166
|
+
|
167
|
+
justify-content: space-between;
|
168
|
+
|
169
|
+
align-items: center;
|
170
|
+
|
171
|
+
width: 100%;
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
.shop-block__image{
|
182
|
+
|
183
|
+
width: 50%;
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
}
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
.shop-block__container{
|
192
|
+
|
193
|
+
display: flex;
|
194
|
+
|
195
|
+
width: 50%;
|
196
|
+
|
197
|
+
}
|
198
|
+
|
199
|
+
```
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
block など文字の修正も少し入れました。
|