@charset "UTF-8";

/*
本テンプレートのクレジット表示（削除不可）
Template Name: Photogenic Day
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
*/


/* -----------------------------------
リセットCSS
基本的には触らないでください
----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&family=Noto+Sans+JP:wght@100..900&family=WindSong:wght@400;500&family=Zen+Kaku+Gothic+New&display=swap');

input[type=submit] {
  -webkit-appearance: none;
  border-radius: 0;
}

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  word-break: break-word;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

a {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
  padding: 0;
}
ol.list,
ul.list {
  list-style: decimal;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 8px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-lgrey);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
    border-radius: 999px;
}

h1,
h2,
h3,
h4,
h5,
img,
p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
p {
  line-height: 1.6em;
}

/* -----------------------------------
ベース設定
----------------------------------- */
* {
  box-sizing: border-box;
}
*:active {
  outline: none;
}

.page {
  margin-bottom: 0;
}

body {
  background-color: #ffffff;
  color: var(--color-text);
  font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "ヒラギノ角ゴシック", "Hiragino Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  padding: 0;
  margin: 0;
  line-height: 1.8;
  position: relative;
  letter-spacing: .1em;
  text-align: justify;
}

/* web font-------------------- */
.webfont {
    font-family: "WindSong", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    letter-spacing: -0.1rem;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

table {
    width: 100%;
    margin: 2rem 0;
    font-size: 0.9em;
    line-height: 2;
    border-collapse: collapse;
    border-spacing: 0;
    border-left: 3px solid var(--color-lgrey);
}

th,
td {
    margin: 0;
    overflow: visible;
    padding: 6px 8px;
    vertical-align:top;
}

table td:first-child {
    width: 8em;
    padding-left: 16px;
}

table tr:first-of-type td{
    padding-top: 0;
}

table tr:last-of-type td{
    padding-bottom: 0;
}

@media (min-width: 768px) {
  table tr th, table tr td {
    padding: 12px 0;
  }
}

section {
  padding: 20px 0;
}

.material-symbols-outlined {
  font-size: 20px;
}

/* -----------------------------------
見出し、テキストなど
----------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  line-height: 1.8em;
}

p {
  margin: 0 auto 1em;
  line-height: 2em;
}

h4,
h5 {
    font-size: 1em;
    margin: 12px 0 4px;
}

h2 {
    font-size: 0.85em;
    color: var(--color-accent);
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h2 span.webfont {
    font-size: 40px !important;
    color: var(--color-text);
    line-height: 1;
}
h2 span:before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 3px;
  background: var(--color-accent);
  position: relative;
  margin: auto;
  top: 0;
  bottom: 0;
  left: -15px;
  border-radius: 999px;
}

@media screen and (max-width:600px) {
  body{
    font-size: 12px;
  }
  /* スマホでタップ時に半透明にならないようにする-------------------- */
  a:hover {
    opacity: 1;
  }
  h2,h3{
    margin: 16px 0 10px;
  }
  h2:before {
    left: -45px;
    width: 20px;
  }
}

h3:not(.book-title) {
    font-weight: bold;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3:not(.book-title)::before {
    content: '';
    display: block;
    width: 8px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-accent);
}

h4,
.deco-chara-midasi {
    color: var(--color-accent);
}

h5 {
    font-weight: normal;
}

