@charset "utf-8";
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  内視鏡検査実績ページ（menu/endoscopy-results.html）
  配色：ネイビー #004ea2 / 水色 #1eb9ee・#25bbef
        胃カメラ＝水色 #25bbef ・ 大腸カメラ＝グリーン #89d063（TOPの胃・大腸ブロックと同じ）
        淡色面 #ebf6f7・#e4f2f7 / ベージュ #f6f6f1
  書体：見出し Noto Serif Japanese ＋ 英字 Roboto（TOPの homTtlIntro に準拠）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.endoscopyResults {
  --erNavy: #004ea2;
  --erSky: #1eb9ee;
  --erSky2: #25bbef;
  --erGreen: #89d063;
  --erPale: #ebf6f7;
  --erPale2: #e4f2f7;
  --erBeige: #f6f6f1;
  --erLine: #d9e2e6;
}
/* common.css の「#mainContent div {margin-bottom:15px}」をこのページ内のみ解除 */
#mainContent .endoscopyResults div {
  margin-bottom: 0;
}
.endoscopyResults .erStomach { --c: #25bbef; --c2: #004ea2; --bg: #e2f5fc; }
.endoscopyResults .erColon   { --c: #89d063; --c2: #3f8a1e; --bg: #eaf6e1; }
.endoscopyResults .erOpe     { --c: #004ea2; --c2: #004ea2; --bg: #e4ecf6; }

/* リード */
.endoscopyResults .resultsLead {
  text-align: center;
  line-height: 2.1;
  margin-bottom: 50px !important;
}

/* 見出し（hB）に英字ラベル */
.endoscopyResults .hB {
  margin-top: 70px;
  line-height: 1.5;
}
.endoscopyResults .erEn {
  display: block;
  margin: 0 0 2px !important;
  color: #1eb9ee;
  font-family: "Roboto", sans-serif;
  font-size: .75rem;
  font-weight: bold;
  letter-spacing: .2em;
  line-height: 1.6;
}
.endoscopyResults .erNote {
  margin-top: 12px;
  color: #777;
  font-size: .8125rem;
}
.endoscopyResults .erNum {
  margin: 0 !important;
  line-height: 1;
}
.endoscopyResults .erNum strong {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
}
.endoscopyResults .erNum span {
  margin-left: 4px;
  font-weight: bold;
}

/* ■年間実績 ------------------------------ */
#mainContent .endoscopyResults .erYearPanel {
  position: relative;
  margin: 34px 0 0;
  padding: 34px 30px 30px;
  background: var(--erBeige);
  border-radius: 12px;
}
.erYearTag {
  position: absolute;
  top: -16px;
  left: 50%;
  margin: 0 !important;
  padding: 2px 22px;
  transform: translateX(-50%);
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
  background: #1eb9ee;
  border-radius: 40px;
  box-shadow: 0 3px 8px rgba(30, 185, 238, .3);
}
.erYearTag span {
  margin-right: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
}
.erStatGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.erStat {
  position: relative;
  padding: 26px 16px 22px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.erStat:before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--c);
  content: "";
}
.erIco {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  background: var(--bg);
  border-radius: 50%;
}
.erIco svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--c);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.erStat .erName {
  margin: 0 !important;
  font-family: "Noto Serif Japanese", serif;
  font-size: 1.1875rem;
  line-height: 1.4;
}
.erStat .erSub {
  margin: 0 0 8px !important;
  color: #888;
  font-size: .6875rem;
}
.erStat .erNum { color: var(--c2); }
.erStat .erNum strong {
  font-size: 3.25rem;
  letter-spacing: -.01em;
}

