<style>
@charset "UTF-8";

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

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');

@font-face {
    font-family: 'はんなり明朝';
    font-display: swap;
    src: url('https://cdn.leafscape.be/hannari/hannari_web.woff2') format("woff2");
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
-------------------------------------------------*/

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

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

/* リンク基本設定 */
a {
    text-decoration: none;
    color: #44617b;
}


/* 訪問済みリンク */
a:visited {
    color: #44617b;
}

/* ヘッダー */
header {
    margin: 4em auto;
    text-align: center;
}

header img {
    margin-bottom: 1em;
    border-radius: 50%;
}

/* フォントの指定 */
h1,
h2,
h3 {
    font-family: 'はんなり明朝', serif;
}

/* 見出しを縦書きにする */
h1,
h2 {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}

/* 見出し */
h1 {
    display: inline-block;
    margin: 0 auto;
    letter-spacing: 0.6em;
    font-size: 2em;
}

h2 {
    float: left;
    margin-right: 0.5em;
    letter-spacing: 0.4em;
    font-size: 1.7em;
}

h3 {
    position: relative;
    margin: 0.8em auto;
    padding: 0.25em 0;
    text-align: center;
    font-size: 1.2em;
}

/* 見出し鍵括弧部分 */
h3:before,
h3:after {
    content: '';
    width: 15px;
    height: 20px;
    position: absolute;
    display: inline-block;
}

h3:before {
    border-left: solid 1px #000;
    border-top: solid 1px #000;
    top: 0;
    left: 0;
}

h3:after {
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    bottom: 0;
    right: 0;
}

/* セクションとアーティクル */
section,
article {
    margin: 2em auto;
    padding: 2em 3em;
}

/* セクションリンク */
section a {
    font-weight: bold;
    color: #b04c7a;
}

/* フロートの解除 */
section::after {
    display: block;
    content: '';
    clear: both;
}

/* アーティクル */
article {
    max-width: 500px;
    background-color: #ffffff;
}

/* 段落 */
article p {
    margin: 1.5em auto;
}

/* 重要事項 */
strong {
    font-weight: bold;
    color: red;
}

/* リスト系 */
ol {
    list-style-position: inside;
}

ul {
    list-style-type: none;
}

/* 横並びリスト */
.yoko li {
    display: inline-block;
}

.yoko li a {
    margin-right: 1em;
}

/* 中央寄せ */
.center {
    text-align: center;
}

/* 回り込みの指定 */
.overflow {
    overflow: hidden;
}

/* メニューリンク */
.menu a {
    display: inline-block;
    margin: 0 1em;
    padding: 0 3em;
    border: thin solid #000;
}

/* フッター */
footer {
    margin: 1.5em auto;
    text-align: center;
}

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

textarea {
    width: 200px;
    height: 100px;
}

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

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

/* 横幅768px以上で下記を読み込む */
@media screen and (min-width:768px) {
    body {
        font-size: 14px;
    }

    /* フレックスボックス */
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        max-width: 1024px;
        margin: 3em auto;
    }

    section {
        padding: 0;
        flex-basis: 40%;
    }
}

/* 横幅1024px以上で下記を読み込む */
@media screen and (min-width:1024px) {
    body {
        font-size: 15px;
    }

    section {
        flex-basis: 30%;
    }
}

</style>