@charset "UTF-8";
/**
 * Blogger のキャッチ画像の対策
 */
.alignwide.wp-block-post-featured-image {
  display: none;
}

h2 {
  margin-left: -0.4em !important;
}

.entry-content {
  /**
   * 記事中の画像の白枠
   */
}
.entry-content img {
  padding: 15px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}
.entry-content {
  /**
   * H2 の見出し
   */
}
.entry-content h2, .entry-content .wp-block-heading {
  position: relative;
  padding-left: 15px;
  color: #2f2f2f;
}
.entry-content h2:before, .entry-content .wp-block-heading:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: currentColor;
  border-radius: 2px;
}
.entry-content h3 {
  border-bottom: 2px solid #ccc;
  color: #2f2f2f;
  font-size: 1.2rem;
  margin-top: 1.5em;
  margin-left: 0 !important;
  margin-right: 2em !important;
  margin-bottom: 0;
}

/**
 * スマホ用 CSS
 */
@media screen and (max-width: 767.98px) {
  /* ここにSP向けのCSS指定 */
  header.site-header > .wp-block-group:first-child {
    padding-left: 0.2em;
  }
  .entry-content .wp-block-image,
  .entry-content figure {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }
  .entry-content img {
    display: block;
    max-width: 84% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .entry-content h2,
  .entry-content .wp-block-heading {
    font-size: 1.55rem !important;
  }
  .entry-content h3 {
    font-size: 1.08rem;
  }
  .wp-block-query .wp-block-post-template,
  ul.wp-block-post-template {
    gap: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    list-style: none !important;
  }
  .wp-block-query .wp-block-post-template > li,
  ul.wp-block-post-template > li {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .post-preview-card {
    padding-bottom: 24px;
    border-bottom: 1px solid #d9d9d9;
  }
  .post-preview-card .wp-block-post-title {
    margin: 0 0 0.5em;
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
    font-weight: 800;
    line-height: 1.15;
  }
  .post-preview-card .wp-block-post-title a {
    text-decoration: none;
  }
  .post-preview-card .wp-block-post-featured-image {
    margin: 0;
  }
  .post-preview-card .wp-block-post-featured-image img {
    display: block;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px) !important;
    margin: 0 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 0;
  }
  .post-preview-meta {
    text-align: right;
    color: #666;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }
  .post-preview-meta .wp-block-post-date {
    display: inline-block;
  }
}
/**
 * パソコン向け CSS
 */
@media screen and (min-width: 768px) {
  .post-preview-card {
    padding: 12px 12px 20px;
    border-bottom: 1px solid #d9d9d9;
    transition: transform 0.28s ease, border-color 0.28s ease;
  }
  .post-preview-card:hover {
    transform: translateY(-6px);
    border-bottom-color: #777;
  }
  .post-preview-card:hover .wp-block-post-featured-image img {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  }
  .post-preview-card:hover .wp-block-post-title a {
    color: #111;
    text-decoration-thickness: 2px;
  }
  .post-preview-card .wp-block-post-title {
    min-height: 2.6em;
    line-height: 1.3;
  }
  .post-preview-card .wp-block-post-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .entry-content {
    margin-left: 5rem !important;
  }
  .entry-content img {
    display: block;
    height: auto !important;
    max-width: 72% !important;
    padding: 15px;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .entry-content .wp-block-image,
  .entry-content figure {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }
  .entry-content {
    /**
     * 一覧へ戻るボタン
     */
  }
  .entry-content .back-link-custom .arrow {
    display: inline-block;
    line-height: 1;
    transform: translateY(-3px);
  }
  .entry-content .back-link-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    gap: 8px;
  }
  main {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
  .org-content-footer {
    margin-left: 5rem !important;
  }
}
.site-wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.side-nav {
  width: 300px;
  background: #fff;
  border-right: 1px solid #dcdcde;
  overflow-y: auto;
}

.main-content {
  flex: 1;
  background: #f0f0f1;
  padding: 40px;
  overflow-y: auto;
}
.main-content .wp-block-post-content {
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

blockquote.embedly-card {
  margin: 2em 0;
  padding: 0;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  font-style: normal;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
blockquote.embedly-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
blockquote.embedly-card h4 {
  margin: 0;
  padding: 16px 20px 8px;
  font-size: 1.15em;
  line-height: 1.4;
}
blockquote.embedly-card h4 a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
}
blockquote.embedly-card h4 a:hover {
  color: #0073aa;
  text-decoration: underline;
}
blockquote.embedly-card p, blockquote.embedly-card {
  color: #666;
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 16px;
  margin: 0;
}
blockquote.embedly-card::after {
  content: "Read more on the site...";
  display: block;
  padding: 8px 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 0.8em;
  color: #999;
  text-align: right;
}

.internal-link-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 18px;
  margin: 2em 0;
  padding: 14px;
  border: 1px solid #e1e4e8;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.internal-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.internal-link-card__thumb {
  display: block;
  min-height: 118px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.internal-link-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.internal-link-card__meta {
  color: #777;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.internal-link-card__title {
  color: #1a1a1a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.internal-link-card__excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media screen and (max-width: 767.98px) {
  .internal-link-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .internal-link-card__thumb {
    min-height: 170px;
  }
}

.category-shortcuts .wp-block-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-shortcuts .cat-item {
  margin: 0;
}

.category-shortcuts .cat-item a {
  display: inline-block;
  padding: 0.45em 0.9em 0.5em;
  border: 1px solid #d0d0d0;
  text-decoration: none;
  line-height: 1.2;
}

.category-shortcuts .cat-item a:hover {
  border-color: #777;
}

.category-shortcuts .current-cat a,
.category-shortcuts .current-cat a:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.category-shortcuts .cat-item-1 {
  display: none;
}

.archive main > .wp-block-group:first-child .wp-block-query-title {
  margin-left: -0.5em !important;
}

body .wp-site-blocks {
  margin-top: 0;
  padding-top: 0;
}

.site-footer .footer-bar {
  background: #111;
  color: #fff;
  margin-top: 20px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.site-footer .footer-bar a,
.site-footer .footer-bar .wp-block-site-title,
.site-footer .footer-bar .wp-block-site-title a {
  color: #fff !important;
  text-decoration: none;
}

.site-footer .footer-bar a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer .footer-bar p {
  margin: 0;
}

header.site-header > .wp-block-group:first-child {
  background: #111;
  margin-bottom: 14px;
  padding-bottom: 18px !important;
}

header.site-header .wp-block-site-title,
header.site-header .wp-block-site-title a {
  color: #fff !important;
}

header.site-header .wp-block-site-title a {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0.04em 0.32em 0.1em;
  text-decoration: none;
}

header.site-header .wp-block-navigation-item__content {
  color: #fff !important;
}

header.site-header .wp-block-navigation-item__content:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.moshimo-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 18px;
  margin: 2em 0;
  padding: 16px;
  border: 1px solid #dedede;
  background: #fff;
  position: relative;
}

.moshimo-card__label {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #777;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.moshimo-card__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.moshimo-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.moshimo-card__title {
  color: #111;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.moshimo-card__desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.moshimo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.moshimo-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.7em 1em 0.78em;
  border: 1px solid #111;
  color: #111;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.moshimo-card__button:hover {
  background: #111;
  color: #fff;
}

@media screen and (max-width: 767.98px) {
  .moshimo-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }
  .moshimo-card__label {
    top: 10px;
    right: 10px;
  }
  .moshimo-card__actions {
    gap: 8px;
  }
  .moshimo-card__button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}
