/* カスタムプロパティ
============================================================= */

:root {
  /* プリセットのエイリアス */

  --theme-gothic: var(--wp--preset--font-family--noto-sans-jp);
  --theme-mincho: var(--wp--preset--font-family--noto-serif-jp);

  /* Layer */
  --z-index-container: 0;
  --z-index-header: 110;
  --z-index-g-nav: 120;
  --z-index-hamburger: 130;
  --z-index-overlay: 200;
  --z-index-spmenu: 300;
  --z-index-fixed-nav: 500;

  /* Width */
  --width-xxl: 1400px;
  --width-xl: 1200px;
  --width-lg: 992px;
  /* WordPress(Gutenberg)に合わせて変更 768=>782 */
  --width-md: 782px;
  --width-xs: 480px;
  --width-sm: 576px;
  /* WordPress(Gutenberg)に合わせて追加 768=>480 */
  --width-xs: 576px;
}

/* Note
=============================================================

# ブレイクポイント一覧
xxl: 1400px
xl: 1200px
lg: 992px
md: 782px
sm: 576px
xs: 576px

@media only screen and (max-width: 1400px) {
}
@media only screen and (max-width: 1200px) {
}
@media only screen and (max-width: 992px) {
}
@media only screen and (max-width: 782px) {
}
@media only screen and (max-width: 576px) {
}

# プリセット
theme.json
var(--wp--preset--color--theme-main);
var(--wp--preset--color--theme-sub-1);
var(--wp--preset--color--theme-accent);
var(--wp--preset--color--theme-base);
var(--wp--preset--color--theme-font);
var(--wp--preset--color--theme-border);

lib/fonts.php
var(--wp--preset--font-family--noto-sans-jp);
var(--wp--preset--font-family--noto-serif-jp);
var(--wp--preset--font-family--open-sans);
var(--wp--preset--font-family--zen-maru-gothic); */

/* 初期化
============================================================= */

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;

  &:hover {
    opacity: 0.8;
  }
}

address {
  font-style: normal;
}

img {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Chromeで画像がぼやけるのを防ぐ */
/* stylelint-disable-next-line selector-type-no-unknown */
/* _:lang(x)::-internal-media-controls-overlay-cast-button,
img {
  image-rendering: -webkit-optimize-contrast;
} */

hr {
  width: 100%;
  height: 0;
  margin: 20px 0;
  border: none;
  border-top: 1px solid var(--wp--preset--color--theme-sub-1);
}

/* input */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
  max-width: 100%;
  padding: 0.5em;
  margin-top: 10px;
  line-height: 1.2em;
  appearance: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--wp--preset--color--theme-sub-1);
}

input[type="checkbox"] {
  accent-color: var(--wp--preset--color--theme-sub-1);
}

/* Fonts
============================================================= */

body {
  /* 明朝 */
  font-family: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "MS PMincho", serif;

  /* ゴシック */
  /* font-family: "Noto Sans JP", "Helvetica Neue", arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", meiryo, sans-serif; */
  font-weight: 400;
  color: var(--wp--preset--color--theme-font);
}

/* Wrapper
============================================================= */

.container {
  position: relative;
  z-index: var(--z-index-container);
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  /* background-color: var(--wp--preset--color--theme-base); */
  background: #633d0e;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100%;
  max-width: var(--width-xl);
  height: 100%;
  background-color: #633d0e;
  background-image: linear-gradient(
    90deg,
    rgb(99 61 14 / 100%) 0%,
    rgb(178 134 49 / 100%) 50%,
    rgb(99 61 14 / 100%) 100%
  );
  translate: -50% 0;
}

/* Main
============================================================= */

.main {
  margin: 0 auto;
}

.main--fp {
  max-width: var(--width-lg);
  background-color: transparent;
}

.main--page {
  max-width: var(--width-lg);
  padding: 20px;
  color: #f0f0f0;
  background-color: var(--wp--preset--color--theme-main);
}

