

/*////////////////////////////
下層ページ専用CSS　他のページ干渉しないように　頭に　#sub_pageを入れてCSS指定してください
*/

/*////////////////////////////////////////////////////////////////////////////////////
PC
*/
body {
  font-size: 15px;
  font-weight: 400;
}

#sub_page {
  position: relative;
  margin: 15em 0 0 0;
}
#sub_page .sub_page_hd {
	position: relative;
}
#sub_page .sub_page_hd::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    height: 99.51%;
	background-image: linear-gradient(to right, rgba(3, 74, 59, 0.4),rgba(93, 164, 59, 0.7));

}
#sub_page .sub_page_hd img {
    width: 100%;
    height: 25vw;
    object-fit: cover;
    object-position: center;
}
#sub_page .l-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

#sub_page .ttl{
    color: #fff;
    position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
z-index: 99;
}

#sub_page h2 {
    position: relative;
    font-size: 24px;
    padding: 20px 0;
    text-align: center;
    margin: 0em 0 1em 0;
  }

  #sub_page h2:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background: linear-gradient(45deg, #034a3b , #80d032);
    animation: bggradient 20s ease infinite;
}

@keyframes bggradient{
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

  #sub_page h2 span {
    position: relative;
    padding: 0 1em;
    background: #fff;
    display: inline-block;
  }
  #sub_page h3{
    margin: 2em 0 0.5em 0;
  }


  #sub_page h3.df_m_ttl{
    padding: 0.5rem 2rem;
    border-left: 6px solid #034a3b;
    font-size: 20px;
  }

  #sub_page .care-case h3.df_m_ttl{
    padding: 1rem 2rem;
    background-color: #eeeeee;
  }


  #sub_page .no_ttl {
    position: relative;
    padding-left: 3em;
    color: #22ac38;
    font-size: 18px;
  }

  #sub_page .no_ttl span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 1rem;
    color: #fff;
    background: #22ac38;
  }
  #sub_page .no_ttl span:after {
    position: absolute;
    top: calc(50% - 7px);
    right: -11px;
    width: 0;
    height: 0;
    content: '';
    border-width: 7px 0 7px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #22ac38;
  }
  #sub_page .no_ttl_sm {
    position: relative;
    padding-left: 4em;
    color: #034a3b;
    font-size: 16px;
    margin: 1.5em 0;
  }

  #sub_page .no_ttl_sm span {
    padding: 0 1rem;
    color: #e3f5d8;
    background: #034a3b;
  }
  #sub_page .no_ttl_sm span:after {
    border-color: transparent transparent transparent #034a3b;
  }

.center_txt {
  background-color: #eeeeee;
  text-align: center;
}
#sub_page h3.df_m_ttl_02 {
  margin: 10px 0;
  font-size: 16px;

}
.sub_laout {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  margin: 2em 0 4em 0;
  width: 100%;
}
.sub_laout p{
    padding: 5px 0 10px 0;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 1em 0;
}
.sub_laout p.sub_sm_txt{
  font-size: 14px;
  padding: 5px 0;
  margin: 0;
}
.sub_laout p a{
    color: #22ac38;
    text-decoration: underline;
}

.sub_laout ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 4em 0;
}

.sub_laout ul li{
    padding: 10px 5px;
    width: calc(100% / 4);
    text-align: center;

}
.sub_laout ul.btn_laout_one li{
  width: calc(100% / 1);
}
.sub_laout ul.btn_laout_one{
  margin: 0 0 1em 0;
}
.sub_laout ul.btn_laout_two li{
  width: calc(100% / 2);
  padding: 5px;
}

.sub_laout ul.btn_laout_th li{
  width: calc(100% / 3);
}
.sub_laout ul.btn_laout_for li{
  width: calc(100% / 4);
}

.sub_laout a.sub_laout_btn{
    display: block;
    background: linear-gradient(45deg, #18a86b 0%, #034a3b 40%);
    color: #fff;
    padding: 12px 0;

}
.sub_laout a.sub_laout_btn span::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: -4px 0 0 10px;
  background: url("../img/sub/external-link.png") no-repeat; background-size: contain;
  vertical-align: middle;
}
.access .sub_laout a.sub_laout_btn span::after {
  width: 13px;
  height: 13px;
  margin: -1px 0 0 5px;
}
.access .sub_laout a.sub_laout_btn span{
  margin: 0;
}

.sub_img_box{
  display: flex;
}
.sub_img_box img{
  padding: 5px;
}
.sub_img_box.img_box_one img{
  width: 100%;
}
.ramp-simple .sub_img_box.img_box_one img,
.ramp-data .sub_img_box.img_box_one img{
  width: auto;
  margin: 0 auto 5px auto;
}
.sub_img_box.img_box_two img{
  width: calc(100% / 2);
}
.sub_img_box.img_box_th img{
  width: calc(100% / 3);
}
.sub_img_box.img_box_for img{
  width: calc(100% / 4);
}
.table{
  width: 100%;
}
#sub_page .table th, #sub_page .table td {
  text-align: center;
  width: 20%;
  min-width: 130px;
  padding: 10px;
  height: 60px;
  border: 1px solid #6666;
}

#sub_page .clinic-adult .sub_laout:nth-child(2) td {
  width: auto;
  min-width: 130px;
}
#sub_page .clinic-adult .sub_laout:nth-child(2) th {
  width: 10%;
  min-width: 130px;
}



#sub_page .table th{
  background-color: #bfb182;
  color: #fff;
}

#sub_page .table td{
  background-color: #fff;
}
#sub_page .tb_gray th{
  background-color: #787878;
  color: #fff;
  border: 1px solid #d1d1d1;
}
#sub_page .tb_grn th{
  background-color: #034a3b ;
  color: #fff;
  border: 1px solid #d1d1d1;
}

#sub_page .tb_bule th{
  background-color: #1f4c78;
  color: #fff;
  border: 1px solid #d1d1d1;
}
#sub_page .ol_list li::marker{
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  text-indent: 0px !important;
  text-align: start !important;
  text-align-last: start !important;
}
#sub_page ol.ol_list {
  list-style: auto;
  list-style-position: inside;
}

