@charset "utf-8";

/* ============================================================
   双星旅団 お絵かき掲示板 カスタムスキン
   ベース: POTI-board BASIC テンプレート
   配色: 白系・シンプル・細幅カラム（最大680px）
   ============================================================ */

/* 全体設定 */
body {
    background-color: #f7f6f3;
    margin: 0;
    padding: 0 10px;
    color: #444;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
}

body,
td {
    color: #444;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
}

/* メインカラム幅を狭く */
#body {
    max-width: 680px;
    margin: 0 auto;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    padding: 0;
    margin: 0 0 0 1.5em;
}

hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e0ddd8;
    margin: 6px 0;
}

img {
    border-style: none;
}

.posted_image img,
.posted_img_form img,
.continue_img img {
    max-width: 100%;
    height: auto;
}

/* チェックボックス・ラジオのアクセントカラー */
input {
    accent-color: #8fa4b8;
}

/* フォーム入力欄 */
input[type="text"],
input[type="submit"],
input[type="password"],
input[type="reset"],
input[type="url"],
input[type="number"],
textarea,
select {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 3px;
    margin: 1px;
    color: #444;
}

select {
    margin: 0;
}

input[type="file"] {
    border: none;
    background-color: transparent;
}

.nk {
    display: inline-block;
    margin: 0 0 0.5em;
}

.centering {
    margin: 0 auto;
    text-align: center;
}

form#delete {
    margin-bottom: 8px;
    padding: 8px;
}

.del_page {
    display: inline-block;
}

.input_disp_none {
    display: none;
}

span.canvas_size_wrap {
    display: inline-block;
    padding: 8px 0 0;
}

/* ラジオ・ラベル */
label {
    cursor: pointer;
}

.form_radio_sns_server label:hover {
    background-color: #eef2f5;
}

label.radio input[type="radio"]:checked {
    box-shadow: none;
}

label.palette_desc {
    line-height: 1.3;
}

/* リンクの色 */
a {
    color: #7a8fa6;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

a:hover {
    color: #4a6f8a;
    text-decoration: none;
}

.posted_image a:focus {
    outline: none;
}

/* ヘッダー */
#bbs_title {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    max-width: 680px;
    border-bottom: 1px solid #ddd;
    margin: 14px auto 14px auto;
    padding-bottom: 8px;
    color: #888;
    letter-spacing: 0.14em;
}

.title_name_wrap,
.menu_home_wrap {
    display: inline-block;
}

/* メニュー */
.bbsmenu {
    float: left;
    width: auto;
    font-size: 12px;
}

.menu_pr {
    float: right;
    width: auto;
    font-size: 12px;
}

.clear {
    clear: both;
}

.res_bbsmenu,
.res_menu_pr {
    margin-bottom: 0;
}

/* フォーム */
#self2 {
    margin: 10px auto 14px;
    max-width: 680px;
}

.post_t_margin {
    margin: 10px 0 0;
}

#post_table input {
    font-size: inherit;
}

#post_table input[type="submit"] {
    font-size: 13px;
}

.margin_radio {
    margin-bottom: 12px;
}

#post_table td {
    padding: 2px 5px 2px 0;
}

.post_table_title {
    width: 5em;
}

.td_noborder {
    border: none;
}

.post_input_text {
    width: 200px;
    height: 16px;
    padding: 1px;
}

.post_input_pass {
    width: 10em;
    height: 16px;
    padding: 1px;
    color: #888;
}

.post_table_submit {
    height: 2em;
}

.post_submit {
    height: 2em;
    font-size: 13px;
    padding: 0 1.5em;
    background-color: #8fa4b8;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.post_submit:hover {
    background-color: #6a8aa0;
}

#post_table select {
    color: #888;
    height: 20px;
    padding: 1px;
}

#up_desc li {
    list-style-type: square;
}

input.pch_upload {
    font-size: inherit;
    margin: 8px 0;
}

/* コメント欄 */
#post_table {
    border-collapse: collapse;
    margin: 0 auto;
}

.post_input_com {
    height: 6.2em;
    width: 300px;
    padding: 1px;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.3;
}

/* 親記事タイトル */
.article_title {
    font-size: 15px;
    line-height: 1.3;
    background-color: #eef2f5;
    font-weight: normal;
    border-left: 5px solid #c4d4e0;
    border-bottom: 1px solid #ddd;
    padding: 5px 0 5px 8px;
    margin: 0 0 8px;
    color: #666;
}

