Skip to content

Commit 4852da0

Browse files
author
Fumito Abe
committed
CTA SPまで完成
1 parent faa6e30 commit 4852da0

File tree

1 file changed

+66
-5
lines changed

1 file changed

+66
-5
lines changed

src/components/CallToAction.vue

Lines changed: 66 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
<li class="target">対象:法人・個人</li>
4848
<li class="hour">平日 10:00 – 19:00</li>
4949
<li class="min">1社 or 1人 / 60分</li>
50-
<li class="calendar">カレンダーから簡単予約</li>
50+
<li class="calendar">
51+
<a href="https://calendly.com/slsops/office-hours">
52+
カレンダーから簡単予約
53+
</a>
54+
</li>
5155
</ul>
5256
</v-col>
5357

@@ -73,6 +77,10 @@
7377
background-size: cover;
7478
background-color: $tertiary;
7579
80+
@include media-breakpoint-down(md) {
81+
padding-bottom: 64px;
82+
}
83+
7684
@include media-breakpoint-down(sm) {
7785
padding-bottom: 64px;
7886
background-image: url('../assets/images/cta/cta-particle.svg');
@@ -159,6 +167,7 @@
159167
padding-bottom: 16px;
160168
margin: 32px 0 24px 0;
161169
border-bottom: 1px solid $light-gray-1;
170+
color: $secondary;
162171
}
163172
.cta-task-list {
164173
display: flex;
@@ -177,6 +186,8 @@
177186
background-image: url("../assets/images/cta/cta-icon-check.svg");
178187
padding-left: 32px;
179188
background-position:0px 1px;
189+
font-family: $font-jp-bold;
190+
color: $secondary;
180191
@include media-breakpoint-down(sm) {
181192
margin-bottom: 8px;
182193
br {
@@ -195,12 +206,13 @@
195206
justify-content: center;
196207
align-items: center;
197208
@include media-breakpoint-down(sm) {
198-
min-height: 460px;
209+
min-height: 480px;
199210
}
200211
@include media-breakpoint-down(xs) {
201212
min-height: 200px;
202213
}
203214
ul {
215+
padding: 0;
204216
li {
205217
margin-bottom: 14px;
206218
font-size: 14px;
@@ -225,6 +237,15 @@
225237
&.calendar {
226238
background-image: url("../assets/images/cta/cta-icon-calendar.svg");
227239
padding-left: 32px;
240+
a {
241+
color: #fff;
242+
text-decoration: none;
243+
transition: all 2s cubic-bezier(0.76, 0, 0.3, 1);
244+
&:hover {
245+
opacity: 0.9;
246+
text-decoration: underline;
247+
}
248+
}
228249
}
229250
}
230251
}
@@ -244,12 +265,23 @@
244265
font-size: 24px;
245266
font-family: $font-jp-bold;
246267
line-height: 360px;
268+
transition: all 1s cubic-bezier(0.76, 0, 0.3, 1);
269+
&:hover {
270+
opacity: 0.9;
271+
}
272+
@include media-breakpoint-down(md) {
273+
margin-top: -120px;
274+
min-height: 240px;
275+
line-height: 1.2;
276+
font-size: 18px;
277+
padding-top: 110px;
278+
}
247279
@include media-breakpoint-down(sm) {
248280
margin-top: 0;
249281
min-height: 176px;
250282
line-height: 1.2;
251283
font-size: 18px;
252-
padding-top: 18%;
284+
padding-top: 68px;
253285
}
254286
&::before {
255287
content: 'Office Hours';
@@ -263,10 +295,20 @@
263295
opacity: 0.1;
264296
font-family: $font-en-light;
265297
font-size: 15vw;
298+
transition: all 0.4s cubic-bezier(0.76, 0, 0.3, 1);
299+
@include media-breakpoint-down(md) {
300+
top: 10%;
301+
font-size: 14vw;
302+
}
266303
@include media-breakpoint-down(sm) {
267-
top: 30%;
304+
top: 20%;
305+
font-size: 14vw;
268306
}
269307
}
308+
&:hover::before {
309+
opacity: 0.15;
310+
}
311+
// Border
270312
&::after {
271313
content: '';
272314
position: absolute;
@@ -275,8 +317,27 @@
275317
width: 100px;
276318
height: 1px;
277319
background: #fff;
278-
right: 28%;
320+
right: 20%;
279321
bottom: 50%;
322+
transition: transform 0.4s cubic-bezier(0.76, 0, 0.3, 1);
323+
transform: scaleX(0);
324+
transform-origin: right center;
325+
@include media-breakpoint-down(md) {
326+
right: 16%;
327+
}
328+
@include media-breakpoint-down(sm) {
329+
right: 20%;
330+
width: 80px;
331+
}
332+
@include media-breakpoint-down(xs) {
333+
right: 6%;
334+
width: 32px;
335+
}
336+
}
337+
&:hover::after {
338+
transform: scaleX(1);
339+
transform-origin: left center;
340+
transition: transform 0.4s cubic-bezier(0.76, 0, 0.3, 1);
280341
}
281342
}
282343
</style>

0 commit comments

Comments
 (0)