@charset "UTF-8";

/*--------------------------------------
  見出し
--------------------------------------*/
.entry-content h2 {
  background: #35A8F1;
  padding: 0.5em;
  color: #FFFFFF;
}

/*--------------------------------------
  回り込み解除
--------------------------------------*/
.clearfix::before,
.clearfix::after {
  display: table;
  content: "";
}
.clearfix::after {
  clear: both;
}
#main::before,
#main::after,
#entry::before,
#entry::after,
section.entry-content::before,
section.entry-content::after,
.sidebar::before,
.sidebar::after,
.sidelong::before,
.sidelong::after,
.prnx_box::before,
.prnx_box::after {
  display: table;
  content: "";
}
#main::after,
#entry::after,
section.entry-content::after,
.sidebar::after,
.sidelong::after,
.prnx_box::after {
  clear: both;
}

@media only screen and (max-width: 768px) {
  #inner-content::before,
  #inner-content::after {
    display: table;
    content: "";
  }
  #inner-content::after {
    clear: both;
  }
}

/*--------------------------------------
  本文とサイドバーの幅
--------------------------------------*/
body {
  --wp--custom--wrap--side: 31%;
  --wp--custom--wrap--mobile--padding: 15px;
}
@media only screen and (min-width: 769px) and (max-width: 1029px) {
  body {
    --wp--custom--wrap--side: 33.34%;
  }
  #main {
    padding-right: 0.75em;
  }
  #sidebar1 {
    flex: 0 1 33.33%;
  }
}
@media only screen and (min-width: 1030px) {
  body:not(.single):not(.page) #main {
    padding-right: 30px;
  }
}

/*--------------------------------------
  ヘッダーと会員登録のボタン
--------------------------------------*/
#header .btn,
#sec11 .btn {
  border-radius: 0;
}

/*--------------------------------------
  パンくず
--------------------------------------*/
.breadcrumb li:first-child a:before {
  content: "\f015";
}
.breadcrumb li a:hover {
  color: gray;
  text-decoration: none;
}

/*--------------------------------------
  記事一覧のカード
--------------------------------------*/
.sidelong {
  display: block;
}
.sidelong__article {
  margin: 0 0 1em;
  box-shadow: none;
  transition: 0.3s ease-in-out;
  animation: fadeIn 1.1s ease 0s 1 normal;
}
.sidelong__article:first-child,
.sidelong__article:nth-child(2) {
  animation: fadeIn 0.7s ease 0s 1 normal;
}
.sidelong__article:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}
.sidelong__link {
  display: table;
}
.sidelong__img,
.sidelong__article-info {
  display: table-cell;
  vertical-align: middle;
}
.sidelong h2,
.sidelong .sidelong__title {
  font-size: 15px;
}
.newmark {
  animation: animScale 3.5s ease-out;
}
.sidelong .newmark {
  top: 4px;
  right: auto;
  left: 4px;
  height: 37px;
  line-height: 37px;
}
@media only screen and (min-width: 481px) {
  .sidelong__article {
    width: 96%;
    margin: 0 1.8% 25px;
  }
  .sidelong__link {
    padding: 10px;
  }
}
@media only screen and (min-width: 481px) and (max-width: 1029px) {
  .sidelong__img {
    width: 120px;
    height: 120px;
  }
  .sidelong__article-info {
    width: calc(100% - 120px);
    padding-left: 15px;
  }
  .sidelong h2,
  .sidelong .sidelong__title {
    font-size: 19px;
  }
}
@media only screen and (min-width: 1030px) {
  .sidelong__article {
    float: left;
    width: 45.5%;
    margin: 0 3% 3% 0;
  }
  .sidelong__link {
    padding: 8px;
  }
  .sidelong h2,
  .sidelong .sidelong__title {
    font-size: 16px;
  }
}

/*--------------------------------------
  一覧の見出し
--------------------------------------*/
.archive_header {
  margin: 0 0 2em;
  padding: 10px 15px;
  border-top: 3px solid var(--sgb-main-color);
  border-radius: 0;
  box-shadow: none;
}
#archive_header .breadcrumb {
  padding: 0;
}
@media only screen and (min-width: 481px) {
  .archive_header {
    margin: 0 2% 1.5em;
  }
}
@media only screen and (min-width: 1030px) {
  .archive_header {
    margin: 0 6% 1.5em 0;
    padding: 20px 20px;
  }
}

