/*
Theme Name: AFFINGER7 Child
Template: affinger
Description: AFFINGER7 対応
Version: 20260410
*/

/* =========================================================
   製造業転職パートナー TOP 完全版
   - 赤系デザイン
   - 画像CTA
   - 7カテゴリ
   - レスポンシブ
   - トップのみ左右フル幅
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.mfg-home {
  --mfg-red: #c82020;
  --mfg-red-dark: #a81717;
  --mfg-red-deep: #941212;
  --mfg-red-light: #fff0ee;
  --mfg-bg: #faf7f5;
  --mfg-border: #eadfdb;
  --mfg-text: #292525;
  --mfg-sub: #6d6562;
  --mfg-dark: #242020;
  --mfg-white: #ffffff;

  position: relative;

  width: 100vw;
  max-width: none !important;

  left: 50%;
  right: 50%;

  margin-left: -50vw !important;
  margin-right: -50vw !important;

  color: var(--mfg-text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;

  line-height: 1.8;

  overflow-x: clip;
}

.mfg-home *,
.mfg-home *::before,
.mfg-home *::after {
  box-sizing: border-box;
}

.mfg-home a {
  text-decoration: none;
}

.mfg-home p {
  margin-top: 0;
}

.mfg-container {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;

  margin-left: auto;
  margin-right: auto;
}

.mfg-narrow {
  width: min(900px, 100%);
  max-width: 900px;
}


/* =========================================================
   AFFINGER標準見出し解除
========================================================= */

.mfg-home h1,
.mfg-home h2,
.mfg-home h3 {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.mfg-home h1::before,
.mfg-home h1::after,
.mfg-home h2::before,
.mfg-home h2::after,
.mfg-home h3::before,
.mfg-home h3::after {
  display: none !important;
}


/* =========================================================
   HERO
========================================================= */

.mfg-hero {
  position: relative;

  width: 100%;
  max-width: none;

  padding: 68px 0 70px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(255,255,255,.12),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #991010 0%,
      #c82020 50%,
      #b61717 100%
    );
}

.mfg-hero::before {
  content: "";

  position: absolute;

  top: -200px;
  right: -170px;

  width: 470px;
  height: 470px;

  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;

  pointer-events: none;
}

.mfg-hero::after {
  content: "";

  position: absolute;

  right: 3%;
  bottom: -220px;

  width: 400px;
  height: 400px;

  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;

  pointer-events: none;
}

.mfg-hero-top {
  position: relative;
  z-index: 2;

  max-width: 860px;

  margin: 0 auto;

  text-align: center;
}

.mfg-eyebrow {
  margin: 0 0 18px !important;

  color: #ffe0dc;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: .07em;
}

.mfg-title {
  margin: 0 !important;

  color: #ffffff !important;

  font-size: clamp(37px, 5vw, 58px) !important;
  font-weight: 800 !important;

  line-height: 1.35 !important;

  letter-spacing: -.035em;
}

.mfg-title span {
  color: #ffffff;

  background:
    linear-gradient(
      transparent 68%,
      rgba(255,215,185,.38) 68%
    );
}

.mfg-lead {
  max-width: 730px;

  margin: 27px auto 0 !important;

  color: rgba(255,255,255,.82);

  font-size: 15px;

  line-height: 2;
}

.mfg-check-list {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap: 8px 24px;

  max-width: 690px;

  margin: 28px auto 30px;

  color: #ffffff;

  font-size: 13px;
  font-weight: 600;

  text-align: left;
}

