/*---------------------------------

  8. under_text

---------------------------------*/
.under_text {
  padding: 0 max(8%, 3rem);
}

.under_text_inner {
  margin: 6rem auto;
  max-width: 96rem;
  text-align: center;
}

.under_text_ttl {
  color: #5fbccb;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 8rem;
  line-height: 1;
}

.under_text_caption {
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 2rem;
}

.under_text_list {
  margin: 6rem auto 0;
  width: fit-content;
  text-align: left;
}

.under_text_list_item {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
  line-height: 2;
}

.under_text_list_item:not(:first-of-type) {
  margin-top: 1rem;
}

.under_text_list_item::before {
  position: absolute;
  top: 0.8em;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-image: -moz-linear-gradient(
    35deg,
    #5fbccb 0%,
    #a1d4c6 60%,
    #e2ecc1 100%
  );
  background-image: -webkit-linear-gradient(
    35deg,
    #5fbccb 0%,
    #a1d4c6 60%,
    #e2ecc1 100%
  );
  background-image: -ms-linear-gradient(
    35deg,
    #5fbccb 0%,
    #a1d4c6 60%,
    #e2ecc1 100%
  );
  content: "";
}

.under_text_catch {
  margin-top: 6rem;
  font-size: 1.8rem;
}

.under_text_catch strong {
  font-weight: 500;
  font-size: 2.4rem;
}

@media (max-width: 559px) {
  .under_text_inner {
    margin: 5rem auto 4rem;
  }

  .under_text_ttl {
    letter-spacing: 0.05em;
    font-size: 5rem;
  }

  .under_text_caption {
    font-size: 1.8rem;
  }

  .under_text_list {
    margin: 3rem auto 0;
    padding: 0 max(4%, 1.5rem);
    width: 100%;
  }

  .under_text_list_item {
    padding-left: 1.4rem;
    font-size: 1.4rem;
  }

  .under_text_list_item:not(:first-of-type) {
    margin-top: 0.5rem;
  }

  .under_text_list_item::before {
    top: 0.7em;
    width: 0.8rem;
    height: 0.8rem;
  }

  .under_text_catch {
    margin-top: 3rem;
    letter-spacing: 0;
    font-size: 1.4rem;
  }

  .under_text_catch strong {
    font-weight: 700;
    font-size: 2rem;
  }
}

/*---------------------------------

  9. under_navi

---------------------------------*/
.under_navi {
  padding: 0 max(8%, 3rem);
}

.under_navi .under_navi_inner {
  margin: 0 auto;
  max-width: 96rem;
}

