@charset "UTF-8";

/*
  common
========================================================================== */
.comingsoon {
  margin: 60px 0 120px 0;
  text-align: center;
  color: red;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .1em;
}

/*
  staff（院長スタッフ）
========================================================================== */
section.staff {
  margin-bottom: 40px;
}

.staff .staff-cont-box {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 20px;
}

.staff .staff-cont-box .staff-cont {
  flex: 1 0 0;
}

.staff .staff-img-box {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 10px;
}

.staff .staff-img-box .img {
  flex: 0 0 390px;
}

.staff .staff-img-box .cont {
  flex: 1 0 0;
}

/* hobby */
.staff .staff-hobby .table-nocolor tr th,
.staff .staff-hobby .table-nocolor tr td {
  text-align: left;
}

.staff .staff-img-box .cont .staff-hobby {
  margin-bottom: 10px;
}

/* career */
.staff .staff-career .table-nostyle tr th,
.staff .staff-career .table-nostyle tr td {
  vertical-align: top;
  padding: 0;
}

.staff .staff-career .table-nostyle tr th {
  padding-right: 1em;
}

/* group */
.staff .staff-group {
  margin-bottom: 10px;
}

/* certificate */
.staff .staff-certificate {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.staff .staff-certificate li {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.staff .staff-certificate li img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.staff .staff-certificate li .txt {
  margin-top: 5px;
  text-align: center;
  font-size: 12px;
}

/*
  tour（院内ツアー）
========================================================================== */
section.tour {
  margin-bottom: 40px;
}

.tour .tour_item + .tour_item {
  margin-top: 20px;
}

/*
  price（料金表）
========================================================================== */
section.price {
  margin-bottom: 40px;
}

.price_item {
  margin-bottom: 40px;
}

.price_item:last-of-type {
  margin-bottom: 0;
}

.price .cleditcard li {
  float: left;
  margin-right: 8px;
}

.price .cleditcard li img {
  width: auto;
  height: 39px;
}

.price .cleditcard li:last-child {
  margin: 0;
}

/*
  map_time（地図・診療時間）
========================================================================== */
section.map_time {
  margin-bottom: 40px;
}

/* table-nocolor */
.map_time .table-nocolor th,
.map_time .table-nocolor td {
  padding: 7px 3px 4px;
}

.map_time .table-nocolor thead td {
  background: #E2E2E2;
  color: #333;
  border: 1px solid #ccc;
}

.map_time .table-nocolor tbody th {
  background: #fff;
  border: 1px solid #ccc;
}

/* tel */
.map_time .tel {
  font-size: 22px;
}

/* table-nostyle */
.map_time .table-nostyle th {
  padding: 6px 0px;
}

/* googlemap */
.map_time .gmap iframe {
  display: block;
  width: 100%;
}

/*
  recruit（スタッフ募集）
========================================================================== */
section.recruit {
  margin-bottom: 40px;
}

.recruit .rec_item + .rec_item {
  margin-top: 20px;
}

/* anchor */
.recruit .anchor {
  display: flex;
  flex-wrap: wrap;
}

.recruit .anchor li {
  margin: 0 1%;
  width: 31%;
}

.recruit .anchor li:nth-child(n+4) {
  margin-top: 15px;
}

.recruit .anchor li a {
  display: block;
  padding: 4% 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.recruit .anchor li:nth-child(2n-1) a {
  background: #676767;
}

.recruit .anchor li:nth-child(2n) a {
  background: #8D8D8D;
}

/* table-nocolor */
.recruit .table-nocolor th {
  width: 20%;
}

.recruit .table-nocolor th,
.recruit .table-nocolor td {
  text-align: left;
}

/* tel */
.recruit .tel {
  font-size: 22px;
}

/*
  contact（お問い合わせ）
========================================================================== */
section.contact {
  margin-bottom: 40px;
}

/* tel */
.contact p.tel {
  font-size: 22px;
}

/* table-nocolor */
.contact .table-nocolor th {
  width: 120px;
  text-align: left;
  font-weight: bold;
}

.contact .table-nocolor td {
  text-align: left;
}

/* フォーム */
.contact .form {
  width: 100%;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.contact .form th {
  padding: 8px 12px;
  width: 140px;
  vertical-align: middle;
  background-color: #eee;
  border: 1px solid #ccc;
  white-space: nowrap;
}

.contact .form td {
  padding: 10px 15px;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #ccc;
}

.contact .form td p + p:nth-child(n+3) {
  margin-top: 1em;
}

.contact .form th .required {
  color: #C20E11;
  margin-left: 4px;
}

.contact .form input {
  box-sizing: border-box;
  padding: 5px;
  vertical-align: middle;
}

.contact .form td input[type="text"],
.contact .form td input[type="email"],
.contact .form td input[type="tel"],
.contact .form td input[type="number"],
.contact .form td textarea {
  border: solid 1px #ccc;
}

.contact .form td input.name,
.contact .form td input.tel {
  width: 250px;
}

.contact .form td input[type="number"] {
  width: 4em;
}

.contact .form td input.mail {
  width: 400px;
}

.contact .form td .wpcf7-radio {
  display: flex;
}

.contact .form td .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.contact .form td .wpcf7-radio .wpcf7-list-item + .wpcf7-list-item {
  margin-left: 15px;
}

.contact .form td .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
}

.contact .form td .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
  margin-left: 5px;
}

.contact .form td textarea {
  box-sizing: border-box;
  padding: 5px;
  width: 400px;
}

.contact .form-btn {
  margin-top: 20px;
  text-align: center;
}

.contact .form-btn input {
  margin: 0 10px;
  padding: 0 30px;
  line-height: 40px;
  color: #fff;
  background: #343434;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.contact .wpcf7 .wpcf7-spinner {
  display: block;
  margin: 5px auto;
}

.contact .wpcf7-not-valid-tip {
  font-size: 12px;
}

.contact .wpcf7-response-output {
  text-align: center;
}

/*
  feature（特徴）
========================================================================== */
section.feature {
  margin-bottom: 40px;
}

.feature .feature_cont + .feature_cont {
  margin-top: 20px;
}

/* anchor_link */
.feature .anchor_link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.feature .anchor_link > li {
  box-sizing: border-box;
  margin: 0 1% 20px 1%;
  padding: 2%;
  width: 31%;
  border: 1px solid var(--main-color);
  position: relative;
}

.feature .anchor_link > li.count4,
.feature .anchor_link > li.count5:nth-child(-n+2) {
  width: 48%;
}

.feature .anchor_link > li.count3:nth-child(2),
.feature .anchor_link > li.count4:nth-child(2),
.feature .anchor_link > li.count4:nth-child(3),
.feature .anchor_link > li.count5:nth-child(3),
.feature .anchor_link > li.count5:nth-child(5),
.feature .anchor_link > li.count6:nth-child(2n) {
  border: 1px solid var(--sub-color);
}

.feature .anchor_link > li a {
  display: block;
}

.feature .anchor_link > li h2 {
  margin-bottom: 15px;
  padding-bottom: .5em;
  text-align: center;
  color: var(--main-color);
  font-size: 16px;
  line-height: 1.25;
  border-bottom: 1px dashed var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature .anchor_link > li.count3:nth-child(2) h2,
.feature .anchor_link > li.count4:nth-child(2) h2,
.feature .anchor_link > li.count4:nth-child(3) h2,
.feature .anchor_link > li.count5:nth-child(3) h2,
.feature .anchor_link > li.count5:nth-child(5) h2,
.feature .anchor_link > li.count6:nth-child(2n) h2 {
  color: var(--sub-color);
  border-bottom: 1px dashed var(--sub-color);
}

.feature .anchor_link > li.count4 .anchor_link_img,
.feature .anchor_link > li.count5:nth-child(-n+2) .anchor_link_img {
  width: 49%;
  float: left;
}

.feature .anchor_link > li .anchor_link_img img {
  max-width: 100%;
}

.feature .anchor_link > li .anchor_link_txt {
  text-align: left;
  font-size: 14px;
}

.feature .anchor_link > li.count4 .anchor_link_txt,
.feature .anchor_link > li.count5:nth-child(-n+2) .anchor_link_txt {
  width: 49%;
  float: right;
}

.feature .anchor_link > li ul.anchor_link_txt li {
  padding-left: 1.25em;
  position: relative;
}

.feature .anchor_link > li ul.anchor_link_txt li i {
  color: var(--main-color);
  position: absolute;
  top: .25em;
  left: 0;
}

.feature .anchor_link > li.count3:nth-child(2) .anchor_link_txt li i,
.feature .anchor_link > li.count4:nth-child(2) .anchor_link_txt li i,
.feature .anchor_link > li.count4:nth-child(3) .anchor_link_txt li i,
.feature .anchor_link > li.count5:nth-child(3) .anchor_link_txt li i,
.feature .anchor_link > li.count5:nth-child(5) .anchor_link_txt li i,
.feature .anchor_link > li.count6:nth-child(2n) .anchor_link_txt li i {
  color: var(--sub-color);
}

.feature .anchor_link > li .btn {
  display: block;
  margin: 10px auto 0;
  padding: 5px 0;
  width: 90%;
  text-align: center;
  color: #fff;
  background: var(--main-color);
  border-radius: 100px;
}

.feature .anchor_link > li.count3:nth-child(2) .btn,
.feature .anchor_link > li.count4:nth-child(2) .btn,
.feature .anchor_link > li.count4:nth-child(3) .btn,
.feature .anchor_link > li.count5:nth-child(3) .btn,
.feature .anchor_link > li.count5:nth-child(5) .btn,
.feature .anchor_link > li.count6:nth-child(2n) .btn {
  background: var(--sub-color);
}

/*
  診療ページ共通
========================================================================== */
section.content {
  margin-bottom: 40px;
}

section.content .item + .item {
  margin-top: 30px;
}

section.content .parts + .parts {
  margin-top: 15px;
}

section.content .parts + h4.parts {
  margin-top: 20px;
}

section.content .center.parts img {
  max-width: 96%;
}

section.content .case-records-wrap + .case-records-wrap,
section.content .case-records-wrap + .compare-wrap,
section.content .compare-wrap + .compare-wrap,
section.content .compare-wrap + .case-records-wrap {
  margin-top: 20px;
}

section.content .video {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  aspect-ratio: 16/9;
}

section.content .video iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* plus img */
section.content .plus-img {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  display: flex;
  justify-content: center;
  gap: 0 60px;
  position: relative;
}

section.content .plus-img li {
  flex: 1 0 0;
}

section.content .plus-img li .label {
  padding: .5em 1em .4em 1em;
  text-align: center;
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
  background-color: var(--main-color);
  border-radius: 4px;
}

section.content .plus-img li .label + .img {
  margin-top: 5px;
}

section.content .plus-img li .img {
  aspect-ratio: 4/3;
}

section.content .plus-img li .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.content .plus-img li:nth-child(1) .img {
  position: relative;
}

section.content .plus-img li:nth-child(1) .img::before,
section.content .plus-img li:nth-child(1) .img::after {
  content: '';
  display: block;
  margin: auto;
  width: 6px;
  height: 40px;
  background-color: #ccc;
  position: absolute;
  top: 0;
  right: -33px;
  bottom: 0;
}

section.content .plus-img li:nth-child(1) .img::after {
  transform: rotateZ(90deg);
}

section.content .plus-img li .img + .txt {
  margin-top: 10px;
}

section.content .plus-img li .txt {
  font-size: 13px;
}

/* flow compare */
section.content .flow-compare {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  display: flex;
  justify-content: center;
  gap: 0 20px;
}

section.content .flow-compare dl {
  text-align: center;
  flex: 1 0 0;
}

section.content .flow-compare dl dt {
  margin-bottom: 10px;
  padding: .9em 1em .7em 1em;
  color: #fff;
  font-weight: bold;
  line-height: 1.3;
  background-color: var(--sub-color);
}

section.content .flow-compare dl:last-child dt {
  background-color: var(--main-color);
}

section.content .flow-compare dl dd {
  padding: .5em 1em .4em 1em;
  font-weight: bold;
  border-width: 2px;
  border-style: solid;
  position: relative;
  border-color: var(--sub-color);
}

section.content .flow-compare dl:last-child dd {
  border-color: var(--main-color);
}

section.content .flow-compare dl dd + dd {
  margin-top: 28px;
}

section.content .flow-compare dl dd::after {
  content: '';
  display: block;
  margin: auto;
  width: 30px;
  height: 14px;
  background-color: #ccc;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
}

section.content .flow-compare dl dd:last-child:after {
  display: none;
}

/* doctor box */
section.content .doctor-box .parts + h5 {
  margin-top: 15px;
}

section.content .doctor-box .table-nostyle.career tr th,
section.content .doctor-box .table-nostyle.career tr td {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  vertical-align: top;
}

section.content .doctor-box .table-nostyle.career tr:nth-child(n+2) th,
section.content .doctor-box .table-nostyle.career tr:nth-child(n+2) td {
  padding-top: 5px;
}

section.content .doctor-box .table-nostyle.career tr th {
  padding-right: 1em;
  white-space: nowrap;
}

section.content .doctor-box .certificate {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

section.content .doctor-box .certificate li {
  aspect-ratio: 1/1;
}

section.content .doctor-box .certificate li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-family: 'object-fit: contain;';
}

section.content .doctor-box .book li {
  display: flex;
  align-items: center;
  gap: 0 10px;
}

section.content .doctor-box .book li + li {
  margin-top: 10px;
}

section.content .doctor-box .book li .img {
  flex: 0 0 180px;
}

section.content .doctor-box .book li .ttl {
  flex: 1 0 auto;
}

section.content .doctor-box .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

section.content .doctor-box .gallery li {
  aspect-ratio: 1600/1067;
}

section.content .doctor-box .gallery li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
