@charset "utf-8";

/*====================================
    TinyMCEのみのcss(.rte)
====================================*/
.rte {
  line-height: 1.8;
  display: inline-table;
}
.rte:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.rte img {
  width: auto;
  height: auto;
  max-width: 100%;
}
.rte p {
  margin-bottom: 1em;
}
.rte p a {
  color: #1474da;
  text-decoration: underline;
}
.rte .justifyright {
  text-align: right;
}
.rte strong {
  font-weight: bold;
}
.rte ul, .rte ol {
  margin-bottom: 0.5em;
    margin-left: 20px;
}
.rte ul li, .rte ol li {
  margin-bottom: 0.5em;
}
.rte .l60 {
  width: 60%;
  float: left;
  margin-bottom: 1em;
}
.rte .r38 {
  width: 38%;
  float: right;
  margin-bottom: 1em;
}
.rte .r60 {
  width: 60%;
  float: right;
  margin-bottom: 1em;
}
.rte .l38 {
  width: 38%;
  float: left;
  margin-bottom: 1em;
}
.rte .lr-clear {
  clear: both;
}

.rte .sub-hx {
    color: #2e4106;
    font-size: 18px;
    font-weight: bold;
    background-color: #c1dc88;
    border-left: 4px solid #4ca713;
    padding: 6px 5px;
    margin-bottom: 10px;
    line-height: 1.4;
}


/*====================================
               初期設定
====================================*/
p.text {
  line-height: 1.4;
  margin-bottom: 1em;
}

