-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon-sugutabe.css
executable file
·102 lines (95 loc) · 2.34 KB
/
common-sugutabe.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
@charset "UTF-8";
@font-face
{
font-family: はれのそら明朝;
src:
url('https://cdn.leafscape.be/Harenosora/harenosora_web.woff2') format("woff2");
}
/* CSS Document */
html {
font-size: 62.5%; /* 16px * 62.5% = 10px */
width: 100%;
box-sizing: border-box;
}
body {
color: #333; /* RGB */
font-family: "Noto Sans JP", sans-serif;
font-weight: 500;
font-size: 1.6em;
line-height: 2.4rem;
text-align: center;
}
section h2 {
font-size: 2.4rem;
}
a:hover {
opacity: 0.5;
}
.none{
display: none;
}
.section-top__image h2,.section-top__lead,.section-reason h2,.section-reason__item-title,.section-reason__item-subtitle,.section-quality h2,.section-farmars h2,.section-farmars__sub-title,.section-set h2,.section-set__sub-title,.section-question h2,.footer small{
font-family: "はれのそら明朝", serif;
}
.button{
border: 1px solid #000;
display: block;
margin: 25px auto;
padding: 15px 20px;
max-width: 250px;
position: relative;
}
.button p{
font-size:1.8rem;
font-weight: 600;
}
.section-top__button{
border: 1px solid #000;
display: block;
margin: 25px auto;
padding: 15px 20px;
max-width: 250px;
position: relative;
}
.section-top__button p{
font-size:1.8rem;
font-weight: 600;
}
.triangle-right{
border-style: solid;
border-width: 5px 0 5px 5px;
border-color: transparent transparent transparent #030303;
display: inline-block;
width: 0;
height: 0;
/* 矢印アイコンの位置を設定 */
position: absolute;
top: 90%;
right: 2px;
transform: translateY(-50%) rotate(45deg); /* rotate(45deg)で矢印を回転(向きを変更)させる */
}
.section-top__triangle-right{
border-style: solid;
border-width: 5px 0 5px 5px;
border-color: transparent transparent transparent #030303;
display: inline-block;
width: 0;
height: 0;
/* 矢印アイコンの位置を設定 */
position: absolute;
top: 90%;
right: 2px;
transform: translateY(-50%) rotate(45deg); /* rotate(45deg)で矢印を回転(向きを変更)させる */
}
@media(min-width:1040px) {
/*PCは白*/
.section-top__button{
border: 1px solid #fff;
}
.section-top__button p{
color: #fff;
}
.section-top__triangle-right{
border-color: transparent transparent transparent #fff;
}
}