@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Noto+Sans+JP:wght@700;900&display=swap');

/* ===== MacLogicRepair 記事内CTA（冒頭／記事中） 2026-07 START ===== */
/* Figma: TLHCsm5wwKlIQlI6qEPz3c / 冒頭PC 1001:125・SP 1001:3 / 記事中PC 1001:89・SP 1001:69 */

.post_content .mlr-cta,
.post_content .mlr-cta *,
.post_content .mlr-cta *::before,
.post_content .mlr-cta *::after {
  box-sizing: border-box;
}

.post_content .mlr-cta {
  --mlr-blue: #0177ED;
  --mlr-blue-d: #014487;
  --mlr-ink: #0a0a0a;
  --mlr-muted: #777777;
  --mlr-red: #F74A4A;
  --mlr-orange: #DD815A;
  --mlr-yellow: #FFF598;
  --mlr-ff-noto: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --mlr-ff-yu: "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --mlr-ff-num: "Manrope", sans-serif;

  container-type: inline-size;
  container-name: mlrcta;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 2.6em 0;
  overflow: hidden;
  color: var(--mlr-ink);
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 12px -0.8px rgba(0, 0, 0, 0.2);
  font-family: var(--mlr-ff-noto);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.post_content .mlr-cta :where(p, div) {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.post_content .mlr-cta .is-blue { color: var(--mlr-blue); font-weight: inherit; }
.post_content .mlr-cta .is-muted { color: var(--mlr-muted); }

/* ---- 背景ヘキサゴン ---- */
.post_content .mlr-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.post_content .mlr-cta__bg::before,
.post_content .mlr-cta__bg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
}
.post_content .mlr-cta--hero .mlr-cta__bg::before {
  left: 0;
  width: 32%;
  background-image: url(../images/logicboard-cta/hexbg-hero-left.png);
  background-position: left top;
  background-size: 100% auto;
}
.post_content .mlr-cta--hero .mlr-cta__bg::after {
  right: 0;
  width: 36%;
  background-image: url(../images/logicboard-cta/hexbg-hero-right.png);
  background-position: right top;
  background-size: 100% auto;
}
.post_content .mlr-cta--inline .mlr-cta__bg::after {
  right: 0;
  width: 69%;
  background-image: url(../images/logicboard-cta/hexbg-inline-pc.png);
  background-position: right center;
  background-size: 100% 100%;
}

/* ---- 共通インナー ---- */
.post_content .mlr-cta__inner {
  position: relative;
  z-index: 1;
}

/* ---- ボタン（共通） ---- */
.post_content .mlr-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  color: #fff;
  font-family: var(--mlr-ff-yu);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(90deg, #0177ED 0%, #014487 100%);
  border: 0.8px solid #A6A6A6;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(1, 68, 135, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.post_content .mlr-cta__button:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 7px 18px rgba(1, 68, 135, 0.3);
  transform: translateY(-2px);
}
.post_content .mlr-cta__button:focus-visible {
  outline: 3px solid var(--mlr-blue-d);
  outline-offset: 3px;
}
.post_content .mlr-cta__button-arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

/* ---- 黒帯（共通） ---- */
.post_content .mlr-cta__bar {
  display: block;
  width: 100%;
  padding: 4px 12px;
  color: #fff;
  font-family: var(--mlr-ff-noto);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  background: #000;
}

/* =========================================================
   冒頭CTA（Hero）
   ========================================================= */
.post_content .mlr-cta--hero .mlr-cta__inner {
  padding: 22px 24px 26px;
  text-align: center;
}

/* 上部バッジ */
.post_content .mlr-cta__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 30px;
  margin-bottom: 12px;
}
.post_content .mlr-cta__badge {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 0 20px;
  color: var(--mlr-ink);
  font-family: var(--mlr-ff-yu);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.post_content .mlr-cta__badge::before,
.post_content .mlr-cta__badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 1.5em;
  background: var(--mlr-ink);
}
.post_content .mlr-cta__badge::before { left: 4px; transform: translateY(-50%) rotate(-20deg); }
.post_content .mlr-cta__badge::after { right: 4px; transform: translateY(-50%) rotate(20deg); }
.post_content .mlr-cta__badge b { font-weight: 700; font-size: 1.35em; }

/* 黒帯（冒頭は左右余白あり） */
.post_content .mlr-cta--hero .mlr-cta__bar {
  width: auto;
  margin: 0 auto;
  max-width: 88%;
}

/* サブラベル */
.post_content .mlr-cta__label {
  margin-top: 8px;
  color: var(--mlr-muted);
  font-family: var(--mlr-ff-noto);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
}

/* タイトル */
.post_content .mlr-cta__title {
  margin-top: 12px;
  font-family: var(--mlr-ff-noto);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.42;
}
.post_content .mlr-cta__title .l1 { display: block; font-size: 34px; }
.post_content .mlr-cta__title .l2 { display: block; font-size: 28px; }

