@charset "UTF-8";
/*
 * 25-visit.css … ご来院の方へ
 * css/ のファイルは番号の順に全ページで読み込む（functions.php）。後のファイルが優先されるので、番号（順番）を変えないこと
 */

/* -------------------------------------------------- */
/* ご来院の方へ */
/* -------------------------------------------------- */
body.visit .key {
  background: url(../img/bg/disease@2x.jpg) no-repeat bottom center/cover;
}
body.visit section.content .buttons {
  margin: 3em auto;
}
body.visit section.content .buttons ul li {
  margin-bottom: 1.5em;
  border-radius: 6px;
}
body.visit section.content .buttons ul li a {
  border-radius: 6px;
  padding: 2.8em 0 0.7em;
  color: var(--cl-main);
}
body.visit section.content .buttons ul li a::after {
  top: 8%;
  font-size: 1.4em;
}
body.visit section.content .buttons.three ul li {
  width: 31%;
}
@media screen and (max-width: 800px) {
  body.visit section.content .buttons.three ul li {
    width: 48%;
    margin-bottom: 1em;
  }
}
body.visit section.content ul.list li {
  font-size: 16px;
}
body.visit section.content p.smp {
  font-size: 14px;
}

body.hospitalize .key {
  background: url(../img/bg/hospitalize.jpg) no-repeat bottom center/cover;
}
/* 7.特別室のご案内 */
body.hospitalize section.content table.sp-price th {
  white-space: nowrap;
}
body.hospitalize section.content table.sp-price td:nth-of-type(1), body.hospitalize section.content table.sp-price td:nth-of-type(2), body.hospitalize section.content table.sp-price td:nth-of-type(3) {
  white-space: nowrap;
}
body.hospitalize section.content table.sp-price td:nth-of-type(4) {
  text-align: left;
}
body.hospitalize section.content table.sp-price td {
  vertical-align: middle;
}
body.hospitalize section.content p.attention {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 1em;
}
body.hospitalize section.content .note {
  background: var(--cl-bg);
  border-radius: 10px;
  padding: 0.5em 0;
}
body.hospitalize section.content .note h4 {
  margin: 0 0 0.7em 0;
  color: var(--cl-main);
  border-bottom: 1px dashed #ccc;
  border-radius: 0;
}
body.hospitalize section.content .note ul {
  margin: 0.7em 0 0 0;
  padding: 0.5em 1em 0;
}
body.hospitalize section.content .note ul li {
  font-size: 14px;
}
@media screen and (max-width: 800px) {
  body.hospitalize section.content .note ul li {
    font-size: 14px;
    line-height: 1.1;
  }
}

/* 通所リハビリ専用ナビ */
ul.rehab-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
}
ul.rehab-nav li {
  width: 18%;
  display: inline-block;
  text-align: center;
}
ul.rehab-nav li:before {
  display: none;
}
ul.rehab-nav li a {
  display: block;
  border: 1px solid var(--cl-main);
  background: var(--cl-bg);
  border-radius: 8px;
  padding: 0.5em 1em;
}
ul.rehab-nav li a:hover {
  background: var(--cl-main);
  color: white;
}
ul.rehab-nav li.current a {
  border-color: #ccc;
  color: #777;
  background: #fff;
  cursor: default;
  pointer-events: none;
}
@media screen and (max-width: 800px) {
  ul.rehab-nav {
    flex-wrap: wrap;
    margin-bottom: 2em;
    margin-top: 2em;
  }
  ul.rehab-nav li {
    width: 49%;
    margin-bottom: 0.4em;
  }
  ul.rehab-nav li:first-child {
    width: 100%;
  }
}