.under_navi_menu {
  display: flex;
  margin-top: 6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.under_navi_menu_item {
  margin-bottom: 2rem;
}

.under_navi_menu_item:not(:nth-of-type(4n + 1)) {
  margin-left: 4rem;
}

.under_navi_menu_item a {
  position: relative;
  display: block;
  padding: 2rem 3rem 2rem 0;
  border-top: 2px solid #ccc;
  line-height: 1.5;
}

.under_navi_menu_item a::after {
  position: absolute;
  right: 0;
  bottom: 2rem;
  display: block;
  width: 1rem;
  height: 1rem;
  background: url(../img/common/icn_arrow_gray.svg) center/contain no-repeat;
  content: "";
  transform: rotate(90deg);
}
.under_navi_menu_item a:nth-child(even)::after {
  display: none;
}

.under_navi_menu_item a i {
  color: #5fbccb;
  font-size: 1.4rem;
  display: block;
}

.under_navi_menu_item a p {
  letter-spacing: 0.1em;
  font-weight: 400;
  font-size: 1.5rem;
  transition: all 0.5s cubic-bezier(0, 0, 0.25, 1) 0s;
}

.under_navi_menu_item a:hover p {
  color: #5fbccb;
}

@media (max-width: 559px) {
  .under_navi .under_navi_menu {
    margin-top: 4rem;
  }

  .under_navi_menu_item {
    margin-bottom: 1rem;
    width: calc(50% - 1.5rem);
  }

  .under_navi_menu_item:not(:nth-of-type(4n + 1)) {
    margin-left: 0;
  }

  .under_navi_menu_item:nth-of-type(even) {
    margin-left: 3rem;
  }

  .under_navi_menu_item a {
    padding: 1rem 2rem 1rem 0;
    border-top: 1px solid #ccc;
  }

  .under_navi_menu_item a::after {
    bottom: 1.2rem;
  }

  .under_navi_menu_item a i {
    font-size: 1rem;
  }

  .under_navi_menu_item a p {
    letter-spacing: 0.05em;
    font-weight: 500;
    font-size: 1.2rem;
  }
}
.under_read {
  padding-left: 1.8rem;
  text-align: center;
  line-height: 3;
}
/*---------------------------------

  汎用

---------------------------------*/
.l-contener {
  padding: 6rem max(8%, 3rem) !important;
  @media (min-width: 560px) {
    padding: 12rem max(8%, 3rem);
  }
}
.under_navi + .l-contener {
  margin-top: 3rem !important;
}
.l-inner {
  margin: 0 auto !important;
  max-width: 96rem !important;
}
.c-flex {
  display: flex !important;
}
.c-flex__wrap {
  flex-wrap: wrap !important;
}
.c-flex__alignCenter {
  align-items: center !important;
}
.c-flex__alignEnd {
  align-items: flex-end !important;
}
.c-flex__spaceBetween {
  justify-content: space-between !important;
}
.c-flex__spaceEvenly {
  justify-content: space-evenly !important;
}
.c-flex__center {
  justify-content: center !important;
}
.c-flex__spaceAround {
  justify-content: space-around !important;
}
.c-flex__half {
  flex-basis: 50% !important;
}
.c-flex__reverse {
  flex-direction: row-reverse !important;
}
.c-flexPC {
  display: block !important;
}
@media screen and (min-width: 560px) {
  .c-flexPC {
    display: flex !important;
  }
  .c-flex-column-pc {
    flex-direction: column !important;
  }
}
.c-flexSP {
  display: block !important;
}
.c-flex-column-sp {
  flex-direction: unset !important;
}
@media screen and (max-width: 560px) {
  .c-flexSP {
    display: block !important;
  }
  .c-flex-column-pc {
    flex-direction: unset !important;
  }
  .c-flex-column-sp {
    flex-direction: column !important;
  }
}
.is_bg {
	background-image: -moz-linear-gradient( -45deg, rgba(243,247,248,0.35) 0%, rgba(133,216,238,0.35) 100%);
	background-image: -webkit-linear-gradient( -45deg, rgba(243,247,248,0.35) 0%, rgba(133,216,238,0.35) 100%);
	background-image: -ms-linear-gradient( -45deg, rgba(243,247,248,0.35) 0%, rgba(133,216,238,0.35) 100%);
}
.doctor_point_text {
	padding-left: 1.8rem;
	text-align: center;
	line-height: 3;
}
.doctor_list {
	justify-content: space-between;
}
.doctor_list_item {
	margin-top: 8rem;
	width: 100%;

	align-items: center;
	justify-content: space-between;
}
@media (max-width: 599px) {
	.doctor_list {
		justify-content: center;
	}
	.doctor_list:has(.doctor_list_item + .doctor_list_item) {
		justify-content: space-between;
    row-gap: 24px;
	}
	.doctor_list_item {
		margin-top: 6rem;
	}
}
.doctor_list_item_text_btn{
	display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    @media (max-width: 599px) {
      flex-direction: column;
      gap: 0;
    }
}

.doctor_list_item_text {
	width: calc(100% - 18rem);
}
@media (max-width: 599px) {
	.doctor_list_item_text {
		margin: .8rem auto 0;
		width: 100%;
		text-align: center;
	}
}
.doctor_list_item_text_ttl {
	font-size: 1.8rem;
}
.doctor_list_item_text_ttl span {
	font-size: 1.4rem;
}
@media (max-width: 599px) {
	.doctor_list_item_text_ttl span {
		display: block;
	}
}
.doctor_list_item_recommend{
  background: #fff9ef;
    display: inline-block;
    /* color: #867332; */
    border-radius: 8px;
    padding: 8px;
}
#shinsaibashi .doctor_list_item_recommend{
  background: #e5f5f9;;
}

