@charset 'utf-8';

/* ============================
	トンマナ
	青 #0c79b4 ／ アクセント #e0ff30 ／ 見出し #252525 ／ 本文 #333
	サブ #797b7f ／ 罫線 #dcdddd ／ 淡い青 #ebf4f7
	字間 .04em ／ 行間 2 ／ ウェイトは 500 と 700
============================ */

/* ============================
	article
============================ */
#article-container.has-sidebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#article-container.has-sidebar article {
  box-sizing: border-box;
  width: 70%;
  padding-right: 20px;
}

#article-container.has-sidebar aside {
  width: 30%;
  padding-left: 20px;
}

.entry-ttl {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 10px;
  letter-spacing: .04em;
  color: #252525;
}

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

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

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

@media screen and (max-width: 767px) {
  .entry-ttl {
    font-size: 2.4rem;
  }
  .entry-inner {
    padding: 60px 0;
  }
  #entry-article {
    width: 100%;
    padding: 0;
    border-right: none;
  }
}

/* sidebar */
#sidebar .sidebar-container .head {
  margin-bottom: 30px;
}

#sidebar .sidebar-container + .sidebar-container {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  #sidebar {
    width: 100%;
    margin: 50px 0 0;
    padding: 0;
  }
}

/* #adjacent-news-box */
#adjacent-news-box {
  margin-top: 50px;
  border-top: 1px solid #dcdddd;
  padding-top: 24px;
}

#adjacent-news-box .adjacent-news {
  box-sizing: border-box;
  width: 50%;
}

#adjacent-news-box .adjacent-news#prev-news {
  padding: 10px 10px 10px 0;
}

#adjacent-news-box .adjacent-news#next-news {
  padding: 10px 0 10px 10px;
  border-left: 1px solid #dcdddd;
}

#adjacent-news-box .adjacent-head {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .04em;
  color: #0c79b4;
}

#adjacent-news-box #prev-news .ttl {
  padding: 0 0 0 10px;
}

#adjacent-news-box #next-news .adjacent-head {
  text-align: right;
}

#adjacent-news-box #next-news .ttl {
  padding: 0 10px 0 0;
  text-align: right;
}

#adjacent-news-box .adjacent-news-inner.flex-start-sp {
  align-items: center;
}

#adjacent-news-box .adjacent-news-inner .img-box {
  width: 80px;
}

#adjacent-news-box .adjacent-news-inner .img-box img {
  width: 80px;
}

#adjacent-news-box .adjacent-news-inner .ttl {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: #252525;
}

@media screen and (max-width: 767px) {
  #adjacent-news-box .adjacent-news {
    width: 100%;
  }
  #adjacent-news-box .adjacent-news#prev-news {
    padding: 0;
  }
  #adjacent-news-box .adjacent-news#next-news {
    padding: 0;
    border-left: none;
  }
  #adjacent-news-box #next-news {
    margin: 30px 0 0;
  }
  #adjacent-news-box #next-news .adjacent-news-inner.flex-start-sp {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  #adjacent-news-box #next-news .adjacent-head {
    text-align: left;
  }
  #adjacent-news-box #next-news .ttl {
    padding: 0 0 0 10px;
  }
}

/* ============================
	entry-content
============================ */
.entry-content {
  font-size: 1.6rem;
  color: #333;
}

.entry-content a {
  text-decoration: underline;
  color: #0c79b4;
}

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

.entry-content hr {
  line-height: 0;
  height: 0;
  margin: 4rem 0;
  padding: 0;
  border: none;
  border-top: 1px solid #dcdddd;
  background: none;
}

/* = 見出し
-------------------------------------------------------------- */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #252525;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.entry-content h2 {
  font-size: 2.4rem;
  margin: 60px 0 24px;
  padding: 0 0 12px;
  border-bottom: 2px solid #0c79b4;
}

