@charset "utf-8";
/* ==================================================================
   2026-11 新規ページ（/kids/・/orthodontics/）用
   既存の style.css / sp.css / seo_add.css は変更していません
================================================================== */

/* 見出しアイコン（.tit02::before は z-index:-1）が白い背景に隠れないようにする */
.np_box {
  position: relative;
  z-index: 0;
}

/* 英字見出し（Q&A など）の上に余白をとる */
.np_box ~ .np_box .h2_tit {
  margin-top: 70px;
}

/* ステップの下の文 */
.np_steps + .text {
  margin-top: 20px;
}

/* 導入文 */
.np_lead {
  margin-bottom: 30px;
  line-height: 2;
}

.np_box p {
  line-height: 1.9;
}

.np_box p + p {
  margin-top: 1em;
}

.np_box a.np_link,
.np_box p a,
.np_box li a,
.np_box td a {
  color: #2a8ccf;
  text-decoration: underline;
}

/* メイン画像 */
.np_main_img {
  margin-bottom: 30px;
}

.np_main_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 写真を2枚ならべる */
.np_photos {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.np_photos figure {
  flex: 1;
  margin: 0;
}

.np_photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.np_photos figcaption {
  margin-top: 6px;
  font-size: 0.9em;
  color: #555;
}

/* カード（アイコン付き） */
.np_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.np_cards.col2 {
  grid-template-columns: repeat(2, 1fr);
}

.np_card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.np_card img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 12px;
}

.np_card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: bold;
  color: #2a8ccf;
}

.np_card p {
  font-size: 15px;
  line-height: 1.8;
}

/* ステップ（番号付き） */
.np_steps {
  display: flex;
  gap: 16px;
  counter-reset: np_step;
}

.np_steps li {
  position: relative;
  flex: 1;
  padding: 44px 16px 18px;
  border-radius: 8px;
  background: #f2f9fe;
  counter-increment: np_step;
}

.np_steps li::before {
  content: counter(np_step);
  position: absolute;
  top: 10px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #70bbed;
  color: #fff;
  font-weight: bold;
  line-height: 26px;
  text-align: center;
}

.np_steps h3 {
  margin-bottom: 8px;
  font-weight: bold;
}

.np_steps p {
  font-size: 15px;
  line-height: 1.8;
}

/* 表 */
.np_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.np_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.np_table th,
.np_table td {
  padding: 12px 14px;
  border: 1px solid #ddd;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.np_table thead th {
  background: #70bbed;
  color: #fff;
  font-weight: bold;
}

.np_table tbody th {
  background: #f2f9fe;
  font-weight: bold;
  white-space: nowrap;
}

.np_table td.price {
  white-space: nowrap;
  text-align: right;
}

.np_table .np_device_img {
  display: block;
  width: 90px;
  height: auto;
  margin-top: 6px;
}

/* 注記 */
.np_note {
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
}

/* チェックリスト */
.np_check {
  padding: 24px 28px;
  border: 2px dashed #70bbed;
  border-radius: 8px;
  background: #fff;
}

.np_check li {
  position: relative;
  padding: 8px 0 8px 34px;
  border-bottom: 1px dotted #ccc;
  line-height: 1.7;
}

.np_check li:last-child {
  border-bottom: none;
}

.np_check li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid #70bbed;
  border-radius: 3px;
  background: #fff;
}

/* 症状のイラスト */
.np_symptoms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.np_symptoms li {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.np_symptoms img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.np_symptoms h3 {
  margin-bottom: 6px;
  font-weight: bold;
  color: #2a8ccf;
}

.np_symptoms h3 span {
  margin-left: 4px;
  font-size: 0.8em;
  font-weight: normal;
  color: #555;
}

.np_symptoms p {
  font-size: 14px;
  line-height: 1.7;
}

/* 担当医のプロフィール */
.np_profile {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.np_profile .np_profile_img {
  flex: 0 0 200px;
}

.np_profile .np_profile_img img {
  display: block;
  width: 100%;
  height: auto;
}

.np_profile .np_profile_img p {
  margin-top: 6px;
  font-size: 0.9em;
  text-align: center;
}

.np_profile .np_profile_text {
  flex: 1;
}

.np_profile h3 {
  margin-bottom: 10px;
  font-weight: bold;
}

.np_profile ul {
  margin-top: 10px;
}

.np_profile ul li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.8;
}

.np_profile ul li::before {
  content: "・";
}

/* 箇条書き */
.np_list li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.9;
}

.np_list li::before {
  content: "・";
}

/* 予約ボタン */
.np_cta {
  padding: 30px 36px;
  border-radius: 8px;
  background: #f2f9fe;
  text-align: center;
}

.np_cta .np_cta_title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: bold;
}

.np_cta_btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.np_cta_btns a {
  display: inline-block;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.np_cta_btns a.web {
  background: #70bbed;
}

.np_cta_btns a.tel {
  background: #f39c4a;
}

.np_cta_btns a.line {
  background: #06c755;
}

.np_cta_btns a:hover {
  opacity: 0.85;
}

.np_cta .np_note {
  margin-top: 14px;
}

/* 関連リンク */
.np_related {
  margin-top: 20px;
  padding: 18px 24px;
  border-left: 4px solid #70bbed;
  background: #f7f7f7;
}

.np_related li {
  line-height: 2;
}

.np_related a {
  color: #2a8ccf;
  text-decoration: underline;
}

/* スマホ */
@media screen and (max-width: 640px) {
  .np_photos,
  .np_steps,
  .np_profile {
    flex-direction: column;
  }

  .np_cards,
  .np_cards.col2 {
    grid-template-columns: 1fr;
  }

  .np_symptoms {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .np_symptoms li {
    padding: 10px;
  }

  /* 幅のせまいカードでは字間を詰め、左寄せにする */
  .np_symptoms h3,
  .np_symptoms p,
  .np_card h3,
  .np_card p,
  .np_steps h3,
  .np_steps p {
    letter-spacing: 0.02em;
    text-align: left;
  }

  .np_card img {
    max-width: 140px;
  }

  .np_symptoms h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .np_symptoms h3 span {
    display: block;
    margin-left: 0;
  }

  .np_symptoms p {
    font-size: 13px;
  }

  .np_profile .np_profile_img {
    flex: none;
    width: 60%;
    margin: 0 auto;
  }

  .np_table {
    min-width: 600px;
  }

  .np_check,
  .np_cta {
    padding: 20px 16px;
  }

  .np_cta_btns a {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }
}


/* 2026-11-19 追加：チェック枠に緑のチェックマーク */
.np_check li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 11px;
  width: 7px;
  height: 13px;
  border-right: 3px solid #22a55b;
  border-bottom: 3px solid #22a55b;
  transform: rotate(45deg);
}