html a {
  display: inline-block;
}

.small_txt {
  font-size: 10px;
}

.medium_txt {
  font-size: 12px;
}

strong {
  border-bottom: 2px solid #3381c5;
  font-size: 105%;
  font-weight: 700;
}

a.google-btn {
  background-color: #0058a7;
  color: #fff;
  display: table;
  padding: 10px 100px;
  position: relative;
  text-align: center;
  vertical-align: bottom;
}

a.google-btn:after {
  border-color: transparent #3482c5 #3482c5 transparent;
  border-style: solid;
  border-width: 0.7vw 6vw;
  bottom: 0;
  content: "";
  height: 0;
  position: absolute;
  right: 0;
  width: 0;
}

.faq-block {
  margin: 15px 0 20px;
}

.faq-block input:checked + label + .dsp {
  height: auto;
  opacity: 1;
  padding: 20px 0 0;
  transition: 0.9s;
}

.check001 ul {
  margin-bottom: 20px;
  padding: 0;
}

.check001 ul li {
  background: #f1f8ff;
  border-left: 42px solid #0058a7;
  color: #000;
  font-size: 1.9rem;
  line-height: 1.5;
  list-style-type: none !important;
  margin-bottom: 4px;
  padding: 0.5em;
  position: relative;
}

.check001 ul li:before {
  color: #fff;
  content: "";
  background: url(../img/icn_check.png) no-repeat;
  background-size: contain;
  display: block;
  left: -41px;
  padding: 0.6em;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.sub .block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.sub .block .txt {
  flex-grow: 1;
  width: 50%;
}

.sub .block > :first-of-type {
  margin-right: 40px;
}

.add-left {
  width: 60%;
}

.sub .block .txt > :first-of-type {
  margin-top: 0;
}

.sub .block .txt p {
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: justify;
}

.sub table th {
  background: #0058a7;
  color: #fff;
}

.sub table td,
.sub table th {
  border: 2px solid #0058a7;
  padding: 10px;
  vertical-align: middle;
}

.sub table.price tr:nth-child(odd) {
  background: #fbfbfb;
}

.sub table.price tr th {
  width: 25%;
}

.sub table.price tr th:first-child,
.sub table.price tr td:first-child {
  width: 15%;
}

.sub table.price td.tit {
  background: #eaeef8;
  border: 2px solid #0058a7;
  color: #0058a7;
  font-weight: 800;
  line-height: 2;
  vertical-align: middle;
}

.sub table td,
.sub table th {
  border: 2px solid #0058a7;
  padding: 10px;
  vertical-align: middle;
  text-align: center;
}

span.violet {
  color: violet;
  font-weight: 700;
}

h3 {
  margin: 30px 0 20px;
}

.hagare {
  background: #dfefff;
  border: 2px dashed #fff;
  box-shadow: 0 0 0 5px #dfefff;
  color: #454545;
  padding: 0.2em 0.5em;
  position: relative;
  color: #0058a7;
}

.hagare:after {
  border-color: #fff #fff #a8d4ff;
  border-style: solid;
  border-width: 0 0 15px 15px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  content: "";
  left: -7px;
  position: absolute;
  top: -7px;
}

.icoi .btn_detail_b {
  text-align: center;
  width: 100%;
}

.icoi p:nth-child(5) {
  letter-spacing: 0 !important;
  margin-top: 2rem;
}

.advisor p {
  letter-spacing: 0;
}

.p_treat {
  margin-bottom: 20px;
}

.digital_implant {
  margin-top: 60px;
}

.digital_implant .block:first-child {
  margin-bottom: 0;
}

.used_implant {
  margin-bottom: 0;
}

.scroll_content h4 {
  color: #0058a7;
  font-size: 18px;
  font-weight: 700;
  min-height: 60px;
}

.scroll_content p {
  margin: 20px 0 0;
}

.cost_tbl td {
  text-align: right;
}

.cost_tbl td:first-child {
  text-align: center;
}

.cost_tbl_ttl {
  font-size: 22px;
  font-size: 2.2rem;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  color: #0058a7;
  margin-bottom: 20px;
  text-align: center;
}

.cost_tbl td span {
  font-size: 13px;
  font-size: 1.3rem;
}

.ctbl_note {
  margin: 0;
}

.price001 tr td.last {
  line-height: 2;
}

.pymt_txt h4 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  color: #000;
}

.simulation_txt h4 {
  font-weight: 700;
  font-size: 18px;
  margin: 40px 0 20px;
  color: #000;
}

.all_cost,
.guident {
  margin-top: 0 !important;
}


.switchdsp input {
  display: none;
}

.switchdsp .dsp {
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transition: 0.9s;
}

.sub .block .txt table {
  width: auto;
}

.switchdsp .dsp table {
  border-top: 2px solid #0058a7;
}

.switchdsp .dsp table tr td {
  text-align: left;
}

