@charset "UTF-8";

/* ===== WEB限定キャンペーン ===== */
#web-exclusive_section + section {
  --cp-red: #d9001b;
  --cp-yellow: #f9d71c;
  --cp-pink: #fff0f0;
  --cp-text: #555;
  background: transparent;
 padding: 40px 60px;
}

/* --- Card --- */
#web-exclusive_section + section .content_wrapper {
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 84px 30px 30px;
  background: #fff;
  border: 3px solid var(--cp-red);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(221, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* --- Heading wrapper: let the <p> ribbon anchor to the card --- */
#web-exclusive_section + section .heading {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
#web-exclusive_section + section .heading::before {
  display: none;
}

/* --- Red ribbon (WEB限定キャンペーン) --- */
#web-exclusive_section + section .heading p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  background: var(--cp-red);
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  text-align: center;
}
/* remove theme's blue 50px bar */
#web-exclusive_section + section .heading p::before {
  display: none;
}

/* --- Red h2 + yellow underline --- */
#web-exclusive_section + section .heading .h {
  margin: 0;
  padding: 0;
  color: var(--cp-red);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05rem;
  text-align: center;
  white-space: pre-line; /* keeps the line break in the h2 text */
}
#web-exclusive_section + section .heading .h::after {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  margin: 14px auto 0;
  background: var(--cp-yellow);
  border-radius: 3px;
}

/* --- Body wrapper becomes a grid (used to draw the dashed box) --- */
#web-exclusive_section + section .wrapper_item {
  display: block;
  width: 100%;
}
#web-exclusive_section + section .inner_item_txt {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* --- 1st paragraph (description) --- */
#web-exclusive_section + section .inner_item_txt > p:nth-child(1) {
  grid-row: 1;
  justify-self: center;
  width: 100%;
  max-width: 800px;
  margin: 20px auto 25px;
  color: var(--cp-text);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2;
  text-align: left;
}

/* --- Dashed pink box behind paragraphs 2–4 --- */
#web-exclusive_section + section .inner_item_txt::before {
  content: "";
  grid-column: 1;
  grid-row: 2 / 5;
  background: var(--cp-pink);
  border: 2px dashed var(--cp-red);
  border-radius: 8px;
  z-index: 0;
}
#web-exclusive_section + section .inner_item_txt > p:nth-child(2),
#web-exclusive_section + section .inner_item_txt > p:nth-child(3),
#web-exclusive_section + section .inner_item_txt > p:nth-child(4) {
  grid-column: 1;
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

/* 2nd p: さらに！… */
#web-exclusive_section + section .inner_item_txt > p:nth-child(2) {
  grid-row: 2;
  padding: 30px 30px 10px;
  color: var(--cp-text);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
}

/* 3rd p: 合計価格から 5% 割引 */
#web-exclusive_section + section .inner_item_txt > p:nth-child(3) {
  grid-row: 3;
  padding: 10px 30px;
  color: var(--cp-red);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.8;
}

/* 4th p: お問合せ時に… */
#web-exclusive_section + section .inner_item_txt > p:nth-child(4) {
  grid-row: 4;
  padding: 10px 30px 30px;
  color: var(--cp-text);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8;
}

/* 5th p (&nbsp;) – hide */
#web-exclusive_section + section .inner_item_txt > p:nth-child(5) {
  display: none;
}

/* ===== Tablet / Mobile ===== */
@media screen and (max-width: 768px) {
  #web-exclusive_section + section {
    padding: 25px 15px;
  }
  #web-exclusive_section + section .content_wrapper {
    padding: 70px 15px 20px;
  }
  #web-exclusive_section + section .heading p {
    font-size: 2rem;
    padding: 12px 0;
  }
  #web-exclusive_section + section .heading .h {
    font-size: 2.1rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(1) {
    font-size: 1.4rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(2) {
    padding: 22px 15px 8px;
    font-size: 1.5rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(3) {
    padding: 8px 15px;
    font-size: 2.6rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(4) {
    padding: 8px 15px 22px;
    font-size: 1.3rem;
  }
}


#web-exclusive_section + section .inner_item_txt > p:nth-child(1) span {
  background: linear-gradient(transparent 70%, #f9b4b4 70%);
}
#web-exclusive_section + section .inner_item_txt > p:nth-child(3) span {
  font-size: 1.45em;
}






/* =====================================================
   サービス料金一覧   (#service_section + div)
===================================================== */
#service_section + div {
  --fee-main: #073C7C;   /* was #00AA6C */
  --fee-bg: #E9EEF5;     /* was #F0FCF6 */
  --fee-yellow: #f9d71c;
  --fee-red: #e60012;
  --fee-price: #d00;
  --fee-text: #555;
  background: #f9f9f9;
  padding: 20px 0 60px;
}
#service_section + div .content_wrapper {
  width: 90%;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0;
}

/* --- Section title --- */
#service_section + div .heading::before {
  display: none;
}
#service_section + div .heading.block_header_1 {
  display: block;
  margin: 0 0 40px;
  text-align: center;
}
#service_section + div .heading.block_header_1 p {
  margin: 0;
  padding: 0;
  color: var(--fee-text);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: center;
}
#service_section + div .heading.block_header_1 p::before {
  display: none !important;
}
#service_section + div .heading.block_header_1 p::after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--fee-yellow);
  border-radius: 2px;
}

/* --- Card --- */
#service_section + div .items {
  display: block;
}
#service_section + div .items::after,
#service_section + div .inner_item::after {
  display: none;
}
#service_section + div .inner_item {
  display: flex;
  flex-direction: column;
  float: none;
  width: 100%;
  margin: 0 0 40px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}