.mfg-main-btn {
  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 500px;

  min-height: 78px;

  margin: 0 auto;

  padding: 13px 25px;

  border-radius: 7px;

  background: #ffffff;

  color: #b41818 !important;

  text-align: center;

  font-size: 18px;
  font-weight: 800;

  box-shadow:
    0 13px 30px rgba(73,0,0,.20);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.mfg-main-btn:hover {
  background: #fff4f2;

  color: #a81414 !important;

  transform: translateY(-2px);

  box-shadow:
    0 16px 35px rgba(73,0,0,.27);
}

.mfg-main-btn small {
  display: block;

  margin-top: 2px;

  color: #a95c55;

  font-size: 10px;
  font-weight: 500;
}

.mfg-btn-note {
  width: 100%;
  max-width: 500px;

  margin: 9px auto 0 !important;

  color: rgba(255,255,255,.62);

  text-align: center;

  font-size: 10px;
}


/* =========================================================
   MAIN VISUAL / AFFILIATE
========================================================= */

.mfg-mainvisual-wrap {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1240px;

  margin: 50px auto 0;
}

.mfg-mainvisual-link {
  display: block;
}

.mfg-mainvisual {
  width: 100%;

  overflow: hidden;

  border:
    1px solid rgba(255,255,255,.16);

  border-radius: 12px;

  background: #ffffff;

  box-shadow:
    0 20px 45px rgba(74,0,0,.24);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.mfg-mainvisual-link:hover .mfg-mainvisual {
  transform: translateY(-2px);

  box-shadow:
    0 24px 52px rgba(74,0,0,.30);
}

.mfg-mainvisual img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;

  border: 0;
}

.mfg-mainvisual-pr {
  position: absolute;
  z-index: 4;

  top: 9px;
  right: 11px;

  padding: 3px 6px;

  border-radius: 3px;

  background: rgba(255,255,255,.82);

  color: #777;

  font-size: 8px;
  line-height: 1;

  letter-spacing: .05em;
}

.mfg-mainvisual-note {
  margin: 8px 0 0 !important;

  color: rgba(255,255,255,.55);

  text-align: right;

  font-size: 9px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.mfg-section-title {
  margin-bottom: 38px;

  text-align: center;
}

.mfg-section-label {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--mfg-red);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .1em;
}

.mfg-section-title h2 {
  margin: 0 !important;

  color: var(--mfg-dark) !important;

  font-size:
    clamp(26px, 4vw, 37px) !important;

  font-weight: 800 !important;

  line-height: 1.5 !important;
}

.mfg-section-title p {
  margin: 14px 0 0 !important;

  color: var(--mfg-sub);

  font-size: 13px;
}


/* =========================================================
   QUESTION
========================================================= */

.mfg-question-section {
  width: 100%;
  max-width: none;

  padding: 88px 0;

  background: var(--mfg-bg);

  scroll-margin-top: 30px;
}

.mfg-question-list {
  display: flex;

  flex-direction: column;

  gap: 11px;
}

.mfg-question-card {
  display: grid;

  grid-template-columns:
    52px 1fr 25px;

  gap: 16px;

  align-items: center;

  padding: 20px 23px;

  border:
    1px solid var(--mfg-border);

  border-radius: 8px;

  background: #ffffff;

  color: var(--mfg-text) !important;

  box-shadow:
    0 3px 12px rgba(70,28,20,.035);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.mfg-question-card:hover {
  transform: translateY(-2px);

  border-color: #e4aaa5;

  box-shadow:
    0 9px 28px rgba(140,32,20,.09);
}

.mfg-question-card b {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;

  border-radius: 50%;

  background:
    var(--mfg-red-light);

  color:
    var(--mfg-red);

  font-size: 11px;
  font-weight: 800;
}

.mfg-question-card strong {
  display: block;

  color: var(--mfg-dark);

  font-size: 16px;
}

.mfg-question-card div > span {
  display: block;

  margin-top: 3px;

  color: var(--mfg-sub);

  font-size: 11px;
}

.mfg-question-card i {
  color: var(--mfg-red);

  font-size: 28px;

  font-style: normal;
}


/* =========================================================
   RESULT
========================================================= */

.mfg-result-section {
  width: 100%;
  max-width: none;

  padding: 88px 0;

  background: #ffffff;

  scroll-margin-top: 35px;
}

.mfg-result-alt {
  background:
    var(--mfg-bg);
}

.mfg-result-label {
  display: inline-block;

  padding: 6px 12px;

  border-radius: 4px;

  background:
    var(--mfg-red-light);

  color:
    var(--mfg-red);

  font-size: 11px;
  font-weight: 800;
}

.mfg-result-section h2 {
  margin: 18px 0 21px !important;

  color:
    var(--mfg-dark) !important;

  font-size:
    clamp(26px,4vw,38px) !important;

  font-weight: 800 !important;

  line-height: 1.5 !important;
}

.mfg-result-text {
  margin: 0 !important;

  color: #514846;

  font-size: 14px;

  line-height: 2;
}


/* =========================================================
   POINT BOX
========================================================= */

.mfg-point-box {
  margin: 31px 0;

  padding: 24px 27px;

  border-left:
    4px solid var(--mfg-red);

  background: #fff7f5;
}

.mfg-point-box strong {
  display: block;

  margin-bottom: 11px;

  color:
    var(--mfg-dark);
}

.mfg-point-box ul {
  margin: 0 !important;

  padding: 0 !important;

  list-style: none !important;
}

.mfg-point-box li {
  position: relative;

  margin: 7px 0 !important;

  padding-left: 25px;

  color: #514846;

  font-size: 13px;
}

.mfg-point-box li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color:
    var(--mfg-red);

  font-weight: 900;
}


/* =========================================================
   AFFILIATE OFFER
========================================================= */

.mfg-offer-box {
  position: relative;

  margin-top: 37px;

  padding: 37px 37px 30px;

  border:
    1px solid #ead0cc;

  border-radius: 10px;

  background: #ffffff;

  box-shadow:
    0 15px 45px rgba(115,27,18,.075);
}

.mfg-pr-mini {
  position: absolute;

  top: 10px;
  right: 12px;

  color: #aaa09d;

  font-size: 8px;
  font-weight: 400;
}

.mfg-offer-label {
  margin: 0 0 10px !important;

  color: var(--mfg-red);

  font-size: 11px;
  font-weight: 800;
}

.mfg-offer-box h3 {
  margin: 0 0 16px !important;

  color:
    var(--mfg-dark) !important;

  font-size: 23px !important;

  font-weight: 800 !important;

  line-height: 1.55 !important;
}

.mfg-offer-box > p:not(.mfg-offer-label):not(.mfg-offer-note) {
  color: var(--mfg-sub);

  font-size: 13px;

  line-height: 1.9;
}

.mfg-aff-btn {
  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 80px;

  margin-top: 25px;

  padding: 14px 22px;

  border-radius: 6px;

  background:
    linear-gradient(
      180deg,
      #d72424,
      #c71b1b
    );

  color:
    #ffffff !important;

  text-align: center;

  font-size: 17px;
  font-weight: 800;

  box-shadow:
    0 10px 25px rgba(170,20,20,.22);

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.mfg-aff-btn:hover {
  background:
    linear-gradient(
      180deg,
      #c31b1b,
      #aa1414
    );

  color:
    #ffffff !important;

  transform:
    translateY(-2px);

  box-shadow:
    0 13px 30px rgba(170,20,20,.29);
}

.mfg-aff-btn small {
  display: block;

  margin-top: 2px;

  color:
    rgba(255,255,255,.78);

  font-size: 10px;
}

.mfg-offer-note {
  margin: 9px 0 0 !important;

  text-align: center;

  color: #9c9290;

  font-size: 9px;
}


/* =========================================================
   CATEGORY
========================================================= */

.mfg-category-section {
  width: 100%;
  max-width: none;

  padding: 88px 0;

  border-top:
    1px solid var(--mfg-border);

  background:
    #ffffff;
}

.mfg-category-grid {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap: 14px;
}

.mfg-category-card {
  display: flex;

  flex-direction: column;

  min-height: 195px;

  padding: 25px 22px;

  border:
    1px solid var(--mfg-border);

  border-radius: 8px;

  background:
    #ffffff;

  color:
    var(--mfg-text) !important;

  box-shadow:
    0 4px 15px rgba(70,30,25,.035);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.mfg-category-card:hover {
  transform: translateY(-3px);

  border-color:
    #e3aaa4;

  box-shadow:
    0 10px 28px rgba(145,37,24,.08);
}

.mfg-category-no {
  margin-bottom: 16px;

  color:
    var(--mfg-red);

  font-size: 10px;
  font-weight: 800;
}

.mfg-category-card strong {
  display: block;

  color:
    var(--mfg-dark);

  font-size: 17px;

  line-height: 1.5;
}

.mfg-category-card p {
  margin: 9px 0 20px !important;

  color:
    var(--mfg-sub);

  font-size: 11px;

  line-height: 1.7;
}

.mfg-category-more {
  margin-top: auto;

  color:
    var(--mfg-red);

  font-size: 11px;
  font-weight: 700;
}


/* PCで7カテゴリを中央寄せ */

@media only screen and (min-width: 960px) {

  .mfg-category-card:nth-child(5) {
    grid-column: 2;
  }

}


/* =========================================================
   NEW ARTICLES
========================================================= */

.mfg-new-section {
  width: 100%;
  max-width: none;

  padding: 75px 0 22px;

  border-top:
    1px solid var(--mfg-border);

  background:
    var(--mfg-bg);
}

.mfg-new-section .mfg-section-title {
  margin-bottom: 0;
}


/* =========================================================
   SMOOTH SCROLL
========================================================= */

html {
  scroll-behavior: smooth;
}


/* =========================================================
   LARGE PC
========================================================= */

@media only screen and (min-width: 1200px) {

  .mfg-container {
    width:
      min(1180px, calc(100% - 80px));
  }

  .mfg-mainvisual-wrap {
    max-width: 1240px;
  }

}


/* =========================================================
   ULTRA WIDE
========================================================= */

@media only screen and (min-width: 1600px) {

  .mfg-container {
    width:
      min(1280px, calc(100% - 100px));

    max-width: 1280px;
  }

  .mfg-mainvisual-wrap {
    max-width: 1320px;
  }

  .mfg-narrow {
    max-width: 940px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media only screen and (max-width: 959px) {

  .mfg-container {
    width: calc(100% - 40px);
  }

  .mfg-narrow {
    width: 100%;
  }

  .mfg-category-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media only screen and (max-width: 599px) {

  .mfg-home {
    width: 100vw;

    left: 50%;

    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  .mfg-container {
    width: calc(100% - 30px);
  }

  .mfg-hero {
    padding:
      44px 0 48px;
  }

  .mfg-eyebrow {
    font-size: 10px;
  }

  .mfg-title {
    font-size: 30px !important;

    line-height: 1.43 !important;
  }

  .mfg-pc {
    display: none;
  }

  .mfg-lead {
    margin-top: 20px !important;

    font-size: 13px;

    line-height: 1.9;
  }

  .mfg-check-list {
    grid-template-columns: 1fr;

    gap: 6px;

    margin:
      22px auto 25px;

    font-size: 12px;

    text-align: left;
  }

  .mfg-main-btn {
    min-height: 72px;

    padding:
      12px 15px;

    font-size: 15px;
  }

  .mfg-mainvisual-wrap {
    width: 100%;

    margin-top: 32px;
  }

  .mfg-mainvisual {
    border-radius: 7px;

    box-shadow:
      0 12px 28px rgba(74,0,0,.22);
  }

  .mfg-mainvisual-pr {
    top: 7px;
    right: 7px;

    font-size: 7px;
  }

  .mfg-mainvisual-note {
    font-size: 8px;

    text-align: center;
  }

  .mfg-question-section,
  .mfg-result-section,
  .mfg-category-section {
    padding:
      60px 0;
  }

  .mfg-section-title {
    margin-bottom: 28px;
  }

  .mfg-section-title h2 {
    font-size: 26px !important;
  }

  .mfg-section-title p {
    font-size: 12px;
  }

  .mfg-question-card {
    grid-template-columns:
      40px 1fr 16px;

    gap: 10px;

    padding:
      17px 14px;
  }

  .mfg-question-card b {
    width: 37px;
    height: 37px;

    font-size: 9px;
  }

  .mfg-question-card strong {
    font-size: 14px;
  }

  .mfg-question-card div > span {
    font-size: 10px;
  }

  .mfg-question-card i {
    font-size: 23px;
  }

  .mfg-result-section h2 {
    font-size: 26px !important;
  }

  .mfg-result-text {
    font-size: 13px;
  }

  .mfg-point-box {
    margin:
      25px 0;

    padding:
      20px 17px;
  }

  .mfg-point-box li {
    font-size: 12px;
  }

  .mfg-offer-box {
    margin-top: 29px;

    padding:
      30px 18px 24px;
  }

  .mfg-offer-box h3 {
    font-size: 20px !important;
  }

  .mfg-offer-box > p:not(.mfg-offer-label):not(.mfg-offer-note) {
    font-size: 12px;
  }

  .mfg-aff-btn {
    min-height: 73px;

    padding:
      12px 13px;

    font-size: 15px;
  }

  .mfg-category-grid {
    grid-template-columns: 1fr;

    gap: 11px;
  }

  .mfg-category-card {
    min-height: 0;

    padding:
      20px 18px;
  }

  .mfg-category-card:nth-child(5) {
    grid-column: auto;
  }

  .mfg-category-no {
    margin-bottom: 9px;
  }

  .mfg-category-card p {
    margin:
      6px 0 13px !important;
  }

  .mfg-new-section {
    padding:
      57px 0 15px;
  }

}

/* =========================================================
   トップページのPCだけヘッダーメニュー非表示
   ロゴはそのまま表示
========================================================= */

@media only screen and (min-width: 960px) {

  /* PCグローバルメニューを非表示 */
  .home #st-menuwide,
  .home #st-menu,
  .home .st-menu,
  .home .st-nav,
  .home .st-nav-menu,
  .home nav.smanone,
  .home #header-menu,
  .home .header-menu,
  .home .st-header-menu,
  .home .st-menu-box {
    display: none !important;
  }

  /* ロゴ周りはそのまま表示 */
  .home #st-headwide,
  .home #headbox,
  .home #header-l,
  .home .sitename,
  .home .site-name,
  .home .st-logo,
  .home .st-header-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

}

/* PCヘッダーの上下余白を少し縮める */
@media only screen and (min-width: 960px) {

  #headbox {
    padding-top: 12px !important;
    padding-bottom: 4px !important;
  }

  #st-menuwide {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
  }

}

/* PCヘッダーメニュー：ホバー時と現在ページだけ赤下線 */
@media only screen and (min-width: 960px) {

  #st-menuwide a {
    position: relative;
    padding-bottom: 6px;
  }

  #st-menuwide a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #c82020;
    transform: translateX(-50%);
    transition: width .2s ease;
  }

  #st-menuwide a:hover::after {
    width: 70%;
  }

  #st-menuwide .current-menu-item > a::after,
  #st-menuwide .current-menu-ancestor > a::after {
    width: 70%;
  }

}

/* =========================================================
   TOP 新着記事一覧
========================================================= */

.mfg-post-list-section {
  width: 100vw;
  max-width: none !important;

  position: relative;
  left: 50%;

  margin-left: -50vw !important;
  margin-right: -50vw !important;

  padding: 0 0 80px;

  background: #faf7f5;

  overflow-x: clip;
}

.mfg-post-list-section .mfg-container {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;

  margin-left: auto;
  margin-right: auto;
}


/* カード間余白 */
.mfg-post-list-section .kanren,
.mfg-post-list-section .st-catgroup,
.mfg-post-list-section .st-postgroup {
  margin-top: 0 !important;
}


/* もっと見る */
.mfg-more-posts {
  margin-top: 36px;

  text-align: center;
}

.mfg-more-posts a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 270px;
  min-height: 56px;

  padding: 12px 27px;

  border: 1px solid #c82020;
  border-radius: 6px;

  background: #ffffff;

  color: #c82020 !important;

  font-size: 14px;
  font-weight: 700;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.mfg-more-posts a:hover {
  background: #c82020;

  color: #ffffff !important;

  transform: translateY(-2px);
}


/* スマホ */
@media only screen and (max-width: 599px) {

  .mfg-post-list-section {
    padding-bottom: 55px;
  }

  .mfg-post-list-section .mfg-container {
    width: calc(100% - 30px);
  }

  .mfg-more-posts {
    margin-top: 25px;
  }

  .mfg-more-posts a {
    width: 100%;
    min-width: 0;

    min-height: 52px;

    font-size: 13px;
  }

}

/* =========================================================
   スマホ：トップページを再び左右フル幅にする
   中身の余白はこれまで通り維持
========================================================= */

@media only screen and (max-width: 599px) {

  /* トップ全体だけAFFINGER本文幅を突き抜けさせる */
  .mfg-home {
    position: relative !important;

    width: 100vw !important;
    max-width: 100vw !important;

    left: 50% !important;
    right: auto !important;

    margin-left: -50vw !important;
    margin-right: 0 !important;

    overflow-x: clip !important;
  }


  /* セクション背景は画面いっぱい */
  .mfg-hero,
  .mfg-question-section,
  .mfg-result-section,
  .mfg-category-section,
  .mfg-new-section {
    width: 100% !important;
    max-width: none !important;
  }


  /* 中の文章やカードは15px余白 */
  .mfg-container {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }


  /* 新着記事下だけはみ出し防止 */
  .mfg-post-list-section {
    width: 100% !important;
    max-width: 100% !important;

    left: auto !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}

/* スマホ：新着記事をもっと見るボタンだけ横幅を短く */
@media only screen and (max-width: 599px) {

  .mfg-more-posts {
    text-align: center !important;
  }

  .mfg-more-posts a {
    width: auto !important;
    max-width: 320px !important;
    min-width: 240px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 22px !important;
    padding-right: 22px !important;
  }

}

/* 新着記事下エリアの背景を白に */
.mfg-post-list-section {
  background: #ffffff !important;
}

@media screen and (max-width: 599px) {
  .mfg-home .mfg-eyebrow {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

/* 記事途中 Maker's Job CTA */

.mfg-inline-cta {
  position: relative;
  margin: 40px 0;
  padding: 28px;
  background: #f7f9fc;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  box-sizing: border-box;
}

.mfg-inline-cta-pr {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  color: #777;
}

.mfg-inline-cta-label {
  margin: 0 0 8px !important;
  color: #c60000;
  font-size: 13px;
  font-weight: 700;
}

.mfg-inline-cta-title {
  margin: 0 0 14px !important;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
}

.mfg-inline-cta-text {
  margin: 0 0 18px !important;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.mfg-inline-cta-points {
  margin: 18px 0 22px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 7px;
}

.mfg-inline-cta-points span {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.mfg-inline-cta-btn {
  display: block;
  width: 100%;
  padding: 17px 15px;
  background: #15803d;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  box-sizing: border-box;
}

.mfg-inline-cta-btn:hover {
  opacity: .9;
}

.mfg-inline-cta-btn small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
}

.mfg-inline-cta-note {
  margin: 10px 0 0 !important;
  text-align: center;
  font-size: 11px;
  color: #777;
}

@media screen and (max-width: 599px) {

  .mfg-inline-cta {
    margin: 32px 0;
    padding: 23px 17px 19px;
  }

  .mfg-inline-cta-title {
    font-size: 19px;
  }

  .mfg-inline-cta-text {
    font-size: 14px;
  }

  .mfg-inline-cta-points {
    padding: 14px;
  }

  .mfg-inline-cta-points span {
    font-size: 13px;
  }

  .mfg-inline-cta-btn {
    padding: 16px 10px;
    font-size: 15px;
  }
}

@media screen and (max-width: 599px) {
  .mfg-inline-cta {
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .mfg-inline-cta * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .mfg-inline-cta img,
  .mfg-inline-cta iframe,
  .mfg-inline-cta video {
    max-width: 100% !important;
    height: auto !important;
  }
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