#sub_page .ol_list li {
  background-color: #e3e3e3;
  padding: 15px 25px;
  margin: 20px 0;
  border-radius: 5px;
}
#sub_page .ol_list li p{
  padding: 15px 0;
}
.txt_un {
  font-weight: 500;
  text-decoration: underline;
  color: #034a3b;
}
.care-schedule .sub_laout:nth-child(3) ul.btn_laout_one {
  margin: 0 0 0em 0;
}
.care-schedule .sub_laout:nth-child(3) ul.btn_laout_one li{
  padding: 10px 0;
}
.care-schedule .sub_laout:nth-child(3) .table {
  margin: 0 0 40px 0;
}
.care-schedule .sub_laout:nth-child(3) p {
  padding: 15px 0;
}
.sub_laout .pdf_btn {
  width: 100%;
  margin: 0 auto;
}
.sub_laout .pdf_btn a {
  background: linear-gradient(45deg, #18a86b 0%, #034a3b 40%);
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  width: 35vw;
  margin: 4em auto;
  display: block;
}
.sub_laout .pdf_btn a span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: -4px 5px 0 0;
  background: url("../img/sub/icons8-pdf-80.png") no-repeat; background-size: contain;
  vertical-align: middle;
}


.qa-list dl {
  position: relative;
  margin: 0;
  padding: 28px 0 28px 0px;
  cursor: pointer;
  border-bottom: 1px solid #000;
}
.qa-list dl:first-child {
  border-top: 1px solid #000;
}
.qa-list dl::before {
  position: absolute;
  top: 35px;
  right: 35px;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}
.qa-list .open::before {
  transform: rotate(-45deg);
}
.qa-list dl dt {
  position: relative;
  margin: 0;
  padding: 0 0 0 50px;
  font-weight: bold;
}
.qa-list dl dt::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: -3px;
  left: 0;
  display: block;
  content: 'Q.';
  color: #034a3b;
}

.qa-list dl dd::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 30px;
  display: block;
  content: 'A.';
  font-weight: bold;
  color: #80d032 ;
}
.qa-list dl dd {
  position: relative;
  display: none;
  height: auto;
  margin: 20px 0 0;
  padding: 30px 15px 15px 15px;
}
.qa-list dl dd p {
  margin: 30px 0 0;
  padding: 20px;
}
.qa-list dl dd p:first-child{
  margin-top: 0;
}

.qa-list dl dt {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  font-weight: bold;
}
.qa-list.df_list dl dt::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 0;
  display: block;
  content: '';
}
.qa-list.df_list dl dd::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 2px;
  display: block;
  content: '';
  font-weight: bold;
}
.qa-list dl dd {
  display: block;
  background-color: #f5f5f5;
  padding: 15px;
  width: 100%;
}
.qa-list{
  margin: 0 0 4em 0;
}
ul.tate_list {
  background: #fafafa;/*灰色に*/
  border-radius :8px;
  box-shadow :0px 0px 5px silver;
  padding: 1em 3em;
}

ul.tate_list li, ol.tate_list li {
  line-height: 1.5;
  padding: 0.5em 0;
}

.sub_laout ul.tate_list_ttl li {
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

ul.tate_list_child{
  background: #fff;/*灰色に*/
  border: double 5px silver;
  box-shadow :none;
}
.sub_laout ul.tate_list_child li{
  width: auto;
  text-align: left;
}
.sub_laout ul.tate_list_child ul{
  margin: 0 0 0.5em 0;
  justify-content: flex-start;
}
.tate_list_icon01{
  color: #22ac38;
}
.tate_list_icon02{
  color: #115A7D;
}
.tate_list_icon03{
  color: #C76B10;
}
.tate_list_icon04{
  color: #AB1131;
}
.sub_laout ul .pdf_btn a{
  margin: 0;
  width: 100%;
  display: block;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li
{
  width: calc(100% / 2);
}
.sub_laout ul.tate_list_child ul.tate_list_child_in {
  justify-content: space-between;
  width: 100%;
}
.care-firs .sub_laout:nth-child(2) ul {
  margin: 0 0 0em 0;
}
.sub_page_tel  {
  margin: 2em auto;
  width: 100%;
}
.sub_laout ul.btn_laout_one.sub_page_tel .tel_btn {
  max-width: 360px;
  text-align: center;
  margin: 0 auto;
  font-size: 30px;
  padding: 0;
}
.sub_laout ul.btn_laout_one.sub_page_tel .tel_btn a{
  margin: 0;
}
.sub_laout ul.btn_laout_one.sub_page_tel .tel_btn i {
  padding-left: 23px;
  background: url(../img/hd_btn_icon03.png) no-repeat 0px 8px;
  background-size: 20px;
}
.sub_laout p.sub_tel_txt {
  font-size: 14px;
  padding: 5px 0;
  text-align: center;
  margin: 0 0 1em 0;
}

.flow {
  border: 3px solid #666666;
  background: #fafafa;
  box-shadow: 0px 0px 5px silver;
  padding: 1em 3em;
}
.flow > li {
  padding: 30px;
}
.flow > li:not(:last-child) {
  border-bottom: 3px solid #666666;
  position: relative;
}
.flow > li:not(:last-child)::before,
.flow > li:not(:last-child)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow > li:not(:last-child)::before {
  border-width: 22px;
  border-top-color: #666666;
}
.flow > li:not(:last-child)::after {
  border-width: 18px;
  border-top-color: #fff;
}
.flow > li dl {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.flow > li dl dt {
  font-size: 18px;
  font-weight: 600;
  color: #034a3b;
  -ms-flex-preferred-size: 20%;
  flex-basis: 45%;
  text-align: center;

}
.flow > li dl dd {
  width: 100%;
  text-align: left;
  border-left: 2px solid #666666;
  padding: 0 0 0 1vw;
}
.flow > li dl dt .icon {
  font-size: 12px;
  color: #fff;
  background: linear-gradient(45deg, #18a86b 0%, #034a3b 40%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
  padding: 5px 10px;
  display: block;
  width: 90%;
  text-align: center;
  margin: 0 auto 10px auto;
}
ul.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 2em auto;
  padding: 30px;
}
.care-firs .sub_laout:nth-child(2) ul.flow {
  margin: 3em auto 0 auto;
}
.sub_laout .flow > li {
  padding: 30px;
  width: 100%;
  margin: 30px 0 0 0;
}
.sub_laout .flow > li:first-child {
  margin: 0;
  padding: 15px 0 30px 0;
}
#sub_page .info-mc h2 span{
  background: #fafafa;
}
.info-mc{
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0px 0px 5px silver;
  padding: 1em 3em;
  margin: 3em 0 1em 0;
}
.alignRight{
  text-align: right;
}
.souhu_box{
  background: #fafafa;
  box-shadow: 0px 0px 5px silver;
  padding: 1em 3em;
  width: 60%;

  text-align: center;
  margin: 0 auto;
}
.counseling__target{
  text-align: center;
  background: #fff;
  border: double 5px silver;
  box-shadow: none;
  padding: 0 30px;
}
.flow_mini{

}
.counseling__txt{
  padding: 20px 30px;
}
.counseling__txt span {
  font-size: 14px;
  padding: 10px;
  background-color: #800c08 ;
  color: #fff;
  display: block;
  margin: 10px 0;
}

.contact_us .sub_laout .counseling__txt a {
  color: #fff;
  font-size: 16px;
}

ul.flow.flow_mini {
  margin: 20px auto;
  padding: 20px 30px 0 30px;
}
.sub_laout .flow.flow_mini > li {
  margin: 0;
  padding: 40px 0 30px 0;
}
.sub_laout .flow.flow_mini > li:first-child {
  margin: 0;
  padding: 15px 0 30px 0;
}
.flow.flow_mini > li dl dt .icon {
  width: 80%;
  text-align: center;
  margin: 0;
}
.flow.flow_mini > li:not(:last-child)::before, .flow.flow_mini > li:not(:last-child)::after {
  left: 12%;
}
.flow.flow_mini > li:not(:last-child)::before, .flow.flow_mini > li:not(:last-child)::after {
  left: 12%;
}
.clinic__inner-box{
  border: 3px solid #034a3b ;
  background: #fafafa;
  box-shadow: 0px 0px 5px silver;
  padding: 1em 3em;
  margin: 2em 0;
}

.sub_laout .clinic__inner-box ul {
  margin: 0 0 2em 0;
}
#sub_page .clinic__inner-box h2 span {
  position: relative;
  padding: 0 1em;
  background: #fafafa;
}
#sub_page .table td {
  background-color: #fff;
  color: #666666;
}
.clinic-general_tb{
  margin: 2em 0 0 0;
}
.clinic-general .sub_laout:first-child .sub_sm_txt{
  margin: 0 0 2em 0;
}

