>>0
以下スタイルです。
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" href="
https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
<script type="text/javascript" src="
https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
$(function(){
$('a[href^=#]').click(function() {
var speed = 700;
var href= $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top;
$('body,html').animate({scrollTop:position}, speed, 'swing');
return false;
});
});
</script>
<style type="text/css">
@import url('
https://fonts.googleapis.com/css?family=Marcellus');
* {
margin: 0;
padding: 0;
font-size: 100%;
font-weight: normal;
list-style-type: none;
box-sizing: border-box;
}
input, button, textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin: 0;
padding: 0;
background: none;
border: none;
border-radius: 0;
outline: none;
}
a {
text-decoration: none;
}
body {
color: #111;
letter-spacing: 0.5px;
line-height: 1.8;
font-size: 12px;
font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',Meiryo, メイリオ, sans-serif;
word-break: break-all;
text-align: justify;
background: url(##IMAGE_DATA_4_URL##) center top fixed;
background-size: 340px;
}
html,body {
height: 100%;
}
article {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
margin:0 auto;
}
header {
width: 100%;
padding: 30px 10px;
background: rgba(255,255,255,0.95);
text-align: center;
font-family: 'Marcellus', serif;
letter-spacing: 1.5px;
}
header * {
color: #333;
}
header .lnr {
font-size: 20px;
position: relative;
left: 5px;
}
header h1 {
font-size: 25px;
}
header ul {
display: flex;
justify-content: center;
}
header ul li {
margin: 0 5px;
}
header ul li a {
font-size: 11px;
}
header p {
font-size: 10px;
color: #afafaf;
margin: -5px 0 20px 0;
}
.wrp{
background: rgba(255,255,255,0);
padding-bottom: 30px;
width:100%;
}
.wrq{
background: rgba(255,255,255,0.95);
padding-bottom: 30px;
width:100%;
}
section {
background: rgba(255,255,255,0);
width: 75%;
max-width: 500px;
margin: 0 auto;
padding: 20px 0 0;
}
section h2 {
text-align: center;
margin: 30px 0 15px;
font-family: 'Marcellus', serif;
font-size: 17px;
letter-spacing: 2px;
}
section h2::after {
content: '';
display: block;
width: 30px;
height: 2px;
background: #dfdfdf;
margin: 10px auto 0;
}
section h3 {
font-weight: bold;
margin-bottom: 3px;
}
section h3 span {
font-size: 11px;
margin-left: 8px;
color: #afafaf;
}
section h3 .lnr {
font-size: 17px;
margin: 0 8px 0 0;
}
section .lnr-heart {
color: #EB647A;
}
section .lnr-moon {
color: #F2D871;
}
section .lnr-magic-wand {
color: #65BACF;
}
section p {
margin-bottom: 20px;
}
section a {
color: #888;
border-bottom: 1px solid #efefef;
margin: 0 3px;
}
section .list {
font-size: 11px;
border-left: 1px dashed #e2e2e2;
padding-left: 15px;
position: relative;
left: 8px;
line-height: 2;
margin-bottom: 30px;
}
footer {
background: rgba(0,0,0,0.3);
padding: 20px 10px;
text-align: center;
color: #fff;
font-family: 'Marcellus', serif;
letter-spacing: 1.5px;
}
footer a {
letter-spacing: 0.5px;
font-size: 11px;
color: #fff;
border-bottom: 1px solid rgba(255,255,255,0.2);
padding: 0 5px;
}
</style>