/* ============================================================
   calendar-mashimashi_cp.css
   aaa.html（2027カレンダー超早割Wキャンペーンページ）で
   実際に使用されているセレクタのみを抽出・整理
   ============================================================ */
main {
    background: #ffda54;
    font-family: sans-serif;
}
/* ============================================================
   calendar-mashimashi_cp.css
   aaa.html（2027カレンダー超早割Wキャンペーンページ）で
   実際に使用されているセレクタのみを抽出・整理
   ============================================================ */


/* ---- base ---- */
.breadcrumb {
  background-color: #fff;
  padding: 0.3rem;
  max-width: 1150px;
  margin: 0 auto;
}

.lp_content {
  width: 100%;
  background: #fff;
  background-size: 80px 80px;
}

a:hover,
a:active {
  opacity: 0.8;
}

.inner {
  margin: 0 auto;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  max-width: 1200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}


/* ---- main-visual ---- */
h1 {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.mainv_back .inner {
  padding: 0;
  background: none;
}

.mainv_back .inner img {
  vertical-align: bottom;
  margin-top: 2rem;
}

.section-navi {
  margin-top: -90px;
  padding-top: 100px;
  padding-bottom: 30px;
}

@media screen and (min-width: 600px) {
  [class*=button]:hover {
    opacity: 1 !important;
    cursor: auto !important;
    transition: none !important;
  }
}


/* ---- 全体共通のベース ---- */
.discount-container,
.campaign-detail-container {
  max-width: 1100px;
  margin: 40px auto 0;
  box-sizing: border-box;
  color: #333;
}

@media (max-width: 650px) {
  .discount-container,
  .coupon-container,
  .campaign-detail-container {
    padding: 0 10px 0;
  }
}


/* ---- 1. 割引の仕組みセクション ---- */
.discount-header {
  text-align: center;
  margin-bottom: 35px;
}

.discount-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.unit {
  font-size: 22px;
  font-weight: bold;
  margin-left: 2px;
}


/* ---- 2. クーポンセクション（アコーディオン） ---- */
.coupon-accordion {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #d5e5ff;
}

summary.accordion-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 22px 25px;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box !important;
  background: #d5e5ff;
  position: relative !important;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

summary.accordion-header::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.header-left {
  display: flex;
  align-items: center;
  width: 100%;
  pointer-events: none !important;
}

.header-text {
  width: 100%;
  pointer-events: none !important;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coupon-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a; /* ガツンとした黒字 */
  margin: 0 0 6px 0;
  line-height: 1.4;
  pointer-events: none !important;
}

.coupon-subtitle {
    font-size: 16px;
    margin: 0;
    color: #0049be;
    pointer-events: none !important;
    width: 31%;
    background: #ffffff;
    padding: 13px;
    text-align: center;
    font-weight: bold;
    border-radius: 41px;
    border: 3px solid #0049be;
    margin-top: 10px;
}

.accordion-arrow {
  position: relative;
  width: 12px;
  height: 12px;
  border-top: 3px solid #0049be;
  border-right: 3px solid #0049be;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
  pointer-events: none !important;
  z-index: 2 !important;
}

.coupon-accordion[open] .accordion-arrow {
  transform: rotate(-45deg);
}

.accordion-content {
  padding: 0 25px 30px 25px;
}

.coupon-code-box {
  border: 3px dashed #0049be;/* クーポン枠：太めの点線赤 */
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin: 25px 0;
  box-sizing: border-box;
}

.code-label {
  font-size: 16px;
  color: #555;
  margin: 0 0 8px 0;
  font-weight: bold;
}

.code-value {
  font-size: 38px;
  font-weight: bold;
  color: #0049be;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.copy-btn {
  background-color: #0049be;
  color: #fff;
  border: none;
  padding: 10px 32px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
  width: 350px;
  box-sizing: border-box;
  box-shadow: 0 4px 0 #023079;
}

.copy-btn:hover {
  background-color: #023079;
}

.copy-btn.copied {
  background-color: #1a1a1a; /* コピー後は漆黒 */
  box-shadow: 0 4px 0 #000;
}

.info-section {
  margin-top: 22px;
  text-align: left;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.info-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background-color: #d11f1f; /* タイトル横のバー：赤 */
  border-radius: 2px;
  flex-shrink: 0;
}

.info-text {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding-left: 16px;
}

.info-text strong {
  color: #d11f1f; /* 強調テキスト：赤 */
}

@media (max-width: 650px) {
  .accordion-header {
    padding: 15px;
  }

  .coupon-title {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .coupon-subtitle {
    font-size: 12px;
    width: 100%;
  }

  .copy-btn {
    width: 100%;
    font-size: 16px;
  }

  .info-title {
    font-size: 15px;
  }

  .info-text {
    font-size: 13px;
    padding-left: 0;
  }

  .discount-subtitle {
    font-size: 14px;
  }
}


/* ---- 3. キャンペーン詳細 ＆ フッターセクション ---- */
.detail-box {
  background-color: #fff;
  padding: 35px 40px;
}

.detail-list {
  margin: 0;
  padding: 0;
}

.detail-item {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  font-size: 17px;
  line-height: 1.7;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item dt {
  width: 220px;
  font-weight: normal;
  flex-shrink: 0;
}

.detail-item dd {
  margin: 0;
  flex-grow: 1;
}

.highlight-text {
  background-color: #fffac2;
  color: #000000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.notes-box {
  background-color: #fffac2;
  padding: 35px 40px;
}

.notes-title {
  font-size: 19px;
  font-weight: bold;
  margin: 0 0 20px 0;
}

.notes-list {
  margin: 0 0 15px;
  /* padding: 0 0 0 24px; */
  font-size: 14px;
  /* color: #555; */
  line-height: 1.8;
}

.notes-list li:last-child {
  margin-bottom: 0;
}

.cta-section {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta-lead {
  font-size: 18px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 4px;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.cta-main {
  font-size: 23px;
  font-weight: bold;
  margin: 0 0 17px 0;
  letter-spacing: 1px;
}

.cta-button-wrap {
  display: inline-block;
  width: 100%;
  max-width: 600px;
}

.cta-button {
  display: block;
  background-color: #fff;
  color: #000000;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  padding: 18px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* ---- レスポンシブ（スマホ用） ---- */
@media (max-width: 650px) {
    .coupon-title {
        font-size: 14px;
        text-align: center;
    }

  .code-value {
    font-size: 30px;
  }

  .detail-box,
  .notes-box {
    padding: 25px 20px;
  }

  .detail-item {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .detail-item dt {
    width: 100%;
    font-weight: bold;
  }

  .cta-main {
    font-size: 22px;
  }

  .cta-button {
    font-size: 19px;
  }

  .notes-list {
    margin: 0;
    padding: 0;
    font-size: 14px;
  }

  .notes-list li {
    margin-bottom: 0;
  }
}


/* ---- 計算例：スマホ用レスポンシブ ---- */
.heading-banner {
  text-align: center;
  margin: 20px 0;
}

.how-to-toggle-btn {
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  border: 3px solid #000000;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  transition: background-color 0.2s, color 0.2s;
  width: 700px;
  max-width: 100%;
}

.how-to-toggle-btn:hover {
  background-color: #000000;
  color: #fff;
  border: 3px solid #000000;
}

.how-to-toggle-btn:active {
  transform: translateY(0);
}

.how-to-wrapper {
  transition: max-height 0.4s ease-in-out, opacity 0.4s;
  max-height: 2000px;
  opacity: 1;
  width: 100%;
}

.how-to-wrapper.is-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.how-to-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.how-to-step {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #000000;
}

.how-to-step-header {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 10px 0;
  font-weight: bold;
  background-color: #000000;
  border-right: 1px solid #000000;
}

.how-to-step-label {
  font-size: 1.2em;
}

.how-to-step-num-bold {
  font-size: 2.2em;
  line-height: 1;
}

.how-to-step-content {
  flex-grow: 1;
  padding: 15px 20px;
  background-color: white;
  color: #222;
  font-size: 15px;
  line-height: 1.6;
  border: none;
}

.how-to-separator {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.how-to-separator::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #000000;
}

.how-to-step-content img {
  height: 3em;
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}

.how-to-step-content .how-to-image-large {
  height: auto;
  width: 100%;
  display: block;
  margin: 10px auto 0;
  vertical-align: initial;
  border: solid 1px #ccc;
}

.how-to-tekiyou {
  background: #9d0000;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
}


/* ---- 関連リンク（2列グリッド配置） ---- */
.how-to-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  padding: 0;
  margin: 30px auto;
  list-style: none;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}


/* ---- 各ブロックの装飾 ---- */
.how-to-links-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
  /* overflow: hidden; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
}

.how-to-links-list a {
  text-decoration: none;
  display: block;
}

.how-to-links-list img {
  width: 100%;
  height: auto;
  display: block;
}


/* ---- リンクテキスト部分 ---- */
.how-to-links-name {
  padding: 12px 15px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  text-align: center;
  background-color: #fff;
}


/* ---- スマホ用レスポンシブ（2列を維持） ---- */
@media (max-width: 650px) {
  .how-to-links-list {
    gap: 12px;
    padding: 0 10px;
    grid-template-columns: repeat(1, 1fr);
  }

  .how-to-links-name {
    padding: 8px 5px;
    font-size: 13px;
    line-height: 1.3;
  }
}


/* ---- セクション見出し：赤ベタをやめて軽めに見せる ---- */
.lp-section-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 48px 0 24px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 3px solid #d11f1f;
  color: #222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}


/* ---- 小さなアイコン風の丸 ---- */
.lp-section-title::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #fffac2;
  border: 2px solid #000000;
  box-sizing: border-box;
}


/* ---- 補足テキスト付き見出し ---- */
@media (max-width: 1024px) {
    .lp-section-title {
        font-size: 16px;
        padding: 0;
    }
}

.step-calc-main-container {
  max-width: 1100px;
  width: 100%;
  margin: 40px auto;
  padding: 35px 50px 35px 35px;
  border: 3px solid #d11f1f;
  border-radius: 20px;
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: sans-serif;
  overflow: hidden;
}

.step-calc-layout-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 35px;
    align-items: center;
    box-sizing: border-box;
}

.step-calc-left-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.step-calc-photo-wrap {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-calc-photo-wrap img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.step-calc-goto-btn {
    display: block;
    width: 100%;
    background-color: #d11f1f;
    color: #ffffff;
    padding: 15px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    margin-top: 15px;
    box-shadow: 0 4px 0 #b30010;
    transition: all 0.1s ease;
    box-sizing: border-box;
}

.step-calc-goto-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 #b30010;
}

.step-calc-goto-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 transparent;
}

.step-calc-right-flow {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

.step-calc-header-zone {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  /* margin-bottom: 25px; */
  flex-wrap: wrap;
  flex-direction: column;
}

.step-calc-tag-lbl {
  background-color: #d11f1f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
}

.step-calc-prod-title {
  font-size: 25px;
  font-weight: 900;
  color: #111111;
  margin: 0;
  /* letter-spacing: -0.5px; */
}

.step-calc-plan-badge {
  background-color: #e5e5e5;
  color: #d11f1f;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
}

.step-calc-timeline-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.step-calc-box {
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  flex-shrink: 0;
}

.step-size-1 {
  width: 145px;
  height: 114px;
  padding: 16px 8px;
}

.step-size-2 {
  width: 180px;
  height: 130px;
  padding: 18px 8px;
}

.step-size-3 {
  width: 220px;
  height: 148px;
  padding: 20px 8px;
}

.base-gray {
  border: 1.5px solid #666666; background-color: #ffffff;
}

.border-red {
  border: 2px solid #d11f1f;
}

.border-blue {
  border: 2px solid #0049be;
}

.color-pink-bg {
  background-color: #fff8f7;
}

.color-white-bg {
  background-color: #ffffff;
}

.position-rel {
  position: relative;
}

.step-calc-box-lbl {
  font-weight: 700;
  margin-bottom: 4px;
}

.step-size-1 .step-calc-box-lbl {
  font-size: 15px;
}

.step-size-2 .step-calc-box-lbl {
  font-size: 17px;
}

.step-size-3 .step-calc-box-lbl {
  font-size: 19px;
}

.font-gray {
  color: #555555;
}

.font-red {
  color: #d11f1f;
}

.font-blue {
  color: #0049be;
}

.step-calc-box-price {
  font-weight: 800;
  line-height: 1.1;
}

.step-size-1 .step-calc-box-price {
  font-size: 24px;
}

.step-size-2 .step-calc-box-price {
  font-size: 28px;
}

.step-size-3 .step-calc-box-price {
  font-size: 36px;
}

.step-calc-box-price span {
  font-weight: 700;
  margin-left: 2px;
}

.step-size-1 .step-calc-box-price span {
  font-size: 14px;
}

.step-size-2 .step-calc-box-price span {
  font-size: 16px;
}

.step-size-3 .step-calc-box-price span {
  font-size: 18px;
}

.step-calc-status-tag {
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  margin-top: 6px;
  white-space: nowrap;
}

.step-size-2 .step-calc-status-tag {
  font-size: 13px;
}

.step-size-3 .step-calc-status-tag {
  font-size: 14px;
}

.bg-pink-badge {
  background-color: #ffe5e5; color: #000000;
}

.bg-blue-badge {
  background-color: #0049be; color: #ffffff;
}

.step-calc-arrow {
  color: #ffffff;
  padding: 14px 22px 14px 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  margin: 0 -6px;
  text-align: center;
  z-index: 2;
  position: relative;
  height: 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}

.bg-red-arrow {
  background-color: #d11f1f;
  min-width: 110px;
}

.bg-blue-arrow {
  background-color: #0049be;
  min-width: 150px;
}

.step-calc-arrow-sub {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.step-calc-arrow-main {
  font-size: 16px;
  font-weight: 800;
  color: #fff200;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

.bg-red-arrow .step-calc-arrow-sub {
  color: #ffffff;
}

.bg-red-arrow .step-calc-arrow-main {
  color: #fff200;
}

.bg-blue-arrow .step-calc-arrow-sub {
  color: #ffffff;
}

.bg-blue-arrow .step-calc-arrow-main {
  color: #fff200;
  font-size: 18px;
}

.step-calc-total-badge {
  position: absolute;
  top: -41px;
  right: -42px;
  background-color: #0049be;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.3;
  /* box-shadow: 0 4px 8px rgba(0, 73, 190, 0.35); */
  z-index: 5;
}

@media (max-width: 1024px) {
  .step-calc-main-container {
    padding: 25px 15px;
  }

  .step-calc-layout-grid {
    grid-template-columns: 100%;
    gap: 25px;
  }

  .step-calc-left-product {
    max-width: 280px;
    margin: 0 auto;
  }

  .step-calc-header-zone {
    justify-content: center;
    margin-bottom: 20px;
  }

  .step-calc-prod-title {
    font-size: 18px;
    text-align: center;
    width: 100%;
  }

  .step-calc-timeline-row {
    flex-direction: column;
    gap: 12px;
    padding-right: 0;
  }

  .step-size-1,
  .step-size-2,
  .step-size-3 {
    width: 100%;
    min-width: auto;
    height: auto;
    padding: 18px 10px;
  }

  .step-calc-arrow {
    margin: 0;
    width: 100%;
    height: 52px;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%, 0 0);
    min-width: auto;
    max-width: 100%;
  }

  .step-calc-total-badge {
    top: -15px;
    right: 15px;
  }
}

.notes-title_mini {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}


/* ---- 2027 CALENDAR PRODUCT LIST 今回専用クラス ---- */
.cp2027-calendar-product-list {
    width: 100%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    width: 1100px;
    margin: 0 auto;
}

.cp2027-calendar-product-list *,
.cp2027-calendar-product-list *::before,
.cp2027-calendar-product-list *::after {
  box-sizing: border-box;
}

.cp2027-calendar-inner {
  width: 1100px;
  margin: 0 auto;
}


/* ---- CATEGORY (基本設定：次郎系を意識したカラー) ---- */
.cp2027-calendar-category {
  /* メインカラー：画像「ワリビキ」のような、力強い赤 */
  --cp2027-main-color: #d11f1f;
  /* ライトカラー：スープの油分のような、こってりとした黄色 */
  --cp2027-light-color: #fffac2;
  /* ボーダーカラー：画像のメインテキスト「クーポン」の黄色 */
  --cp2027-border-color: #f7d611;
  padding: 14px;
  background: var(--cp2027-light-color);
  border: 4px solid var(--cp2027-border-color); /* ボーダーを太くして、より力強い印象に */
  margin-bottom: 30px;
  border-radius: 8px; /* 少し角を丸めて、レトロな看板のような雰囲気に */
}


/* ---- 1. 名入れ卓上（赤） ---- */
.cp2027-calendar-category--red {
  --cp2027-main-color: #d11f1f;   /* インパクトある赤 */
  --cp2027-light-color: #fffac2;  /* スープ風の黄色 */
  --cp2027-border-color: #f7d611; /* 黄色枠線 */
}


/* ---- 2. オリジナル卓上（黒） ---- */
.cp2027-calendar-category--green {
  --cp2027-main-color: #1a1a1a;   /* どっしりとした漆黒 */
  --cp2027-light-color: #fffac2;  /* スープ風の黄色 */
  --cp2027-border-color: #f7d611; /* 黄色枠線 */
}


/* ---- 3. 名入れ壁掛け（赤） ---- */
.cp2027-calendar-category--blue {
  --cp2027-main-color: #d11f1f;   /* インパクトある赤 */
  --cp2027-light-color: #fffac2;  /* スープ風の黄色 */
  --cp2027-border-color: #f7d611; /* 黄色枠線 */
}


/* ---- 4. オリジナル壁掛け（黒） ---- */
.cp2027-calendar-category--gold {
  --cp2027-main-color: #1a1a1a;   /* どっしりとした漆黒 */
  --cp2027-light-color: #fffac2;  /* スープ風の黄色 */
  --cp2027-border-color: #f7d611; /* 黄色枠線 */
}


/* ---- CATEGORY HEADER ---- */
.cp2027-calendar-category-head {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 14px 15px;
  border-bottom: 1px solid var(--cp2027-main-color); /* メインカラー（赤）に変更 */
}


/* ---- アイコン ---- */
.cp2027-calendar-category-icon {
  position: relative;
  flex: 0 0 92px;
  height: 105px;
  background: #fff;
  border: 3px solid var(--cp2027-main-color);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--cp2027-main-color);
  transform: perspective(300px) rotateY(-7deg);
}

.cp2027-calendar-category-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  height: 15px;
  background: var(--cp2027-main-color);
}

.cp2027-calendar-category-icon span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.cp2027-calendar-category-icon strong {
  font-size: 24px;
  line-height: 1;
}

.cp2027-calendar-category-icon small {
  margin-top: 8px;
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
}


/* ---- 見出し ---- */
.cp2027-calendar-category-title {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cp2027-calendar-category-title h2 {
  margin: 0;
  color: #333; /* 文字色は黒に戻す */
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 1px 1px 0 #fff; /* 文字をはっきりさせるための白影 */
}


/* ---- タイトルテキストを「ワリビキ」のように赤にする ---- */
.cp2027-calendar-category-title p {
  margin: 0;
  color: #555; /* 少し薄めの黒に */
  font-size: 20px;
  line-height: 1.65;
  font-weight: 700;
}


/* ---- PRODUCT GRID ---- */
.cp2027-calendar-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 7px;
  margin-top: 8px;
}


/* ---- メイン商品 ---- */
.cp2027-calendar-product--main {
  grid-row: span 2;
  grid-column: span 1;
}


/* ---- 5商品用 ---- */
.cp2027-calendar-product-layout--five {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: minmax(185px, auto);
}


/* ---- PRODUCT CARD ---- */
.cp2027-calendar-product {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cp2027-border-color); /* ボーダーはメインカラーに変更 */
  text-decoration: none;
  color: #222;
  padding: 7px;
  overflow: hidden;
  transition:
  transform .2s ease,
  box-shadow .2s ease;
}

.cp2027-calendar-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
}


/* ---- PRODUCT IMAGE ---- */
.cp2027-calendar-image {
  width: 100%;
  flex: 1 1 auto;
  min-height: 120px; /* 少し高さを拡大 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px; /* 上下のパディングを削除して画像を限界まで広げる */
  background: #fff;
}

.cp2027-calendar-image img {
  width: 100%;
  height: 100%;
  max-height: 180px; /* 【調整】145pxから180pxに拡大 */
  object-fit: contain;
  display: block;
}


/* ---- メイン画像 ---- */
.cp2027-calendar-product--main .cp2027-calendar-image {
  min-height: 250px;
}

.cp2027-calendar-product--main .cp2027-calendar-image img {
  max-height: 320px; /* 【調整】275pxから320pxに拡大 */
}


/* ---- BADGE ---- */
.cp2027-calendar-product-badge,
.cp2027-calendar-main-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 4px 14px;
  color: #fff;
  background: var(--cp2027-main-color);
  font-size: 11px;
  font-weight: 900;
  clip-path: polygon(
  0 0,
  100% 0,
  82% 100%,
  0 100%
  );
}

