@charset "utf-8";

.main-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*padding: 56px 0;*/
  height: 100vh;
  max-height: 45vw;
  background: top url(../images/mv_photo.webp?20251211) no-repeat;
  background-size: cover;
}

.main-image-container {
  margin-right: auto;
  margin-left: auto;
  width: 50%;
  max-width: 700px;
}

.section-contact {
  color: #fff;
  background: #6D4504;
}

.section-contact-list li {
  margin: 0 10px;
}

.section-contact .link-case a {
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding: 24px;
  max-width: 480px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  background: #FF6043;
}

.home-rhombus-list {
  display: flex;
  justify-content: center;
}

.home-rhombus-list > li {
  padding: 8px;
}

.home-doctor-list {
  display: flex;
  height: 40vw;
}

.home-doctor-list li {
  position: relative;
  flex-grow: 1;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(0);
}

.home-doctor-list li:nth-child(1) { background-image: url(../images/dr_photo_kagaya_bg.jpg?20251211); }
.home-doctor-list li:nth-child(2) { background-image: url(../images/dr_photo_tabo_bg.jpg?20251211); }
.home-doctor-list li:nth-child(3) { background-image: url(../images/dr_photo_tabo_bg.jpg?20251211); }
.home-doctor-list li:nth-child(4) { background-image: url(../images/dr_photo_nishihara_bg.jpg); }

.home-doctor-list li img {
  position: absolute;
  left: 20px;
  bottom: 16%;
  height: 100px;
  max-height: 13%;
  transform: translateY(0%);
  transition: 0.3s;
}

.home-doctor-list li:nth-child(1) img { bottom: 48%; right: 20px; left: auto;}
.home-doctor-list li:nth-child(3) img { bottom: 50%; }

.box-merit h4,
.box-demerit h4 {
  display: flex;
  align-items: center;
  font-weight: 800;
  color: #9A363F;
  text-align: center;
}

.box-merit h4:before,
.box-demerit h4:before {
  flex: 1;
  content: '';
  display: block;
  margin-right: 28px;
  height: 6px;
  background: #9A363F;
}

.box-merit h4:after,
.box-demerit h4:after {
  flex: 1;
  content: '';
  display: block;
  margin-left: 30px;
  height: 6px;
  background: #9A363F;
}

.box-demerit h4 {
  color: #000;
}

.box-demerit h4:before,
.box-demerit h4:after {
  background: #7D7D7D;
}

.home-merit-list li {
  display: flex;
}

.home-merit-list li:before {
  content: '';
  display: block;
  margin-left: 10px;
  margin-right: 18px;
  margin-bottom: 10px;
  width: 12px;
  height: 22px;
  vertical-align: middle;
  border-right: 2px solid #9A363F;
  border-bottom: 2px solid #9A363F;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.box-demerit .home-merit-list li:before {
  border-color: #7D7D7D;
}

.home-risk-1 {
  background-position: right;
  background-repeat: no-repeat;
  background-image: url(../images/risk_photo_bg.jpg);
  background-size: auto 100%;
}

.home-risk-1-inner {
  width: 60%;
  max-width: 700px;
}

.home-price {
  color: #fff;
  background: #53524F url(../images/cost_bg.jpg) no-repeat;
  background-size: cover;
}

.home-price table {
  width: 100%;
}

.home-price table th {
  padding: 4px 16px;
  text-align: center;
  vertical-align: middle;
  color: #000;
  font-weight: 800;
  font-size: 1.2em;
  background: #fff;
  border: solid 1px #fff;
}

.home-price table td {
  padding: 4px 16px;
  vertical-align: middle;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: solid 1px #fff;
}

.home-price-total {
  padding-bottom: 10px;
  border-bottom: solid 1px #fff;
}

.home-dr-1 {
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(../images/dr_photo_nakahira.png?20241129);
  background-size: auto 100%;
  /*background-size: 35% auto;*/
}

.home-dr-1-inner {
  float: right;
  max-width: 66%;
}

.home-dr-1 table th {
  padding: 0 20px 2.5% 0;
}

.home-dr-1 table td {
  padding: 0 0 2.5% 0;
}

.home-dr-1-name {
  padding-bottom: 14%;
}

