#level {
  padding: 60px 0 40px 0;
}

article {
  margin-bottom: 50px;
}

h1.archive-title {
  margin: 10px 0 60px;
  padding: 1rem 2rem;
  font-size: 32px;
  font-weight: 600;
  color: #518ba0;
  border-top: 3px solid #518ba0;
  border-bottom: 3px solid #518ba0;
}

.is-field h1 a {
  color: #518ba0;
}

.is-field .content-block h2.search-title {
  padding-bottom: 5px;
  text-align: left;
  border-bottom: none;
}

h2.search-title a {
  color: #518ba0;
  font-size: 0.9em;
  text-decoration: none;
}

/* =========================
   Sidebar (stte-blog)
========================= */

.c-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-card__item {
  border: 1px solid #ddd;
  padding: 10px;
}

.c-card__item + .c-card__item {
  border-top: none;
}

.c-card__item:last-child {
  border-radius: 0 0 6px 6px;
  margin-bottom: 20px;
}

.c-card__thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.c-card__link:hover {
  background: #f8f9fa;
}

.entry-content {
  margin-bottom: 40px;
}

/* モバイル */
@media (max-width: 768px) {
  .c-card__link {
    flex-direction: column;
    align-items: flex-start;
  }

  .c-card__thumb img {
    width: 100%;
    height: auto;
  }
}

/* ▼ テキストブロック */
.c-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ▼ 抜粋 */
.c-card__excerpt {
  font-size: 0.9em;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

p.c-card__text {
  margin: 5px 0 0 0;
  font-weight: 600;
  color: #333;
}
.c-card__excerpt p {
  margin: 0;
}

.widget-area {
  font-size: 0.95rem;
}

/* ▼ Widget */

.c-card {
  border-radius: 6px;
  overflow: hidden;
}

.widget,
.option-widget {
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

/* ▼ Title */
.widget-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  padding: 0.75rem 1rem;
  color: #fff;
  background: linear-gradient(to bottom, #6ca8b6, #325d7a);
}

/* ▼ List */
.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-list li {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #eee;
}

.widget-list li:last-child {
  border-bottom: none;
}

.widget-list a {
  color: #333;
  text-decoration: none;
}

.widget-list a:hover {
  color: #920646;
  text-decoration: underline;
}

/* ▼ Thumbnail */
.widget-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ▼ Post title */
.widget-post-title {
  font-size: 0.9rem;
  padding: 0.5rem 1rem 1rem;
  margin: 0;
}

.widget-post-title a {
  color: #333;
  text-decoration: none;
}

.widget-post-title a:hover {
  text-decoration: underline;
}

/* ▼ Select */
.widget select {
  width: calc(100% - 2rem);
  margin: 1rem;
  padding: 0.4rem;
}

.c-select {
  appearance: none;
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.4;

  background: #fff url("/assets/img/select-down.svg") no-repeat right 0.5rem
    center / 1.2rem;
  border: none;
  border-top: 1px solid #ccc;
  border-radius: 4px;
}

/* =========================
   Post Navigation
========================= */

.nav-single,
.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  margin: 3rem 0;
  padding: 1rem;

  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* 前・次 */
.nav-single .nav-previous,
.nav-links .nav-previous,
.nav-single .nav-next,
.nav-links .nav-next {
  flex: 1;
}

/* 右寄せ */
.nav-single .nav-next,
.nav-links .nav-next {
  text-align: right;
}

/* リンク */
.nav-single a,
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: #333;
  text-decoration: none;
  font-size: 0.9rem;

  padding: 0.5rem 0.75rem;
  border-radius: 4px;

  transition: all 0.2s ease;
}

/* hover */
.nav-single a:hover,
.nav-links a:hover {
  background: #f1f3f5;
  transform: translateY(-1px);
}

/* 矢印 */
.nav-single .meta-nav,
.nav-links .meta-nav {
  font-size: 0.9rem;
  color: #999;
}