.cp2027-calendar-main-badge {
  font-size: 12px;
  padding: 6px 18px;
}


/* ---- PRODUCT NAME ---- */
.cp2027-calendar-product-name {
  min-height: 34px;
  margin-top: 5px;
  padding: 5px 7px;
  color: #222;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  border-top: 1px solid #ddd;
}


/* ---- メイン商品 ---- */
.cp2027-calendar-product--main .cp2027-calendar-product-name {
  font-size: 17px;
  line-height: 1.3;
  padding: 9px 10px;
  min-height: 50px;
}


/* ---- PRICE / LOT ---- */
.cp2027-calendar-product-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 4px;
}


/* ---- 価格 ---- */
.cp2027-calendar-price {
    display: flex;
    gap: 2px;
    white-space: nowrap;
    color: #d11f1f !important;
    align-items: flex-end;
}

.cp2027-calendar-price span {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  color: #fff;
  background: #d11f1f !important;
  font-size: 9px;
  font-weight: 900;
}

.cp2027-calendar-price strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.cp2027-calendar-price small {
  font-size: 8px;
  font-weight: 800;
}


/* ---- ロット ---- */
.cp2027-calendar-lot {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  white-space: nowrap;
}

.cp2027-calendar-lot b {
  padding: 2px 5px;
  border: 1px solid #333;
  background: #fff;
  font-size: 8px;
  line-height: 1.2;
}

