@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}
/* Remove default padding */
ul[class], ol[class] {
  padding: 0;
}
/* Remove default margin */
body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* Remove list styles on ul, ol elements with a class attribute */
ul[class], ol[class] {
  list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}
/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}
/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
  font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%
}
html {
  overflow-y: scroll;
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: .05em;
  color: #404040;
  text-align: center;
  background-color: #fefcf4;
}
.cf:after {
  content: "";
  display: block;
  clear: both
}
.cf:before {
  content: "";
  display: block;
  clear: both
}
.cf {
  display: block
}
@media(max-width: 599px) {
  .pc {
    display: none;
  }
}
@media(min-width: 600px) {
  .sp {
    display: none;
  }
}
h1, h2, h3, h4, h5, h6, th, td, address, dl, ul, em {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  font-style: normal
}
a {
  color: #404040;
  text-decoration: none
}
.link {
  text-decoration: underline !important;
}
p, a, li, th, td {
  font-size: 1.6rem;
  font-size: 16px;
}
p {
  margin-bottom: 1em !important;
  line-height: 2;
}
@media (min-width: 600px) {
  p, a, li, th, td {
    font-size: 1.8rem;
    font-size: 18px;
    line-height: 2;
  }
}
.text__red {
  color: #ff1d42;
}
em, .bold {
  font-weight: bold
}
.uline {
  text-decoration: underline !important
}
ul {
  list-style-type: none
}
.list-disc {
  margin-bottom: 1em !important;
}
.list-disc, .list-disc dd {
  padding: 0 0 0 1.5em !important;
  list-style-type: disc !important
}
.list-decimal {
  margin: 0 0 1em .5em !important;
  padding: 0 0 0 1.5em !important;
  list-style-type: decimal !important
}
img {
  /*width: 100%;
  height: auto;*/
}
table {
  border-collapse: collapse
}
table.detail {
  margin: 0 auto 30px;
  width: 100%;
  border-top: 1px solid #dfdfdf
}
table.detail caption {
  font-weight: bold
}
table.detail caption, table.detail th, table.detail td {
  padding: 10px;
  border-bottom: 1px solid #dfdfdf
}
table.table01 {
  margin: 0 auto 30px;
  width: 100%;
  border-top: 1px solid #dfdfdf
}
table.table01 th, table.table01 td {
  border-bottom: 1px solid #dfdfdf
}
table.table02 {
  margin: 0 auto 30px;
  width: 100%;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: #dfdfdf
}
table.table02 th, table.table02 td {
  border-bottom: 1px solid #dfdfdf
}
table.table02 td {
  background: #fff
}
header, main, footer {
  width: 100%
}
.scroll {
  margin-bottom: 20px;
  overflow: auto;
  white-space: nowrap
}
.zoomHover {
  position: relative;
  z-index: 1;
  overflow: hidden
}
.zoomHover img {
  transition: .5s;
  transform: scale(1)
}
.zoomHover img:hover {
  transform: scale(1.2, 1.2)
}
.section-wrap {
  width: 100%;
  text-align: center;
}
.bg__white {
  background-color: #fff;
}
.bg__brown {
  background-color: #ff1451;
}
section {
  margin: 0 auto;
  padding: 30px 0;
  width: min(860px, 80%);
  text-align: left;
}
.advantage__picture img {
  display: block;
  margin-bottom: 20px !important;
}
.header__title {
  color: #ff1451;
}
.header__wrap {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 799px) {
  .header__title {
    margin-top: 30px;
    margin-right: 10px;
    font-size: 1.0rem;
    color: #ff1451;
  }
  .header__title span {
    display: block;
    font-size: 13px;
  }
}
@media(min-width:800px) {
  .header__wrap {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
  }
  .header__title {
    margin: 20px;
    font-size: 1.2rem;
  }
  section {
    padding: 40px 0;
  }
  .advantage__picture img {
    margin-bottom: 30px !important;
  }
  .header__logo {
    width: 120px;
    height: auto;
  }
}
.hero__wrap {
  position: relative;
}
.header {
  position: absolute;
  top: 0;
  z-index: 10;
}
.header__logo img {
  width: 100%;
  height: auto;
}
@media(min-width:800px) {
  /*.header__title, .header__title span {
    font-size: 16px;
  }
  .header__title span {
    display: inline;
  }*/
}
.hero {
  position: relative;
  top: -90px;
  width: 100%;
  text-align: center;
  background-size: cover;
  background-position: 100% 100%;
}
.hero__inner {
  position: relative;
  top: 90px;
  margin: 0 5%;
  width: 90%;
  height: calc(100% - 140px);
  text-align: left;
}
.hero__copy_title, .hero__copy__price, .hero__copy__caption {
  color: #ff1451;
}
.hero__copy__title span {
  font-size: 40px;
}
.hero__copy__title {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
}
.hero__copy__price th, .hero__copy__price td {
  border: 1px solid #ff1451;
}
.hero__copy__price {
  margin-bottom: 20px;
}
.hero__copy__price th {
  padding: 10px;
  font-size: 20px;
}
.hero__copy__price th small {
  font-size: 16px;
}
.hero__copy__price td {
  font-size: 36px;
  font-weight: 700;
}
.hero__copy__caption {
  margin-bottom: 20px;
  font-size: 16px;
}
.hero__copy__wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  max-width: 570px;
  height: 100%;
}
.heroContact {
  display: none
}
.hero_future_wrap {
  margin-top: auto;
}
.hero__future {
  display: flex;
  justify-content: space-between;
}
.hero__future__item {
  margin-bottom: 30px;
  width: 30%;
  max-width: 180px;
  position: relative;
  border-radius: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
}
.hero__future__item::before {
  display: block;
  content: '';
  padding-top: 100%;
}
.hero__future__item__text {
  color: #ff1451;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
}
.hero__future__item span {
  display: block;
  font-size: 14px;
}
@media (max-width: 900px) and (orientation:landscape) {
  .hero__inner {
    top: 70px !important;
  }
  .hero__copy__wrap {
    width: 55% !important;
  }
  .hero__copy__title {
    margin-bottom: 0 !important;
    font-size: 24px !important;
  }
  .hero__copy__title span {
    font-size: 36px !important;
  }
  .hero__copy__price th, .hero__copy__price td {
    border: 1px solid #ff1451;
  }
  .hero_copy_price {
    margin-bottom: 10px !important;
    display: inline-block !important;
  }
  .hero__copy__price th {
    padding: 5px !important;
    font-size: 20px !important;
  }
  .hero__copy__price th small {
    font-size: 15px !important;
  }
  .hero__copy__price td {
    padding: 0 5px !important;
    font-size: 28px !important;
  }
  .hero__copy__caption br {
    display: none;
  }
  .hero__copy__caption {
    margin-bottom: 10px !important;
    font-size: 13px !important;
  }
  .hero__future__item__text {
    font-size: 30px !important;
  }
  .hero__future__item span {
    font-size: 14px !important;
  }
}
@media(min-width: 600px) {
  .hero {
    text-align: center;
    background-size: cover;
    background-position: 50% 50%;
  }
  .hero__inner {
    position: relative;
    top: 100px;
    margin: 0 auto;
    max-width: 1240px;
    height: calc(100% - 100px) !important;
  }
  .hero__copy__title span {
    font-size: 68px;
  }
  .hero__copy__title {
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 700;
  }
  .hero__copy__price {
    margin-bottom: 30px;
  }
  .hero__copy__price th {
    padding: 15px;
    font-size: 30px;
  }
  .hero__copy__price th small {
    font-size: 30px;
  }
  .hero__copy__price td {
    font-size: 60px;
    font-weight: 700;
  }
  .hero__copy__caption {
    margin-bottom: 30px;
    font-size: 26px;
    text-align: left;
  }
  .hero__future__item {
    margin-bottom: 10px;
  }
  .hero__future__item__text {
    font-size: 50px;
    text-align: center;
  }
  .hero__future__item span {
    display: block;
    font-size: 20px;
  }
  .welcome__head__text {
    padding: 40px 80px !important;
  }
}
.welcome__head__text {
  padding: 20px;
  font-size: 0.9rem;
  border-radius: 20px;
  background: #fff;
}
.welcome__head__text img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 30px;
  text-align: center;
}
.sub__title {
  display: flex;
  justify-content: center;
  margin: 0 auto 1em;
  font-size: 2.0rem;
  color: #ff1451;
}
@media (min-width: 600px) {
  .sub__title {
    font-size: 2.4rem;
  }
}
.text__wrap {}
.problem__title, .benefit__title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  text-align: center;
}
.list__item, .benefit__list__item {
  margin: 0 2em 1em 1em;
  list-style-type: square;
  list-style-position: outside;
}
.benefit__list {
  display: flex;
  flex-wrap: wrap;
}
.benefit__list__item {
  display: inline-block;
  margin: 0 1em 1em 0;
  padding: 0.5em;
  list-style: none;
  border-radius: 10px;
  background: #fff;
}
picture img {
  display: block;
  margin: 0 auto 30px;
}
.course__list {
  margin-left: 1em !important;
  list-style: disc;
}
@media(min-width:800px) {
  .text__wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: max-content 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .problem__title {
    margin: 0;
    grid-area: 1 / 2 / 2 / 3;
    text-align: left;
  }
  picture {
    grid-area: 1 / 1 / 3 / 2;
  }
  .course__list {
    grid-area: 2 / 2 / 3 / 3;
  }
  .benefit__wrap {
    display: grid;
    grid-template-columns: 1fr 540px;
    grid-template-rows: max-content 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .benefit__title {
    margin: 0;
    grid-area: 1 / 1 / 2 / 2;
    text-align: left;
  }
  .benefit__picture {
    grid-area: 1 / 2 / 3 / 3;
  }
  .benefit__list {
    grid-area: 2 / 1 / 3 / 2;
  }
}
.course__title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  text-align: center;
}
.course__box {
  margin: 0 auto 30px;
  width: 100%;
  /*max-width: 860px;*/
  text-align: center;
  border-top: 1px solid #d2d2d2;
  background-color: #fff;
}
.course__box__title, .course__box__price {
  padding: 10px;
  border-bottom: 1px solid #d2d2d2;
}
.course__box__title {
  font-size: 1rem;
}
.course__box__price {
  font-size: 1rem;
  font-weight: 700;
  color: #ff1d42;
}
.course__box__price small {
  font-size: 12px;
}
.course__box__price span {
  font-size: 36px;
}
.annualfee {
  border: 3px solid #ff1d42;
}
@media (min-width: 600px) {
  .course__box__title {
    font-size: 20px;
  }
  .course__box__price {
    font-size: 22px;
  }
  .course__box__price small {
    font-size: 16px;
  }
  .course__box__price span {
    font-size: 45px;
  }
  .course__box__price br {
    /*display: none;*/
  }
}
.advantage__title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  text-align: center;
}
.advantage__caption {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  fons-tize: 20px;
  font-size: 2rem;
  background: linear-gradient(transparent 80%, #ff1d42 80%);
}
.advantage__text {
  margin-bottom: 1em;
}
@media (min-width: 600px) {
  .advantage__caption {
    fons-tize: 24px;
    font-size: 2.4rem;
  }
}
.flow__title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  text-align: center;
}
.flow__list {
  counter-reset: list;
}
.flow__item {
  position: relative;
  margin-bottom: 30px;
  border: 1px solid #ff1451;
}
.flow__item__head::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 50px;
  height: 50px;
  counter-increment: list;
  content: counter(list);
  font-size: 30px;
  text-align: center;
  color: #fff;
  transform: translateY(-50%);
  background: #ff1451;
}
.flow__item__head {
  margin: 10px 10px 10px 60px;
  height: 40px;
  color: #ff1451;
  font-size: 20px;
  font-size: 2rem;
}
.flow__item__text {
  margin: 10px 30px 30px 60px;
}
.bottom__contact__wrap {
  position: fixed;
  bottom: 0;
  padding: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  z-index: 100;
}
.bottom__contact__title {
  padding: 5px 0;
  font-size: clamp(1.25rem, 0.313rem + 4.69vw, 3.125rem);
  color: #fff;
  background-color: #ff1451;
}
.bottom__contact__comment {
  display: none;
}
.contact__btn__wrap {
  margin: 20px auto;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
}
.contact__btn__wrap li {
  width: calc(100% / 2);
}
.contact__btn__wrap a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 60px;
  color: #ff1451;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: #fff;
}
.contact__btn__wrap a span {
  margin-top: auto;
}
.contact__btn__wrap a::before {
  content: '';
  display: inline-block;
  margin: 10px auto;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}
