@charset "utf-8";

.mainContentsWrapper {
  margin: 80px auto 100px;
  padding: 0 20px;
  width: 1000px;
}

/* カテゴリー、日付などの情報
--------------------------------------------------- */
.columnContentDetail {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 30px auto;
}

.columnCardCategory {
  display: inline-block;
}

/* カテゴリー */
.postCategories ul {
  display: flex;
}

.columnCardCategory li {
  background-color: #fff;
  border-radius: 3px;
  display: inline-block;
  height: 25px;
  margin: 0 8px 5px 0;
  min-width: 100px;
  padding: 0 5px;
  text-align: center;
  transition: .3s;
}

.columnCardCategory li a {
  display: block;
  height: 100%;
  width: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.9em;
}

/* TODO:カテゴリー名を現在仮で付与しているため、必要に応じてclass名も変更する */
.columnCardCategory li.category01 {
  border: 1px solid #FDB141;
}

.columnCardCategory li.category01 a {
  color: #FDB141;
}

.columnCardCategory li.category02 {
  border: 1px solid #B2FD41;
}

.columnCardCategory li.category02 a {
  color: #B2FD41;
}

.columnCardCategory li.category03 {
  border: 1px solid #41A2FD;
}

.columnCardCategory li.category03 a {
  color: #41A2FD;
}

.columnCardCategory li:last-child {
  margin-left: -5px;
  background: none;
  min-width: 30px;
}

.columnCardCount {
  color: #242f3e;
  font-size: 12px;
  font-weight: 700;
  margin-right: 10px;
}

.columnCardDate {
  color: #999;
  display: block;
  font-family: TTFirsNeue, A1 Gothic R, sans-serif;
  font-size: 11px;
  letter-spacing: .1rem;
  text-align: right;
}

/* 記事詳細ページ：見出しなどのデザイン
--------------------------------------------------- */
.columnContentTtl {
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: .14rem;
  margin: 20px 0;
}

.columnContentThumb img {
  height: auto;
  width: 100%;
}

.columnContentTxt p {
  color: #333;
  font-size: 16px;
  letter-spacing: .08rem;
  line-height: 2em;
  margin: 0 0 19.44444px;
}

.columnContentTxt h2 {
  border-bottom: 4px solid #7dcef4;
  font-size: 1.7em;
  font-weight: 700;
  letter-spacing: .3rem;
  line-height: 1.6em;
  margin-bottom: 30px;
  padding-bottom: 12px;
}

.columnContentTxt h2:nth-child(n+2) {
  margin-top: 60px;
}


.columnContentTxt h3 {
  background: #f3f3f3;
  color: #333;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: .3rem;
  line-height: 1.4em;
  margin: 50px 0 25px;
  padding: 1em;
}

/* 記事詳細ページ：コラム固定CTA
--------------------------------------------------- */
.columnCta {
  position: relative;
  overflow: visible;  /* 画像のはみ出しを許可 */
  display: block;      /* aタグをブロック要素化 */
  text-decoration: none; /* 下線を削除 */
  margin: 70px 0 40px;
  padding: 40px 32px;
  background: linear-gradient(180deg, #3BAFB9 0%, #48CCD7 100%);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 全体ホバー時のバナーの動き */
.columnCta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 1; /* グローバルなa:hoverの透過対策 */
}

/* 上層レイヤー：模様画像 */
.columnCta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/img/columns/circle-bg.png');
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  border-radius: 12px;
}

.columnCtaInner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.columnCtaTitle {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ラッパー要素 */
.columnCtaBtnWrap {
  position: relative;
  display: inline-block;
}

/* CTAボタン（見た目としてのボタン） */
.columnCtaBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #e59324;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px 14px 115px;
  border-radius: 50px;
  border: 2px solid #f39c12;
  white-space: nowrap;
}

/* 上と左にはみ出すPKG画像 */
.columnCtaBtnImg {
  position: absolute;
  left: 24px;
  bottom: 2px;
  transform: translateY(0);
  width: 85px;
  height: auto;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}

/* スマホ対応 (640px以下) */
@media (max-width: 640px) {
  .columnCta {
    padding: 20px 14px;
    margin: 50px 0 32px;
  }

  .columnCtaInner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .columnCtaTitle {
    font-size: 20px;
  }

  .columnCtaBtnWrap {
    width: 100%;
  }

  .columnCtaBtn {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 12px 14px 85px;
    font-size: 14px;
  }

  .columnCtaBtnImg {
    width: 72px;
    left: 20px;
    transform: translateY(0);
  }
}


/* 記事詳細ページ：執筆者情報
--------------------------------------------------- */
.columnAuthor {
  background: #f3fbfe;
  border: 1px solid #cfeaf6;
  border-radius: 12px;
  padding: 30px 34px 32px;
}

.columnAuthorLabel {
  color: #4089a9;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 22px;
  text-align: center;
}

.columnAuthorBody {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  margin-left: 10px;
  margin-right: -10px;
}

.columnAuthorIcon {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(64, 137, 169, .15);
  display: flex;
  flex: 0 0 120px;
  height: 120px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 120px;
}

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

