@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */

/* 記事幅を調整　*/
.article {
  width: 100%;
  margin: 0 auto;
}

/*グローバルナビの修飾 */
#navi {
  border-top: 2px solid #d4d4d4;
  border-bottom: 2px solid #d4d4d4;
}

/*ホバー時の線と文字の色を変更*/
#navi ul li a:hover {
  color: #809fbf !important;
  background-color: white;
}
#navi ul li a:before {
  background: #809fbf !important;
}
#navi ul,
#navi {
  background-color: white;
}

/*h2タグの変更*/
.article h2 {
  background-color: #809fbf; /* 見出し背景色 */
  border-left: 0 none;
  color: #fff; /* 文字の色 */
  padding: 15px 30px; /* 文字の位置 */
  margin-bottom: 35px; /* 見出し下の空白*/
}
/*h3タグの変更*/
.article h3 {
  border-bottom: 10px solid #809fbf;
  padding: 10px 0 0 0;
  margin-bottom: 30px;
}
/*h4タグの変更*/
.article h4 {
  border-bottom: 5px dashed #809fbf;
}

/* 記事間に線を引く */
#main .entry {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

/* 関連記事間に線を引く */
#main .related-entry {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

/* 新着記事カスタマイズ */
.widget_new_entries ul li,
.widget_new_popular ul li,
.widget_popular_ranking ul li {
  clear: left;
  float: none;
  margin-bottom: 10px;
  overflow: auto;
  border-bottom: 1px solid #ccc;
}
.widget_new_entries ul li img,
.widget_new_popular ul li img,
.widget_popular_ranking ul li img {
  border: medium none;
  display: inline;
  float: left;
  margin-top: 3px;
  margin-right: 8px;
  width: 75px;
  height: 75px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 5px #ccc;
}
.widget_new_entries a,
.widget_new_popular a,
.widget_popular_ranking a,
.wpp-list a,
.article-list .entry-title a {
  text-decoration: none;
  font-size: 90%;
}
/* 人気記事カスタマイズ */
.widget_populars_ranking
  .popular-entrys-large-on
  .wpp-list
  li
  a.wpp-post-title {
  color: #fff;
  opacity: 1;
  display: block;
  font-size: 80%;
}
.widget_popular_ranking ul li::before {
  background: none repeat scroll 0 0 #f3ff2b !important;
  color: #000 !important;
  content: counter(wpp-ranking, decimal);
  counter-increment: wpp-ranking;
  font-size: 85% !important;
  left: 3px !important;
  top: 3px !important;
  line-height: 1;
  padding: 6px 10px !important;
  position: absolute;
  z-index: 1;
  opacity: 0.9;
  border-radius: 2px;
  font-family: Arial;
  font-weight: bold;
}

/* mainとsidebarの枠線を消す */
#main,
#sidebar {
  border: none !important;
}

/* メタ情報の大きさを変更し、右側へ*/
.post-meta,
.entry .post-meta a {
  font-size: 12px;
  line-height: 160%;
}

.entry .post-meta {
  text-align: right !important;
}

/* リストのタイトルの大きさを変更 */
.entry h2 a {
  font-weight: 700;
  font-size: 1.4rem !important;
  line-height: 1.4;
}

/* リストタグの間を修正 */
.article li {
  margin: 0 0 7px;
  line-height: 1.7;
  position: relative;
  padding-left: 10px;
}

/* 記事を読むボタンの装飾 */
.entry-read a,
.related-entry-read a {
  color: #d4d4d4;
  font-size: 15px;
  font-weight: bold;
  padding: 3px 8px 3px 8px;
  text-decoration: none;
  transition: 0.4s;
}

/* サイドバーの見出し背景を修正 */
#sidebar h3 {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  background: #ececec;
  font-weight: bold;
  color: #4d4d4d;
}

/* サムネイル画像にエフェクト */
.entry-thumb,
.wpp-thumbnail {
  overflow: hidden;
}
.entry-thumb img,
.wpp-thumbnail img {
  transition: 0.6s;
}

.entry-thumb img:hover,
.wpp-thumbnail:hover {
  opacity: 0.6;
  -moz-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
}

/*ブログタイトルh1テキスト化*/
#site-title a {
  overflow: hidden;
  display: block;
  width: 1000px;
  height: 140px;
  background: url("https://www.next-system.com/blog/wp-content/uploads/2021/05/nextsystemnews3.png")
    no-repeat;
  background-size: contain;
  text-indent: -9999px;
}
@media screen and (max-width: 1110px) {
  #site-title a {
    width: 650px;
    height: 91px;
  }
}
@media screen and (max-width: 740px) {
  #site-title a {
    width: 100%;
    height: 12vw;
  }
}

/* 関連記事レスポンシブ調整 */
#main .related-entry-title a {
  font-size: 0.8em;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
#main .related-entry-thumbnail {
  width: calc(33.333% - 1.2%);
  height: auto;
  margin-right: 1.8%;
}
#main .related-entry-thumbnail:nth-of-type(3n) {
  margin-right: 0;
}
#main .related-entry-thumbnail img {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 740px) {
  #main .related-entry-thumbnail {
    width: calc(50% - 1%);
  }
  #main .related-entry-thumbnail:nth-of-type(3n) {
    margin-right: 2%;
  }
  #main .related-entry-thumbnail:nth-child(odd) {
    margin-right: 0;
  }
  #sidebar-widget .textwidget p {
    text-align: center;
  }
}