#sub_page .table.clinic-general_tb02 th, #sub_page .table.clinic-general_tb02 td{
  width: 110px;
  min-width: auto;
}
#sub_page .table.clinic-general_tb02 td.first-c,
#sub_page .table.clinic-general_tb02 th.first-c{
  width: 40%;
}
.sub_laout ul.tate_list_child li.tate_list_tel {
  padding: 10px 30px;
  width: 100%;
  margin: 10px 0 0 0;
}
.sub_laout .tate_list_tel .tel_btn {
  width: 100%;
  padding: 0;
}
.sub_laout p.sub_tel_txt {
  margin: 0 0 0em 0;
}
#sub_page .clinic-adult .sub_laout:nth-child(2) .flow > li dl dt {
  flex-basis: 29%;
}
#sub_page .clinic-adult .sub_laout:nth-child(2) .flow > li dl dt {
  flex-basis: 29%;
}
.clinic-adult .sub_laout:nth-child(2) .counseling__target p.sub_sm_txt {
  text-align: left;
}
.clinic-adult .sub_laout:nth-child(2) .counseling__target {
  padding: 20px 30px;
  margin: 30px 0;
}
.clinic-adult .btn_laout_two_el li {
  width: 50%;
  margin: 0;
}
.sub_laout .symptom-table__txt ul{
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  width: 100%;
  height: 100%;
}
.sub_laout .symptom-table__txt ul li{
  width: 100%;
  text-align: left;
}
.sub_laout .symptom-table__txt ul li span{
  font-weight: 400;
  margin: 5px 0 0 0;
  display: block;
}
.sub_laout .symptom-table__txt ul li span.txt_un {
  display: inline;
}

#sub_page .symptom-table__txt ul li h3 {
  margin: 0em 0 0 0;
}
#sub_page .symptom-table__txt p{
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
#sub_page .symptom-table  td.symptom-table__txt {
  padding: 30px;
}
.flow_main_ttl01 h2{
  text-align: center;
  font-size: 18px;
}
#sub_page .flow.flow_Monthly {
  margin: 2em 0;
}
.sub_laout .flow.flow_Monthly > li{
  width: 100%;
  padding: 15px 0 30px 0;
}
#sub_page .flow.flow_Monthly .table th {
  width: 20%;
}
#sub_page .flow.flow_Monthly .table td {
  width: auto;
  text-align: left;
  padding: 0 20px;
}
#sub_page .flow.flow_Monthly .table td p {
  padding: 30px 0;
}
.flow.flow_Monthly > li:not(:last-child)::before, .flow.flow_Monthly > li:not(:last-child)::after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
#sub_page .flow_main_ttl01 h3 {
  font-size: 18px;
  margin: 2em 0;
  color: #1f4c78;
}
.sub_laout ul.tate_list_child ul.btn_laout_two_cm {
  flex-wrap: nowrap;
}
.sub_laout ul.tate_list_child ul.btn_laout_two_cm li{
  display: flex;
  flex-wrap: nowrap;
}
.sub_laout ul.tate_list_child ul.tate_list_child_in.scond_ul_pdf {
  margin: 2em 0;
}

.faq .qa-list dl dd p {
  margin: 30px 0 0;
  padding: 20px;
}
.faq .faq__clinic-item span{
  font-size: 12px;
  color: #fff;
  background: linear-gradient(45deg, #18a86b 0%, #034a3b 40%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
  padding: 3px 10px;
  margin: 0 5px;
  display: inline-block;
}
.faq__clinic-item_box {
  display: flex;
  margin: 0;
  padding: 5px 20px;
  justify-content: flex-end;
  background-color: #fff;
  align-items: center;
}
.faq__clinic-item_box h4{
  padding: 0 10px;
  color: #919191;
}
.faq .qa-list {
  margin: 2em 0 4em 0;
}
.sub_laout_btn_span {
  display: block;
  text-align: center;
  width: 48%;
  padding: 10px 0;
}
span.btn_laout_two {
  display: flex;
  justify-content: space-between;
}
.sub_laout ul.privacy-policy__list{
  flex-direction: column;
  margin: 0 0 2em 0;
}
.sub_laout ul li.privacy-policy__item{
  width: 100%;
  text-align: left;
  list-style-type: disc;
  margin: 0 0 0 5%;
  line-height: 1.5;
}

#sub_page .table.table_w_20 th {
    width: 20%;
}
#sub_page .table.table_w_20 td {
  width: auto;
  text-align: left;
  padding: 20px 30px;
}
#sub_page .table.table_w_30 th {
  width: 30%;
}
#sub_page .table.table_w_30 td {
width: auto;
text-align: left;
    padding: 20px 30px;
}
#sub_page .table.table_w_40 th {
  width: 40%;
}
#sub_page .table.table_w_40 td {
width: auto;
text-align: left;
    padding: 20px 30px;
}
#sub_page .about_box  h2 {
  font-size: 24px;
  padding: 0;
  font-weight: 300;
}
.sub_laout .about_box .about_lf p {
  padding: 10px 0 0 0;
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}
.about_name_box {
  background-color: #f5faf1;
      width: 80%;
      margin: -25px 0 0 -10px;
      text-align: left;
      padding: 10px;
  }
  #sub_page .about_name_box h2:before{
    display: none;
  }
  #sub_page .about_box .about_name_box h2 {
    font-size: 24px;
    padding: 0;
    text-align: left;
    margin: 0;
}
.about_box {
  display: flex;
  margin: 0 0 4em 0;
  padding: 0 0 2em 0;
  border-bottom: 1px solid #666666;
}
#sub_page .about_box .about_name_box .name_katagaki{
  color: #034a3b;

}
#sub_page .about_box .about_name_box .name_en{
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: 300;
}

