@charset "utf-8";

/* default PC */
#stomach #breadcrumb,
#colon #breadcrumb {
  margin-bottom: 0;
}

#contents .main-photo {
  background-image: url(../image/contents/endoscope/stomach/main_photo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(100vw / 3);
  max-height: 600px;
  margin-bottom: 70px;
  width: 100%;
}

#contents .main-photo.colon {
  background-image: url(../image/contents/endoscope/colon/colon_main_photo.jpg);
}

#stomach #contents h2,
#endoscope #contents h2 {
  color: #007bbb;
}

#endoscope #contents h2 .sub-txt {
  color: #333;
}

#contents h2.main {
  font-size: 80px;
  letter-spacing: 0.08em;
}

#colon #contents h2 {
  color: #7e318e;
  letter-spacing: 0.07em;
}

#contents h2 .sub-txt {
  display: block;
  font-size: 29px;
  letter-spacing: 0.05em;
  line-height: 1em;
  margin-bottom: 30px;
}

#contents .endoscope-red{
    color: #DB535E;
    font-size: 23px;
    line-height: 1.6;
    text-align: center;
}

#contents .tel-box {
  background-color: #e6f2f9;
  border: 2px solid #007bbb;
  margin: 0 auto 30px;
  max-width: 750px;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
}

#contents .tel-box .box-ttl {
  color: #007bbb;
  font-size: 20px;
  font-weight: 500;
}

#colon #contents .tel-box {
  border: 2px solid #7e318e;
  background-color: #f4f3f9;
}

#colon #contents .tel-box .box-ttl,
#colon #contents .tel-content p,
#colon #contents .tel-content .num .tel {
  color: #7e318e;
}

#contents .tel-content {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 560px;
  position: relative;
  padding-left: 67px;
}

#contents .tel-content:before {
  background-image: url(../image/contents/tel_ico_blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 62px;
  width: 58px;
  position: absolute;
  top: 4px;
  bottom: 0;
  margin: auto;
  left: 0;
}

#colon #contents .tel-content:before {
  background-image: url(../image/contents/tel_ico_colon.svg);
  left: 10px;
}

#contents .tel-content p {
  font-size: 20px;
  color: #007bbb;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 0;
}

#contents .tel-content .num .tel {
  color: #007bbb;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.8;
  max-width: 440px;
  padding-left: 17px;
  position: relative;
}

#contents .border-ttl {
  border-top: 2px solid #b1daef;
  border-bottom: 2px solid #b1daef;
  color: #007bbb;
  font-size: 23px;
  font-weight: bold;
  margin: 70px 0 30px;
  padding: 15px 0;
  text-align: center;
}

#contents .bg-area {
  background-color: #e6f2f9;
  padding: 65px 0 100px;
}

#colon #contents .bg-area {
  background-color: #f4f3f9;
}

#contents .bg-area .bg-box {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 70px;
  padding: 45px;
}

#contents h3 {
  border: none;
  color: #007bbb;
  font-weight: bold;
  padding: 0;
}

#colon #contents h3 {
  color: #7e318e;
}

#colon .inner .link-btn {
  background-color: #7e318e;
}

#colon .inner .link-btn.wide {
  max-width: 600px;
  margin: 0 auto 40px;
}

#colon .box-main-ttl {
  color: #7e318e;
  font-size: 30px;
  font-weight: 500;
  margin: 40px 0 25px;
}

#contents .bg-area .bg-box:last-of-type {
  margin-bottom: 0;
}

#colon #contents .bg-area .bg-box:last-of-type {
  padding-bottom: 20px;
}

#contents .reverse .img-2box {
  width: 30%;
}

#contents .reverse .img-2box-txt {
  margin: 0 30px 0 0;
  width: calc(70% - 30px);
}

#contents .reverse.narrow .img-2box {
  width: 25%;
}

#contents .reverse.narrow .img-2box-txt {
  width: calc(75% - 30px);
}

#contents .name-box {
  border: 2px solid #007bbb;
  padding: 30px 30px 15px;
}

