.blog-page,
.blog-single {
  background: linear-gradient(180deg, #f4fbfc 0, #fff 360px);
}

.blog-intro {
  width: min(1200px, calc(100% - 40px));
  margin: 84px auto 0;
  padding: 46px 20px 54px;
  text-align: center;
}

.blog-intro__en,
.related-posts__en {
  margin: 0 0 8px;
  color: #16a9b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
}

.blog-intro h1 {
  margin: 0;
  color: #214b6b;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.4;
  letter-spacing: .05em;
}

.blog-intro > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: #546877;
  line-height: 1.9;
}

.blog-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: start;
  width: min(1200px, calc(100% - 40px));
  margin: 68px auto 120px;
}

.post-list {
  min-width: 0;
  display: block;
}

.blog-archive-layout > .sidebar {
  position: sticky;
  top: 120px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 54px;
  align-items: center;
  min-height: 250px;
  padding: 42px 0;
  border-bottom: 1px solid #d9dee0;
}

.post-card__image {
  display: block;
  width: 180px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #edf1f0;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card__image img { transform: scale(1.04); }

.post-card__placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(46, 91, 105, .34);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  background:
    radial-gradient(circle at 32% 27%, rgba(255,255,255,.95) 0 3px, transparent 4px),
    linear-gradient(145deg, #f4f7f6, #e3e9e7);
}

.post-card__placeholder::before,
.post-card__placeholder::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9d8d6;
  content: '';
}
.post-card__placeholder::before { top: 34px; right: 36px; }
.post-card__placeholder::after { bottom: 36px; left: 34px; }
.post-card__placeholder i {
  position: relative;
  display: block;
  width: 54px;
  height: 48px;
  border: 4px solid rgba(45, 115, 125, .25);
  border-radius: 47% 47% 42% 42%;
  transform: rotate(-4deg);
}
.post-card__placeholder i::after {
  position: absolute;
  right: 12px;
  bottom: -5px;
  left: 12px;
  height: 15px;
  border-radius: 50%;
  background: #e8edeb;
  content: '';
}

.post-card__body { min-width: 0; }
.post-card__meta,
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #758895;
  font-size: 12px;
}

.post-card__meta::before {
  color: #84bbb9;
  content: '✣';
  font-size: 15px;
}

.post-card__meta a,
.blog-article__meta a {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f8f8;
  color: #138c98;
  font-weight: 700;
}