.yellow-line {
    background: linear-gradient(transparent 50%, #fffdd8 0%);
}

.yellow-line span {
    color: #ff7e00;
}

/*----- float解除 -----*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-table;
}
/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/*----- 画像アニメーション -----*/
.puru {
  animation-duration: 1.4s;
  animation-name: purupuru;
  animation-iteration-count: infinite;
}
@keyframes purupuru {
  0%{ transform: skewX(9deg);}
  10%{ transform: skewX(-8deg);}
  20%{ transform: skewX(7deg);}
  30%{ transform: skewX(-6deg);}
  40%{ transform: skewX(5deg);}
  50%{ transform: skewX(-4deg);}
  60%{ transform: skewX(3deg);}
  70%{ transform: skewX(-2deg);}
  80%{ transform: skewX(1deg);}
  90%{ transform: skewX(0deg);}
  100%{ transform: skewX(0deg);}
}

/*----- 各デバイス 表示&非表示 -----*/
.sp { display: none;}
.pc { display: block;}

/*----- 見出し -----*/
.main-hx {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    background-color: #90b300;
    border-bottom: 3px solid #4d5f00;
    border-radius: 10px 10px 0 0;
    padding: 25px 3% 25px;
    margin-bottom: 45px;
}

.base-hx {
    background: #333333;
    color: #ffffff;
    border-radius: 10px;
    padding: 15px 24px 12px 2%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.sub-hx {
    color: #2e4106;
    font-size: 18px;
    font-weight: bold;
    background-color: #c1dc88;
    border-left: 4px solid #4ca713;
    padding: 6px 5px;
    margin-bottom: 10px;
    line-height: 1.4;
}


/*----- float -----*/
.lp { float: left;}
.rp { float: right;}
.cbp { clear: both;}

/*----- line-height -----*/
.lihe0 { line-height: 0;}

/*----- margin -----*/
.cn-mp { margin-bottom: 15px;}

.mb5p { margin-bottom: 5px;}
.mb10p { margin-bottom: 10px;}
.mb15p { margin-bottom: 15px;}
.mb20p { margin-bottom: 20px;}
.mb25p { margin-bottom: 25px;}
.mb30p { margin-bottom: 30px;}
.mb35p { margin-bottom: 35px;}
.mb40p { margin-bottom: 40px;}
.mb45p { margin-bottom: 45px;}
.mb50p { margin-bottom: 50px;}

/*----- padding -----*/

/*----- コンテンツ幅(%) -----*/
.w10 { width: 10%;}
.w12 { width: 12%;}
.w14 { width: 14%;}
.w15 { width: 15%;}
.w16 { width: 16%;}
.w18 { width: 18%;}
.w20 { width: 20%;}
.w22 { width: 22%;}
.w24 { width: 24%;}
.w25 { width: 25%;}
.w26 { width: 26%;}
.w28 { width: 28%;}
.w30 { width: 30%;}
.w32 { width: 32%;}
.w34 { width: 34%;}
.w35 { width: 35%;}
.w36 { width: 36%;}
.w38 { width: 38%;}
.w40 { width: 40%;}
.w42 { width: 42%;}
.w44 { width: 44%;}
.w45 { width: 45%;}
.w46 { width: 46%;}
.w48 { width: 48%;}
.w50 { width: 50%;}
.w52 { width: 52%;}
.w54 { width: 54%;}
.w55 { width: 55%;}
.w56 { width: 56%;}
.w58 { width: 58%;}
.w60 { width: 60%;}
.w62 { width: 62%;}
.w64 { width: 64%;}
.w65 { width: 65%;}
.w66 { width: 66%;}
.w68 { width: 68%;}
.w70 { width: 70%;}
.w72 { width: 72%;}
.w74 { width: 74%;}
.w75 { width: 75%;}
.w76 { width: 76%;}
.w78 { width: 78%;}
.w80 { width: 80%;}
.w82 { width: 82%;}
.w84 { width: 84%;}
.w85 { width: 85%;}
.w86 { width: 86%;}
.w88 { width: 88%;}
.w90 { width: 90%;}
.w92 { width: 92%;}
.w94 { width: 94%;}
.w95 { width: 95%;}
.w96 { width: 96%;}
.w98 { width: 98%;}
.w100 { width: 100%;}

img {
  width: 100%;
  height: auto;
}

/*----- 文字リンク設定 -----*/
a {/*リンクされた文字*/
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: #383838;
  font-style: normal;
  text-decoration: none;
}
a:link {/*未訪問のリンク*/
  color: #383838;
  font-style: normal;
  text-decoration: none;
}
a:visited {/*訪問後のリンク*/
  color: #383838;
  text-decoration: none;
}
a:hover {/*マウスをのせたとき*/
  color: #383838;
  font-style: normal;
  text-decoration: underline;
}
a:active {/*クリック中*/
  text-decoration: none;
}

/*----- リンク設定 -----*/
.fade:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  transition: 0.5s;
}

/*----- ページネーション-----*/
nav.pagination {
      margin: 15px 2%;
}

nav.pagination h2 {
      display: none;
}

nav.pagination .nav-links {
}

nav.pagination .nav-links .prev {
}

nav.pagination .nav-links .next {
}

nav.pagination .nav-links .page-numbers {
      display: inline-block;
     background-color: #ffb100;
    border: 1px solid #f59b0e;
    border-radius: 5px;
    padding: 5px 7px;
    color: #ffffff;
     text-decoration: none;
}

nav.pagination .nav-links .dots {
     background: none;
    border: none;
    border-radius: 0;
    padding: 5px 7px;
     color: #b54806;
}

nav.pagination .nav-links .current {
      background-color: #ff7600;
}

nav.pagination .nav-links a.page-numbers:hover {
     background-color: #ff8d00;
}

/*----- 動画サイズ調整 -----*/
.movie-bg {
    background-color: #8fdbfc;
    border-radius: 10px;
    padding: 3%;
}

.movie-box {
    position: relative;
    padding-bottom: 52%;
}

.movie-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*====================================
            共通コンテンツ
====================================*/
/*----- tap-bnr -----*/
.tap-bnr {
  margin: 20px 0 20px;
}

/*----- main-bnr -----*/
.main-bnr ul li {
  margin-bottom: 15px;
}

.main-bnr .text {
    font-weight: bold;
}

.main-bnr .text span {
    color: #77ad0a;
    text-decoration: underline;
}

/*================================
   フォーム
================================*/
.form-box {
}
.form-box table p {
    line-height: 1.4;
    margin-bottom: 1em;
}

.form-box table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.form-box table th {
    border-top: solid 1px #ddd;
    padding: 10px 2%;
    font-size: 15px;
    text-align: left;
    font-weight: bold;
}

.form-box table td {
    padding: 0 20px 20px;
    border-bottom: solid 1px #ddd;
}

.form-box table td.txt input {
    width: 100%;
    border: none;
    background: #eee;
    font-size: 14px;
    padding: 20px;
    margin: 10px 0;
}

.form-box table td.txt input[type="radio"],.form-box table td.txt input[type="checkbox"] {
    width: auto;
    margin: 0;
}
.txt .wpcf7-list-item label{
    margin-bottom: 10px;
    display: inline-block;
}

.form-box table td input.text40 {
    width: 45%;
}

.form-box table td select {
    border: 1px solid #adadad;
    margin: 10px 0;
}

.form-box table td textarea {
    width: 100% !important;
    height: 200px !important;
    border: none !important;
    background: #eee !important;
    font-size: 14px !important;
    padding: 20px !important;
    margin: 10px 0;
}
.form-box .hx {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 10px;
}
.form-box dl {
    background-color: #fbc27a;
    border: 1px solid #ff8d2c;
    line-height: 1.4;
    border-bottom: none;
}
.form-box dl.last {
    border-bottom: 1px solid #ff8d2c;
    margin-bottom: 15px;
}
.form-box dl dt {
    width: 30%;
    float: left;
    padding: 10px 2%;
}
.form-box dl dd {
    width: 70%;
    float: left;
    background-color: #ffffff;
    padding: 10px 2%;
}
.form-box dl dd input,.form-box dl dd textarea {
    width: 100%;
}

.form-box dl dd.radio input {
    width: 20px;
}

.form-box .btn {
    text-align: center;
    margin-bottom: 25px;
}

.form-box .btn input {
    background-color: #ffc905;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.form-box input, .form-box textarea, .form-box select {
    border: 1px solid #CDCDCD;
}

.form-box .privacy-box {
    border: 1px solid #aaa;
    padding: 15px 2%;
    font-size: 14px;
    height: 200px;
    overflow-y: scroll;
    margin-bottom: 15px;
}

.form-box .privacy-box h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}

