@charset "UTF-8";
/*
 * ブログ・お知らせ詳細の2カラムとサイドバー（2026.08）
 * 角丸は4px以下、ぼかし影は使わない、区切りは1pxの線と背景色の差で出す
 * 文字はPCで14px以上、グレーは使わない
 */

/* ---------- 2カラム ---------- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media screen and (min-width: 1000px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
  }
  .post-side {
    position: sticky;
    top: 100px;
  }
}
.post-layout > .entry {
  min-width: 0;
}

/* ---------- サイドバー共通 ---------- */
.post-side__block + .post-side__block {
  margin-top: 24px;
}
.post-side__block {
  border: 1px solid #efe8e0;
  background: #fff;
  padding: 20px;
}
.post-side__block--cta {
  border: none;
  padding: 0;
}
.post-side__cat {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #f29600;
  padding-bottom: 10px;
  border-bottom: 1px solid #efe8e0;
}
.post-side__block--cta .post-side__cat {
  padding: 0 0 12px;
  border: none;
}

/* ---------- 診断ボタン ---------- */
.post-side__cta {
  display: block;
  padding: 20px;
  background: #f29600;
  color: #fff;
  transition: background-color .2s ease-out;
}
.post-side__cta + .post-side__cta {
  margin-top: 12px;
}
.post-side__cta:hover {
  background: #d98700;
}
.post-side__cta--navy {
  background: #16243f;
}
.post-side__cta--navy:hover {
  background: #24365a;
}
.post-side__cta-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.post-side__cta-text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
}
.post-side__cta-arrow {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- リンク一覧 ---------- */
.post-side__list {
  margin-top: 4px;
}
.post-side__list li {
  border-bottom: 1px solid #efe8e0;
}
.post-side__list li:last-child {
  border-bottom: none;
}
.post-side__list a {
  display: block;
  position: relative;
  padding: 11px 18px 11px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
  transition: color .2s ease-out;
}
.post-side__list a::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid #f29600;
  border-bottom: 2px solid #f29600;
  transform: rotate(-45deg);
}
.post-side__list a:hover {
  color: #f29600;
}
.post-side__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #f29600;
  text-decoration: underline;
}

/* ---------- カテゴリータグ ---------- */
.post-side__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.post-side__tags a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #efe8e0;
  background: #faf6ef;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  transition: all .2s ease-out;
}
.post-side__tags a:hover {
  border-color: #f29600;
  color: #f29600;
}

/* ---------- お問い合わせ ---------- */
.post-side__block--contact {
  border: none;
  background: #16243f;
  color: #fff;
  padding: 24px 20px;
}
.post-side__contact-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.post-side__contact-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #fff;
}
.post-side__contact-btn {
  display: block;
  margin-top: 16px;
  padding: 14px;
  border-radius: 4px;
  background: #f29600;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s ease-out;
}
.post-side__contact-btn:hover {
  background: #d98700;
}

@media screen and (max-width: 999px) {
  .post-side {
    margin-top: 8px;
  }
}

/* 記事の幅を広げる。style.css の 890px を上書きする（2026.08）
   サイドバー320pxを引いても本文が824px残るよう1200pxにしている */
@media screen and (min-width: 1024px) {
  .single-blog .main .container,
  .single-post .main .container {
    width: min(1200px, 100% - 48px);
  }
}
