/* ===== single post ===== */

.entry .l-container {
  padding-top: 64px;
  padding-bottom: 80px;
  max-width: 880px;
}

.entry__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}

.entry__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.entry__date {
  display: inline-block;
  font-family: var(--heading-en);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #888;
  line-height: 1;
}

.entry__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entry__cats a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gradient-orange);
  color: #fff;
  font-family: var(--heading-ja);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.entry__cats a:hover {
  opacity: 0.85;
}

.entry__ttl {
  font-family: var(--heading-ja);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.5;
  margin: 20px 0 0;
}

.entry__content > *:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .entry .l-container {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .entry__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }
  .entry__ttl {
    font-size: 2rem;
  }
}

.entry-inner {
  padding: 100px 0;
}

@media screen and (max-width: 767px) {
  .entry-inner {
    padding: 60px 0;
  }
}

#entry-article {
  box-sizing: border-box;
  border-right: 1px solid #ddd;
  width: 68%;
  padding: 0 24px 0 0;
}

#entry-article .post-cats {
  margin: 0;
}

@media screen and (max-width: 767px) {
  #entry-article {
    border-right: none;
    width: 100%;
    padding: 0;
  }
}

#entry-sidebar {
  box-sizing: border-box;
  width: 32%;
  padding: 0 0 0 24px;
}

#entry-sidebar .sidebar-head {
  margin: 0;
}

#entry-sidebar .sidebar-cont {
  margin-top: 20px;
}

#sidebar-news-box {
  margin: 50px 0 0;
}

.sidebar-news-item + .sidebar-news-item {
  margin: 20px 0 0;
}

.sidebar-news-item .left a {
  width: 100px;
}

.sidebar-news-item .right {
  width: 190px;
}

.sidebar-news-item .right .post-ttl {
  line-height: 1.4;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0;
}

@media screen and (max-width: 767px) {
  #entry-sidebar {
    width: 100%;
    padding: 0;
    margin: 50px 0 0;
  }
  .sidebar-news-item .right {
    width: 220px;
  }
}

/* ===== c-post-nav (single 記事下の prev / next ナビ) ===== */
.c-post-nav {
  position: relative;
  background: #fff;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
}

.c-post-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, rgba(255, 178, 0, 0) 17%, rgba(249, 137, 1, 0.1) 53%, rgba(242, 93, 1, 0.16) 91%);
  pointer-events: none;
  z-index: 0;
}

.c-post-nav__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.c-post-nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 28px 40px;
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.c-post-nav__item--prev {
  text-align: left;
}

.c-post-nav__item--next {
  flex-direction: row-reverse;
  text-align: right;
  border-left: 1px solid var(--color-line);
}

a.c-post-nav__item:hover {
  opacity: 0.75;
}

.c-post-nav__item.is-disabled {
  color: rgba(68, 68, 68, 0.4);
}

.c-post-nav__label {
  flex-shrink: 0;
  font-family: var(--heading-en);
  font-size: 1.8rem;
  color: var(--color-deep);
  letter-spacing: 0.12em;
  line-height: 1;
}

.c-post-nav__title {
  flex: 1;
  min-width: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

@media screen and (max-width: 767px) {
  .c-post-nav__inner {
    grid-template-columns: 1fr;
  }
  .c-post-nav__item {
    padding: 24px 20px;
  }
  .c-post-nav__item--next {
    border-left: none;
    border-top: 1px solid var(--color-line);
  }
}

/* ===== entry-content ===== */
.entry-thumb {
  margin-top: 50px;
}

.entry-thumb img {
  height: 388px;
  width: 100%;
}

.entry-content {
  font-size: 1.6rem;
}

.entry-content a {
  color: var(--color-primary);
}

.entry-content p {
  margin: 2em 0;
}

.entry-content p.mb35rem {
  margin-bottom: 3.5rem;
}

.entry-content hr {
  margin: 4rem 0;
  border: none;
  color: #fff;
  border-top: 1px dashed #eee;
  height: 0;
  line-height: 0;
  background: none;
  padding: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: bold;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content h1 {
  font-size: 2.8rem;
  margin: 30px 0;
}

.entry-content h2 {
  font-family: var(--heading-ja);
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text-color);
  margin: 56px 0 24px;
  padding: 0 0 14px 16px;
  border-left: 4px solid var(--color-primary);
  border-bottom: 1px solid var(--color-line);
}

.entry-content h3 {
  box-sizing: border-box;
  font-family: var(--heading-ja);
  font-size: 1.9rem;
  line-height: 1.5;
  color: var(--text-color);
  margin: 48px 0 20px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--color-line);
  background: none;
}

.entry-content h4 {
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 2px 0 2px 14px;
  border-left: 4px solid var(--color-primary);
  margin: 40px 0 16px;
}