/* 装飾 */
b, em, strong {
  font-weight: bold;
}
em {
  font-style: normal;
  background: linear-gradient(transparent 50%, var(--color1-op) 50%);
  padding: 0 0.5em;
}
em.oh {
  font-style: normal;
  background: linear-gradient(transparent 50%, rgba(246, 1, 255, 0.4) 50%);
  padding: 0 0.5em;
}
em.ya {
  font-style: normal;
  background: linear-gradient(transparent 50%, rgba(109, 152, 150, 0.4) 50%);
  padding: 0 0.2em;
} 
section mark {
  padding: 0 0.5em;
  background-color: var(--color1-op);
}
.link {
  display: inline-block;
  margin: 0.2em auto;
  padding: 0 0.5em;
  transition: background-color .3s;
  border: thin solid var(--color-accent);
  background-color: var(--color-accent);
  font-weight: normal;
  font-style: bold;
  color: var(--color-wh);
}
/* 管理人紹介 */
.author-card {
  display: flex;
  align-items: center;
  max-width: 500px;
}
/* 左側アイコン画像 */
.author-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  flex-shrink: 0;
}
/* 右側テキスト */
.author-card .author-text {
  font-size: 0.8em;
  color: #333;
  line-height: 1.4;
}
.author-card .author-text strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}
/* アコーディオン */
.accordion-btn,
.link-btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9em;
  color: var(--color-wh);
  background-color: var(--color-accent);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: bold;
}
.accordion-btn::before,
.link-btn::before {
  content: "≫";
  display: inline-block;
  margin-right: 8px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
details[open] .accordion-btn::before {
  transform: rotate(90deg); /* 開いたら向き変える */
}
/* 開閉アニメ（高さ） */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 1em;
}
/* detailsがopenされたら */
.author-accordion[open] .accordion-content {
  max-height: 600px; /* 中身に応じて調整 */
  padding: 1em;
  animation: SlideInDown 0.5s ease;
}
/* ふわっと出現アニメ */
@keyframes SlideInDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 同人誌一覧用 */
/* カードレイアウト全体 */
.book-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  padding: 1em;
}
@media(max-width: 1024px){
  .book-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width: 600px){
  .book-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* カード本体 */
.book-card {
  display: block;
  background: var(--color-wh);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.book-card:hover {
  transform: translateY(-6px);
}

/* 表紙画像 */
.book-thumb {
  position: relative;
}
.book-thumb img {
  width: 100%;
  aspect-ratio: var(--aspect, 3/4);
  object-fit: cover;
  display: block;
}
/* R18ラベル */
.r18-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #c20606;
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}
/* 情報部分 */
.book-info {
  padding: 1em;
}
.book-title {
  font-size: 1em;
  font-weight: bold;
  color: var(--color-accent);
  margin: 0 0 0.5em;
}
.book-meta {
  font-size: 0.9em;
  color: #5775c4;
  margin: 0 0 0.5em;
}
.book-description {
  font-size: 0.85em;
  color: #555;
}
/* キャラクター紹介用 */
/* ----- ▼ 下記フォントデザイン ▼ ----- */
@font-face {
  /*フォントの名前*/
  font-family: "851_gkktt";
  /*フォントファイルへのパス（複数指定の場合、上から順に読み込まれる）*/
  src: url('../../css/fonts/851Gkktt_005.woff2') format("woff2"),
    url('../../css/fonts/851Gkktt_005.woff') format("woff");
}

.plm-font {
  margin-right: auto;
  margin-left: auto;
  position: absolute;
  margin-top: -15px;
  font-family: "851_gkktt";
  color: #3d3d3d;
  font-size: 24px;
  letter-spacing: .5rem;
}
/* ----- フォント定義 ----- */
.character-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.character-card {
  text-align: center;
}

.character-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.character-card .name {
  font-family: "851_gkktt";
  font-weight: bold;
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
}

.character-card .catchcopy {
  font-size: 0.6rem;
  color: var(--color-mgrey);
}

/* タブレット・スマホで2列固定 */
@media (max-width: 1024px) {
  .character-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ルビ */
rt {
  font-size: .5em;
  font-family: "Noto Sans JP";
}
/* 圏点 */
.kenten { text-emphasis-style: sesame filled; }
/* 中央揃え */
.center { text-align: center; }
/* 右揃え */
.right { text-align: right !important; }
.s_s { 
  font-size: var(--s_s); !important
}
.s_m { 
  font-size: var(--s_m); !important
}
/* 区切り線 */
hr {
    border: none;
    margin: 40px auto;
    width: 100%;
    height: 1px;
    background-color: var(--color-mgrey);
}
hr.dotted {
  border-bottom: 2px dotted var(--color-mgrey);
}

/* リンク設定 ------------------------- */
a:link,
a:visited {
  color: var(--color-text);
  text-underline-offset: .3em;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1px;
  transition: 0.3s;
  /* マウスホバー時のアニメーション */
}
a:hover {
  color: var(--color-accent);
}
/* 同人誌一覧用のリンクは下線をなくす */
.book-list a:link,
.book-list a:visited,
.character-list a:link,
.character-list a:visited,
.oneloginfo a:link,
.oneloginfo a:visited,
.onelogbody .readmorebutton a:link,
.onelogbody .readmorebutton a:visited,
.passkeyform a:link,
.passkeyform a:visited,
.hashtaglist a:link,
.hashtaglist a:visited {
  text-decoration: none !important;
}
a:link.link-btn,
a:visited.link-btn {
  color: var(--color-wh);
}

a img {
  transition: 0.3s;
  /* マウスホバー時のアニメーション */
}

a img:hover {
  opacity: 0.5;
  /* マウスホバー時に半透明に */
}

/* -----------------------------------
Flexbox設定
----------------------------------- */
.body_wrap {
  width: 100%;
}

.container {
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
}

.col-1 {
  width: calc((100% * 1) / 12);
  padding: 0 15px;
}

.col-lg1,
.col-md1,
.col-sm1,
.col-xl1 {
  width: 100%;
  margin-bottom: 40px;
}

.col-2 {
  width: calc((100% * 2) / 12);
  padding: 0 15px;
}

.col-lg2,
.col-md2,
.col-sm2,
.col-xl2 {
  width: 100%;
  margin-bottom: 40px;
}

.col-3 {
  width: calc((100% * 3) / 12);
  padding: 0 15px;
}

.col-lg3,
.col-md3,
.col-sm3,
.col-xl3 {
  width: 100%;
  margin-bottom: 40px;
}

.col-4 {
  width: calc((100% * 4) / 12);
  padding: 0 15px;
}

.col-lg4,
.col-md4,
.col-sm4,
.col-xl4 {
  width: 100%;
  margin-bottom: 40px;
}

.col-5 {
  width: calc((100% * 5) / 12);
  padding: 0 15px;
}

.col-lg5,
.col-md5,
.col-sm5,
.col-xl5 {
  width: 100%;
  margin-bottom: 40px;
}

.col-6 {
  width: calc((100% * 6) / 12);
  padding: 0 15px;
}

.col-lg6,
.col-md6,
.col-sm6,
.col-xl6 {
  width: 100%;
  margin-bottom: 40px;
}

.col-7 {
  width: calc((100% * 7) / 12);
  padding: 0 15px;
}

.col-lg7,
.col-md7,
.col-sm7,
.col-xl7 {
  width: 100%;
  margin-bottom: 40px;
}

.col-8 {
  width: calc((100% * 8) / 12);
  padding: 0 15px;
}

.col-lg8,
.col-md8,
.col-sm8,
.col-xl8 {
  width: 100%;
  margin-bottom: 40px;
}

.col-9 {
  width: calc((100% * 9) / 12);
  padding: 0 15px;
}

.col-lg9,
.col-md9,
.col-sm9,
.col-xl9 {
  width: 100%;
  margin-bottom: 40px;
}

.col-10 {
  width: calc((100% * 10) / 12);
  padding: 0 15px;
}

.col-lg10,
.col-md10,
.col-sm10,
.col-xl10 {
  width: 100%;
  margin-bottom: 40px;
}

.col-11 {
  width: calc((100% * 11) / 12);
  padding: 0 15px;
}

.col-lg11,
.col-md11,
.col-sm11,
.col-xl11 {
  width: 100%;
  margin-bottom: 40px;
}

.col-12 {
  width: calc((100% * 12) / 12);
  padding: 0 15px;
}

.col-lg12,
.col-md12,
.col-sm12,
.col-xl12 {
  width: 100%;
  margin-bottom: 40px;
}

@media (min-width: 481px) {
  .sm {
    flex-direction: row;
  }

  .col-sm1 {
    width: calc((100% * 1) / 12);
    padding: 0 15px;
  }

  .col-sm2 {
    width: calc((100% * 2) / 12);
    padding: 0 15px;
  }

  .col-sm3 {
    width: calc((100% * 3) / 12);
    padding: 0 15px;
  }

  .col-sm4 {
    width: calc((100% * 4) / 12);
    padding: 0 15px;
  }

  .col-sm5 {
    width: calc((100% * 5) / 12);
    padding: 0 15px;
  }

  .col-sm6 {
    width: calc((100% * 6) / 12);
    padding: 0 15px;
  }

  .col-sm7 {
    width: calc((100% * 7) / 12);
    padding: 0 15px;
  }

  .col-sm8 {
    width: calc((100% * 8) / 12);
    padding: 0 15px;
  }

  .col-sm9 {
    width: calc((100% * 9) / 12);
    padding: 0 15px;
  }

  .col-sm10 {
    width: calc((100% * 10) / 12);
    padding: 0 15px;
  }

  .col-sm11 {
    width: calc((100% * 11) / 12);
    padding: 0 15px;
  }

  .col-sm12 {
    width: calc((100% * 12) / 12);
    padding: 0 15px;
  }
}
@media (min-width: 768px) {
  .md {
    flex-direction: row;
  }

  .container {
    padding-left: 45px;
    padding-right: 45px;
  }

  .col-md1 {
    width: calc((100% * 1) / 12);
    padding: 0 15px;
  }

  .col-md2 {
    width: calc((100% * 2) / 12);
    padding: 0 15px;
  }

  .col-md3 {
    width: calc((100% * 3) / 12);
    padding: 0 15px;
  }

  .col-md4 {
    width: calc((100% * 4) / 12);
    padding: 0 15px;
  }

  .col-md5 {
    width: calc((100% * 5) / 12);
    padding: 0 15px;
  }

  .col-md6 {
    width: calc((100% * 6) / 12);
    padding: 0 15px;
  }

  .col-md7 {
    width: calc((100% * 7) / 12);
    padding: 0 15px;
  }

  .col-md8 {
    width: calc((100% * 8) / 12);
    padding: 0 15px;
  }

  .col-md9 {
    width: calc((100% * 9) / 12);
    padding: 0 15px;
  }

  .col-md10 {
    width: calc((100% * 10) / 12);
    padding: 0 15px;
  }

  .col-md11 {
    width: calc((100% * 11) / 12);
    padding: 0 15px;
  }

  .col-md12 {
    width: calc((100% * 12) / 12);
    padding: 0 15px;
  }
}
@media (min-width: 1030px) {
  .col-lg1 {
    width: calc((100% * 1) / 12);
    padding: 0 15px;
  }

  .col-lg2 {
    width: calc((100% * 2) / 12);
    padding: 0 15px;
  }

  .col-lg3 {
    width: calc((100% * 3) / 12);
    padding: 0 15px;
  }

  .col-lg4 {
    width: calc((100% * 4) / 12);
    padding: 0 15px;
  }

  .col-lg5 {
    width: calc((100% * 5) / 12);
    padding: 0 15px;
  }

  .col-lg6 {
    width: calc((100% * 6) / 12);
    padding: 0 15px;
  }

  .col-lg7 {
    width: calc((100% * 7) / 12);
    padding: 0 15px;
  }

  .col-lg8 {
    width: calc((100% * 8) / 12);
    padding: 0 15px;
  }

  .col-lg9 {
    width: calc((100% * 9) / 12);
    padding: 0 15px;
  }

  .col-lg10 {
    width: calc((100% * 10) / 12);
    padding: 0 15px;
  }

  .col-lg11 {
    width: calc((100% * 11) / 12);
    padding: 0 15px;
  }

  .col-lg12 {
    width: calc((100% * 12) / 12);
    padding: 0 15px;
  }
}
#mv {
  width: 100%;
  max-height: 250px;
  position: relative;
  margin-bottom: 80px;
  padding-bottom: 1px;
}
#mv .background {
  width: 100%;
  max-height: 250px;
  overflow: hidden;
}
#mv .background img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (min-width: 768px) {
  #mv .background {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
  }
}
#mv #profile {
  position: absolute;
  width: 100px;
  height: 100px;
  margin: auto;
  bottom: -50px;
  background: white;
  border-radius: 50%;
  overflow: hidden;
  right: 0;
  left: 0;
  z-index: 1;
  border: 4px solid #fff;
}
#mv #profile img {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  #mv #profile {
    width: 120px;
    height: 120px;
  }
}