.main--dark {
  max-width: var(--width-lg);
  padding: 20px;
  color: #f0f0f0;
  background-color: var(--wp--preset--color--theme-main);
}

.main--light {
  max-width: var(--width-lg);
  padding: 20px;
  color: #333;
  background-color: #fff;
}

@media only screen and (max-width: 992px) {
  .main--fp {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 576px) {
  .main--fp {
    padding: 0 10px;
  }

  .main--page,
  .main--dark,
  .main--light {
    padding: 20px 10px;
  }
}
/* Header 'header, h'
============================================================= */

.header {
  position: relative;
  width: 100%;
  background-color: #fff;
  border-bottom: 2px solid var(--wp--preset--color--theme-sub-2);
}

.header__top {
  display: flex;
  width: 100%;
  max-width: var(--width-lg);
  padding: 10px 0;
  margin: 0 auto;
}

@media only screen and (max-width: 992px) {
  .header__top {
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 782px) {
  .header__top {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px 10px;
  }
}

.h-logo {
  display: inline-block;
  max-width: 200px;
  margin: 0;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.wp-custom-header {
  width: 100%;
  max-width: var(--width-lg);
  margin: auto;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.h-grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px 30px;
  width: 460px;
  margin-left: auto;

  & a {
    display: inline-block;
  }

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.h-grid__item1 {
  grid-area: 1 / 1 / 2 / 2;

  & .tel {
    margin-top: 4%; /* 位置調整 */
  }
}

.h-grid__item2 {
  grid-area: 1 / 2 / 2 / 3;
}

.h-grid__item3 {
  grid-area: 2 / 1 / 3 / 3;

  & .mob {
    display: none;
  }
}

@media only screen and (max-width: 782px) {
  .h-grid {
    grid-template-columns: 1fr;
    grid-gap: 10px;
    width: 100%;
    max-width: 240px;
    margin: 0;
  }

  .h-grid__item1 {
    grid-area: 1 / 1 / 2 / 2;

    & .tel {
      margin-top: 0;
    }
  }

  .h-grid__item2 {
    grid-area: 2 / 1 / 3 / 2;
  }

  .h-grid__item3 {
    grid-area: 3 / 1 / 4 / 2;

    & .pc {
      display: none;
    }

    & .mob {
      display: block;
    }
  }
}

/* グローバルナビ
============================================================= */
.g-nav {
  overflow: visible;
  font-family: var(--theme-gothic);
  font-size: 14px;
  font-weight: 400;
  font-feature-settings: "palt"; /* プロポーショナルメトリクス */
  line-height: 1em;
  background-color: var(--wp--preset--color--theme-main);
}

.g-nav__ul {
  display: flex;
  width: 100%;
  max-width: var(--width-lg);
  padding: 0;
  margin: 0 auto;
  color: #fff;
  list-style: none;
  background-image: url("../images/nav-pattern.png");
  background-repeat: no-repeat;
  background-position: center bottom -110px; /* 柄合わせ */
  background-size: cover;
  border-right: 1px solid #bdad89;

  & > .menu-item {
    position: relative;
    flex: 1;
    text-align: center;
    background-color: var(--color-main);
    border-left: 1px solid #bdad89;
  }

  & > .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3em;
    padding: 0.5em;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
      color: #00a800;
    }
  }
}

@media only screen and (max-width: 782px) {
  .g-nav {
    display: none;
  }
}

/* モバイル固定メニュー
============================================================= */
.fixed-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-fixed-nav);
  display: none;
  width: 100%;
  font-family: var(--theme-gothic);
  color: #666;
  background-color: rgb(255 255 255 / 80%);
  border-top: 1px solid #bdad89;
  -webkit-tap-highlight-color: transparent;
}

.fixed-nav.active {
  background-color: rgb(0 0 0 / 80%);

  .fixed-hamburger {
    background-color: #fff;
  }
}

