﻿@charset "utf-8";
/* ================================================================= 
License : e-TRUST Inc.
File name : style.css
Style : style
================================================================= */

#contents_wrap {
  width: 1200px !important;
  max-width: 100%;
  min-width: 100%;
  margin: 0 auto;
  padding: 0 20px 60px;
}
#footer div {
  color: #58d3f7;
}
.clinics_bg .btn {
  background: #58d3f7;
  color: #fff !important;
  width: 250px;
  margin: 0 auto;
  max-width: 100%;
  display: block;
  text-align: center;
  padding: 15px;
  position: relative;
}
.nav_footer a {
  display: block;
  color: #58d3f7 !important;
}
#copyright {
  background: #58d3f7;
  color: #fff;
}
.c_message a {
  width: 400px;
  max-width: 100%;
  padding: 20px 0;
  background: #58d3f7;
  display: block;
  color: #fff !important;
  position: relative;
}
.tab_ttl td {
  background: #81f7f3;
  width: 49.5%;
  font-size: 1.2em;
  padding: 10px !important;
  display: block;
}
.a {
  color: #62a1d9 !important;
  text-decoration: none;
}
.com_tbl .col {
  text-align: center !important;
  background: #e2faff !important;
}
.contact_bg article {
  max-width: 100%;
  width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #b3effc;
}
.contact_bg .btn {
  background: #58d3f7;
  color: #fff !important;
  display: block;
  text-align: center;
  padding: 15px;
  margin: 0 auto;
  position: relative;
}
.h_h203 h2 {
  font-size: 2.8em;
  letter-spacing: 5px;
  color: #58d3f7;
  position: relative;
  margin-bottom: 80px;
  text-shadow: 2px 8px 6px rgba(0, 0, 0, 0.2), 0px -5px 16px rgba(255, 255, 255, 0.3);
}
.h_h2 h2 b {
  font-size: 0.3em;
  color: #4bc1e3;
  padding-left: 15px;
}

.zdo_drawer_menu {
  background-color: #62a1d9;
}
.zdo_drawer_button {
  background-color: #62a1d9;
}
.zdo_drawer_bar {
  background-color: #62a1d9;
}
.zdo_drawer_menu .zdo_drawer_button {
  color: #62a1d9;
}
.form_wrap dt {
  background-color: #d1f4ff !important;
}
a {
  text-decoration: none;
}

a:link,
a:visited {
  color: #62a1d9;
}

.con_tbl .col {
  text-align: center !important;
  background: #eefdff;
}
.item_tbl {
  padding: 10px;
  background: #7cc6dc;
  border: 1px solid #fff;
  margin-bottom: 80px;
}
.item_tbl02 {
  padding: 10px;
  background: #37a2c2;
  border: 1px solid #fafafa;
  margin-bottom: 80px;
}
.item_tbl03 {
  padding: 10px;
  background: #a4b9bf;
  border: 1px solid #fff;
  margin-bottom: 80px;
}
.fix_tel {
  background: #bff0ff;
  position: fixed;
  top: 70%;
  right: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  z-index: 99;
  border-radius: 10px 0 0 10px;
  width: 60px;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.fix_tel a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 25px;
  text-align: center;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #fff !important;
}
.fix_tel_i:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  content: "\f879";
  font-family: "Font Awesome 5 Pro";
  font-weight: 600;
  margin: auto;
}

.zdo_drawer_menu .zdo_drawer_nav_wrapper {
  overflow: auto;
}

.contact_bg .btn:after {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  bottom: initial;
  background: none;
  width: auto;
  height: auto;
}

.btn2 {
  background: #4db56a !important;
  color: #fff !important;
  display: block;
  text-align: center;
  padding: 15px;
  margin: 0 auto;
  position: relative;
}

.btn2:after {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.line {
  background: #4db56a !important;
  color: #fff !important;
  display: block;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.baimg {
  display: flex!important;
  gap: 20px;
  justify-content: center;
}

.baimg > .box {
  display: flex;
  max-width: 450px;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.baimg > .box::before {
  content: "";
  display: block;
  width: 100px;
  height: 40px;
  margin-bottom: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 1番目のboxには「Before」ラベル画像 */
.baimg > .box:nth-child(1)::before {
  background-image: url('https://teethful.com/images/images02/beforeafter/before.png');
}

/* 2番目のboxには「After」ラベル画像 */
.baimg > .box:nth-child(2)::before {
  background-image: url('https://teethful.com/images/images02/beforeafter/after.png');
}


.baimg .fadein {
    display: flex !important;
}

@media screen and (max-width: 800px) {
  .nav_footer li {
    border-radius: 5px;
    padding: 10px;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
    border: 4px double #b3effc;
    border-radius: 3px;
  }
  .zdo_drawer_menu .zdo_drawer_button .zdo_drawer_bar {
    background-color: #62a1d9 !important;
  }
  .zdo_drawer_menu .zdo_drawer_button {
    color: #62a1d9 !important;
  }
  .top_img {
    height: 30vh !important;
  }
}

@media screen and (max-width: 640px) {
  .tab_ttl td {
    width: 100%;
    margin-bottom: 20px !important;
  }
  .top_img {
    height: 20vh !important;
  }
  .ba_txt .image img {
    height: 180px !important;
  }
}