/* タブレット・スマホ向けナビゲーション */
.tabs {
  position: absolute;
  z-index: 10;
  right: 0;
  top: 150px;
}
.tabs .tab, .tabs .linktab {
  display: block;
  color: #0f0f0f;
  background: #f1f1f1;
  border: 1px solid #e4e4e4;
  border-right: none;
  position: relative;
  bottom: -1px;
  padding: 10px 8px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-bottom: 7px;
  transition: 0.3s;
  line-height: 1;
}
.tabs .tab:hover, .tabs .linktab:hover {
  cursor: pointer;
  color: #f07c85;
}
.tabs .tab.is-active, .tabs .linktab.is-active {
  color: #f07c85;
  background: #fff;
}
@media (min-width: 768px) {
/*  .tabs .tab, .tabs .linktab {
    display: block;
    padding: 15px 8px;
    color: #0f0f0f;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 1px solid #e4e4e4;
    border-left-color: #f1f1f1;
  }
*/
  .tabs .tab.is-active, .tabs .linktab.is-active {
    border-left-color: #fff;
  }
}
@media (min-width: 1030px) {
  .tabs .tab, .tabs .linktab {
    padding: 25px 11px;
  }
}

/* 新規投稿画面 */
.modal-container {
  display: block;
  position: relative;
}
/* チェックが入ったらモーダル表示 */
#win_add:checked ~ .popup {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
/* モーダル初期状態は非表示 */
.popup {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
/* 新規投稿ボタンだけ固定表示 */
.modal-container > label.link-btn {
  position: fixed; /* 画面に固定 */
  top: calc(660px + 10px);
  left: 17%;
  transform: translateX(-50%);
  z-index: 11000; /* ヘッダーより前面に */
}
/* オーバーレイ：クリックで閉じる */
.popup .overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
/* モーダル本体 */
.popup .window {
  position: relative;
  margin: 10vh auto;
  background: var(--color-bg-lightgray);
  max-width: 700px;
  border-radius: 8px;
  padding: 2rem;
  z-index: 100000; /* オーバーレイより前面 */
}
/* 閉じるボタン */
.popup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #666;
}
/* PC以外は非表示 */
@media (max-width: 1023px) {
  .modal-container {
    display: none !important;
  }
}
/* PC以上で表示 */
@media (min-width: 1024px) {
  .modal-container {
    display: block; /* 必要に応じて調整 */
  }
}