.about_lf {
  width: 30%;
  display: flex;
  flex-direction: column;
}
.about_lf img{
  width: 100%;
}
.about_rh {
  width: 70%;
  padding: 20px;
}
#sub_page .about_rh h3.df_m_ttl {
  margin: 0;
  border: none;
  padding:  0;
}
#sub_page .about_rh .qa-list {
  margin: 0 0 2em 0;
}
#sub_page .about_rh .qa-list .tate_list.btn_laout_one.tate_list_ttl {
  margin: 1em 0 0 0;
}

#sub_page .about_rh .table th {
  min-width: 105px;
  font-size: 14px;
}
#sub_page .about_rh .table td {
  width: auto;
  text-align: left;
  padding: 0 15px;
  font-size: 14px;
}
.sub_laout .about_rh ul.tate_list_ttl li {
  line-height: 1.5;
}
#sub_page .about_rh ul.tate_list {
  padding: 1em 2em;
}

.about_box_sub .about_lf {
  width: 15%;
}
#sub_page .about_box_sub .about_lf h2 {
  position: inherit;
  font-size: 20px;
  padding: 10px 0;
  text-align: left;
}
#sub_page .about_box_sub .about_rh {
  width: 100%;
  padding: 20px;
}

.access .sub_laout img {
  width: 100%;
}
.access .sub_laout p {
  text-align: left;
  padding: 0 20px;
}
.access .sub_laout a.sub_laout_btn {
  padding: 2px 0 5px 0;
  width: 180px;
  font-size: 13px;
  text-align: center;
  margin: 14px 0;
}
.single-item .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #fff;
}
.access .single-item {
  margin: 30px 0;
}
.access .slick-slider {
  max-width: 880px;
  margin: 0 auto;
  height: 440px;
}
.slick-prev, .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;

  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 60%;
  z-index: 2;
  background: -webkit-gradient(linear,left top,right top,from(#034a3b),to(#80d032));
  background: -o-linear-gradient(left,#034a3b 0%,#80d032 100%);
  background: linear-gradient(90deg,#034a3b 0%,#80d032 100%);


}
.slick-prev:before, .slick-next:before {
  font-family: 'slick';
  font-size: 20px;
  line-height: 1;
  opacity: .75;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slick-prev {
  left: -25px;
}
.slick-next {
  right: -25px;
}
.slick-prev::before {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
  z-index: 99999;
  position: relative;
  opacity: 1;
  background-image: url(../img/icon-arrow-white-top.svg);
  background-size: contain;
  vertical-align: middle;
}
.slick-next::before {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
  z-index: 99999;
  position: relative;
  opacity: 1;
  background-image: url(../img/icon-arrow-white-top.svg);
  background-size: contain;
  vertical-align: middle;
}
.access .sub_laout .single-item .card img {
  width: 100%;
  object-fit: contain;
  height: 440px;
}
.access .sub_laout .single-item .card p {
  width: 100%;
  object-fit: contain;
  height: 300px;
}
#sub_page .access .no_ttl {
  font-size: 16px;
  padding-left: 4em;
  font-weight: 400;
  color: #034a3b ;
}
.ramp-data .sub_img_box.img_box_two img {
  width: auto;
  margin: 0 auto;
}
.naomashi .sub_img_box.img_box_one img{
  width: 65%;
  margin: 15px auto 0 auto;
}
#sub_page ul.cp_list {
	padding: 0 0.5em;
	margin-top: 2em;
}

#sub_page ul.cp_list li {
	line-height: 1.5;
	padding: 1.5em 0 1.5em 1.4em;
	border-bottom: 2px dashed #034a3b;
    width: 100%;
    text-align: left;
   position: relative;
}



#sub_page ul.cp_list li::before {
position: absolute;
content: url(https://www.medcare-tora.com/cms/wp-content/themes/the-thor-child/img/sub/rework_icon01.svg);
color: #FF5722;
left: -11%;
top: -68px;
transform: scale(0.2);
}

#sub_page ul.cp_list .woman::before {
content: url(https://www.medcare-tora.com/cms/wp-content/themes/the-thor-child/img/sub/rework_icon02.svg);
}

#sub_page ul.cp_list li:last-of-type {
	border-bottom: none;
}

#sub_page ul.cp_list li span{
    padding: 0.3rem 1rem;
    color: #fff;
    background: #115A7D;
    display: block;
     width: 87px;
    margin-bottom: 10px;
    text-align: center;

}

#sub_page ul.cp_list .woman span{
    background: #AB1131;
}

#sub_page .dli-caret-down {
    display: flex;
    vertical-align: middle;
    color: #034a3b;
    line-height: 1;
    width: 10%;
    border-style: solid;
    border-color: transparent;
    border-width: 3em 6em;
    border-top-color: currentColor;
    border-bottom: 0;
    margin: 0 auto;
}
#sub_page ul.cp_list:last-child{
  border-bottom: 2px dashed #034a3b;
}