.fixed-nav__ul {
  display: flex;
  list-style: none;

  & li {
    width: 100%;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    display: flex;
    flex-direction: column;
    gap: 5px 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0 5px;
    text-decoration: none;

    & i {
      font-size: 20px;
    }

    & small {
      font-size: 10px;
      font-weight: 500;
    }
  }
}

@media only screen and (max-width: 782px) {
  .fixed-nav {
    display: block;
  }
}

/* モバイルメニュー
============================================================= */
.m-nav {
  position: fixed;
  top: 0;
  left: -320px;
  z-index: var(--z-index-spmenu);
  width: 320px;
  height: 100%;
  padding-top: 60px;
  overflow: hidden auto;
  font-family: var(--theme-gothic);
  font-size: 18px;
  font-weight: 500;
  color: var(--wp--preset--color--theme-main);
  background-color: #fff;
  border-right: 1px solid #bdad89;
  transition: 0.5s;
  -webkit-tap-highlight-color: transparent;
}

.m-nav__ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  list-style: none;
  cursor: pointer;
  border-top: 1px solid #bdad89;

  & li {
    width: 100%;
    border-bottom: 1px solid #bdad89;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    position: relative;
    display: block;
    padding: 0.75em 2em;
    color: inherit;
    text-decoration: none;
  }
}

@media only screen and (max-width: 782px) {
  .m-nav {
    &.active {
      left: 0;
    }
  }
}

@keyframes fade-nav {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ハンバーガーメニューのボタン */
.hamburger {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-hamburger);
  box-sizing: border-box;
  display: none;
  width: 48px;
  height: 48px;
  text-align: center;
  cursor: pointer;
  background-color: var(--wp--preset--color--theme-main);
  -webkit-tap-highlight-color: transparent;
  transition: all 0.5s ease-in-out;
}

@media only screen and (max-width: 782px) {
  .hamburger {
    display: block;
  }
}

.hamburger::before {
  position: absolute;
  bottom: -1.5em;
  left: 0;
  display: block;
  width: 100%;
  font-family: var(--wp--preset--font-family--open-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--wp--preset--color--theme-main);
  pointer-events: none;
  content: "MENU";
  /* transition: all 0.5s ease-in-out; */
}

/* stylelint-disable-next-line no-descending-specificity */
.hamburger span {
  position: absolute;
  left: 50%;
  display: block;
  width: 66.6%;
  height: 2px;
  background-color: #fff;
  transition: 0.3s ease-in-out;
  transform: translate(-50%, -50%);
}

.hamburger span:nth-of-type(1) {
  top: 25%;
}

.hamburger span:nth-of-type(2) {
  top: 50%;
}

.hamburger span:nth-of-type(3) {
  top: 75%;
}

.hamburger.active {
  opacity: 0;
}

.hamburger.scrolled {
  opacity: 0;
}

/* ハンバーガーメニュー表示時のオーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-overlay);
  display: none;
  width: 100%;
  height: 100vh;
  content: "";
  background-color: rgb(0 0 0 / 40%);
  opacity: 1;
  animation: fade-overlay 0.5s;
}

@media only screen and (max-width: 782px) {
  .overlay.active {
    display: block;
  }
}

/* オーバーレイのフェードアニメーション */
@keyframes fade-overlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Footer
============================================================= */
.footer {
  width: 100%;
  padding: 60px 0 0;
  margin: 20px 0 0;
  color: #fff;
  background-color: var(--wp--preset--color--theme-main);
}

.footer__inner {
  max-width: var(--width-xl);
  margin: 0 auto;
}

@media only screen and (max-width: 992px) {
  .footer__inner {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 782px) {
  .footer__inner {
    padding: 0 10px;
  }
}

@media only screen and (max-width: 782px) {
  .footer {
    padding: 60px 0 80px;
  }
}

/* フッターナビ */
.f-nav {
  margin: 0 auto;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 14px;
}

.f-nav__ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 2em;
  justify-content: center;
  list-style: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    font-weight: 500;
    color: inherit;
    text-decoration: none;
  }
}

