/* 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/bold/style.css');

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

body, p, dl, dt, dd, h1, h2, h3, h4, h5, h6, menu, ul, ol, li, figure, figcaption, 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: #8f5f13;
  --subColor: #8f5f13;
  --whiteColor: #fefefe;
  --bgColor: #efde26;
  --grayColor: #8f5f13;
}

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: bold;
}

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

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

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

video {
  width: 100%;
}

iframe {
  border: none;
}

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

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

details .inner_conte {
  margin-top: 1rem;
  overflow: hidden;
}

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

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

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

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: 4em;
  text-align: center;
}

.header a {
  border-bottom: none;
}

.header_logo {
  margin: 0 auto 0.25em;
  font-size: 1em;
  width: min(70%, 220px);
  transition: all 0.3s;
}

.header_logo path {
  fill: var(--baseColor);
}

.header_logo:hover path {
  opacity: 0.5;
}

.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 a:hover {
  opacity: 0.5;
}

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

.header nav li span {
  margin-top: 0.25em;
  font-size: 0.85em;
  font-weight: bold;
  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;
  border: 4px solid var(--baseColor);
  border-radius: 7.5px;
  background-color: var(--whiteColor);
  overflow: hidden;
}

.inner .status {
  padding: 0.25em 0.5em;
  color: var(--whiteColor);
  font-weight: bold;
  text-align: center;
  background-color: var(--baseColor);
}

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

.inner .comment {
  padding: 1.5em;
}

.inner .comment .embeddedimage {
  border-radius: 5px;
  display: inline-block;
}

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

.postarea:has(form) {
  padding: 1.5em;
}

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

.postarea .decoBtns input:not(:last-child) {
  margin-right: 0.5em;
}

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

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

.postarea textarea {
  border: 2px solid var(--baseColor);
  border-radius: 5px !important;
  width: 100%;
  height: 6em !important;
}

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

.postarea input[type=button] {
  padding: 0.25em 0.75em !important;
  color: var(--baseColor) !important;
  border-radius: 5px !important;
  background-color: var(--bgColor) !important;
}

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

@media screen and (max-width: 799px) {
  .postarea input[type=file] {
    max-width: 100% !important;
  }
}

@media screen and (min-width: 800px) {
  .postarea .submitcover {
    margin-right: 1em;
    display: inline-block;
  }

  .postarea .decoBtns {
    display: inline-block;
  }

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

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

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

.pagenavi .pagenums a {
  color: var(--bgColor);
  border: 1px solid var(--baseColor);
  background-color: var(--baseColor);
  border-radius: 50%;
}

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

.aside dt {
  font-weight: bold;
}

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

.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(--subColor);
  border-bottom: none;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.pagetop a:hover {
  opacity: 0.5;
}

.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(--subColor);
  position: absolute;
  display: inline-block;
  visibility: hidden;
}

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

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;
}

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