#contents .name-box .name {
  font-weight: bold;
  font-size: 25px;
  letter-spacing: 0.03em;
}

#contents .disease-box {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#contents .disease-box p {
  background-color: #e6f2f9;
  color: #007bbb;
  margin: 0;
  padding: 10px;
  text-align: center;
  width: calc(100% / 3 - 10px);
}

#colon #contents .disease-box p {
  background-color: #f4f3f9;
  color: #7e318e;
}

#colon #contents .disease-box.bg p {
  background-color: #7e318e;
  color: #fff;
}

#contents .disease-box p.w-100 {
  width: 100%;
}

#contents .check-list {
  margin-bottom: 20px;
}

#contents .check-list li {
  font-size: 17px;
  margin-bottom: 7px;
  padding-left: 30px;
  position: relative;
}

#contents .check-list li::before {
  background-image: url(../image/contents/check_ico.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 22px;
  width: 21px;
  position: absolute;
  left: 0;
  top: 3px;
}

#colon #contents .flow-area .flow-box {
  border: 2px solid #7e318e;
}

#contents .flow-area .flow-box {
  border: 2px solid #007bbb;
  border-radius: 10px;
  margin: 90px 0 130px;
  position: relative;
  z-index: 0;
}

#contents .flow-area .flow-box::before {
  background-color: #007bbb;
  content: "";
  display: block;
  width: 140px;
  height: 130px;
  border-radius: 50%;
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  margin: auto;
}

#contents .flow-area .flow-box::after,
#colon .arrow::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 28px 0 28px;
  border-color: #0079b8 transparent transparent transparent;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -55px;
}

#colon #contents .flow-area .flow-box::after,
#colon .arrow::after {
  border-color: #7e318e transparent transparent transparent;
}

#contents .flow-area .flow-box .ttl-num {
  color: #fff;
  font-size: 23px;
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  margin: 0 auto;
  text-align: center;
}

#contents .flow-area .flow-box:last-child {
  margin-bottom: 15px;
}

#contents .flow-area .flow-box:last-child::after {
  display: none;
}

#contents .flow-area .flow-box .txt-box {
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  padding: 40px;
  position: relative;
}

#colon #contents .flow-area .flow-box .txt-box {
  background-color: #fffeee;
  background-color: #fffef5;
}

#contents .flow-area .flow-box h3 {
  border: none;
  background-color: #007bbb;
  border-radius: 8px 8px 0 0;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  font-family: "Noto Sans JP", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ";
  margin-bottom: 0;
  padding: 18px 10px 20px;
  position: relative;
  text-align: center;
}

#colon #contents .flow-area .flow-box h3,
#colon #contents .flow-area .flow-box::before {
  background-color: #7e318e;
  color: #fff;
}

#contents .flow-area .flow-box h3 .txt-85 {
  font-size: 20px;
  letter-spacing: 0.03em;
}

#contents table.polyp {
  border: none;
  border-bottom: 1px solid #878787;
  border-right: 1px solid #878787;
  text-align: center;
}

#contents table.polyp tr {
  border: none;
}

#contents table.polyp th {
  background-color: #e9e6f3;
  border-left: 1px solid #878787;
  border-top: 1px solid #878787;
  vertical-align: middle;
  text-align: center;
}

#contents table.polyp th.bg-blue {
  background-color: #d3edfb;
}

#contents table.polyp th.bg-pink {
  background-color: #fadce9;
}

#contents table.polyp td {
  border-left: 1px solid #878787;
  border-top: 1px solid #878787;
}

#contents h4.bg {
  background-color: #7e318e;
  color: #fff;
  font-family: "Noto Sans JP", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ";
  font-size: 20px;
  margin-bottom: 15px;
  padding: 10px;
  text-align: center;
}

#colon #contents .txt-3box .pink {
  color: #db535e;
  margin-bottom: 5px;
}

#colon .txt-3box .blue {
  color: #007bbb;
}

#colon .txt-3box .pink,
#colon .txt-3box .blue,
#contents .gender-box .blue-box .txt,
#contents .gender-box .pink-box .txt {
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: fit-content;
}

