/* コラム記事・カテゴリ一覧の見た目（2026-11-02）。app.css の後に読む。.page-single だけに効く
   左に本文、右にカテゴリ・新着・お問い合わせの欄。白地でフラット、ゴシック体 */

.page-single {
  background: #fff;
}
.page-single .contents__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.page-single .contents__inner::before,
.page-single .contents__inner::after {
  display: none;
}

/* ---------- 本文（左） ---------- */
.page-single .main_contents {
  float: none;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 40px 0 80px;
  padding: 0;
}
.page-single .note_content {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: #1d1d1d;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  letter-spacing: 0.05em;
}

/* タイトル上：カテゴリのタグと日付 */
.page-single .col-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.page-single .col-meta__cat {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #4F0E39;
  border-radius: 3px;
  color: #4F0E39;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.page-single .col-meta time {
  color: #999;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

/* タイトル */
.page-single .note_content h1 {
  font-family: inherit;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #1d1d1d;
  border: none;
  margin: 0 0 28px;
  padding: 0;
}

/* 本文 */
.page-single .note_content p {
  font-size: 1.6rem;
  line-height: 2;
  color: #1d1d1d;
  margin: 0 0 1.4em;
}
.page-single .note_content a {
  color: #4F0E39;
  text-decoration: underline;
  text-decoration-color: rgba(79, 14, 57, 0.35);
  text-underline-offset: 0.25em;
}
.page-single .note_content a:hover {
  text-decoration-color: #4F0E39;
}
.page-single .note_content img {
  border-radius: 6px;
  margin-bottom: 0;
}

/* 大見出し：太字＋細い下線（左だけ濃い色） */
.page-single .note_content h2,
.page-single .note_content p ~ h2 {
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #1d1d1d;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 14px;
  margin: 56px 0 24px;
  position: relative;
  border-bottom: 1px solid #e3d6dd;
}
.page-single .note_content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: #4F0E39;
}

/* 小見出し */
.page-single .note_content h3,
.page-single .note_content p ~ h3 {
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1d1d1d;
  border: none;
  border-left: 4px solid #c98aa8;
  border-radius: 0;
  padding: 2px 0 2px 14px;
  margin: 40px 0 16px;
}

/* 箇条書き */
.page-single .note_content ul {
  font-size: 1.6rem;
  line-height: 1.9;
  margin: 0 0 1.6em;
  padding: 18px 22px;
  background: #f7f5f6;
  border-radius: 6px;
}
.page-single .note_content ul li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 8px;
  color: #1d1d1d;
}
.page-single .note_content ul li:last-child {
  margin-bottom: 0;
}
.page-single .note_content ul li:before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4F0E39;
}

/* 番号付きリスト */
.page-single .note_content ol {
  margin: 0 0 1.6em;
  padding: 18px 22px;
  background: #f7f5f6;
  border-radius: 6px;
}
.page-single .note_content ol li {
  font-size: 1.6rem;
  line-height: 1.9;
  padding: 0 0 0 38px;
  margin-bottom: 10px;
  color: #1d1d1d;
}
.page-single .note_content ol li:last-child {
  margin-bottom: 0;
}
.page-single .note_content ol li:before {
  left: 0;
  top: 0.2em;
  -webkit-transform: none;
  transform: none;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.3rem;
  padding: 0;
  background: #4F0E39;
  color: #fff;
}

/* 表：スマホでは横にスクロール */
.page-single .note_content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 0 0 2em;
  font-size: 1.5rem;
  line-height: 1.7;
  border: 1px solid #e6dce1;
  border-radius: 6px;
}
.page-single .note_content thead th {
  background: #4F0E39;
  color: #fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.page-single .note_content th,
.page-single .note_content td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee5ea;
  vertical-align: top;
  min-width: 8em;
}
.page-single .note_content tbody tr:nth-child(even) td {
  background: #faf7f9;
}
.page-single .note_content tbody tr:last-child td {
  border-bottom: none;
}
.page-single .note_content tbody td:first-child {
  font-weight: 700;
}

