@charset "utf-8";

/* font@google */
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');

/* Phosphor Icons */
@import url('https://unpkg.com/@phosphor-icons/web@2.1.1/src/regular/style.css');

/* ============================ */
/* 	reset
/* ============================ */

body, p, dl, dt, dd, h1, h2, h3, h4, h5, h6, menu, ul, ol, li, figure, figcaption, blockquote, form, input, textarea, button, select {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

em {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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


/* ============================ */
/* 	base
/* ============================ */

:root {
  --baseColor: #3c3c43;
  --primaryColor: #3a5ccc;
  --whiteColor: #fefefe;
  --bgColor: #fefefe;
  --grayColor: #eee;
  --errorClor: #d5393e;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--baseColor);
  font-size: 1rem;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif, 'Noto Color Emoji';
  line-height: 1.8;
  background-color: var(--bgColor);
  position: relative;
}

img,
picture * {
  font-style: italic;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, strong, b {
  font-weight: 700;
}

::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--grayColor);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--baseColor);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.85;
}

i.ph {
  font-size: 20px;
  position: relative;
  top: 4px;
}

i.ph:has(+ a) {
  color: var(--baseColor);
}

i.ph:has(+ a:hover) {
  color: var(--primaryColor);
}

video {
  width: 100%;
}

iframe {
  border: none;
}

