/* ============================================================
   column用
   ============================================================ */

/* --------------------------------------------------
   テーマ用
-------------------------------------------------- */
.content  {
  margin-top: 132px;
  margin-bottom: 120px;
}
.article h2 {
  font-size: 1.4rem;
}
.sidebar h2, .sidebar h3{
  color: #fff;
}
/* PCでは全体をスクロールさせ、下端が見えてから追従する。
   Cocoonの2カラム表示（1024px以上）に合わせる。 */
@media screen and (min-width: 1024px) {
  #sidebar {
    position: static;
    align-self: flex-start;
    height: auto;
  }

  #sidebar.column-sidebar-sticky {
    position: sticky;
    top: var(--column-sidebar-top);
    bottom: auto;
  }

  /* 内側の追従を解除し、サイドバー全体で一度だけ固定する。 */
  #sidebar #sidebar-scroll {
    position: static;
    top: auto;
    padding-top: 0 !important;
  }
}
.toc-title {
  color: #fff;
}
.toc-checkbox:checked~.toc-content {
  padding: 1em;
}
.toc-title {
  font-size: 20px;
  font-weight: bold;
  display: block;
  padding: 10px 0;
}
.toc {
  border: none;
  font-size: 0.9em;
  padding: 0;
  display: block;
}
.under-entry-content h2 {
  padding: 2px 1em;
  color: #fff;
}
@media only screen and (max-width: 960px) {
  .content  {
    margin-top: 120px;
    margin-bottom: 110px;
  }
}
@media only screen and (max-width: 568px) {
  .content  {
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .article h2 {
    font-size: 1.2rem;
  }
}
/* --------------------------------------------------
   記事コンテンツエリア（.entry-content）の中だけリストスタイルを復活させる
-------------------------------------------------- */
.entry-content ul {
    list-style-type: disc; /* 黒丸「・」を表示する */
    padding-left: 0;   /* ★重要：リセットされた左側の余白を確保する */
    margin-bottom: 0;    /* リストの下の余白（お好みで調整） */
}

.entry-content ol {
    list-style-type: decimal; /* 数字「1. 2. 3.」を表示する */
    padding-left: 0;
    margin-bottom: 0;
}

/* リストが入れ子（ネスト）になった場合の余白調整 */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-bottom: 0;
}

/* ============================================================
   COLUMN CTA（記事内 LINE公式アカウント友だち登録 バナー）
   PC-first / breakpoints: 960px, 568px
   ============================================================ */

.column_cta_inner {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--color-white);
  border: 3px solid var(--color-teal);
  border-radius: 25px;
  padding: 20px 25px 20px;
}
/* 左右の葉っぱ装飾（枠の内側に見せるため .column_cta_inner より手前に重ねる） */
.column_cta_inner::before,
.column_cta_inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.column_cta_inner::before {
  left: 10%;
  background-image: url('../img/column/cta_leaf_right.svg');
  height: 88px;
  width: 82px;
}

.column_cta_inner::after {
  right: 10%;
  background-image: url('../img/column/cta_leaf_left.svg');
  width: 70px;
  height: 94px;
}

/* PC: 右側にフェードした犬の写真を背景として敷く */
.column_cta_photo {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 236px;
  background: url('../img/column/cta_dog_pc.png') no-repeat right top / contain;
  pointer-events: none;
  z-index: 0;
}

.column_cta_head,
.column_cta_title,
.column_cta_benefits,
article p.column_cta_note,
.column_cta_btn {
  position: relative;
  z-index: 1;
}

.column_cta_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
}

.column_cta_logo {
  display: block;
  flex-shrink: 0;
  order: 1;
  width: 200px;
  height: auto;
}

article p.column_cta_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 5px;
  order: 2;
  margin: 0;
}

article p.column_cta_title {
  font-weight: 900;
  font-size: 50px;
  line-height: 1;
  color: var(--color-teal);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

article p .column_cta_title_num {
  display: inline-block;
  color: var(--color-pink);
  font-size: 1.4em;
  line-height: 1;
  margin: 0 2px;
}

/* 「老犬との暮らし」の助詞「との」だけ、デザイン通り一回り小さいサイズにする（Figma実測：50px基準に対して40px＝0.8em） */
article p .column_cta_title_small {
  display: inline-block;
  font-size: 0.8em;
}

/* 2行目「安心／大特典プレゼント」は1行目より一回り小さいサイズにする（Figma実測：50px基準に対して45px＝0.9em） */
article p .column_cta_title_line2 {
  display: inline-block;
  font-size: 0.9em;
}

.column_cta_benefits {
  background: var(--color-teal-light);
  border-radius: 6px;
  padding: 11px 10px 10px;
  margin-bottom: 5px;
}

article p.column_cta_benefits_label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
}