/* 末尾の「コラムの一覧へ」 */
.page-single .note_content p:last-child a[href$="/column/list/"] {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 24px;
  border: 1px solid #4F0E39;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.4rem;
}

/* カテゴリ一覧の記事カード（本文用の飾りを外す） */
.page-single .note_content ul.cat_list {
  background: none;
  border-radius: 0;
  padding: 0 !important;
}
.page-single .note_content ul.cat_list li {
  padding: 20px 0 !important;
  margin: 0;
  border-bottom: 1px solid #eee !important;
}
.page-single .note_content ul.cat_list li:before,
.page-single .note_content ul.cat_list h2::after {
  content: none;
}
.page-single .note_content ul.cat_list h2 {
  font-size: 1.7rem !important;
  line-height: 1.6 !important;
  margin: 0 0 6px !important;
  padding: 0;
  border: none;
}
.page-single .note_content ul.cat_list h2 a {
  color: #1d1d1d;
  text-decoration: none;
}
.page-single .note_content ul.cat_list h2 a:hover {
  color: #4F0E39;
}
.page-single .note_content ul.cat_list p {
  line-height: 1.8;
}

/* ---------- 右の欄 ---------- */
.page-single .sidebar {
  display: block;
  float: none;
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px !important;
  margin: 40px 0 80px;
  padding: 0;
  background: none;
  box-shadow: none;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}
.page-single .sidebar .side_label {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: #777;
  margin: 0 0 8px;
}
.page-single .sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.page-single .sidebar li {
  padding: 0;
  margin: 0;
}
.page-single .sidebar li:before {
  content: none;
}
.page-single .sidebar .side_cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid #e3d6dd;
  color: #1d1d1d;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  position: relative;
}
.page-single .sidebar .side_cats a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: #4F0E39;
  transition: width 0.25s;
}
.page-single .sidebar .side_cats a:hover::after {
  width: 100%;
}
.page-single .sidebar .side_cats span {
  font-size: 1.2rem;
  font-weight: 400;
  color: #999;
}
.page-single .sidebar .side_new a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #1d1d1d;
  font-size: 1.4rem;
  line-height: 1.7;
  text-decoration: none;
}
.page-single .sidebar .side_new a:hover {
  color: #4F0E39;
}
.page-single .sidebar .side_contact {
  background: #f7f5f6;
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
}
.page-single .sidebar .side_contact__ttl {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d1d1d;
  margin: 0 0 8px;
}
.page-single .sidebar .side_contact__txt {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 14px;
  text-align: left;
}
.page-single .sidebar .side_contact__tel {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4F0E39;
  text-decoration: none;
  margin-bottom: 12px;
}
.page-single .sidebar .side_contact__btn {
  display: block;
  padding: 12px;
  border-radius: 999px;
  background: #4F0E39;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
}

/* ---------- 狭い画面：1列に並べ、右の欄は本文の下へ ---------- */
@media screen and (max-width: 960px) {
  .page-single .contents__inner {
    display: block;
    padding: 0 16px;
  }
  .page-single .main_contents {
    margin: 24px 0 40px;
  }
  .page-single .sidebar {
    position: static;
    width: auto;
    max-width: none !important;
    margin: 0 0 60px;
  }
}
@media screen and (max-width: 767px) {
  .page-single .note_content h1 {
    font-size: 2.2rem;
  }
  .page-single .note_content h2,
  .page-single .note_content p ~ h2 {
    font-size: 1.9rem;
    margin-top: 48px;
  }
  .page-single .note_content h3,
  .page-single .note_content p ~ h3 {
    font-size: 1.7rem;
  }
  .page-single .note_content ul,
  .page-single .note_content ol {
    padding: 14px;
  }
}

/* ---------- ヘッダー（app.css の水色を白に合わせる） ---------- */
.page-single .header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
/* スマホのメニュー（半透明だと本文が透けるので不透明に） */
.page-single .header .header__nav .header__nav-main,
.page-single #top_header .header__nav .header__nav-main {
  opacity: 1;
}
