
@charset "UTF-8";

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

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

@font-face {
    font-family: '瀬戸フォント';
    font-display: swap;
    src: url('https://cdn.leafscape.be/setofont/setofont_web.woff2') format("woff2");
}

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

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

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    color: #609ba8/*#000*/;
}

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

/* ヘッダー */
header {
    margin: 5em auto 3em;
    padding: 0.7em;
    display: inline-block;
    background: url('https://hydrangeartworks.witchserver.jp/img/icon/101hc_top.jpeg') center/cover;
}

/* ヘッダー中身 */
header #head {
    padding: 1em;
    background: rgba(255, 255, 255, 0.9);
}

/* 長方形*/
.boxtop {
  width        : 350px;
	height       : 100px;
	object-fit: cover;
  overflow: hidden;    /* はみ出た部分を非表示 */
}


/* 大見出し */
header #head h1 {
    margin-bottom: 0.5em;
    transform: rotate(-5deg);
    font-family: '瀬戸フォント', sans-serif;
    font-size: 1.3em;
}

/* ヘッダーリンク */
header #head a,.menu a {
    font-family: 'Quicksand', sans-serif;
}

/* セクション */
section {
    margin: 3em auto;
}

/* セクション見出し */
section h2 {
    margin-bottom: 0.5em;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3em;
}

/* リスト */
section ul {
    list-style-type: none;
}

section ul li {
    margin: 0.5em;
    display: inline-block;
}

/* リンク色を交互に変える */
section ul li:nth-of-type(odd) a {
    background-color: #416092;
}

section ul li:nth-of-type(even) a {
    background-color: #ebd86d;
}

/* リンク */
section ul li a {
    display: inline-block;
    padding: 0.2em 0.5em;
    width: 100%;
    color: #fff;
}

/* リンクホバー */
section ul li a:hover {
    color: #000;
}

/* アーティクル */
article {
    margin: 3em auto;
    width: 80%;
    max-width: 500px;
}

/* アーティクル星 */
article img {
    width: 50px;
}

/* 段落 */
article p {
    text-align: justify;
    word-break: break-all;
}

/* 余白 */
article p,
.menu,
footer {
    margin: 1em auto 1.5em;
}

/* メニュー */
.menu li {
    display: inline-block;
}

.menu a {
    margin: 0 1em;
}

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

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

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

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

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

    /* フォントサイズ */
    body {
        font-size: 14px;
    }

    /* フレックスボックス */
    #wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #headerwrap {
        flex-basis: 100%;
    }

    section {
        flex-basis: 40%;
    }
}

@media screen and (min-width:1024px) {
    #wrap {
        margin: 20vh auto 3em;
        max-width: 1000px;
    }

    #headerwrap {
        flex-basis: 30%;
    }

    header {
        margin: 0 auto;
    }

    section {
        margin: 0 auto;
        flex-basis: 30%;
    }
}
