:root {
  --header-height: 86px;
  --firstview-height: 775px; }

@media (max-width: 767px) {
  :root {
    --header-height: 95px; } }
:root {
  --post-title-hight: 390px; }

#contents {
  position: relative; }
  #contents::before, #contents::after {
    position: absolute;
    display: block; }
  #contents::before {
    z-index: -2;
    left: 0;
    width: 100%;
    height: calc(var(--post-title-hight) + 20px);
    background: linear-gradient(100deg, #d4dde1, #fff); }
    @media (min-width: 960px) {
      #contents::before {
        top: var(--header-height); } }
    @media (max-width: 959px) {
      #contents::before {
        top: 0; } }
  #contents::after {
    z-index: -1;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 100%;
    max-width: initial;
    aspect-ratio: 1450/217;
    background-size: contain;
    background-position: bottom;
    background-image: url("/wp-content/package/img/common/postype-title_cover.svg?ulz8hdegp"); }
    @media (min-width: 960px) {
      #contents::after {
        top: calc(var(--post-title-hight) + 20px + var(--header-height)); } }
    @media (max-width: 959px) {
      #contents::after {
        top: calc(var(--post-title-hight) + 20px); } }

.posttype-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: fit-content;
  margin: auto;
  padding-top: calc(8px * 9); }
  .posttype-title::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 370px;
    aspect-ratio: 372/95;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("/wp-content/package/img/post-title/titlebg.svg?ulz8hdegq"); }
  .posttype-title_image {
    display: block;
    aspect-ratio: 1/1;
    height: 90px;
    background-position: top center;
    background-repeat: no-repeat;
    text-align: center;
    margin-bottom: calc(8px * 4); }
  .posttype-title a {
    z-index: 1; }
    .posttype-title a:hover {
      transform: translateY(2px); }
  .posttype-title_slug {
    height: calc(8px * 3); }
  .posttype-title_name {
    color: #333 !important;
    font-weight: 400;
    font-size: 150% !important; }

.article-header__thumbnail {
  width: 300px;
  aspect-ratio: 4 / 3;
  margin: auto; }
  .article-header__thumbnail > img {
    width: 100%;
    max-width: initial;
    height: 100%;
    object-fit: cover; }

.sidebar img {
  margin-bottom: calc(8px * 3); }

.single .wp-post-image {
  width: 100% !important;
  height: auto !important; }
.single time {
  display: block;
  font-size: 90%; }
.single h1 {
  margin-bottom: 1em; }