.entry-content h4.noborder {
  border: none;
  content: none;
  padding-bottom: 0;
}

.entry-content h4.noborder::after,
.entry-content .infobox h4::after {
  content: none;
}

.entry-content span.red {
  color: #df0101;
}

.entry-content span.bold {
  font-weight: bold;
  color: #310b00;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content span.underline {
  text-decoration: underline;
  color: #310b00;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content span.marker {
  background: linear-gradient(transparent 60%, rgba(255, 167, 0, 0.7) 60%);
  color: #310b00;
  font-weight: bold;
  padding: 3px 0 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content blockquote {
  color: #555;
  font-size: 1.7rem;
  font-weight: bold;
  margin: 4rem 0;
  padding: 0.5rem 2.5rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: relative;
  line-height: 1.65;
}

.entry-content blockquote::before,
.entry-content blockquote::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 3.5rem;
  height: 2.5rem;
}

.entry-content blockquote p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 2rem 0;
}

.entry-content blockquote small,
.entry-content blockquote small a {
  font-weight: normal;
  font-size: 11px;
  color: #888;
}

.entry-content blockquote cite {
  font-size: 1.2rem;
}

.instagram-media {
  max-width: 520px !important;
}

.twitter-tweet {
  width: 520px !important;
}

.entry-content blockquote.wp-embedded-content,
.entry-content blockquote.instagram-media,
.entry-content blockquote.twitter-tweet {
  border: 1px solid #eee;
  box-sizing: border-box;
}

.entry-content blockquote.wp-embedded-content::after,
.entry-content blockquote.wp-embedded-content::before,
.entry-content blockquote.instagram-media::after,
.entry-content blockquote.instagram-media::before,
.entry-content blockquote.instagram-media-registered::after,
.entry-content blockquote.instagram-media-registered::before,
.entry-content blockquote.twitter-tweet::after,
.entry-content blockquote.twitter-tweet::before {
  display: none !important;
}

.entry-content iframe.wp-embedded-content {
  width: 100% !important;
}

.entry-content .instagram-media {
  margin: 3.5rem 0 !important;
}

.entry-content .infobox {
  background: #fdf9f5;
  margin: 2.5rem 0;
  padding: 1rem 2.5rem;
  line-height: 1.65;
}

.entry-content .infobox h4 {
  margin: 1.5rem 0;
  font-size: 1.6rem;
  padding: 0;
  border: none;
}

.entry-content .infobox p {
  margin: 1.5rem 0;
  font-size: 1.5rem;
}

.entry-content .ytsl-wrapper {
  margin: 4rem 0;
}

.entry-content .ytsl-wrapper img {
  display: none !important;
}

.entry-content img {
  height: auto !important;
}

.entry-content .imagebox br {
  display: none;
}

.entry-content .imagebox small,
.entry-content .imagebox small a {
  font-weight: normal;
  font-size: 11px;
  color: #888;
}

.entry-content ul,
.entry-content ol {
  text-align: left;
}

.entry-content li {
  position: relative;
  padding-left: 20px;
}

.entry-content li:before {
  position: absolute;
  content: "";
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  background: var(--color-primary);
  border-radius: 50%;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content .wp-block-file a {
  vertical-align: middle;
}

.entry-content .wp-block-file__button {
  background: #fff;
}

.entry-content .wp-caption {
  box-sizing: border-box;
  max-width: 100% !important;
  margin-bottom: 20px;
  padding: 10px;
  line-height: 18px;
  background: #f1f1f1;
  text-align: center;
}

.entry-content .wp-caption img {
  margin: 0;
  max-width: 100%;
}

.entry-content .wp-caption p.wp-caption-text {
  color: #777;
  font-size: 14px;
  margin: 10px 0 0 0;
}

/* ----------------------------
	entry-content SP 調整
---------------------------- */
@media screen and (max-width: 767px) {
  .entry-thumb {
    margin-top: 32px;
  }
  .entry-thumb img {
    height: auto;
  }

  .entry-content {
    font-size: 1.2rem;
  }

  .entry-content h1 {
    font-size: 2.2rem;
    margin: 24px 0;
  }

  .entry-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 18px;
    padding: 0 0 12px 12px;
  }

  .entry-content h3 {
    font-size: 1.7rem;
    margin: 36px 0 16px;
  }

  .entry-content h4 {
    margin: 32px 0 14px;
  }

  .entry-content blockquote {
    font-size: 1.6rem;
    padding: 0.5rem 1.5rem;
  }

  .entry-content .infobox {
    padding: 1rem 1.5rem;
  }

  .entry-content .infobox p {
    font-size: 1.4rem;
  }

  .instagram-media {
    max-width: 100% !important;
  }
  .twitter-tweet {
    width: 100% !important;
  }
}