.entry-content h3 {
  font-size: 2rem;
  box-sizing: border-box;
  margin: 48px 0 20px;
  padding: 10px 16px;
  border-radius: 2px;
  color: #fff;
  background-color: #0c79b4;
}

.entry-content h4 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
  padding: 2px 0 2px 14px;
  border-left: 4px solid #0c79b4;
}

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

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

@media screen and (max-width: 767px) {
  .entry-content h1 {
    font-size: 2.4rem;
  }
  .entry-content h2 {
    font-size: 2rem;
    margin: 48px 0 20px;
  }
  .entry-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 16px;
  }
  .entry-content h4 {
    font-size: 1.6rem;
  }
}

/* = インライン装飾
-------------------------------------------------------------- */
.entry-content span.red {
  color: #df0101;
}

.entry-content span.bold,
.entry-content span.underline,
.entry-content span.marker {
  font-weight: 700;
  color: #252525;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.entry-content span.marker {
  padding: 3px 0 4px;
  background: linear-gradient(transparent 60%, rgba(224, 255, 48, .7) 60%);
}

/* = 引用
-------------------------------------------------------------- */
.entry-content blockquote {
  font-size: 1.6rem;
  line-height: 1.8;
  position: relative;
  margin: 4rem 0;
  padding: 2rem 2.4rem;
  border-left: 4px solid #0c79b4;
  border-radius: 2px;
  color: #252525;
  background: #ebf4f7;
}

.entry-content blockquote p {
  margin: 1.5rem 0;
}

.entry-content blockquote p:first-child {
  margin-top: 0;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content blockquote small,
.entry-content blockquote small a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #797b7f;
}

.entry-content blockquote cite {
  font-size: 1.2rem;
  color: #797b7f;
}

/* SNS 埋め込みは引用装飾を外す */
.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 {
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #dcdddd;
  background: none;
}

.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;
}

/* = infobox
-------------------------------------------------------------- */
.entry-content .infobox {
  line-height: 1.8;
  margin: 3rem 0;
  padding: 2rem 2.4rem;
  border-radius: 2px;
  background: #ebf4f7;
}

.entry-content .infobox h4 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  padding: 0;
  color: #0c79b4;
  border: none;
}

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

.entry-content .infobox p:last-child {
  margin-bottom: 0;
}

/* = 画像
-------------------------------------------------------------- */
.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-size: 1.2rem;
  font-weight: 500;
  color: #797b7f;
}

/* = リスト
-------------------------------------------------------------- */
.entry-content ul,
.entry-content ol {
  margin: 2em 0;
  text-align: left;
}

.entry-content li {
  line-height: 2;
}

.entry-content li + li {
  margin-top: 8px;
}

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

.entry-content ul li::before {
  position: absolute;
  top: 13px;
  left: 6px;
  width: 6px;
  height: 6px;
  content: '';
  border-radius: 50%;
  background: #0c79b4;
}

/* 番号付きリストは数字を出す（common.css で list-style を消しているため個別に戻す） */
.entry-content ol {
  padding-left: 1.6em;
  list-style: decimal outside;
}

.entry-content ol li::marker {
  font-weight: 700;
  color: #0c79b4;
}

.entry-content li > ul,
.entry-content li > ol {
  margin: 8px 0 0;
}

/* = サムネイル
-------------------------------------------------------------- */
.entry-thumb {
  margin-top: 50px;
}

.entry-thumb img {
  width: 100%;
  height: 388px;
  border-radius: 2px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .entry-thumb img {
    height: 220px;
  }
}

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

/* = .wp-caption
-------------------------------------------------------------- */

.wp-caption {
  line-height: 1.6;
  box-sizing: border-box;
  max-width: 100% !important;
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  border-radius: 2px;
  background: #ebf4f7;
}

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

.wp-caption p.wp-caption-text {
  font-size: 1.4rem;
  margin: 10px 0 0 0;
  color: #797b7f;
}
