/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

:root {
  --header-h: 80px;
}


.pconly {
  display: block;
}

.sponly {
  display: none;
}

#container {
  background: #f1f5f9;
  padding-top: 120px;
}

/* Container Wrapper */
.hu_blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  word-break: break-word;
}

header#header {
  background: #2564EB;
}

/* Header Navigation */
.hu_blog .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.hu_blog .logo {
  background: #e5e0df;
  padding: 10px 40px;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.hu_blog .nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.hu_blog .nav a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

/* Hero Section */
.hu_blog .hero {
  display: flex;
  gap: 40px;
  padding: 60px;
  align-items: center;
  background-image:
    /* linear-gradient(
    rgba(255, 255, 255, 0.7), 
    rgba(255, 255, 255, 0.7)
  ), */
    url("../images/service/hu_blog_img01.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hu_blog .hero-content {
  flex: 1;
}

.hu_blog .hero-label {
  color: #2563eb;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .hu_blog .hero-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #2563eb;
  border-radius: 50%;
} */

.hu_blog .hero-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hu_blog .hero-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}

.hu_blog .hero-image {
  flex: 1;
}

.hu_blog .hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Category Selector */
.hu_entry .category-box,
.hu_blog .category-box {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 4px;
  display: inline-block;
}

.hu_entry .category-box {
  margin-bottom: 30px;
  background: #fff;
}


.hu_entry .category-title,
.hu_blog .category-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hu_entry .category-list,
.hu_blog .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hu_entry .category-btn,
.hu_blog .category-btn {
  padding: 8px 18px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #2563eb;
  color: white;
  transition: opacity 0.2s;
}

.hu_entry .category-btn.secondary,
.hu_blog .category-btn.secondary {
  background-color: #3b82f6;
}

/* Section Headlines */
.hu_blog .section-headline {
  margin: 60px 0 30px;
  font-size: 28px;
  font-weight: 900;
  position: relative;
  padding-bottom: 15px;
}

.hu_blog .section-headline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background-color: #2563eb;
}

/* Feature Section (New & Pick Up) */
.hu_blog .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.hu_blog .feature-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hu_blog .feature-card {
  border: 1px solid #eee;
  display: flex;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  min-height: 240px;
}

.hu_blog .feature-card.new-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
}

.hu_blog .new-thumb {
  position: absolute;
  inset: 0;
}

.hu_blog .new-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hu_blog .new-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.15) 70%);
}


.hu_blog .new-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}


.hu_blog .feature-card.new-card .new-content {
  color: #fff;
}

.hu_blog .feature-card.new-card .badge {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}

.hu_blog .new-title {
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 0;
  line-height: 1.4;
  width: 80%;
}


.hu_blog .new-card .arrow-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: all .25s ease;
}

.hu_blog .new-card .arrow-btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateX(4px);
}

.hu_blog .feature-card.pick-up {
  flex-direction: row;
}

.hu_blog .card-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hu_blog .badge {
  display: inline-block;
  background: #e5e7eb;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: #2563eb;
  font-weight: bold;
  margin-bottom: 15px;
  align-self: flex-start;
}

.hu_blog .card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.hu_blog .card-text {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.hu_blog .read-more {
  color: #2563eb;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  margin-top: auto;
  display: inline-block;
  padding-top: 20px;
}

.hu_blog .card-img {
  flex: 2;
  background-color: #f0f0f0;
  overflow: hidden;
}

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

.hu_blog .arrow-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  border: 1px solid #333;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.hu_blog .arrow-btn:hover {
  background: #333;
  color: #fff;
}

.hu_blog .research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  row-gap: 50px;
  margin-bottom: 80px;
}

.hu_blog .research-item {
  display: flex;
  flex-direction: column;
}

.hu_blog .research-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 2px;
}

