@charset "UTF-8";

/* =========================================================
   Shimokitazawa Medical BLOG
   既存LPの配色・フォントを優先。
   ブログ独自のブランドカラーは追加しない。
========================================================= */

.smc-home-blog,
.smc-blog-page {
  color: inherit;
  font-family: inherit;
}

.smc-home-blog {
  padding: 94px 0 104px;
  background: transparent;
}

.smc-home-blog__head {
  margin-bottom: 42px;
  text-align: center;
}

.smc-home-blog__lead {
  margin: 18px 0 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.9;
}

.smc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.smc-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.smc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .09);
}

.smc-blog-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.smc-blog-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, .04);
}

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

.smc-blog-card:hover .smc-blog-card__image img {
  transform: scale(1.035);
}

.smc-blog-card__noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(0, 0, 0, .045);
  color: inherit;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .14em;
}

.smc-blog-card__body {
  padding: 22px 22px 25px;
}

.smc-blog-card__meta,
.smc-blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.smc-blog-card__meta {
  margin-bottom: 13px;
}

.smc-blog-card__meta time,
.smc-blog-single-meta time {
  color: inherit;
  opacity: .62;
  font-size: 12px;
  font-weight: 500;
}

.smc-blog-card__meta span,
.smc-blog-single-meta a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
}

.smc-blog-card__title {
  margin: 0 0 10px;
  color: inherit;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
}

.smc-blog-card__excerpt {
  margin: 0 0 18px;
  color: inherit;
  opacity: .76;
  font-size: 14px;
  line-height: 1.85;
}

.smc-blog-card__more {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.smc-blog-card__more b {
  font-size: 16px;
  font-weight: 400;
}

.smc-home-blog__more,
.smc-blog-bottom {
  margin-top: 44px;
  text-align: center;
}

.smc-home-blog__more a,
.smc-blog-back a,
.smc-blog-bottom a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .3s ease, transform .3s ease;
}

.smc-home-blog__more a:hover,
.smc-blog-back a:hover,
.smc-blog-bottom a:hover {
  opacity: .72;
  transform: translateY(-1px);
}

.smc-blog-empty {
  padding: 35px 20px;
  text-align: center;
}

.smc-blog-page {
  min-height: 70vh;
  background: #fff;
}

.smc-blog-shell {
  width: min(1102px, calc(100% - 48px));
  margin: 0 auto;
}

.smc-blog-hero {
  padding: 155px 20px 78px;
  background: rgba(0, 0, 0, .025);
  text-align: center;
}

.smc-blog-hero__en {
  margin: 0 0 8px;
  color: #168bff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .12em;
  opacity: .72;
}

.smc-blog-hero h1 {
  margin: 0 0 14px;
  color: inherit;
  font-family: inherit;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.45;
}

.smc-blog-hero p:last-child {
  margin: 0;
  color: inherit;
  opacity: .72;
  font-size: 15px;
  line-height: 1.9;
}

.smc-blog-hero--small {
  padding-bottom: 62px;
}

.smc-blog-list {
  padding: 68px 0 100px;
}

.smc-blog-back {
  margin-bottom: 30px;
}

.smc-blog-back a {
  min-height: 46px;
  padding: 8px 21px;
}

.smc-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.smc-blog-pagination .page-numbers {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 50%;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.smc-blog-pagination .current {
  background: rgba(0, 0, 0, .06);
}

.smc-blog-article-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.smc-blog-single-head {
  padding: 150px 0 58px;
  background: rgba(0, 0, 0, .025);
}

.smc-blog-single-meta {
  margin-bottom: 16px;
}

.smc-blog-single-head h1 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.55;
}

.smc-blog-article {
  padding: 64px 0 100px;
  background: #fff;
}

.smc-blog-single-image {
  overflow: hidden;
  margin: 0 0 44px;
  border-radius: 14px;
}

.smc-blog-single-image img {
  display: block;
  width: 100%;
  height: auto;
}

.smc-blog-entry,
.smc-blog-entry p {
  color: inherit;
  font-size: 16px;
  line-height: 2;
}

.smc-blog-entry p {
  margin: 0 0 1.8em;
}

.smc-blog-entry h2 {
  margin: 54px 0 24px;
  padding: 17px 20px;
  border-left: 4px solid currentColor;
  background: rgba(0, 0, 0, .025);
  color: inherit;
  font-family: inherit;
  font-size: 25px;
  line-height: 1.6;
}

.smc-blog-entry h3 {
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .16);
  color: inherit;
  font-family: inherit;
  font-size: 21px;
  line-height: 1.6;
}

.smc-blog-entry h4 {
  margin: 32px 0 15px;
  color: inherit;
  font-size: 18px;
}

.smc-blog-entry img {
  max-width: 100%;
  height: auto;
}

.smc-blog-entry ul,
.smc-blog-entry ol {
  margin: 0 0 28px;
  padding: 20px 25px 20px 45px;
  background: rgba(0, 0, 0, .025);
}

.smc-blog-entry ul li { list-style: disc; }
.smc-blog-entry ol li { list-style: decimal; }
.smc-blog-entry li { margin: 5px 0; }

.smc-blog-entry a {
  color: inherit;
  text-decoration: underline;
}

.smc-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, .14);
}

.smc-blog-tags a {
  padding: 5px 11px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.smc-blog-tags a::before {
  content: "#";
}

.smc-blog-single-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 50px 0 70px;
  padding: 22px 0;
  border-top: 1px solid rgba(0, 0, 0, .14);
  border-bottom: 1px solid rgba(0, 0, 0, .14);
}

.smc-blog-single-nav a {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.smc-blog-next {
  text-align: right;
}

.smc-blog-index-link {
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.smc-blog-related {
  margin-top: 20px;
}

.smc-blog-related__head {
  margin-bottom: 28px;
  text-align: center;
}

.smc-blog-related__head span {
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: .7;
}

.smc-blog-related__head h2 {
  margin: 6px 0 0;
  color: inherit;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .smc-home-blog { padding: 58px 0 64px; }
  .smc-home-blog__head { margin-bottom: 28px; }
  .smc-home-blog__lead { margin-top: 14px; font-size: 14px; }
  .smc-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .smc-blog-card { border-radius: 12px; }
  .smc-blog-card__body { padding: 18px; }
  .smc-blog-card__title { font-size: 18px; }
  .smc-home-blog__more a,
  .smc-blog-back a,
  .smc-blog-bottom a { min-height: 50px; padding: 9px 22px; font-size: 14px; }
  .smc-blog-shell,
  .smc-blog-article-shell { width: calc(100% - 32px); }
  .smc-blog-hero { padding: 105px 16px 50px; }
  .smc-blog-hero h1 { font-size: 30px; }
  .smc-blog-hero p:last-child { font-size: 14px; }
  .smc-blog-list { padding: 40px 0 72px; }
  .smc-blog-single-head { padding: 105px 0 40px; }
  .smc-blog-single-head h1 { font-size: 26px; }
  .smc-blog-article { padding: 40px 0 72px; }
  .smc-blog-entry,
  .smc-blog-entry p { font-size: 15px; }
  .smc-blog-entry h2 { margin-top: 42px; font-size: 21px; }
  .smc-blog-entry h3 { font-size: 19px; }
  .smc-blog-single-nav { grid-template-columns: 1fr 1fr; margin: 42px 0 55px; }
  .smc-blog-index-link { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