/* PCのみ適用 */
@media (min-width: 1030px) {
  /* スマホ用要素はPCで非表示 */
  .tabs, #mv, .maintitle, .mainguide, .site-header {
    display: none;
  }
  body {
    display: flex;
  }
  header { padding-bottom: -30px;}
  /* 左側固定メニュー（ヘッダーも含む） */
  .pc-header {
    min-width: 360px;
    height: fit-content;
    padding: 120px 0 64px;
    text-align: center;
    background-image: var(--img-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, center;
    position: sticky;
    /* スクロールでついてくる */
    top: 50px;
    display: flex;
    /* サイト名とナビゲーションのレイアウト用 */
    flex-direction: column;
    gap: 24px;
    margin: 40px 8%;
    border-radius: 16px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  }
  /* サイト名（左メニュー上部） */
  .sitename {
    font-size: 50px;
    color: var(--color-wh);
    line-height: 0.8;
    transform: rotate(-10deg);
  }
  /* ナビゲーションのデザイン */
  .pc-header ul.gnav {
    list-style: none;
    font-size: 1.1em;
    letter-spacing: .3em;
    padding: 0;
    margin: 0;
    display: flex;
    /* ナビゲーションのレイアウト用 */
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .pc-header ul.gnav li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-wh);
    background-color: unset;
  }
  .pc-header ul.gnav li a:hover {
    color: var(--hover-accent);
  }
  .pc-header ul.gnav::before,
  .pc-header ul.gnav::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-accent);
  }
  /* 右側メインコンテンツ */
  .body_wrap {
    margin-left: 220px;
    padding: 1rem 40px 40px;
    /* max-width: 960px; */
    width: 60vw;
    gap: 56px;
  }
  /* bg-------------------- */
  .bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 100lvh;
    overflow: hidden;
  }
  .bg::after {
    position: fixed;
    content: "";
    background: var(--img-bg);
    background-size: 140%;
    /* 画面端ぼかしが見えないよう大きめに表示 */
    background-position: center bottom;
    z-index: -10;
    top: -40px;
    bottom: -40px;
    left: -40px;
    right: -40px;
    filter: blur(20px);
    /* ぼかしの強さ */
  }
}

/* スマホ・タブレット共通 */
@media (max-width: 768px) {
  .gnav,
  .pc-header,
  .bg {
    display: none;
  }
  .body_wrap > *:not(.site-header):not(.tabs) {
    margin-left: 0;
  }
  .tabs { display: block; }
}
@media screen and (max-width: 1024px) {
  .gnav,
  .pc-header,
  .bg {
    display: none;
  }
}

/* ページトップに戻る-------------------- */
.backtotop a {
    position: fixed;
    right: 12px;
    bottom: 8px;
    display: block;
    width: 32px;
    height: 32px;
}
.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 14px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 16px;
    height: 16px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}
@media screen and (max-width: 768px) {
  .backtotop a::before {
    border: solid var(--color1-op);
    border-width: 0 0 2px 2px;
  }
}

