@charset "utf-8";
*{margin: 0; padding: 0; box-sizing: border-box;}
body {
    width: calc(100% - 8px); max-width: 400px; 
    margin: 4px auto;
    font-family: sans-serif;
}

/* common */
a {
    text-decoration: none;
}
b {
    color: #f50967;
}
img {
    width: 100%;
    border-radius: 2px;
    vertical-align: bottom;
}
input[type="text"  ],
input[type="submit"] {
    font-size: 16px;
    height: 30px; line-height: 30px;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 0 5px;
    vertical-align: bottom;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
header h1 {
    position: relative;
    font-size: 22px;
    padding: 2px 8px;
    margin-bottom: 16px;
    background: #fdede4;
    color: white;
    text-shadow: 1px 1px 1px rgba(252,15,192,1);
}
header h1::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px pink;
}
.fa-octopus-deploy {
    color: #f50967;
}
header a {
    color: #f50967;
}

/* 説明 */
.description {
    position: relative;
    margin-bottom: 16px;
    padding: 5px;
    border: 1px solid #333;
    border-radius: 2px;
}
.description::before {
    position: absolute;
    content: '';
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0 10px;
    border-color: #333 transparent transparent transparent;
    border-style: solid;
}
.description::after {
    position: absolute;
    content: '';
    bottom: -9px;
    left: 20px;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
    border-style: solid;
}

/* 投稿フォーム(send_form) */
.send_form input[type="text"] {
    width: 220px;
}
.send_form input[type="file"] {
    margin-bottom: 5px;
    font-size: 16px;
}
.send_form input[type="submit"] {
    border: none;
    background: #f50967;
    color: #fff;
    cursor: pointer;
}

/* ページネーション */
.pagination {
    margin-top: 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.pagination li {
    width: calc((100% - 18px) / 10);
    border: 1px solid #333;
    text-align: center;
}
.pagination a {
    display: inline-block;
    width: 100%;
    color: #333;
}
.pagination > li.active > a {
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,.7);
    cursor: pointer;
}

/* 写真一覧表示 */
nav {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
nav > div {
    border: 1px solid #777;
    width: calc((100% - 8px) / 5);
    max-height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

/* main-section */
section {
    background: #f50967;
    overflow-wrap: break-word;
    padding: 8px 5px;
    margin: 24px 0;
    border-radius: 3px;
}
.delete_form {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.created {
    color: #fff;
    font-size: 14px;
}
.toTop {
    color: #fff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #fff,0 0 30px #fff;
    cursor: pointer;
}
.copy {
    color: #fff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #fff,0 0 30px #fff;
    cursor: pointer;
}
.btn {
    color: #fff;
    cursor: pointer;
}
.url  {
    color: #fff;
}
section img {
    margin-top: 8px;
}

/* コメント */
.comment {
    position: relative;
    margin-top: 8px;
    padding: 5px;
    background: #fff0ff;
    border-radius: 3px;
}
.show_id, .show_created {
    font-size: 14px;
    color: #aaa;
}
.show_created {
    border-bottom: 1px solid #333;
    margin-bottom: 16px;
}
.show_form {
    position: absolute;
    color: #555;
    top: 2px;
    right: 2px;
    cursor: pointer;
}

.comment_form {
    height: 0;
    overflow: hidden;
}
.comment_form.toggle {
    height: auto;
}
.x {
    font-size: 18px;
    color: #fff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #fff,0 0 30px #fff;
    cursor: pointer;
}
.fa-plus {
    transition: .3s;
}
.rotate {
    transform: rotate(45deg);
}
.hdn_pas_div {
    display: flex;
    gap: 3px;
    margin-bottom: 3px;
}
.comment_form .insert_hdn,
.comment_form .insert_pas {
    border: 0 solid #333;
    width: 0;
    flex: 1;
}
.mes_comment_btn_div {
    display: flex;
    gap: 3px;
}
.comment_form .insert_mes {
    border: none;
    width: 0;
    flex: 1;
}
.comment_form .insert_btn {
    border: none;
    background: #fff;
}

.background {
    color: #fff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #fff,0 0 30px #fff;
}
.counter {
    color: #eee;
    font-weight: normal;
    opacity: .4;
}