section.tegalog {
    max-width: 700px;
    margin: 40px auto 0;
}

.onelogbox img {
    display: block;
    text-align: center;
    width: 350px;
    min-width: 100px;
    height: auto;
    border-radius: 1rem;
    margin: 1rem auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0 .1rem .4rem;
    object-fit: cover;
}
.postarea form {
    border-radius: 10px;
    border: 1px solid #d3b18e;
    background-size: 40px 40px;
    background-image: radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%), radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%);
    background-position: 0 0, 20px 20px;
    padding: 10px;
}
.postarea textarea.tegalogpost {
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px;
    font-family: 'メイリオ', Meiryo,'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    line-height: 1.6em;
}
.postarea p.line-textarea {
    margin: 0;
}
.postarea p.line-control {
    margin: 10px 0 0;
}
.postarea input.postbutton {
    background: #5babfa;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 6px 20px;
    cursor: pointer;
    transition: .3s;
}
.postarea input.postbutton:hover {
    background: #7cc8ff;
}
.decoBtns input[type=button] {
    border-radius: 3px;
    border: 1px solid #cccccc;
    background: white;
    margin: 0 2px 10px;
}
span.catChecks label {
    margin-right: 5px;
    font-size: 90%;
}
ul.cattree {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border: 1px solid #d6d6d6;
    padding: 15px;
    border-radius: 2px;
    position: relative;
}
ul.cattree li {
	font-size: 90%;
	margin-right: 10px;
    padding: 0;
    position: relative;
    z-index: 2;
}
ul.hashtaglist {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border: 1px solid #d3b18e;
    background-size: 40px 40px;
    background-image: radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%), radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%);
    background-position: 0 0, 20px 20px;
    padding: 15px;
    border-radius: 2px;
}
ul.hashtaglist li {
    font-size: 85%;
    margin-right: 10px;
    padding: 0;
    position: relative;
    z-index: 2;
}
ul.cattree li:before, ul.cattree li:after,
ul.hashtaglist li:before, ul.hashtaglist li:after {
    display: none;
}
div.onelogbox {
    max-width: 700px;
    margin: 30px auto;
    border-bottom: 2px dotted #d3b18e;
}
p.oneloginfo {
    text-align: right;
    font-size: 90%;
	color: #979797;
}
p.oneloginfo a.categorylink {
    display: inline-block;
    text-decoration: none;
    background: #02bbfd;
    color: #ffffff;
    border: 1px solid;
    padding: 1px 6px;
    border-radius: 8px;
    margin: 0 8px;
}
p.oneloginfo a.categorylink:hover {
    border-color: #979797;
	background: #979797;
	color: white;
}
p.situation {
    font-size: 90%;
    color: #ccc;
}
span.situation-postno {
    border: 1px solid;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1.6em;
}
p.dateseparator {
    display: none;
    font-size: 90%;
    color: white;
    background: #ccc;
    width: fit-content;
    padding: 3px 5px;
    line-height: 1.6em;
    margin: 0 auto -20px 0;
}
p.dateseparator.fixedseparator {
    display: block;
}
p.pagenums {
    text-align: center;
}
a.pagenumlink {
    display: inline-block;
    text-decoration: none;
    background: #000000;
    color: white;
    width: 25px;
    height: 25px;
    line-height: 25px;
}
a.pagenumlink.pagenumhere {
    background: #ccc;
}
.comment {
    word-break: break-word;
}
a.readmorebutton {
    margin: 20px auto;
    border: 1px solid #d3b18e;
    text-decoration: none;
    color: #242424;
    width: 110%;
    text-align: center;
    padding: 10px;
    border-radius: 3px;
    background-size: 40px 40px;
    background-image: radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%), radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%);
    background-position: 0 0, 20px 20px;
}
a.readmorebutton.readmoreclose {
    padding: 1px 8px;
    font-size: 85%;
    margin-left: 5px;
}
p.poweredby {
    text-align: right;
    color: #929292;
    font-size: 12px;
}

a.nsfw {
    position: relative;
    overflow: hidden;
    display: block;
  }
  a.nsfw img {
    filter: blur(15px);
  }
  a.nsfw:before {
    font-family: 'Line Awesome Free';
    font-weight: 900;
    content: "\f071";
    vertical-align: middle;
    margin-right: 5px;
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    background: #0000003a;
    position: absolute;
    z-index: 1;
    text-align: center;
    font-size: 50px;
    margin: auto;
    top: 0;
    padding: 20% 0 0;
  }

  iframe {
    width: 110%;           /* スマホでは画面の横幅いっぱい */
    aspect-ratio: 16 / 9;  /* 常に16:9の比率を維持 */ 
    margin: 0 auto;
}
  iframe.embeddedmovie { 
    width: 120%;           /* 親要素（wrapper）の幅に合わせる */
    height: 100%;          /* 親要素（wrapper）の高さに合わせる */
    max-width: 110%;
}

  @media (min-width: 768px) {
    a.nsfw:before {
      font-size: 70px;
    }
    a.readmorebutton {
      margin: 20px auto;
      border: 1px solid #d3b18e;
      text-decoration: none;
      color: #242424;
      width: 185%;
      text-align: center;
      padding: 10px;
      border-radius: 3px;
      background-size: 40px 40px;
      background-image: radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%), radial-gradient(rgba(255, 213, 86, 0.2) 20%, transparent 20%);
      background-position: 0 0, 20px 20px;
    }
    iframe.embeddedmovie  {
      width: 185%;          /* PCでは少し幅を絞って見やすくする */
      max-width: 800px;    /* 大きくなりすぎないように上限を設定 */
    }
    .onelogbox img {
      display: block;
      text-align: center;
      width: 650px;
      min-width: 100px;
      height: auto;
      border-radius: 1rem;
      margin: 1rem auto;
      box-shadow: rgba(0, 0, 0, 0.16) 0 .1rem .4rem;
      object-fit: cover;
    }

/* Twemoji */
    img.emoji {
      height: 1em;
      width: 1em;
      margin: 0 .05em 0 .1em;
      vertical-align: -0.1em;
}

  }