/* リハビリ */
body.page-template-page-rehab .key {
  background: url(../img/key/rehab.jpg) no-repeat bottom center/cover;
}
body.page-template-page-rehab .key p {
  font-size: 17px;
  position: absolute;
  width: 100%;
  top: 57%;
  color: #256426;
  text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  font-weight: 600;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab .key p {
    display: none;
  }
}
body.page-template-page-rehab section.content h3 {
  color: #13736f;
}
body.page-template-page-rehab section.content p.outstand {
  margin: 2em auto;
  font-size: 20px;
  text-align: center;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content p.outstand {
    font-size: 4vw;
    text-align: left;
  }
  body.page-template-page-rehab section.content p.outstand br {
    display: none;
  }
}
/* こんなことはありませんか？の部分 */
body.page-template-page-rehab section.content .row.rehab_01 figure {
  width: 40%;
  text-align: center;
}
body.page-template-page-rehab section.content .row.rehab_01 figure img {
  max-width: 100%;
  width: 60%;
}
body.page-template-page-rehab section.content .row.rehab_01 ul {
  width: 60%;
}
body.page-template-page-rehab section.content .row.rehab_01 ul li {
  font-size: 16px;
}
body.page-template-page-rehab section.content .row.rehab_01 ul li:before {
  content: "\f0a4";
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content .row.rehab_01 figure {
    width: 100%;
  }
  body.page-template-page-rehab section.content .row.rehab_01 figure img {
    max-width: 100%;
    width: 50%;
  }
  body.page-template-page-rehab section.content .row.rehab_01 ul {
    width: 100%;
  }
}
body.page-template-page-rehab section.content .row.rehab_03 {
  margin-top: 7em;
}
body.page-template-page-rehab section.content .row.rehab_03 .desc {
  width: 60%;
}
body.page-template-page-rehab section.content .row.rehab_03 figure {
  width: 32%;
}
body.page-template-page-rehab section.content .row.rehab_03 figure img {
  border-radius: 10px;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content .row.rehab_03 .desc {
    width: 100%;
  }
  body.page-template-page-rehab section.content .row.rehab_03 figure {
    width: 100%;
  }
}
/* 直通電話 */
body.page-template-page-rehab section.content .contact_box {
  background: var(--cl-bg);
  padding: 1em 3em 2em;
  border-radius: 10px;
  margin: 4em auto;
  text-align: center;
}
body.page-template-page-rehab section.content .contact_box p.desc {
  font-size: 15px;
  margin: 0.5em 0;
}
body.page-template-page-rehab section.content .contact_box p.tel {
  font-size: 38px;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.2;
  color: var(--cl-main);
  display: inline-block;
  text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}