.panel {
  display: none;
  width: 100%;
}
.panel.is-show {
  display: block;
  animation: fade-in 0.4s;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body {
  background: #f4f6f7;
/*  font-size: 15px; */
}

a {
  transition: 0.3s;
}

.postform {
  border: 1px solid #d4d4d4;
  margin: 1em;
  padding: 20px;
}

.postform p {
  margin: 0;
}

/* ------------ */
/* ▼本文入力欄 */
/* ------------ */
textarea.tegalogpost {
  border: 1px solid #adadad;
  border-radius: 4px;
  background-color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding: 0.5em;
  margin-bottom: 0.25em;
  line-height: 1.4em;
  box-sizing: border-box;
  width: 100%;
  height: 100px !important;
  overflow-wrap: break-word;
  overflow: auto;
}

/* ▽プレースホルダ(※入力文字数がゼロの際にだけ見える薄文字)の装飾 */
textarea.tegalogpost:-moz-placeholder-shown {
  color: #777;
}
textarea.tegalogpost:-ms-input-placeholder {
  color: #777;
}
textarea.tegalogpost:placeholder-shown {
  color: #777;
}

/* 通常時 */
textarea.tegalogpost:focus:-moz-placeholder-shown {
  color: #bbb;
}
textarea.tegalogpost:focus:-ms-input-placeholder {
  color: #bbb;
}
textarea.tegalogpost:focus:placeholder-shown {
  color: #bbb;
}

/* カーソルが入ったとき */
textarea.tegalogpost:-ms-input-placeholder {
  color: #aaa;
}

/* for IE */
/* 横幅800px以下の環境の場合 */
@media all and (max-width: 800px) {
  textarea.tegalogpost {
    font-size: 16px;
    /* 文字サイズ */
    padding: 0.4em;
    /* 内側の余白量 */
  }
}
/* ------------------------------------------------ */
/* ▼投稿コントロール部分(ボタンや字数カウンタなど) */
/* ------------------------------------------------ */
.line-control {
  margin: 0.25em 0;
  /* 外側の余白量 */
}

/* ------------ */
/* ▼投稿ボタン */
/* ------------ */
.postbutton {
  display: inline-block;
  background: #363636;
  /* 背景色 */
  color: white;
  /* 文字色 */
  font-size: 1rem;
  /* 文字サイズ */
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  /* 太字 */
  text-decoration: none;
  /* 下線を消す */
  border: none;
  padding: 5px 14px;
  border-radius: 0;
  /* 枠の角丸 */
  cursor: pointer;
  transition: 0.3s;
}

/* ▼投稿ボタンにマウスが載ったとき */
.postbutton:hover {
  background-color: #747474;
  /* 背景色 */
}

/* ------------------ */
/* ▼文字装飾ボタン群 */
/* ★Ver 1.4.0以降で使用 */
/* ------------------ */
/* 掲載領域全体 */
.decoBtns {
  display: inline-block;
  margin-top: 0.5em;
}
.decoration1{
	display: none;
}
/* 全ボタン装飾 */
.decoBtns input {
  min-width: 32px;
  min-height: 28px;
  margin: 1px;
  background-color: #eee;
  border: 1px solid #aaa;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
  vertical-align: middle;
}
/* マウス載る際 */
.decoBtns input:hover {
  background-color: #e5f1fb;
  border-color: var(--color-accent);
}
/* 鍵入力フォーム */
form.passkeyform{
	margin: 2rem 0;
}
input.queryinput,
select.datelimitpull,
select.hashtagpull,
select.hashtagEasyInput,
input.passkeyinput{
	border: 1px solid var(--color-text);
	background-color: var(--color-bg-lightgray);
	color: var(--color-text);
	vertical-align: bottom;
	width: calc(100% - 3rem);
	height: 2rem;
}
input.submitbutton,
input.passkeysubmit,
input[type="submit"],
.postarea input[type="button"],
.postarea input[type="text"]{
	border: none;
	background-color: var(--color-accent);
	color: var(--color-wh);
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: bold;
	height: 2rem;
	letter-spacing: 2px;
	padding: 0 0.5rem 0 0.6rem;
	vertical-align: bottom;
  border-radius: 5px;
}
main input.passkeyinput{
	width: calc(100% - 7rem);
}
main input.passkeysubmit{
	letter-spacing: 1px;
	padding: 0 0 2px;
	text-align: center;
	width: 7rem;
}

/* 太字  :B */
.decoBtnB {
  font-weight: bold;
}

/* 取消線:D */
.decoBtnD {
  text-decoration: line-through;
  -webkit-text-decoration-color: red;
          text-decoration-color: red;
  -webkit-text-decoration-style: double;
          text-decoration-style: double;
}

/* 強調  :E */
.decoBtnE {
  font-weight: bold;
  color: var(--color-text);
  background-color: var(--color1-op);
}
/* 大文字 */
.deco-omozi { font-size: 1.2rem; font-weight: bold; font-family: "Folk Medium";}
/* 中央寄せ */
.deco-center { display: inline-block; width: 100%; text-align: center;}

/* 斜体  :I */
.decoBtnI {
  font-style: italic;
}

/* 引用  :Q */
/* 小さめ:S */
/* 極小  :T */
.decoBtnT {
  font-size: 11px !important;
}

/* 下線  :U */
.decoBtnU {
  text-decoration: underline;
  -webkit-text-decoration-color: red;
          text-decoration-color: red;
}

/* 文字色:C */
.decoBtnC {
  color: red;
}

/* 背景色:M */
.decoBtnM {
  color: var(--color1-op);
}
@media all and (min-width: 800px) {
  /* ▼文字装飾ボタン群 */
  .decoBtns {
    margin-top: 0;
  }
}
.deco-fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.deco-fadein.active {
  opacity: 1;
  transform: translateY(0);
}

/* キャラクター紹介記事用 */
/* 項目列挙用説明リスト */
dl.listdeco-proflist,
dl.listdeco-proflist2 {
	width: 100%;
	margin: 1rem auto;
	display: grid;
	grid-template-columns: 150px 1fr;/* 項目タイトル150px、説明幅いっぱいの繰り返し */
	gap: 0.5rem;
}
.listdeco-proflist dt {/* 項目タイトル */
	margin: 0;
	padding: 0.3rem 0.8rem;
	color : var(--color-wh);
	background-color: var(--color-mgrey);
	text-align: center;
	border-radius: 0.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.listdeco-proflist2 dt {/* 項目タイトル */
	margin: 0;
	padding: 0.3rem 0.8rem;
	color : var(--color-text);
	background-color: var(--color1-op);
	text-align: center;
	border-radius: 0.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.listdeco-proflist dd,
.listdeco-proflist2 dd {/* 項目説明 */
	margin: 0;
	display: flex;
	align-items: center;
}
@media only screen and (max-width: 499px) {/* 画面幅499px以下のとき横並びを解除 */
dl.listdeco-proflist, dl.listdeco-proflist2 { display: block;}
.listdeco-proflist dt, .listdeco-proflist2 dt { margin-bottom: 0.5rem;}
.listdeco-proflist dd, .listdeco-proflist2 dd { margin-bottom: 1rem; justify-content: center;}}
.listdeco-proflist + br, .listdeco-proflist2 + br { display: none;} /* 直後の改行を非表示 */
/* ▲ここまでキャラクター紹介記事用 */
/* 記事用タイムラインリスト */
/* タイムラインリストの左カラムに縦線を表示 */
ul.listdeco-timeline {
  list-style: none;
  margin: 2em 0;
  padding: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 0.8em;
  column-gap: 1em;
  position: relative; /* 縦線を絶対配置する基準 */
}
/* 縦線用の疑似要素を追加 */
ul.listdeco-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 142px;
  width: 3px; /* 線の太さ */
  background-color: var(--color-lgrey);
  z-index: 0;
}
/* 左カラム（奇数行） */
ul.listdeco-timeline li:nth-child(odd) {
  grid-column: 1;
  text-align: right;
  font-weight: bold;
  position: relative; /* 丸印のため */
  z-index: 1; /* 縦線より前面 */
}
/* 丸印は縦線の上に */
ul.listdeco-timeline li:nth-child(odd)::after {
  content: "●";
  font-size: 0.8em;
  color: var(--color1-op);
  margin-left: 0.8em;
  position: relative; /* これがポイント */
  z-index: 2; /* 縦線より前に */
}
/* 右カラム（偶数行） */
ul.listdeco-timeline li:nth-child(even) {
  grid-column: 2;
}
/* ▲ここまで記事用タイムラインリスト */
/* 折り畳みラベル */
.decorationO {
  max-width: 100%;
  margin-bottom: 7px;
  background-color: var(--color-lgrey);
  border-radius: 5px;
}
.foldswitch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  font-weight: 600;
  cursor: pointer;
}
.foldswitch::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid var(--color-lgrey);
  border-right: 3px solid var(--color-lgrey);
  content: '';
  transition: transform .3s;
}
.decorationO[open] {
    transform: none;
    opacity: 1;
}
/* -------------------------------- */
/* ▼カテゴリ選択チェックボックス群 */
/* ★Ver 3.0.0以降で使用 */
/* -------------------------------- */
.catChecks {
  font-size: 0.9em;
  padding-top: 0.5em;
}

.catChecks label {
  display: inline-block;
  cursor: pointer;
  margin: 0 0.75em 0 0;
}

.catChecks label:hover {
  text-decoration: underline;
}

.catChecks input {
  min-width: 0;
  min-height: 0;
  margin-right: 0.2em;
}

/* ヘッダー設定 */
header, .site-header {
  width: 100%;
  margin: 0 auto;
}
/*@media (min-width: 768px) {
  header {
    width: -moz-fit-content;
    width: fit-content;
  }
}*/

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .wrap {
    position: relative;
    /* 対背景 */
    display: flex;
    justify-content: space-between;
    gap: 56px;
    margin: 80px 10%;
  }
}

h1.maintitle, .site-header h1 {
  text-align: center;
  margin: 40px auto 5px;
  font-size: 22px;
  line-height: 1.2em;
  font-family: 'Kaisei Decol', serif;
  font-weight: normal;
}
h1.maintitle a {
  color: var(--color-accent);
  text-decoration: none !important;
  border: none;
  font-family: "Kaisei Decol", serif;
}

p.mainguide {
  font-size: 85%;
  margin: 0;
  text-align: center;
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 30px;
}

.body_wrap {
  background: white;
  position: relative;
}
@media (min-width: 768px) {
  .body_wrap {
    margin: 0 auto 0;
    border-radius: 15px;
    /* filter: drop-shadow(0 0 10px #0000001c); */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--color-bg);
  }
}
@media screen and (min-width: 1025px) {
  .body_wrap {
    margin: 40px 0;
  }
}

