@charset "utf-8";

/**************************************

スマホCSS

**************************************/
/**/
@media screen and (max-width: 768px){
/**/

/**************************************
共通
**************************************/
.sub-page{
    margin-top: 0;
}
#wrapper{
    width: 100%;
    flex-direction: column;
    margin-top: 80px;
    margin-bottom: 70px;
}
#content{
    width: 100%;
    margin-bottom: 30px;
}
.page_main {
    padding: 0px 7%;
    max-width: 100%;
}
.page_main p{
    margin-bottom: 20px;
    font-size: 14px;
}
.page_main h1{
    font-size: 20px;
    padding: 13px 0 13px 0;
    margin-bottom: 20px;
}
.page_main h2{
    margin-bottom: 20px;
    font-size: 17px;
    padding: 7px 13px;
}
.page_main h3{
    font-size: 15px;
}
.page_main h4, .page_main h5, .page_main h6{
    font-size: 14px;
}
.sub-page__title p{
    font-size: 23px;
    padding: 3em!important;
}
li{
    font-size: 14px;
}

/**************************************
フッター
**************************************/
footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_first {
    border-left: none !important;
    width: 100% !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_second {
    border-left: none !important;
    width: 100% !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_third {
    border-left: none !important;
    width: 100% !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_last {
    border-left: none !important;
    width: 100% !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_first ul {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_second ul {
    margin-top: 0 !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_third ul {
    margin-top: 0 !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_last ul {
    margin-top: 0 !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_first ul li {
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_second ul li {
    border-bottom: 2.5px dotted #888888;
    max-width: inherit !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_third ul li {
    border-bottom: 2.5px dotted #888888;
    max-width: inherit !important;
}

footer.global_footer .footer_wrapper .footer_nav .footer_menu .footer_menu_last ul li {
    border-bottom: 2.5px dotted #888888;
    max-width: inherit !important;
}

footer.global_footer .footer_wrapper .footer_site_link a img {
    width: 70% !important;
    margin: 0 auto;
}

footer.global_footer .footer_wrapper .footer_site_link {
    flex-direction: column!important;
    align-items: center!important;
}
footer.global_footer .footer_wrapper .footer_nav .footer_menu>div{
    padding: 0;
}
footer.global_footer .footer_copyright{
    padding-bottom: 75px!important;
    margin-top: 0!important;
}
footer.global_footer .footer_wrapper .footer_nav .footer_menu>div{
    padding: 0px!important;
}
footer.global_footer .footer_wrapper .footer_nav .footer_menu > div{
    margin: 10px 0 30px;
}

/* POPUP */
.footer-popup ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    border-top: solid 1px #e25896;
    align-items: center;
    background-color: white;
    table-layout: fixed;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
}
.f_group{
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.footer-popup ul li {
    display: table-cell;
    vertical-align: middle;
    padding: 3px 15px;
    border-right: solid 1px #f287b5;
}
.footer-popup ul li:first-child{
    width: 90%;
}
.footer-popup ul li:nth-child(2) {
    border-right: 0;
}
.footer-popup ul li img{
    width: 75%;
    margin: auto;
}

/*popuptel_wrap*/
label{
    display: block;
    text-align: center;
}
div#popuptel_wrap {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  height: 0;
}
input#sp-popup:checked + #popuptel_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  opacity: 1;
  transition: all 0.3s ease;
  height: 100vh;
  z-index: 99999999999999999999999999;
}
input#sp-popup:checked + #popuptel_wrap::before {
  background: #ffeff7;
  opacity: 0.85;
  content: '';
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: -10;
}
div#popuptel_wrap div.popuptel_inner {
  background-color: #fff;
  border-radius: 8px;
  display: block;
  margin-bottom: 15vw;
  width: 84vw;
  height: auto;  
  padding: 5vw 0;
  z-index: 0;
}
div#popuptel_wrap div.popuptel_inner > p{
  font-size: 4.7vw;
  line-height: 1.35em;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #684222;
}
div#popuptel_wrap div.popuptel_inner ul{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 3.5vw 5vw;
  background: #ffdfef;
  margin: 3.5vw 0 4vw;
}
div#popuptel_wrap div.popuptel_inner ul li{
  width: 45%;
  margin: 0 auto;
  border-radius: 1.5vw;
  padding-bottom: 3vw;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) {
  background: #ff7f98;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) {
  background: #164b86;
}
div#popuptel_wrap div.popuptel_inner ul li a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 3.75vw;
}
div#popuptel_wrap div.popuptel_inner ul li span{
  width: 9vw;
  background-color: #fff;
  height: 9vw;
  border-radius: 800px;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 3vw auto;
}
div#popuptel_wrap div.popuptel_inner ul li span i{
  margin: 0 auto;
  font-size: 4.2vw;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) span i {
  color: #ff7f98;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) span i {
  color: #164b86;
}
div#popuptel_wrap div.popuptel_inner ul li b{
  text-align: center;
  display: block;
  font-size: 4vw;
}
div#popuptel_wrap div.popuptel_inner label{
  background-color: #bb445b;
  width: 80%;
  border-radius: 5000px;
  text-align: center;
  display: block;
  padding: 1.25vw;
  position: relative;
  color: #fff;
  max-width: 280px;
  margin: 0vw auto 0;
}
div#popuptel_wrap div.popuptel_inner label::before{
    border-left: 2px solid ;
    border-top: 2px solid ;
    border-color: #fff;
    content: "";
    height: 6px;
    position: absolute;
    right: 15px;
    top: 45%;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    width: 6px;  
}

