/*ベース*/
img {
  max-width: 100%;
}
#cst-clinic-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 30px;
}

.cst-clinic-link-box {
  padding: 0 15px;
  border-right: 1px solid #dfdfdf;
}

.cst-clinic-link-box a {
  font-size: 0.9rem;
  text-decoration: none;
}
.cst-clinic-link-box {
  line-height: 1.2;
}

#cst-clinic-link div:last-of-type {
  border: none;
}
.cst-icon-under {
  background-image: url(/assets/add/next-under.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
}
.cst-hsmainVisual2__text {
  max-width: 960px;
}
@media (max-width: 784px) {
  .cst-clinic-link-box {
    border-right: none;
    width: 33.33333333%;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .cst-clinic-link-box:nth-child(2),
  .cst-clinic-link-box:nth-child(5) {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
  }

  .mainVisual3__catch {
    font-size: 1.3rem;
  }
}

.cst-reg-bg {
  background-color: #fff3eb;
  padding: 48px 0;
}
@media screen and (min-width: 784px) {
  .mainVisual2__imgWrap {
    height: 240px;
  }
  .mainVisual2__text {
    margin-top: 16px;
  }
}
/*ベース-fin*/
/*各種プラン*/
.cst-reg-plan-container {
  background-color: white;
  padding: 32px 0;
  margin: 0 auto;
  margin-bottom: 32px;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
.cst-reg-plan-comment {
  background-color: white;
  position: relative;
  text-align: center;
  padding: 16px;
  margin-bottom: 32px;
  font-weight: bold;
  filter: drop-shadow(2px 3px 7px rgb(190, 190, 190));
}
.cst-reg-plan-comment:before {
  background-color: white;
  content: "";
  height: 16px;
  position: absolute;
  width: 30px;
  bottom: -15px;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  left: 46%;
}
.cst-reg-plan-titlebox h3 {
  font-size: 20px;
  font-weight: bold;
}
.cst-reg-plan-titlebox p {
  font-size: 20px;
  font-weight: bold;
  color: #eb6100;
}
.cst-reg-tax {
  font-size: 14px;
}
.cst-reg-express-tag {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  padding: 8px;
  background-color: #fff3eb;
  padding-left: 30px;
  margin-left: 16px;
  border-radius: 5px;
}
.cst-reg-express-tag img {
  position: absolute;
  width: 40px;
  top: -5px;
  left: -16px;
}
.cst-reg-plan-detail {
  background-color: #fff3eb;
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.cst-reg-plan-detail h3 {
  font-weight: bold;
}
.cst-reg-plan-detail a {
  text-decoration: none;
}
.cst-reg-plan-detail a p {
  font-size: 0.9rem;
  color: #eb6100;
  margin-bottom: 0;
}
.cst-reg-plan-other {
  background-color: white;
  padding: 32px 0;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
.cst-reg-plan-other h3 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
@media (min-width: 641px) {
  .cst-reg-plan-container {
    display: flex;
  }
  .cst-reg-plan-box {
    max-width: 50%;
    padding: 0 36px;
  }
  .cst-reg-plan-box-border {
    border-right: 1px solid #dfdfdf;
  }
  .cst-reg-plan-titlebox {
    display: flex;
    justify-content: space-between;
  }
  .cst-reg-reservation-button {
    display: flex;
  }
  .cst-reg-reservation-button a:nth-child(2) {
    margin: 0 20px;
  }
}
@media (max-width: 640.99px) {
  .cst-reg-reservation-button a {
    margin-bottom: 5px;
  }
  .cst-reg-plan-container {
    padding: 16px;
  }
  .cst-reg-plan-titlebox h3 {
    margin-bottom: 16px;
  }
  .cst-reg-plan-titlebox p {
    margin-bottom: 16px;
  }
  .cst-reg-plan-box {
    margin-bottom: 32px;
  }
  .cst-reg-plan-other {
    padding: 32px 16px;
  }
  .cst-reg-plan-other h3 {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .cst-reg-plan-box-border:first-child {
    padding-bottom: 32px;
    border-bottom: 1px solid #dfdfdf;
  }
}
/*各種プラン-fin*/
/*オプション検査*/
#cst-reg-option h3 {
  text-align: left;
}
#cst-reg-option h3 img {
  left: 0;
  margin-left: 0;
  max-width: 90%;
}
.cst-reg-option-box-2 {
  padding: 24px;
  background-color: white;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
.cst-reg-option-box-2 h4 {
  font-weight: bold;
  color: #eb6100;
}
.cst-reg-option-box-2 {
  width: 55%;
  margin-left: 16px;
}
#cst-reg-option h3,
#cst-reg-express h3 {
  font-size: 22px;
  font-family: "Yu Mincho", serif;
  font-weight: bold;
  position: relative;
  z-index: 2;
}
#cst-reg-option h3 img,
#cst-reg-express h3 img {
  position: absolute;
  max-width: 340px;
  opacity: 0.7;
  right: 0;
  left: 0;
  margin: 0 auto;
  bottom: -10px;
  z-index: -1;
  left: 0;
  margin-left: 0;
  max-width: 90%;
}
@media (min-width: 641px) {
  .cst-reg-option-container {
    display: flex;
    align-items: center;
  }
  .cst-reg-option-box-1 {
    width: 45%;
  }
}
@media (max-width: 640.99px) {
  .cst-reg-option-box-1 h3 {
    line-height: 2rem;
  }
  .cst-reg-option-box-2 {
    width: 100%;
    margin: 24px 0;
    padding: 16px;
  }
}
/*オプション検査-fin*/
/*継続治療のご案内*/
.cst-reg-continuation-container {
  display: flex;
  width: 100%;
}
.cst-reg-continuation-text {
  width: 60%;
  z-index: 3;
}
.cst-reg-continuation-container h2 {
  font-family: "Yu Mincho", serif;
  font-weight: bold;
  font-size: 1.7rem;
  line-height: 2.75rem;
}
.cst-reg-continuation-container p {
  padding: 16px;
  width: 120%;
  background-color: rgba(255, 255, 255, 0.9);
}
.cst-reg-continuation-text a {
  text-decoration: none;
  color: #eb6100;
  font-weight: bold;
  padding-left: 20px;
}
.cst-reg-continuation-pc {
  width: 60%;
}
.cst-reg-continuation-box {
  padding: 24px;
  background-color: white;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
@media (min-width: 641px) {
  .cst-reg-continuation-sp {
    display: none;
  }
  .cst-reg-continuation-container h2 {
    margin-left: 16px;
  }
}
@media (max-width: 640.99px) {
  .cst-reg-continuation-pc {
    display: none;
  }
  .cst-reg-continuation-text {
    width: 100%;
  }
  .cst-reg-continuation-container h2 {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 8px;
    margin-top: 16px;
  }
  .cst-reg-continuation-container p {
    font-size: 12px;
    width: 100%;
    margin-top: -50px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
  }
  .cst-reg-continuation-container p {
    padding: 16px 0;
  }
  .cst-reg-continuation-text a {
    padding-left: 0px;
    font-size: 14px;
  }
}
/*継続治療のご案内-fin*/
/*選ばれる理由*/
.cst-reg-choice-bg {
  background-color: #fff3eb;
  padding-top: 50px;
}
#cst-reg-point h2 {
  text-align: center;
}
.cst-reg-point-container {
  display: flex;
  justify-content: space-around;
}
.cst-reg-point-container div {
  width: 31%;
  background-color: white;
  text-align: center;
  padding: 15px;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
.cst-reg-point-container img {
  width: 100%;
}
.cst-reg-point-container h3 {
  font-family: "Yu Mincho", serif;
  font-weight: bold;
  line-height: 1.2rem;
}
.cst-reg-point-container p {
  font-size: 0.8rem;
}
.cst-reg-point-sp {
  padding: 0px !important;
  box-shadow: none !important;
  width: 100% !important;
}
.cst-reg-point-container a {
  text-decoration: none;
  color: #eb6100;
  font-weight: bold;
  padding-left: 20px;
}
@media (max-width: 640px) {
  .cst-reg-point-container {
    display: block;
  }
  .cst-reg-point-container div {
    width: 100%;
    margin-bottom: 10px;
  }
  .cst-reg-point-sp {
    padding: 0px !important;
    box-shadow: none !important;
    display: flex;
    margin-bottom: 10px;
  }
  .cst-reg-point-sp img {
    width: 30%;
  }
  .cst-reg-point-sp h3 {
    width: 70%;
    text-align: center;
  }
  .cst-reg-point-container p {
    text-align: left;
  }
  .cst-reg-point-container a {
    display: block;
    text-align: right;
  }
}
/*選ばれる理由-fin*/
/*クリニック*/
.cst-reg-clinic-box {
  padding: 32px 0;
  background-color: white;
  box-shadow: 2px 3px 7px rgb(190, 190, 190);
}
.cst-reg-clinic-intro {
  text-align: center;
}
#cst-reg-clinic .cst-border-bottom-none {
  border-bottom: none;
}
#cst-reg-clinic .contentNavItem__title {
  margin-bottom: 0.5rem;
}
#cst-reg-clinic .contentNavItem__detailLink {
  text-align: right;
  color: #eb6100;
}

#cst-reg-clinic .contentNavItem__detailLink a {
  text-decoration: none;
}
#cst-reservation-table th {
  max-width: 80px;
}
#cst-reservation-table td {
  font-size: 0.85rem;
}
.cst-top-clinic-img img {
  width: 80%;
  margin-bottom: 20px;
}
.contentNavList > ul > .cst-reg-border-none::after {
  border: none;
}
@media screen and (max-width: 783.9px) {
  #cst-reservation-table th {
    width: 60px;
    font-size: 12px;
  }
  #cst-reservation-table td {
    font-size: 12px;
  }
}
@media screen and (max-width: 783.9px) {
  .cst-top-clinic-img {
    width: 35%;
  }
  #cst-reg-clinic ul {
    padding: 0 16px;
  }
  #cst-reg-clinic ul li {
    padding: 32px 0 16px 0;
  }
  .contentNavList > ul > li::after {
    border: none;
  }
}
/*クリニック-fin*/
/*特急オプション*/

#cst-reg-express h4 {
  color: #2b2b2b;
  font-size: 18px;
}
#cst-reg-express h3 {
  line-height: 1.75;
}
#cst-reg-express .cst-reg-express-tag img {
  position: absolute;
  width: 28px;
  top: 2px;
  left: -6px;
}
#cst-reg-express .cst-reg-express-tag {
  background: none;
  margin-left: 0;
}
#cst-reg-express .cst-reg-option-box-2 p,
#cst-reg-express .cst-reg-option-box-2 li {
  margin-left: 30px;
}
#cst-reg-express .cst-reg-option-box-2 {
  padding: 16px 24px;
}
#cst-reg-express .cst-reg-express-img img {
  width: 100%;
}
@media (min-width: 601px) {
  #cst-reg-express .cst-reg-express-img img {
    width: 80%;
    margin: 0 10%;
    margin-bottom: 8px;
  }
}
/*特急オプション-fin*/