/*--------------------------------------
  検索結果
--------------------------------------*/
.search #main {
  margin-top: 0 !important;
}
.search-title {
  margin: 0 0 calc(1em + 100px);
}
@media only screen and (min-width: 769px) and (max-width: 1029px) {
  .search #sidebar1 {
    margin-top: calc(100px + 4.05em) !important;
  }
}
@media only screen and (min-width: 1030px) {
  .search #sidebar1 {
    margin-top: calc(100px + 4.5em) !important;
  }
}
.catpost-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1em;
}
.c_linkto_wrap {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 25px;
  animation: fadeIn 1.1s ease 0s 1 normal;
}
.c_linkto_wrap:first-child,
.c_linkto_wrap:nth-child(2) {
  animation: fadeIn 0.7s ease 0s 1 normal;
}
.c_linkto_wrap:hover {
  transform: translateY(-4px);
}
.catpost-cards .c_linkto {
  height: 100%;
  padding-bottom: 25px;
  border-radius: 2px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.12), 0 2px 3px 0 rgba(0, 0, 0, 0.22);
  transition: 0.2s ease-in-out;
}
.catpost-cards .c_linkto:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.1);
}
.catpost-cards .c_linkto .c_linkto_text {
  padding: 0;
}
.catpost-cards .sng-link-time {
  margin: 13px 13px 8px;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.83;
}
.catpost-cards .c_linkto_text h2 {
  margin: 8px 13px 0;
  font-size: 17px;
}
@media only screen and (min-width: 481px) {
  .c_linkto_wrap {
    width: 46%;
    margin: 0 1.8% 25px;
  }
  .catpost-cards .c_linkto {
    padding-bottom: 15px;
  }
}
@media only screen and (min-width: 1030px) {
  .c_linkto_wrap {
    width: 45%;
    margin: 0 4% 25px 0;
  }
  .catpost-cards .c_linkto {
    padding-bottom: 25px;
  }
  .catpost-cards .c_linkto_text h2 {
    font-size: 18px;
  }
}

/*--------------------------------------
  404
--------------------------------------*/
.notfound {
  overflow: visible;
  margin-bottom: 2em;
  border-radius: 0;
  box-shadow: none;
}
input.searchform__input {
  margin-bottom: 0.7em;
  border-bottom: solid 1px #efefef;
  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15), 0 3px 3px -2px rgba(0, 0, 0, 0.15);
}
input.searchform__input:focus {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.searchform__submit {
  border-radius: 0 3px 3px 0;
}
.nofound-contents .searchform__input {
  background: #f2f2f2;
}
#inner-content .nofound-contents .raised:hover {
  box-shadow: 0 13px 20px -3px rgba(0, 0, 0, 0.24);
}
#inner-content .nofound-contents .raised {
  display: inline-block;
  width: auto;
  margin: 0.5em 0;
  padding: 0.4em 1.3em;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2), 0 2px 3px -2px rgba(0, 0, 0, 0.15);
  font-size: 1em;
  font-weight: 400;
}
@media only screen and (max-width: 768px) {
  .error404 #inner-content {
    width: 92%;
    margin-right: auto;
    margin-left: auto;
  }
  .error404 .insidesp {
    padding-right: 0;
    padding-left: 0;
  }
}
@media only screen and (min-width: 769px) {
  .notfound {
    margin-right: 4%;
  }
}

/*--------------------------------------
  記事の枠
--------------------------------------*/
#entry {
  overflow: visible;
  border-radius: 3px;
  box-shadow: none;
}
#entry header {
  color: #070f15;
}

