@charset "utf-8";
/*
Theme Name:serum child
Description:WordPressテーマ「serum」の自作子テーマです。
Author:mdu-ginza
Template:serum_tcd096
Version:2.1.3
*/

/*google map*/
.map-wrapper{
    display: inline-block;
    background: #ae8cb6;
  }
  
  .map-wrapper iframe{
    filter: grayscale(1);
    opacity: 0.9;
    vertical-align: bottom;
    transition: all 0.3s;
  }
  
  .map-wrapper iframe:hover{
    filter: none;
    opacity: 1;
  }


  footer #footer_logo img.logo_image {
    width: 10vw;
    height: auto;
}

h2.styled_h2.top_dental {
  margin-top: 7vh;
}

.video {
  text-align: center;
}

section#cb_content_3 {
  padding-top: 0;
}

section#cb_content_6 ,section#cb_content_2 ,section#cb_content_4 ,section#cb_content_8{
  padding-bottom: 3vh;
}

section#cb_content_10 {
  border: none;
  padding-bottom: 0;
}

section#cb_content_11 {
  padding-top: 5vh;
  border-bottom: 1px solid #ddd;
}

/*.cb_free_space {
  padding-top: 5vh;
}*/

/*section#cb_content_8,section#cb_content_6 {
  padding-top: 0;
}*/

section#cb_content_5,section#cb_content_7,section#cb_content_9 {
  background: #f4f1ef;
  padding-top: 0;
}

#cb_content_5 h3.headline.common_catch,#cb_content_7 h3.headline.common_catch,#cb_content_9 h3.headline.common_catch  {
    background: #f4f1ef;
}

section#cb_content_6,section#cb_content_7,#cb_content_7 h3.headline.common_catch {
  background: #F0F0F5;
}


.an2-fadeup {
  animation-name: fadeup;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-iteration-count: 1;
}
@keyframes fadeup {
from {
  opacity: 0;
  transform: translateY(100px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

/*Contact Form 7カスタマイズ*/
@media (max-width: 500px) {
  .inquiry th,
  .inquiry td {
    display: block !important;
    width: 100% !important;
    border-top: none !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
  }
  .inquiry tr:first-child th {
    border-top: 1px solid #d7d7d7 !important;
  }
  /* 必須・任意のサイズ調整 */
  .inquiry .haveto,
  .inquiry .any {
    font-size: 16px;
  }
  }
  /*見出し欄*/
  .inquiry th {
  text-align: left;
  font-size: 16px;
  color: #444;
  padding-right: 5px;
  width: 30%;
  background: #f7f7f7;
  border: solid 1px #d7d7d7;
  }
  /*通常欄*/
  .inquiry td {
  font-size: 18px;
  border: solid 1px #d7d7d7;
  line-height: 4;
  }
  /*横の行とテーブル全体*/
  .entry-content .inquiry tr,
  .entry-content table {
  border: solid 1px #d7d7d7;
  }
  table.inquiry{
  border-collapse: collapse;
  }
  select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.drop {
    color: #5d5d5d;
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
  
  /*必須の調整*/
  .haveto {
  font-size: 9px;
  padding: 5px;
  background: #ae8cb6;
  color: #fff;
  border-radius: 2px;
  margin-right: 1.5em;
  margin-left: 1.5em;
  position: relative;
  bottom: 1px;
  }
  /*任意の調整*/
  .any {
  font-size: 9px;
  padding: 5px;
  background: #787879;
  color: #fff;
  border-radius: 2px;
  margin-right: 1.5em;
  margin-left: 1.5em;
  position: relative;
  bottom: 1px;
  }
  
  /*同意*/
  /* スクロールバーの幅 */
  .scroll-box::-webkit-scrollbar { width: 10px; }
  
  /* スクロールバー背景色 */
  .scroll-box::-webkit-scrollbar-track { background: #f1f1f1; }
  
  /* スクロールバーのつまみの色 */
  .scroll-box::-webkit-scrollbar-thumb { border-radius: 6px; background: #c1c1c1; }
  
  /* 本文調整 */
  .bs {
  margin-bottom: 1.0em;
  }
  
   
  .inquiry .wpcf7-text,
  .inquiry .wpcf7-textarea {
  vertical-align: middle;
  width: 100%;
  }
  
  /*.drop {
  width: 100%;
  line-height: 5;
  padding: calc(var(--_space, 1.8rem)*.25) calc(var(--_space, 1.8rem)*.5);
  border-color: rgb(204, 204, 204);
  }
  select.wpcf7-form-control.wpcf7-select.drop {
  border-radius: 6px;
  }
   select.wpcf7-form-control.wpcf7-select.drop {
  font-size: 20px;
  }
  
  .number1 {
  width: 30%;
  }*/
  .accept {
  text-align: center;
  }
  
  thead {
  text-align: center;
  }
  
  table.inquiry {
  margin: 0 auto;
  }


.schedule td.col2,.col3,.col4,.col5,.col6,.col7,.col8 {
    font-size: 2.3em;
  }

.schedule table tr:nth-child(1) td {
  font-size: 1em;
}

/*レイアウト*/
body:not(.home) #page_contents .post_content {
  padding-top: 0;
}

body.treatment-template-default #page_contents .post_content{
  width: 100%;
}

body.page-template-default #page_contents .post_content{
  width: 100%;
}

.q_frame1 .q_frame_label {
  color: #ae8cb6;
  background: #f4f1ef;
}

/*@media screen and (max-width: 560px) {
  form.wpcf7-form.init {
    margin: 0;
}
}*/


img.alignnone.size-full.wp-image-1031,img.alignnone.size-full.wp-image-1029,.wp-image-2741 {
  transition: transform .6s ease;
}

img.alignnone.size-full.wp-image-1031:hover{
  opacity: 0.5;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
  transform: scale(1.1); 
}
img.alignnone.size-full.wp-image-1029:hover{
  opacity: 0.5;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
  transform: scale(1.1); 
}

img.wp-image-2741:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
  transform: scale(1.02); 
}

.info {
  line-height: 2.4;
}

h2.elementor-heading-title.elementor-size-default {
  margin-top: 6vh;
}

#site_desc h2 {
  font-weight: 100;
  font-size: 15px;
  font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}

@media only screen and (max-width: 800px) {
#page_contents .post_content {
    padding: 40px 0;
    margin: 0 0px;
}
}

@media only screen and (max-width: 1000px) {
#page_contents .post_content {
    padding: 0 0 100px;
    margin: 0 0px;
}
}

video {
  /*iPhone safariの枠線を消す*/
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
  /*PCのChromeの枠線を消す*/
  outline: none;
  border: none;
}

body .table_xguide .s_table{
  margin-bottom: 0;
}


#site_desc h2 {
  font-size: 16px;
  font-weight: 500;
  writing-mode: vertical-rl;
  display: inline-block;
  text-align: left;
  position: relative;
}