.contents .subarea {
  margin: 20px auto;
}
@media (min-width: 481px) {
  .contents .subarea {
    display: flex;
    flex-wrap: wrap;
  }
  .contents .subarea > div {
    width: calc(50% - 15px);
  }
  .contents .subarea > div:nth-of-type(2n) {
    margin-left: 30px;
  }
}
@media (min-width: 768px) {
  .contents .subarea > div {
    width: calc(33% - 20px);
    margin-left: 30px;
  }
  .contents .subarea > div:nth-of-type(3n-2) {
    margin-left: 0;
  }
}

/* 記事見出し */
h2.onelog-title {
    position: relative;
    color: var(--color-text);
    font-size: 2em;
}
h2.onelog-title::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: var(--color-mgrey);
    font-size: 3em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}
.onelogbody h2:first-letter {
    color: var(--color1-op);
    font-size: 2.5em;
}

.dateseparator {
  display: none;
}
.dateseparator.fixedseparator {
  display: block;
  margin: 0 0 0 15px;
  font-weight: bold;
  font-size: 85%;
  color: #b2b6b8;
}
.dateseparator.fixedseparator:before {
  font-family: "Material Symbols Outlined";
  content: "\e6aa";
  font-size: 15px;
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
}

article.logstatus-fixed {
  border: 1px solid #dadada;
  padding: 20px;
  border-radius: 5px;
  background: #fafafa;
  margin-bottom: 30px;
}

.onelogbox {
  border-top: 1px solid #e3e3e3;
  padding: 40px 15px;
}
.onelogbox:last-of-type {
  border-bottom: 1px solid #e3e3e3;
}
.onelogbox p.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.onelogbox .comment {
  line-height: 1.8em;
  word-break: break-word;
}
.onelogbox a.imagelink {
  display: block;
  margin: 0 auto;
}
/* 続きを読む */
.onelogbox a[href="#readmore"] {
	background-color: var(--color-bg-lightgray);
	color: var(--color-text);
	display: inline-block;
	font-weight: bold;
	font-size: 0.9em;
	margin: 0 0 5px 0;
	padding: 0.5rem 0.8rem 0.5rem;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out;
  border: 1px solid var(--color-text);
  border-radius: 5px;
}
a.readmorebutton:hover {
	color: var(--color-accent);
}
a.readmoreclose{
	background-color: transparent;
	border-top: 1px solid var(--color-mgrey);
	color: var(--color-text);
	display: block;
	font-size: 0.9em;
	margin: 2rem 0;
	text-align: right;
}
a.readmoreclose:hover{
	background-color: transparent;
	color: var(--hover-accent);
}

.onelogbox a.taglink {
  background: #f1f5f6;
}
.onelogbox em.decorationE {
  font-style: normal;
  font-weight: bold;
  background: var(--color1-op);
}
.onelogbox small.decorationT {
  font-size: 50%;
}
.onelogbox ul.decorationL {
  list-style: none;
  margin-bottom: 0;
}
.onelogbox ul.listdeco-standard li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 0.5rem;
}
.onelogbox ul.listdeco-standard li:before {
  content: "";
  width: 5px;
  height: 5px;
  display: block;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  margin: auto;
  top: 0.6em;
  left: 0;
}
.onelogbox q.decorationQ {
  display: block;
  background: #f4f4f4;
  padding: 10px;
  margin: 20px 0;
  border-left: 2px solid #ccc;
  color: #5f5f5f;
}
.onelogbox p.oneloginfo {
  font-size: 85%;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 0;
  color: #b5b5b5;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
.onelogbox p.oneloginfo a {
  color: #b5b5b5;
}
.onelogbox p.oneloginfo i {
  font-size: 18px;
  margin-left: 5px;
}
.onelogbox p.oneloginfo .categories a.categorylink {
  border: 1px solid;
  border-radius: 3px;
  padding: 1px 5px;
}
.onelogbox p.oneloginfo .categories a.categorylink:before {
  font-family: "Material Symbols Outlined";
  content: "\e2c8";
  font-size: 15px;
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
}
.onelogbox p.oneloginfo .categories a.categorylink:hover {
  color: var(--color-accent);
}
.onelogbox .post_footer {
  width: 100%;
  position: relative;
  margin: 20px auto 0;
}

body.onelog .onelogbox {
  border-top: none;
}

/* フッター設定 ------------------------- */
footer {
  width: 100%;
  margin: 0 auto;
  padding: 8px 20px;
  border-top: 1px solid #00000015;
}
footer p.poweredby {
  margin: 0;
  font-size: 80%;
  text-align: right;
  color: #a5a5a5;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  line-height: 1.6em;
}
footer p.poweredby a:link {
  color: var(--color-accent);
}

.pagenavi {
  margin: 30px auto;
}

p.pagenums {
  display: flex;
  justify-content: center;
}
p.pagenums a.pagenumlink {
  display: block;
  color: #0f0f0f;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 14px;
  height: 45px;
  width: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 45px;
  margin: 0 3px;
}
p.pagenums a.pagenumlink.pagenumhere {
  color: #ccc;
}
p.pagenums a.pagenumlink:hover {
  background: #f1f5f6;
  color: var(--color-accent);
}
p.pagenums span.omitmark {
  line-height: 3em;
  margin: 0 10px;
}

div#simplesearch {
  margin-bottom: 40px;
}

input.queryinput {
  padding: 3px 10px;
  height: 30px;
  border: 1px solid var(--color-mgrey);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  width: calc(100% - 55px);
}