#colon .txt-3box .pink .number,
#colon .txt-3box .blue .number,
#contents .gender-box .blue-box .txt .number,
#contents .gender-box .pink-box .txt .number {
  font-size: 30px;
  padding: 0 1px;
}

#colon .arrow {
  margin: 35px 0 100px;
  position: relative;
}

#colon .arrow::after {
  bottom: -60px;
}

#contents .gender-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 35px;
}

#contents .gender-box .blue-box,
#contents .gender-box .pink-box {
  border: 2px solid #007bbb;
  border-top: none;
  color: #007bbb;
}

#colon #contents .gender-box .pink-box {
  border-color: #db535e;
  color: #db535e;
}

#contents .gender-box .blue-box .ttl,
#contents .gender-box .pink-box .ttl {
  background-color: #007bbb;
  color: #fff;
  font-size: 18px;
  margin-bottom: 0;
  padding: 10px 5px;
  text-align: center;
}

#colon #contents .gender-box .pink-box .ttl {
  background-color: #db535e;
}

#contents .gender-box .blue-box .txt,
#contents .gender-box .pink-box .txt {
  margin-bottom: 0;
  padding: 20px;
}

#contents .bg-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#contents .bg-link .link-item .link-bnr {
  background-image: url(../image/contents/endoscope/bg_photo_01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: block;
  height: 500px;
  position: relative;
}

#contents .bg-link .link-item:nth-child(2) .link-bnr {
  background-image: url(../image/contents/endoscope/bg_photo_02.jpg);
}

#contents .bg-link .link-item .link-bnr .bg-txt {
  align-items: center;
  background-color: rgba(0, 123, 187, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: calc(100% - 120px);
  width: calc(100% - 110px);
  max-width: 800px;
  text-align: center;
}

#contents .bg-link .link-item:nth-child(2) .link-bnr .bg-txt {
  background-color: rgba(126, 49, 142, 0.85);
}

#contents .bg-link .link-item .link-bnr .bg-txt .ttl {
  font-size: 50px;
  letter-spacing: 0.03em;
  line-height: 1em;
  margin-bottom: 30px;
  position: relative;
}

#contents .bg-link .link-item .link-bnr .ttl::before {
  background-image: url(../image/contents/endoscope/ico_stomach.svg);
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: block;
  height: 72px;
  width: 75px;
  margin: 0 auto 25px;
}

#contents .bg-link .link-item:nth-child(2) .link-bnr .ttl::before {
  background-image: url(../image/contents/endoscope/ico_colon.svg);
}

#contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt {
  font-size: 24px;
  margin-bottom: 0;
  padding-right: 34px;
  position: relative;
}

#contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::before {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  display: block;
  height: 27px;
  width: 27px;
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 0;
  margin: auto;
}

#contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid #007bbb;
  border-right: 0;
  position: absolute;
  right: 7px;
  top: 3px;
  bottom: 0;
  margin: auto;
}

#contents .bg-link .link-item:nth-child(2) .link-bnr .bg-txt .arrow-txt::after {
  border-left: 9px solid #7e318e;
}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {
  #contents .txt-150 {
    font-size: 19px;
  }

  #contents h2.main {
    font-size: 60px;
  }

  #contents h2 .sub-txt {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #contents .sp-left {
    text-align: left;
  }

  #contents .sp-left br {
    display: none;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::after {
    right: 7px;
    top: 2px;
    border-left: 7px solid #007bbb;
  }

  #contents .bg-link .link-item:nth-child(2) .link-bnr .bg-txt .arrow-txt::after {
    border-left: 7px solid #7e318e;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::before {
    height: 23px;
    width: 23px;
    top: 1px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt {
    font-size: 19px;
    padding-right: 28px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .ttl {
    font-size: 35px;
    margin-bottom: 16px;
  }

  #contents .bg-link .link-item .link-bnr {
    height: calc(100vw / 2.8);
  }

  #contents .bg-link .link-item .link-bnr .ttl::before {
    height: 55px;
    margin-bottom: 20px;
    width: 57px;
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  #contents .flow-area .flow-box h3 {
    font-size: 23px;
  }

  #contents .flow-area .flow-box .txt-box {
    padding: 25px;
  }

  #contents .bg-area .bg-box {
    padding: 40px 30px;
  }

  #contents .border-ttl {
    font-size: 20px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt {
    height: calc(100% - 70px);
    width: calc(100% - 60px);
  }

  #contents .bg-link .link-item .link-bnr {
    height: calc(100vw / 2.6);
  }

  #contents .endoscope-red{
    font-size: 19px;
    text-align: left;
  }
}