.sub_laout .flow.flow_ramp_use > li.flow_two_lout {
  display: flex;
}
.sub_laout ul.flow_two_lout_lf {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.sub_laout ul.flow_two_lout_rg {
  width: 50%;
  margin: 0;
}
.sub_laout ul li.flow_main_ttl01_two {
  width: 100%;
}
#sub_page .flow.flow_Monthly .flow_main_ttl01_two .table th,#sub_page .flow.flow_Monthly .flow_main_ttl01_two .table td {
  width: 100%;
  display: block;
}
#sub_page .flow.flow_Monthly .flow_main_ttl01_two .table th {
  display: flex;
  justify-content: center;
  align-items: center;
}
#sub_page .flow.flow_Monthly .flow_main_ttl01_two .table td {
  height: auto;
}
.clnc_name{
  background-color: #fff;
  color: #666666;
  font-size: 12px;
  padding: 5px 5px;
  display: inline-block;
}
.flow_arrow {
border-bottom: 3px solid #666666;
position: relative;
margin: 0 0 20px 0;
}
.flow_arrow::before, .flow_arrow::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow_arrow::before {
  border-width: 22px;
  border-top-color: #666666;
}
.flow_arrow::before,.flow_arrow::after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow_arrow::after {
  border-width: 18px;
  border-top-color: #fafafa;
}
#sub_page .flow.flow_Monthly .flow_two_lout01 .flow_two_lout_rg .table td {
  height: 910px;
}
#sub_page .flow_ramp_use .flow_main_ttl01 h3 {
  background-color: #bfb182;
  color: #fff;
  padding: 20px;
  margin: 0;
}
#sub_page .flow_ramp_use .flow_two_lout02 h3 {
  background-color: #034a3b;
  color: #fff;
  padding: 20px;
  margin: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub_laout .flow_ramp_simple ul.flow_two_lout_lf {
  width: 80%;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg {
  width: 20%;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h4 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-color: #355BB7;
  color: #fff;
  padding: 40px 40px;
  height: 550px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h4.smheigt {
  background-color: #034a3b;
  color: #fff;
  height: 300px;
}
#sub_page .flow.flow_Monthly.flow_ramp_simple .table td p {
  padding:5px 0 15px 0;
  margin: 0;
}
.flow_ramp_simple .clnc_name {
  font-size: 14px;
  padding: 5px 20px;
  position: absolute;
  top: 0;
  right: 0;
}
#sub_page .flow.flow_Monthly.flow_ramp_simple .flow_main_ttl01_two .table th {
  position: relative;
}
#sub_page .flow_ramp_use.flow_ramp_simple .flow_main_ttl01 h3 {
  margin: 10px 0 10px 0;
}
#sub_page .flow_ramp_use .flow_main_ttl01 h3.cl_grn{
  background-color: #034a3b;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h5{
  background-color: #343434;
  color: #fff;
  padding: 30px 0px;
  min-width: 90%;
}
.arrow_s {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  text-decoration: none;
}
.arrow_s:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: #355BB7;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 30px 71px;
  border-top-color: currentColor;
  border-bottom: 0;
  position: absolute;
  bottom: -25px;
  left: -17%;
  margin-top: -6px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li  h4.smheigt.arrow_s {
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li  h4.smheigt.arrow_s:before  {
  color: #034a3b;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li  h5.arrow_s {
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li  h5.arrow_s:before  {
  color: #343434;
  left: 0;
  bottom: -30px;
  border-width: 30px 73px;
}

.ramp-simple img {
  width: 100%;
}
#sub_page h3.df_m_ttl_center {
  text-align: center;
  border: none;
  background-color: #eeee;
}


/*tabの形状*/
.contact_us .tab{
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.contact_us .tab li a{
  background: #ddd;
  margin: 0 2px;
  padding: 10px 20px;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*liにactiveクラスがついた時の形状*/
.contact_us .tab li.active a{
  background:#034a3b ;
  color: #fff;
}
.contact_us .tab li a:hover{
  opacity:1;
}

/*エリアの表示非表示と形状*/
.contact_us .area {
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
  background: #fff;
  padding:10px 20px;
  border: 3px solid #666666;
  background: #fafafa;
  box-shadow: 0px 0px 5px silver;
}

/*areaにis-activeというクラスがついた時の形状*/
.contact_us .area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.contact_us .sub_laout .area ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 4em 0;
  flex-direction: column;
}
.contact_us .sub_laout .area ul li{
  padding: 10px 5px;
  width: 100%;
  text-align: center;
}
#sub_page .contact_us .area h2 {
  font-size: 24px;
  padding: 20px 0;
}
#sub_page .contact_us .area h2 span {
  background: #fafafa;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*　ContactForm7のテーブル化レスポンシブ調整　*/

/*テーブルを親要素の幅いっぱいに伸ばす*/
.table-res-form {
  width: 100%;
}
/*一行ごとに上ボーダー*/
.table-res-form tr {
  border-top: 1px #DDD solid;
}
/*一番上の行だけボーダーなし*/
.table-res-form tr:first-child {
  border-top: none;
}
/*奇数行だけ背景色つける*/
.table-res-form tr:nth-child(2n+1) {
  background: #fff;
}
/*thとtd内の余白指定*/
.table-res-form th, .table-res-form td {
  padding: 0 1.5em;
  width: 100%;
  text-align: left;
  display: block;
}
/*th（項目欄）は30%幅、テキストを右寄せ*/
.table-res-form th {
}
/*「必須」部分のスタイリング*/
.table-res-form .requied {
  font-size: 0.8em;
  color: #FFF;
  display: inline-block;
  padding: 0px 5px 1px 5px;
  background: #800c08;
  border-radius: 2px;
  font-size: 10px;
  margin: 0 0 0 5px;
}
.table-res-form th p{
  display: flex;
  align-items: center;
}
.table-res-form th:first-child p{
  display: inherit;
}
.submit_btn p {
  margin: 0 auto;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}
.clinic-adult_mokuji{
  width: 680px;
  margin: 30px auto;
  padding: 1px 30px;
  background-color: #eeee;
}
.sub_laout ul.tate_list_ttl.clinic-adult li {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px solid #d3d3d3;
}
.sub_laout ul.tate_list_ttl.clinic-adult li:first-child {
  border-top: 1px solid #d3d3d3;
}
.sub_laout.clinic-adult .flow > li:first-child {
  margin: 0;
  padding: 30px 0;
}
.sub_laout.clinic-adult .flow > li{
  margin: 0;
  padding: 30px 0;
}
.sub_laout.clinic-adult .flow > li dl dd {
  width: 100%;
  text-align: left;
  padding: 0 3vw;
}
.sub_laout.clinic-adult  p.sub_tel_txt {
  margin: 0 0 0em 0;
  text-align: left;
}
#sub_page .clinic-adult .sub_laout.clinic-adult:nth-child(2) .flow > li dl dt {
  flex-basis: 45%;
}
.sub_laout.clinic-adult ul.tate_list_ttl li ul.btn_laout_two  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 0 0;
}
.sub_laout.clinic-adult ul.tate_list_ttl li{
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px solid #d3d3d3;
}
.sub_laout.clinic-adult ul.tate_list_ttl li:first-child {
  border-top: 1px solid #d3d3d3;
}

