/* Legacy subscription page alignment. Scoped to this page only. */
.page-id-22 .cb-article__header {
  display: none;
}

.page-id-22 .cb-entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 110px;
}

.page-id-22 #subscription {
  width: 100%;
  color: #52565f;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", メイリオ, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.page-id-22 #subscription *,
.page-id-22 #subscription *::before,
.page-id-22 #subscription *::after {
  box-sizing: border-box;
}

.page-id-22 #subscription > .inner-pc {
  width: 840px;
  max-width: calc(100% - 40px);
  margin: 0 auto 100px;
}

.page-id-22 #subscription > .inner-pc::before {
  display: block;
  width: 390px;
  max-width: 100%;
  aspect-ratio: 780 / 272;
  margin: 100px auto 130px;
  background: url("https://www.cobon-n.com/common/images/subscription/img_title01.png") center / contain no-repeat;
  content: "";
}

.page-id-22 #subscription p,
.page-id-22 #subscription h2,
.page-id-22 #subscription h3,
.page-id-22 #subscription ol,
.page-id-22 #subscription ul {
  margin-top: 0;
}

.page-id-22 #subscription > .inner-pc > .lead {
  margin: 0 0 50px;
  padding: 10px 0;
  line-height: 20px;
}

.page-id-22 #merit {
  margin: 0 0 50px;
}

.page-id-22 #merit > h3,
.page-id-22 #target-product > h3,
.page-id-22 #attention > h3 {
  margin: 0 0 40px;
  color: #52565f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.page-id-22 #merit > ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-id-22 #merit > ol > li {
  display: flex;
  width: calc(50% - 30px);
  min-height: 90px;
  margin: 0 15px 40px;
  padding: 15px 0;
  align-items: center;
  justify-content: center;
  background: #e0a22d;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.page-id-22 #merit > ol > li > a {
  display: flex;
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.page-id-22 #subscription .merit {
  margin: 0 0 50px;
  padding: 50px 0 60px;
  border-bottom: 1px solid #d7d7d7;
}

.page-id-22 #subscription .merit > h3 {
  margin: 0 0 40px;
  padding: 10px 20px;
  background: #fce284;
  color: #52565f;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.page-id-22 #subscription .merit > .lead {
  margin: 0 0 50px;
  padding: 10px 0;
  line-height: 20px;
}

.page-id-22 #point {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.page-id-22 #point caption {
  margin: 0 0 10px;
  color: #52565f;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
}

.page-id-22 #point th,
.page-id-22 #point td {
  height: 60px;
  padding: 10px;
  border: 1px solid #919574;
  vertical-align: middle;
}

.page-id-22 #point td {
  width: auto !important;
}

.page-id-22 #point tr > :first-child {
  width: 130px !important;
}

.page-id-22 #point th {
  width: auto !important;
  background: #919574;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.page-id-22 #point td {
  background: #fff;
}

.page-id-22 #point .continuation,
.page-id-22 #point .keizoku {
  background: #eff0e7;
}

.page-id-22 #point .continuation span,
.page-id-22 #point .keizoku span {
  display: inline-block;
  min-width: 90px;
  padding: 6px 10px;
  border: 1px solid #fc7474;
  background: #fc7474;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.page-id-22 #target-product {
  margin-top: 50px;
}

.page-id-22 #target-product .item-list,
.page-id-22 #target-product .item-list > li {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.page-id-22 #target-product .item-list > li {
  margin-bottom: 0px;
}

.page-id-22 #target-product .item-box-buy {
  position: relative;
  min-height: 270px;
  padding: 42px 0 0 340px;
}

.page-id-22 #target-product .item-box-buy > p.img,
.page-id-22 #target-product .item-box-buy > .item-img {
  position: absolute;
  top: 0;
  left: -30px;
  width: 320px;
  margin: 0;
  padding: 10px 0;
}

