<style>
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display+SC');

@font-face {
    font-family: 'IPA 明朝';
    font-display: swap; /* テキストが読み込まれてからフォントを適用する */
    src: url('https://cdn.leafscape.be/IPAfont/ipam_web.woff2') format("woff2");
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
 
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
 
-------------------------------------------------*/
/* フォントここまで */

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 游明朝, 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'IPA 明朝', serif;
}

/* 基本設定 */
body {
    text-align: justify;
    word-break: break-all;
    line-height: 1.7;
    letter-spacing: 0.1em;
    background-color: #f5f5f5;
    font-size: 13px;
    color: #000;
}

/* リンク */
a {
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

/* ホバー */
a:hover {
    border-bottom: thin solid #000;
}

/* ヘッダー */
header {
    position: relative;
    margin: 5em auto 6em;
    height: 200px;
    width: 200px;
    box-shadow: 1px 1px 10px #c0c0c0;
    font-family: 'Playfair Display SC', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
}

/* 見出し */
header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
}

/* サブタイトル */
header p {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.3em;
    text-indent: 0.3em;
}

/* セクション＆アーティクル */
section,
article {
    margin: 3em auto;
    padding: 0 1.5em;
    width: 80%;
    max-width: 500px;
}

/* セクションのボーダーを奇数偶数で変える */
section:nth-of-type(odd) {
    border-left: 10px solid #fff;
}

section:nth-of-type(even) {
    text-align: right;
    border-right: 10px solid #fff;
}

/* 見出し */
section h2,
article h2 {
    margin-bottom: 0.5em;
    font-family: 'Playfair Display SC', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
}

/* 余白 */
section p,
section dl,
section ul,
footer {
    margin: 0.5em auto 1.5em;
}

 /* リスト系 */
section dd {
    margin: 0 0 1em 1em;
}

section ul,
article ul {
    list-style-type: none;
}

/* 横並びリスト */
.float li {
    display: inline-block;
}

.float li a {
    margin-right: 1em;
}
/* リストここまで */

/* アーティクル */
article {
    padding: 2em 1.5em;
    background-color: #fff;
}

article p {
    margin: 1em auto 1.5em;
}

/* フッター */
footer {
    text-align: center;
}

/* 中央揃え */
.center {
    text-align: center;
}

/* 枠線リンク */
.link {
    margin: 0.2em auto;
    padding: 0.1em 0.4em;
    border: thin solid #000;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    margin: 0.5em auto;
    padding: 0.1em 0.5em;
    background-color: #f5f5f5;
    border: 5px solid #fff;
    border-radius: 0;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅768px以上はフォントサイズ14px */
@media screen and (min-width:768px) {
    body {
        font-size: 14px;
    }
}

</style>