html {
  scroll-padding-top: 70px;
}
#sub_page .sub_laout.clinic-adult ul.btn_laout_one h3 {
  margin: 7px 0;
}
/*ここから768px以下の指定*/

.st_grn {
  color: #5fad12;
  font-weight: bold;
}

.sub_laout.clinic-adult {
  padding-top: 230px;
  padding-bottom: -230px;
  margin: 2em 0 -13em 0;
}
.sub_laout.clinic-adult:first-child {
  padding-top: 0;
  padding-bottom: 0;
  margin: 2em 0 -13em 0;
}
.sub_laout.clinic-adult:nth-child(1) {
  position: relative;
  z-index: 50;
}
.sub_laout.clinic-adult:nth-child(2) {
  position: relative;
  z-index: 40;
}
.sub_laout.clinic-adult:nth-child(3) {
  position: relative;
  z-index: 30;
}
.sub_laout.clinic-adult:nth-child(4) {
  position: relative;
  z-index: 20;
}
.sub_laout.clinic-adult:nth-child(5) {
  position: relative;
  z-index: 10;
}
.sub_laout.clinic-adult:last-child {
  margin: 2em 0 4em 0;
}
.sub_laout#otemachi{
  padding-top: 170px;
  padding-bottom: -230px;
  margin: -2em 0 -12em 0;
}
.sub_laout#toranomon{
  padding-top: 270px;
  padding-bottom: -230px;
  margin: 6em 0 4em 0;
}



@media only screen and (max-width: 768px) {
　　　　　/*thとtdをブロック化して幅100％にして、縦積み*/
  .table-res-form th, .table-res-form td {
      width: 100%;
      display: block;
      padding: 0 5px;
      font-size: 14px;
  }
　　　　　/*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
  .table-res-form th {
      padding-bottom: 0;
      text-align: left;
  }
　　　　　/*不要な最終行の左のthを非表示にする*/
  .table-res-form .empty {
      display: none;
  }
  .sub_laout#otemachi{
    padding-top: 0px;
    margin: 2em 0 2em 0;
  }
  .sub_laout#toranomon{
    padding-top: 0px;
    margin: 2em 0 2em 0;
  }


}

/*ここまで768px以下の指定---終わり*/

/*ここから入力欄のスタイル指定*/

/*各入力フォームスタイリング*/
.table-res-form input[type="text"], input[type="email"], textarea,.table-res-form input[type="tel"] {
  border: 1px #666666 solid;
  padding: 0.5em;
  border-radius: 5px;
  margin-bottom: 0.5em;
  width: 100%;
  font-size: 16px;
}
/*入力欄にフォーカスしたら変化*/
.table-res-form input[type="text"]:focus, textarea:focus {
  background: #EEFFFF;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
/*送信ボタンスタイリング*/
.table-res-form input[type="submit"] {
  padding: 1.5em 4em;
  border-radius: 5px;
  background: #034a3b;
  color: #fff;
  box-shadow: 0 0 1px 0 rgb(0 0 0 / 50%);
  font-weight: bold;
}
/*送信ボタン・マウスオーバー時スタイリング*/
.table-res-form input[type="submit"]:hover {
  background: #006599;
  box-shadow: none;
}
.table-res-form tbody {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  display: block;
}
.contact_arrow_td .contact_arrow{
  display: flex;
  flex-direction: column;
}
.table-res-form tr {
  padding: 20px 0;
  display: block;
}
.main__inner img{
  width: 100%;
}
.table-res-form .age_td input[type="text"]{
  width: 60px;
  margin: 0 5px 0 0;
}
.table-res-form .sm_txt input[type="text"]{
  width: 120px;
  margin: 0 5px 0 0;
}
.table-res-form .md_txt input[type="text"]{
  width: 240px;
  margin: 0 5px 0 0;
}
.table-res-form select {
  width: 120px;
  margin: 0 5px 0 0;
  border: 1px #666666 solid;
  padding: 0.5em;
  border-radius: 5px;
}

.main__inner .naomashi__read {
  font-size: 16px;
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  margin-top: -5px;
}
.main__inner .naomashi__read--boss {
  width: 24%;
  margin: 20px 0 auto;
}
.main__inner .naomashi__read--right {
  width: 70%;
}
.main__inner .naomashi__read--bubble p {
  border: 4px solid #0086bb;
  border-radius: 20px;
  padding: 12px 22px 10px;
  margin: 0 0 30px;
  position: relative;
}
.main__inner .naomashi__read--bubble p::before {
  content: '';
  display: block;
  position: absolute;
  width: 83px;
  height: 74px;
  background: url(../img/sub/common/icon-bubble.png) no-repeat center center;
  background-size: 100% auto;
  right: 100%;
  bottom: 37px;
}
.main__inner .naomashi__read--epi {
  margin-left: 45px;
  display: flex;
  flex-wrap: wrap;
}
.main__inner .naomashi__pr {
  max-width: 728px;
  box-sizing: border-box;
  margin: 40px auto 45px;
  padding: 15px 40px;
  border-top: 1px dashed #666;
  border-bottom: 1px dashed #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-size: 1.6rem;
}
.main__inner .naomashi__prof {
  font-size: 16px;
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}
.main__inner .naomashi__pr--img {
  max-width: 359px;
  margin: 0;
}
.main__inner .naomashi__pr--img img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}
.main__inner .naomashi__pr--link a {
  text-decoration: none;
  color: #000;
  display: block;
  border-top: 2px solid #b5b5b5;
  border-bottom: 2px solid #b5b5b5;
  background: url(../img/sub/common/icon-target.png) right 8px center no-repeat;
  padding: 5px 30px 5px 10px;
  transition: opacity .2s ease;
}