.cp2027-calendar-lot strong {
  font-size: 11px;
  font-weight: 900;
}


/* ---- メイン価格 ---- */
.cp2027-calendar-product--main .cp2027-calendar-price strong {
  font-size: 28px;
}

.cp2027-calendar-product--main .cp2027-calendar-price small {
  font-size: 10px;
}

.cp2027-calendar-product--main .cp2027-calendar-lot b {
  font-size: 10px;
}

.cp2027-calendar-product--main .cp2027-calendar-lot strong {
  font-size: 14px;
}


/* ---- CATEGORY BUTTON ---- */
.cp2027-calendar-category-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(600px, 92%);
  min-height: 48px;
  margin: 12px auto 3px;
  padding: 10px 45px 10px 20px;
  color: #fff;
  background: var(--cp2027-main-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  border-radius: 4px;
  box-shadow: 0 3px 0 rgba(0,0,0,.12);
  transition:
  transform .2s ease,
  opacity .2s ease;
}

.cp2027-calendar-category-link:hover {
  color: #fff;
  opacity: .88;
  transform: translateY(-2px);
}

.cp2027-calendar-category-link span {
  position: absolute;
  right: 20px;
  font-size: 22px;
  line-height: 1;
}


/* ---- TABLET ---- */
@media (max-width: 900px) {
  .cp2027-calendar-category {
    padding: 8px;
  }

  .cp2027-calendar-category-head {
    min-height: 120px;
    gap: 12px;
  }

  .cp2027-calendar-category-icon {
    flex-basis: 75px;
    height: 88px;
  }

  .cp2027-calendar-category-icon strong {
    font-size: 20px;
  }

  .cp2027-calendar-category-title {
    gap: 15px;
  }

  .cp2027-calendar-category-title h2 {
    font-size: 28px;
  }

  .cp2027-calendar-category-title p {
    font-size: 11px;
  }

  .cp2027-calendar-product-layout {
    grid-auto-rows: minmax(140px, auto);
  }

  .cp2027-calendar-product--main .cp2027-calendar-image {
    min-height: 190px;
  }

  .cp2027-calendar-product-name {
    font-size: 10px;
  }

  .cp2027-calendar-product--main .cp2027-calendar-product-name {
    font-size: 14px;
  }

  .cp2027-calendar-price strong {
    font-size: 15px;
  }

  .cp2027-calendar-product--main .cp2027-calendar-price strong {
    font-size: 22px;
  }
}