.page-id-22 #target-product .item-box-buy > p.img img,
.page-id-22 #target-product .item-box-buy > .item-img img {
  display: block;
  width: 100%;
  height: 218px;
  object-fit: contain;
}

.page-id-22 #target-product .item-box-buy h2,
.page-id-22 #target-product .item-box-buy .item-name {
  margin: 0 0 15px;
  color: #52565f;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-id-22 #target-product .item-box-buy .price,
.page-id-22 #target-product .item-box-buy .capacity {
  margin: 0 0 8px;
}

.page-id-22 #target-product .btn-box {
  display: flex;
  min-height: 122px;
  margin: 0 0 32px;
  padding-top: 80px;
  gap: 12px;
}

.page-id-22 #target-product .sold-box {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.page-id-22 #target-product .sold-box p {
  margin-bottom: 8px;
}

.page-id-22 #target-product .btn-box a,
.page-id-22 #target-product .btn-box button {
  display: flex;
  min-height: 42px;
  padding: 8px 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #e0a22d;
  color: #fff;
  font: inherit;
  text-decoration: none;
}

.page-id-22 #attention,
.page-id-22 .attention {
  margin-top: 50px;
}

.page-id-22 #attention ul,
.page-id-22 .attention ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-id-22 #attention li,
.page-id-22 .attention li {
  position: relative;
  margin: 0 0 10px 16px;
  line-height: 1.8;
}

.page-id-22 #attention li::before,
.page-id-22 .attention li::before {
  position: absolute;
  left: -16px;
  content: "・";
}

@media (max-width: 750px) {
  .page-id-22 .cb-entry-content {
    padding-bottom: 70px;
  }

  .page-id-22 #subscription > .inner-pc {
    width: 90.34vw;
    max-width: none;
    margin-bottom: 60px;
  }

  .page-id-22 #subscription > .inner-pc::before {
    width: 68vw;
    margin: 60px auto 70px;
  }

  .page-id-22 #merit > ol {
    display: block;
    margin: 0;
  }

  .page-id-22 #merit > ol > li {
    width: 100%;
    min-height: 72px;
    margin: 0 0 16px;
    font-size: 17px;
  }

  .page-id-22 #subscription .merit {
    padding: 30px 0 40px;
  }

  .page-id-22 #point {
    font-size: 13px;
  }

  .page-id-22 #point th {
    width: 25%;
  }

  .page-id-22 #point th,
  .page-id-22 #point td {
    padding: 7px;
  }

  .page-id-22 #target-product .item-list > li {
    margin-bottom: 40px;
  }

  .page-id-22 #target-product .item-box-buy {
    min-height: 0;
    padding: 0;
  }

  .page-id-22 #target-product .item-box-buy > p.img,
  .page-id-22 #target-product .item-box-buy > .item-img {
    position: static;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
  }

  .page-id-22 #target-product .item-box-buy > p.img img,
  .page-id-22 #target-product .item-box-buy > .item-img img {
    height: auto;
  }

  .page-id-22 #target-product .item-box-buy h2,
  .page-id-22 #target-product .item-box-buy .item-name {
    font-size: 21px;
  }

  .page-id-22 #target-product .btn-box {
    min-height: 0;
    padding-top: 20px;
    flex-direction: column;
  }
}