input.submitbutton {
  height: 30px;
  width: 55px;
  border: none;
  background: var(--color-accent);
  color: var(--color-wh);
  padding: 3px 12px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

ul.cattree li {
  font-size: 14px;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
ul.cattree li span.num {
  margin-left: 5px;
}
ul.cattree.depth1 {
  margin: 20px auto;
}
ul.cattree.depth1 > li:before {
  font-family: "Material Symbols Outlined";
  content: "\e2c8";
  font-size: 15px;
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
}
ul.cattree.depth2 {
  margin-left: 20px;
}
ul.cattree.depth2 li:before {
  content: "-";
  margin-right: 8px;
}

ul.hashtaglist {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
}
ul.hashtaglist li {
  font-size: 12px;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  color: var(--color-accent);
  margin-right: 5px;
  margin-bottom: 5px;
  background: #f1f5f6;
  line-height: 1;
  padding: 4px 5px;
  transition: 0.3s;
}
ul.hashtaglist li span.num {
  margin-left: 3px;
}
ul.hashtaglist li:before {
  font-family: "Material Symbols Outlined";
  content: "\e9ef";
  font-size: 15px;
  vertical-align: middle;
  font-weight: 400;
}

form.hashtagpullbox {
  margin-top: 20px;
}
form.hashtagpullbox select.hashtagpull {
  padding: 5px 3px;
  margin-bottom: 4px;
  width: 100%;
  cursor: pointer;
}
form.hashtagpullbox input.hashtagpullsubmit {
  border: none;
  background: var(--color-text);
  color: var(--color-wh);
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
}

ul.datelimitlist li {
  font-size: 14px;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
ul.datelimitlist li span.num {
  margin-left: 5px;
}
ul.datelimitlist ul.datelimitsublist {
  margin-left: 20px;
}
ul.datelimitlist ul.datelimitsublist li:before {
  content: "-";
  margin-right: 8px;
}

span.editlink .material-symbols-outlined {
  vertical-align: middle;
  font-variation-settings: "opsz" 20;
  margin-left: 5px;
}

p.situation {
  background: #f4f4f4;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 90%;
  color: #9a9fa2;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

body.nofiltering p.situation {
  display: none;
}

p.searchtarget {
  font-size: 85%;
  margin-top: 5px;
  font-family: "メイリオ", Meiryo, "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

p.sidebar_icons {
  text-align: right;
}
p.sidebar_icons i {
  font-size: 18px;
}

.utilitylinks {
  display: none;
}

iframe.embeddedmovie {
  max-width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.gallery .mainarea {
  display: flex;
  flex-wrap: wrap;
}
.gallery p.situation {
  width: 100%;
}
.gallery .onelogbox {
  border-bottom: none;
  width: 49%;
}

.imagelist_wrap {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}
.imagelist_wrap .imagelistitem {
  display: inline-block;
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
}
.imagelist_wrap .imagelistitem a {
  display: block;
  width: 100%;
  height: 100%;
}
.imagelist_wrap .imagelistitem a img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.imagelist_wrap .imagelistitem a img.nsfw {
  position: relative;
  overflow: hidden;
}
.imagelist_wrap .imagelistitem a img.nsfw:before {
  font-family: "Material Symbols Outlined";
  content: "\e002";
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
  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;
}
@media (min-width: 768px) {
  .imagelist_wrap .imagelistitem a img.nsfw:before {
    font-size: 70px;
  }
}
.imagelist_wrap .imagelistitem a img.nsfw:after {
  content: "NSFW\aクリックで表示します";
  white-space: pre;
  color: #ffffff;
  display: block;
  text-align: center;
  position: absolute;
  z-index: 1;
  top: 0;
  height: 100%;
  padding-top: calc(20% + 54px);
  right: 0;
  left: 0;
  font-size: 13px;
  line-height: 1.4em;
}
.imagelist_wrap .imagelistitem a:hover {
  opacity: 0.6;
}
@media (min-width: 481px) {
  .imagelist_wrap .imagelistitem {
    width: 25%;
  }
}
@media (min-width: 768px) {
  .imagelist_wrap .imagelistitem {
    width: 16.6666666667%;
  }
}

.icon {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.2em;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .icon {
    font-size: 90%; /* 小さすぎるとline-boxがズレる */
    line-height: 1.2;
  }
}

.freespace {
  line-height: 1.8em;
  padding-left: 15px;
  padding-right: 15px;
}

.freespace ul:not(.float):not(.cap-list),
ul.latestpostlist {
  padding-left: 1rem;
  margin-bottom: 0;
}
.freespace ul li,
ul.latestpostlist li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 0.5rem;
}
.freespace ul.caution li:before,
ul.latestpostlist li:before {
  content: "";
  width: 5px;
  height: 5px;
  display: block;
  background: var(--color-accent);
  border-radius: 999px;
  position: absolute;
  margin: auto;
  top: 0.6em;
  left: 0;
}
.latestpostlist .postdate {
  font-size: 0.9em;
  color: var(--color-grey);
}
.latestpostlist .catnames {
  font-size: 0.8em;
  color: var(--color-grey);
}
.latestpostlist .catnames:before {
  font-family: "Font Awesome 6 Free";
  content: "\f07c";
  font-size: 11px;
  vertical-align: middle;
  margin-left: 5px;
  margin-right: 0.25em;
  font-weight: 400;
}

/* キャプション-------------------- */
.caption {
    padding: 16px;
    font-size: 0.8em;
    line-height: 1.4;
    background-color: var(--color-lgrey);
    border-radius: 4px;
}

/* キャプションつきのテキストリスト-------------------- */
ul.cap-list {
    list-style: none;
    padding-left: -1rem;
}

ul.cap-list li {
    margin-bottom: 1em;
}

ul.cap-list li:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-color: var(--color-accent);
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 999px;
}

ul.cap-list .caption {
    margin-top: 0.6em;
}
/* 更新履歴用 */
.kframe {
  display: block;
  border: 1px solid var(--color-mgrey);
  width: 100%;
  max-width: 600px;
  height: 100px;
  margin: 0 auto 3rem;
}

.postarea .decoBtns input {
  background: #fff;
}
.postarea .decoBtns > span {
  display: block;
}

body.mode-gallery #posts_wrap {
  display: flex;
  flex-wrap: wrap;
}
body.mode-gallery #posts_wrap .gallery-post {
  display: block;
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
body.mode-gallery #posts_wrap .gallery-post a {
  display: block;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  body.mode-gallery #posts_wrap .gallery-post a:after {
    padding-top: calc(30% + 54px);
  }
}
body.mode-gallery #posts_wrap .gallery-post span.pictcount {
  display: block;
  position: absolute;
  color: #fff;
  font-size: 13px;
  right: 0;
  bottom: 0;
  padding: 3px 10px;
  z-index: 1;
  filter: drop-shadow(0px 0px 3px #00000046);
}
body.mode-gallery #posts_wrap .gallery-post span.pictcount .material-symbols-outlined {
  font-size: 13px;
  vertical-align: middle;
}
body.mode-gallery #posts_wrap .gallery-post:hover {
  opacity: 0.6;
}
body.mode-gallery #posts_wrap .gallery-post img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 768px) {
  body.mode-gallery #posts_wrap .gallery-post {
    width: 33.3333333333%;
  }
}
body.mode-gallery ul.cattree {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  border: 1px solid #d6d6d6;
  padding: 15px;
  border-radius: 2px;
  position: relative;
}
body.mode-gallery ul.cattree li {
  font-size: 90%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
}
body.mode-gallery ul.cattree li ul {
  border: none !important;
  padding: 0 !important;
  padding: 3px 0 !important;
  margin: 0 5px 0 10px;
}
body.mode-gallery ul.hashtaglist {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  background: #f0f0f0;
  padding: 15px;
  border-radius: 2px;
}
body.mode-gallery ul.hashtaglist li {
  font-size: 85%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

body.mode-picts #posts_wrap,
body.mode-gallery #post_wrap {
  display: flex;
  flex-wrap: wrap;
}
body.mode-picts #posts_wrap a.picts-post {
  display: block;
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
  position: relative;
}
body.mode-picts #posts_wrap a.picts-post span.pictcount {
  display: block;
  position: absolute;
  color: #fff;
  font-size: 13px;
  right: 0;
  bottom: 0;
  padding: 3px 10px;
  filter: drop-shadow(0px 0px 3px #00000046);
}
body.mode-picts #posts_wrap a.picts-post span.pictcount .material-symbols-outlined {
  font-size: 13px;
  vertical-align: middle;
}
body.mode-picts #posts_wrap a.picts-post:hover {
  opacity: 0.6;
}
body.mode-picts #posts_wrap a.picts-post img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 768px) {
  body.mode-picts #posts_wrap a.picts-post {
    width: 33.3333333333%;
  }
}
body.mode-picts ul.cattree {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  border: 1px solid #d6d6d6;
  padding: 15px;
  border-radius: 2px;
  position: relative;
}
body.mode-picts ul.cattree li {
  font-size: 90%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
}
body.mode-picts ul.cattree li ul {
  border: none !important;
  padding: 0 !important;
  padding: 3px 0 !important;
  margin: 0 5px 0 10px;
}
body.mode-picts ul.hashtaglist {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  background: #f0f0f0;
  padding: 15px;
  border-radius: 2px;
}
body.mode-picts ul.hashtaglist li {
  font-size: 85%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

a.imagelink.nsfw,
body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "],
body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "] {
  position: relative;
  overflow: hidden;
}
a.imagelink.nsfw:before,
body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "]:before,
body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "]:before {
  font-family: "Material Symbols Outlined";
  content: "\e002";
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
  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;
}
@media (min-width: 768px) {
  a.imagelink.nsfw:before,
body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "]:before,
body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "]:before {
    font-size: 70px;
  }
}
a.imagelink.nsfw:after,
body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "]:after,
body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "]:after {
  content: "NSFW\aクリックで表示します";
  white-space: pre;
  color: #ffffff;
  display: block;
  text-align: center;
  position: absolute;
  z-index: 1;
  top: 0;
  height: 100%;
  padding-top: calc(20% + 54px);
  right: 0;
  left: 0;
  font-size: 13px;
  line-height: 1.4em;
}
a.imagelink.nsfw img,
body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "] img,
body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "] img {
  filter: blur(20px);
}