/* ■開院以来 ------------------------------ */
#mainContent .endoscopyResults .erSince {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--erLine);
  border-radius: 12px;
  overflow: hidden;
}
.erSinceSide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 26px;
  color: #fff;
  background: #004ea2;
}
.erSinceSide p { margin: 0 !important; }
.erSinceEn {
  color: #9fdcf5;
  font-family: "Roboto", sans-serif;
  font-size: .75rem;
  font-weight: bold;
  letter-spacing: .2em;
}
.erSinceSide .erSinceBig {
  margin: 6px 0 10px !important;
  font-family: "Noto Serif Japanese", serif;
  font-size: 1.375rem;
  line-height: 1.5;
}
.erSinceBig b {
  font-family: "Roboto", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
}
.erSinceTxt {
  font-size: .8125rem;
  opacity: .85;
}
.erTotals {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.erTot {
  padding: 28px 20px;
  text-align: center;
}
.erTot + .erTot { border-left: 1px solid var(--erLine); }
.erTot .erTotLbl {
  margin: 0 0 6px !important;
  color: #004ea2;
  font-weight: bold;
}
.erTotLbl i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--c);
  border-radius: 50%;
}
.erTot .erNum { color: #004ea2; }
.erTot .erNum strong { font-size: 3rem; }
.erTot .erTotPer {
  margin: 8px 0 0 !important;
  color: #888;
  font-size: .75rem;
}

/* ■年別グラフ（胃カメラ・大腸カメラを別グラフに） ------------------------------ */
.erGraphTtl {
  margin: 40px 0 14px !important;
  padding-left: 14px;
  color: #004ea2;
  font-family: "Noto Serif Japanese", serif;
  font-size: 1.1875rem;
  font-weight: 600;
  border-left: 4px solid #1eb9ee;
}
#mainContent .endoscopyResults .erSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#mainContent .endoscopyResults .erGraph {
  padding: 20px 24px 14px;
  background: #fff;
  border: 1px solid var(--erLine);
  border-radius: 12px;
}
.erSplitHead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  color: #004ea2;
  font-weight: bold;
  border-bottom: 2px solid var(--c);
}
.erSplitHead i {
  width: 12px;
  height: 12px;
  background: var(--c);
  border-radius: 50%;
}
.erSplitHead small {
  margin-left: auto;
  color: #999;
  font-family: "Roboto", sans-serif;
  font-size: .6875rem;
  font-weight: normal;
}
#mainContent .endoscopyResults .erRow {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}
.erRow + .erRow { border-top: 1px dashed #eef1f3; }
.erYr {
  margin: 0 !important;
  color: #004ea2;
  font-family: "Roboto", sans-serif;
  font-size: .875rem;
  font-weight: bold;
}
.erBar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}
.erBar span {
  display: block;
  flex: none;
  width: calc((100% - 62px) * var(--w));
  height: 18px;
  background: var(--c);
  border-radius: 0 9px 9px 0;
}
.erBar b {
  color: #555;
  font-family: "Roboto", sans-serif;
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
}
.erRow.latest {
  background: linear-gradient(90deg, #f6fbfd, rgba(246, 251, 253, 0));
  border-radius: 6px;
}
.erRow.latest .erBar b {
  color: #004ea2;
  font-weight: bold;
}

/* ■治療実績 ------------------------------ */
#mainContent .endoscopyResults .erTreat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#mainContent .endoscopyResults .erTreatCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px;
  border-radius: 12px;
  box-sizing: border-box;
}
.erTreatCard.erT1 { background: var(--erPale2); }
.erTreatCard.erT2 {
  background: #fff;
  border: 2px solid #1eb9ee;
}
.erTreatTtl {
  margin: 0 !important;
  color: #004ea2;
  font-weight: bold;
  line-height: 1.5;
}
.erTreatTtl small {
  display: block;
  color: #1eb9ee;
  font-family: "Roboto", sans-serif;
  font-size: .6875rem;
  letter-spacing: .15em;
}
.erTreatCard .erNum { color: #004ea2; }
.erTreatCard .erNum strong { font-size: 2.875rem; }

/* 矢印リンク */
.endoscopyResults .erArrow {
  margin: 16px 0 0 !important;
}
.erArrow a {
  position: relative;
  display: inline-block;
  padding-left: 26px;
  font-weight: bold;
}
.erArrow a:before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: #1eb9ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M4 2.5 6.5 5 4 7.5' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
  content: "";
}

