/* 全体設定 */

body {
    margin: 0 auto;
    color: #444;
    font-weight: bold;
    /* 旧背景色 */
    background-color: lavenderblush;
    /* 新背景色 */
    background-color: white;
}


/* ヘッダー */

header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}


/* フッター */

footer {
    background-color: DimGray;
    text-align: center;
    color: white;
}


/* フッターの文章 */

footer #twitter {
    height: 24px;
    margin: 0;
    padding: 4px 0 0 0;
}


/* 『プロフィール』 『コンテンツ』『最新の活動日誌』『お知らせ』*/

h1 {
    color: #444;
    font-size: 24px;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

h1::before,
h1::after {
    content: "";
    flex-grow: 1;
    display: block;
    border-top: 4px double #444;
}

h1::before {
    margin-right: .4em;
}

h1::after {
    margin-left: .4em;
}


/* トップ画像 */

#top {
    text-align: center;
}

#top img {
    width: 100%;
    vertical-align: bottom;
}


/* モーダルウィンドウ */

input[type="checkbox"],
#linkBoxTitle {
    display: none;
}


/* リンク */

#link ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: black;
}

#link li {
    width: 150px;
    font-size: 20px;
    text-align: center;
}

#link li a {
    text-decoration: none;
    color: white;
}

#link li:hover {
    background-color: #444444;
}

.twitter img {
    height: 20px;
}


/* プロフィール */

#about {
    /*
    margin: 10px 10% 10px 10%;
	*/
    text-align: center;
}


/* 制作物 */

#colorinfo {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#colorinfo span {
    margin: 0 4px;
    padding: 0 4px;
}

#contentslist {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.contentsbox {
    width: 300px;
    padding: 0.5em 1em;
    padding: 0;
    margin: 10px 0 0 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    color: #232323;
    background-color: ghostwhite;
}

.contentsbox p {
    margin: 0;
    padding: 0;
}

.selllink {
    margin-left: 10px;
}

.contentstitle {
    text-align: center;
    font-size: 18px;
}

.info {
    text-align: center;
}

.ebook {
    background-color: lightskyblue;
}

.visual_novel {
    background-color: #F9DD86;
}

.tool {
    background-color: #B3F986;
}

.emoklore {
    background-color: #B486F9;
}

.trpg,.coc {
    background-color: #F986D9;
}


/* お知らせ */

#news {
    /* 旧背景色 */
    background-color: LightSkyBlue;
    /* 新背景色 */
    background-color: white;
    text-align: left;
    font-size: 13px;
}


/* お知らせ毎の領域 */

.topic {
    display: flex;
    /*
    padding: 10px 20% 10px 20%;
    margin-left: 20px;
	*/
    justify-content: center;
    padding: 10px 0;
}


/* お知らせ掲載日 */

.date {
    width: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}


/* お知らせ内容 */

.update {
    width: calc(80% - 85px);
    margin-left: 20px;
    text-align: left;
}


/* 一番下の項目以外に下線の破線を引く */

#news .topic {
    border-bottom: dotted lavenderblush;
    border-bottom: thin solid #444;
}

#news div:last-child {
    border-bottom: none;
}

@media screen and (max-width:470px) {
    .topic .pc {
        display: none;
    }
    footer #twitter {
        height: 72px;
        display: flex;
        flex-flow: column wrap;
        justify-content: space-around;
        align-items: center;
        text-align: center;
    }
}