.hu_blog .research-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hu_blog .tag-container {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.hu_blog .tag {
  background: #f0f4f8;
  color: #2563eb;
  font-size: 10px;
  padding: 4px 10px;
  ;
  font-weight: bold;
}

.hu_blog .research-title {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hu_blog .research-desc {
  font-size: 16px;
  color: #777;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hu_blog .hero {
    flex-direction: column;
    padding: 40px 0;
    gap: 30px;
    background-image: url(../images/service/hu_blog_img01-sp.jpg);
    background-size: contain;
    background-position: top;
  }

  .hu_blog .nav {
    display: none;
  }

  .hu_blog .hero-title {
    font-size: 24px;
  }

  .hu_blog .category-box {
    padding: 20px;
  }

  .hu_blog .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hu_blog .feature-card.pick-up {
    flex-direction: column-reverse;
  }

  .hu_blog .feature-card {
    min-height: auto;
  }

  .hu_blog .card-img {
    aspect-ratio: 16/9;
    flex: none;
  }

  .hu_blog .research-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hu_blog .section-headline {
    font-size: 24px;
    margin: 40px 0 20px;
  }

  .hu_blog .new-title {
    font-size: 20px;
  }

  .hu_blog_detail .meta span {
    text-align: left;
  }


  .hu_blog_detail .entry-body h1 {
    text-align: left !important;
  }

  span.subtitle.sponly {
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
  }


  .hu_blog_detail .toc ul {
    padding-left: 0 !important;
  }


}




/* =========================================
   Category Archive (hu_entry scoped)
========================================= */

.hu_entry {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 72px;
}

/* 見出し */
.hu_entry>h1 {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  margin: 6px 0 18px;
  letter-spacing: .01em;
}

/* 一覧グリッド */
.hu_entry .research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .hu_entry .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hu_entry .research-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pconly {
    display: none;
  }

  .sponly {
    display: block;
  }


}


/* 記事一覧ページ */

.hu_entry {
  word-break: break-word;
}

.hu_entry .research-item {
  margin: 0;
}

.hu_entry .research-item>a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 16px 16px 14px;

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.hu_entry .research-item>a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .14);
}

.hu_entry .research-item h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .01em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hu_entry .research-item>a::after {
  content: "→";
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  opacity: .55;
}

.hu_entry .research-item>a:focus-visible {
  outline: 3px solid rgba(0, 0, 0, .25);
  outline-offset: 3px;
}


.hu_entry .research-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f2f2f2;
}

.hu_entry .research-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ===========================
   BLOG ENTRY (Detail) Styles
=========================== */



.hu_blog_detail {
  --entry-max: 980px;
  --content-max: 760px;

  --text: #111;
  --muted: #777;
  --border: #e8e8e8;
  --bg-soft: #f3f3f3;

  --radius: 18px;

  max-width: var(--entry-max);
  margin: 0 auto;
  padding: 20px;
  color: var(--text);
  background: #fff;
  word-break: break-word;
}

.hu_blog_detail .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
  color: #64748b;
  font-size: .95rem;
}

.hu_blog_detail .meta span {
  background: #f1f5f9;
  padding: 6px 10px;
  border: 1px solid #ccc;
}


.hu_blog_detail .entry-header {
  max-width: var(--content-max);
  margin: 40px auto 24px;
}

.hu_blog_detail .entry-title {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: .01em;
}

.hu_blog_detail .entry-hero {
  max-width: var(--content-max);
  margin: 0 auto 28px;
}

.hu_blog_detail .entry-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hu_blog_detail .entry-content {
  max-width: var(--content-max);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
}

.hu_blog_detail .entry-content p {
  /* margin: 0 0 1.1em; */
  font-size: 1.1rem;
}

.hu_blog_detail .entry-content h2 {
  margin: 2.2em 0 .8em;
  font-size: 24px;
  line-height: 1.35;
  padding: 20px 30px;
  background: #222;
  color: #fff;
}

.hu_blog_detail .entry-content h3 {
  margin: 1.6em 0 .6em;
  font-size: 19px;
}

.hu_blog_detail .entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.4em auto;
}

/* ===== Supervisor ===== */

.hu_blog_detail .supervisor {
  max-width: var(--content-max);
  margin: 3.5em auto 0;
  padding-top: 2.5em;
  border-top: 1px solid var(--border);
}

.hu_blog_detail .supervisor-label {
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 16px;
}

.hu_blog_detail .supervisor-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 40px;
  background: var(--bg-soft);
}