/* ---- MOBILE ---- */
@media (max-width: 600px) {
  .cp2027-calendar-category {
    padding: 5px;
  }

  .cp2027-calendar-category-head {
    min-height: 100px;
    padding: 6px;
  }

  .cp2027-calendar-category-icon {
    flex: 0 0 60px;
    height: 72px;
  }

  .cp2027-calendar-category-icon span {
    font-size: 8px;
  }

  .cp2027-calendar-category-icon strong {
    font-size: 16px;
  }

  .cp2027-calendar-category-icon small {
    font-size: 5px;
    margin-top: 5px;
  }

  .cp2027-calendar-category-title {
    display: block;
  }

  .cp2027-calendar-category-title h2 {
    font-size: 22px;
  }

  .cp2027-calendar-category-title p {
    margin-top: 4px;
    font-size: 9px;
  }

  .cp2027-calendar-product-layout,
  .cp2027-calendar-product-layout--five {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .cp2027-calendar-product--main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .cp2027-calendar-product--main .cp2027-calendar-image {
    min-height: 230px;
  }

  .cp2027-calendar-product--main .cp2027-calendar-image img {
    max-height: 250px;
  }

  .cp2027-calendar-product-name {
    min-height: 36px;
    font-size: 10px;
  }

  .cp2027-calendar-product--main .cp2027-calendar-product-name {
    font-size: 15px;
  }

    .cp2027-calendar-product-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
  .cp2027-calendar-lot {
    margin: 4px 0 0;
    justify-content: flex-end;
  }

  .cp2027-calendar-category-link {
    width: 96%;
    min-height: 44px;
    font-size: 13px;
  }

  .cp2027-calendar-pc {
    display: none;
  }
}


/* ---- 二郎系共通カラー設定 ---- */
.jiro-campaign-container {
    width: 100%;
    /* max-width: 1000px; */
    margin: 0 auto;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    /* background-color: #fdfcee; */
    /* padding: 20px; */
    box-sizing: border-box;
}

/* ---- 上段：ステップブロック ---- */
.jiro-step-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  margin-bottom: 25px;
}