/* ==20260407追加== */

/* カウンター非表示 */
.admin-pv {
  display: none;
}

.article h1 {
  margin: 1em 0;
  font-size: 1.8em;
  line-height: 1.5em;
}
.article h2 {
  background-color: #809fbf; /* 見出し背景色 */
  margin: 1em auto;
}
/* はじめに */
.lead {
  font-family:
    "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo,
    "游ゴシック", YuGothic, sans-serif;
  background-color: #edf3f5;
  padding: 2em;
  border-radius: 5px;
}

/* 目次全体 */
#toc_container {
  background: #ffffff !important;
  border: 1px solid #333 !important;
  border-radius: 10px !important;
  padding: 30px 25px !important;
  max-width: 100% !important;
  margin: 20px auto !important;
  box-sizing: border-box !important;
}
#toc_container .toc_title {
  display: block !important;
  text-align: center !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  color: #333 !important;
  margin-bottom: 25px !important;
  border: none !important;
}
#toc_container .toc_list,
#toc_container .toc_list ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#toc_container .toc_list li {
  position: relative !important;
  list-style-type: none !important;
  line-height: 1.6 !important;
}
#toc_container .toc_list li::before,
#toc_container .toc_list li::after {
  content: none !important;
}
#toc_container > .toc_list > li {
  margin-bottom: 18px !important;
  padding-left: 35px !important;
}

#toc_container > .toc_list > li > a {
  font-weight: bold !important;
  font-size: 1.05rem !important;
  color: #333 !important;
  text-decoration: none !important;
}

#toc_container > .toc_list > li > a::before {
  content: "›" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #55b6d9 !important; /* メインの青 */
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
}

#toc_container .toc_list ul {
  margin-top: 12px !important;
  margin-left: 20px !important;
}

#toc_container .toc_list ul li {
  margin-bottom: 10px !important;
  padding-left: 28px !important;
}

#toc_container .toc_list ul li a {
  font-weight: normal !important;
  font-size: 0.95rem !important;
  color: #555 !important;
  text-decoration: none !important;
}

#toc_container .toc_list ul li a::before {
  content: "›" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #8ccce2 !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
}
#toc_container .toc_list li a:hover {
  text-decoration: underline !important;
  opacity: 0.8 !important;
}

/* 大見出し */
h2.title-heading {
  background: none !important;
  background-color: transparent !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative !important;
  display: block !important;
  font-size: 1.4em !important;
  font-weight: bold !important;
  color: #1a1e26 !important;
  padding: 10px 0 15px 20px !important;
  margin: 0 auto 2em !important;
  line-height: 1.5 !important;
  border-bottom: 1px solid #e0e0e0 !important;
}
h2.title-heading::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 45% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 2em !important;
  background-color: #00ffd9 !important;
  border-radius: 4px !important;
}
h2.title-heading::after {
  content: none !important;
  display: none !important;
}
/* 小見出し */
h3.subtitle-heading {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative !important;
  display: block !important;
  padding: 10px 0 10px 18px !important;
  margin: 40px 0 20px 0 !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #333 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
h3.subtitle-heading::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 6px !important;
  background-color: #00ffd9 !important;
  border-radius: 50% !important;
}
h3.subtitle-heading::after {
  content: none !important;
  display: none !important;
}
/* セリフ */
.chat-bubble {
  display: flex;
  align-items: flex-start;
  margin: 2em 0;
}

.chat-person {
  flex-shrink: 0;
  text-align: center;
  margin: 0;
  width: 80px; /* アイコンサイズに合わせて調整 */
}

.chat-person img {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* 正円 */
  object-fit: cover;
  display: block;
  margin: 0 auto 5px;
}

.chat-person figcaption {
  font-size: 0.875em;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

.chat-content {
  position: relative;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 70%;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}

.chat-content p {
  margin: 0 !important;
}

.chat-bubble.left .chat-content {
  background-color: #ebf1f3; /* 薄い水色系のグレー */
  margin-left: 20px;
}

.chat-bubble.left .chat-content::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -10px;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent #ebf1f3 transparent transparent;
}

.chat-bubble.right {
  justify-content: flex-end;
}

.chat-bubble.right .chat-content {
  background-color: #eeeeee; /* 薄いグレー */
  margin-right: 20px;
}

.chat-bubble.right .chat-content::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -10px;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #eeeeee;
}

/* 下線 */
.mark-pink {
  background: linear-gradient(transparent 60%, #ffc0cb 60%);
}
.mark-yellow {
  background: linear-gradient(transparent 60%, #fffacd 60%);
}
.mark-blue {
  background: linear-gradient(transparent 60%, #cdeefd 60%);
}
/* 注釈付き画像 */
.annotated-image {
  display: block !important;
  margin: 20px 0 30px 0 !important;
  padding: 0 !important;
  clear: both;
}
.annotated-image img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 0 0 10px 0 !important;
  float: none !important;
}
.annotated-image .image-caption {
  position: relative !important;
  display: block !important;
  padding-left: 1.2em !important;
  margin: 0 !important;
  font-size: 0.875em !important;
  line-height: 1.5 !important;
  color: #333 !important;
  text-align: left !important;
  top: auto !important;
  left: auto !important;
}
.annotated-image .image-caption::before {
  content: "▲" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 1em !important;
  color: #333 !important;
  line-height: 1 !important;
}
