@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;
}

/* profile */
.staff .staff_profile {
  overflow: hidden;
}

.staff .staff_profile + .staff_profile {
  margin-top: 30px;
}

/* portrait */
.staff .portrait-l {
  margin-right: auto;
  margin-left: auto;
  max-width: 96%;
}

.staff .portrait-s {
  float: right;
  max-width: 300px;
  margin-left: 10px;
  margin-bottom: 10px;
}

/* box */
.staff .staff-box {
  margin-top: 15px;
}

.staff .staff-box > div + div {
  margin-top: 15px;
}

/* hobby */
.staff .staff-hobby {
  max-width: 400px;
}

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

/* 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:nth-child(n+2) th,
.staff .staff-career .table-nostyle tr:nth-child(n+2) td {
  padding-top: 5px;
}

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

/* certificate */
.staff .staff-certificate {
  margin-top: 15px;
  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;
}

/* book */
.staff .staff-book {
  margin-top: 15px;
}

.staff .staff-book .bookgallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.staff .staff-book .book li,
.staff .staff-book .bookgallery li {
  display: flex;
  gap: 0 10px;
}

.staff .staff-book .book li {
  align-items: center;
}

.staff .staff-book .bookgallery li {
  align-items: flex-start;
}

.staff .staff-book .book li + li {
  margin-top: 10px;
}

.staff .staff-book .book li .img,
.staff .staff-book .bookgallery li .img {
  flex-basis: 180px;
}

.staff .staff-book .book li .ttl,
.staff .staff-book .bookgallery li .ttl {
  flex: 1 0 auto;
}

/* profile gallery */
.staff .staff-profile-gallery {
  margin-top: 20px;
}

.staff .staff-profile-gallery ul {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* code */
/* message */
.staff .staff-code,
.staff .staff-message {
  margin-top: 15px;
}

/* gallery */
.staff .staff-gallery {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* photo */
.staff .staff-photo {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
}

.staff .staff-photo li + li {
  margin-top: 10px;
}

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

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

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

.price .price_item + .price_item {
  margin-top: 30px;
}

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

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

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

/* box-img-left */
.price .box-img-left {
  display: flex;
}

.price .box-img-left .img {
  float: none;
  flex-basis: 300px;
}

/*
  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 {
  aspect-ratio: 16/9;
}

.map_time .gmap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

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

/* anchor */
.recruit .anchor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.recruit .anchor li a {
  display: block;
  padding: .8em 1em .7em 1em;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background-color: #ebbc00;
  border-radius: 5px;
}

/* 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: #ebbc00;
  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;
}

/*
  共通
========================================================================== */
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%;
}

/* img flow -------------------- */
section.content .img-flow {
  margin-right: auto;
  margin-left: auto;
  max-width: 96%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px 40px;
}

section.content .img-flow li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 10px 0;
}

section.content .img-flow li .img {
  position: relative;
}

section.content .img-flow li .img::after {
  content: '';
  display: block;
  width: 15px;
  aspect-ratio: 1/2;
  background-color: #ccc;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
}

section.content .img-flow li:last-child .img::after {
  display: none;
}

section.content .img-flow li .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  font-family: 'object-fit: contain; object-position: top;';
}

section.content .img-flow li p {
  font-size: 12px;
  line-height: 1.3;
}

/* 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;
  font-family: '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 .bookgallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

section.content .doctor-box .book li,
section.content .doctor-box .bookgallery li {
  display: flex;
  gap: 0 10px;
}

section.content .doctor-box .book li {
  align-items: center;
}

section.content .doctor-box .bookgallery li {
  align-items: flex-start;
}

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

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

section.content .doctor-box .book li .ttl,
section.content .doctor-box .bookgallery 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;';
}