.jiro-fuda {
    position: absolute;
    top: -15px;
    background: #f7d611;
    border: 3px solid #1a1a1a;
    font-weight: 900;
    font-size: 15px;
    padding: 4px 8px;
    transform: rotate(-8deg);
    box-shadow: 2px 2px 0 #1a1a1a;
    z-index: 2;
}

.fuda-left {
  left: -10px;
}

.fuda-right {
    left: -5%;
    top: -14px;
    transform: rotate(-14deg);
}

.jiro-step-box {
  border-radius: 10px;
  position: relative;
}

.jiro-step-box--red {
  flex: 1;
  border: 3px solid #d11f1f;
  background: #fff;
}

.jiro-step-box--red .jiro-step-header {
    background: #d11f1f;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.jiro-step-box--black {
  flex: 2;
  border: 3px solid #1a1a1a;
  background: #fff;
}

.jiro-step-box--black .jiro-step-header {
    background: #1a1a1a;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.jiro-step-content {
  padding: 15px;
  text-align: center;
}

.jiro-step-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.jiro-step-title .num {
  font-size: 16px;
}

.jiro-step-discount {
  color: #d11f1f;
  font-weight: 900;
}

.jiro-step-discount .val {
  font-size: 42px; line-height: 1;
}

.jiro-step-discount .unit {
  font-size: 20px;
}

.jiro-step-content-group {
  display: flex;
  align-items: center;
  padding: 15px;
  justify-content: space-around;
}