.post-card h2 { margin: 10px 0 12px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; text-wrap: pretty; word-break: auto-phrase; }
.post-card h2 a { color: #214b6b; }
.post-card p { display: inline; color: #5e707d; font-size: 14px; line-height: 1.9; }
.post-card__more { display: inline; margin-left: 4px; color: #315b72; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

:is(.blog-page, .blog-single) .sidebar-widget { padding: 22px 20px; }
:is(.blog-page, .blog-single) .sidebar-widget__title { margin-bottom: 14px; font-size: 18px; line-height: 1.4; }
:is(.blog-page, .blog-single) .sidebar-widget li + li { margin-top: 0; }
:is(.blog-page, .blog-single) .sidebar-widget li a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(49, 91, 114, .12);
  color: #315b72;
  font-size: 13px;
  line-height: 1.5;
  transition: color .2s ease, padding-left .2s ease;
}
:is(.blog-page, .blog-single) .sidebar-widget li a::after {
  flex: 0 0 auto;
  color: #16a9b8;
  content: "→";
  font-size: 13px;
}
:is(.blog-page, .blog-single) .sidebar-widget li a:hover { padding-left: 4px; color: #078b9b; }

.blog-article { max-width: 820px; }
.blog-article__header { padding-bottom: 26px; border-bottom: 1px solid #dfe9ec; }
.blog-article__header h1 { margin: 16px 0 0; color: #214b6b; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.55; text-wrap: balance; word-break: auto-phrase; }
.blog-article__eyecatch { margin: 34px 0 44px; overflow: hidden; border-radius: 28px 28px 8px 28px; }
.blog-article__eyecatch img { display: block; width: 100%; height: auto; }
.blog-article__content img { max-width: 100%; height: auto; border-radius: 16px; }
.blog-article__content figure { max-width: 100%; }
.blog-article__content a { color: #078b9b; text-decoration: underline; text-underline-offset: 3px; }
.blog-article__content h2 { font-size: clamp(21px, 2vw, 25px); line-height: 1.6; }
.blog-article__content h3 { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; }

.post-price-notice,
.post-treatment-link {
  margin: 42px 0;
  padding: 26px 28px;
  border: 1px solid #cce8e9;
  border-radius: 18px 18px 5px 18px;
  background: #f1fbfb;
}
.post-price-notice strong { color: #214b6b; font-size: 20px; }
.post-treatment-link span { color: #16a9b8; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.post-treatment-link a { display: inline-block; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: #1f7594; color: #fff; text-decoration: none; }

.post-treatment-links { margin:52px 0 10px; padding:30px 32px; border:1px solid #cce8e9; border-radius:7px 28px 7px 28px; background:linear-gradient(135deg,#f0fbfb,#fff8f5); }
.post-treatment-links__label { margin:0 0 8px; color:#16a9b8; font-size:11px; font-weight:700; letter-spacing:.18em; }
.post-treatment-links h2 { margin:0; color:#214b6b; font-size:22px; line-height:1.5; }
.post-treatment-links>p:not(.post-treatment-links__label) { margin:12px 0 22px; color:#5e707d; font-size:14px; line-height:1.8; }
.post-treatment-links__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.post-treatment-links__grid a { display:flex; min-height:92px; flex-direction:column; justify-content:center; padding:17px 20px; border:1px solid rgba(33,75,107,.12); border-radius:4px 16px 4px 16px; background:rgba(255,255,255,.86); color:#214b6b; text-decoration:none; transition:transform .2s ease,background .2s ease; }
.post-treatment-links__grid a:hover { transform:translateY(-2px); background:#fff; }
.post-treatment-links__grid strong { font-size:17px; }
.post-treatment-links__grid span { margin-top:7px; color:#078b9b; font-size:12px; font-weight:700; }
.post-treatment-links__grid b { margin-left:6px; color:#ef718d; }

.related-posts { margin-top: 72px; padding-top: 38px; border-top: 1px solid #dfe9ec; }
.related-posts h2 { margin-top: 0; font-size: 22px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-post-card { color: #214b6b; }
.related-post-card__image { display: block; aspect-ratio: 4 / 3; margin-bottom: 12px; overflow: hidden; border-radius: 14px; background: #e8f6f7; }
.related-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.related-post-card time { display: block; color: #7c8c96; font-size: 11px; }
.related-post-card strong { display: block; margin-top: 5px; line-height: 1.6; }

.pagination { margin-top: 52px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 10px; place-items: center; border-radius: 50%; background: #edf5f6; color: #315b72; }
.page-numbers.current { background: #16a9b8; color: #fff; }

@media (max-width: 900px) {
  .related-posts__grid { grid-template-columns: 1fr; }
  .blog-archive-layout { grid-template-columns: 1fr; gap: 46px; }
  .blog-archive-layout > .sidebar { position: static; }
}

@media (max-width: 640px) {
  .blog-intro { margin-top: 48px; }
  .blog-archive-layout { width: min(100% - 32px, 620px); margin-top: 34px; }
  .post-card { grid-template-columns: minmax(0, 1fr) 96px; gap: 18px; min-height: 0; padding: 30px 0; }
  .post-card__image { width: 96px; }
  .post-card__placeholder i { width: 38px; height: 34px; border-width: 3px; }
  .post-card__placeholder b { font-size: 8px; }
  .post-card__placeholder::before { top: 18px; right: 18px; }
  .post-card__placeholder::after { bottom: 18px; left: 18px; }
  .post-card__meta a { display: none; }
  .post-card h2 { font-size: 17px; }
  .post-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .post-card__more { display: inline-block; margin: 8px 0 0; }
  .blog-article__eyecatch { border-radius: 18px 18px 6px 18px; }
  .post-treatment-links { margin-top:42px; padding:24px 20px; }
  .post-treatment-links__grid { grid-template-columns:1fr; }
}