.article_title a {
    display: block;
    color: #666;
    text-decoration: none;
}

.article_info {
    padding: 0;
    margin: 4px 0 8px;
}

.article_info span {
    display: inline-block;
}

.article_info_desc {
    padding-right: 2px;
    display: inline-block;
}

.article_info_wrap {
    display: inline-block;
}

.article_info_painttime {
    padding-right: 3px;
}

.article_info_continue {
    padding-right: 1px;
}

.article_info_animation {
    padding-left: 0;
}

.article_img_info {
    margin: 3px 0 12px;
}

.res_article_img_info {
    margin: 2px 0 8px;
}

/* コメント */
.comment {
    margin: 0 0 10px;
    display: table;
    min-width: 300px;
    line-height: 1.8;
}

.article_skipres {
    text-align: right;
    padding: 4px 0 0;
}

/* レス */
.res_article_wrap {
    display: table;
}

.res_article_title {
    margin: 6px 0 5px;
}

.res_button_wrap {
    clear: both;
    text-align: right;
    margin: 0 0 8px;
}

.res_button {
    width: 6em;
    height: 2em;
    font-size: 13px;
    background-color: #eef2f5;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #666;
    cursor: pointer;
}

.res_button:hover {
    background-color: #dde6ec;
}

.res_button_wrap form {
    display: inline-block;
    margin: 0;
}

.share_button {
    display: inline-block;
    margin: 0 3px;
    vertical-align: bottom;
}

.icon-twitter,
.icon-facebook2 {
    display: inline-block;
    padding: 0 2px;
}

.page_top {
    display: inline-block;
    margin: 0 3px;
    vertical-align: bottom;
}

.res_form_wrap {
    width: fit-content;
    margin: 0 auto;
}

.color_select {
    background-color: #fff;
    color: #888;
}

/* レス画面に前後のスレッドの画像を配置 */
.view_other_works div {
    width: 16.1%;
    height: auto;
    margin-right: 0.6%;
    display: inline-block;
    max-height: 200px;
    overflow: hidden;
    vertical-align: top;
}

.view_other_works img {
    max-width: 100%;
    height: auto;
}

.view_other_works div:nth-of-type(6n) {
    margin-right: 0;
}

/* ページリンク */
.pagelink {
    text-align: center;
    margin: 1em auto;
}

#paging_wrap {
    margin: 1em 0 -0.5em;
    line-height: 2;
    text-align: center;
    font-size: 13px;
}

.page_number {
    padding: 0 2px;
}

.parentheses {
    padding: 0 2px;
    display: inline-block;
}

.pagelink_prev,
.pagelink_top,
.pagelink_next {
    display: inline-block;
    position: relative;
    padding: 0;
}

.pagelink_prev a,
.pagelink_top a,
.pagelink_next a {
    display: inline-block;
    padding: 2px 4px;
    color: #7a8fa6;
}

.pagelink_next {
    text-align: left;
    margin: 1px 0;
}

.pagelink_next a {
    padding-right: 14px;
}

.pagelink_prev {
    text-align: right;
    margin: 1px 0;
}

.pagelink_prev a {
    padding-left: 14px;
}

.pagelink_top {
    text-align: center;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 0 5px;
    margin: 1px 0;
}

/* 記事メンテナンス */
.mente_wrap {
    text-align: center;
    margin: 1em 1em 0.8em;
}

.edit_number {
    height: 16px;
    vertical-align: middle;
    width: 60px;
}

.edit_password {
    width: 80px;
    height: 16px;
    vertical-align: middle;
    margin: 0 2px;
    padding: 1px;
}

.mente_wrap select {
    height: 21px;
    padding: 0 0 0 2px;
    vertical-align: middle;
}

.mente_wrap input[type="submit"] {
    font-size: 13px;
    height: 21px;
    vertical-align: middle;
}

/* 著作権表示 */
.copyright {
    text-align: center;
    margin: 12px 10px;
    font-size: 12px;
    color: #bbb;
}

.copyright a {
    display: inline-block;
    color: #bbb;
}

/* カタログ表示 */
.catalog_desc_wrap {
    max-width: 100%;
    margin: 14px auto 0;
}