.dr-pos {
  font-size: 20px;
  font-weight: 800;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
}

.dr-name {
  margin: 8px 0;
  font-size: 40px;
  font-weight: 800;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
}

.dr-name-en {
  font-size: 16px;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
}

.dr-history th {
  white-space: nowrap;
  padding-right: 30px;
}

.home-health-list li {
  padding: 0 2%;
}

.flow-list > li {
  position: relative;
  margin-bottom: 100px;
  padding: 30px;
  font-size: 18px;
  text-align: center;
  background: #f7f7f7;
}

.flow-list > li:before {
  display: table;
  content: '1';
  white-space: pre;
  margin: 0 auto 28px auto;
  padding: 0 30px 16px 120px;
  line-height: 1;
  text-align: left;
  color: #666666;
  font-family: serif;
  font-size: 60px;
  background: 30px 20px url(./../images/step_bg.png) no-repeat;
  border-bottom: solid 2px #7B7B7B;
}

.flow-list > li:nth-child(1):before { content: '1'; }
.flow-list > li:nth-child(2):before { content: '2'; }
.flow-list > li:nth-child(3):before { content: '3'; }
.flow-list > li:nth-child(4):before { content: '4'; }
.flow-list > li:nth-child(5):before { content: '5'; }
.flow-list > li:nth-child(6):before { content: '6'; }
.flow-list > li:nth-child(7):before { content: '7'; }
.flow-list > li:nth-child(8):before { content: '8'; }
.flow-list > li:nth-child(9):before { content: '9'; }
.flow-list > li:nth-child(10):before { content: '10'; }

.flow-list > li:after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  display: block;
  margin-left: -30px;
  width: 42px;
  height: 42px;
  vertical-align: middle;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.flow-list > li:last-child {
  margin-bottom: 0;
}

.flow-list > li:last-child:after {
  display: none;
}

.flow-list > li h6 {
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  color: #494949;
}

.case-list > li {
  margin-bottom: 60px;
}

.case-list > li:last-child {
  margin-bottom: 0;
}

.h-case {
  margin-bottom: 36px;
  text-align: center;
  font-weight: 400;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.h-case .no {
  display: table;
  margin-inline: auto;
  margin-bottom: 10px;
  padding-inline: 5px;
  color: #B49752;
  font-weight: 400;
  font-size: 24px;
  font-family: 'Times New Roman', serif;
  border-bottom: solid 1px #B49752;
}

.h-case .no span {
  font-size: 30px;
}

.h-case .title {
  font-size: 30px;
}

.case-ba {
  display: flex;
  column-gap: 100px;
  margin-bottom: 40px;
}

.case-ba > li {
  position: relative;
  flex-basis: calc(100% - 100px);
}

.case-ba > li:after {
  position: absolute;
  content: '';
  top: 50%;
  right: -50px;
  width: 20px;
  height: 42px;
  background: url(../images/icon_arrow_1.svg) no-repeat;
  background-size: contain;
  transform: translate(56%, -50%);
}

.case-ba > li:last-child:after {
  display: none;
}

.case-ba > li img {
  width: 100%;
}

.case-ba > li h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  text-align: center;
  color: #4B2908;
  font-weight: 400;
  font-size: 24px;
  font-family: 'Times New Roman', serif;
  background: #F2F2F2;
}

.case-ba > li h5:before,
.case-ba > li h5:after {
  content: '';
  display: block;
  flex-grow: 1;
  max-width: 8px;
  height: 2px;
  background: #002944;
}

.case-ba > li:last-child h5 {
  color: #fff;
  background: #FCA249;
}

.case-ba > li:last-child h5:before,
.case-ba > li:last-child h5:after {
  background: #fff;
}

.table-case {
  width: 100%;
}

.table-case th {
  padding: 10px 20px;
  text-align: center;
  color: #6D4504;
  vertical-align: middle;
  font-weight: 500;
  font-size: 18px;
  background: #FEDDBC;
  border: solid 1px #F5F4F2;
}

.table-case td {
  padding: 10px 20px;
  font-size: 18px;
  background: #fff;
  border: solid 1px #F5F4F2;
}

.grecaptcha-badge {
  visibility: hidden;
}