2018
あんなこと
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
2017
こんなこと
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
2016
そんなこと
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div class="cp_timeline04">
<div class="timeline_item">
<div class="time_date">
<p class="time">2018</p>
<p class="flag">タイトル</p>
</div>
<div class="desc">
<p>内容</p>
</div>
</div>
<div class="timeline_item">
<div class="time_date">
<p class="time">2017</p>
<p class="flag">タイトル</p>
</div>
<div class="desc">
<p>内容</p>
</div>
</div>
<div class="timeline_item">
<div class="time_date">
<p class="time">2016</p>
<p class="flag">タイトル</p>
</div>
<div class="desc">
<p>内容</p>
</div>
</div>
</div>
.cp_timeline04 {
position: relative;
margin: 3em auto;
padding-bottom: 2em;
}
.cp_timeline04:before {
position: absolute;
top: 0px;
top: -30px;
left: 45px;
width: 3px;
height: 100%;
content: '';
background: #e91e63;
}
.cp_timeline04 .timeline_item {
margin: 0px 0px 0px 80px;
}
.cp_timeline04 .timeline_item .time_date .time {
font-family: serif;
font-size: 6em;
font-weight: bold;
position: relative;
margin: 0;
letter-spacing: 3px;
color: rgba(233,30,99,0.1);
}
.cp_timeline04 .timeline_item .time_date .time:before {
position: absolute;
top: 50%;
left: -42px;
width: 10px;
height: 10px;
content: '';
transform: rotate(45deg);
border: 3px solid #e91e63;
background: #fff;
}
.cp_timeline04 .timeline_item .time_date .flag {
font-size: 1.5em;
font-weight: bold;
margin: -60px 0 0 0;
color: #880e4f;
}
.cp_timeline04 .timeline_item .desc {
font-size: 0.8em;
line-height: 20px;
margin-top: 10px;
padding-left: 20px;
border-left: 1px solid #880e4f;
margin-bottom: 60px;
}
@media only screen and (max-width: 767px) {
.cp_timeline04:before {
left: 15px;
}
.cp_timeline04 .timeline_item .time_date .time:before {
left: -32px;
}
.cp_timeline04 .timeline_item {
margin: 0px 0px 0px 40px;
}
.cp_timeline04 .timeline_item .desc {
padding-left: 0px;
border-top: 1px solid #880e4f;
border-left: none;
}
}