@charset "utf-8";

/*
 * Theme Name: Yoru for WordPress
 * Author: Hirotoshi Kawai
 * Description: Yoru is original theme for WordPress. Redesigned by Self Made Framework.
 * Version: 14.0
 */

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #eee;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: #111;
  background-image: url("./images/background.png");
  background-repeat: repeat;
}

h5, h6 {
  margin: 0; /* Add to Modern CSS Reset */
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.nucleus {
  width: 100%;
  height: auto;
}

.article-main img {
  max-width: 100%;
  height: 100px;
  object-fit: cover;
}

a:link,
a:visited {
  color: #00bfff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.6;
  transition: 0.6s;
}

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

.flex-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.contents-mid {
  flex-basis: 65%;
  width: 65%;
  max-width: 100%;
}

.contents-side {
  flex-basis: 35%;
  width: 35%;
  max-width: 100%;
}

.contents-bg-color {
  background-color: #222;
}

.pad-5 {
  padding: 5px;
}

.pad-10 {
  padding: 10px;
}

.pad-15 {
  padding: 15px;
}

.pad-20 {
  padding: 20px;
}

.article-main-left {
  flex-basis: 30%;
  width: 30%;
  max-width: 100%;
}

.article-main-right {
  position: relative;
  flex-basis: 65%;
  width: 65%;
  max-width: 100%;
}

.header-area {
  position: relative;
}

.header-title {
  margin-bottom: 15px;
  line-height: 1.6;
}

.header-title h4,
.header-title p {
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
}

.header-title h4 {
  font-size: 1.3rem;
  font-weight: 300;
}

.header-title p {
  color: #999;
  font-size: 0.9rem;
  font-weight: 300;
}

.header-title h4 a {
  color: #eee;
  text-decoration: none;
}

.header-title h4 a:hover {
  text-decoration: underline;
}

.navbutton {
  position: relative;
  display: block;
  margin-left: auto;
  background-color: #222;
  color: #eee;
  width: 30px;
  height: 20px;
  border: none;
  outline: none;
  transition: all 0.6s;
  box-sizing: border-box;
  z-index: 11;
}

.navbutton span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #eee;
  border-radius: 4px;
  transition: all 0.6s;
  box-sizing: border-box;
  z-index: 11;
}

.navbutton span:nth-of-type(1) {
  top: 0;
}

.navbutton span:nth-of-type(2) {
  top: 8px;
}

.navbutton span:nth-of-type(3) {
  bottom: 0;
}

.navbutton.active span:nth-of-type(1) {
  transform: translateY(8px) rotate(-315deg);
}

.navbutton.active span:nth-of-type(2) {
  opacity: 0;
}

.navbutton.active span:nth-of-type(3) {
  transform: translateY(-8px) rotate(315deg);
}

.main-menu {
  display: none;
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  max-width: 100%;
  background-color: #222;
  z-index: 10;
  padding: 15px;
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.0rem;
  color: #eee;
}

.main-menu.active {
  display: block;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li {
  position: relative;
  width: 100%;
  border-bottom: solid 1px #333;
}

.header-nav li:first-child {
  border-top: solid 1px #333;
}

.header-nav li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: #eee;
  text-decoration: none;
}

.header-nav li a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0c1";
  color: #eee;
  margin-right: 3px;
}

.header-nav li a:hover {
  background-color: #666;
  text-decoration: underline;
}

.header-nav li a:active {
  background-color: #666;
}

.category-data-origin {
  display: inline-block;
  font-size: 0.7rem;
  padding: 5px;
  margin-right: 2px;
  margin-bottom: 5px;
  color: #eee;
  background-color: #333;
}

.category-data-origin a {
  text-decoration: none;
}

.article-main {
  padding: 10px;
}

.article-main .article-position-relative {
  position: relative;
}

.article-main .category-img-position {
  position: absolute;
  top: 0;
  left: 0;
}

.article-main:hover {
  opacity: 0.6;
  transition: 0.6s;
}

.article-main:active {
  background-color: #666;
  transition: none;
}

.article-main .article-anchor:hover {
  text-decoration: none;
}

.article-title {
  border-bottom: 2px solid #333;
}

.article-title .article-title-index {
  position: relative;
  padding: 0 0 0 30px;
}

.article-title .article-title-index a::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0c1';
  font-weight: 900;
  color: #00bfff;
  position: absolute;
  left: 0;
}

.article-title .article-title-single {
  position: relative;
  padding: 0 0 0 30px;
  font-size: 1.2rem;
  color: #eee;
}

.article-title .article-title-single::before {
  font-family: "Font Awesome 6 Free";
  content: '\f0c1';
  font-weight: 900;
  color: #eee;
  position: absolute;
  left: 0;
}

.article-date {
  max-width: 100%;
  text-align: left;
}

.post-time-area {
  position: absolute;
  bottom: 0;
  right: 0;
}

.print-date {
  color: #a9a9a9;
}

.white-clock {
  font-size: 0.7rem;
  color: #eee;
}

.print-date-index {
  color: #a9a9a9;
}

.article-single {
  padding: 10px;
  margin-bottom: 200px;
}

.article-contents {
  padding-top: 5px;
  line-height: 1.8;
}

.article-contents p {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}

