/* 「歯を残す3つの盾」ブロック専用CSS（TOP）
 * 旧バナー（images/three.jpg）と差し替えたブロック。
 * header.php でTOPのときだけ読み込む。
 * style2.css の #point2 h2 / .inner h3 / strong / a などに負けないよう、#point2 を付けて指定している。
 */
.top-shield, .top-shield *, .top-shield *::before, .top-shield *::after { box-sizing: border-box; }

#point2 .top-shield {
  position: relative;
  overflow: hidden;
  margin: 40px 0 0;
  background: #2d4253;
  border-top: 2px solid #8fb3d1;
  border-left: 2px solid #8fb3d1;
  color: #fff;
  text-align: left;
  line-height: 1.8;
}

/* ---------- 見出し部分 ---------- */
#point2 .top-shield__head {
  position: relative;
  z-index: 1;
  padding: 32px 24px 24px 40px;
}
#point2 .top-shield__en {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.3em;
  color: #bcd6ea;
}
#point2 .top-shield__title {
  margin: 0 0 12px;
  padding: 0;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: left;
  color: #fff;
  background: none;
  border: 0;
}
#point2 .top-shield__title span {
  display: inline;
  font-size: 58px;
  letter-spacing: inherit;
  color: inherit;
}
#point2 .top-shield__lead {
  margin: 0;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #eef1f4;
}
#point2 .top-shield__lead strong {
  font-weight: 700;
  color: #fff;
}

/* ---------- 歯のイラスト（右上・カードの後ろにかかる） ---------- */
#point2 .top-shield__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  height: 360px;
  overflow: hidden;
  background: linear-gradient(to bottom, #9198a8, #b8cad6);
}
/* 付け足した半透明の盾形パネル */
#point2 .top-shield__panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  -webkit-clip-path: polygon(50% 0, 100% 14%, 100% 86%, 50% 100%, 0 86%, 0 14%);
  clip-path: polygon(50% 0, 100% 14%, 100% 86%, 50% 100%, 0 86%, 0 14%);
}
#point2 .top-shield__panel--1 { top: -12%; right: -70px; width: 170px; height: 124%; }
#point2 .top-shield__panel--2 { top: 6%; right: -96px; width: 150px; height: 104%; }
/* 元バナー画像の右側（歯と盾）だけを使う。右端はぼかして背景になじませる */
#point2 .top-shield__tooth {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 15px;
  background: url(../images/three.jpg) no-repeat right center;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 102px), transparent calc(100% - 68px));
  mask-image: linear-gradient(to right, #000 calc(100% - 102px), transparent calc(100% - 68px));
}
/* 左はネイビーへ、下はカード側へ溶け込ませる */
#point2 .top-shield__fade-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 170px;
  background: linear-gradient(to right, #2d4253 0%, rgba(45, 66, 83, 0.75) 35%, rgba(45, 66, 83, 0) 100%);
}
#point2 .top-shield__fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(to bottom, rgba(45, 66, 83, 0) 0%, rgba(45, 66, 83, 0.8) 55%, #2d4253 95%);
}
#point2 .top-shield__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(to right, rgba(143, 179, 209, 0) 0%, #8fb3d1 170px);
}

/* ---------- 3枚のカード ---------- */
#point2 .top-shield__cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  padding: 20px 40px 32px;
}
#point2 .top-shield__card {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
#point2 .top-shield__label {
  margin: 0;
  padding: 6px 12px;
  background: #bcd6ea;
  color: #2d4253;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}
#point2 .top-shield__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
#point2 .top-shield__num {
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1;
  color: #bcd6ea;
}
#point2 .top-shield__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  color: #fff;
  background: none;
  border: 0;
}
#point2 .top-shield__name small {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  color: #d8c595;
}
#point2 .top-shield__text {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  color: #fff;
}
#point2 .top-shield__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  min-height: 44px;
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
#point2 .top-shield__more:hover {
  color: #bcd6ea;
  text-decoration: underline;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 1100px) {
  #point2 .top-shield__title { font-size: 38px; }
  #point2 .top-shield__title span { font-size: 50px; }
  #point2 .top-shield__lead { font-size: 18px; }
  #point2 .top-shield__visual { width: 400px; height: 300px; }
  #point2 .top-shield__card { flex-basis: 100%; }
}

/* ---------- スマホ：イラストを上に置き、カードは縦に積む ---------- */
@media screen and (max-width: 767px) {
  #point2 .top-shield { margin-top: 24px; display: flex; flex-direction: column; }
  #point2 .top-shield__visual {
    position: relative;
    order: -1;
    width: 100%;
    height: 200px;
  }
  #point2 .top-shield__fade-left { width: 35%; }
  #point2 .top-shield__head { padding: 8px 18px 16px; }
  #point2 .top-shield__en { font-size: 12px; margin-bottom: 8px; }
  #point2 .top-shield__title { font-size: 30px; margin-bottom: 8px; }
  #point2 .top-shield__title span { font-size: 40px; }
  #point2 .top-shield__lead { font-size: 16px; line-height: 1.8; }
  #point2 .top-shield__lead br { display: none; }
  #point2 .top-shield__cards { padding: 8px 14px 20px; }
  #point2 .top-shield__card { padding: 16px 14px 8px; }
  #point2 .top-shield__label { font-size: 15px; }
  #point2 .top-shield__num { font-size: 52px; }
  #point2 .top-shield__name { font-size: 20px; }
  #point2 .top-shield__name small { font-size: 15px; }
  #point2 .top-shield__text { font-size: 16px; }
}