/*--------------------------------------
  記事のタイトルまわり
--------------------------------------*/
.single-title,
.page-title {
  padding-right: 15px;
  padding-left: 15px;
}
.entry-meta {
  margin: 15px 0 0;
  padding: 0 15px;
  font-family: "Quicksand", "Helvetica", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
}
.post-thumbnail {
  margin: 15px 0 0;
}
@media only screen and (min-width: 481px) {
  .single-title,
  .page-title,
  .entry-meta {
    padding-right: 25px;
    padding-left: 25px;
  }
}
@media only screen and (min-width: 769px) {
  .article-header {
    margin: 20px 25px 10px;
    padding: 0;
  }
  .single-title,
  .page-title {
    margin-top: 15px;
    padding: 0;
  }
  .entry-meta {
    padding: 0;
  }
}
@media only screen and (min-width: 1030px) {
  .article-header {
    margin: 25px 40px 10px;
  }
}

/*--------------------------------------
  シェアのボタン（記事上）
--------------------------------------*/
.fab-btn {
  margin: -25px 15px 0 auto;
  box-shadow: 0 5px 18px -2px rgba(0, 0, 0, 0.15);
  animation: animScale 3.5s ease-out;
}
.fab-btn:hover {
  box-shadow: 0 12px 45px -9px rgba(0, 0, 0, 0.23);
}
body:not(.post-template-single-viral) .fab-btn {
  background-color: #f04c70;
}
body:not(.post-template-single-viral) #inner-content .fab-btn {
  color: inherit;
}
.nothumb .fab-btn {
  margin: -35px 15px 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
@media only screen and (max-width: 400px) {
  .nothumb .fab-btn {
    margin: 15px;
  }
}
#fab:checked ~ .fab-btn {
  transform: translate(-150px, -150px) scale3d(4, 5, 1);
}
#fab__contents {
  width: 100%;
}
.fab__contents-main {
  border-radius: 0;
}
.fab__contents__close {
  display: none;
  padding: 0 15px 10px;
  animation: animScale 2s ease 0s 1 normal;
}
#fab:checked ~ #fab__contents .fab__contents__close {
  display: inline-block;
}
@media only screen and (min-width: 769px) {
  #fab:checked ~ .fab-btn {
    transform: translate(-50px, -50px) scale3d(3, 3, 1);
  }
  #fab__contents {
    width: 440px;
  }
  .fab__contents__close {
    padding: 20px 15px;
  }
}
@keyframes animScale {
  0% {
    transform: scale(0, 0);
  }
  30% {
    transform: scale(0, 0);
  }
  35% {
    transform: scale(1.2, 1.2);
  }
  40% {
    transform: scale(1, 1);
  }
  45% {
    transform: scale(1.1, 1.1);
  }
  60% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

/*--------------------------------------
  本文
--------------------------------------*/
a {
  transition: 0.3s ease-in-out;
}
body a:hover {
  text-decoration: underline;
}
.pagination a:hover,
.related-posts li a:hover {
  text-decoration: none;
}
.pagination a:hover {
  color: var(--sgb-main-color);
}
.entry-content ul,
.entry-content ol {
  border-radius: 3px;
}
.entry-content blockquote {
  padding-right: 15px;
}
.entry-content blockquote:before {
  left: 15px;
}
#toc_container .toc_list li ul {
  padding-left: 15px;
}
@media only screen and (max-width: 480px) {
  #toc_container {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/*--------------------------------------
  記事下
--------------------------------------*/
.single-items .article-footer,
body.attachment .article-footer {
  display: none;
}

/*--------------------------------------
  固定ページの記事下
--------------------------------------*/
.page .footer-contents {
  padding-bottom: 0;
}
@media only screen and (min-width: 769px) {
  .page .footer-contents {
    margin-bottom: 2em;
  }
}

/*--------------------------------------
  シェアボタン
--------------------------------------*/
.sns-btn__item a {
  border-radius: 10px;
}
.sns-dif ul li a {
  margin: 3.5px;
  box-shadow: 0 7px 15px -4px rgba(0, 0, 0, 0.15);
}
.sns-dif ul li a:hover {
  box-shadow: 0 14px 20px -4px rgba(0, 0, 0, 0.25);
}
@media only screen and (min-width: 481px) {
  .sns-dif ul li a {
    margin: 7px;
  }
}

/*--------------------------------------
  著者の枠
--------------------------------------*/
.author-info__inner .tb {
  border-radius: 3px;
}
.author-info__inner .tb-left {
  padding: 20px 15px 5px;
}
.author_label span {
  margin-bottom: 15px;
}
.author_label span:before {
  border: 13px solid transparent;
  border-top: solid 10px #eaedf2;
}
.author-info__inner .tb-right {
  padding: 15px;
}
@media only screen and (max-width: 1029px) {
  .author-info__inner .tb-right .follow_btn {
    margin-top: 15px;
  }
}
.author_page_img img {
  width: 100%;
  height: auto;
  object-fit: fill;
}
.author-info__inner .tb-left dd {
  font-size: 15px;
}
.author_img img {
  object-fit: fill;
}
@media only screen and (min-width: 1030px) {
  .author-info__inner .tb-left .aut {
    padding: 15px 0;
  }
  .author_label span {
    margin-bottom: 20px;
  }
  .author_label span:before {
    top: calc(100% - 15px);
    border-width: 30px 15px 15px;
  }
  .author-info__inner .tb-right {
    padding: 20px;
  }
  .author-info__inner .tb-right .follow_btn {
    margin-top: 0;
  }
}

/*--------------------------------------
  関連記事
--------------------------------------*/
#inner-content .related-posts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 15px;
}
#inner-content .related-posts li {
  display: block;
  float: left;
  width: 48%;
  margin: 0 4% 20px 0;
}
#inner-content .related-posts li:nth-child(even) {
  margin-right: 0;
}
.rlmg {
  position: static;
  height: auto;
  padding-bottom: 0;
}
.rlmg img {
  display: inline;
  position: static;
  height: auto;
  object-fit: fill;
}
.related-posts li a:hover img {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.25);
}
@media only screen and (min-width: 481px) {
  .rep p {
    font-size: 1em;
  }
}
@media only screen and (max-width: 768px) {
  #inner-content .related-posts.slide ul {
    flex-wrap: nowrap;
    padding: 10px 10px 20px;
  }
  #inner-content .related-posts.slide ul li {
    min-width: 240px;
    max-width: 300px;
    margin: 8px;
  }
}
@media only screen and (min-width: 769px) {
  #inner-content .related-posts ul {
    overflow: visible;
    padding: 15px 0;
    text-align: center;
    white-space: normal;
  }
  #inner-content .related-posts li {
    width: 48%;
    margin: 1em 4% 1em 0;
    text-align: left;
  }
  #inner-content .related-posts li:nth-child(even) {
    margin-right: 0;
  }
}
@media only screen and (min-width: 1030px) {
  #inner-content .related-posts ul {
    text-align: left;
  }
  #inner-content .related-posts li {
    width: 31%;
    margin: 1em 0;
  }
  #inner-content .related-posts li:nth-child(3n + 2) {
    margin: 1em 3.5%;
  }
}