.contact__btn__wrap a, .contact__btn__wrap a::before {
  transition: .8s ease;
}
.contact__btn__wrap a:hover {
  color: #fff;
  background-color: #e2d5c5;
}
.contact__btn__phone::before {
  background-image: url("../img/visitrehabilitation/icon-contact-phone.png");
}
.contact__btn__mail::before {
  background-image: url("../img/visitrehabilitation/icon-contact-mail.png");
}
.contact__btn__line::before {
  background-image: url("../img/visitrehabilitation/icon-contact-line.png");
}
.contact__btn__phone:hover::before {
  background-image: url("../img/visitrehabilitation/icon-contact-phone-wh.png");
}
.contact__btn__mail:hover::before {
  background-image: url("../img/visitrehabilitation/icon-contact-mail-wh.png");
}
.contact__btn__line:hover::before {
  background-image: url("../img/visitrehabilitation/icon-contact-line-wh.png");
}
@media (min-width: 600px) {
  .bottom__contact__wrap {
    position: relative;
    z-index: 0;
    padding: 30px 0;
    max-width: 720px;
  }
  .bottom__contact__title, .bottom__contact__comment {
    display: block;
  }
  .bottom__contact__title {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #fff;
  }
  .bottom__contact__comment {
    font-size: 18px;
    font-size: 1.8rem;
  }
  .contact__btn__wrap {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  .contact__btn__wrap li {
    width: calc((100% - 60px) / 2);
    max-width: 340px;
  }
  .contact__btn__wrap a {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    font-size: 1.2rem;
  }
  .contact__btn__wrap a span {
    margin-top: 4px;
  }
  .contact__btn__wrap a::before {
    margin: 0 8px 0 0;
    width: 32px;
    height: 32px;
  }
}
.contactformTable {
  width: 100%;
}
.contactformTable th {
  font-weight: 700;
  background-color: #fff;
}
.contactformTable th, .contactformTable td {
  border-bottom: 2px solid #f0f0f0;
}
.required {
  display: inline-block;
  margin-left: 10px;
  padding: 0 0.2em;
  color: #fff;
  font-size: 1.4rem;
  font-size: 14px;
  border-radius: 6px;
  background-color: #ff3b1b;
}
.wpcf7-not-valid-tip {
  display: block;
  color: #ff3b1b;
}
.wpcf7-response-output {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0.5em;
  border: 1px solid #ff3b1b;
  font-weight: 700;
}
.wpcf7-list-item-label {
  padding-right: 2em;
}
.contactformTable select, .contactformTable input, .contactformTable textarea, .contactformTable .submitBox {
  padding: 0.5em;
}
.contactformTable input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 10px;
}
.wpcf7-text, .wpcf7-textarea {
  margin: 0 auto;
  width: 100%;
}
.agreeBox {
  text-align: left;
  border-bottom: none !important;
}
.submitBox {
  text-align: center;
  border-bottom: none !important;
  background: #fff;
}
.wpcf7-spinner {
  display: none !important;
}
.wpcf7-submit {
  margin: 20px auto;
  width: 10em;
  color: #333;
  background-color: #fff;
}
@media (max-width: 799px) {
  .contactformTable th, .contactformTable td {
    display: block;
  }
  .contactformTable th {
    padding: 10px;
  }
  .contactformTable td {
    padding: 20px 0;
  }
}
@media (min-width:900px) {
  .contactformWrap {}
  .contactformTable th, .contactformTable td {
    padding: 20px;
  }
  .contactformTable th {
    width: 300px;
  }
  .contactformTable td {
    width: calc(100% - 300px);
  }
}
footer {
  padding-bottom: 150px;
}
.footer__wrap {
  display: flex;
  margin: 0;
  width: 100%;
  align-content: center;
  align-items: center;
}
.address__wrap {
  margin: 20px auto;
  display: flex;
  flex-direction: column;
}
.footer__logo {
  margin: 0 auto 30px;
  width: 200px;
  height: auto;
}
.footer__address__wrap {
  text-align: center;
  margin-left: 10px;
}
.footer__address__wrap li {
  margin-bottom: 10px;
}
.footer__name {
  font-size: 17px;
}
.footer__address {
  font-size: 15px;
}
.footer__phone {
  font-size: 17px;
}
.copyright__wrap {
  padding: 10px 0;
  width: 100%;
}
.copyright {
  font-size: 13px;
  color: #ff1451;
}
.googlemap__wrap iframe {
  width: 100%;
  height: 400px;
}
.address__wrap {
  text-align: center;
}
@media (min-width:600px) {
  footer {
    padding-bottom: 0;
  }
  .address__wrap {
    margin: 30px auto;
    flex-direction: row;
  }
  .footer__logo {
    margin: 0 20px 0 0;
    width: 220px;
    height: auto;
  }
  .footer__address__wrap {
    margin-left: 20px;
    text-align: left;
  }
  .footer__address__wrap li {
    margin-bottom: 10px;
  }
  .footer__name {
    font-size: 19px;
  }
  .footer__address {
    font-size: 17px;
  }
  .footer__phone {
    font-size: 19px;
  }
  .copyright__wrap {
    padding: 30px 0;
  }
  .copyright {
    font-size: 15px;
  }
}
.button__pagetop {
  position: fixed;
  right: 10px;
  bottom: 110px;
  display: block;
  width: 40px;
  height: 40px;
  opacity: 0;
  z-index: 100;
  transition: opacity 0.4s ease-in;
  border: 1px solid #ff1451;
  background: #fff;
}
.button__pagetop.fadein {
  opacity: 1;
}
@media (min-width: 600px) {
  .button__pagetop {
    right: 30px;
    bottom: 90px;
  }
}
.button__pagetop img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 16px;
}
@media (max-width: 799px) {
  .comparison__table {
    display: block;
    white-space: nowrap;
    overflow-x: scroll;
  }
}
.comparison__table {
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.comparison__table thead th {
  color: #fff;
  background: #333;
}
.comparison__table th, .comparison__table td {
  padding: 1em;
  border: 2px solid #999;
  text-align: center;
}