<style type="text/css">

@charset "Shift_JIS";
/* 全体に適用する */
*{
    margin: 0;
    padding: 0;
}

/* Body設定 */
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.15em;
    line-height:1.8;
    color:#000;
}

/* 背景設定 */
#bg{
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../top.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}

/* 白背景 */
.top{
    background-color: rgba(255, 255, 255, 0.9);
    width: 90%;
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}

/* 上辺 */
.top #header{
    padding-top: 2.0em;
    padding-bottom: 1.0em;
    padding-left: 10%;
    padding-right: 10%; 
    margin-bottom:20px;
    height: auto;
    text-align: left;
}

/* サイト名 */
.top #header h1{
    font-family: 'Sacramento', cursive;
    font-size: 3.2em;
    margin-top: 10;
    margin-bottom: 10;
    text-align: center;
}

/* 記事要素 */
article{
    height: auto;
    overflow-y: visible;
}

/* 下辺 */
.top .contents{
    display: block;
    height: auto;
    padding-top: 1%;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 1%; 
    text-align: left;
}

/* コンテンツタイトル */
.top .contents h2{
    margin-top: 3;
    margin-bottom: -10;
    font-family: 'Sacramento', cursive;
    font-size: 2.0em;
    text-align: center;
}

/* 矢印 */
.top .arrow{
    width: 10px;
    height: 10px;
    border: 1px solid;
    border-color:  transparent transparent #565656 #565656;
    transform: rotate(-45deg);
    margin-left: auto;
    margin-right: auto;
}

/* リンク */
a{
    position: relative;
    text-decoration:none;
    color: #003366;
}

/* 訪問済みリンク */
a:visited{
    position: relative;
    text-decoration:none;
    color: #003366;
}

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

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

input[type=text] {
    width: 120px;
    height: auto;
}

input[type=submit] {
    width: auto;
    height: auto;
    color: #000;
}

/* フォーム改行削除 */
.change .submit {
    align: center;
    display: inline-block;
}

/* PC用 */
@media screen and (min-width:768px) { 
    /* Body設定 */
    body {
        font-size: 14px;
    }

    /* 背景設定 */
    #bg{
        background-position: 0% 0%;
        background-size: cover;
    }

    /* 白背景 */
    .top{
        width: 80%;
        overflow-y: scroll;
        -ms-overflow-style: none;    /* IE、Edge用 */
        scrollbar-width: none;    /* Firefox用 */
    }

    /* スクロールバー非表示 */
    .top::-webkit-scrollbar {    /* Chrome、Safari用 */
        display:none;
    }

    /* 上辺 */
    .top #header{
        padding-left: 20%;
        padding-right: 20%; 
        margin-bottom:10px;
    }

    /* 下辺 */
    .top .contents{
        flex-basis: 40%;
    }   

    /* 記事要素 */
    article{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
        align-content: space-around;
        flex-grow: 2;
        height: auto;
    }
}

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

    /* Body設定 */
    body {
        font-size: 15px;
    }
}

</style>