/*popuptel_wrap_line*/
label{
    display: block;
    text-align: center;
}
div#popuptel_wrap_line {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  height: 0;
}
input#sp-popup-line:checked + #popuptel_wrap_line{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  opacity: 1;
  transition: all 0.3s ease;
  height: 100vh;
  z-index: 99999999999999999999999999;
}
input#sp-popup-line:checked + #popuptel_wrap_line::before {
    background: #f5ffe8;
    opacity: 0.85;
    content: '';
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: -10;
}
div#popuptel_wrap_line div.popuptel_inner {
  background-color: #fff;
  border-radius: 8px;
  display: block;
  margin-bottom: 15vw;
  width: 84vw;
  height: auto;  
  padding: 5vw 0;
  z-index: 0;
}
div#popuptel_wrap_line div.popuptel_inner > p{
  font-size: 4.7vw;
  line-height: 1.35em;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #684222;
}
div#popuptel_wrap_line div.popuptel_inner ul{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 3.5vw 5vw;
  background: #ecffd5;
  margin: 3.5vw 0 4vw;
}
div#popuptel_wrap_line div.popuptel_inner ul li{
    width: 57%;
    margin: 0 auto;
    border-radius: 1.5vw;
    padding-bottom: 3vw;
}
div#popuptel_wrap_line div.popuptel_inner ul li:nth-child(1) {
    background: #79bf29;
}
div#popuptel_wrap_line div.popuptel_inner ul li:nth-child(2) {
  background: #164b86;
}
div#popuptel_wrap_line div.popuptel_inner ul li a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 3.75vw;
}
div#popuptel_wrap_line div.popuptel_inner ul li span{
  width: 9vw;
  background-color: #fff;
  height: 9vw;
  border-radius: 800px;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 3vw auto;
}
div#popuptel_wrap_line div.popuptel_inner ul li span i{
  margin: 0 auto;
  font-size: 4.2vw;
}
div#popuptel_wrap_line div.popuptel_inner ul li:nth-child(1) span i {
  color: #79bf29;
}
div#popuptel_wrap_line div.popuptel_inner ul li:nth-child(2) span i {
  color: #164b86;
}
div#popuptel_wrap_line div.popuptel_inner ul li b{
  text-align: center;
  display: block;
  font-size: 4vw;
}
div#popuptel_wrap_line div.popuptel_inner label{
    background-color: #0c6509;
    width: 80%;
    border-radius: 5000px;
    text-align: center;
    display: block;
    padding: 1.25vw;
    position: relative;
    color: #fff;
    max-width: 280px;
    margin: 0vw auto 0;
}
div#popuptel_wrap_line div.popuptel_inner label::before{
    border-left: 2px solid ;
    border-top: 2px solid ;
    border-color: #fff;
    content: "";
    height: 6px;
    position: absolute;
    right: 15px;
    top: 45%;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    width: 6px;
}