/* 「＼」「／」のテキストの代わりに、斜めバーの擬似要素で装飾する */
article p.column_cta_benefits_label::before,
article p.column_cta_benefits_label::after {
  content: '';
  width: 2px;
  height: 14px;
  background-color: var(--color-teal);
}

article p.column_cta_benefits_label::before {
  transform: rotate(-35deg);
}

article p.column_cta_benefits_label::after {
  transform: rotate(35deg);
}

.column_cta_list {
  display: flex;
  gap: 10px;
  padding-top: 5px;
}

.column_cta_item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border-radius: 3px;
  padding: 5px 0 5px 10px;
  min-height: 93px;
}

.column_cta_num {
  position: absolute;
  top: -5px;
  left: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-weight: 900;
  font-size: 16px;
  z-index: 2;
}

.column_cta_item_img {
  flex-shrink: 0;
  width: 78px;
}

.column_cta_item_img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.column_cta_item_text,
article p.column_cta_item_text {
  position: relative;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

/* 項目3：肉球アイコンを「＋おまけ」テキストの右横に添える */
.column_cta_paw {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  vertical-align: middle;
}

/* 項目3：「愛犬の変化記録シート」は「＋おまけ」より一回り小さいサイズにする（Figma実測：18px基準に対して14px） */
.column_cta_item_text_small {
  display: inline-block;
  font-size: 14px;
}

/* 項目1：肉球アイコンを「うちの子」テキストの右横に添える */
.column_cta_paw_corner {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  vertical-align: middle;
}

/* 項目2：小見出し（右に肉球アイコンを疑似要素で配置）／太字メインタイトルの2段構成 */
article p.column_cta_item_sub {
  position: relative;
  display: inline-block;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text);
  padding-right: 34px;
  margin: 0;
}

article p.column_cta_item_sub::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: url('../img/common/icon_ashiato02.svg') no-repeat center / contain;
  pointer-events: none;
}

article p.column_cta_item_main {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

article p.column_cta_note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
}

/* 「＼」「／」のテキストの代わりに、斜めバーの擬似要素で装飾する */
article p.column_cta_note::before,
article p.column_cta_note::after {
  content: '';
  width: 2px;
  height: 14px;
  background-color: var(--color-teal);
}

article p.column_cta_note::before {
  transform: rotate(-35deg);
}

article p.column_cta_note::after {
  transform: rotate(35deg);
}

.column_cta_btn {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-inline: auto;
  background: #06c755;
  box-shadow: 0 8px 9px rgba(0, 0, 0, 0.1);
  padding: 2px 0;
  max-width: 410px;
  width: 100%;
}

.column_cta_btn_icon {
  flex-shrink: 0;
  display: block;
  width: 28px;
}

.column_cta_btn_num {
  font-size: 35px;
  line-height: 1;
  padding-bottom: 5px;
}

@media only screen and (max-width: 960px) {
  /* SP版では左右の葉っぱ装飾を非表示にする */
  .column_cta_inner::before,
  .column_cta_inner::after {
    display: none;
  }

  .column_cta_inner {
    padding: 20px 20px 32px;
  }

  /* SP版：PCと同じく、犬の写真を上部に画面幅いっぱいの背景画像として敷く */
  .column_cta_photo {
    top: -5px;
    left: 0;
    right: 0;
    width: auto;
    height: 180px;
    aspect-ratio: unset;
    background-image: url('../img/column/cta_dog_sp.png');
    background-position: center top;
    background-size: cover;
    border-radius: 0;
  }

  /* SP版：ロゴとバッジを縦積みにする */
  .column_cta_head {
    flex-direction: column;
    align-items: flex-start;
    min-height: 90px;
    gap: 0;
    margin-bottom: 0;
  }

  article p.column_cta_badge {
    order: 2;
  }

  article p.column_cta_title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .column_cta_list {
    flex-direction: column;
    gap: 5px;
  }

  .column_cta_item {
    padding-left: 20px;
  }

  .column_cta_num {
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
  }

  /* 項目2：SP版では肉球アイコンを「整える」ではなく「チェックリスト」の右側に配置する */
  article p.column_cta_item_sub {
    padding-right: 0;
  }

  article p.column_cta_item_sub::after {
    display: none;
  }

  article p.column_cta_item_main {
    display: inline-block;
    position: relative;
    padding-right: 34px;
  }

  article p.column_cta_item_main::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: url('../img/common/icon_ashiato02.svg') no-repeat center / contain;
    pointer-events: none;
  }
}