/* サブコピー */
.post_content .mlr-cta__lead {
  margin-top: 18px;
  color: var(--mlr-muted);
  font-family: var(--mlr-ff-yu);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.03em;
}
.post_content .mlr-cta__lead .cta {
  display: block;
  margin-top: 2px;
  color: var(--mlr-blue);
  font-size: 20px;
}

/* 料金枠 */
.post_content .mlr-cta__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #E4E4E4;
  border-radius: 6px;
}
.post_content .mlr-cta__price-label {
  color: var(--mlr-ink);
  font-family: var(--mlr-ff-noto);
  font-weight: 700;
  font-size: 15px;
}
.post_content .mlr-cta__price-tri { flex: 0 0 auto; width: 12px; height: 22px; }
.post_content .mlr-cta__price-num {
  color: var(--mlr-ink);
  font-family: var(--mlr-ff-num);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.post_content .mlr-cta__price-unit {
  margin-left: -8px;
  color: var(--mlr-ink);
  font-family: var(--mlr-ff-noto);
  font-weight: 700;
  font-size: 15px;
}

/* 4特徴グリッド */
.post_content .mlr-cta__features {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 8px 34px;
  margin-top: 16px;
}
.post_content .mlr-cta__feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mlr-ink);
  font-family: var(--mlr-ff-noto);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}
.post_content .mlr-cta__feature-icon { flex: 0 0 auto; width: 20px; height: 20px; }
.post_content .mlr-cta__feature b { font-weight: 700; font-size: 1.25em; color: var(--mlr-blue); }
.post_content .mlr-cta__feature .ink { color: var(--mlr-ink); font-size: 1em; }

/* ボタン（冒頭は全幅） */
.post_content .mlr-cta--hero .mlr-cta__button {
  display: flex;
  width: 100%;
  margin-top: 16px;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 4px;
}

/* =========================================================
   記事中CTA（Inline）
   ========================================================= */
.post_content .mlr-cta--inline .mlr-cta__bar {
  padding: 5px 12px;
}
.post_content .mlr-cta--inline .mlr-cta__inner {
  padding: 0 0 18px;
}
.post_content .mlr-cta__inline-row {
  padding: 16px 20px 0;
}
.post_content .mlr-cta__inline-lead {
  font-family: var(--mlr-ff-noto);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: -0.05em;
  color: var(--mlr-ink);
}
.post_content .mlr-cta__inline-lead .big {
  font-size: 28px;
  background: linear-gradient(transparent 62%, var(--mlr-yellow) 62%);
}
.post_content .mlr-cta--inline .mlr-cta__button {
  margin-top: 16px;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 3px;
}

/* =========================================================
   コンテナクエリ：600px以上＝PC/タブレット
   ========================================================= */
@container mlrcta (min-width: 600px) {
  .post_content .mlr-cta--hero .mlr-cta__inner {
    padding: 26px 46px 30px;
  }
  .post_content .mlr-cta__badges {
    gap: 8px 44px;
    margin-bottom: 14px;
  }
  .post_content .mlr-cta__badge { font-size: 19px; padding: 0 24px; }

  .post_content .mlr-cta--hero .mlr-cta__bar { max-width: 620px; }
  .post_content .mlr-cta__bar { font-size: 20px; }

  .post_content .mlr-cta__title { margin-top: 14px; }
  .post_content .mlr-cta__title .l1 { display: inline; font-size: 39px; }
  .post_content .mlr-cta__title .l2 { display: block; font-size: 34px; }

  .post_content .mlr-cta__lead { font-size: 19px; line-height: 1.75; }
  .post_content .mlr-cta__lead .cta { display: inline; margin-top: 0; font-size: 24px; }

  .post_content .mlr-cta__price { gap: 8px; margin-top: 34px; padding: 12px 24px; max-width: 440px; margin-inline: auto; }
  .post_content .mlr-cta__price-label { font-size: 19px; }
  .post_content .mlr-cta__price-num { font-size: 39px; }
  .post_content .mlr-cta__price-unit { font-size: 19px; }

  .post_content .mlr-cta__features { gap: 12px 60px; margin-top: 20px; }
  .post_content .mlr-cta__feature { font-size: 21px; gap: 8px; }
  .post_content .mlr-cta__feature-icon { width: 27px; height: 27px; }

  .post_content .mlr-cta--hero .mlr-cta__button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 21px;
    border-radius: 5px;
    gap: 24px;
  }

  .post_content .mlr-cta--inline .mlr-cta__inner { padding: 0; }
  .post_content .mlr-cta__inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 34px 46px;
  }
  .post_content .mlr-cta__inline-lead { flex: 1 1 auto; }
  .post_content .mlr-cta--inline .mlr-cta__button {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 15px 26px;
    font-size: 18px;
    border-radius: 5px;
    gap: 11px;
    min-width: 295px;
  }
}
/* ===== MacLogicRepair 記事内CTA 2026-07 END ===== */