.form-box .pp-box {
    width: 100%;
    overflow-y: scroll;
    height: 350px;
    margin-bottom: 25px;
    padding: 15px 3%;
    border: 1px solid #aaa;
    line-height: 1.4;
    background-color: #effcff;
}
.form-box .pp-box p {
    margin-bottom: 1em;
    font-size: 14px;
}

/*--------------------------
    #flow 治療の流れ
--------------------------*/
#flow {
}

#flow  ol {
}

#flow ol li {
  width: 32%;
  float: left;
  margin: 0 0 15px 1%;
}

/*--------------------------
  #guide ページ下部の院案内
--------------------------*/
#guide {
}

#guide .guide-box {
    background-color: #f6f8ec;
    padding: 3% 5%;
    border-radius: 10px;
    margin-bottom: 15px;
}

#guide .guide-box .guide-info {
}

#guide .guide-box .guide-info dl {
    width: 49%;
    float: left;
    margin: 0 1% 10px 0;
}

#guide .guide-box .guide-info dl.n2 {
    float: right;
}

#guide .guide-box .guide-info dl dt {
    width: 80px;
    float: left;
    text-align: center;
    color: #333333;
    line-height: 1.4;
    font-weight: bold;
}

#guide .guide-box .guide-info dl dd {
    width: calc(98% - 80px);
    float: right;
    font-size: 14px;
    color: #333333;
    line-height: 1.4;
}
#guide .guide-box .guide-time {
  padding: 1rem;
  background: #fff;
}
#guide .gmap {
    width: 100%;
}

#guide .gmap iframe {
    border: 1px solid #cacaca !important;
    width: 100%;
    height: 450px;
    margin-bottom: 20px;
}

#guide .guide-box .guide-contact-area a.fade img.guide-logo {
  width: 350px;
    max-width: 100%;
    height: auto;
    margin-bottom: 8px; /* ロゴと電話番号画像の間のマージン */
}

#guide .guide-box .guide-contact-area a.fade img.guide-tel {
  width: 500px;
    max-width: 100%;
    height: auto;
}

#guide .guide-box .emergency-tel {
    text-align: center;
    margin: 30px 0;
}

#guide .guide-box .emergency-tel a {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333; /* シンプルな下線デザイン */
    padding-bottom: 2px;
}
@media(min-width:600px){
  #guide .guide-box .emergency-tel a {
    font-size: 22px;
  }
}
@media(min-width:768px){
  #guide .guide-box .emergency-tel a {
    font-size: 26px;
  }
}
/*--------------------------
    #voice 患者様の声
--------------------------*/
#voice {
}