@media only screen and (max-width: 568px) {
  .column_cta_inner {
    padding: 10px 16px 20px;
    border-radius: 16px;
  }

  .column_cta_logo {
    width: 190px;
  }

  article p.column_cta_badge {
    font-size: 14px;
  }

  article p.column_cta_title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .column_cta_benefits {
    padding: 10px 15px 10px;
  }

  article p.column_cta_benefits_label,
  article p.column_cta_note {
    font-size: 16px;
  }

  .column_cta_item {
    padding: 10px 10px 10px 20px;
    gap: 10px;
  }

  .column_cta_item_img {
    width: 64px;
  }

  .column_cta_item_text,
  article p.column_cta_item_text {
    font-size: 20px;
  }
  .column_cta_item_text_small{
    font-size: 16px;
  }
  article p.column_cta_item_text:has(.column_cta_paw) {
    padding-right: 20px;
  }

  .column_cta_paw {
    width: 16px;
    height: 16px;
  }

  article p.column_cta_item_sub {
    font-size: 12px;
  }

  article p.column_cta_item_main {
    font-size: 16px;
    padding-right: 20px;
  }

  article p.column_cta_item_main::after {
    width: 20px;
    height: 20px;
  }

  .column_cta_btn {
    width: 100%;
  }
}
/*--------------------------------
    監修者＆執筆者
---------------------------------*/
/* 監修者 */
.kanshyu .wrap {
  width: 100%;
}

.kanshyu .kansyu_ttl {
  font-size: 15px;
  display: inline-block;
  text-align: center;
  color: #fff;
  background: #64b4ba;
  padding: 0.3em 0.75em 0.3em;
  margin: 0 0 0.5em;
}

.kanshyu img {
  max-width: 130px;
  height: fit-content;
  border-radius: 50%;
}

.kanshyu-text {
  width: 81%;
}

.kanshyu-text .name {
  margin: 0;
  font-size: 22px;
  color: var(--site-primary);
  font-weight: bold;
  padding: 0;
  border-bottom: none;
  font-family: 'Noto Serif JP';
}

.kanshyu-text .txt {
  font-size: 0.85em;
  margin-bottom: 0;
}

/* 執筆者 */
.writer {
  /* padding:40px 55px ;
  background: #fff;
  border-radius: 10px; */
  margin: 3em 0 2.5em;
}

.writer .writer_ttl {
  font-size: 24px;
  padding: 2px 0 12px 20px;
  line-height: 1.0;
  border-bottom: 1px solid #93cbcf;
  position: relative;
  margin: 0 0 20px;
}

.writer .writer_ttl::before {
  content: '';
  background: linear-gradient(180deg, rgba(147, 203, 207, 1) 0%, rgba(147, 203, 207, 1) 50%, rgba(40, 151, 159, 1) 50%, rgba(40, 151, 159, 1) 100%);
  height: 32px;
  width: 6px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.writer .wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 4%;
  width: 100%;
}

.writer img {
  flex-shrink: 0;
  width: 140px;
  max-width: 140px;
  height: auto;
  border-radius: 50%;
}

.writer-text {
  flex: 1 1 auto;
  min-width: 0;
}

.writer-text .name {
  font-size: 20px;
  color: #28979f;
  font-weight: bold;
}

.writer-text .txt {
  font-size: 0.85em;
}

@media only screen and (max-width: 1024px) {
  .kanshyu-text {
    width: 72%;
  }

  .writer img {
    width: 120px;
  }
}

@media only screen and (max-width: 960px) {
  .kanshyu-text {
    width: 78%;
  }

  .writer {
    padding: 4%;
  }

  .writer .writer_ttl {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .writer img {
    width: 100px;
  }

  .writer-text .name {
    font-size: 18px;
  }
}

@media only screen and (max-width: 568px) {
  .kanshyu {
    position: relative;
    margin-bottom: 40px;
  }

  .kanshyu .kanshyu-text .kansyu_ttl {
    font-size: 12px;
    margin-bottom: 0.5em;
  }

  .kanshyu img {
    float: left;
    position: relative;
    left: initial;
    top: initial;
    width: 30%;
    margin: 0 4.4% 0 0;
  }

  .kanshyu-text .name {
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 10px;
    padding: 0 0 2% 16px;
  }

  .kanshyu .kanshyu-text p {
    margin-bottom: 0;
  }

  .kanshyu-text {
    width: 100%;
  }

  .kanshyu-text .name {
    border-bottom: none;
  }

  .kanshyu .wrap {
    display: inline-block;
  }

  .writer {
    padding: 0;
    margin: 0;
  }

  .writer .wrap {
    gap: 3%;
  }

  .writer img {
    width: 30%;
    max-width: 90px;
  }

  .writer .writer_ttl {
    margin-bottom: 16px;
  }

  .writer .writer_ttl::before {
    height: 82%;
    width: 5px;
    top: 1%;
  }

  .writer .name {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
}