.main__inner .naomashi__prof {
  font-size: 16px;
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}
.main__inner .naomashi__prof--img {
  width: 318px;
  margin: 0;
}
.main__inner .naomashi__prof--ttl {
  width: 412px;
  margin: 0;
}
.main__inner .naomashi__prof--cont {
  width: 518px;
  padding-left: 42px;
}
.main__inner .naomashi__prof--ttl img {
  max-width: 100%;
  height: auto;
}
.main__inner .naomashi__prof--img img {
  max-width: 100%;
  height: auto;
}
.main__inner .naomashi__read--epi li:not(.last) {
  color: #b2b2b2;
  margin-bottom: 0.5em;
  width: 100%;
  text-align: left;
}
.main__inner .naomashi__read--epi span {
  display: inline-block;
  padding-right: 15px;
  color: #000;
}
.main__inner .naomashi__read--epi a {
  color: #000;
  text-decoration: underline;
}

.main__inner .naomashi__read--epi ul {
  width: 50%;
  margin: 0 0 15px;
}

ul.tate_list_child li:first-child{
  width: 100%;
}
ul.tate_list_child li:first-child .btn_laout_two li{
  width: auto;
}
.sub_laout ul.tate_list_child ul.btn_laout_two li{
  width: auto;
  display: flex;
}
.sub_laout ul.tate_list_child li.tate_list_tel + li{
  width: 100%;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li.pdf_btn {
  width: calc(100% / 2);
  border: none;
}
.sub_laout a.sub_laout_btn span {
  margin: 0 0 0 20px;
}

.naomashi .sub_img_box {
  display: flex;
  background-color: #0086bb;
  padding: 20px 30px;
  margin-bottom: 2em;
}
#sub_page .flow_ramp_use.flow_ramp_simple .flow_main_ttl01 h3 a{
  text-decoration: underline;
}
.rework-about .sub_img_box.img_box_one img {
  width: auto;
  margin: 0 auto;
}
.comp {
  text-align: center;
}
.comp .sub_laout p a {
  color: #fff;
  font-size: 16px;
}
.clinic-adult-reserve-info_off {
  background-color: #800c08;
  color: #fff;
  font-size: 16px;
  display: inline-block;
  padding: 10px 30px;
  margin: 0 0 10px 0;
}
.clinic-adult-reserve-info_on {
  background-color: #115A7D;
  color: #fff;
  font-size: 16px;
  display: inline-block;
  padding: 10px 30px;
  margin: 0 0 10px 0;
}
#sub_page .l-wrapper.access {
  margin: 0 auto 3em auto;
}
.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
}
.counseling__target_from .counseling__txt span {
  background-color: #800c08;
}
#sub_page h2 span.sub_ttl_txt {
  display: block;
  font-size: 14px;
  color: #801c08;
}
.sub_laout ul.Monthlyul {
  margin: 10px 0px -20px 0;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li.pdf_btn.Monthly {
  width: 80%;
  border: none;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li.pdf_btn.Monthly a {
  font-size: 16px;
}
/*////////////////////////////////////////////////////////////////////////////////////

*/
@media screen and (max-width: 1100px) {
    #sub_page .l-wrapper {
        padding: 0 15px;
}
#sub_page .sub_page_hd {
    margin: 7vw 0 0 0;
}
#sub_page {
  margin: 0 0 0 0;
}


}

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

*/

/* tab */
@media only screen and (max-width: 930px) {
  #sub_page .table.js-scrollable {
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
  }
  .main__inner .naomashi__read {
    flex-direction: column;
}
.naomashi .sub_img_box.img_box_one img {
  width: 100%;
  margin: 0;
  padding: 0;
}
.main__inner .naomashi__read--boss {
  width: 50%;
  margin: 0 auto;
}
.main__inner .naomashi__read--right {
  width: 70%;
  margin: 0 auto;
}

.main__inner .naomashi__pr {
  flex-direction: column;
}
.main__inner .naomashi__prof {
  flex-direction: column;
}
.main__inner .naomashi__prof--img {
  width: 100%;
  margin: 0;
}
.main__inner .naomashi__prof--ttl {
  width: 100%;
  margin: 0;
}
.main__inner .naomashi__prof--cont {
  width: 100%;
  padding-left: 0;
}

.ramp-simple .sub_img_box.img_box_one img,.ramp-data .sub_img_box.img_box_one img{
  width: 100%;
  margin: 0 auto 5px auto;
}

}

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

*/
@media screen and (max-width: 850px) {
#sub_page h2 {
    font-size: 20px;
}
#sub_page h3.df_m_ttl {
  font-size: 18px;
}
	.sub_laout ul {
        flex-direction: column;
        text-align: center;
    }
    .qa-list dl {
      position: relative;
      padding: 20px 0;
    }
    .qa-list dl::before {
      top: 25px;
      right: 20px;
      width: 7px;
      height: 7px;
    }
    .qa-list dl dt {
      padding: 0 35px 0 30px;
      font-size: 14px;
    }
    .qa-list dl dt::before {
      font-size: 14px;
      top: 3px;
      left: 5px;
      content: 'Q.';
    }
    .faq__clinic-item_box {
      padding: 10px 0;
  }
    .qa-list dl dd::before {
      font-size: 14px;
      top: 5px;
      left: 5px;
      content: 'A.';
    }
    .qa-list dl dd {
      margin: 10px 0 0;
      padding: 0;
      font-size: 14px;
    }
    .qa-list dl dd p {
      margin: 30px 0 0;
    }
    .qa-list dl dd p:first-child{
      margin-top: 0;
    }
    .sub_laout ul.btn_laout_two li {
      width: 100%;
      padding: 5px;
  }
  .sub_laout .pdf_btn a {
    width: 90vw;
    font-size: 14px;
}
.flow > li dl {
  align-items: flex-start;
  flex-direction: column;
}
.flow > li dl dt {
  border-right: none;
  margin: 0 0 15px 0;
  padding: 15px 0;
  border-bottom: 2px solid #666666;
  width: 100%;
}
.sub_laout .flow > li {
  padding: 40px 10px;
  margin: 0px 0 0 0;
}
.sub_laout ul.btn_laout_one {
  padding: 1em;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li {
  width: 100%;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li.pdf_btn {
  width: 100%;
}
.sub_laout ul.tate_list_child li {
  width: auto;
}

.sub_laout ul.tate_list_child ul {
  flex-direction: row;
}
.sub_laout ul.tate_list_child ul.btn_laout_two {
  flex-direction: row;
  flex-wrap: nowrap;
}
.flow.flow_mini > li dl dt .icon {
  width: 100%;
}

.flow > li dl dd {
  text-align: center;
  border-left: none;
  padding: 0;
}
.flow.flow_mini > li:not(:last-child)::before, .flow.flow_mini > li:not(:last-child)::after {
  left: 50%;
}
.sub_laout .flow.flow_mini > li {
  padding: 40px 0 20px 0;
}
.sub_img_box {
  flex-wrap: wrap;
}
.sub_img_box.img_box_for img {
  width: calc(100% / 2);
}
.sub_img_box.img_box_th img {
  width:80%;
}
.clinic__inner-box {
  margin: 2em 0;
}
ul.flow {
  padding: 20px 5px;
}
.about_box {
  flex-direction: column;
}
.about_lf {
  width: 100%;
  text-align: center;
}
#sub_page .about_box h2 {
  text-align: center;
}
.about_rh {
  width: 100%;
  margin: 30px 0;
}
.about_lf img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: top;
}
.about_box_sub .about_lf {
  width: 100%;
}
.about_box_sub .about_lf img {
  width: 100%;
  height: 160px;
}
#sub_page .about_box_sub .about_lf h2 {
  text-align: center;
}