@media screen and (max-width: 767px) {
  #colon .box-main-ttl {
    font-size: 23px;
  }

  #colon #contents .disease-box.bg p {
    width: calc(100% / 2 - 8px);
  }

  #colon #contents .flow-area .flow-box h3 {
    font-size: 19px;
  }

  #colon .arrow {
    margin-bottom: 75px;
  }

  #contents .gender-box {
    grid-template-columns: 100%;
  }

  #colon #contents .flex.center .txt-3box {
    margin-right: 0;
    width: 100%;
  }

  #colon #contents .tel-content {
    max-width: 425px;
  }

  #contents .flow-area .flow-box {
    margin: 80px 0 115px;
  }

  #contents .flow-area .flow-box::after,
  #colon .arrow::after {
    border-width: 20px 23px 0 23px;
    bottom: -45px;
  }

  #contents .flow-area .flow-box h3 {
    font-size: 22px;
  }

  #contents .flow-area .flow-box h3 .txt-85 {
    display: block;
    font-size: 18px;
    margin-top: 5px;
  }

  #contents .bg-area .bg-box {
    padding: 40px 20px;
  }

  #contents .check-list li {
    font-size: 16px;
  }

  #contents .reverse .img-2box-txt {
    margin: 0 0 15px;
    width: 100%;
  }

  #contents .reverse .img-2box {
    text-align: center;
    width: 100%;
  }

  #contents .reverse.narrow .img-2box {
    text-align: center;
    width: 100%;
  }

  #contents .reverse.narrow .img-2box-txt {
    margin-right: 0;
    margin-bottom: 40px;
    width: 100%;
  }

  #contents .border-ttl {
    text-align: left;
  }

  #contents .border-ttl br {
    display: none;
  }

  #contents .tel-box {
    padding: 30px 15px;
  }

  #contents .tel-content {
    max-width: 480px;
    padding-left: 35px;
  }

  #contents .tel-content:before {
    height: 35px;
    width: 34px;
    left: 30px;
    top: 2px;
  }

  #contents .bg-box .tel-content:before {
    left: 13px
  }

  #contents .tel-content .num .tel {
    font-size: 35px;
    padding-left: 10px;
  }

  #contents .tel-content p {
    font-size: 16px;
  }

  #contents .tel-box .box-ttl {
    font-size: 17px;
  }

  #contents .bg-link .link-item .link-bnr {
    height: calc(100vw / 1.8);
    max-height: 240px;
    min-height: 200px;
  }

  #contents .bg-link .link-item .link-bnr .ttl::before {
    height: 50px;
    margin-bottom: 0;
    margin-right: 10px;
    width: 52px;
  }

  #contents .bg-link .link-item:nth-child(2) .link-bnr .ttl::before {
    position: relative;
    top: 2px;
    width: 48px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .ttl {
    align-items: center;
    display: flex;
    margin-bottom: 10px;
  }

  #contents .bg-link {
    grid-template-columns: 100%;
  }


}


