/* 子ども矯正
------------------------------------------*/


.hero {
  background-image: url('/_images/mrc2/img02.jpg');
  /* 背景画像を設定 */
  background-size: cover;
  /* 背景画像を画面サイズに合わせて拡大/縮小 */
  background-position: center;
  /* 背景を中央に配置 */
  height: 100vh;
  /* ビューポート全体の高さ */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-height: 800px;
}

.overlay {
  background: rgba(0, 0, 0, 0);
  /* 半透明のオーバーレイ */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-text {
  position: relative;
  max-width: 50%;
  max-width: 800px;
  /* テキスト画像の最大幅を調整 */
}

@media (max-width: 768px) {
  .centered-text {
    max-width: 90%;
    /* モバイルデバイスでテキスト画像の幅を全体に広げる */
  }

    .hero {
      background-image: url('/_images/mrc2/img02.jpg');
        background-size: contain;
        background-repeat: no-repeat;
          /* 背景画像を画面サイズに合わせて拡大/縮小 */
          background-position: top;
      height:280px;
      max-height: 800px;
    }
}





/*feature
---------------------------------------------------------*/
.feature .w1280 {
  padding-top: 60px;
}

.feature h2 {
  padding-bottom: 60px;
  background-image: url(../images/fukidashi2.svg);
  margin-bottom: .8em;
}

.feature h2 small {
  font-size: 60%;
  letter-spacing: .1em;
  line-height: 1.3em;
  margin-bottom: .8em;
}

.feature h2 span {
  font-size: 160%;
  line-height: 1.2em;
}

.feature li {
  width: 49%;
  max-width: 600px;
  float: left;
  padding-top: 14%;
  margin-bottom: 80px;
  position: relative;
  background: #fff;
}

.feature li:nth-child(even) {
  float: right;
}

.feature li .bg_img {
  position: relative;
  z-index: 0;
  margin: 0;
}

.feature li::before {
  content: "";
  /* 枠線とテクスチャ */
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border: solid 15px rgba(239, 139, 55, 0.2);
  background: url(../images/pattern1@2x.png) repeat center center;
  background-size: 86px 43px;
}

.feature li:nth-child(2)::before,
.feature li:nth-child(3)::before {
  border-color: rgba(238, 121, 170, 0.2);
  background: url(../images/pattern2@2x.png) repeat center center;
  background-size: 112px 25px;
}

.feature li .item {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.feature li .item h3 {
  padding-top: 10%;
  color: #e88037;
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1.4em;
}

.feature li:nth-child(2) .item h3,
.feature li:nth-child(3) .item h3 {
  color: #ee79aa;
}

.feature li .item h3 sup {
  color: #000;
  font-weight: normal;
  font-size: 60%;
  letter-spacing: normal;
  vertical-align: top;
  position: relative;
  top: -0.1em;
}

.feature li .item .caption {
  font-size: 80%;
  font-weight: normal;
  letter-spacing: .1em;
  line-height: 1.4em;
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 7%;
}

.feature li:nth-child(1) .item h3 {
  margin-bottom: 9%;
}

.feature li:nth-child(1) .item .abs_img {
  position: relative;
  z-index: 0;
}

.feature li:nth-child(2) .item .abs_img {
  position: absolute;
  width: 44%;
  max-width: 236px;
  right: -3%;
  top: 71%;
}

.feature li:nth-child(2) .item .caption {
  color: #fff;
}

.feature li:nth-child(3) .item .abs_img {
  position: absolute;
  width: 44%;
  max-width: 242px;
  right: 8%;
  bottom: -10px;
}

.feature li:nth-child(4) .item .abs_img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6%;
}

/* 4角の枠 */
.feature li .corner_top,
.feature li .corner_bottom {
  position: absolute;
  width: 100%;
  height: 60px;
  left: 0;
  z-index: 5;
}

.feature li .corner_top {
  top: 0;
}

.feature li .corner_bottom {
  bottom: 0;
}

.feature li .corner_top::before,
.feature li .corner_top::after,
.feature li .corner_bottom::before,
.feature li .corner_bottom::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 100%;
  top: 0;
  box-sizing: border-box;
}

.feature li .corner_top::before {
  left: 0;
  border-left: solid 15px #ef8b37;
  border-top: solid 15px #ef8b37;
}

.feature li .corner_top::after {
  right: 0;
  border-right: solid 15px #ef8b37;
  border-top: solid 15px #ef8b37;
}

.feature li .corner_bottom::before {
  left: 0;
  border-left: solid 15px #ef8b37;
  border-bottom: solid 15px #ef8b37;
}