/* ■盲腸到達時間 ------------------------------ */
#mainContent .endoscopyResults .erArrival {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 34px;
  padding: 30px 34px;
  background: var(--erPale);
  border-radius: 12px;
}
#mainContent .endoscopyResults .erDial {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.erDial svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
#mainContent .endoscopyResults .erDialIn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.erDialIn p { margin: 0 !important; }
.erDialLbl {
  color: #004ea2;
  font-size: .75rem;
  font-weight: bold;
  line-height: 1.4;
}
.erDialIn .erDialTime {
  margin-top: 6px !important;
  color: #004ea2;
  font-weight: bold;
  line-height: 1;
}
.erDialTime strong {
  font-family: "Roboto", sans-serif;
  font-size: 3.125rem;
  font-weight: 500;
}
.erArrivalTtl {
  margin: 0 0 10px !important;
  color: #004ea2;
  font-family: "Noto Serif Japanese", serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.erArrivalTxt p { margin-bottom: 10px; }
.erArrivalTxt .erNote { margin: 0 !important; }

/* ■検査体制 ------------------------------ */
#mainContent .endoscopyResults .erSysGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--erBeige);
  border-radius: 12px;
}
#mainContent .endoscopyResults .erSys {
  display: flex;
  gap: 14px;
  padding: 22px 24px 20px;
  background: #fff;
  border-radius: 10px;
}
.erNo {
  flex: none;
  width: 56px;
  margin: 0 !important;
  padding-top: 2px;
  color: #1eb9ee;
  font-family: "Roboto", sans-serif;
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1;
  border-right: 1px solid var(--erLine);
}
.erNo small {
  display: block;
  color: #9bb;
  font-size: .5625rem;
  font-weight: bold;
  letter-spacing: .15em;
}
.erSysTtl {
  margin: 0 0 4px !important;
  color: #004ea2;
  font-size: 1.0625rem;
  font-weight: bold;
  line-height: 1.5;
}
.erSysBody p {
  margin-bottom: 0 !important;
  font-size: .875rem;
  line-height: 1.85;
}
.erSysBody .erArrow { margin-top: 8px !important; }

#mainContent .endoscopyResults .erBtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}
.erBtns p { margin: 0 !important; }
.endoscopyResults .erBtns a.linkBtn {
  width: 100%;
  padding: 14px;
  background: #fff;
}
.endoscopyResults .erBtns a.linkBtn:hover {
  color: #fff;
  background: #1eb9ee;
}

/* ■健診 ------------------------------ */
#mainContent .endoscopyResults .erCheckup {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1px solid #cfe6ee;
  border-radius: 12px;
  overflow: hidden;
}
#mainContent .endoscopyResults .erCheckupL {
  padding: 28px;
  background: var(--erPale2);
}
.erCheckupL p { margin: 0 !important; }
#mainContent .endoscopyResults .erCheckupR {
  padding: 24px 28px;
  background: #fff;
}
#mainContent .endoscopyResults .erCheckList {
  margin: 0 0 14px;
  padding: 0;
}
.erCheckList li {
  position: relative;
  padding: 10px 0 10px 34px;
  list-style: none;
  border-bottom: 1px dashed #d6e3e8;
}
.erCheckList li:before {
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  background: #1eb9ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-radius: 4px;
  content: "";
}
.erCheckupMemo {
  margin: 0 !important;
  color: #004ea2;
  font-size: .875rem;
  font-weight: bold;
}