.hu_blog_detail .supervisor-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

.hu_blog_detail .supervisor-content {
  flex: 1;
}

.hu_blog_detail .supervisor-name-en {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 8px;
}

.hu_blog_detail .supervisor-role {
  font-size: 18px;
  font-weight: 500;
  color: #9a9a9a;
  margin: 0 0 20px;
}

.hu_blog_detail .supervisor-bio {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #444;
}

/* ===== Pager ===== */

.hu_blog_detail .entry-pager {
  max-width: var(--content-max);
  margin: 3em auto 0;
  display: flex;
  gap: 16px;
}

.hu_blog_detail .entry-pager .pager-item {
  flex: 1;
  min-width: 0;
}

.hu_blog_detail .entry-pager a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.hu_blog_detail .entry-pager a span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hu_blog_detail .entry-pager .prev a {
  text-align: left;
}

.hu_blog_detail .entry-pager .next a {
  text-align: right;
}

.hu_blog_detail .entry-pager {
  max-width: var(--content-max);
  margin: 3em auto 0;
  display: flex;
  gap: 16px;
}

.hu_blog_detail .entry-pager .pager-item {
  flex: 1;
  min-width: 0;
}

.hu_blog_detail .entry-pager a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.hu_blog_detail .entry-pager a:hover {
  border-color: #d8d8d8;
}

.hu_blog_detail .entry-pager .pager-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  color: #9a9a9a;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hu_blog_detail .entry-pager .pager-title {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hu_blog_detail .entry-pager .prev a {
  text-align: left;
}

.hu_blog_detail .entry-pager .next a {
  text-align: right;
}

@media (max-width: 768px) {
  .hu_blog_detail .entry-pager {
    flex-direction: column;
  }
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

  #header_logo .mobile_logo_text {
    color: #fff;
  }

  #container {
    padding-top: 0;
  }

  .hu_blog_detail .entry-header {
    max-width: var(--content-max);
    margin: 20px auto 24px;
  }

  .hu_blog_detail .entry-content p {
    font-size: 16px;
  }

  .hu_blog_detail {
    padding: 40px 14px 48px;
  }

  .hu_blog_detail .entry-title {
    font-size: 22px;
  }

  .hu_blog_detail .supervisor-card {
    flex-direction: column;
    padding: 22px 20px;
    gap: 16px;
  }

  .hu_blog_detail .supervisor-avatar img {
    width: 72px;
    height: 72px;
  }

  .hu_blog_detail .supervisor-name-en {
    font-size: 22px;
  }

  .hu_blog_detail .supervisor-role {
    font-size: 16px;
  }

  .hu_blog_detail .supervisor-bio {
    font-size: 14px;
  }

  .hu_blog_detail .entry-pager {
    flex-direction: column;
  }
}







/* ===========================
      詳細記事専用テンプレ
=========================== */


.hu_blog_detail .toc {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  margin: 26px 0 34px;
  text-align: center;
}

.hu_blog_detail .toc strong {
  display: block;
  margin-bottom: 10px;
}

.hu_blog_detail .toc ul {
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.hu_blog_detail .toc li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}


.hu_blog_detail .toc a {
  color: blue;
}



.hu_blog_detail .entry-body header {
  text-align: center;
  padding: 20px;
  background: #f1f5f9;
  margin-bottom: 40px;
}


.hu_blog_detail .entry-body h1 {
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--text-color);
  text-align: center;
}


.hu_blog_detail .eeat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}


.hu_blog_detail .eeat-box .eeat-item {
  background: #f1f5f9;
  padding: 15px;
  text-align: center;
  font-weight: bold;
}

