<style>

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Kaushan+Script');
/* ここまで */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

body {
    text-align: justify;
    word-break: break-all;
    line-height: 1.7;
    letter-spacing: 0.1em;
    background-color: #f7f7f7;
    font-size: 13px;
    color: #000;
}

a {
    text-decoration: none;
    color: #808080;
}

a:hover {
    color: #fff;
}

header {
    margin: 20vh auto;
    width: 70%;
    max-width: 500px;
    text-align: center;
}

/* ボーダー部分 */
header::before,
header::after {
    display: block;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    background: repeating-linear-gradient(-30deg, #fff 0, #fff 2px, #f3f3f3 5px, #f3f3f3 10px);
}

header::before {
    height: 30vh;
}

header::after {
    height: 10vh;
}
/* ここまで */

header h1 {
    margin-top: 0.2em;
    background: url('画像URL') center/contain;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: 'Kaushan Script', cursive;
    font-size: 2.2em;
    color: transparent;
}

nav {
    margin: 0 auto 1em;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin: 0 0.7em;
}

nav ul li a,
section h2,
section h3,
.en {
    font-family: 'Josefin Sans', sans-serif;
}

section {
    margin: 5em auto 3em;
    padding: 3em;
    box-shadow: 0 0 10px #f3f3f3;
    background-color: #fff;
}

section a {
    padding: 0 0.4em;
    font-weight: bold;
    color: #a4a8d4;
}

section a:hover {
    background-color: #a4a8d4;
}

section h2,
section h3,
.link {
    font-weight: normal;
}

/* 自動で大文字にする */
section h2,
section h3,
.en {
    text-transform: uppercase;
}
/* ここまで */

section h2 {
    margin-bottom: 1.5em;
    font-size: 1.2em;
    color: #a4a8d4;
    text-align: center;
}

section h3 {
    margin: 1em auto;
    padding-left: 1em;
    line-height: 1.5;
    border-left: 2px solid #a4a8d4;
    font-size: 1em;
}

section p {
    margin: 1em auto 1.5em;
}

section span {
    border-bottom: thin dashed #a4a8d4;
}

section mark {
    padding: 0.1em 0.4em;
    background-color: #f0f0f0;
}

/* リスト系 */
section dl,
section ul {
    margin: 0.5em auto 1.5em;
}

section dd {
    margin: 0 0 0.5em 2em;
    font-size: 11px;
}

section ul {
    list-style-type: none;
}
/* ここまで */

footer {
    margin: 1.5em auto;
    text-align: center;
}

footer,
footer a {
    font-family: 'Kaushan Script', cursive;
}

.right {
    text-align: right;
}

.link {
    display: inline-block;
    margin: 0.2em auto;
    border: thin solid #a4a8d4;
}

/* フロートリスト */
.float li {
    float: left;
}

.float li::after {
    display: block;
    content: '';
    clear: both;
}

/* 上に戻るボタン着地点 */
#Top {
    height: 1px;
}

/* 上に戻るボタン */
#PageTop {
    position: fixed;
    bottom: 4%;
    right: 5%;
}

#PageTop a {
    display: block;
    z-index: 100;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f7f7f7;
    box-shadow: -1px -1px 8px #a4a8d4, 1px 1px 8px #a4a8d4;
}
/* ここまで */

textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #f7f7f7;
    border: none;
    border-radius: 0;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

textarea {
    width: 200px;
    height: 70px;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    /* フレックスボックス */
    main {
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 800px;
    }

    header h1 {
        font-size: 4em;
    }

    section {
        flex-basis: 45%;
    }

    /* 上に戻るボタンの大きさを変える */
    #PageTop a {
        width: 40px;
        height: 40px;
    }
}
/* ここまで */

</style><div id="Top"></div>

<header>
    <h1>control freak</h1>
    <nav>
        <ul>
            <li><a href="#info">info</a></li>
            <li><a href="#main">main</a></li>
            <li><a href="#note">note</a></li>
            <li><a href="#code">code</a></li>
        </ul>
    </nav>
</header>

<main>
    <section id="info">
        <h2>information</h2>
        <h3>about</h3>
        <p>
            <span>spanで下線</span><br>
            <mark>markでマーカー</mark><br>
            <span class="en">class="en"で英字</span><br>
            <a href="#">通常リンク</a><br>
            <a href="#" class="link">class="link"リンク</a>
        </p>
        <div class="right">class="right"で右揃え</div>
        <p>
            最終調整日 2019/04/28<br>
            テンプレート公開 2019/2/13<br>
        </p>
    </section>
    <section id="main">
        <h2>main contents</h2>
        <h3>sample</h3>
        <dl>
            <dt><mark>記述リスト</mark></dt>
            <dd>ここに説明</dd>
            <dt><a href="#" class="link">タイトル</a></dt>
            <dd>ここに説明</dd>
        </dl>
        <mark>リスト</mark>
        <ul>
            <li><a href="#">リンク</a></li>
            <li><a href="#">リンク</a></li>
        </ul>
        <ul class="float">
            <li>横並び</li>
            <li><a href="#">リンク</a></li>
            <li><a href="#">リンク</a></li>
        </ul>
    </section>
    <section id="note">
        <h2>notebook</h2>
        <h3>sample</h3>
        <p>
            <span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sed, ab sequi a maxime soluta maiores blanditiis qui tempora, id ea minus reiciendis, consequatur aperiam libero ratione ducimus! Repellat, magni, dolorem!</span>
        </p>
        <div class="right"><a href="#" class="link">Read more</a></div>
    </section>
</main>

<footer>Template by <a href="http://nina.starfree.jp" target="_blank">NINA</a>.</footer>

<div id="PageTop"><a href="#"></a></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"> </script>
<script>
    $(function() {
        $('a[href^="#"]').click(function() {
            var speed = 500;
            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;
        });
    });

    $(function() {
        var topBtn = $('#PageTop');
        topBtn.hide();
        $(window).scroll(function() {
            if ($(this).scrollTop() > 100) {
                topBtn.fadeIn();
            } else {
                topBtn.fadeOut();
            }
        });
        topBtn.click(function() {
            $('body,html').animate({
                scrollTop: 0
            }, 500);
            return false;
        });
    });

</script>