.columnAuthorProfile {
  flex: 1;
  min-width: 0;
}

.columnAuthorName {
  border: 0;
  color: #242f3e;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  margin: 0 0 12px;
  padding: 0;
}

.columnAuthorDescription {
  color: #4d5963;
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 1.9;
  margin: 0;
}

.columnAuthorSocial {
  align-items: center;
  border-top: 1px solid #cfeaf6;
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
}

.columnAuthorSocialLabel {
  color: #242f3e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0;
}

.columnAuthorSocialList {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.columnAuthorSocialList li {
  list-style: none;
}

.columnAuthorSocialList a {
  align-items: center;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  min-width: 150px;
  padding: 11px 22px;
  transition: filter .2s, transform .2s;
}

.columnAuthorSocialLink--instagram {
  background: linear-gradient(135deg, #405de6 0%, #833ab4 30%, #c13584 52%, #e1306c 70%, #fd1d1d 84%, #fcb045 100%);
}

.columnAuthorSocialLink--tiktok {
  background: #000;
}

.columnAuthorSocialList a:hover,
.columnAuthorSocialList a:focus-visible {
  color: #fff;
  filter: brightness(.9);
  transform: translateY(-1px);
}

.columnAuthorSocialList a:focus-visible {
  outline: 3px solid #4089a9;
  outline-offset: 3px;
}

.columnAuthorSocialList img {
  filter: brightness(0) invert(1);
  flex: 0 0 22px;
  height: 22px;
  object-fit: contain;
  width: 22px;
}


/* 記事一覧ページ
--------------------------------------------------- */
.columnTtl {
  margin: 20px 0 60px;
  font-size: 20px;
  font-weight: bold;
}

.column {
  margin: 40px auto;
  max-width: 1000px;
}

.columnCardWrap {
  display: flex;
  margin: 10px 0 30px 0;
  width: 100%;
  border-bottom: solid 1px #e1e1e1;
  justify-content: center;
}

.columnCardCategory {
  display: inline-block;
}

.columnCardCategory ul {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.columnCardDetail {
  margin-bottom: 20px;
  width: 410px;
}

.columnCardTtl {
  margin: 15px 0 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14rem;
}

.columnCardDate {
  display: block;
  font-family: TTFirsNeue, "A1 Gothic\3000R", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1rem;
  color: #999;
  text-align: right;
}

.columnCardThumb {
  margin: 0 30px 25px 0;
  overflow: hidden;
}

.columnCardThumb img {
  transition-duration: 0.3s;
  width: 281px;
  height: 170px;
  -o-object-fit: cover;
  object-fit: cover;
}

.columnContentThumb img {
  width: 80%;
  margin: auto;
}

.columnContentThumb {
  margin-bottom: 50px;
  text-align: center;
}

/* レスポンシブ
--------------------------------------------------- */
@media (max-width: 768px) {
  .mainContentsWrapper {
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 30px;
    width: inherit;
  }

  .column {
    margin-bottom: 60px;
    padding: 0;
    width: 95%;
    color: #333;
  }

  .columnContentDetail {
    display: inherit;
  }

  .columnTtl {
    margin: 20px 0 30px;
    font-size: 16px;
  }

  .columnContentTtl {
    margin: 20px 0;
    font-size: 1.4em;
    line-height: 1.6em;
  }

  .columnContentThumb img {
    overflow: hidden;
  }

  .columnContentTxt h2 {
    font-size: 1.4em;
    letter-spacing: 0.2rem;
  }

  .columnContentTxt h3 {
    padding: 0.8em 1em;
  }

  .columnAuthor {
    padding: 24px 20px 26px;
  }

  .columnAuthorLabel {
    margin-bottom: 18px;
  }

  .columnAuthorBody {
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .columnAuthorIcon {
    flex-basis: 86px;
    height: 86px;
    padding: 0;
    width: 86px;
    margin: auto;
  }

  .columnAuthorName {
    font-size: 17px;
  }

  .columnAuthorDescription {
    font-size: 13px;
    line-height: 1.8;
  }

  .columnAuthorSocial {
    flex-direction: column;
    gap: 10px;
  }

  .columnAuthorSocialList {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .columnAuthorSocialList li,
  .columnAuthorSocialList a {
    width: 100%;
  }

  .columnCardWrap {
    margin-right: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .columnCardThumb {
    margin: 0 15px 0 0;
    width: 110px;
  }

  .columnCardDetail {
    margin-bottom: inherit;
    width: calc(100% - 95px);
  }

  .columnCardTtl {
    margin: 0 0 5px;
    font-size: 14px;
    letter-spacing: 0.14rem;
    line-height: 1.8em;
  }

  .columnCardArticle {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: solid 1px #e1e1e1;
  }

  .columnCard__category li {
    min-width: 90px;
  }

  .columnCardCategory li a {
    font-size: 13px;
  }

  .columnCardThumb img {
    width: 100%;
    height: 70px;
  }

}

@media (max-width: 480px) {
  .columnAuthorBody {
    flex-direction: column;
  }

  .columnAuthorProfile {
    width: 100%;
  }
}
