<style>
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');

@font-face {
    font-family: 'はれのそら明朝';
    src: url('https://cdn.leafscape.be/Harenosora/harenosora_web.woff2') format("woff2");
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
オリジナルのフォントは以下から取得できます。
<blockquote class="wp-embedded-content" data-secret="Zcpa0mdkdz"><a href="https://fontopo.com/?p=377">はれのそら明朝</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://fontopo.com/?p=377&embed=true#?secret=Zcpa0mdkdz" data-secret="Zcpa0mdkdz" width="500" height="282" title="“はれのそら明朝” &#8212; fontopo" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
http://ipafont.ipa.go.jp/
-------------------------------------------------*/

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
body {
    text-align: center;
    background-color: #f5f5f5;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: #000;
}

/* リンク */
a {
    text-decoration: none;
    transition: color .5s;
    color: #000;
}

/* ホバー */
a:hover {
    color: #cc5a70;
}

/* フォントの指定 */
header a,
header h1,
header aside,
h2,
time {
    font-family: 'はれのそら明朝', serif;
}

/* ヘッダー */
header {
    padding: 5em 0;
}

/* ヘッダーとセクション */
header,
section,
article,
footer,
.menu {
    margin: 0 auto;
    max-width: 600px;
    background-color: #fff;
}

/* 見出し */
header h1,
h2 {
    display: inline-block;
    font-size: 1.1em;
}

/* 縦書き */
header h1,
header nav ul li a {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}

/* ヘッダー画像サイズ */
header h1 img {
    margin-bottom: 1.5em;
    width: 60px;
    height: auto;
}

/* ナビゲーション */
header nav ul {
    display: flex;
    flex-direction: row-reverse;
    margin: 4em auto;
    width: 40%;
    list-style-type: none;
}

header nav ul li {
    margin: 0 auto;
    height: 8em;
    border-top: 5px solid #cc5a70;
}

header nav ul li,
section,
article {
    text-align: justify;
    word-break: break-all;
}

header nav ul li a {
    margin-top: 10px;
}

/* 補足情報部分のリンク */
header aside a {
    border-bottom: 5px solid #cc5a70;
}

/* セクション */
section,
article {
    padding: 3em;
}

section a,
article a,
.menu a {
    font-weight: bold;
    color: #cc5a70;
}

/* 見出し */
h2 {
    position: relative;
}

h2::before {
    position: absolute;
    content: '';
    display: block;
    bottom: -15px;
    left: 0;
    width: 50px;
    height: 5px;
    background-color: #cc5a70;
}

/* 余白 */
h2,
p {
    margin: 1em auto 1.5em;
}

/* セクション内共通設定 */
section span {
    border-bottom: thin dashed #cc5a70;
}

section mark {
    background-color: #fff;
    border-bottom: 3px solid #cc5a70;
}

section strong {
    font-weight: bold;
    color: red;
}

/* リスト系 */
section dl,
section ul {
    margin: 1em auto 1.5em;
}

section dd {
    margin-left: 1em;
    margin-bottom: 1em;
    color: #808080;
}

section ul {
    list-style-type: none;
    margin-left: 1em;
    padding-left: 1em;
    border-left: thin dotted #cc5a70;
}

/* その他 */
footer,
.menu {
    padding: 2em 0;
}

.link {
    margin: 0.2em auto;
    padding: 0.2em 0.5em;
    border: thin solid #cc5a70;
}

.line {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    height: 10px;
    background-color: #cc5a70;
}

.right {
    text-align: right;
}

.menu li {
    display: inline-block;
}

.menu li a {
    margin: 0 1em;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #cc5a70;
    border: none;
    border-radius: 0;
    color: #fff;
}

textarea {
    width: 200px;
    height: 120px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {

    /* フォントサイズ */
    body {
        font-size: 14px;
    }
}
</style>