.article-contents ul,
.article-contents ol,
.article-contents dl {
  margin: 0;
  padding: 0;
  margin-left: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.article-contents img {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}

.article-contents figure {
  margin: 0;
  padding: 0;
}

.article-contents iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  margin-bottom: 10px;
}

.article-contents .wp-block-kevinbatdorf-code-block-pro {
  margin-bottom: 10px;
}

.article-contents figcaption {
  text-align: center;
  margin-top: -10px;
}

.sidebar {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  line-height: 1.6;
}

.sidebar-wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 5px;
  margin-bottom: 10px;
}

.sidebar-wrap li {
  position: relative;
  padding: 0 0 0 17px;
}

.sidebar-wrap li a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f152";
  color: #00bfff;
  position: absolute;
  left: 0;
}

.sidebar-wrap h2 {
  font-size: 1.1rem;
  border-bottom: 1px solid #333;
  padding-top: 5px;
}

.widget_categories li {
  color: #00bfff;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagination a {
  display: inline-block;
}

.pagination a:hover {
  opacity: 0.6;
  transition: 0.6s;
}

.pagination a:active {
  background-color: #666;
  transition: none;
}

.pagination .prev,
.pagination .current,
.pagination .next,
.pagination a.page-numbers {
  border: 1px solid #333;
}

.pagination .prev,
.pagination .current,
.pagination .next,
.pagination .page-numbers {
  margin-right: 5px;
  padding: 10px;
}

.comments-area {
  padding: 10px;
  margin-bottom: 15px;
  line-height: 1.8;
}

.comment-respond {
  margin-top: 10px;
}

.comment-respond #comment {
  display: block;
  max-width: 100%;
  width: 60%;
  font-size: 0.9rem;
  background-color: #fafdff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
  outline: 0;
}

.comment-respond #comment:hover {
  border: 1px solid #a0d8ef;
  box-shadow: 0px 0px 5px 5px #a0d8ef;
  transition: 0.6s;
}

.comment-respond #author,
.comment-respond #email,
.comment-respond #url {
  display: block;
  max-width: 100%;
  width: 40%;
  font-size: 0.9rem;
  background-color: #fafdff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
  outline: 0;
}

.comment-respond #author:hover,
.comment-respond #email:hover,
.comment-respond #url:hover {
  border: 1px solid #a0d8ef;
  box-shadow: 0px 0px 5px 5px #a0d8ef;
  transition: 0.6s;
}

.comment-form-cookies-consent input {
  display: block;
  margin-bottom: 5px;
}

.comment-form-cookies-consent label {
  display: block;
  margin-bottom: 10px;
}

input.submit {
  font-size: 0.9rem;
  color: #eee;
  background-color: #4496d3;
  border: 1px solid #0075c2;
  border-radius: 5px;
  padding: 5px;
}

input.submit:hover {
  background-color: #006eb0;
  transition: 0.6s;
}

input.submit:active {
  opacity: 0.6;
}

.related-title-area {
  padding-left: 10px;
  padding-right: 10px;
}

.related-articles-list-title {
  border-bottom: 1px solid #333;
  padding-top: 5px;
  font-size: 1.1rem;
}

.related-article {
  margin-top: 10px;
}

footer {
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  min-height: 200px;
  background-color: #222;
  padding: 20px;
}

.comment-area:first-child {
  max-width: 100%;
  border-top: 1px dashed #333;
  border-bottom: 1px dashed #333;
  padding-top: 10px;
  padding-bottom: 10px;
}

.comment-area {
  max-width: 100%;
  border-bottom: 1px dashed #333;
  padding-top: 10px;
  padding-bottom: 10px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-meta {
  margin: 0;
  padding: 0;
  min-height: 0;
}

/* ラップトップ用 */
@media only screen and (max-width: 1030px) {
  body {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* タブレット用 */
@media only screen and (max-width: 768px) {
  .comment-respond #comment {
    width: 100%;
  }

  .comment-respond #author,
  .comment-respond #email,
  .comment-respond #url {
    width: 60%;
  }

  .article-contents {
    padding-top: 5px;
  }

  .category-data-origin {
    font-size: 0.6rem;
  }

  .article-single .category-data-origin {
    font-size: 0.7rem;
  }

  .article-main img {
    max-width: 100%;
    height: 75px;
    object-fit: cover;
  }
}

/* スマホ用 */
@media only screen and (max-width: 479px) {
  body {
    padding-left: 15px;
    padding-right: 15px;
  }

  .comment-respond #comment {
    width: 100%;
  }

  .comment-respond #author,
  .comment-respond #email,
  .comment-respond #url {
    width: 70%;
  }

  .flex-layout {
    flex-wrap: wrap;
  }

  .contents-mid {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .contents-side {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .article-contents {
    padding-top: 5px;
  }

  .category-data-origin {
    font-size: 0.5rem;
  }

  .article-single .category-data-origin {
    font-size: 0.7rem;
  }

  .article-main img {
    max-width: 100%;
    height: 70px;
    object-fit: cover;
  }
}

/* スマホ用 */
@media only screen and (max-width: 380px) {
  .article-main img {
    max-width: 100%;
    height: 65px;
    object-fit: cover;
  }
}

/* スマホ用 */
@media only screen and (max-width: 330px) {
  .article-main img {
    max-width: 100%;
    height: 60px;
    object-fit: cover;
  }
}