.doctor_list_item_image {
	position: relative;
	overflow: hidden;
	width: 15rem;
	height: 15rem;
	border-radius: 50%;
}
@media (max-width: 599px) {
	.doctor_list_item_image {
		margin: auto;
		width: 13.5rem;
		height: 13.5rem;
	}
}
.doctor_text_btn a:hover {
	opacity: .6;
}
.doctor_text_btn i {
	position: absolute;
	top: 50%;
	right: 1.4rem;
	display: block;
	margin-top: -.5rem;
	width: 1rem;
	height: 1rem;
}
.doctor_text_btn i img {
	display: block;
}
.doctor_text_btn {
	margin-top: 1.5rem;
}
.doctor_text_btn a {
	position: relative;
	display: flex;
	padding: .5rem 3rem .8rem;
	min-width: 18rem;
	width: fit-content;
	border-radius: 10rem;
	background: #5fbccb;
	box-shadow: 0 3px 15px 0 rgb(71 163 178 / 15%);
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.5;

	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}
@media (max-width: 599px) {
	.doctor_text_btn a {
		min-width: 15rem;
	}
}

/* ------------------------
	医師紹介ページ
-------------------------- */
.doctor_name {
	margin-bottom: 1rem;
	font-size: 1.8rem;
	align-items: baseline;
	gap: .6rem;
}
.doctor_img {
	position: relative;
	max-width: 16rem;
	max-height: 30rem;
}
@media (max-width: 599px) {
	.doctor_img {
		max-width: 12rem;
	}
}
.doctor_career dl {
	display: flex;

	gap: 1em;
}
.doctor_career dt {
	min-width: 5em;
}
.doctor_contents {
	width: 100%;
}
.doctor_info {
	gap: 10rem;
}
.doctor_head {
	display: flex;
	font-weight: bold;
	font-size: 2rem;

	align-items: center;
	gap: .6rem;
}
.doctor_head::before {
	display: block;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background-image:    -moz-linear-gradient( 35deg, rgb(95,188,203) 0%, rgb(161,212,198) 60%, rgb(226,236,193) 100%);
	background-image: -webkit-linear-gradient( 35deg, rgb(95,188,203) 0%, rgb(161,212,198) 60%, rgb(226,236,193) 100%);
	content: "";
}
.doctor_career {
	line-height: 1.8;
}
.doctor_qualification {
	line-height: 1.8;
}
.dr_qualification a {
	position: relative;
}
.dr_qualification a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
	background: #415457;
	content: '';
	transition: all .5s cubic-bezier(0, 0, .25, 1) 0s;
	transform: scale(1, 1);
	transform-origin: center top;
}
.dr_qualification a:hover::after {
	transform: scale(0, 1);
}
.dr_qualification a:hover {
	opacity: .8;
}
@media (max-width: 599px) {
	.doctor_career {
		margin-bottom: 2rem;
		font-size: 1.4rem;
	}
	.doctor_qualification {
		font-size: 1.4rem;
	}
}
.footer_sns_list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2rem;
}
.footer_sns_list_item {
    width: 4rem;
    margin-right: 1.5rem;
}
.footer_sns_list_item a {
    display: block;
    overflow: hidden;
    border-radius: 50%;
}

/* 以下汎用でも使えそう */

.c-jumbotron__title {
	font-size: 3.2rem;
	line-height: 1.5;
}
.c-jumbotron__title i {
	color: #5fbccb;
	letter-spacing: .1em;
	font-weight: 500;
	font-size: 8rem;
	line-height: 1;
}
.c-jumbotron__title i + * {
	letter-spacing: .1em;
	font-weight: 500;
	font-size: 2rem;
}
@media (max-width: 599px) {
	.c-jumbotron__title i {
		font-size: 5rem;
	}
	.c-jumbotron__title i + * {
		font-size: 1.8rem;
	}
}