/*--------------------------------------
  前後の記事
--------------------------------------*/
.prnx_box {
  display: block;
}
.prnx {
  margin: 0 15px 20px;
}
.prnx_tb {
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.prnx:hover .prnx_tb {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.prnx_tb figure {
  margin-bottom: 0;
  padding: 10px 0 10px 10px;
}
.nx .prnx_tb figure {
  padding: 10px 10px 10px 0;
}
.prev-next__text {
  padding: 10px;
}
@media only screen and (min-width: 481px) {
  .prnx.pr,
  .prnx.nx {
    max-width: 300px;
    width: 46%;
  }
  .prnx.pr {
    float: left;
    margin: 0 0 15px 2%;
  }
  .prnx.nx {
    float: right;
    margin: 0 2% 15px 0;
  }
}
@media only screen and (min-width: 769px) {
  .prnx.pr {
    float: left;
    margin: 15px 0;
  }
  .prnx.nx {
    float: right;
    margin: 15px 0;
  }
}

/*--------------------------------------
  サイドバーのウィジェット
--------------------------------------*/
.normal-sidebar .widget,
.fixed-sidebar .widget {
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.sidebar .widget_block:not(.widget_search) {
  background: #fff;
}
.widgettitle,
.sidebar .wp-block-group h2 {
  padding: 7px 13px;
}
.widget ul li ul li a {
  font-size: 15px;
}
.sidebar .wp-block-search {
  display: block;
  font-size: inherit;
}
.sidebar .wp-block-search .wp-block-search__label {
  font-weight: 400;
}
.sidebar .wp-block-search .wp-block-search__input {
  margin-bottom: 0.7em;
  padding: 0.55em 48px 0.55em 0.55em;
  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 15%), 0 3px 3px -2px rgb(0 0 0 / 15%);
}
.sidebar .wp-block-search .wp-block-search__button {
  border-radius: 0 3px 3px 0;
}

/*--------------------------------------
  本文の部品
--------------------------------------*/
.raised {
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2), 0 2px 3px -2px rgba(0, 0, 0, 0.15);
}
.raised:hover,
.raised:focus {
  box-shadow: 0 13px 20px -3px rgba(0, 0, 0, 0.24);
}
a.grad1:hover,
a.grad2:hover,
a.grad3:hover,
a.grad4:hover {
  color: inherit;
}
body #inner-content a.btn.cubic1.accent-bc.shadow:hover {
  background-color: #f27f98;
}
.box25:after {
  border-width: 0 15px 15px 0;
}
.box29 .box-content {
  padding: 15px;
}
#inner-content .sng-box > ul,
#inner-content .sng-box > ol {
  margin-bottom: 5px;
}
#inner-content .sng-box .box-content > ul,
#inner-content .sng-box .box-content > ol {
  margin: 5px 0;
}
.entry-content .c_linkto {
  overflow: hidden;
  max-width: 400px;
  margin: 1em 0;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.entry-content .c_linkto:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.entry-content .c_linkto .c_linkto_text {
  padding: 15px 13px;
}
.entry-content .longc_linkto {
  margin-bottom: 1.5em;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.25);
}
.longc_img {
  display: inline;
  position: static;
  width: auto;
  height: auto;
  padding-bottom: 0;
}
.longc_img img {
  display: inline;
  position: static;
  height: auto;
  padding: 10px 10px 0;
  object-fit: fill;
}
.follow_btn {
  margin-top: 15px;
}
.follow_btn a {
  margin: 15px 10px 0 0;
}
.widget .follow_btn a {
  margin: 15px 5px 10px;
}
.follow_btn .Instagram:before {
  background: url("../../library/images/insta.jpg");
}
@media only screen and (min-width: 481px) {
  .chatting {
    padding-top: 15px;
  }
  .entry-content .c_linkto {
    display: inline-block;
    max-width: 310px;
    margin-right: 20px;
  }
  .entry-content .c_linkto.longc_linkto {
    display: table;
    max-width: 100%;
  }
  .longc_img {
    display: table-cell;
    vertical-align: middle;
    width: 40%;
  }
  .longc_img img {
    width: 100%;
    padding: 10px;
  }
  .longc_content {
    width: 60%;
  }
}