.feature li .corner_bottom::after {
  right: 0;
  border-right: solid 15px #ef8b37;
  border-bottom: solid 15px #ef8b37;
}

.feature li:nth-child(2) .corner_top::before,
.feature li:nth-child(2) .corner_top::after,
.feature li:nth-child(2) .corner_bottom::before,
.feature li:nth-child(2) .corner_bottom::after,
.feature li:nth-child(3) .corner_top::before,
.feature li:nth-child(3) .corner_top::after,
.feature li:nth-child(3) .corner_bottom::before,
.feature li:nth-child(3) .corner_bottom::after {
  border-color: #ee79aa;
}

/* 1200px以下
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1200px) {
  .feature li .item h3 {
    font-size: 2.4vw;
  }
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .feature .w1280 {
    padding-top: 6%;
    padding-bottom: 6%;
  }

  .feature h2 span {
    font-size: 140%;
  }

  .feature li {
    margin-bottom: 2%;
  }

  .feature li::before {
    border-width: 8px;
  }

  .feature li .item h3 {
    padding-top: 7%;
    font-size: 2.8vw;
    letter-spacing: .05em;
    line-height: 1.4em;
  }

  .feature li:nth-child(1) .item h3 {
    margin-bottom: 4%;
  }

  .feature li:nth-child(2) .item .abs_img {
    top: 60%;
  }

  /* 4角の枠 */
  .feature li .corner_top::before,
  .feature li .corner_top::after,
  .feature li .corner_bottom::before,
  .feature li .corner_bottom::after {
    border-width: 8px;
  }
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
  .feature .w1280 {
    padding-top: 8%;
    padding-bottom: 14%;
  }

  .feature h2 {
    padding-bottom: 40px;
  }

  .feature li {
    width: 100%;
    float: none !important;
    margin: 0 auto 4%;
    padding: 0;
  }

  .feature li::before {
    border-width: 6px;
  }

  .feature li .item h3 {
    font-size: 130%;
    letter-spacing: .05em;
    line-height: 1.4em;
    padding: 0;
  }

  /* 背景画像が無いパターン */
  .feature li:nth-child(1) .item,
  .feature li:nth-child(4) .item {
    position: relative;
    padding-top: 1.5em;
  }

  .feature li:nth-child(1) .item h3 {
    margin-bottom: .8em;
  }

  .feature li:nth-child(4) .item h3 {
    margin-bottom: .8em;
  }

  .feature li:nth-child(1) .item .caption {
    position: relative;
    margin-top: 1.0em;
    padding-bottom: 1.5em;
  }

  .feature li:nth-child(1) .item .abs_img {
    position: relative;
    padding-bottom: 1.5em;
  }

  .feature li:nth-child(4) .item .abs_img {
    position: relative;
    margin-top: -2.0em;
    bottom: -2.0em;
  }

  /* 背景画像が有るパターン */
  .feature li:nth-child(2),
  .feature li:nth-child(3) {
    padding-top: 6em;
  }

  .feature li:nth-child(2) .item,
  .feature li:nth-child(3) .item {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .feature li:nth-child(2) .item h3,
  .feature li:nth-child(3) .item h3 {
    padding-top: 1.0em;
  }

  .feature li:nth-child(2) .item .abs_img {
    top: 60%;
  }

  .feature li:nth-child(2) .item .caption {
    color: #fff;
  }

  /* 4角の枠 */
  .feature li .corner_top,
  .feature li .corner_bottom {
    height: 30px;
  }

  .feature li .corner_top::before,
  .feature li .corner_top::after,
  .feature li .corner_bottom::before,
  .feature li .corner_bottom::after {
    width: 30px;
    border-width: 6px;
  }
}






























.dropdown:hover>.dropdown-menu {
  display: block;
}


.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #685d5b;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;

    font-size: 15px;
}


/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
}


