    :root {
      --color-brand-blue: #2353c9;
      --color-brand-blue-strong: #1c3f9e;
      --color-brand-blue-soft: #eef3fc;
      --color-brand-blue-mist: #ffffff;
      --color-marker-yellow: #ffe564;
      --color-text-strong: #1f2733;
      --color-text-muted: #5b6b80;
      --color-line-soft: #e4e9f0;
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #1f2733;
      background: #ffffff;
      line-height: 1.75;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .wrap {
      width: min(1120px, calc(100% - 52px));
      margin: 0 auto;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(135deg, #1c3f9e 0%, #2353c9 100%);
      color: #ffffff;
      padding: 66px 0 76px;
    }

    .hero .crumb {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.8);
      letter-spacing: 0.04em;
      margin-bottom: 22px;
    }

    .hero .eyebrow {
      display: block;
      font-size: 12px;
      letter-spacing: 0.22em;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.85);
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .hero h1 {
      font-size: clamp(27px, 3.8vw, 38px);
      color: #ffffff;
      letter-spacing: 0.02em;
      margin: 0;
      line-height: 1.4;
    }

    .hero p {
      color: rgba(255, 255, 255, 0.92);
      font-size: 15px;
      margin: 18px 0 0 0;
      max-width: 640px;
      line-height: 1.95;
    }

    /* Main Content */
    .media-section {
      padding: 56px 0 90px;
      background: #ffffff;
    }

    .section-title {
      font-size: clamp(24px, 3vw, 32px);
      color: var(--color-text-strong);
      margin: 0 0 40px 0;
      line-height: 1.4;
    }

    /* Category Chips */
    .category-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 44px;
    }

    .chip {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--color-text-muted);
      background: #ffffff;
      border: 1.5px solid var(--color-line-soft);
      border-radius: 30px;
      padding: 9px 20px;
      cursor: pointer;
      transition: 0.15s;
      font-family: inherit;
    }

    .chip:hover {
      border-color: #c3d2ee;
      color: var(--color-brand-blue);
    }

    .chip.active {
      background: var(--color-brand-blue-strong);
      border-color: var(--color-brand-blue-strong);
      color: #ffffff;
    }

    /* Featured Post */
    .featured-post {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 40px;
      align-items: stretch;
      border: 1px solid var(--color-line-soft);
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 56px;
      transition: 0.2s;
      background: #ffffff;
    }

    .featured-post:hover {
      box-shadow: 0 26px 56px -34px rgba(15, 118, 220, 0.4);
    }

    .featured-thumb {
      width: 100%;
      height: 100%;
      min-height: 320px;
      background: linear-gradient(135deg, #e9eef7, #dbe4f3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #7186a6;
      text-align: center;
      padding: 40px 20px;
    }

    .featured-thumb svg {
      width: 44px;
      height: 44px;
      color: #9db0d0;
      margin-bottom: 10px;
      stroke-width: 1.5;
    }

    .featured-thumb-label {
      font-size: 12.5px;
      font-weight: 700;
      color: #5b6b80;
    }

    .featured-body {
      padding: 36px 40px 36px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
    }

    .featured-tag {
      display: inline-block;
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--color-brand-blue);
      margin-bottom: 12px;
    }

    .post-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    .post-category {
      font-size: 12px;
      font-weight: 700;
      color: #ffffff;
      background: var(--color-brand-blue);
      border-radius: 5px;
      padding: 3px 10px;
    }

    .post-date {
      font-size: 12.5px;
      color: var(--color-text-muted);
    }

    .featured-body h2 {
      font-size: clamp(20px, 2.4vw, 26px);
      color: var(--color-text-strong);
      line-height: 1.5;
      margin: 0 0 14px 0;
    }

    .featured-body p {
      font-size: 14.5px;
      color: var(--color-text-muted);
      line-height: 1.95;
      margin: 0;
    }

    .featured-more {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 18px;
      font-weight: 700;
      font-size: 14px;
      color: var(--color-brand-blue);
    }

    .arrow {
      transition: 0.18s;
    }

    .featured-post:hover .arrow {
      transform: translateX(3px);
    }

    /* Post Grid */
    .post-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-bottom: 44px;
    }

    .post-card {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--color-line-soft);
      border-radius: 14px;
      overflow: hidden;
      transition: 0.2s;
      background: #ffffff;
    }

    .post-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 46px -30px rgba(15, 118, 220, 0.5);
    }

    .post-thumb {
      aspect-ratio: 16 / 10;
      background: linear-gradient(135deg, #e9eef7, #dbe4f3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #7186a6;
      text-align: center;
      padding: 30px 20px;
    }

    .post-thumb svg {
      width: 34px;
      height: 34px;
      color: #9db0d0;
      margin-bottom: 8px;
      stroke-width: 1.5;
    }

    .post-thumb-label {
      font-size: 11px;
      font-weight: 700;
      color: #5b6b80;
    }

    .post-body {
      padding: 20px 20px 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .post-body h3 {
      font-size: 16.5px;
      color: var(--color-text-strong);
      line-height: 1.55;
      margin: 0 0 10px 0;
    }

    .post-body p {
      font-size: 13px;
      color: var(--color-text-muted);
      line-height: 1.85;
      margin: 0;
      flex-grow: 1;
    }

    /* Load More Button */
    .load-more-section {
      display: flex;
      justify-content: center;
      margin-top: 56px;
    }

    .load-more-btn {
      font-weight: 700;
      font-size: 15px;
      color: var(--color-brand-blue-strong);
      background: #ffffff;
      border: 1.5px solid var(--color-line-soft);
      border-radius: 30px;
      padding: 14px 40px;
      cursor: pointer;
      font-family: inherit;
      transition: 0.18s;
    }

    .load-more-btn:hover {
      border-color: var(--color-brand-blue-strong);
      background: var(--color-brand-blue-mist);
    }

    /* CTA Section */
    .cta-section {
      background: linear-gradient(135deg, #1c3f9e 0%, #2353c9 100%);
      color: #ffffff;
      padding: 70px 24px;
      text-align: center;
    }

    .cta-section h2 {
      font-size: clamp(22px, 3vw, 30px);
      color: #ffffff;
      margin: 0 0 18px 0;
      line-height: 1.4;
    }

    .cta-section p {
      color: rgba(255, 255, 255, 0.9);
      max-width: 560px;
      margin: 0 auto 30px;
      font-size: 15px;
      line-height: 1.95;
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5em;
      font-weight: 700;
      font-size: 15px;
      padding: 14px 26px;
      border-radius: 8px;
      cursor: pointer;
      border: 0;
      font-family: inherit;
      text-decoration: none;
      transition: 0.18s;
    }

    .btn-white {
      background: #ffffff;
      color: var(--color-brand-blue-strong);
    }

    .btn-white:hover {
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid #ffffff;
      color: #ffffff;
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Footer */

    /* Responsive */
    @media (max-width: 900px) {
      .featured-post {
        grid-template-columns: 1fr;
      }

      .featured-thumb {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
      }

      .featured-body {
        padding: 28px;
      }

      .post-grid {
        grid-template-columns: 1fr 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }

    @media (max-width: 640px) {
      .post-grid {
        grid-template-columns: 1fr;
      }

      .nav-menu {
        display: none;
      }

      .cta-buttons {
        flex-direction: column;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }
    }

/* ===== WordPress additions (theme) ===== */

/* category chips as links */
.category-chips .chip { text-decoration: none; display: inline-block; }

/* thumbnails: real images inside placeholder frames */
.featured-thumb img,
.post-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-thumb, .post-thumb { position: relative; overflow: hidden; }
.featured-thumb.has-image svg, .featured-thumb.has-image .featured-thumb-label,
.post-thumb.has-image svg, .post-thumb.has-image .post-thumb-label { display: none; }

/* pagination */
.media-pagination { margin-top: 44px; text-align: center; }
.media-pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.media-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--color-line-soft); border-radius: 999px;
  color: var(--color-text-strong); font-size: 14px; font-weight: 700;
  text-decoration: none; background: #fff; transition: .15s;
}
.media-pagination .page-numbers.current { background: var(--color-brand-blue); border-color: var(--color-brand-blue); color: #fff; }
.media-pagination .page-numbers:hover:not(.current) { border-color: var(--color-brand-blue); color: var(--color-brand-blue); }

/* ===== single post ===== */
.single-hero { background: linear-gradient(135deg, #1c3f9e 0%, #2353c9 100%); color: #fff; padding: 58px 0 62px; }
.single-hero .crumb { font-size: 12.5px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.single-hero .post-meta { margin-bottom: 14px; }
.single-hero .post-category { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.single-hero .post-date { color: rgba(255,255,255,.8); }
.single-hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.45; font-weight: 800; margin: 0; }

.single-body { padding: 52px 0 72px; }
.single-layout { max-width: 760px; margin: 0 auto; }
.single-eyecatch { border-radius: 14px; overflow: hidden; margin-bottom: 36px; }
.single-eyecatch img { width: 100%; height: auto; display: block; }

.entry-content { font-size: 16px; line-height: 2.0; color: var(--color-text-strong); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 {
  font-size: 23px; line-height: 1.5; font-weight: 800; margin-top: 2.4em;
  padding: 12px 18px; background: var(--color-brand-blue-soft);
  border-left: 4px solid var(--color-brand-blue); border-radius: 4px;
}
.entry-content h3 {
  font-size: 19px; line-height: 1.55; font-weight: 800; margin-top: 2em;
  padding-bottom: 10px; border-bottom: 2px solid var(--color-line-soft);
}
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }
.entry-content a { color: var(--color-brand-blue); }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 18px 22px; background: #f6f8fc;
  border-left: 4px solid var(--color-line-soft); border-radius: 4px;
  color: var(--color-text-muted); font-size: 15px;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--color-line-soft); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--color-brand-blue-soft); font-weight: 700; }

.single-footer-nav { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--color-line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.single-footer-nav a { color: var(--color-brand-blue); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.single-footer-nav a:hover { text-decoration: underline; }