/*--------------------------------------
  余白
--------------------------------------*/
.single .insidesp,
.page .insidesp {
  margin: 0 auto;
  padding: 0 4%;
}
@media only screen and (min-width: 769px) {
  .single .insidesp,
  .page .insidesp {
    padding: 0;
  }
}

/*--------------------------------------
  表のブロック
--------------------------------------*/
.entry-content .wp-block-table {
  margin-bottom: 0;
}
.entry-content .wp-block-table table {
  margin-bottom: 1em;
}
.entry-content .wp-block-table td,
.entry-content .wp-block-table th {
  padding: 0.5em;
}

/*--------------------------------------
  枠付きのリスト
--------------------------------------*/
.entry-content ul.is-style-list-simple-ac {
  margin-bottom: 1.5em;
  padding: 1em 1em 1em 2.5em;
  border: solid 2px #e8e8e8;
}

/*--------------------------------------
  リンク切れの表示
--------------------------------------*/
.entry-content a.broken_link {
  text-decoration: line-through;
}
.entry-content p a.broken_link:not(:hover) {
  text-decoration: underline;
}

/*--------------------------------------
  横長の関連リンク
--------------------------------------*/
.entry-content p:has(> br:last-child) + .c_linkto_long {
  margin-top: -0.5em;
}