#voice .voice-list .voice-box {
  width: 100%;
  margin: 0 auto 25px;
}

#voice .voice-box .box {
    border-top: 1px solid #5e4639;
    border-bottom: 1px solid #5e4639;
    background-color: #fffbe4;
    margin-bottom: 10px;
    padding-bottom: 15px;
}
#voice .voice-box .box .hx {
    width: 100%;
    color: #73390c;
    background-color: #ffdb6d;
    padding: 10px 3%;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
}

#voice .voice-box .box .img {
  width: 22%;
  float: left;
  margin-bottom: 15px;
  position: relative;
    margin-left: 3%;
}

#voice .voice-box .box .img img.icon-voice {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
}

#voice .voice-box .box .text {
  width: 67%;
  float: right;
  line-height: 1.4;
  margin-bottom: 25px;
  font-size: 14px;
    margin-right: 3%;
}

#voice .voice-box .box strong {
  font-weight: bold;
}

#voice .voice-box .box .etc {
  clear: both;
  font-size: 13px;
  color: #555656;
  line-height: 1.2;
}

/*--------------------------
    .otameshi お試しキャンペーン
--------------------------*/
.otameshi {
    margin-bottom: 25px;
}
.otameshi h2 {
    margin-bottom: 10px;
}
.otameshi .day {
    text-align: center;
    line-height: 1.4;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
}
.otameshi .day span {
    font-size: 24px;
    color: #6f8902;
}
.otameshi .course {
    text-align: center;
    line-height: 1.4;
    margin-bottom: 5px;
    font-size: 18px;
}
.otameshi .course span {
    font-size: 24px;
    font-weight: bold;
}
.otameshi .price {
    text-align: center;
    line-height: 1.2;
    margin-bottom: 5px;
    font-size: 36px;
    font-weight: bold;
    color: #e64593;
}
.otameshi .price span {
    font-size: 18px;
    font-weight: normal;
    color: #333333;
}
.otameshi .sentyaku {
    text-align: center;
    line-height: 1.4;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
}
.otameshi .sentyaku span {
    font-size: 22px;
    color: #6f8902;
}

/*===============================================
    ■tablet 画面の横幅が768pxまで
===============================================*/
@media screen and (max-width: 768px) {
  .sp { display: block;}
  .pc { display: none;}
/*--------------- #guide -------------*/
  #guide .in-box h3 span {
    background: none;
  }
/*--------------フォーム-----------------*/
  .form-box dl dt, .form-box dl dd {
    width: 100%;
    float: none;
  }
}

/*===============================================
    ■smart 画面の横幅が480pxまで
===============================================*/
@media screen and (max-width: 480px) {
/*--------------- リッチテキストエディタ内(.rte ) -------------*/
  .rte .l60, .rte .r38, .rte .l38, .rte .r60 {
    width: 100%;
    float: none;
  }
  .rte .r38, .rte .l38 {
    text-align: center;
  }
/*--------------- #flow 施術の流れ -------------*/
  #flow ol li {
    width: 47%;
    float: left;
    margin: 0 0 25px 2%;
  }
/*--------------- #guide -------------*/
  #guide .guide-box .box .time {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }
  #guide .guide-box .guide-info {
    width: 100%;
    float: none;
  }
  #guide .guide-box .guide-info dl {
    width: 100%;
    float: none;
    margin: 0 1% 10px 0;
  }
  #guide .guide-box .guide-info dl.n2 {
    float: none;
  }
  #guide .guide-box .guide-info dl dt {
    width: 100%;
    float: none;
    text-align: left;
    margin-bottom: 3px;
  }
  #guide .guide-box .guide-info dl dd {
    width: 100%;
    float: none;
  }
/*--------------- #voice 患者様の声 -------------*/
  #voice .voice-box .box .hx {
    width: 100%;
    float: none;
  }
  #voice .voice-box .box .img {
    width: 80%;
    float: none;
    margin: 0 auto 15px;
  }
  #voice .voice-box .box .text {
    width: 96%;
    float: none;
    margin: 0 auto 15px;
  }
  #voice .voice-box .box .etc {
    width: 96%;
    margin: 0 auto;
  }
}