@media only screen and (max-width: 576px) {
  .f-nav__ul {
    flex-direction: column;
    align-items: center;
  }
}

.f-copy {
  min-height: 20px;
  font-size: 12px;
  text-align: center;
}

/* レイアウト
============================================================= */

/* 2カラム */
.layout-twocol {
  display: flex;
  gap: 0 20px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.layout-twocol__main {
  flex: 2;
  overflow: hidden;
}

.layout-twocol__side {
  flex: 1;
  max-width: 280px;
}

@media only screen and (max-width: 782px) {
  .layout-twocol {
    flex-direction: column;
  }

  .layout-twocol__main {
    flex: 1;
    max-width: initial;
  }

  .layout-twocol__side {
    flex: 1;
    max-width: initial;
    margin-top: 20px;
  }
}

/* Content
============================================================= */
.content {
  width: 100%;
  min-height: 400px;
  padding: 20px;
  background-color: var(--wp--preset--color--theme-main);
}

.content--fp {
  min-height: 100%;
  color: var(--wp--preset--color--theme-font);
  background-color: #fff;
}

.content--blog {
  padding: 0 !important;
}

@media only screen and (max-width: 576px) {
  .content {
    padding: 20px 10px;
  }
}

/* Sidebar
============================================================= */

.sidebar {
  font-size: 14px;

  & ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  & li {
    margin: 0.5em 0;
  }

  @media only screen and (max-width: 576px) {
    .sidebar {
      padding: 20px 10px;
    }
  }

  /* サイドバー見出し */
  /* &:where(h1, h2, h3, h4, h5, h6) {
    padding-bottom: 0.25em;
    margin-bottom: 1em;
    font-weight: 400;
    border-bottom: 1px dashed #ccc;
  } */
}

.sidebar--fp {
  padding: 20px;
  color: var(--wp--preset--color--theme-font);
  background-color: #fff;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    color: var(--wp--preset--color--theme-accent);
  }
}

.sidebar--blog {
  margin: 0;
  color: inherit;
  background-color: transparent;
}

/* 項 'sect, section'
============================================================= */

/* 基本 */
.sect {
  width: 100%;
  margin: 0;
}

/* 見出し 'heading'
============================================================= */
/* :where(h1, h2, h3, h4, h5, h6) {
  color: var(--wp--preset--color--theme-main);
} */