body.page-template-page-rehab section.content .contact_box p.tel:nth-of-type(2) {
  margin-right: 1em;
}
body.page-template-page-rehab section.content .contact_box p.tel:before {
  border-top: none;
  width: auto;
  content: "\f67d";
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  font-size: 0.8em;
  display: inline-block;
  margin-right: 0.3em;
  color: var(--cl-main);
  vertical-align: 9%;
}
body.page-template-page-rehab section.content .contact_box p.tel small {
  font-size: 16px;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content .contact_box {
    padding: 0.5em 1em 1em;
  }
  body.page-template-page-rehab section.content .contact_box p.tel {
    font-size: 6vw;
    margin-top: 0.5em;
    text-align: left;
    display: block;
    margin-left: 1em;
  }
  body.page-template-page-rehab section.content .contact_box p.tel:nth-of-type(2) {
    margin-right: 0em;
  }
}
/* コロナ */
body.page-template-page-rehab section.content .corona_box {
  border-radius: 10px;
  border: 5px solid rgb(255, 234, 234);
  padding: 2em;
  margin: 0 auto 4em;
}
body.page-template-page-rehab section.content .corona_box h3 {
  color: rgb(184, 0, 0);
  margin-left: 0;
  margin: 0;
}
body.page-template-page-rehab section.content .corona_box h3:before, body.page-template-page-rehab section.content .corona_box h3:after {
  border-color: rgb(255, 234, 234);
}
body.page-template-page-rehab section.content .corona_box ul {
  text-align: left;
  margin: 1.5em 0 0 3.8em;
}
body.page-template-page-rehab section.content .corona_box ul li {
  font-size: 18px;
  line-height: 2;
  color: #666;
  position: relative;
  padding-left: 1.4em;
  margin-top: 0.5em;
}
body.page-template-page-rehab section.content .corona_box ul li:before {
  content: "\f2f7";
  font-family: "Font Awesome 6 Pro";
  font-weight: 500;
  display: inline-block;
  color: var(--cl-main);
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content .corona_box {
    padding: 1em;
  }
  body.page-template-page-rehab section.content .corona_box ul {
    margin: 1.3em 0 0;
  }
  body.page-template-page-rehab section.content .corona_box ul li {
    font-size: 15px;
    line-height: 1.5;
  }
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab section.content p {
    font-size: 4vw;
  }
  body.page-template-page-rehab section.content table tr td,
  body.page-template-page-rehab section.content table tr th {
    display: block;
    text-align: left;
    font-size: 4vw;
  }
  body.page-template-page-rehab section.content table tr th {
    border-bottom: 0;
  }
  body.page-template-page-rehab section.content table tr td {
    border-top: 0;
    margin-bottom: 0.5em;
  }
}
body.page-template-page-rehab .wide {
  background-color: var(--cl-bg);
  padding: 3em 0;
}
/* そんな方はぜひ！の部分 */
body.page-template-page-rehab .wide .rehab_02 .row .caption {
  width: 45%;
}
body.page-template-page-rehab .wide .rehab_02 .row .caption h2 {
  font-size: 38px;
  font-weight: 600;
  color: var(--cl-main);
  text-shadow: 0 0 1px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 6px #fff, 0 0 5px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 2px #fff, 0 0 7px #fff, 0 0 8px #fff, 0 0 3px #fff;
  /* text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.16); */
}
body.page-template-page-rehab .wide .rehab_02 .row .desc {
  width: 55%;
}
body.page-template-page-rehab .wide .rehab_02 .row .desc p {
  text-align: left;
  color: #666;
  line-height: 2.4;
}
body.page-template-page-rehab .wide .rehab_02 h3 {
  color: var(--cl-sub);
  text-shadow: 0 0 1px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 6px #fff, 0 0 5px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 2px #fff, 0 0 7px #fff, 0 0 8px #fff, 0 0 3px #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 2em auto 1em;
}
body.page-template-page-rehab .wide .rehab_02 .photos {
  display: flex;
  justify-content: space-between;
  margin: 0 0 -6em 0;
}
body.page-template-page-rehab .wide .rehab_02 .photos figure {
  width: 32%;
}
body.page-template-page-rehab .wide .rehab_02 .photos figure img {
  border-radius: 10px;
  border: 5px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
  max-width: 100%;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab .wide .rehab_02 .row .caption {
    width: 100%;
  }
  body.page-template-page-rehab .wide .rehab_02 .row .caption h2 {
    font-size: 9.4vw;
  }
  body.page-template-page-rehab .wide .rehab_02 .row .desc {
    width: 100%;
  }
  body.page-template-page-rehab .wide .rehab_02 .row .desc p {
    line-height: 1.8;
    margin-top: 1em;
  }
  body.page-template-page-rehab .wide .photos figure img {
    border-width: 2px !important;
  }
}
body.page-template-page-rehab .row.images {
  align-items: flex-start;
}
body.page-template-page-rehab .row.images figure:first-child {
  margin-right: 1em;
}
body.page-template-page-rehab .row.images figure img {
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #ccc;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab .row.images {
    display: flex;
  }
}
body.page-template-page-rehab .wrap-in h3 {
  margin-top: 4em;
}
body.page-template-page-rehab.exercise .ex_01 .image {
  width: 40%;
  margin-bottom: 1em;
  order: 2;
  text-align: center;
}
body.page-template-page-rehab.exercise .ex_01 .image img {
  width: 75%;
}
body.page-template-page-rehab.exercise .ex_01 .desc {
  order: 1;
  width: 60%;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.exercise .ex_01 .image {
    width: 100%;
    width: 100%;
    order: 1;
  }
  body.page-template-page-rehab.exercise .ex_01 .image img {
    width: 60%;
  }
  body.page-template-page-rehab.exercise .ex_01 .desc {
    order: 2;
    width: 100%;
  }
}
body.page-template-page-rehab.exercise .ex_02 .image {
  width: 40%;
  margin-bottom: 1em;
  width: 35%;
  order: 2;
}
body.page-template-page-rehab.exercise .ex_02 .image img {
  border-radius: 8px;
}
body.page-template-page-rehab.exercise .ex_02 .desc {
  width: 60%;
  order: 1;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.exercise .ex_02 .image {
    width: 100%;
  }
  body.page-template-page-rehab.exercise .ex_02 .desc {
    width: 100%;
  }
}
body.page-template-page-rehab.exercise .ex_03 .image {
  width: 40%;
  margin-bottom: 1em;
  width: 35%;
}
body.page-template-page-rehab.exercise .ex_03 .image img {
  border-radius: 8px;
  width: 75%;
}
body.page-template-page-rehab.exercise .ex_03 .desc {
  width: 60%;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.exercise .ex_03 .image {
    width: 100%;
  }
  body.page-template-page-rehab.exercise .ex_03 .image img {
    width: 60%;
  }
  body.page-template-page-rehab.exercise .ex_03 .desc {
    width: 100%;
  }
}
/* サービス */
body.page-template-page-rehab.service .row.serv_01 figure {
  width: 47%;
}
body.page-template-page-rehab.service .row.serv_01 figure figcaption h4 {
  text-align: center;
  margin: 0;
  background-color: transparent;
}
body.page-template-page-rehab.service .row.serv_01 figure figcaption {
  text-align: left;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.service .row.serv_01 {
    display: block;
  }
  body.page-template-page-rehab.service .row.serv_01 figure {
    width: 100%;
    margin-bottom: 1.2em;
  }
}
/* タクティールケア */
body.page-template-page-rehab.service p.standout {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}
body.page-template-page-rehab.service .row.tactile figure {
  order: 2;
  width: 40%;
  margin-bottom: 1.2em;
}
body.page-template-page-rehab.service .row.tactile figure img {
  width: 100%;
}
body.page-template-page-rehab.service .row.tactile ul {
  order: 1;
  width: 60%;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.service .row.tactile {
    display: block;
  }
  body.page-template-page-rehab.service .row.tactile figure {
    width: 100%;
    margin-bottom: 1.2em;
  }
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab.service .row.tactile figure {
    width: 100%;
    text-align: center;
  }
  body.page-template-page-rehab.service .row.tactile figure img {
    width: 80%;
  }
  body.page-template-page-rehab.service .row.tactile ul {
    width: 100%;
  }
}
body.page-template-page-rehab.service img.size-full {
  border-radius: 8px;
  display: block;
}
body.page-template-page-rehab dl.flow {
  background: #fff url(../img/visit/flow_line.png) repeat-y 12% 0%/4% auto;
  border-radius: none;
  padding: 0;
}
body.page-template-page-rehab dl.flow dt {
  font-size: 24px;
  background-color: var(--cl-bg);
  padding: 10px 0 10px 20px;
  border-radius: 10px 0 0 10px;
  margin-bottom: 50px;
  text-align: left;
  text-shadow: 0 0 1px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 6px #fff, 0 0 5px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 2px #fff, 0 0 7px #fff, 0 0 8px #fff, 0 0 3px #fff;
}
body.page-template-page-rehab dl.flow dt i {
  font-weight: 500;
  display: inline-block;
  color: var(--cl-main);
  margin-right: 0.5em;
}
body.page-template-page-rehab dl.flow dt:last-of-type {
  margin-bottom: 0;
}
body.page-template-page-rehab dl.flow dd {
  width: 75%;
  margin-bottom: 50px;
  font-size: 18px;
  background-color: var(--cl-bg);
  padding: 10px;
  border-radius: 0 10px 10px 0;
}
body.page-template-page-rehab dl.flow dd div {
  background-color: #fff;
  border-radius: 8px;
  padding: 0.3em 0.5em;
}
body.page-template-page-rehab dl.flow dd div img {
  display: block;
  width: 70%;
  margin: 0.5em auto;
}
body.page-template-page-rehab dl.flow dd div small {
  line-height: 1.2;
  display: inline-block;
}
body.page-template-page-rehab dl.flow dd:last-of-type {
  margin-bottom: 0;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab dl.flow dt {
    border-radius: 10px 10px 0 0;
  }
  body.page-template-page-rehab dl.flow dt::after {
    display: none;
  }
  body.page-template-page-rehab dl.flow dt {
    margin-bottom: 0;
  }
  body.page-template-page-rehab dl.flow dd {
    width: 100%;
    border-radius: 0 0 10px 10px;
    padding-top: 0;
  }
}
body.page-template-page-rehab table.price {
  border: 1px solid #ccc;
  border-top: none;
  margin-top: 4em;
}
body.page-template-page-rehab table.price caption {
  border: 1px solid #ccc;
  border-bottom: none;
  width: auto;
  background-color: var(--cl-bg);
  color: var(--cl-main);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  padding: 0.5em;
  border-radius: 8px 8px 0 0;
}
body.page-template-page-rehab table.price tr {
  border-top: 1px dashed #ccc;
}
body.page-template-page-rehab table.price tr th {
  vertical-align: middle;
  background-color: #fff;
  border: 0;
  border-right: 1px dashed #ccc;
  padding: 0.5em 1em;
  text-align: right;
  color: var(--cl-sub);
  /* 加算項目 */
}
body.page-template-page-rehab table.price tr th.add {
  color: var(--cl-sub);
  text-align: center;
}
body.page-template-page-rehab table.price tr th.add i {
  margin-left: 1em;
  margin-right: 1em;
}
body.page-template-page-rehab table.price tr td {
  border: 0;
  padding: 0.5em 1em;
  text-align: left;
  color: #666;
}
body.page-template-page-rehab table.price tr td:nth-of-type(1) {
  text-align: center;
  border-right: 1px dashed #ccc;
}
/* 料金部分 */
body.page-template-page-rehab table.price tr td:nth-of-type(2) {
  font-weight: 600;
  text-align: right;
}
body.page-template-page-rehab table.price tr:hover th {
  background-color: rgb(254, 255, 211);
  color: rgb(212, 1, 1);
}
body.page-template-page-rehab table.price tr:hover th.add {
  color: var(--cl-sub);
  background: #fff;
}
body.page-template-page-rehab table.price tr:hover td {
  background-color: rgb(254, 255, 211);
}
body.page-template-page-rehab table.price tr:hover td:nth-of-type(1) {
  color: #333;
}
/* 料金部分 */
body.page-template-page-rehab table.price tr:hover td:nth-of-type(2) {
  color: rgb(212, 1, 1);
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab table.price caption {
    font-size: 18px;
  }
  body.page-template-page-rehab table.price tr {
    display: flex;
    flex-wrap: wrap;
  }
  body.page-template-page-rehab table.price tr th {
    border-right: none;
    width: 100%;
    background-color: var(--cl-bg);
    text-align: center !important;
  }
  body.page-template-page-rehab table.price tr td {
    padding: 0.5em 1em;
    margin: 0 !important;
  }
  body.page-template-page-rehab table.price tr td:nth-of-type(1) {
    width: 50%;
  }
/* 料金部分 */
  body.page-template-page-rehab table.price tr td:nth-of-type(2) {
    width: 50%;
    text-align: center;
  }
  body.page-template-page-rehab table.price tr:hover th {
    background-color: var(--cl-bg);
    color: rgb(212, 1, 1);
  }
}
body.page-template-page-rehab p.attention {
  text-align: right;
  font-size: 15px;
}
@media screen and (max-width: 800px) {
  body.page-template-page-rehab p.attention {
    text-align: center;
    font-size: 14px;
  }
}
