
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Noto+Sans+JP&display=swap');
/* ここまで */

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
body {
    background-color: #fff;
    text-align: justify;
    word-break: break-all;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #000;
}

/* リンク基本設定 */
a {
    color: #5e7783;
}

/* ホバー */
a:hover {
    border: none;
}

/* ヘッダーとナビゲーション */
header {
    position: relative;
    margin: 5em auto 1.5em;
    background: url('背景画像URL') center/cover no-repeat;
    width: 300px;
    height: 200px;
    text-align: center;
}

header img,
header h1,
nav {
    position: absolute;
}

header img {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header h1,
nav ul li a,
aside,
section h2,
section h3 {
    letter-spacing: 0;
    font-family: 'Cedarville Cursive', cursive;
}

header h1,
nav ul li a {
    text-shadow: 0 0 1px #fff;
    color: transparent;
}

header h1 {
    top: 30%;
    width: 100%;
    z-index: 50;
    font-size: 3em;
}

nav {
    width: 100%;
    bottom: 5%;
    z-index: 150;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    margin: 0 0.8em;
    text-decoration: none;
    font-size: 15px;
}

/* ここまで */

/* 補足情報 */
aside,
footer {
    margin: 1em auto;
    text-align: center;
}

/* セクション */
section {
    padding: 2em;
}

/* 見出し */
section h2,
section h3 {
    margin-bottom: 1em;
    line-height: 1;
}

section h2 {
    text-align: center;
    background-color: #efefef;
    font-size: 1.8em;
}

section h3 {
    padding-left: 0.5em;
    border-left: 2px solid #efefef;
    font-size: 1.5em;
}

/* セクション内共通設定 */
section p {
    margin: 1em auto 1.5em;
}

section p span {
    font-weight: bold;
    color: #5e7783;
}

section mark {
    padding: 0.2em 0.3em;
    background-color: #efefef;
}

section em {
    border-bottom: thin dashed red;
}

section strong {
    font-weight: bold;
    color: red;
}

section .borderright {
    margin-right: 0.5em;
    padding-right: 0.5em;
    border-right: 5px solid #efefef;
}

/* セクションここまで */

/* フォーム系*/
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #000;
    border-radius: 0;
}

textarea {
    width: 280px;
    height: 120px;
}

input[type=text] {
    width: 100px;
    height: 1.2em;
}

input[type=submit] {
    width: auto;
    height: 1.2em;
}

/* フォーム系ここまで */

/* IE,Edge用 */
@media all and (-ms-high-contrast: none) {

    h1,
    nav a {
        color: #fff;
    }
}

@supports (-ms-ime-align:auto) {

    header h1,
    nav ul li a {
        color: #fff;
    }
}

/* ここまで */

/* 横幅768px以上で下記を読み込むb */
@media screen and (min-width:768px) {

    body {
        font-size: 14px;
    }

    /* フレックスボックス */
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 900px;
        margin: 0 auto;
    }

    header {
        width: 600px;
        height: 400px;
    }

    /* フォントサイズ */
    header h1 {
        font-size: 70px;
    }

    nav ul li a {
        font-size: 23px;
    }

    aside {
        font-size: 15px;
    }

    /* ここまで */

    section {
        flex-basis: 50%;
    }
}