.heading-content {
  padding-left: 1.5em;
  margin: 0 0 10px;
  font-family: var(--theme-gothic);
  font-size: 20px;
  font-weight: 700;
  line-height: 1em;
  color: var(--wp--preset--color--theme-main);
  background-image: url("../images/icon-butterfly.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1.25em auto;
  border-bottom: 2px solid #633d0e;
  border-image: linear-gradient(to right, #fff, #633d0e) 1;
}

/* page */
.heading-page {
  padding: 0 0 10px;
  margin: 0 0 40px;
  font-family: var(--theme-gothic);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--wp--preset--color--theme-sub-1);
  text-indent: 0.5em;
  border-bottom: 1px solid var(--wp--preset--color--theme-sub-1);
}

.heading-page--light {
  color: var(--wp--preset--color--theme-main);
  border-bottom: 1px solid var(--wp--preset--color--theme-main);
}

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

@media only screen and (max-width: 782px) {
  .heading-page {
    font-size: 24px;
  }
}

/* category */
.heading-category {
  width: fit-content;
  padding: 0 20px;
  margin: 0 auto 10px;
  font-family: var(--theme-gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75em;
  letter-spacing: 0.05em;
}

@media only screen and (max-width: 576px) {
  .heading-category {
    padding: 0 10px;
    font-size: 14px;
  }
}

/* 見出し下線 */
.heading-underline {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5em;

  /* stylelint-disable-next-line no-descending-specificity */
  & span {
    display: inline-block;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #666;
  }
}

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

@media only screen and (max-width: 782px) {
  .heading-underline {
    font-size: 24px;
  }
}

/* 記事一覧 カテゴリーとタグ
============================================================= */

.sort {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.sort__title {
  width: 8em;
  min-width: 8em;
  margin: 0;
  font-family: var(--theme-gothic);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sort__item {
  & input[type="text"],
  [role="search"] {
    margin: 0;
  }
}

@media only screen and (max-width: 576px) {
  .sort {
    flex-direction: column;
    padding: 0 10px;
  }

  .sort__title {
    padding: 0;
  }
}

.list-archive-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 !important;
  margin: 0;
  font-family: var(--theme-gothic);
  font-size: 14px;
  letter-spacing: 0.05em;
  list-style: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    display: inline-block;
    max-width: 16.2em;
    padding: 0.25em 0.75em;
    overflow: hidden;
    text-decoration: underline;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 30px;
    opacity: 1;
  }
}

.list-archive-terms--categories {
  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    display: inline-block;
    max-width: 16.2em;
    padding: 0.25em 1em;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #3b190a;
    border: 1px solid;
    border-radius: 30px;
    opacity: 1;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & a:hover {
    background-color: #633d0e;
  }
}

.list-archive-terms--categories .current-cat {
  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    color: #633d0e;
    background-color: #fff;
    border: 1px solid #633d0e;
  }
}

.list-archive-terms--tags {
  gap: 0 1em;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    padding: 0;
    border-radius: initial;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & a::before {
    display: inline;
    content: "#";
  }
}

.list-archive-terms--tags .current-cat {
  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    text-decoration: underline;
  }
}

@media only screen and (max-width: 782px) {
  .list-archive-terms--tags {
    font-size: 12px;
  }
}

/* 投稿
============================================================= */

/* アイキャッチ */
.featured-image {
  & img {
    max-width: 100%;
    height: auto;
  }
}

/* 投稿カテゴリー */
.post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
  padding: 0 !important;
  margin: 0;
  font-family: var(--theme-gothic);
  font-feature-settings: "palt";
  color: #999;
  list-style: none;
  border-color: #999;

  & li > span {
    display: inline-block;
    padding: 0.3em 0;
    border: transparent;
  }
}

.entry-categories {
  font-weight: 400;
  line-height: 1em;
  list-style: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    display: inline-block;
    padding: 0.3em 0.75em;
    text-decoration: none;
    white-space: nowrap;
    /* background-color: var(--wp--preset--color--theme-main); */
    border: 1px solid;
    border-radius: 1em;
    transition: all ease 0.5s;
  }
}

.entry-tags {
  margin: 0;
  font-weight: 400;
  line-height: 1em;
  list-style: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    display: inline-block;
    padding: 0.3em 0;
    text-decoration: underline !important;
    border: transparent;
  }

  & a::before {
    display: inline;
    content: "#";
  }
}

/* 投稿日 */
.post-date {
  font-family: var(--wp--preset--font-family--open-sans);

  & time {
    display: inline;
    margin-left: 0.25em;
    line-height: 1em;
  }
}

.post-date--dark {
  /* 背景暗色 */
  color: #c0c0c0;
}

/* 投稿タイトル */
.post-title {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  text-align: justify;
}

.post-title--dark {
  /* 背景暗色 */
  color: #fff;
}

/* 投稿 抜粋 */
.post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  margin-top: 20px;
}

@media only screen and (max-width: 576px) {
  .post-cards {
    margin-top: 40px;
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 40px) / 3);
  padding: 20px;
  font-size: 16px;
  background-image: linear-gradient(#3b190a 0%, #633d0e 100%);
  border: 1px solid #666;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    font-weight: inherit;
    text-decoration: none;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & a:hover {
    opacity: 1;
  }
}

@media only screen and (max-width: 782px) {
  .post-card {
    width: calc((100% - 20px) / 2);
  }
}