.flex_wrap_sp {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.flex_wrap_text {
  width: 62%;
}

.flex_wrap_img {
  width: 36%;
}

.border_bottom {
  border-bottom: 1px solid;
}

p {
  letter-spacing: 0.2em;
  line-height: 1.9em;
  margin: 0 0 20px;
}

.btn_detail_b {
  background-color: #0058a7;
  color: #fff;
  margin: 0 auto !important;
  padding: 10px 100px;
  width: 70%;
}

.btn_detail_b {
  position: relative;
  text-align: center;
}

.btn_detail_b:after {
  border-color: transparent #3482c5 #3482c5 transparent;
  border-style: solid;
  border-width: 0.8vw 10vw;
  bottom: 0;
  content: "";
  height: 0;
  position: absolute;
  right: 0;
  width: 0;
}

.scroll_content {
  display: flex;
  overflow-x: auto;
}

.scroll_content li {
  flex-shrink: 0;
  list-style: none;
  margin: 3px;
  padding: 8px;
  width: 90%;
}

.scroll_content img {
  max-height: 200px;
  object-fit: cover;
  width: 100%;
}
.content img {
  max-width: 100%;
}

.sub h3.bottom-border,
.sub h4.bottom-border {
  border-bottom: 1px solid;
  margin-top: 50px;
  padding-bottom: 4px;
}

html a[target="_blank"]:not(.none):after {
  content: none;
}

.sub table.price {
  margin-bottom: 1rem;
  width: 100%;
}

.sub table.price001 {
  margin-bottom: 40px;
  width: 100%;
}

.sub table.tbl-r07 {
  width: 100%;
}

.content.sub .side-img {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 1rem;
}

.content.sub .side-img .img {
  width: 49%;
}

.content.sub .side-img h4 {
  background: #0058a7;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  padding: 0.5rem;
  text-align: center;
}

a.l_more {
  display: block;
  width: 700px;
  margin: 0 auto;
}

.scroll_content::-webkit-scrollbar {
  height: 10px;
}

.scroll_content::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 6px;
}

.scroll_content::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 6px;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: inherit !important;
  }

  .sub img {
    width: 100%;
  }

  a.l_more {
    width: 100%;
  }

  .btn_detail_b {
    width: 94%;
    padding: 10px 0;
  }

  .btn_detail_b:before {
    top: 44px;
    left: 30px;
    width: 20px;
    height: 20px;
  }

  .flex_box {
    display: block;
  }

  .sub table {
    width: 100%;
  }

  .sub table td,
  .sub table th {
    display: block;
    vertical-align: top;
    padding: 10px 5px;
    border: 2px solid #0058a7;
    font-size: 13px;
    font-size: 1.3rem;
    word-break: break-all;
  }

  .sub .img_left,
  .sub .img_right {
    float: none;
    width: 100%;
    margin: 10px 0;
  }

  .sub table.price {
    margin-bottom: 20px;
  }

  .sub table.price td,
  .sub table.price th {
    display: table-cell;
    vertical-align: middle;
  }

  .sub table.price th {
    vertical-align: middle;
  }

  .sub table.price tr td:first-child {
    width: 25%;
  }

  .sub table td {
    border-top: none;
  }

  .scroll-table {
    overflow: auto;
    white-space: nowrap;
  }

  .sub table.price001 td,
  .sub table.price001 th {
    display: table-cell;
  }

  .sub table.price001 th {
    vertical-align: middle;
  }

  .small {
    margin-bottom: 10px;
  }

  .banner {
    width: 100%;
    padding: 0;
  }

  .sub .block {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .sub .block > * {
    flex-basis: 100%;
  }

  .sub .block > :first-of-type {
    margin-right: 0;
  }

  .sub .block .photo {
    order: 1;
    margin-bottom: 20px;
  }

  .sub .block .txt {
    order: 1;
  }

  .sub .block .photo img {
    width: 100%;
  }

  .sub .block.sp_flex > * {
    flex-basis: 45%;
  }

  .sub .block.sp_flex .txt {
    padding-left: 15px;
  }

  .sub .btn_detail_b {
    text-align: center;
    padding: 9px;
  }

  .check001 ul li {
    font-size: 14px;
    border-left: 35px solid #0058a7;
  }

  .check001 ul.inline-block li {
    width: 49%;
    font-size: 3.1vw;
    border-left-width: 20px;
    letter-spacing: 0;
  }

  .check001 ul.inline-block li:before {
    left: -17px;
    padding: 0;
  }

  .flex_img p {
    margin: 0 50px 25px;
  }

  .flex_img img {
    width: 70%;
    display: block;
    margin: 0 auto;
  }

  .flex_img,
  .flex_wrap {
    display: block;
  }

  .flex_wrap_img,
  .flex_wrap_text {
    width: 100%;
  }

  .btn_detail_b :before {
    left: 1px;
    top: 8px;
    width: 35px;
    height: 35px;
  }

  .tbl-r07 {
    white-space: nowrap;
    overflow-x: scroll;
    display: block;
  }

  .tbl-r07 td,
  .tbl-r07 th {
    display: table-cell !important;
    vertical-align: middle !important;
  }

  a.google-btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 0;
  }

  .flex_wrap_sp {
    align-items: flex-start;
    display: block;
  }

  .pymt-text h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .check001 ul li:before {
    left: -30px;
    width: 10px;
    height: 10px;
    padding: 0.5em;
  }

  html .sub a {
    width: 100%;
  }

  html body.all-on-4 .sect_ttl:first-child {
    padding: 50px 20px !important;
  }

  html body.all-on-4 .sect_ttl {
    padding: 5px 25px !important;
  }

  .scroll_content h4 {
    font-size: 15px;
    min-height: 50px;
  }

  .sub .block .txt p.txt_left {
    text-align: left;
  }
}

@media screen and (min-width: 450px) {
  .scroll_content li {
    width: 45%;
  }
}
@media screen and (min-width: 450px) {
  .scroll_content li {
    width: 45%;
  }
}

html .bnr {
  margin: 80px auto 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  html .bnr {
    margin: 40px auto 0;
  }

  html .bnr .bnr-inner {
    width: 100%;
    padding: 0 25px 25px;
    box-sizing: border-box;
  }

  .cost_tbl_ttl {
    font-size: 1.55rem;
  }

  .cost_tbl {
    display: block;
  }

  strong.line-ttl {
    font-size: 1.2rem;
  }

  .highlight {
    white-space: nowrap;
  }
}