@charset "UTF-8";
/* CSS Document */

.greeting-wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.greeting-wrap .mess {
  width: 70%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
}
@media (max-width : 500px) {
  .greeting-wrap .mess {
    width: 100%;
    position: static;
    top: auto;
    transform: none;
    padding-bottom: 20px;
  }
}
.greeting-wrap .mess p:nth-of-type(2) {
  padding-top: 20px;
}
.greeting-wrap .messimg {
  width: 48%;
  position: relative;
  margin-left: auto;
}
@media (max-width : 500px) {
  .greeting-wrap .messimg {
    width: 100%;
  }
}

.career-wrap {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  padding-bottom: 100px;
}
@media (max-width : 500px) {
  .career-wrap {
    background-color: #f9f8f7;
    padding-top: 30px;
    padding-bottom: 0px;
  }
}
.career-wrap .inner {
  display: flex;
  align-items: center;
  border-top: #939393 solid 1.5px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.career-wrap .inner:last-child {
  border-bottom: #939393 solid 1.5px;
}
@media (max-width : 500px) {
  .career-wrap .inner {
    display: block;
    border-top: none;
    padding: 0 20px 40px 20px;
  }
  .career-wrap .inner:last-child {
    border-bottom: none
  }
}
.career-wrap .inner h3 {
  width: 280px;
  padding-left: 40px;
  font-size: 150%;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  color: #40210f;
}
@media (max-width : 500px) {
  /*
  .career-wrap .inner h3 {
    width: auto;
    padding-left: 0;
    font-size: 130%;
    font-weight: 600;
    text-align: center;
    border-bottom: #939393 dashed 1.5px;
    padding-bottom: 10px;
    margin-bottom: 8px;
  }
  */
  .career-wrap .inner h3 {
    width: auto;
    padding-left: 0;
    font-size: 130%;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
  }
  .career-wrap .inner h3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: #40210f;
    /*border-top: 1px dashed #40210f;*/
  }
  .career-wrap .inner h3 span {
    background-color: #f9f8f7;
    padding: 5px 14px;
    position: relative;
    z-index: 2;
  }
}

.career-wrap .inner ul li {
  position: relative;
  padding-left: 10px;
}
.career-wrap .inner ul li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: #000;
  /*border-radius: 50%;*/
  position: absolute;
  left: 0;
  top: 50%;
  /*top: calc(50% - 3px);*/
}
@media (max-width : 500px) {
  .career-wrap .inner ul li::before {
    top: 13px;
  }
}

@media (max-width : 500px) {
  .clinic-history {
    padding-top: 40px;
  }
}
.clinic-history ul {
  max-width: 1090px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  
  /*
  background-image: url("../doctor/images/line.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 2px auto;
  */
}
@media (max-width : 500px) {
  .clinic-history ul {
    margin-top: 20px;
  }
}
.clinic-history ul li {
  display: flex;
  border: #6e4c40 solid 1.5px;
  border-radius: 50vh;
  background-color: #fff;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
  position: relative;
}
.clinic-history ul li:nth-of-type(n+2) {
  margin-top: 36px;
}
.clinic-history ul li:nth-of-type(n+2)::before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 37px;
  background-color: #6e4c40;
	position: absolute;
	top: -37px;
	left: 50%;
  z-index: -1;
}
@media (max-width : 500px) {
  .clinic-history ul li {
    display: block;
    border: none;
    border-radius: 8px;
  }
  .clinic-history ul li:nth-of-type(n+2) {
    margin-top: 20px;
  }
}
.clinic-history ul li h3 {
  background: #6e4c40;
  color: #fff;
  width: 190px;
  min-width: 190px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 50vh;
  border-top-left-radius: 50vh;
}
@media (max-width : 500px) {
  .clinic-history ul li h3 {
    width: 60%;
    height: 30px;
    border-radius: 50vh;
    margin-left: auto;
    margin-right: auto;
  }
}
.clinic-history ul li p {
  padding: 0 45px;
  height: 80px;
  display: flex;
  align-items: center;
  line-height: 1.4em;
}
@media (max-width : 500px) {
  .clinic-history ul li p {
    padding: 12px 15px;
    height: auto;
  }
}