@media only screen and (max-width: 576px) {
  .post-card {
    width: 100%;
    max-width: 360px;
    margin: auto;
  }
}

.post-entry {
  font-size: 12px;
}

.post-status {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
  font-size: 12px;
}

.post-status--card {
  padding-top: 10px;
  margin-top: auto;
}

.post-thumbnail {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #f0f0f0;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.75em;
  color: #c0c0c0;
  text-align: justify;
}

/* 前後ページナビ */
.post-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  font-weight: 400;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    text-decoration: underline;
  }

  span:nth-child(even) {
    text-align: right;
  }
}

/* ウィジェット
============================================================= */

/* コンテンツ上部、下部エリア */
.content-top-entry,
.contents-bottom-entry {
  width: 100%;
  max-width: var(--width-lg);
  margin: 0 auto;
}

@media only screen and (max-width: 992px) {
  .content-top-entry,
  .contents-bottom-entry {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 576px) {
  .content-top-entry,
  .contents-bottom-entry {
    padding: 0 10px;
  }
}

/* スタッフテンプレート 
============================================================= */
.staff {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  padding: 0 !important;
  font-size:16px;
}

.staff__item {
  display: block;
  width: calc(50% - 10px);
  padding: 20px;
  background-image: linear-gradient(#3b190a 0%, #633d0e 100%);
  border: 1px solid #666;
}

@media (max-width: 792px) {
  .staff {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size:14px;
  }

  .staff__item {
    width: 100%;
    max-width: 400px;
  }
}

@media only screen and (max-width: 480px) {
  .staff__item {
    padding: 10px;
  }
}

/* スタッフ上 */
.staff-header {
  margin: 0;
}

/* スタッフ中 */
.staff-body {
  display: flex;
  margin: 10px 0 0;
  line-height: 1.5em;
}

.staff-body__left {
  width: 40%;
}

.staff-body__right {
  width: 60%;
  padding-left: 10px;
}

/* スタッフ下 */
.staff-footer {
  display: flex;
  margin: 10px 0 0;
  line-height: 1.5em;
  color: #c8a750;

  & h4 {
    padding: 0;
    margin: 0;
    font-size: 1em;
  }
}

.staff-footer__left {
  width: 40%;
  padding-right: 10px;
}

.staff-footer__right {
  width: 60%;
  padding-left: 10px;
  border-left: 1px solid #c8a750;
}

.staff-name {
  padding: 0;
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.staff-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.staff-comment {
  margin: 0 !important;
  line-height: 1.5em !important;
  color: #c0c0c0;
  text-align: justify;
}

.staff-style {
  line-height: 1.5em;
  text-align: justify;
}

.staff-stars {
  margin: 0.5em 0 0 !important;
  line-height: 1.5em;
  white-space: nowrap;
}

.staff-shift {
  margin: 0.5em 0 0 !important;
  line-height: 1.5em !important;
  text-align: justify;
}

/* ショートコード 
============================================================= */
/* [custom_news] */

.list-custom-news {
  padding: 0 !important;
  list-style: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & li {
    margin: 0.2em 0 0 !important;
  }
}

.custom-news {
  display: flex;
  flex-direction: column;
  gap: 5px 0;
  padding: 5px 0 8px;
  font-size: 14px;
  border-bottom: 1px dotted var(--wp--preset--color--theme-border);
}

.custom-news__item--date {
  font-size: 12px;
  white-space: nowrap;
}

.custom-news__item--term {
  font-size: 10px;

  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    color: #999 !important;
    border-color: #999 !important;
  }
}

.custom-news__item--title {
  /* stylelint-disable-next-line no-descending-specificity */
  & a {
    color: inherit;
    text-decoration: none;
    border-color: inherit;
  }
}

@media only screen and (max-width: 576px) {
  .custom-news {
    flex-wrap: wrap;
  }

  .custom-news__item--title {
    display: block;
    width: 100%;
  }
}