/**************************************
サイドバー
**************************************/
#sidebar{
    width: 90%;
    margin: 0 auto;
}
#sidebar #text-4 img{
    margin: auto;
}
#sidebar aside:last-child{
    margin-bottom: 0;
}

/**************************************
お知らせ一覧
**************************************/
#fs_block3397 span.category.notice {
    font-size: 10px;
}

/**************************************
テーブル
**************************************/
table th{
    width: 40%;
}

/**************************************
患者様の声　VOICE
**************************************/
.page_main .voice h2{
    font-size: 18px;
}
.voice img.img_ttl{
    height: 30vh;
}
.voice img.img {
    width: 90%;
    height: 26.5vh;
}

/**************************************
初めての方へ
**************************************/
.point li p.img{
    float: none;
    width: auto;
    height: 210px;
    max-width: 300px;
    margin: 0 auto 30px;
}
.point li p.img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
ul.flow {
    gap: 23px 0;
    justify-content: space-between;
}
ul.flow li{
    width: 47%;
}
ul.flow li p.ttl{
    font-size: 20px;
}

/**************************************
スタッフ紹介
**************************************/
.stuff_img{
    float: none;
    width: 100%;
}
.stuff_img img{
    width: 85%;
    margin: 0 auto;
}
.stuff_txt{
    float: none;
    width: 100%;
}

/**************************************
症例一覧
**************************************/
.case-block span.case-title{
    font-size: 20px;
}
.case-block li{
    width: 50%;
}
.case-block a{
    padding: 8%;
}

/**************************************
アクセス
**************************************/
iframe {
    width: 100%;
    height: 100%;
}
.indoor_view{
    height: 350px;
    width: auto;
}

/**************************************
症例LP
**************************************/
.case_main_visual_in {
    width: 100%;
}
.sub-page-lp{
    margin-top: 90px;
}
#wrapper-lp{
    width: 100%;
    margin: 40px auto 40px;
}
.worries_block span.hd_2{
    font-size: 20px;
}
.worries_block span.sub-hd{
    font-size: 15px;
    padding: 10px;
}
.worries_block img.img-r{
    float: none;
}
.lp-nayami img{
    max-width: 47%;
}
.lp-nayami ul{
    width: 100%;
}
.lp-nayami ul li{
    font-size: 15px;
    background-size: 21px;
    padding: 10px 15px 10px 33px;
}
#shorei .center-img {
    margin: 25px 0;
}

/**************************************
AI姿勢分析
**************************************/
/*ブレッドエリア*/
.bread_right {
    margin: 20px auto;
    width: 35%;
    float: none;
}

/*TOP-当院の施術がお役に立てないケースがあります*/
.other_hospitals{
    width: 95%;
    padding: 30px 15px 50px 17px;
    font-size: 15px;
}
.other_hospitals_txt {
    text-align: left;
    margin: 5px 0;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.attention_txt span{
    font-size: 21px;
}
.attention_txt{
    font-size: 18px;
    line-height: 1.5em;
    margin-top: 10px;
}

/*症例下層*/
div.symptom_nayami{
    width: 100%;
  overflow: hidden;
}

div.symptom_nayami .right {
    width: 100%;
    margin: 0 auto 3px !important;
}

#content p.onayami_ttl {
    margin-bottom: 3px;
}

div.symptom_nayami .right img {
    display: block;
    width: 50%;
    margin: auto;
}

div.symptom_nayami ul{
  float: left;
  width: 100%;
}
div.symptom_nayami ul li{
  background-image: url("../images/check-icon.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 25px;
  padding: 10px 0px 10px 37px;
  border-bottom: dotted 2px #c5bbbb;
  color: #562b0c;
  font-size: 13px;
}

/*終了*/
}
/*終了*/