.jiro-sub-step {
  text-align: center;
}

.jiro-sub-discount {
  font-weight: bold; margin-top: 5px; font-size: 15px;
}

.highlight-red {
    color: #d11f1f;
    font-size: 36px;
    font-weight: 900;
}

.jiro-plus {
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.jiro-plus-sm {
  font-weight: bold; font-size: 18px; color: #1a1a1a;
}


/* ---- 下段：プレゼントクーポン情報 ---- */
.jiro-present-box {
    background: #fff;
    border: 3px solid #d5e5ff;
    border-radius: 12px;
    /* padding: 15px; */
    display: flex;
    align-items: center;
    gap: 15px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    margin: 30px 0;
    max-width: 900px;
    margin: 0 auto 30px;
}

.jiro-present-icon {
  width: 90px;
  height: 90px;
  border: 2px solid #f7d611;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffac2;
}

.jiro-present-icon img {
  width: 100%; height: auto;
}

.jiro-present-content {
  flex: 1;
}

.jiro-present-header {
    background: #d5e5ff;
    /* border: 2px solid #1a1a1a; */
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 900;
    font-size: 16px;
    text-align: center;
    margin-bottom: 2px;
    color: #000000;
}
.jiro-present-body {
    /* background: #fffac2; */
    border-radius: 8px;
    /* padding: 12px; */
    text-align: center;
    /* border: 1px solid #f7d611; */
}

.jiro-present-body .main-text {
  font-size: 16px; font-weight: bold; margin: 0 0 4px 0;
}

.jiro-present-body .sub-text {
  font-size: 13px; font-weight: bold; margin: 0; color: #333;
}


/* ---- スマホ対応 ---- */
@media (max-width: 768px) {
  .jiro-step-section,
  .jiro-present-box {
    flex-direction: column;
  }

  .fuda-right {
    right: 5%;
  }
}

.text_yellow{
  color: #fec802;
}

/* ============================================================
   スマホサイズ（画面幅 650px 以下）用の崩れ修正・追記指定
   ============================================================ */
@media screen and (max-width: 650px) {

  /* ---- 1. 全体・コンテナ周り ---- */
  .inner,
  .discount-container,
  .campaign-detail-container,
  .step-calc-main-container,
  .cp2027-calendar-product-list,
  .cp2027-calendar-inner,
  .jiro-campaign-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 5px ;
  }

  /* ---- 2. 計算例 toggle ボタン ---- */
  .how-to-toggle-btn {
    width: 100% !important;
    font-size: 16px;
    padding: 12px 10px;
  }

  /* ---- 3. 計算フロー（step-calc）のスマホ最適化 ---- */
  .step-calc-main-container {
    padding: 20px 12px !important;
  }

  .step-calc-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .step-calc-timeline-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* 各ステップボックスの横幅を100%に */
  .step-size-1,
  .step-size-2,
  .step-size-3 {
    width: 100% !important;
    height: auto !important;
    padding: 15px 10px !important;
  }

  /* 丸い「合計割引」バッジの位置調整 */
  .step-calc-total-badge {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin: 10px auto 0 !important;
    width: 80px !important;
    height: 80px !important;
    font-size: 13px !important;
  }

  /* ---- 4. 二郎系ステップ（jiro-step）の崩れ修正 ---- */
  .jiro-step-section {
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 20px;
  }

  .jiro-step-box--red,
  .jiro-step-box--black {
    width: 100% !important;
    flex: none !important;
  }

  .jiro-step-content-group {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 15px 10px !important;
  }

  .jiro-plus {
    margin: 5px 0;
  }

  /* 札（ラベル）の食い込み・はみ出し調整 */
  .jiro-fuda {
    font-size: 12px !important;
    padding: 3px 6px !important;
    top: -12px !important;
  }

  .fuda-left {
    left: 10px !important;
  }

  .fuda-right {
    left: 10px !important;
    top: -12px !important;
    transform: rotate(-5deg) !important;
  }

  /* プレゼントボックス */
  .jiro-present-box {
    flex-direction: column !important;
    padding: 12px !important;
  }

  .jiro-present-icon {
    width: 70px !important;
    height: 70px !important;
  }

  .jiro-present-content {
    width: 100% !important;
  }

  /* ---- 5. クーポン・アコーディオン周りの微調整 ---- */
  summary.accordion-header {
    padding: 15px 10px !important;
  }

  .coupon-subtitle {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .code-value {
    font-size: 26px !important;
    word-break: break-all;
  }

  .copy-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ---- 6. CTAボタン ---- */
  .cta-button-wrap {
    width: 100% !important;
  }

  .cta-button {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 10px !important;
    font-size: 17px !important;
  }
.jiro-step-box--black .jiro-step-header {
    font-size: 14px;
}
.jiro-step-box--red .jiro-step-header {
    font-size: 14px;
}
.jiro-present-body .main-text {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 4px 0;
    display: flex;
    flex-direction: column;
}
.cp2027-calendar-category {
    border: 2px solid var(--cp2027-border-color);
}
}

.w-camp-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* 💡これで左右のボックス全体の高さが揃います */
    max-width: 1100px;
    width: 100%;
    margin: 30px auto;
    box-sizing: border-box;
    position: relative;
}

.w-camp-box {
    flex: 1;
    max-width: 410px;
    background-color: #fff;
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.w-camp-box.border-red {
    border: 4px solid #fed7d6;
    margin-right: 50px;
}

.w-camp-box.border-blue {
    border: 4px solid #d5e5ff;
    margin-left: 25px;
}

/* 💡ここがヘッダー（見出し帯）の共通設定です */
.w-camp-header {
    /* color: #fff; */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 62px;
    box-sizing: border-box;
}

.w-camp-header.bg-red {
    background-color: #fed7d6;
}

.w-camp-header.bg-blue {
    background-color: #d5e5ff;
}

/* .w-camp-header .text-yellow {
    color: #fff200;
} */

.w-camp-content {
    padding: 15px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* 💡ヘッダーの下のコンテンツエリアが残りの高さを均等に埋めます */
}

.w-camp-sub-text {
    font-size: 15px;
    color: #000;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-align: center;
}

.w-camp-price-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
}