/* reference order: heading → price table → included box */
#service_section + div .inner_item > .heading { order: 1; }
#service_section + div .inner_item > .pop     { order: 2; }
#service_section + div .inner_item > .mbx     { order: 3; }

/* --- Card heading (h3) --- */
#service_section + div .heading.block_header_2 {
  margin: 0;
}
#service_section + div .heading.block_header_2 .h {
  display: block;
  margin: 0 0 20px;
  padding: 0 0 10px;
  color: var(--fee-main);
  font-size: 2.24rem !important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0 !important;
  border-bottom: 2px solid var(--fee-main);
}
#service_section + div .heading.block_header_2 .h::before {
  display: none;
}
#service_section + div .heading.block_header_2 .h .fee-red {
  color: var(--fee-red);
}
#service_section + div .heading.block_header_2 p {
  margin: 0 0 20px;
  color: var(--fee-text);
  font-size: 1.52rem;
  font-weight: 600;
  line-height: 2;
  text-align: left;
}

/* --- Price table (ul.pop) --- */
#service_section + div .pop {
  display: block;
  margin: 0 0 20px;
}
#service_section + div .pop li {
  display: flex;
  align-items: stretch;
  padding: 0;
  border-top: 0 !important;
  border-bottom: 1px solid #eee;
}
#service_section + div .pop .inner_item_txt {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}
#service_section + div .pop dl {
  display: block;
  flex: none;
  width: 40%;
  margin: 0;
  padding: 15px;
  background: var(--fee-bg);
border-bottom: 1px solid #80808014;
}
#service_section + div .pop dt {
  padding: 0;
  color: var(--fee-text);
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}
#service_section + div .pop dt::before {
  display: none;
}
#service_section + div .pop dt .sub {
  font-size: 0.8em;
  font-weight: 400;
}
#service_section + div .pop .price {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 15px;
  color: var(--fee-price);
  font-size: 3.04rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
  white-space: nowrap;
}
#service_section + div .pop .price span {
  font-size: 0.7em;
  color: #333;
}

/* --- Included box --- */
#service_section + div .mbx {
  margin: 0 !important;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
  color: var(--fee-text);
  font-size: 1.52rem;
  line-height: 1.8;
}
#service_section + div .mbx p {
  margin: 0 0 20px;
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 2;
}
#service_section + div .mbx ul {
  display: block;
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc outside;
}
#service_section + div .mbx li {
  display: list-item;
  padding: 0;
  border: 0;
  list-style: disc outside;
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 2.2;
}
#service_section + div .mbx li span {
  color: var(--fee-price);
  font-weight: 700;
}

/* --- Disclaimer (added by JS, directly under the cards) --- */
#service_section + div .fee-note {
  margin: 0;
  padding: 0;
  color: #555;
  font-size: 1.52rem;
  font-weight: 600;
  line-height: 2;
  text-align: center;
}
#service_section + div .fee-note .spbr {
  display: none;
}
#service_section + div .heading.block_header_2 p{
padding-left: 0px !important;
}

/* =====================================================
   Sample part removal (see note 3 below)
===================================================== */
[id="nbp20197609 20197609"] {
  display: none !important;
}

/* =====================================================
   Tablet / Mobile
===================================================== */
@media screen and (max-width: 768px) {
  /* campaign */
  #web-exclusive_section + section {
    padding: 25px 0 10px;
  }
  #web-exclusive_section + section .content_wrapper {
    width: 92%;
    padding: 70px 15px 20px;
  }
  #web-exclusive_section + section .heading p {
    font-size: 2rem;
    padding: 12px 0;
  }
  #web-exclusive_section + section .heading .h {
    font-size: 2.1rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(1) {
    font-size: 1.4rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(2) {
    padding: 22px 15px 8px;
    font-size: 1.5rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(3) {
    padding: 8px 15px;
    font-size: 2.4rem;
  }
  #web-exclusive_section + section .inner_item_txt > p:nth-child(4) {
    padding: 8px 15px 22px;
    font-size: 1.3rem;
  }

  /* fee list */
  #service_section + div {
    padding: 10px 0 40px;
  }
  #service_section + div .content_wrapper {
    width: 92%;
  }
  #service_section + div .heading.block_header_1 p {
    font-size: 2.2rem;
  }
  #service_section + div .inner_item {
    margin-bottom: 30px;
    padding: 20px 15px;
  }
  #service_section + div .heading.block_header_2 .h {
    font-size: 1.9rem !important;
  }
  #service_section + div .heading.block_header_2 p,
  #service_section + div .mbx p,
  #service_section + div .mbx li {
    font-size: 1.4rem;
  }
  #service_section + div .pop dl {
    width: 46%;
    padding: 12px 10px;
  }
  #service_section + div .pop dt {
    font-size: 1.4rem;
  }
  #service_section + div .pop .price {
    padding: 12px 10px;
    font-size: 2rem;
  }
  #service_section + div .mbx {
    padding: 12px;
  }
  #service_section + div .fee-note {
    font-size: 1.4rem;
  }
  #service_section + div .fee-note .spbr {
    display: inline;
  }
}

/* border-box for all items */
#service_section + div,
#service_section + div *,
#service_section + div *::before,
#service_section + div *::after,
#web-exclusive_section + section,
#web-exclusive_section + section *,
#web-exclusive_section + section *::before,
#web-exclusive_section + section *::after {
  box-sizing: border-box;
}