.about_rh .qa-list dl dt {
  padding: 0 0 0 0;
}
#sub_page .about_rh ul.tate_list {
  padding: 1em 1em 1em 1.5em;
}
#sub_page .about_rh .qa-list dl dd {
  padding: 0;
}
.slick-next {
  right: 0;
  top: 35%;
}
.slick-prev {
  left: 0;
  top: 35%;
}

#sub_page ul.cp_list li::before {
  left: -13%;
  }
.ramp-data .sub_img_box.img_box_one img {
    width: 100%;
}


#sub_page .ttl {
  width: 100%;
  padding: 0 30px;
}

  #sub_page .table:not(.js-scrollable) th, #sub_page .table:not(.js-scrollable) td{
    display: block;
    width: 100%;
    height: auto;
    }
  #sub_page .table.table_w_20:not(.js-scrollable) th,
  #sub_page .table.table_w_20:not(.js-scrollable) th,
  #sub_page .table.table_w_40:not(.js-scrollable) th{
    display: block;
    width: 100%;
  }
  #sub_page .table.table_w_20:not(.js-scrollable) td,
  #sub_page .table.table_w_20:not(.js-scrollable) td,
  #sub_page .table.table_w_40:not(.js-scrollable) td{
    height: auto;
}
.sub_laout .flow.flow_ramp_use > li.flow_two_lout {
  flex-direction: column;
}
.sub_laout ul.flow_two_lout_lf ,.sub_laout ul.flow_two_lout_rg{
  width: 100%;
}
#sub_page .flow.flow_Monthly .flow_two_lout01 .flow_two_lout_rg .table td {
  height: auto;
}
#sub_page .flow.flow_Monthly .flow_main_ttl01_two .table th {
  flex-direction: column;
}
.clnc_name {
  padding: 3px 5px;
  margin: 6px 0 0 0;
}
.sub_laout .flow.flow_ramp_use.flow_ramp_simple > li.flow_two_lout {
  flex-direction: row;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_lf {
  width: 85%;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg {
  width: 15%;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h4 {
  padding: 40px 10px;
  height: 550px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h4.smheigt {
  height: 210px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li:last-child h4 {
  height: 355px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h5 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  padding: 40px 10px;
}
.sub_laout .flow_ramp_simple ul.btn_laout_one {
  padding: 0;
  margin: 0;
}
.arrow_s:before {
  border-width: 30px 29px;
  bottom: -25px;
  left: -8px;
}
.sub_laout .flow_ramp_simple ul.flow_two_lout_rg li h5.arrow_s:before {
  border-width: 30px 30px;
  bottom: -25px;
  left: -8px;
}
.flow_ramp_simple .clnc_name {
  font-size: 13px;
  padding: 5px 10px;
}
.sub_laout {
  margin: 2em 0 2em 0;
}
.about_name_box {
  margin: -25px 0 0 0px;
  padding: 0 20px;
}
#sub_page .about_rh .table td {
  padding: 20px 10px;
}
.main__inner .naomashi__read--epi {
  margin-left: 0;
}

.info-mc {
  margin: 3em 0 1em 0;
}
.souhu_box {
  padding: 1em 0em;
  width: 90%;
}
.sub_laout ul.tate_list_child ul.btn_laout_two:has(.pdf_btn) {
  flex-direction: column;

}
.sub_laout ul.tate_list_child ul.btn_laout_two.care-firs_last_li li:last-child{
  display: flex;
  flex-direction: column;
}
.flow > li:not(:last-child)::before, .flow > li:not(:last-child)::after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#sub_page .clinic-adult .sub_laout:nth-child(2) th {
  width: 100%;
}
#sub_page .flow.flow_Monthly .table th {
  width: 100%;
}
.access .sub_laout a.sub_laout_btn {
  padding: 5px 0 10px 0;
  width: 230px;
}
.access .sub_laout .single-item .card img {
  height: auto;
}
.sub_img_box.img_box_th {
  flex-wrap: nowrap;
  max-width: 1024px;
  width: 100%;
  overflow-x: scroll;
}
.sub_img_box.img_box_th img {
  width: 80%;
}
.info-mc {
  margin: 3em 0 1em 0;
  padding: 1em 1em;
}
.rework-about .sub_img_box.img_box_one img {
  width: 100%;
  margin: 0 auto;
}
.contact_us .area{
  padding: 10px 10px;
}
.counseling__target{
  padding: 0 ;
}
.counseling__target p{
  padding: 0 ;
}
.contact_us .area {
  padding: 0 5px;
}
.clinic-adult_mokuji {
  width: 100%;
  padding: 15px;
}
.sub_laout ul.btn_laout_two.tate_list_child_in li.pdf_btn.Monthly {
  width: 100%;
  border: none;
}
}

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

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

    #sub_page .no_ttl span {
        padding: 0 1rem;
    }
    #sub_page .no_ttl {
      padding-left: 4.0em;
      font-size: 1.4rem;
    }
    #sub_page .sub_page_hd {
        margin: 9vw 0 0 0;
    }

    #sub_page ul.cp_list li::before {
      left: -19%;
      }
      .main__inner .naomashi__read--right {
        width: 100%;
    }


}

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

*/


@media screen and (max-width: 480px) {
    #sub_page .sub_page_hd {
        margin: 12vw 0 0 0;
    }

#sub_page ul.cp_list li::before {
  left: -26%;
  }
  .main__inner .naomashi__read--epi ul {
    width: 100%;
    margin: 0 0 15px;
}

}



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

*/