/* ■予約 ------------------------------ */
#mainContent .endoscopyResults .erCta {
  position: relative;
  margin-top: 70px;
  padding: 44px 30px 36px;
  text-align: center;
  background: linear-gradient(135deg, #e9f7fc 0%, #f6f6f1 100%);
  border-radius: 14px;
  overflow: hidden;
}
.erCta:before,
.erCta:after {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
  content: "";
}
.erCta:before {
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  background: #d3effa;
}
.erCta:after {
  left: -40px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  background: #e4f5d9;
}
.erCta > * {
  position: relative;
  z-index: 1;
}
.erCta .erEn { letter-spacing: .25em; }
.erCtaTtl {
  margin: 4px 0 14px !important;
  font-family: "Noto Serif Japanese", serif;
  font-size: 1.5rem;
  font-weight: normal;
}
.erCtaTxt {
  max-width: 720px;
  margin: 0 auto 22px !important;
}
#mainContent .endoscopyResults .erCtaBtns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.erCtaBtns a {
  display: inline-block;
  min-width: 260px;
  padding: 15px 26px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .12);
  box-sizing: border-box;
  transition: opacity .3s;
}
.erCtaBtns a:after {
  margin-left: 10px;
  content: "›";
}
.erCtaBtns a:hover {
  text-decoration: none;
  opacity: .8;
}
.erCtaBtns .erWeb { background: #1eb9ee; }
.erCtaBtns .erLine { background: #06c755; }

/* ━━━━━━━━━━ SP ━━━━━━━━━━ */
@media screen and (max-width: 767px) {
  .endoscopyResults .resultsLead {
    text-align: left;
    line-height: 1.9;
    margin-bottom: 8% !important;
  }
  .endoscopyResults .hB { margin-top: 14%; }

  #mainContent .endoscopyResults .erYearPanel { padding: 30px 14px 16px; }
  .erStatGrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .erStat {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 0 12px;
    padding: 16px 16px 14px 18px;
    text-align: left;
  }
  .erStat:before {
    right: auto;
    bottom: 0;
    width: 4px;
    height: auto;
  }
  #mainContent .endoscopyResults .erIco {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .erIco svg { width: 24px; height: 24px; }
  .erStat .erName { font-size: 1rem; }
  .erStat .erSub {
    grid-column: 2;
    margin: 0 !important;
    font-size: .625rem;
  }
  .erStat .erNum {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .erStat .erNum strong { font-size: 2.125rem; }

  #mainContent .endoscopyResults .erSince { grid-template-columns: 1fr; }
  .erSinceSide { padding: 20px; }
  .erSinceBig b { font-size: 2rem; }
  .erTot { padding: 20px 8px; }
  .erTot .erNum strong { font-size: 2rem; }

  #mainContent .endoscopyResults .erSplit {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #mainContent .endoscopyResults .erGraph { padding: 14px 14px 10px; }
  #mainContent .endoscopyResults .erRow { grid-template-columns: 40px 1fr; }
  .erYr { font-size: .8125rem; }
  .erBar span {
    width: calc((100% - 58px) * var(--w));
    height: 16px;
  }
  .erBar b { font-size: .6875rem; }

  #mainContent .endoscopyResults .erTreat {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #mainContent .endoscopyResults .erTreatCard { padding: 18px 20px; }
  .erTreatCard .erNum strong { font-size: 2.25rem; }

  #mainContent .endoscopyResults .erArrival {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 18px;
  }
  #mainContent .endoscopyResults .erDial {
    width: 190px;
    height: 190px;
  }
  .erDialTime strong { font-size: 2.625rem; }

  #mainContent .endoscopyResults .erSysGrid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  #mainContent .endoscopyResults .erSys { padding: 18px 16px; }
  .erNo {
    width: 44px;
    font-size: 1.625rem;
  }
  #mainContent .endoscopyResults .erBtns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .endoscopyResults .erBtns a.linkBtn { padding: 4vw; }

  #mainContent .endoscopyResults .erCheckup { grid-template-columns: 1fr; }
  #mainContent .endoscopyResults .erCheckupL,
  #mainContent .endoscopyResults .erCheckupR { padding: 20px; }

  #mainContent .endoscopyResults .erCta {
    margin-top: 14%;
    padding: 34px 18px 28px;
  }
  .erCtaTtl { font-size: 1.25rem; }
  .erCtaTxt { text-align: left; }
  .erCtaBtns a {
    width: 100%;
    min-width: 0;
  }
}