.w-camp-sub-label {
    font-size: 18px;
    font-weight: bold;
    color: #e50015;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin-right: 8px;
    line-height: 1;
    display: inline-block;
    transform: translateY(-4px);
}

.w-camp-main-price {
    font-size: 57px;
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
    display: flex;
    align-items: flex-end;
    letter-spacing: -2px;
}

.w-camp-main-price span.w-camp-unit {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    margin-left: 2px;
    letter-spacing: 0;
}

.w-camp-plus-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #1a1a3a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 5;
}

.text-red {
    color: #e50015;
}

@media (max-width: 1024px) {
    .w-camp-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0 15px;
        margin: 20px auto;
    }

    .w-camp-box {
        width: 100%;
        max-width: 360px;
        min-height: auto;
    }

    .w-camp-box.border-red {
        margin-right: 0;
    }

    .w-camp-box.border-blue {
        margin-left: 0;
    }

    .w-camp-header {
        font-size: 16px;
        padding: 10px 10px;
        height: auto; /* スマホ時は縦並びになるため高さを自動に戻します */
        min-height: auto;
    }

    .w-camp-content {
        padding:10px;
    }

    .w-camp-sub-text {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .w-camp-sub-label {
        font-size: 15px;
        margin-right: 5px;
    }

     .w-camp-main-price {
        font-size: 45px;
    }

    .w-camp-main-price span.w-camp-unit {
        font-size: 28px;
    }

    .w-camp-plus-circle {
        position: static;
        transform: none;
        margin: 10px 0;
        width: 44px;
        height: 44px;
        font-size: 26px;
    }
}

.w-camp-container,
.w-camp-box {
  overflow: visible !important;
}

.w-camp-box.border-red {
  position: relative;
}

.w-camp-box.border-blue {
  position: relative;
}

/* 左上のラベル要素 */
.w-camp-box.border-red::before {
    content: "ワリビキ濃いめ";
    position: absolute;
    top: -15px;
    left: -37px;
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 12px;
    border: 2px solid #000;
    transform: rotate(-10deg);
    box-shadow: 2px 3px 0 #000;
    z-index: 1;
}

.w-camp-box.border-blue::before {
    content: "クーポンマシマシ";
    position: absolute;
    top: -19px;
    left: -62px;
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 12px;
    border: 2px solid #000;
    transform: rotate(-10deg);
    box-shadow: 2px 3px 0 #000;
    z-index: 1;
}


/* ==========================================================================
   2027年版 カレンダーキャンペーン - 左揃え & 文字サイズ拡大版
   ========================================================================== */

.cp2027-calendar-product-list {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
    /* background-color: #fffde8; */
    /* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; */
    color: #333;
}
.cp2027-calendar-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* カテゴリー枠 */
.cp2027-calendar-category {
  border: 2px solid #e2001a;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.cp2027-calendar-category-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

/* グリッド配置 */
.cp2027-calendar-product-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* カード共通 */
.cp2027-calendar-product {
  position: relative;
  display: flex;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  padding: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left; /* テキスト基本左揃え */
}

.cp2027-calendar-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* バッジ */
.cp2027-calendar-main-badge, .cp2027-calendar-product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e2001a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 16px;
    border-radius: 3px;
    z-index: 2;
}

/* 最小ロットバッジ */
.cp2027-calendar-lot-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #aaa;
  border-radius: 3px;
  font-size: 11px;
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 6px;
}

.cp2027-calendar-lot-badge span {
  background: #eee;
  padding: 2px 6px;
  color: #555;
}

.cp2027-calendar-lot-badge strong {
  padding: 2px 6px;
  font-weight: bold;
}


/* --------------------------------------------------------------------------
   ① メイン商品 (大型カード)
   -------------------------------------------------------------------------- */
.cp2027-calendar-product--main {
  grid-column: 1 / 2;
  grid-row: span 2;
  flex-direction: column;
  justify-content: space-between;
}

.cp2027-calendar-product--main .cp2027-calendar-image {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.cp2027-calendar-product--main .cp2027-calendar-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.cp2027-calendar-product--main .cp2027-calendar-product-name {
  font-size: 17px; /* 大きめに調整 */
  font-weight: bold;
  margin: 10px 0 4px;
  line-height: 1.3;
}

/* メイン商品の価格エリア */
.cp2027-calendar-price-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 8px;
  margin-top: auto;
  gap: 6px;
  text-align: left;
}

.cp2027-price-item {
  flex: 1;
  text-align: left; /* 左揃え */
}

.cp2027-price-tag {
  display: block;
  font-size: 13px;
  background: #fed7d6;
  border-radius: 3px;
  padding: 3px 4px;
  margin-bottom: 4px;
  font-weight: bold;
}

.cp2027-price-tag-yellow {
  display: block;
  font-size: 13px;
    background: #d5e5ff;
  border-radius: 3px;
  padding: 3px 4px;
  margin-bottom: 4px;
  font-weight: bold;
}

.cp2027-price-value {
    display: flex;
    justify-content: flex-start;
    gap: 3px;
    align-items: baseline;
}

.cp2027-badge-red {
  background: #e2001a;
  color: #fff;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px;
}

.cp2027-price-value strong {
    font-size: 25px;
    color: #e2001a;
    font-weight: bold;
    line-height: 1;
}
.cp2027-price-value small {
  font-size: 11px;
  color: #e2001a;
  font-weight: bold;
}

