/* ===== ブログ(一覧・記事) ===== */
.blog-main {
  background: #f7f9fc;
  padding: 48px 0 80px;
  min-height: 60vh;
}

.blog-container { max-width: 820px; }

.blog-head { margin-bottom: 32px; }

.blog-title {
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--color-main-dark);
}

.blog-lead {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 15px;
}

.blog-empty { color: var(--color-text-soft); }

/* 一覧カード */
.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 63, 110, 0.14);
}

.post-card-thumb {
  background: var(--color-bg-soft);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body { padding: 20px 24px; }

.post-card-title {
  font-size: 19px;
  line-height: 1.5;
  margin: 4px 0 8px;
  color: var(--color-main-dark);
}

.post-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-soft);
}

.post-meta {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-soft);
}

.post-draft {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  font-size: 11px;
  border-radius: 999px;
  background: #fde9c4;
  color: #8a5a00;
}

/* 記事 */
.post {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 48px 44px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--color-main); text-decoration: none; }

.post-title {
  font-size: 28px;
  line-height: 1.45;
  margin: 6px 0 12px;
  color: var(--color-main-dark);
}

.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.post-tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-main);
}

.post-eyecatch {
  margin: 24px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e4e9f0;
}

.post-body {
  font-size: 16px;
  line-height: 1.95;
}

.post-body h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 48px 0 16px;
  padding: 10px 16px;
  color: var(--color-main-dark);
  background: var(--color-bg-soft);
  border-left: 5px solid var(--color-main);
  border-radius: 4px;
}

.post-body h3 {
  font-size: 18px;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e4e9f0;
  color: var(--color-main-dark);
}

.post-body p { margin: 0 0 18px; }

.post-body a { color: var(--color-main); }

.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 18px; }

.post-body li { margin-bottom: 4px; }

.post-body blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  background: #fffaf0;
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
}

.post-body blockquote p:last-child { margin-bottom: 0; }

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14.5px;
}

.post-body th, .post-body td {
  border: 1px solid #e4e9f0;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.post-body th { background: var(--color-bg-soft); white-space: nowrap; }

.post-body img { border-radius: 8px; }

.post-body hr { border: 0; border-top: 1px solid #e4e9f0; margin: 40px 0; }

.post-body small, .post-note {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* スマホ画面のスクリーンショット */
.phone-shot, .screen-shot {
  margin: 8px auto 28px;
  max-width: 300px;
  text-align: center;
}

.screen-shot { max-width: 520px; }

.phone-shot img, .screen-shot img {
  width: 100%;
  border: 1px solid #e4e9f0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.screen-shot img { border-radius: 10px; }

.phone-shot figcaption, .screen-shot figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-soft);
}

/* 動画の埋め込み */
.embed-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 8px 0 28px;
}

.embed-col { width: 320px; max-width: 100%; }

.embed-label {
  margin: 0 0 6px !important;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: var(--color-text-soft);
}

.embed {
  width: 320px;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1220;
}

.embed-row .embed { margin-bottom: 0; }

.embed iframe { display: block; width: 100%; border: 0; }

.embed-vertical iframe { aspect-ratio: 9 / 16; height: auto; }

.embed-instagram { background: #fff; border: 1px solid #e4e9f0; }

.embed-instagram iframe { height: 620px; }

/* 記事末のお問い合わせ誘導 */
.post-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
  color: #fff;
  text-align: center;
}

.post-cta-title { font-size: 20px; font-weight: bold; margin: 0 0 8px; }

.post-cta-text { font-size: 14.5px; margin: 0 0 18px; opacity: .92; }

.post-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.post-cta .btn-secondary { background: #fff; }

.post-back { margin: 28px 0 0; text-align: center; }

.post-back a { color: var(--color-main); }

@media (max-width: 720px) {
  .blog-main { padding: 28px 0 56px; }
  .blog-container { padding: 0 16px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { aspect-ratio: 16 / 9; }
  .post { padding: 24px 18px 32px; }
  .post-title { font-size: 22px; }
  .post-body { font-size: 15.5px; }
  .post-body h2 { font-size: 19px; }
  .post-body table { font-size: 13.5px; }
}