.hu_blog_detail .highlight {
  background: linear-gradient(transparent 70%, #fef08a 70%);
  font-weight: bold;
}

.hu_blog_detail .important-box {
  padding: 20px;
  margin: 25px 0;
  font-weight: 700;
}

.hu_blog_detail .caution-list {
  list-style: none;
  padding-left: 0;
}

.hu_blog_detail .caution-list li::before {
  content: "❌";
  margin-right: 10px;
}

.hu_blog_detail .check-list {
  list-style: none;
  padding-left: 0;
}

.hu_blog_detail .check-list li::before {
  content: "✅";
  margin-right: 10px;
}

.hu_blog_detail .quote-block {
  font-style: italic;
  color: var(--secondary-color);
  border-left: 4px solid var(--border-color);
  padding-left: 20px;
  margin: 20px 0;
}

.hu_blog_detail ul.high-light-li {
  list-style: disc;
  padding-left: 1rem;
  margin: 10px;
  font-weight: bold;
}


.hu_blog_detail ul.with-quote {
  padding: 20px;
  border: 1px solid #ccc;
  font-size: 17px;
  line-height: 1.4;
  font-weight: bold;
}


.with-quote li {
  margin-bottom: 10px;
}

.with-quote li::before {
  content: "“";
  color: #2563eb;
  font-weight: bold;
}

.with-quote li::after {
  content: "”";
  color: #2563eb;
  font-weight: bold;
}

.with-quote li:not(:last-child)::after {
  content: "” ";
}


.hu_blog_detail ul.pick-up {
  font-size: 14px;
}

.hu_blog_detail ul.pick-up li {
  list-style-type: disc;
}

.hu_blog_detail ul.disc {
  list-style-type: disc;
}

p.mar0 {
  margin: 0 !important;
}






/* =========================================
   Blog Detail: readability improvements
   末尾に追記OK
========================================= */

.hu_blog_detail .entry-content p {
  margin: 0 0 1.15em;
}

.hu_blog_detail .entry-content h2+p,
.hu_blog_detail .entry-content h3+p {
  margin-top: 0.55em;
}

.hu_blog_detail .entry-content ul,
.hu_blog_detail .entry-content ol {
  margin: 0.4em 0 1.1em;
  padding-left: 1.25em;
}

.hu_blog_detail .check-list li,
.hu_blog_detail .caution-list li {
  position: relative;
  padding-left: 1.6em;
  margin: 0.5em 0;
  line-height: 1.75;
}

.hu_blog_detail .check-list li::before,
.hu_blog_detail .caution-list li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.3em;
  text-align: center;
}

.hu_blog_detail .step-card {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  margin: 1.4em 0 1.8em;
}

.hu_blog_detail .step-card .head {
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
}

.hu_blog_detail .step-card .head strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.hu_blog_detail .step-card .head span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hu_blog_detail .step-card .body {
  padding: 16px;
}


.hu_blog_detail .example {
  border: 1px solid var(--border);
  background: #fbfdff;
  margin: 1.1em 0;
  overflow: hidden;
}

.hu_blog_detail .example .label {
  padding: 10px 12px;
  background: #eff6ff;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
}

.hu_blog_detail .example .body {
  padding: 20px;
}



.hu_blog_detail .eeat-box .eeat-item {
  border: 1px solid var(--border);

}


.hu_blog_detail .toc a {
  color: #2563eb;
  text-decoration: none;
}

.hu_blog_detail .toc a:hover {
  text-decoration: underline;
}

.hu_blog_detail .toc li {
  margin: 0.25em 0;
}


.hu_blog_detail .quote-block {
  background: #fafafa;
  padding: 14px 16px;
}


/* 3原則カード */
.hu_blog_detail .rule-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 1.1em 0 1.4em;
}


.hu_blog_detail .rule-cards.double {
  grid-template-columns: 1fr 1fr;
}


.hu_blog_detail .rule-card {
  background: #f1f5f9;
  padding: 14px 14px 12px;
}

.hu_blog_detail .rule-title {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.hu_blog_detail .rule-desc {
  color: #374151;
  line-height: 1.7;
  font-size: 0.98rem;
}

small a {
  font-size: small;
  color: gray;
  text-decoration: underline;
}

.example.before,
.example.after {
    border: none;
    padding: 20px;
}

.example.before p,
.example.after p {
    font-size: 16px;
    line-height: 1.4;
}


/* モバイルは1列、タブレットは2列 */
@media (max-width: 900px) {
  .hu_blog_detail .rule-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hu_blog_detail .rule-cards {
    grid-template-columns: 1fr;
  }
}