.loading {
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #FFF;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}

.loading .circle {
  display: block;
  position: relative;
  top: calc( 50% - 20px );
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 7px solid #eee;
  border-top: 7px solid #CCC;
  border-radius: 50px;
  animation: loading 700ms linear 0ms infinite normal both;
}

@keyframes loading {
  0% { transform: rotate( 0deg ); }
  100% { transform: rotate( 360deg ); }
}







/*フォント指定*/

.mincho {
  font-family: 'Noto Serif JP', serif;
}

.kaku {
font-family: 'Noto Sans JP', sans-serif;
}

.lato {
  font-family: 'Lato', sans-serif;
}


/*モバイル、PC切り替え*/
.mobi-only {
  display: none !important;
}

.pc-only {
   display: block;
}

@media only screen and (max-width: 767px) {
.mobi-only {
      display: block !important;
}

.pc-only {
  display: none ;
}
}


/* PC
------------------------------------------*/
@media only screen and (min-width: 768px)  {
.tb_only{display:none !important;}
.sp_only{display:none !important;}
.sp_tb{display:none !important;}
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
.pc_only{display:none !important;}
.tb_only{display:inherit !important;}
.sp_only{display:none !important;}
.tb_pc{display:inherit !important;}
.sp_tb{display:inherit !important;}

/*body{background:#ccc;}*/
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {
.pc_only{display:none;}
.tb_only{display:none;}
.sp_only{display:inherit;}
.tb_pc{display:none;}
.sp_tb{display:inherit;}
}
































@media screen and (max-width: 576px){
  /* 480px以下に適用されるCSS（スマホ用） */
}



body {

     /*font-family: "Noto Sans", "Noto Sans CJK JP", "NotoSansCJKjp-Jxck", 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;

     font-family: 'Kiwi Maru', 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;*/

     font-family: 'M PLUS Rounded 1c', 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .15em;
    line-height: 2.2em;
    padding: 0;
    margin: 0;
    background: #F5F2E9;
    color: #4B443C;
    -webkit-text-size-adjust: 100%;
}

.body{
width:100%;
overflow-x: hidden !important;
}

p {

    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 20px;
}


.p-sm {
    color: #888;
    line-height: 1.9;
    font-size: 15px;
    margin: 0 0 20px;
}


.p-md {
    color: #888;
    line-height: 2;
    font-size: 16px;
    margin: 0 0 20px;
}

.p-lg {
    color: #888;
    line-height: 2;
    font-size: 18px;
    margin: 0 0 20px;
}





/*区切り*/

hr.hr_m {
    position: relative;
    overflow: visible;
    text-align: center;
    color: #ccc;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #ccc;
    margin: 40px 0;
}
@media screen and (max-width: 576px){
hr.hr_m {
    position: relative;
    overflow: visible;
    text-align: center;
    color: #ccc;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #ccc;
    margin: 20px 0;
}
}

.hr-step {
  position: relative;
  overflow: visible;
  text-align: center;
  color: #ccc;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #ccc;
  margin:30px 0;
}
.hr-step:after {
  position: absolute;
  top: -16px;
  left: 49%;
  display: inline-block;
  font-family: "dental";
  font-style: normal;
  font-weight: normal;
  speak: none;
  content: '\f13a';

  font-size: 24px;
  color: #ff9400;
}





.hr-white {
  border-top: 3px solid rgba(255,255,255,0);
  background: rgba(0, 0, 0, 0);
  margin: 32px 0;
}



@media screen and (max-width: 576px){

.hr-white {
  border-top: 3px solid rgba(255,255,255,0.9);
  background: rgba(0, 0, 0, 0);
  margin: 20px 0;
}

}


.hr-trans {
  border-top: 0px;
  background: rgba(0, 0, 0, 0);
  margin: 32px 0;
}



@media screen and (max-width: 576px){

.hr-trans {
  border-top: 0px;
  background: rgba(0, 0, 0, 0);
  margin: 20px 0;
}

}





/*背景*/


.heading-bg-r {
    font-family: "Arial",sans-serif;
    -webkit-text-fill-color: #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #111;
    white-space: nowrap;
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    opacity: .1;
    position: absolute;
    bottom: 0;
    right: -.3em;
    z-index: -1;
    text-align: right;
}


.heading-bg-l {
    font-family: "Arial",sans-serif;
    -webkit-text-fill-color: #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #111;
    white-space: nowrap;
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    opacity: .1;
    position: absolute;
    bottom: 0;
    left: -.3em;
    z-index: -1;

}

/*テキスト装飾*/
strong.marker {
 
    background:linear-gradient(transparent 60%, #DCF7FE 60%);
 
}



/*院長・スタッフ紹介*/


.dr_name dt,
.dr_name dd {
  font-weight: 200;
  display: inline-block;
  vertical-align: middle;
  font-size: 220%;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.2em;
  margin-bottom: 0px;
}
.dr_name dt {
  letter-spacing: .2em;
  line-height: 1.2em;
  margin-right: .5em;
  font-size: 110%;
  font-weight: bold;
}
.dr_name dd .ft_didact {
  margin-left: 1.0em;
  font-size: 45%;
  font-weight: normal;
  letter-spacing: .2em;
  line-height: 1.2em;
  color: #bbb;
}


@media screen and (max-width: 600px) {
.dr_name {
  text-align: center;
}
.dr_name dt,
.dr_name dd {
  
  font-size: 180%;
}
.dr_name dt {
  letter-spacing: .2em;
  line-height: 1.2em;
  margin-right: .5em;
  font-size: 90%;
}
.dr_name dd .ft_didact {
  margin-left: 1.0em;
  font-size: 45%;
  font-weight: normal;
  letter-spacing: .2em;
  line-height: 1.2em;
  color: #bbb;
}

}









/***ステップバーデザイン3***/
.step-wrap3 {
 counter-reset: count;
 margin: 2em 0;
 position: relative;
}
.step-content3 {
 padding: 1.3em 0 .3em 1em;
 margin: 0 0 1em 1em;
 position: relative;
 border-top: dotted 1px #ddd;
}
.step-content3::before {
 content: "";
 display: block;
 position: absolute;
 bottom: 5px;
 left: -10px;
 border-style: solid;
 border-width: 8px 8px 0 8px;
 border-color: #ddd transparent transparent transparent;
}
.step-content3::after {
 content: "";
 display: block;
 height: calc(100% - 36px);
 border-left: dashed 2px #ddd;
 position: absolute;
 top: 16px;
 left: -4px;
}
.step-label3 {
 padding: 3px 20px 3px 15px;
 color: #fff;
 font-weight: bold;
 position: absolute;
 top: -18px;
 left: -20px;
 background: #6ab5a5;
 border-radius: 20px;
 z-index: 1;
}
.step-label3::after {
 counter-increment: count;
 content: counter(count);
 position: relative;
 left: .3em;
}
.step-title3 {
 font-weight: bold;
 font-size: 20px;
 margin:10px 0;
}
.step-body3 {
 margin-top: .5em;
 padding: 0 0 2em;
}
.step-wrap3 > :last-child {
 /*box-shadow: 5px 7px 0 -5px #ddd;*/
}
.step-wrap3 > :last-child::before, .step-wrap3 > :last-of-type::after {
 display: none;
}
/***ステップバーデザイン3***/























/* Process */
.process {
  text-align: center;
}

.process .process-step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.process .process-step-circle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 90px;
  text-align: center;
  width: 90px;
  border: 2px solid #CCC;
  border-radius: 50%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  background-color: transparent;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.process .process-step-content {
  padding-top: 20px;
}

.process .process-step-circle-content {
  font-weight: bold;
  color: #212529;
  font-size: 1.6em;
  letter-spacing: -1px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.process .process-step:hover .process-step-circle {
  background-color: #CCC;
}

.process .process-step:hover .process-step-circle .process-step-circle-content {
  color: #FFF;
}

.process .process-step:hover .process-step-circle .process-step-circle-content .icons {
  color: #FFF !important;
}

@media (min-width: 992px) {
  .process .process-step:before {
    height: 2px;
    display: block;
    background-color: #EDEDED;
    position: absolute;
    content: '';
    width: 50%;
    top: 45px;
    left: 75%;
  }

  .process .process-step:last-child:before {
    display: none;
  }
}








.process-vertical {
  text-align: left;
}

.process-vertical .process-step {
  width: 100%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  position: relative;
  padding-bottom: 60px;
}

.process-vertical .process-step:before {
  display: none;
}

.process-vertical .process-step:after {
  width: 2px;
  display: block;
  background-color: #EDEDED;
  position: absolute;
  content: '';
  height: calc(100% - 80px);
  top: 70px;
  left: 30px;
}

.process-vertical .process-step:last-child:after {
  display: none;
}

.process-vertical .process-step-circle {
  height: 60px;
  width: 60px;
  margin: 0 15px 0 0;
  min-height: 60px;
  min-width: 60px;
}

.process-vertical .process-step-content {
  padding-top: 0;
}

.process-connecting-line {
  position: relative;
  text-align: left;
}

.process-connecting-line .connecting-line {
  content: '';
  position: absolute;
  top: 25px;
  left: 15px;
  right: 15px;
  height: 3px;
  background: #CCC;
}

.process-connecting-line .process-step {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-right: 48px;
  padding-right: 3rem;
  padding-left: 48px;
  padding-left: 3rem;
}

.process-connecting-line .process-step:before {
  content: none;
}

.process-connecting-line .process-step-circle {
  background: #FFF;
  width: 50px;
  height: 50px;
  border: 3px solid #CCC;
}