details summary {
  display: inline-block;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

/* ============================ */
/* 	link
/* ============================ */

a {
  text-decoration: none;
  transition: all 0.3s;
}

a:link, a:visited {
  color: var(--primaryColor);
  border-bottom: 1px solid var(--primaryColor);
}

a:hover, a:active {
  color: var(--baseColor);
  border-bottom-color: transparent;
}

a:hover img {
  opacity: 0.85;
}


/* ============================ */
/* 	.wrapper
/* ============================ */

.wrapper {
  margin-inline: auto;
  padding-block: 3em;
  width: min(90%, 850px);
  position: relative;
}

.wrapper .admin {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.wrapper .admin a {
  color: transparent;
  font-size: 0.85em;
  border-bottom: none;
}


/* ============================ */
/* 	.header
/* ============================ */

.header {
  margin-bottom: 2.5em;
  padding-bottom: 2.5em;
  text-align: center;
  border-bottom: 1px dashed var(--baseColor);
}

.header a {
  border-bottom: none;
}

.header_logo {
  margin-inline: auto;
  font-size: 1.5em;
}

.header nav {
  margin-top: 1.5em;
}

.header nav ul {
  display: flex;
  justify-content: center;
}

.header nav li {
  margin-inline: 1.2em;
  text-align: center;
}

.header nav li a {
  display: block;
}

.header nav li i.ph {
  font-size: 24px;
}

.header nav li span {
  margin-top: 0.25em;
  font-size: 0.85em;
  font-weight: 700;
  display: block;
}


/* ============================ */
/* 	main
/* ============================ */

.main {
  margin-bottom: 4em;
}

hr {
  margin-block: 2.5em;
  border: none;
  border-top: 1px dashed var(--baseColor);
  height: 0;
}

.box_inner {
  margin-bottom: 2.5em;
}

.inner,
.postarea:has(form) {
  margin-bottom: 2.5em;
  padding-bottom: 2.5em;
  border-bottom: 1px dashed var(--baseColor);
  overflow: hidden;
}

.box_inner .inner:last-child {
  border-bottom: none;
}

.inner .status {
  margin-top: 1.5em;
  display: flex;
  justify-content: flex-end;
}

.inner .status > * {
  font-size: 0.85em;
  line-height: 1;
}

.inner .status > * + * {
  margin-left: 0.75em;
  padding-left: 0.75em;
  border-left: 1px solid var(--grayColor);
}

.inner#post1 .status { /* ABOUT */
  display: none;
}

.inner .comment :is(blockquote, ul, details, .embeddedmovie, .twitter-tweet + script, pre) + br,
.inner .comment pre br {
  display: none;
}

.inner .comment .twitter-tweet:not(:has(+ .twitter-tweet)) {
  margin-top: 0 !important;
}

.inner .comment .embeddedimage {
  display: inline-block;
}

.inner .comment .embeddedimage:not(:last-of-type) {
  margin-bottom: 1em;
}

.inner .comment .embeddedmovie {
  display: block;
}

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

.inner .comment blockquote {
  padding: 2em 2.5em;
  background-color: var(--grayColor);
  position: relative;
  overflow: hidden;
}
.inner .comment blockquote::before,
.inner .comment blockquote::after {
  font-size: 3em;
  line-height: 1;
  position: absolute;
  display: inline-block;
}
.inner .comment blockquote::before {
  content: '“';
  top: 10px;
  left: 10px;
}
.inner .comment blockquote::after {
  content: '”';
  bottom: -15px;
  right: 10px;
}

.inner .comment ul {
  margin-left: 1.5em;
}
.inner .comment ul li {
  list-style: disc;
}

.inner .comment a.readmorebutton {
  width: fit-content;
  display: block;
}

.inner .comment details {
  padding: 1.25em;
  background-color: var(--grayColor);
}

.inner .comment details summary {
  padding-left: 1.5em;
  line-height: 1;
  position: relative;
}
.inner .comment details summary::before,
.inner .comment details summary::after {
  content: '';
  margin-block: auto;
  background-color: var(--baseColor);
  position: absolute;
  display: inline-block;
}
.inner .comment details summary::before {
  width: 14px;
  height: 4px;
  inset-block: 0;
  left: 0;
}
.inner .comment details summary::after {
  width: 4px;
  height: 14px;
  inset-block: 0;
  left: calc((14px - 4px) / 2);
}
.inner .comment details[open] summary::after {
  display: none;
}

.inner .comment details .foldedarea {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px dotted var(--baseColor);
  overflow: hidden;
}

.inner .comment > code {
  padding-inline: 0.25em;
  font-size: 0.9em;
  background-color: var(--grayColor);
}
.inner .comment > code::before,
.inner .comment > code::after {
  content: '`';
}

.inner .comment pre {
  position: relative;
}
.inner .comment pre::before {
  content: 'code';
  padding: 0.5em;
  line-height: 1;
  color: var(--grayColor);
  font-size: 0.85em;
  background-color: var(--baseColor);
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
}

/*
.inner .comment pre > code {
  font-size: 0.9em;
  overflow-x: auto;
  display: block;
}
*/

.postarea .submitcover {
  margin-bottom: 0.5em;
  display: block;
}

.postarea .decoBtns {
  margin-bottom: 0.5em;
  display: grid;
  gap: 0.5em;
}

.postarea .decoBtns:has(.catChecks) {
  margin-top: 0.5em;
  display: block;
}

.postarea .decoBtns .catChecks > label {
  display: block;
}

.postarea textarea {
  border: 1px solid var(--baseColor);
  width: 100%;
  height: 10em !important;
}

.postarea input[type=submit] {
  padding: 0.25em 1em !important;
  color: var(--whiteColor) !important;
  background-color: var(--baseColor) !important;
}
.postarea input[type=submit]:hover {
  background-color: var(--primaryColor) !important;
}

.postarea input[type=button] {
  padding: 0.25em 0.75em !important;
  color: var(--baseColor) !important;
  background-color: var(--grayColor) !important;
}
.postarea input[type=button]:hover {
  color: var(--bgColor) !important;
  background-color: var(--primaryColor) !important;
}

.postarea input[type=file] {
  background-color: var(--grayColor) !important;
}

@media screen and (max-width: 599px) {
  .postarea .decoBtns {
    grid-template-columns: repeat(4, 1fr);
  }

  .postarea input[type=file] {
    max-width: 100% !important;
  grid-template-columns: 1fr;
  }

  .postarea .decoBtns:has(input[value="任意URLリンク"]) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 600px) {
  .postarea .decoBtns {
    grid-template-columns: repeat(8, 1fr);
  }

  .postarea .submitcover {
    margin-right: 1em;
    display: inline-block;
  }

  .postarea .decoBtns:has(input[value="任意URLリンク"]) {
    grid-template-columns: repeat(5, 1fr);
  }

  .postarea .decoBtns .catChecks > label {
    margin-right: 0.5em;
    display: inline-block;
  }
}

.pagenavi .pagelinks:has(a) {
  margin-bottom: 1.25em;
  display: flex;
  justify-content: center;
}

.pagenavi .pagelinks > * {
  margin-inline: 1em;
}

.pagenavi .pagelinks .linkseparator {
  display: none;
}

.pagenavi .pagenums {
  display: flex;
  justify-content: center;
}

.pagenavi .pagenums a,
.pagenavi .pagenums span {
  margin-inline: 0.25em;
  font-size: 0.9em;
  font-weight: 700;
  border-bottom: none;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagenavi .pagenums a {
  color: var(--bgColor);
  background-color: var(--baseColor);
}

.pagenavi .pagenums a.pagenumhere,
.pagenavi .pagenums a:hover {
  color: var(--baseColor);
  background-color: var(--grayColor);
}

.aside {
  margin-top: 2.5em;
  padding-top: 2.5em;
  border-top: 1px dashed var(--baseColor);
}

.aside dt {
  font-weight: 700;
}

.aside dd + dt {
  margin-top: 1.5em;
}

.aside dd .num {
  display: none;
}

.aside dd .datelimitlist {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 799px) {
  .aside dd .cattree {
    margin-left: 1.5em;
  }

  .aside dd .cattree li {
    list-style: disc;
  }

  .aside dd .datelimitlist li {
    width: 50%;
  }
}

@media screen and (min-width: 800px) {
  .aside dd ul li {
    margin-right: 1.5em;
  }

  .aside dd .cattree {
    display: flex;
    flex-wrap: wrap;
  }

  .aside dd .datelimitlist li {
    width: 9em;
  }
}


/* ============================ */
/* 	footer
/* ============================ */

.footer {
  text-align: center;
}

small {
  font-size: 0.9em;
}

.poweredby {
  margin-top: 1em;
  font-size: 0.9em;
}

.pagetop {
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 5%;
	right: 2.5%;
  transition: all 0.3s;
	opacity: 0;
}

.pagetop.view {
  opacity: 1;
}

.pagetop a {
  background-color: var(--primaryColor);
  border-bottom: none;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.pagetop a:hover {
  background-color: var(--baseColor);
}

.pagetop a::before {
  content: '';
  margin: auto;
  background-color: var(--bgColor);
  width: 30px;
  height: calc(tan(60deg) * 20px / 2);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  position: absolute;
  inset: -5px 0 0;
  display: inline-block;
  z-index: 5;
}


/* ============================ */
/* 	form
/* ============================ */

input:not([type="checkbox"]):not([type="radio"]), textarea, button, select {
  color: var(--baseColor);
  font-size: 1rem;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif, 'Noto Color Emoji';
  line-height: 1.6;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  padding: 0.25em;
  background-color: transparent;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.5em;
  border: 1px solid var(--baseColor);
  position: relative;
  appearance: none;
}

input[type="checkbox"]::before,
input[type="radio"]::before {
  content: '';
  color: var(--primaryColor);
  position: absolute;
  display: inline-block;
  visibility: hidden;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border: 1px solid var(--primaryColor);
  background-color: var(--primaryColor);
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
  visibility: visible;
}

input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -3px;
}

input[type="radio"] {
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -3px;
}

input[type="button"] {
  transition: all 0.3s;
  cursor: pointer;
}

button {
  transition: all 0.3s;
  cursor: pointer;
}