/* Exact legacy parity for the subscription point table. */
.page-id-22 #merit-1 #point {
  width: 100%;
  border-top: 1px solid #6f6756;
  border-left: 1px solid #6f6756;
  border-collapse: collapse;
  table-layout: fixed;
  box-sizing: border-box;
  line-height: 20px;
  text-align: center;
}
.page-id-22 #merit-1 #point caption {
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
}
.page-id-22 #merit-1 #point th,
.page-id-22 #merit-1 #point td {
  height: 60px;
  padding: 10px;
  border: 0;
  border-right: 1px solid #6f6756;
  border-bottom: 1px solid #6f6756;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
}
.page-id-22 #merit-1 #point th {
  background: #919574;
  color: #fff;
}
.page-id-22 #merit-1 #point td {
  position: relative;
  background: transparent;
}
.page-id-22 #merit-1 #point tr:nth-child(3) td {
  background: #eff0e7;
}
.page-id-22 #merit-1 #point tr:nth-child(2) td:not(:first-child)::after {
  position: absolute;
  right: 0;
  bottom: -9.92px;
  left: 18px;
  z-index: 1;
  display: block;
  width: 23.2px;
  height: 18.84px;
  margin: auto;
  border: 0;
  background: #a6a6a6;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
}
.page-id-22 #merit-1 #point .continuation,
.page-id-22 #merit-1 #point .keizoku {
  position: relative;
  background: #eff0e7;
}
.page-id-22 #merit-1 #point .continuation span,
.page-id-22 #merit-1 #point .keizoku span {
  position: absolute;
  bottom: -61px;
  left: 0;
  display: block;
  width: 100%;
  min-width: 0;
  height: 60px;
  padding: 7px 0;
  border: 1px solid #fc7474;
  background: #fc7474;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

/* Sold-out notes are not used on the migrated subscription cards. */
.page-id-22 #target-product .sold-box {
  display: none !important;
}

/* Preserve the legacy desktop product-card layout under the current theme. */
@media (min-width: 751px) {
  .page-id-22 #target-product .item-box-buy {margin-bottom: 0px;}
  .page-id-22 #target-product .item-box-buy .title-box { position: relative; }
  .page-id-22 #target-product .item-box-buy h2.title {margin: 0;padding: 0 0 0 20px;background: transparent;font-family: "Noto Sans JP", sans-serif;font-size: 25px;line-height: 1.2962;position: relative;}
  .page-id-22 #target-product .item-box-buy .price { display: inline-block; margin: 0; padding: 10px 0; font-size: 21px; line-height: 20px; position: relative; }
  .page-id-22 #target-product .item-box-buy .capacity { display: inline-block; margin: 0; padding: 0 16px; font-size: 14px; line-height: 20px; }
  .page-id-22 #target-product .item-box-buy > p.img img { display: inline; margin: 0; width: 320px; height: 218px; }
  .page-id-22 #target-product .btn-box {width: 500px;min-height: 122px;padding-top: 20px;margin-bottom: 32px;}
  .page-id-22 #target-product .btn-info { width: 240px; height: 42px; margin: 0; padding: 0; }
  .page-id-22 #target-product .btn-box a.btn-buy { display: block; width: 240px; min-height: 0; padding: 0; background: transparent; color: #625444; }
  .page-id-22 #target-product .btn-buy > span { display: block; width: 240px; height: 40px; margin: 0 0 2px; padding: 0; border: 2px solid #625444; border-radius: 10px; background: #fff; color: #625444; font-size: 17px; line-height: 38px; text-align: center; }
}

/* Keep the legacy 60px row rhythm against global table typography. */
.page-id-22 #merit-1 #point {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", メイリオ, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "ＭＳ Ｐゴシック", sans-serif !important;
}
.page-id-22 #merit-1 #point th,
.page-id-22 #merit-1 #point td {
  height: 60px !important;
  line-height: 20px !important;
  text-align: center !important;
}
.page-id-22 #merit-1 #point .continuation span,
.page-id-22 #merit-1 #point .keizoku span {
  height: 60px !important;
  line-height: 20px !important;
}

/* Match the legacy font and automatic column proportions exactly. */
.page-id-22 #merit-1 #point {
  table-layout: auto !important;
}
.page-id-22 #merit-1 #point th {
  width: calc(119 / 840 * 100%) !important;
}
.page-id-22 #merit-1 #point th:first-child {
  width: calc(130 / 840 * 100%) !important;
}
.page-id-22 #merit-1 #point th,
.page-id-22 #merit-1 #point td,
.page-id-22 #merit-1 #point td span {
  font-family: inherit !important;
}