.catalog_wrap {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    padding: 0 0 14px;
    margin: 1px 8px 10px 0;
    line-height: 138%;
}

.catalog_desc_wrap div:nth-of-type(3n) {
    margin-right: -5px;
}

.catalog_title {
    line-height: 1.3;
    background-color: #eef2f5;
    font-weight: normal;
    margin: 0 0 1px;
    padding: 4px 6px;
    letter-spacing: 0.06em;
    color: #888;
    font-size: 13px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.catalog_title a {
    color: #666;
    text-decoration: none;
}

.catalog_name {
    margin: 3px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.catalog_time {
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: #bbb;
}

.catalog_img {
    width: 100%;
    height: auto;
}

.catalog_img img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.no_article {
    height: 0;
    border: none;
    padding: 0 4px;
}

.catalog_noimg a {
    display: block;
    padding: 8px 4px;
}

.catalog_noimg a:hover {
    background-color: #f0f0ec;
}

.paint_password {
    width: 80px;
    height: 16px;
    padding: 1px;
}

.paint_select {
    height: 21px;
}

/* 管理モード */
.admindel_table {
    text-align: center;
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 1em;
}

.hensyu {
    font-weight: 700;
    color: #888;
}

.admindel_table tr {
    height: 2.5em;
}

tr.deltable_tr {
    background-color: #f5f0f0;
}

.admindel_table td,
.admindel_table th {
    border: 1px solid #ccc;
    padding: 2px;
}

.delcheck label {
    vertical-align: middle;
}

.del_page form {
    display: inline-block;
}

/* エラーメッセージ */
.error_mesage {
    line-height: 200%;
    text-align: center;
    font-size: 24px;
    color: #888;
    margin: 1em 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.adminpass {
    width: 80px;
    height: 18px;
    padding: 1px;
}

.admin_submit {
    height: 23px;
}

.howtopaint {
    margin: 12px 0 0;
}

.applet {
    width: auto;
    margin: 0 auto;
}

.continue_img {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

/* お絵かきモード */
.appstage {
    margin: 0 auto;
    display: table;
    overflow-wrap: initial;
}

.app {
    display: table-cell;
    vertical-align: top;
}

.palette_wrap {
    display: table-cell;
    vertical-align: middle;
}

.palette {
    margin-left: 10px;
    width: 140px;
    border: 1px solid #ccc;
    padding: 6px;
}

.palette_gradation {
    margin: 10px 0 0 10px;
    padding: 6px;
}

.palette input,
.palette_gradation input {
    color: #666;
    background-color: #fff;
    border: 1px solid #ccc;
}

.palette_hr {
    border: none;
}

.palette_desc {
    font-family: Impact, Arial;
    font-size: 13px;
}

.palette_select {
    margin: 2px 0;
    max-width: 100%;
    min-width: 120px;
}

.paintbbs_memo {
    margin: 16px auto;
    line-height: 1.7;
    color: #888;
    min-width: 180px;
    max-width: 640px;
}

.paintbbs_memo li {
    list-style-type: circle;
}

.paintbbs_memo div {
    margin-bottom: 12px;
}

.applet_painttime {
    margin-top: 12px;
}

.continue_painttime {
    margin: 0 auto 8px;
    max-width: 680px;
}

/* 掲示板の説明文 */
.howtouse {
    margin-top: 0;
    margin-bottom: 10px;
}

/* 続から描く説明文 */
.howtocontinue {
    margin: 12px auto 8px;
    display: table;
    text-align: left;
}

/* 続から描くフォーム */
.continue_post_form {
    line-height: 1.8;
    text-align: initial;
    display: inline-block;
}

/* レス書き込みの説明 */
.howtowrite {
    list-style-type: square;
    margin: 12px 0;
}

.margin_resbutton_res {
    margin: 5px 0;
}

.continue_img img {
    margin: 3px 0 6px;
}

.posted_img_form img {
    margin-top: 10px;
    margin-bottom: 10px;
}

.posted_img_form {
    max-width: 680px;
    margin: 0 auto;
}

/* 画像とコメントの位置 */
.posted_image {
    float: left;
    margin: 0 16px 10px 0;
}

/* 投稿者名 */
.article_info_name {
    font-weight: bold;
    margin: 0 0 5px;
    border: 1px solid #c4d4e0;
    border-radius: 4px;
    line-height: 1em;
    display: inline-block;
}

.article_info_name a {
    text-decoration: none;
    padding: 4px;
    display: block;
    color: #7a8fa6;
}

.article_info_name:hover {
    background-color: #eef2f5;
}

span.article_info_trip {
    margin: 0 0 0 1px;
    padding-right: 2px;
}

.use_neo,
.use_animation,
.bold_gray {
    font-weight: 700;
    color: #888;
}

/* ペイントボタン */
form.paint_form {
    margin: 12px 0;
}

.paint_button {
    height: 25px;
    padding: 0 1.2em;
    background-color: #eef2f5;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #555;
    cursor: pointer;
}

.paint_button:hover {
    background-color: #dde6ec;
}

.select_applet {
    height: 25px;
}

.canvas_size {
    font-weight: bold;
    color: #888;
}

.canvas_select {
    height: 25px;
}

#res_paint_form {
    text-align: center;
    margin: 12px auto 0;
}

.post_select_image {
    height: 20px;
    padding: 1px 3px 1px 1px;
}

.pch_download {
    text-align: center;
    margin: 10px 0 0;
    line-height: 1.8;
}

.howtoedit {
    display: inline-block;
}

.webstyle_wrap {
    display: inline-block;
}

/* ツール左右切り替え */
.nts_radio {
    display: none;
}

.ntslabel {
    color: #6f6f6f;
    display: inline-block;
    padding: 0 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #c4d4e0;
    border-radius: 15px;
}

input[type="radio"]:checked + label {
    color: #555;
    background: #dde6ec;
    font-weight: 600;
}

.ntslabel:hover {
    background-color: #eef2f5;
}

.nts_radiowrap {
    display: inline-block;
    margin: 0 0 5px;
}

/* 投稿者名をコピー */
input.copy_txt {
    margin: 0;
    padding: 0;
    border: none;
    width: 1px;
    color: #c4d4e0;
}

.copy_button {
    border: 1px solid #c4d4e0;
    color: #555;
    padding: 3px 5px;
    border-radius: 4px;
    margin: 0 3px 0 -2px;
    background-color: #fff;
}

.copy_button:hover {
    background-color: #eef2f5;
}

/* トップへ戻るボタン */
#page_top {
    width: 44px;
    height: 44px;
    position: fixed;
    right: 12px;
    bottom: 40px;
    background: #8fa4b8;
    opacity: 0.45;
    visibility: hidden;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    text-decoration: none;
}

#page_top a::before {
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    position: absolute;
    width: 22px;
    height: 22px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* メディアクエリ */

@media screen and (max-width: 720px) {
    .catalog_title {
        font-size: 13px;
    }
    .catalog_wrap {
        width: 32%;
        margin: 1px 0.5% 10px 0;
    }
}

.mobiledisp { display: none; }
.pcdisp     { display: block; }

@media screen and (max-width: 767px) {
    .howtopaint,
    .txtnon,
    .article_info_painttime,
    label.use_neo,
    .menu_pr,
    .res_menu_pr,
    .column_non,
    label.use_animation {
        display: none;
    }

    .posted_image {
        float: none;
        margin-right: 0;
    }

    .comment {
        min-width: initial;
    }

    .catalog_desc_wrap {
        max-width: 100%;
    }

    .catalog_wrap {
        margin: 1px 2% 12px 0;
        width: 48%;
    }

    .catalog_desc_wrap div:nth-of-type(3n) {
        margin-right: 2%;
    }

    .catalog_desc_wrap div:nth-of-type(2n) {
        margin-right: -3%;
    }

    .mobiledisp {
        display: block;
        line-height: 2;
        margin: 12px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pcdisp { display: none; }
}

@media screen and (max-width: 639px) {
    .palette_type { display: none; }
}

@media screen and (max-width: 600px) {
    .minres_form_table td {
        display: block;
        width: 100%;
    }
}

@media screen and (min-width: 560px) {
    .nobreak { white-space: nowrap; }
}

@media screen and (max-width: 499px) {
    #post_table {
        width: 100%;
        line-height: 1;
    }

    #post_table td {
        display: block;
        width: 100%;
    }

    .post_input_com {
        width: 98%;
    }

    label.textonly:before { top: 0; }

    label.textonly {
        margin: 8px 0;
    }

    .howtoedit {
        margin: 8px 0 3px;
    }

    .menu_none { display: none; }
}
