/*
* {
    outline: 1px solid red!important;
}
*/
.not-article {
  display: grid;
  place-content: center;
  height: 100vh;
  font-size: 2rem;
  text-align: center;
}
.eye-catch {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  .article-title {
    margin-bottom: 1rem;
  }
}
.category-title {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  .article-title {
    margin-bottom: 1rem;
  }
}
.article-title {
  /*
  position: absolute;
  left: 5%;
  bottom: 10px;
*/
  width: 90%;
  padding: 0.5em 1.5em;
  border: 2px solid hsla(0, 0%, 100%, 1);
  border-radius: 12px;
  background: hsla(0, 0%, 0%, 0.8);
  /*  margin-top: 3rem;*/
  h1 {
    /*    margin-inline: auto;*/
    border-bottom: 1px dotted hsla(0, 0%, 100%, 0.3);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    color: hsla(0, 0%, 100%, 1);
    /*    text-shadow: 2px 2px 3px hsla(0, 0%, 50%, 0.5);*/
  }
  .date {
    /*    width: 90%;*/
    margin: 0.5rem auto auto;
    font-size: 0.8rem;
    color: hsla(0, 0%, 100%, 1);
    text-align: right;
    a {
      padding-left: .5rem;
    }
  }
}
.category-title h1 {
  border-bottom: none;
}
.article {
  margin: 3rem auto 6rem;
  a {
    color: hsla(240, 100%, 60%, 1);
    &:hover {
      color: var(--hover-color);
    }
  }
  strong {
/*    color: var(--hover-color);*/
/*	  font-size: 1.1em;*/
    font-weight: bold;
  }
  section img {
    display: block;
    width: 90%;
    padding: 10px;
    /*    padding: 1vw;*/
    margin: 30px auto;
    box-sizing: border-box;
    background: hsla(0, 0%, 100%, 1);
    box-shadow: 0 0 3px 6px hsla(0, 0%, 80%, 0.3);
  }
  section p {
    width: 85%;
    margin: auto auto 1.5rem;
    font-size: 1rem;
    line-height: 2.4;
    color: var(--text-color);
    text-shadow: 1px 1px 2px hsla(0, 0%, 50%, 0.4);
  }
  section h2 {
    width: 90%;
    margin: auto auto .5rem;
    padding: 0.25em 0.5em;
    color: var(--text-color);
    font-weight: bold;
    background: transparent;
    border-left: 5px solid var(--hover-color);
  }
  section h3 {
    width: 85%;
    margin: auto auto .3rem;
    padding: 0.25em 0;
    color: var(--text-color);
    font-weight: bold;
    border-bottom: 2px dashed var(--hover-color);
  }
  section h4 {
    width: 85%;
    margin: auto auto .3rem;
    padding: 0.25em 0;
    border-bottom: 1px dashed #ccc;
  }
  section table,
	section .has-fixed-layout {
    width: 85%!important;
    margin: auto auto .3rem!important;
    tr {
      &:nth-child(odd) {
        background: hsla(0, 0%, 95%, 1);
      }
      td {
        border: 1px solid hsla(0, 0%, 70%, 1);
      }
    }
  }
  iframe {
    display: block;
    width: 90%;
    margin: 30px auto 6px auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .wp-element-caption {
    width: 90%;
    margin: auto auto 30px;
    font-size: .8rem;
  }
}
.pagenav {
  width: 90%;
  margin: auto auto 30px;
  .page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    li {
      padding: 0 1rem;
      border-right: 1px solid #ccc;
      &:last-child {
        border-right: none;
      }
    }
  }
}
@media (width <=770px) {
  .eye-catch {
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .category-title {
    width: 100%;
    aspect-ratio: 2 / 1;
  }
  .article-title {
    padding: 0.5em 1em;
    border: 2px solid hsla(0, 0%, 100%, 1);
    border-radius: 12px;
    background: hsla(0, 0%, 0%, 0.8);
    /*  margin-top: 3rem;*/
    h1 {
      font-size: 1.4rem;
      line-height: 1.2;
    }
    .date {
      /*    width: 90%;*/
      margin: 0.5rem auto auto;
      font-size: 0.8rem;
      color: hsla(0, 0%, 100%, 1);
      text-align: right;
    }
  }
  .article {
    margin-bottom: 6rem;
    section img {
      display: block;
      width: 90%;
      padding: 1vw;
      margin: 30px auto;
      box-sizing: border-box;
      background: hsla(0, 0%, 100%, 1);
      box-shadow: 0 0 3px 6px hsla(0, 0%, 80%, 0.3);
    }
    section p {
      width: 85%;
      margin-inline: auto;
      font-size: 1rem;
      line-height: 2.4;
      color: var(--text-color);
      text-shadow: 1px 1px 2px hsla(0, 0%, 50%, 0.4);
    }
  }
}