/* Column Head Banner */

.columnHeadBanner {
  box-sizing: border-box;
  height: 16vw;
  margin-top: 72px;
  max-height: 232px;
  min-height: 160px;
  padding: 0 26px;
  position: relative;
  z-index: 1;
}

.columnHeadBanner__bg {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.columnHeadBanner .container {
  display: grid;
  grid-template-columns: 230px auto;
  height: 100%;
  justify-content: space-between;
}

.columnHeadBanner__title {
  align-content: center;
  z-index: 1;
}

.columnHeadBanner__title:has(font) {
  width: 640px;
}

@media screen and (max-width: 767px) {
  .columnHeadBanner__title:has(font) {
    width: 480px;
  }
}

@media screen and (max-width: 500px) {
  .columnHeadBanner__title:has(font) {
    width: 230px;
  }

  .columnHeadBanner__title:has(font) h1 {
    font-size: 16px;
  }

  .columnHeadBanner__title:has(font) p {
    font-size: 13px;
  }
}

.columnHeadBanner__title h1 {
  color: #2e2e2e;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.columnHeadBanner__title h1 span {
  letter-spacing: -0.06em;
}

.columnHeadBanner__title p {
  color: #2e2e2e;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

.hairThin__bannerIcon {
  align-content: end;
}

.hairThin__bannerIcon img {
  height: 12.36vw;
  max-height: 232px;
  min-height: 122px;
  width: auto;
}

@media screen and (max-width: 767px) {
  .columnHeadBanner {
    min-height: 122px;
  }
}

.singleColumn section:not(.columnHeadBanner):not(.mostViewed) {
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

.columnDetails {
  align-items: center;
  display: flex;
  gap: 8px;
}

.columnDetails .postTaxTerms {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  place-items: center;
}

.otherItem__textArea .columnDetails .postTaxTerms li {
  font-size: var(--fontMax12Min10);
  line-height: 1.4;
  min-width: auto;
}

.columnDetails .postTaxTerms li {
  background: #d8d8d8;
  border-radius: 100px;
  box-sizing: border-box;
  color: #424242;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  min-width: 80px;
  padding: 2px 8px 1px;
  text-align: center;
}


.columnDetails .postTaxTerms li.columnDate {
  background: transparent;
  border-radius: none;
  color: #7c7c7c;
  font-family: var(--familyInter);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.singleColumnDetails {
  padding-top: 80px;
}

.singleColumnTitle {
  margin-top: 32px;
}

.columnTags .postTaxTerms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.columnTags .postTaxTerms li {
  color: #424242;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  position: relative;
}

.columnTags .postTaxTerms li::before {
  content: "#";
  display: inline-block;
}

.singleColumnTitle {
  border-bottom: 1px solid #ababab;
  border-top: 1px solid #ababab;
  color: #424242;
  font-size: var(--fontMax18Min16);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
  padding: 8px 0;
}

.columnDisplay__thumbnail {
  margin-top: 40px;
}

.singleColumnDetails .shareLink {
  margin-top:0;
}

.singleColumn .greyLink {
  margin-bottom: 30px;
  margin-top: 30px;
}

.alopecia .columnHeadBanner__bg {
  left: auto;
  max-width: 50vw;
  right: 0;
}

.alopeciaBanner__fade {
  background: linear-gradient(to left, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 1) 55%);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.alopecia .columnHeadBanner .container {
  grid-template-columns: 1fr;
}

@media screen and (max-width: 767px) {
  .alopecia .columnHeadBanner__title h1 {
    font-size: var(--fontMax20Min16);
  }
  .alopecia .columnHeadBanner__bg {
    max-width: 64vw;
  }
  .alopeciaBanner__fade {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 1) 73%);
  }
  .singleColumnHead__image {
    height: 32vw;
    max-height: 374px;
    min-height: 121px;
  }
  .singleColumnDetails {
    padding-top: 24px;
  }
  .singleColumnDetails .container {
    display: flex;
    flex-direction: column;
  }
  .columnDisplay__thumbnail {
    margin-top: 0;
    order: 1;
  }
  .columnDetails {
    margin-top: 24px;
    order: 2;
  }
  .columnTags {
    order: 3;
  }
  .singleColumnTitle {
    margin-top: 16px;
    order: 4;
  }
  .singleColumnDetails .container .shareLink {
    margin-top: 0;
    order: 5;
  }
}

/* Contents */

.singleColumnContents {
  line-height: 1.8;
  margin-inline: auto;
  max-width: 1080px;
  padding: 40px 0 80px;
}

.singleColumnContents h2 {
  margin-block: 2em 3em;
}

.singleColumnContents .comm_mb20 {
  margin-bottom: 1.25em;
}

.singleColumnContents p:has(img) {
  margin-block: 2em;
  text-align: center;
}

.singleColumnContents img {
  display: block;
  margin: 0 auto;
}

.singleColumnContents b {
  display: block;
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  .singleColumnContents {
    padding-top: 24px;
  }
}

/* Author Block CSS */

.authorDisplay {
  background: #f7f7f6;
  box-sizing: border-box;
  display: grid;
  gap: 24px;
  grid-template-columns: 100px auto;
  padding: 24px;
}

.authorDisplayImage img {
  border-radius: 50%;
}

.singleContent .authorDisplayName {
  font-weight: 700;
}

.singleContent .authorDisplayText {
  font-size: 14px;
  margin-top: 4px;
}

@media screen and (max-width: 767px) {
  .authorDisplay {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .authorDisplayName {
    text-align: center;
  }

  .authorDisplayImage {
    text-align: center;
  }

  .authorDisplayImage img {
    max-width: 80px;
  }
}

/* Related Posts */

.relatedPosts__section {
  padding-bottom: 2.5rem;
}

.relatedPosts__title {
  color: #424242;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
}

.relatedPosts__nav {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}

.relatedPosts__link {
  background: #767676;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto 1.5rem;
  padding: 4px 10px;
  width: fit-content;
}

.relatedPosts__link h4 {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
}

.relatedPosts__link .arrow {
  align-self: center;
  display: block;
  height: 1.5rem;
  position: relative;
  width: 1.5rem;
}

.relatedPosts__link .arrow::before {
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 8px;
}