.cp2027-price-sub {
  font-size: 10px;
  color: #666;
  margin-top: 3px;
}

.cp2027-price-sub del {
  color: #888;
  text-decoration: line-through;
}

.cp2027-price-arrow {
  font-size: 12px;
  color: #888;
  align-self: center;
}


/* --------------------------------------------------------------------------
   ②〜⑧ サブ商品カード
   -------------------------------------------------------------------------- */
.cp2027-calendar-product--sub {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

/* 左側エリア */
.cp2027-sub-left {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.cp2027-sub-left .cp2027-calendar-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cp2027-sub-left .cp2027-calendar-product-name {
  font-size: 14px; /* 全体的に拡大 */
  font-weight: bold;
  margin: 6px 0 4px;
  line-height: 1.3;
}

/* 右側価格エリア (すべて左揃え) */
.cp2027-sub-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: #fafafa;
  padding: 8px;
  border-radius: 4px;
  text-align: left; /* 左揃え */
}

.cp2027-sub-price-block {
  text-align: left; /* 左揃え */
}

.cp2027-sub-price-label {
    display: block;
    font-size: 13px;
    background: #fed7d6;
    border-radius: 3px;
    padding: 3px 4px;
    margin-bottom: 4px;
    font-weight: bold;
}

.cp2027-sub-price-main strong {
  font-size: 20px; /* 大きめに調整 */
  color: #e2001a;
  font-weight: bold;
  line-height: 1.1;
}

.cp2027-sub-price-main small {
  font-size: 11px;
  color: #e2001a;
  font-weight: bold;
}

/* 通常価格 (打ち消し線) */
.cp2027-sub-price-norm {
    font-size: 12px;
    /* color: #777; */
    margin-top: 1px;
    font-weight: bold;
}

.cp2027-sub-price-norm del {
    /* color: #999; */
    text-decoration: line-through;
    font-weight: bold;
    font-size: 12px;
}

.cp2027-sub-coupon-badge {
    display: block;
    background: #d5e5ff;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 4px;
    border-radius: 2px;
    margin-bottom: 3px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.cp2027-sub-price-coupon strong {
  font-size: 24px; /* インパクト重視で大きく調整 */
  color: #e2001a;
  font-weight: bold;
  line-height: 1.1;
}

.cp2027-sub-price-coupon small {
  font-size: 11px;
  color: #e2001a;
  font-weight: bold;
}


/* カテゴリーリンクボタン */
.cp2027-calendar-category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2001a;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  margin-top: 20px;
  gap: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cp2027-calendar-product-layout {
    grid-template-columns: 1fr;
  }
  .cp2027-calendar-product--main {
    grid-column: auto;
    grid-row: auto;
  }
  .cp2027-price-value strong {
    font-size: 22px;
    color: #e2001a;
    font-weight: bold;
    line-height: 1;
}
}

/* 小数点以下用のスタイル（新設） */
.cp2027-decimal {
  font-size: 0.65em; /* 親の数字に対して65%の大きさに縮小 */
  font-weight: bold;
}

/* 単位（円/部〜）の文字サイズ微調整 */
.cp2027-price-value small {
  font-size: 14px; /* 単位を少しコンパクトに */
  font-weight: bold;
  color: #e2001a;
  margin-left: 1px;
}

.cp2027-sub-price-main small,
.cp2027-sub-price-coupon small {
  font-size: 13px; /* 単位を少しコンパクトに */
  font-weight: bold;
  color: #e2001a;
  margin-left: 1px;
}

@media screen and (min-width: 1024px) {
    .content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin: 0 auto;
        width: 900px;
        max-width: 100%;
        gap: 30px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1366px) {
  main {
    /* 全体を80%に縮小 */
    transform: scale(0.7);
    transform-origin: top center;
    margin-bottom: -20%; 
  }
}
body {
  margin: 0;
  padding: 0;
  background: #ffda54; 
}
@media screen and (min-width: 1024px) {
    .main-header {
        margin-bottom: 0 !important;
    }
}
@media screen and (min-width: 1300px) {
    .common_content {
        background: #fff;
    }
}
/* 1. 全体コンテナの最大幅と中央寄せ */
.common_content {
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 2. キャンペーンスライダーの幅制限 */
#top_camp {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 3. 「選ばれる5つの理由」セクションの幅制限調整 */
.features-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.features-container {
  max-width: 100% !important; /* 親（1100px）にフィットさせる */
  box-sizing: border-box;
}

/* 4. ご注文の流れ・カテゴリ・監修者セクションの幅制限 */
.monitor_cate,
.supervisor__sct,
.common_content > .content-front {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 5. スマホ表示時の横あふれ防止パディング */
@media screen and (max-width: 1140px) {
  .common_content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.features-section {
    padding: 18px;
    background-color: #ffebd8;
    font-family: sans-serif;
    margin: 40px auto 60px !important;
    border-radius: 10px;
}

.heading-16 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.heading-16::before,
.heading-16::after {
    width: 3px;
    height: 40px;
    background-color: #0049be;
    content: '';
}

.heading-16::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.heading-16::after {
    transform: rotate(35deg);
    margin-left: 30px;
}

@media (max-width: 768px) {
.w-camp-box.border-blue::before {
    top: -28px;
    left: -35px;
}
}

.lead-text-container {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin: 20px 0;
}

/* 見出し部分 */
.lead-heading {
  font-weight: bold;
  font-size: 16px; /* 見出しを少し強調したい場合。15pxのままでよろしければ削除・変更してください */
  margin-bottom: 24px;
}

/* 各段落の余白 */
.lead-paragraph {
  margin-bottom: 24px;
}

.lead-paragraph:last-child {
  margin-bottom: 0;
}

/* 太字強調 */
.highlight {
  font-weight: bold;
}