/* view-559 Mobile */
@media screen and (max-width: 559px) {
  #colon #contents .disease-box.bg p {
    width: 100%;
  }

  #colon .box-main-ttl {
    font-size: 19px;
  }

  #colon .inner .link-btn.wide {
    border-radius: 10px;
    line-height: 1.6em;
  }

  #colon .arrow {
    margin-bottom: 63px;
  }

  #colon .txt-3box .pink .number,
  #colon .txt-3box .blue .number,
  #contents .gender-box .blue-box .txt .number,
  #contents .gender-box .pink-box .txt .number {
    font-size: 26px;
  }

  #colon .txt-3box .pink,
  #colon .txt-3box .blue,
  #contents .gender-box .blue-box .txt,
  #contents .gender-box .pink-box .txt {
    font-size: 17px;
    padding: 15px;
  }

  #contents h4.bg {
    font-size: 18px;
  }

  #colon p.txt-85.mb-50.txt-right {
    text-align: left;
  }

  #contents .bg-area {
    padding: 50px 0 90px;
    100pxcontain -intrinsic-block-size: auto 100px;
    65px 0 contain-intrinsic-block-size: auto 100px;
  }

  #colon #contents .tel-content {
    max-width: 265px;
  }

  #contents .reverse .img-2box .sp-img {
    width: 180px;
  }

  #contents .flow-area .flow-box h3 .txt-85 {
    font-size: 15px;
    margin-top: 0;
  }

  #contents .flow-area .flow-box::after,
  #colon .arrow::after {
    border-width: 17px 19px 0 19px;
    bottom: -40px;
  }

  #contents .flow-area .flow-box .txt-box {
    padding: 25px 15px 30px;
  }

  #contents .flow-area .flow-box {
    margin: 65px 0 95px;
  }

  #contents .flow-area .flow-box::before {
    width: 110px;
    height: 110px;
    top: -40px;
  }

  #contents .flow-area .flow-box .ttl-num {
    font-size: 20px;
    top: -25px;
  }

  #contents .flow-area .flow-box h3 {
    font-size: 19px;
    padding: 13px 3px 15px;
  }

  #contents .bg-box .tel-content:before {
    left: 7px;
  }

  #contents .check-list li::before {
    height: 20px;
    width: 19px;
  }

  #contents .check-list li {
    font-size: 15px;
    margin-bottom: 5px;
    padding-left: 27px;
  }

  #contents .disease-box p {
    width: calc(100% / 2 - 5px);
  }

  #contents .disease-box {
    gap: 10px;
  }

  #contents .bg-area .bg-box {
    margin-bottom: 55px;
    padding: 35px 15px;
  }

  #contents .name-box .name {
    display: block;
    margin-top: 5px;
  }

  #contents .name-box {
    padding: 30px 15px 15px;
  }

  #contents .border-ttl {
    font-size: 18px;
    margin-top: 40px;
  }

  #contents .tel-box {
    margin-bottom: 30px;
    padding: 25px 15px 30px;
  }

  #contents .tel-box .box-ttl {
    font-size: 16px;
    margin-bottom: 12px;
  }

  #contents .tel-content:before {
    height: 30px;
    width: 28px;
    top: 11px;
    left: 3px;
  }

  #contents .tel-content .num .tel {
    font-size: 30px;
    padding-left: 0;
  }

  #contents .tel-content {
    display: block;
    max-width: 270px;
    padding-left: 40px;
    text-align: left;
  }

  #contents .tel-content br {
    display: none;
  }

  #contents .main-photo {
    height: calc(100vw / 2.65);
    margin-bottom: 40px;
  }

  #contents .sp-left.mb-50 {
    margin-bottom: 35px;
  }

  #contents h2.main {
    font-size: 40px;
  }

  #contents h2 .sub-txt {
    font-size: 20px;
    line-height: 1.4em;
    margin-bottom: 5px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::after {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #007bbb;
  }

  #contents .bg-link .link-item:nth-child(2) .link-bnr .bg-txt .arrow-txt::after {
    border-left: 6px solid #7e318e;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt::before {
    height: 21px;
    width: 21px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .arrow-txt {
    font-size: 16px;
    padding-right: 26px;
  }

  #contents .bg-link .link-item:nth-child(2) .link-bnr .ttl::before {
    width: 37px;
  }

  #contents .bg-link .link-item .link-bnr .ttl::before {
    height: 40px;
    width: 42px;
  }

  #contents .bg-link .link-item .link-bnr .bg-txt .ttl {
    font-size: 25px;
  }
}