/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 17 2026 | 08:46:22 */
/* ============================================================
   Baby-J Custom Tutoring | HERO
   PC / SP
   ============================================================ */
.bj-custom, .bj-custom *  {
  box-sizing: border-box;
}

.bj-custom  {
  --bj-gold: #92783a;
  --bj-white: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom__hero  {
  position: relative;
  width: 100%;
  min-height: 650px;
  aspect-ratio: 1.52;
  overflow: hidden;
  background-image:     url("https://service.baby-j.site/wp-content/uploads/2026/11/customt-pc-scaled.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bj-custom__content  {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: 7%;
  width: 46%;
  color: var(--bj-white);
}

.bj-custom__title  {
  margin: 0;
  font-size: clamp(26px, 3.35vw, 60px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .045em;
}

.bj-custom__english  {
  margin: 22px 0 2px;
  font-family: Georgia, serif;
  font-size: clamp(11px, 1.2vw, 20px);
  font-weight: 600;
  letter-spacing: .065em;
}

.bj-custom__lead  {
  margin: 0;
  font-size: clamp(14px, 1.65vw, 27px);
  font-weight: 600;
  line-height: 1.7;
}

.bj-custom__category  {
  margin: 18px 0 0;
  font-size: clamp(10px, 1.05vw, 17px);
  line-height: 1.7;
}

.bj-custom__description  {
  margin: clamp(28px, 4vw, 70px) 0 0;
  font-size: clamp(13px, 1.45vw, 24px);
  font-weight: 600;
  line-height: 1.8;
}

.bj-custom__actions  {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 25px;
}

.bj-custom__button  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 300px);
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 5px;
  font-size: clamp(11px, .95vw, 15px);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s ease;
}

.bj-custom__button--primary  {
  background: var(--bj-gold);
  color: #fff;
}

.bj-custom__button--secondary  {
  background: rgba(255,255,255,.78);
  color: var(--bj-gold);
}

.bj-custom__arrow  {
  flex: none;
  font-family: Arial, sans-serif;
  font-size: 1.6em;
  font-weight: 300;
}

.bj-custom__button--primary:hover  {
  background: #80672f;
}

.bj-custom__button--secondary:hover  {
  background: #fff;
}

.bj-custom__sp-only  {
  display: none;
}

/* ============================================================
   SP
   ============================================================ */
@media (max-width: 767px)  {
  .bj-custom__hero  {
    min-height: 0;
    aspect-ratio: 1086 / 1448;
    background-image:       url("https://service.baby-j.site/wp-content/uploads/2026/11/customt-sp.webp");
    background-position: center center;
    background-size: cover;
  }

  .bj-custom__content  {
    top: 3.4%;
    left: 6.5%;
    width: 87%;
    height: 93%;
  }

  .bj-custom__title  {
    font-size: clamp(20px, 5.7vw, 32px);
    line-height: 1.7;
    letter-spacing: .04em;
  }

  .bj-custom__english  {
    margin-top: 4.5%;
    font-size: clamp(10px, 2.55vw, 15px);
    letter-spacing: .04em;
  }

  .bj-custom__lead  {
    font-size: clamp(12px, 3.25vw, 19px);
    line-height: 1.6;
  }

  .bj-custom__category  {
    margin-top: 4%;
    font-size: clamp(10px, 2.45vw, 14px);
  }

  .bj-custom__description  {
    margin-top: 7%;
    font-size: clamp(12px, 3.35vw, 20px);
    line-height: 1.65;
  }

  .bj-custom__actions  {
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 0;
    gap: clamp(15px, 5vw, 28px);
    margin: 0;
  }

  .bj-custom__button  {
    width: 100%;
    min-height: 0;
    aspect-ratio: 6.25;
    padding: 0 11%;
    border-radius: 5px;
    font-size: clamp(13px, 3.65vw, 21px);
  }

  .bj-custom__arrow  {
    font-size: 1.7em;
  }

  .bj-custom__sp-only  {
    display: initial;
  }

  .bj-custom__pc-only  {
    display: none;
  }

}

.bj-custom__hero  {
  background-image: url("https://service.baby-j.site/wp-content/uploads/2026/11/customt-pc-scaled.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 767px)  {
  .bj-custom__hero  {
    background-image: url("https://service.baby-j.site/wp-content/uploads/2026/11/customt-sp.webp");
    background-size: cover;
    background-position: center;
  }

}

/* ==========================================================
   Baby-J Custom Tutoring
   SECTION 02｜Baby-Jが大切にしていること
   ========================================================== */
.bj-custom02, .bj-custom02 *  {
  box-sizing: border-box;
}

.bj-custom02  {
  width: 100%;
  background: #fbf8f2;
  color: #183047;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom02__inner  {
  width: min(100% - 64px, 1120px);
  margin: 0 auto;
  padding: 48px 0 52px;
}

.bj-custom02__title  {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .055em;
}

.bj-custom02__grid  {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bj-custom02__item  {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 4px 16px 8px;
  text-align: center;
}

.bj-custom02__item + .bj-custom02__item  {
  border-left: 1px solid #ece8df;
}

.bj-custom02__icon  {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.bj-custom02__heading  {
  margin: 0 0 10px;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
}

.bj-custom02__text  {
  margin: 0;
  font-size: clamp(10px, .85vw, 13px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px)  {
  .bj-custom02__inner  {
    width: calc(100% - 48px);
  }

  .bj-custom02__item  {
    padding-inline: 10px;
  }

  .bj-custom02__heading  {
    font-size: 13px;
  }

  .bj-custom02__text  {
    font-size: 10px;
  }

}

/* ==========================================================
   SP｜2 columns × 2 rows
   ========================================================== */
@media (max-width: 767px)  {
  .bj-custom02__inner  {
    width: calc(100% - 32px);
    padding: 38px 0 42px;
  }

  .bj-custom02__title  {
    margin-bottom: 28px;
    font-size: clamp(15px, 4vw, 19px);
  }

  .bj-custom02__grid  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .bj-custom02__item  {
    padding: 0 8px;
  }

  .bj-custom02__item + .bj-custom02__item  {
    border-left: 0;
  }

  .bj-custom02__item:nth-child(even)  {
    border-left: 1px solid #ece8df;
  }

  .bj-custom02__icon  {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .bj-custom02__heading  {
    margin-bottom: 8px;
    font-size: clamp(12px, 3.25vw, 15px);
  }

  .bj-custom02__text  {
    font-size: clamp(10px, 2.6vw, 12px);
    line-height: 1.8;
  }

}

/* ==========================================================
   Baby-J Custom Tutoring
   SECTION 03｜教える人ではなく、育む人を。
   ========================================================== */
.bj-custom03, .bj-custom03 *  {
  box-sizing: border-box;
}

.bj-custom03  {
  width: 100%;
  background: #fff;
  color: #102b4a;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom03__inner  {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(26px, 3.5vw, 50px)            clamp(22px, 4.5vw, 65px);
}

.bj-custom03__content  {
  padding-right: clamp(18px, 3vw, 45px);
}

.bj-custom03__title  {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 39px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .045em;
}

.bj-custom03__description  {
  margin: clamp(24px, 3.5vw, 52px) 0 0;
  font-size: clamp(12px, 1.13vw, 16px);
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: .01em;
}

/* 写真：左2枚＋右縦長1枚 */
.bj-custom03__photos  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
  aspect-ratio: 1.5;
  overflow: hidden;
}

.bj-custom03__photo  {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.bj-custom03__photo--01  {
  grid-column: 1;
  grid-row: 1;
}

.bj-custom03__photo--02  {
  grid-column: 1;
  grid-row: 2;
}

.bj-custom03__photo--03  {
  grid-column: 2;
  grid-row: 1 / 3;
}

.bj-custom03__photo img  {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px)  {
  .bj-custom03__inner  {
    grid-template-columns: 45% 55%;
    padding: 30px 24px;
  }

  .bj-custom03__title  {
    font-size: clamp(22px, 2.8vw, 29px);
  }

  .bj-custom03__description  {
    margin-top: 24px;
    font-size: 11px;
    line-height: 1.95;
  }

}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 767px)  {
  .bj-custom03__inner  {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 42px 20px 46px;
  }

  .bj-custom03__content  {
    padding: 0;
  }

  .bj-custom03__title  {
    font-size: clamp(24px, 6.1vw, 32px);
    line-height: 1.65;
  }

  .bj-custom03__description  {
    margin-top: 24px;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 2.05;
  }

  .bj-custom03__photos  {
    margin-top: 32px;
    gap: 3px;
    aspect-ratio: 1.35;
  }

}

/* ==========================================================
   Baby-J Custom Tutoring
   SECTION 04｜私たちが目指す教育
   ========================================================== */
.bj-custom04, .bj-custom04 *  {
  box-sizing: border-box;
}

.bj-custom04  {
  width: 100%;
  background: #f7f5f0;
  color: #102b4a;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom04__inner  {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 740 / 366;
  margin: 0 auto;
  overflow: hidden;
  background-image:     url("https://service.baby-j.site/wp-content/uploads/2026/11/customt04-01-scaled.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bj-custom04__content  {
  position: absolute;
  top: 13%;
  left: 4.5%;
  width: 38%;
  z-index: 1;
}

.bj-custom04__title  {
  margin: 0;
  font-size: clamp(19px, 2.65vw, 42px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .035em;
}

.bj-custom04__message  {
  margin: clamp(22px, 5.7vw, 100px) 0 0;
  font-size: clamp(13px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: .015em;
}

.bj-custom04__closing  {
  margin: clamp(22px, 6vw, 105px) 0 0;
  font-size: clamp(13px, 1.65vw, 26px);
  font-weight: 600;
  line-height: 1.8;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px)  {
  .bj-custom04__content  {
    left: 4%;
    width: 42%;
  }

  .bj-custom04__title  {
    font-size: clamp(19px, 2.6vw, 27px);
  }

  .bj-custom04__message  {
    margin-top: 5vw;
    font-size: clamp(13px, 1.7vw, 18px);
  }

  .bj-custom04__closing  {
    margin-top: 5vw;
    font-size: clamp(12px, 1.55vw, 17px);
  }

}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 767px)  {
  .bj-custom04__inner  {
    aspect-ratio: 3 / 4;
    background-position: 60% center;
  }

  .bj-custom04__inner::before  {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(       180deg,       rgba(250,248,244,.94) 0%,       rgba(250,248,244,.85) 26%,       rgba(250,248,244,.22) 54%,       rgba(250,248,244,0) 76%     );
    pointer-events: none;
  }

  .bj-custom04__content  {
    top: 7%;
    left: 7%;
    width: 86%;
  }

  .bj-custom04__title  {
    font-size: clamp(22px, 5.8vw, 30px);
  }

  .bj-custom04__message  {
    margin-top: 26px;
    font-size: clamp(14px, 3.6vw, 19px);
    line-height: 1.9;
  }

  .bj-custom04__closing  {
    margin-top: 22px;
    font-size: clamp(13px, 3.4vw, 18px);
  }

}

/* SECTION 04｜SP修正 */
@media (max-width: 767px)  {
  .bj-custom04__inner::before  {
    display: none;
  }

  .bj-custom04__inner  {
    background-position: 60% center;
  }

  .bj-custom04__content  {
    top: 7%;
    left: 7%;
    width: 86%;
  }

  .bj-custom04__message  {
    margin-top: 26px;
  }

  .bj-custom04__closing  {
    margin-top: 22px;
  }

}

/* ==========================================================
   Baby-J Custom Tutoring
   SECTION 05｜家庭教師だからできること
   ========================================================== */
.bj-custom05, .bj-custom05 *  {
  box-sizing: border-box;
}

.bj-custom05  {
  width: 100%;
  background: #fff;
  color: #102b4a;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom05__inner  {
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
  padding: clamp(45px, 5vw, 80px) 0;
}

/* HEADER */
.bj-custom05__header  {
  margin-bottom: clamp(24px, 3vw, 42px);
  text-align: center;
}

.bj-custom05__title  {
  margin: 0;
  font-size: clamp(22px, 2.35vw, 36px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .04em;
}

.bj-custom05__line  {
  display: block;
  width: 36px;
  height: 1px;
  margin: 20px auto;
  background: #bd944e;
}

.bj-custom05__lead  {
  margin: 0;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .035em;
}

/* GRID */
.bj-custom05__grid  {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.bj-custom05__card  {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1.62;
  overflow: hidden;
  background: #f5f3ef;
}

.bj-custom05__card img  {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bj-custom05__caption  {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 21%;
  padding: 10px 16px;
  background: rgba(14, 40, 76, .82);
  color: #fff;
  font-size: clamp(14px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px)  {
  .bj-custom05__inner  {
    width: calc(100% - 48px);
  }

  .bj-custom05__grid  {
    gap: 18px;
  }

  .bj-custom05__caption  {
    font-size: 14px;
  }

}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 767px)  {
  .bj-custom05__inner  {
    width: calc(100% - 36px);
    padding: 44px 0 52px;
  }

  .bj-custom05__header  {
    margin-bottom: 28px;
  }

  .bj-custom05__title  {
    font-size: clamp(21px, 5.5vw, 28px);
  }

  .bj-custom05__line  {
    width: 32px;
    margin: 16px auto;
  }

  .bj-custom05__lead  {
    font-size: clamp(12px, 3.2vw, 15px);
  }

  .bj-custom05__grid  {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bj-custom05__card  {
    aspect-ratio: 1.62;
  }

  .bj-custom05__caption  {
    min-height: 21%;
    padding: 9px 12px;
    font-size: clamp(14px, 3.7vw, 18px);
  }

}

/* ==========================================================
   Baby-J Custom Tutoring
   SECTION 06｜出会いが、未来を変えていく。
   文字みエール｜Section 06 全文置換｜01・02写真位置の個別補正
   ========================================================== */
.bj-custom06, .bj-custom06 *  {
  box-sizing: border-box;
}

.bj-custom06  {
  width: 100%;
  background:     radial-gradient(ellipse at 18% 5%, rgba(191, 219, 132, .28), transparent 48%),     radial-gradient(ellipse at 92% 12%, rgba(185, 215, 124, .26), transparent 42%),     #f6f8ec;
  color: #0e284c;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.bj-custom06__inner  {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 64px) 0 clamp(30px, 4vw, 64px);
}

.bj-custom06__header  {
  text-align: center;
  margin-bottom: clamp(20px, 2.6vw, 38px);
}

.bj-custom06__title  {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 39px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .04em;
}

.bj-custom06__intro  {
  margin: 10px 0 0;
  font-size: clamp(11px, .9vw, 15px);
  line-height: 1.8;
  letter-spacing: .01em;
}

/* PC / TB：採用済み4列構成を維持 */
.bj-custom06__grid  {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.bj-custom06__card  {
  position: relative;
  min-width: 0;
  aspect-ratio: .54;
  /* 参照画像1：縦長の写真構図 */
  overflow: hidden;
  background: #e6e7e0;
}

.bj-custom06__card > img  {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bj-custom06__copy  {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  min-height: 0;
  height: 26%;
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(20, 30, 39, .53);
  color: #fff;
  text-align: center;
}

.bj-custom06__number  {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(13px, 1.25vw, 19px);
  line-height: 1.2;
}

.bj-custom06__copy h3  {
  margin: 2px 0 4px;
  font-size: clamp(13px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.bj-custom06__copy p  {
  margin: 0;
  font-size: clamp(10px, .88vw, 13px);
  line-height: 1.45;
}

@media (min-width: 768px) and (max-width: 1023px)  {
  .bj-custom06__inner  {
    width: calc(100% - 28px);
  }

  .bj-custom06__copy  {
    height: 27%;
    padding: 5px 5px 6px;
  }

  .bj-custom06__copy h3  {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .bj-custom06__copy p  {
    font-size: 10px;
    line-height: 1.45;
  }

}

/* PC / TB｜01・02 写真の個別フレーミング調整 */
@media (min-width: 768px)  {
  /* 01：右寄りに見える人物を左方向へ戻す */
  .bj-custom06__card--01 > img  {
    object-position: 65% center;
  }

  /* 02：人物が大きく見えるため、縦方向の切り取り量を減らす。
     object-fit: contain は余白を生むので使わない。 */
  .bj-custom06__card--02 > img  {
    object-position: 38% center;
  }

}

/* SP｜文字みエール：写真はクリア、文字直下だけを局所補正 */
@media (max-width: 767px)  {
  .bj-custom06  {
    background: #fff;
  }

  .bj-custom06__inner  {
    width: 100%;
    padding: 0;
  }

  .bj-custom06__header  {
    display: none;
  }

  .bj-custom06__grid  {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .bj-custom06__card  {
    width: 100%;
    aspect-ratio: 1.85;
  }

  .bj-custom06__card > img  {
    object-fit: cover;
  }

  .bj-custom06__copy  {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    min-height: 0;
    height: auto;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
    color: #0e284c;
    text-align: left;
    isolation: isolate;
    text-shadow: none;
  }

  /* 文字のある側だけを補正。輪郭が見えないフェザーマスク */
  .bj-custom06__copy::before  {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 3% -8% 3% -8%;
    pointer-events: none;
    background: transparent;
    -webkit-backdrop-filter: brightness(1.12) contrast(1.16);
    backdrop-filter: brightness(1.12) contrast(1.16);
    -webkit-mask-image: radial-gradient(ellipse 76% 70% at 50% 50%, #000 28%, transparent 100%);
    mask-image: radial-gradient(ellipse 76% 70% at 50% 50%, #000 28%, transparent 100%);
  }

  .bj-custom06__card--02 .bj-custom06__copy,   .bj-custom06__card--04 .bj-custom06__copy  {
    inset: 0 0 0 auto;
    align-items: flex-start;
  }

  /* 採用済み02の位置を固定 */
  .bj-custom06__card--02 .bj-custom06__copy  {
    right: -4%;
  }

  .bj-custom06__number  {
    font-size: clamp(14px, 3.6vw, 20px);
    font-weight: 600;
  }

  .bj-custom06__copy h3  {
    margin: 5px 0 10px;
    font-size: clamp(13px, 3.4vw, 19px);
    font-weight: 600;
    line-height: 1.5;
  }

  .bj-custom06__copy p  {
    font-size: clamp(9px, 2.25vw, 12px);
    font-weight: 500;
    line-height: 1.7;
  }

  /* 04：弓道写真の採用済みトリミングを固定 */
  .bj-custom06__card--04 > img  {
    object-position: center 25%;
  }

  /* 04は白文字のため、写真を局所的に暗く整える */
  .bj-custom06__card--04 .bj-custom06__copy  {
    color: #fff;
  }

  .bj-custom06__card--04 .bj-custom06__copy::before  {
    -webkit-backdrop-filter: brightness(.68) contrast(1.12);
    backdrop-filter: brightness(.68) contrast(1.12);
  }

}

/* Baby-J Section 07 | 暫定FIX：CSS（プレビューから抽出） */
.bj-customt07,.bj-customt07 * {
  box-sizing:border-box
}

.bj-customt07 {
  --navy:#0e284c;
  --gold:#b58d3b;
  color:var(--navy);
  background:linear-gradient(120deg,#f4ede3,#faf6f0 55%,#f3eadf);
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
  overflow:hidden
}

.ct07-intro {
  position:relative;
  padding:35px 3.2% 38px;
  min-height:215px;
  isolation:isolate
}

.ct07-intro:before {
  content:"";
  position:absolute;
  inset:0 0 0 42%;
  z-index:-1;
  background:url(https://service.baby-j.site/wp-content/uploads/2026/11/customt07-acce.webp) right top/contain no-repeat;
  opacity:.72
}

.bj-customt07 h2 {
  font-weight:500;
  font-size:clamp(29px,3.5vw,58px);
  line-height:1.4;
  letter-spacing:.045em;
  margin:20px 0 7px
}

.ct07-sub {
  font-size:clamp(15px,1.8vw,28px);
  line-height:1.6;
  margin:0
}

.ct07-sub-sp,.ct07-sp-only {
  display:none
}

.ct07-programs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0
}

.ct07-item {
  display:grid;
  grid-template-columns:60% 40%;
  grid-template-rows:minmax(0,1fr) auto;
  min-width:0;
  height:clamp(235px,20vw,320px);
  position:relative
}

.ct07-photo {
  grid-column:1;
  grid-row:1/3;
  position:relative;
  min-width:0;
  height:100%;
  overflow:hidden;
  -webkit-mask-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDEwMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMCAxNCBDMTcwIDQ0IDMzMCA0NCA1MDAgMTQgUzgzMCAtMTYgMTAwMCAxNCBMMTAwMCA5ODYgQzgzMCA5NTYgNjcwIDk1NiA1MDAgOTg2IFMxNzAgMTAxNiAwIDk4NiBaIi8+PC9zdmc+");
  mask-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDEwMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMCAxNCBDMTcwIDQ0IDMzMCA0NCA1MDAgMTQgUzgzMCAtMTYgMTAwMCAxNCBMMTAwMCA5ODYgQzgzMCA5NTYgNjcwIDk1NiA1MDAgOTg2IFMxNzAgMTAxNiAwIDk4NiBaIi8+PC9zdmc+");
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat
}

/* A single contour per boundary; the row below uses the matching top contour. */
.ct07-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  max-width:none;
  display:block
}

.ct07-item-01 img {
  object-position:52% 48%
}

.ct07-item-02 img {
  object-position:53% 48%
}

.ct07-item-03 img {
  object-position:50% 48%
}

.ct07-item-04 img {
  object-position:52% 48%
}

.ct07-item-05 img {
  object-position:52% 48%
}

.ct07-item-06 img {
  object-position:53% 48%
}

.ct07-info {
  grid-column:2;
  grid-row:1;
  align-self:end;
  padding:12px 12px 4px;
  min-width:0
}

.ct07-info h3 {
  font-size:clamp(16px,1.7vw,27px);
  line-height:1.35;
  margin:0 0 9px;
  font-weight:600;
  overflow-wrap:anywhere
}

.ct07-info h3 em {
  display:none
}

.ct07-info h3:after {
  content:"";
  display:block;
  width:20px;
  height:1px;
  background:#9aabb5;
  margin-top:8px
}

.ct07-info p {
  font-size:clamp(11px,1.12vw,17px);
  line-height:1.55;
  margin:0
}

.ct07-outcomes {
  grid-column:2;
  grid-row:2;
  padding:6px 12px 24px;
  min-width:0
}

.ct07-outcomes-title {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--gold);
  font-size:clamp(13px,1.35vw,19px);
  white-space:nowrap;
  margin:0 0 8px
}

.ct07-outcomes-title:before,.ct07-outcomes-title:after {
  content:"";
  height:1px;
  background:var(--gold);
  flex:1
}

.ct07-outcomes ul {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  list-style:none;
  margin:0;
  padding:0
}

.ct07-outcomes li {
  text-align:center;
  font-size:clamp(9px,.95vw,14px);
  line-height:1.45;
  padding:0 2px;
  border-right:1px solid var(--gold)
}

.ct07-outcomes li:last-child {
  border:0
}

@media(min-width:721px) and (max-width:1100px) {
  .ct07-item {
    grid-template-columns:57% 43%;
    height:clamp(210px,23vw,275px)
  }

  .ct07-info {
    padding:8px 8px 3px
  }

  .ct07-outcomes {
    padding:4px 8px 12px
  }

  .ct07-info h3 {
    font-size:clamp(15px,1.9vw,23px)
  }

  .ct07-info p {
    font-size:clamp(10px,1.25vw,15px)
  }

  .ct07-outcomes li {
    font-size:clamp(9px,1vw,13px)
  }

}

@media(max-width:720px) {
  .ct07-programs {
    grid-template-columns:1fr
  }

  .ct07-item {
    grid-template-columns:53% 47%;
    height:clamp(215px,48vw,330px)
  }

  .ct07-info {
    padding:8px 10px 3px
  }

  .ct07-outcomes {
    padding:5px 10px 15px
  }

  .ct07-info h3 {
    font-size:clamp(16px,3.3vw,24px)
  }

  .ct07-info p {
    font-size:clamp(11px,2.3vw,16px)
  }

  .ct07-outcomes li {
    font-size:clamp(9px,1.9vw,13px)
  }

  .ct07-intro {
    padding:22px 5% 35px;
    min-height:0
  }

  .bj-customt07 h2 {
    font-size:clamp(24px,6vw,40px);
    margin:12px 0
  }

  .ct07-sub-pc {
    display:none
  }

  .ct07-sub-sp,.ct07-sp-only {
    display:block
  }

  .ct07-sub {
    font-size:clamp(13px,3vw,18px)
  }

}

/* Single source of truth: 2 columns from 721px, 1 below; no subsequent overrides. */
.ct07-item {
  overflow:hidden
}

.ct07-photo img {
  object-fit:cover;
  transform:none
}

@media(min-width:721px) and (max-width:850px) {
  .ct07-item {
    height:210px
  }

  .ct07-info h3 {
    font-size:15px
  }

  .ct07-info p {
    font-size:10px
  }

  .ct07-outcomes-title {
    font-size:12px
  }

  .ct07-outcomes li {
    font-size:9px
  }

}

/* Baby-J Section 08 — asymmetric photo-led editorial layout, full replacement */
.bj-customt08 {
  --navy:#0e284c;
  --gold:#b48125;
  --ivory:#fbf8f3;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--ivory);
  color:var(--navy);
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif
}

.bj-customt08 * {
  box-sizing:border-box
}

.bj-customt08 h2,.bj-customt08 h3,.bj-customt08 p {
  margin:0
}

.bj-customt08 .ct08-layout {
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(320px,.82fr);
  grid-template-rows:auto 1fr;
  min-height:clamp(610px,55vw,850px);
  max-width:1800px;
  margin:auto;
  position:relative
}

.bj-customt08 .ct08-photo {
  grid-column:1;
  grid-row:1/3;
  min-height:610px;
  background:url("https://service.baby-j.site/wp-content/uploads/2026/11/customt08-bg01.webp") center center/cover no-repeat;
  position:relative
}

.bj-customt08 .ct08-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(251,248,243,.60),transparent 22%,transparent 85%,rgba(251,248,243,.20));
  pointer-events:none
}

.bj-customt08 .ct08-intro {
  grid-column:2;
  grid-row:1;
  padding:clamp(34px,4vw,76px) clamp(25px,3.3vw,64px) 18px;
  z-index:1;
  align-self:start
}

.bj-customt08 h2 {
  font-size:clamp(23px,2.3vw,39px);
  line-height:1.6;
  letter-spacing:.015em;
  font-weight:600;
  overflow-wrap:normal;
  word-break:keep-all
}

.bj-customt08 .ct08-flourish {
  display:block;
  width:80%;
  max-width:240px;
  height:18px;
  margin:16px 0 18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 18'%3E%3Cpath d='M1 12 C45 -4 86 23 131 9 S215 16 259 4' fill='none' stroke='%23b48125' stroke-width='1.1'/%3E%3C/svg%3E") center/100% 100% no-repeat
}

.bj-customt08 .ct08-intro p {
  font-size:clamp(12px,1.05vw,16px);
  line-height:2.05;
  letter-spacing:.02em
}

.bj-customt08 .ct08-intro p br {
  display:none
}

.bj-customt08 .ct08-wishes {
  grid-column:2;
  grid-row:2;
  padding:20px clamp(25px,3.3vw,64px) 95px;
  align-self:start;
  z-index:1
}

.bj-customt08 h3 {
  color:var(--gold);
  font-size:clamp(23px,2.15vw,34px);
  line-height:1.55;
  font-weight:600
}

.bj-customt08 .ct08-rule {
  display:block;
  width:60px;
  height:1px;
  background:var(--gold);
  margin:16px 0 20px;
  opacity:.7
}

.bj-customt08 .ct08-wishes ul {
  padding:0;
  margin:0;
  list-style:none;
  display:grid;
  gap:13px
}

.bj-customt08 .ct08-wishes li {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:clamp(11px,1vw,15px);
  line-height:1.65;
  font-weight:600
}

.bj-customt08 .ct08-wishes li img {
  width:clamp(30px,2.6vw,40px);
  height:clamp(30px,2.6vw,40px);
  object-fit:contain;
  flex:none
}

.bj-customt08 .ct08-rule--closing {
  margin:20px 0 17px
}

.bj-customt08 .ct08-closing {
  font-size:clamp(11px,1vw,15px);
  line-height:1.95
}

.bj-customt08 .ct08-closing br {
  display:none
}

.bj-customt08 .ct08-wave {
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:clamp(36px,4.7vw,66px);
  pointer-events:none;
  z-index:3
}

@media (min-width:761px) and (max-width:1120px) {
  .bj-customt08 .ct08-layout {
    grid-template-columns:minmax(0,1.25fr) minmax(315px,.85fr);
    min-height:590px
  }

  .bj-customt08 .ct08-photo {
    min-height:590px;
    background-position:48% center
  }

  .bj-customt08 .ct08-intro {
    padding:30px 24px 10px
  }

  .bj-customt08 .ct08-wishes {
    padding:14px 24px 68px
  }

  .bj-customt08 h2 {
    font-size:clamp(21px,2.45vw,28px)
  }

  .bj-customt08 h3 {
    font-size:clamp(21px,2.35vw,27px)
  }

  .bj-customt08 .ct08-intro p,.bj-customt08 .ct08-closing {
    font-size:12px
  }

  .bj-customt08 .ct08-wishes li {
    font-size:11px
  }

}

/* Section 08 — 760px以下：上に写真、下に左右2カラム */
@media (max-width: 760px) {
  .bj-customt08 .ct08-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    align-items: start;
  }

  .bj-customt08 .ct08-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.65 / 1;
    background-position: center 52%;
    background-size: cover;
  }

  .bj-customt08 .ct08-photo::after {
    background: linear-gradient(
      to bottom,
      transparent 84%,
      rgba(251, 248, 243, .35) 100%
    );
  }

  .bj-customt08 .ct08-intro,
  .bj-customt08 .ct08-wishes {
    grid-row: 2;
    min-width: 0;
    align-self: stretch;
    text-align: left;
    z-index: 1;
  }

  .bj-customt08 .ct08-intro {
    grid-column: 1;
    padding: 25px 12px 56px 18px;
  }

  .bj-customt08 .ct08-wishes {
    grid-column: 2;
    padding: 25px 18px 56px 12px;
    border-left: 1px solid rgba(180, 129, 37, .24);
  }

  .bj-customt08 h2 {
    font-size: clamp(15px, 4.15vw, 26px);
    line-height: 1.65;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .bj-customt08 .ct08-title-break {
    display: none;
  }

  .bj-customt08 .ct08-flourish {
    width: 100%;
    max-width: 150px;
    height: 14px;
    margin: 13px 0 15px;
  }

  .bj-customt08 .ct08-intro p,
  .bj-customt08 .ct08-closing {
    font-size: clamp(10px, 2.5vw, 13px);
    line-height: 1.95;
    letter-spacing: 0;
  }

  .bj-customt08 h3 {
    font-size: clamp(15px, 4vw, 25px);
    line-height: 1.6;
  }

  .bj-customt08 .ct08-rule {
    width: 44px;
    margin: 13px 0 15px;
  }

  .bj-customt08 .ct08-wishes ul {
    gap: 13px;
    margin: 0;
    max-width: none;
  }

  .bj-customt08 .ct08-wishes li {
    gap: 6px;
    font-size: clamp(9px, 2.25vw, 12px);
    line-height: 1.65;
    font-weight: 500;
    align-items: center;
  }

  .bj-customt08 .ct08-wishes li img {
    width: clamp(20px, 5.4vw, 30px);
    height: clamp(20px, 5.4vw, 30px);
  }

  .bj-customt08 .ct08-rule--closing {
    margin: 16px 0 13px;
  }

  .bj-customt08 .ct08-wave {
    height: 25px;
  }
}

/* Baby-J Custom Tutor — Section 09 | Scoped, standalone */
.bj-customt09, .bj-customt09 * {
  box-sizing:border-box
}

.bj-customt09 {
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:clamp(355px,43.8vw,720px);
  background-color:#e8e1d5;
  background-image:linear-gradient(90deg,rgba(252,249,244,.97) 0%,rgba(252,249,244,.89) 21%,rgba(252,249,244,.52) 35%,rgba(252,249,244,0) 51%),url('https://service.baby-j.site/wp-content/uploads/2026/11/customt09-01-scaled.webp');
  background-position:center,center center;
  background-size:cover,cover;
  background-repeat:no-repeat;
  overflow:hidden;
  color:#0e284c;
}

.bj-customt09__inner {
  display:flex;
  align-items:center;
  min-height:inherit;
  width:100%;
  padding:clamp(28px,5.5vw,90px) clamp(28px,3.7vw,76px);
}

.bj-customt09__copy {
  position:relative;
  z-index:1;
  max-width:570px;
  width:47%
}

.bj-customt09__title {
  margin:0;
  font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;
  font-weight:500;
  font-size:clamp(25px,2.65vw,48px);
  line-height:1.52;
  letter-spacing:.035em;
  white-space:nowrap;
}

.bj-customt09__rule {
  display:block;
  width:28px;
  height:1px;
  background:#c9a36d;
  margin:clamp(19px,2.8vw,42px) 0 clamp(18px,2.7vw,40px)
}

.bj-customt09__lead {
  margin:0;
  font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;
  font-size:clamp(12px,1.18vw,18px);
  line-height:2;
  letter-spacing:.02em;
}

.bj-customt09__cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:202px;
  min-height:46px;
  margin-top:clamp(16px,2.1vw,34px);
  padding:10px 19px;
  border:1px solid #c7a36c;
  background:#fff;
  color:#aa8755;
  text-decoration:none;
  font-family:'Noto Serif JP','Yu Mincho',serif;
  font-size:13px;
  letter-spacing:.045em;
  transition:background-color .2s ease,color .2s ease;
}

.bj-customt09__cta:hover,.bj-customt09__cta:focus-visible {
  background:#0e284c;
  color:#fff
}

.bj-customt09__cta span {
  font-size:17px;
  line-height:1
}

@media (min-width:721px) and (max-width:1100px) {
  .bj-customt09__copy {
    width:49%
  }

  .bj-customt09__title {
    font-size:clamp(22px,2.75vw,31px)
  }

}

@media (max-width:720px) {
  .bj-customt09 {
    min-height:0;
    background-image:none;
    background-color:#fbf9f5
  }

  .bj-customt09::before {
    content:"";
    display:block;
    width:100%;
    height:clamp(270px,83vw,540px);
    background-image:url('https://service.baby-j.site/wp-content/uploads/2026/11/customt09-01-scaled.webp');
    background-size:cover;
    background-position:62% center;
    background-repeat:no-repeat
  }

  .bj-customt09__inner {
    min-height:0;
    padding:32px 22px 42px;
    display:block
  }

  .bj-customt09__copy {
    width:100%;
    max-width:none;
    text-align:center
  }

  .bj-customt09__title {
    font-size:clamp(21px,5.4vw,30px);
    white-space:normal;
    line-height:1.7
  }

  .bj-customt09__rule {
    margin:22px auto
  }

  .bj-customt09__lead {
    font-size:13px;
    line-height:2
  }

  .bj-customt09__cta {
    margin-top:25px;
    min-height:48px
  }

}

@media (max-width:350px) {
  .bj-customt09__title {
    font-size:20px
  }

  .bj-customt09__lead {
    font-size:12px
  }

}

/* Baby-J / オーダーメイド家庭教師 Section 10 : 講師登録CTA */
.bj-customt10,.bj-customt10 * {
  box-sizing:border-box
}

.bj-customt10 {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  min-height:clamp(380px,50vw,690px);
  background:#eee8dc;
  color:#76592d
}

.bj-customt10__photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:44% center;
  z-index:-2
}

.bj-customt10__shade {
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,transparent 0%,transparent 43%,rgba(255,253,248,.10) 53%,rgba(255,253,248,.82) 69%,rgba(255,253,248,.94) 100%)
}

.bj-customt10__inner {
  min-height:inherit;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:clamp(30px,5.1vw,80px) clamp(26px,5.2vw,88px)
}

.bj-customt10__copy {
  width:43%;
  max-width:610px;
  min-width:0
}

.bj-customt10__title {
  margin:0 0 clamp(22px,3vw,46px);
  font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;
  font-size:clamp(23px,2.55vw,42px);
  font-weight:500;
  line-height:1.95;
  letter-spacing:.025em;
  white-space:nowrap
}

.bj-customt10__lead {
  margin:0 0 clamp(20px,2.5vw,38px);
  font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;
  font-size:clamp(12px,1.12vw,17px);
  font-weight:400;
  line-height:2.05;
  letter-spacing:.025em
}

.bj-customt10__cta {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:46px;
  padding:10px 19px;
  background:#a98b4f;
  color:#fff;
  text-decoration:none;
  border:1px solid #a98b4f;
  font-family:'Noto Serif JP','Yu Mincho',serif;
  font-size:clamp(12px,.92vw,15px);
  letter-spacing:.04em;
  transition:background .2s,border-color .2s
}

.bj-customt10__cta:hover,.bj-customt10__cta:focus-visible {
  background:#8d713d;
  border-color:#8d713d
}

@media(min-width:721px) and (max-width:1180px) {
  .bj-customt10__inner {
    padding-right:3.5%
  }

  .bj-customt10__copy {
    width:45%
  }

  .bj-customt10__title {
    font-size:clamp(20px,2.5vw,30px)
  }

  .bj-customt10__shade {
    background:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(255,253,248,.6) 61%,rgba(255,253,248,.95) 100%)
  }

}

@media(max-width:720px) {
  .bj-customt10 {
    min-height:0;
    display:flex;
    flex-direction:column;
    background:#f8f5ee
  }

  .bj-customt10__photo {
    position:relative;
    inset:auto;
    z-index:auto;
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1.38;
    object-fit:cover;
    object-position:37% center
  }

  .bj-customt10__shade {
    display:none
  }

  .bj-customt10__inner {
    display:block;
    min-height:0;
    padding:32px 24px 40px
  }

  .bj-customt10__copy {
    width:100%;
    max-width:none;
    text-align:center
  }

  .bj-customt10__title {
    font-size:clamp(19px,5.3vw,27px);
    line-height:1.8;
    margin-bottom:20px;
    white-space:normal
  }

  .bj-customt10__lead {
    font-size:clamp(12px,3.1vw,15px);
    line-height:2;
    margin-bottom:25px
  }

  .bj-customt10__cta {
    min-height:48px;
    padding:12px 22px;
    min-width:210px;
    font-size:13px
  }

}

@media(max-width:360px) {
  .bj-customt10__inner {
    padding-left:16px;
    padding-right:16px
  }

  .bj-customt10__title {
    font-size:18px
  }

}

/* Baby-J 家庭教師 FAQ｜独立スコープ・PC2列/SP1列・初期クローズ */
.bj-customt-faq {
  box-sizing:border-box;
  background:#fcf8f1;
  color:#102d4f;
  padding:clamp(65px,7vw,116px) 24px clamp(75px,8vw,132px);
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif
}

.bj-customt-faq * {
  box-sizing:border-box
}

.bj-customt-faq .ctfaq-wrap {
  max-width:1200px;
  margin:0 auto
}

.bj-customt-faq .ctfaq-header {
  text-align:center;
  margin-bottom:clamp(40px,5vw,64px)
}

.bj-customt-faq .ctfaq-header h2 {
  margin:0;
  font-size:clamp(27px,3vw,42px);
  font-weight:600;
  letter-spacing:.12em;
  line-height:1.5
}

.bj-customt-faq .ctfaq-header p {
  margin:8px 0 0;
  color:#ae8e57;
  font:12px/1.6 Georgia,serif;
  letter-spacing:.06em
}

.bj-customt-faq .ctfaq-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(28px,4.5vw,72px);
  align-items:start
}

.bj-customt-faq .ctfaq-item {
  min-width:0;
  margin:0;
  border-bottom:1px solid #d8b983
}

.bj-customt-faq .ctfaq-item:nth-child(-n+2) {
  border-top:1px solid #d8b983
}

.bj-customt-faq .ctfaq-question {
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 20px;
  align-items:center;
  gap:12px;
  padding:23px 3px;
  min-height:82px
}

.bj-customt-faq .ctfaq-question::-webkit-details-marker {
  display:none
}

.bj-customt-faq .ctfaq-question::marker {
  content:""
}

.bj-customt-faq .ctfaq-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#f0ece5;
  color:#173653;
  font:600 12px/1 Arial,sans-serif;
  flex-shrink:0
}

.bj-customt-faq .ctfaq-qtext {
  font-size:clamp(14px,1.15vw,17px);
  font-weight:600;
  line-height:1.8;
  letter-spacing:.02em;
  overflow-wrap:anywhere
}

.bj-customt-faq .ctfaq-toggle {
  position:relative;
  width:18px;
  height:18px;
  justify-self:end
}

.bj-customt-faq .ctfaq-toggle::before,.bj-customt-faq .ctfaq-toggle::after {
  content:"";
  position:absolute;
  background:#b59560;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)
}

.bj-customt-faq .ctfaq-toggle::before {
  width:14px;
  height:1px
}

.bj-customt-faq .ctfaq-toggle::after {
  width:1px;
  height:14px;
  transition:opacity .2s
}

.bj-customt-faq .ctfaq-item[open] .ctfaq-toggle::after {
  opacity:0
}

.bj-customt-faq .ctfaq-answer {
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:12px;
  padding:0 30px 24px 3px
}

.bj-customt-faq .ctfaq-answer .ctfaq-mark {
  width:29px;
  height:29px;
  background:#e8e3db;
  color:#a4824e
}

.bj-customt-faq .ctfaq-answer p {
  margin:0;
  font-size:clamp(12px,1vw,14px);
  line-height:2;
  letter-spacing:.02em;
  overflow-wrap:anywhere
}

.bj-customt-faq .ctfaq-question:focus-visible {
  outline:2px solid #9b7b46;
  outline-offset:3px
}

@media(max-width:720px) {
  .bj-customt-faq {
    padding:64px 18px 80px
  }

  .bj-customt-faq .ctfaq-list {
    grid-template-columns:minmax(0,1fr)
  }

  .bj-customt-faq .ctfaq-item:nth-child(2) {
    border-top:0
  }

  .bj-customt-faq .ctfaq-question {
    padding:18px 2px;
    min-height:74px;
    gap:10px;
    grid-template-columns:32px minmax(0,1fr) 18px
  }

  .bj-customt-faq .ctfaq-mark {
    width:32px;
    height:32px
  }

  .bj-customt-faq .ctfaq-answer {
    padding:0 15px 22px 2px;
    gap:10px;
    grid-template-columns:32px minmax(0,1fr)
  }

}

/* Section 12 — scoped, responsive */
.bj-customt12 {
  --navy:#0e284c;
  --gold:#ae7e19;
  --cream:#fff9e8;
  color:var(--navy);
  font-family:"Noto Serif JP","Yu Mincho",YuMincho,serif;
  width:100%;
  overflow:hidden;
  background:var(--cream)
}

.bj-customt12 * {
  box-sizing:border-box
}

.bj-customt12 .ct12-hero {
  position:relative;
  min-height:clamp(380px,36vw,680px);
  display:grid;
  grid-template-columns:54% 46%;
  isolation:isolate;
  background:#f6f0dc
}

.bj-customt12 .ct12-photo {
  position:absolute;
  inset:0;
  z-index:-1;
  display:block
}

.bj-customt12 .ct12-photo img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 48%
}

.bj-customt12 .ct12-hero:before {
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 0 53%;
  background:linear-gradient(90deg,rgba(250,246,227,.84),rgba(250,246,227,.95) 45%,rgba(250,246,227,.87))
}

.bj-customt12 .ct12-copy {
  position:relative;
  z-index:1;
  grid-column:2;
  align-self:center;
  padding:45px clamp(20px,4.2vw,82px) 45px clamp(18px,2.5vw,52px)
}

.bj-customt12 h2 {
  font-size:clamp(23px,2.6vw,48px);
  font-weight:600;
  line-height:1.65;
  letter-spacing:.04em;
  margin:0
}

.bj-customt12 .ct12-rule {
  display:block;
  width:58px;
  height:1px;
  background:var(--gold);
  margin:clamp(18px,2.4vw,35px) 0
}

.bj-customt12 .ct12-copy p {
  font-size:clamp(12px,1.1vw,18px);
  line-height:2.15;
  letter-spacing:.025em;
  color:#91620b;
  margin:0 0 25px
}

.bj-customt12 .ct12-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  min-height:45px;
  padding:12px 24px;
  background:#b28212;
  color:#fff;
  text-decoration:none;
  font-size:clamp(12px,1vw,16px);
  letter-spacing:.06em;
  transition:background .2s
}

.bj-customt12 .ct12-cta:hover {
  background:#8e640a
}

.bj-customt12 .ct12-assurance {
  padding:24px clamp(20px,5vw,90px) 38px;
  max-width:1940px;
  margin:auto
}

.bj-customt12 .ct12-label {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin:0 auto 34px;
  color:#95640b
}

.bj-customt12 .ct12-label span {
  height:1px;
  width:clamp(36px,10vw,180px);
  background:#d9bb76
}

.bj-customt12 .ct12-label h3 {
  font-size:clamp(13px,1.2vw,19px);
  font-weight:500;
  margin:0;
  white-space:nowrap;
  letter-spacing:.06em
}

.bj-customt12 .ct12-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,19%);
  align-items:center;
  gap:30px
}

.bj-customt12 .ct12-benefits {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr))
}

.bj-customt12 .ct12-benefit {
  text-align:center;
  padding:0 clamp(8px,1.6vw,26px);
  min-width:0
}

.bj-customt12 .ct12-benefit+.ct12-benefit {
  border-left:1px dashed #dfc994
}

.bj-customt12 .ct12-benefit img {
  display:block;
  width:clamp(40px,4.2vw,66px);
  height:clamp(40px,4.2vw,66px);
  object-fit:contain;
  margin:0 auto 14px
}

.bj-customt12 .ct12-benefit h4 {
  font-size:clamp(13px,1.15vw,19px);
  margin:0 0 13px;
  line-height:1.55
}

.bj-customt12 .ct12-benefit p {
  font-size:clamp(10px,.88vw,15px);
  line-height:1.9;
  margin:0;
  color:#243b55
}

.bj-customt12 .ct12-logo {
  width:100%;
  max-width:220px;
  height:auto;
  display:block;
  margin:auto;
  object-fit:contain
}

@media(max-width:1100px) and (min-width:761px) {
  .bj-customt12 .ct12-hero {
    grid-template-columns:49% 51%;
    min-height:430px
  }

  .bj-customt12 .ct12-hero:before {
    left:48%
  }

  .bj-customt12 .ct12-copy {
    padding:30px 22px
  }

  .bj-customt12 h2 {
    font-size:clamp(23px,2.7vw,32px)
  }

  .bj-customt12 .ct12-pc-only {
    display:none
  }

  .bj-customt12 .ct12-bottom {
    grid-template-columns:1fr 125px;
    gap:15px
  }

}

/* SP — complete composition, isolated from previous Section12 styles */
@media screen and (max-width:760px)  {
  #bj-customt12-final.bj-customt12  {
    width:100% !important;
    overflow:hidden !important;
  }

  #bj-customt12-final .ct12-hero  {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:1024 / 968 !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    isolation:isolate !important;
  }

  #bj-customt12-final .ct12-photo  {
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    z-index:0 !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
  }

  #bj-customt12-final .ct12-photo img  {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  #bj-customt12-final .ct12-hero::before  {
    content:none !important;
    display:none !important;
  }

  #bj-customt12-final .ct12-copy  {
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    z-index:2 !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    background:none !important;
    text-align:center !important;
    pointer-events:none !important;
  }

  #bj-customt12-final .ct12-copy h2  {
    position:absolute !important;
    top:7.3% !important;
    right:4% !important;
    bottom:auto !important;
    left:auto !important;
    width:61% !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    color:#0e284c !important;
    font-family:'Noto Serif JP','Yu Mincho',serif !important;
    font-size:clamp(15px,5.6vw,43px) !important;
    line-height:1.42 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    text-align:center !important;
  }

  #bj-customt12-final .ct12-copy .ct12-rule  {
    display:block !important;
    position:absolute !important;
    top:28.5% !important;
    left:60.7% !important;
    right:auto !important;
    bottom:auto !important;
    width:11% !important;
    height:1px !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    background:#a67a17 !important;
  }

  #bj-customt12-final .ct12-copy p  {
    position:absolute !important;
    top:31.2% !important;
    right:4.2% !important;
    left:auto !important;
    bottom:auto !important;
    width:59% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    color:#86530f !important;
    font-size:clamp(9px,2.65vw,20px) !important;
    line-height:1.55 !important;
    letter-spacing:0 !important;
    text-align:center !important;
  }

  #bj-customt12-final .ct12-pc-only  {
    display:none !important;
  }

  #bj-customt12-final .ct12-copy .ct12-cta  {
    display:flex !important;
    position:absolute !important;
    top:auto !important;
    bottom:3.8% !important;
    left:20.5% !important;
    right:auto !important;
    width:59% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:2.5% 2% !important;
    transform:none !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5% !important;
    border:0 !important;
    border-radius:999px !important;
    background:#b28212 !important;
    color:#fff !important;
    font-size:clamp(11px,3.15vw,24px) !important;
    line-height:1.5 !important;
    white-space:nowrap !important;
    text-decoration:none !important;
    pointer-events:auto !important;
  }

  #bj-customt12-final .ct12-assurance  {
    display:block !important;
    padding:3.1% 4.7% 3.8% !important;
    margin:0 !important;
    background:#fffaf0 !important;
  }

  #bj-customt12-final .ct12-label  {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3% !important;
    margin:0 0 3.8% !important;
  }

  #bj-customt12-final .ct12-label span  {
    flex:1 !important;
    width:auto !important;
    height:1px !important;
    background:#d6b77a !important;
  }

  #bj-customt12-final .ct12-label h3  {
    margin:0 !important;
    font-size:clamp(11px,3vw,24px) !important;
    white-space:nowrap !important;
  }

  #bj-customt12-final .ct12-bottom  {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:4vw !important;
  }

  #bj-customt12-final .ct12-benefits  {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    width:100% !important;
  }

  #bj-customt12-final .ct12-benefit  {
    min-width:0 !important;
    padding:0 3% !important;
    text-align:center !important;
  }

  #bj-customt12-final .ct12-benefit+.ct12-benefit  {
    border-left:1px dashed #d8bb80 !important;
  }

  #bj-customt12-final .ct12-benefit img  {
    display:block !important;
    width:clamp(28px,7.2vw,64px) !important;
    height:clamp(28px,7.2vw,64px) !important;
    object-fit:contain !important;
    margin:0 auto 3% !important;
  }

  #bj-customt12-final .ct12-benefit h4  {
    font-size:clamp(9px,2.65vw,20px) !important;
    line-height:1.4 !important;
    margin:0 0 6% !important;
  }

  #bj-customt12-final .ct12-benefit p  {
    font-size:clamp(8px,2.1vw,16px) !important;
    line-height:1.55 !important;
    text-align:left !important;
    margin:0 !important;
    overflow-wrap:anywhere !important;
  }

  #bj-customt12-final .ct12-benefit p br  {
    display:none !important;
  }

  #bj-customt12-final .ct12-logo  {
    display:block !important;
    width:32% !important;
    max-width:260px !important;
    height:auto !important;
    margin:0 auto !important;
  }

}

/* Section 12｜760px以下・説明文だけ縮小 */
@media screen and (max-width: 760px)  {
  html body #bj-customt12-final.bj-customt12   .ct12-hero .ct12-copy > p  {
    font-size: 15px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
  }

}