@media (min-width: 768px) {
  body.mode-picts #posts_wrap a.picts-post[data-flag="Flag(nsfw) "]:after,
  body.mode-gallery #posts_wrap a.gallery-post[data-flag="Flag(nsfw) "]:after {
    padding-top: calc(30% + 60px);
  }
}
.decorationS a.imagelink.nsfw img {
  filter: blur(20px);
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
}

.imagelistitem a {
  position: relative;
  background: #00000024;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  overflow: hidden;
}
.imagelistitem a:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  background: #00000024;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1;
}
.imagelistitem a:after {
  font-family: "Material Symbols Outlined";
  content: "\e002";
  vertical-align: middle;
  margin-right: 5px;
  font-weight: 400;
  position: absolute;
  z-index: 2;
  color: #fff;
  margin: auto;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  font-size: 30px;
}
.imagelistitem a img {
  position: relative;
  z-index: 3;
}
.imagelistitem a img.nsfw {
  z-index: -1;
}

/* ギャラリーモード用 */
/* 1投稿（カード）を並べる */
.gallery-post {
  display: inline-block;
  vertical-align: bottom;
  width: clamp(150px, 20vw, 250px);
  margin: 1em 5px;
  box-shadow: 2px 2px 6px var(--color-mgrey);
  max-width: 180px;
  height: auto;
}

/* カードデザイン */
.articlelist article {
  background-color: var(--color-bg-lightgray);
  box-shadow: 2px 2px 6px var(--color-mgrey);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding: 0;
}
.gallery-post article {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-lightgray);
  overflow: hidden;
  transition: transform 0.2s ease;
  height: 100%;
}
.thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.thumb-link img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.articlelist article > a {
  aspect-ratio: 1 / 1;
  display: block;
}

/* NSFW画像ぼかし */
img.nsfw, .thumbnails a[data-flag*="nsfw"] img {
  filter: blur(20px);
  opacity: 0.5;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.thumb-link {
  position: relative;
  backface-visibility: hidden;
}
div.gallery-post:has(img.nsfw)::before {
    content: "\e002";
    font-family: 'Material Symbols Outlined';
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1;
    position: absolute;
    top: calc(50% - 1.5em);
    left: calc(50% - 0.5em);
    z-index: 90;
    color: #fff;
}
div.gallery-post:has(img.nsfw)::after {
    content: "閲覧注意";
    white-space: pre;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4em;
    position: absolute;
    display: block;
    top: calc(70% - 3.5em);
    left: calc(41% - 1em);
    right: 0;
    z-index: 90;
    color: #fff;
    textl-align: center;
}
article.logstatus-lock .thumb-link::before {
  content: "\f023";
  font-family: 'Line Awesome Free';
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: calc(50% - 0.5em);
  left: calc(50% - 0.5em);
  color: #fff;
}

/* タイトルや投稿日表示 */
.gallery-post .oneloginfo {
  padding: auto 1em;
  display: flex;
  text-align: left !important;
  max-height: 1.5em !important;
}
.gallery-post .comment {
  line-height: 1.5;
  margin: 0.5em 0.5em auto;
  font-size: 0.9em;
  flex-grow: 1; /* 空いたスペースをここが優先的に埋める */
  display: flex;
}
.gallery-post .postdate {
  font-size: 0.75em;
  padding: 0 1em;
  display: flex;
  justify-content: space-between;
}

body.mode-gallery .articlelist {
  margin: 1rem 0;
}
@media (min-width:1025px) {
  body.mode-gallery .body_wrap {
    padding: auto 1em;
  }
}

/* 直近投稿画像機能追加用 */
img.recentoneimage{
    aspect-ratio: 1 / 1;
    object-fit: cover;
    vertical-align: middle;
    width: 3rem;
}