@charset "utf-8";

@media (max-width: 720px) {
  #wpadminbar {
    display: none !important;
  }

  html {
    margin-top: 0 !important;
    scroll-padding: 80px;
  }

  body {
    padding-top: 0;
    font-size: var(--body-font-size-sp);
    min-width: 360px;
  }
}

@media (max-width: 720px) {

.header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  width: 100%;
  background: #F4FBFC;
  z-index: 20;
}

.header-container {
  display: block;
}

.header-logo {
  padding: 10px 20px;
  height: 64px;
}

.header-logo img {
  width: 148px;
}

.header-navigation-sp-wrap {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: 0;
  background: #FCFCFC;
  transition-duration: 0.4s;
  overflow: hidden;
}

.header-navigation-sp-wrap.active {
  height: calc(100svh - 64px);
}

.header-navigation {
  display: block;
  flex-grow: 1;
  padding: 20px 30px;
  height: calc(100svh - 64px - 130px - 60px); /* header-logo - header-contact - padding */
  overflow-y: scroll;
}

.header-navigation > li {
  padding-bottom: 0;
  border-bottom: solid 2px #F3F3F3;
}

.header-navigation > li > a {
  padding: 5px 0;
  border-bottom: none;
}

.header-navigation > li > a span {
  font-size: 18px;
}

.header-navigation-child {
  position: static;
  display: block;
  margin-top: 0;
  padding: 0 0 8px 0;
  font-size: 18px;
  background: none;
  box-shadow: none;
  transform: translateX(0) !important;
}

.header-navigation-child ul {
  display: block;
  width: auto !important;
}

.header-navigation-child ul li {
  position: relative;
  padding: 2px 0 2px 24px;
}

.header-navigation-child ul li:last-child {
  border-bottom: none;
}

.header-navigation-child ul li:before {
  content: '';
  position: absolute;
  top: 0.9em;
  left: 0;
  display: block;
  width: 18px;
  height: 1px;
  background: #E9E9E9;
}

.header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  height: 130px;
  text-align: center;
  background: #EFF8F9;
}

.header-navigation-child ul > li > a {
  display: inline;
  text-align: left;
}

.header-navigation-child ul > li > a img {
  display: none;
}

.header-contact .reserve a img {
  width: 220px;
}

.header-contact .tel a {
  margin-bottom: 0;
}

.header-contact .tel a img {
  width: 240px;
}

.header-navigation-open {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}

.header-navigation-open a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  text-align: center;
  width: 64px;
  height: 64px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: #22B6C3;
}

.header-navigation-open a span.icon {
  display: block;
  transition: all .4s;
  position: relative;
  margin: 0 0 20px 0;
  width: 26px;
  height: 2px;
  background: #fff;
}

.header-navigation-open a span.icon:before,
.header-navigation-open a span.icon:after {
  content: '';
  display: block;
  transition: all .4s;
  position: absolute;
  left: 0;
  top: 9px;
  width: 26px;
  height: 2px;
  background: #fff;
}

.header-navigation-open a span.icon:after { top: -9px; }
.header-navigation-open a span.text-active { display: none; }
.header-navigation-open a.active span.text { display: none; }
.header-navigation-open a.active span.text-active { display: inherit; }
.header-navigation-open a.active span.icon { background: transparent; }
.header-navigation-open a.active span.icon:before,
.header-navigation-open a.active span.icon:after {
  left: -3px;
  top: 6px;
  width: 34px;
  background: #fff;
  transform: translateY(-6px) rotate(-45deg);
}

.header-navigation-open a.active span.icon:after { transform: translateY(-6px) rotate(45deg); }

.main {
  padding-top: 64px;
}

.section-contact h3 {
  padding-inline: 64px;
  line-height: 1.6;
  text-align: center;
  background-size: 44px auto;
}

.section-contact-list h4 {
  font-size: 18px;
}

.section-contact-list a {
  margin-inline: auto;
  max-width: 360px;
  font-size: 20px;
}

.footer-map iframe {
  height: 240px;
}

.footer-info {
  padding-block: 20px 10px;
  font-size: 16px;
}

.footer-info-row {
  display: block;
}

.footer-logo img {
  width: 246px;
}

.footer-access img {
  width: 190px;
}

.footer-info-col-1 {
  margin-bottom: 30px;
}

.footer-info-time {
  padding-bottom: 10px;
  border-radius: 4px;
}

table.table-time thead th {
  padding: 4px;
  width: 10%;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  background: #71D6DE;
}

table.table-time tbody th,
table.table-time tbody td,
table.table-time tbody tr:first-child th,
table.table-time tbody tr:first-child td {
  padding: 8px 4px;
  vertical-align: middle;
  line-height: 1.2;
}

table.table-time tbody th {
  font-size: 16px;
}

table.table-time tbody td {
  font-size: 14px;
}

.footer-totop {
  position: static;
  text-align: right;
  padding: 0 15px 10px 0;
}

.footer-totop img {
  width: 70px;
}

/**/

.h3 {
  margin-bottom: 18px;
  padding-bottom: 6px;
  font-size: 26px;
  border-width: 2px;
}

.h4 {
  padding-left: 16px;
  font-size: 22px;
  background-size: auto 24px;
}

.h-slash {
  font-size: 22px;
}

.h-bar {
  padding: 8px 12px;
  font-size: 22px;
}

.h5 {
  margin-bottom: 12px;
  padding-left: 20px;
  font-size: 22px;
  background-size: auto 24px;
}

.pagination {
  gap: 4px;
}

.pagination a,
.pagination span {
  min-width: 34px;
  height: 34px;
  font-size: 16px;
}

.list-element > li {
  margin-bottom: 20px;
  padding: 30px 20px 20px 20px;
}

.list-element > li:last-child {
  margin-bottom: 0;
}

.list-element > li:before {
  padding: 3px 32px;
  font-size: var(--body-font-size-16);
}

.list-check > li {
  padding-left: 30px;
  background-position: left 0 top 0.3em;
  background-size: 20px;
}

.list-flow > li {
  margin-bottom: 45px;
  padding: 20px;
}

.list-flow > li:after {
  bottom: -30px;
  margin-left: -16px;
  border-width: 15px 16px 0 16px;
}

.list-flow > li .list-flow-h {
  margin-bottom: 15px;
  padding: 0 0 12px 54px;
  min-height: 54px;
  font-size: 22px;
}

.list-flow > li .list-flow-h:before {
  width: 42px;
  height: 42px;
  line-height: 42px;
  font-size: var(--body-font-size-24);
  border-radius: 21px;
}

.link-more {
  display: table;
  margin-inline: auto;
  min-width: 220px;
  transform: rotate(0);
}

/**/

.main-image {
  padding: 0;
}

.main-image-content {
  left: 0;
  bottom: 0;
  padding: 20px;
}

.main-image-text {
  margin-bottom: 25px;
  width: auto;
}

.main-image-icon {
  width: 240px;
}

.home-h-section {
  margin-bottom: 30px;
  padding-top: 45px;
  font-size: 22px;
  background-size: auto 32px;
}

.home-intro-content {
  display: block;
}

.home-intro-content .image {
  margin-bottom: 20px;
  width: auto;
}

.home-intro-content .text {
  max-width: 100%;
}

.home-news-list {
  margin-bottom: 10px;
}

.home-news-list li:last-child {
  background: none;
}

.home-news-list li a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 4px;
  justify-content: flex-start;
  padding: 16px 0 8px 0;
}

.home-news-list li a .date {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-size: 14px;
}

.home-news-list li a .icon {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  max-width: 60px;
  font-size: 14px;
}

.home-news-list li a .title {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  padding-left: 0;
}

.home-service {
  padding-bottom: 60px;
}

.home-service-list {
  gap: 15px;
}

.home-service-list li {
  flex-basis: calc(100% / 2 - 15px / 2 * 1);
}

.home-service-list li a {
  padding: 10px;
  font-size: 18px;
  border-radius: 8px;
  aspect-ratio: auto;
}

.home-service-list li a .icon {
  height: 64px;
}

.home-service-list li a .icon img {
  max-width: 72px;
  max-height: 48px;
}

.home-service-list li a:after {
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top: 10px solid #fff;
}

.home-feature-list {
  padding-top: 30px;
}

.home-feature-list li,
.home-feature-list li:nth-child(even) {
  margin-bottom: 56px;
  background-position: right 30px bottom 0;
  background-size: 190px;
}

.home-feature-list li:last-child {
  margin-bottom: 0;
}

.home-feature-list li .list-item-inner {
  display: block;
  padding: 0 15px 20px 15px;
  background: linear-gradient(to bottom, #F4FBFC 0%, transparent 100px);
}

.home-feature-list li .image {
  margin-bottom: 8px;
  width: auto;
}

.home-feature-list li .image:before,
.home-feature-list li:nth-child(even) .image:before {
  right: 20px;
  left: auto;
  top: -25px;
  height: 56px;
  background-position: right;
}

.home-feature-list li .text {
  max-width: 100%;
}

.home-feature-list li h3 {
  margin-bottom: 12px;
  padding: 12px 0 ;
  font-size: 19px;
  background-size: 54px;
	text-align:center;
}

.commitment-list li h3 {
    text-align: left;
    padding: 12px 0 12px 65px;
}

/**/

.sub-image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 120px;
  font-size: 24px;
  background-color: #71D6DE;
}

.page-index {
  position: static;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-height: initial;
  min-height: 90px;
  border: none;
  border-radius: 0;
  overflow-y: initial;
}

.page-index.fixed {
  position: static;
  top: 0;
}

.page-index ul {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 0;
  padding: 16px 10px;
  background: #fff;
  overflow-x: scroll;
}

.page-index ul::-webkit-scrollbar{
  display:none;
}

.page-index.fixed ul {
  position: fixed;
  top: 64px;
  z-index: 10;
}

.page-index ul li {
  border: none !important;
}

.page-index ul li:last-child {
  margin-bottom: 0;
}

.page-index ul li a {
  display: block;
  padding: 10px 8px 20px 8px;
  min-height: 0;
  white-space: nowrap;
  font-size: var(--body-font-size-14);
  background: #F5FBFC left 50% bottom 8px url(../images/page_index_bg.webp) no-repeat !important;
  background-size: 10px !important;
}

/* blog */

.blog-category-list {
  gap: 10px;
}

/**/

.about-info {
  padding-block: 20px 10px;
  font-size: 16px;
}

.about-info-row {
  display: block;
}

.about-logo img {
  width: 246px;
}

.about-access img {
  width: 190px;
}

.about-info-col-1 {
  margin-bottom: 30px;
}

.about-info-time {
  padding-bottom: 10px;
  border-radius: 4px;
}

.about-map iframe {
  height: 250px;
}

/* recruit */

.recruit-table {
  width: 100%;
  border: none;
}

.recruit-table th {
  display: block;
  padding: 8px 15px;
  width: 100% !important;
  font-size: 18px;
}

.recruit-table td {
  padding: 8px 15px;
  display: block;
  width: 100% !important;
}

.recruit-table tr:first-child th { border-radius: 6px 6px 0 0; }
.recruit-table tr:first-child td { border-radius: 0; }
.recruit-table tr:last-child th { border-radius: 0; }
.recruit-table tr:last-child td { border-radius: 0 0 10px 10px; }

/* price */

.price-table th {
  padding: 5px 10px;
  line-height: 1.4;
}

.price-table td {
  padding: 5px 10px;
}

/* shinbi */

.shinbi-treatment-h {
  padding: 12px 15px;
}

.shinbi-treatment-content {
  padding: 12px 15px;
}

.shinbi-treatment-table th {
  width: auto;
  font-weight: 400;
}

/* geka */

.service-merit {
  display: block;
  border-radius: 6px;
}

.service-merit > * {
  flex: 1;
  border-right: none;
  border-bottom: solid 1px #EEEEEE;
}

.service-merit > *:last-child {
  border-bottom: none;
}

.service-merit-h {
  padding: 12px;
  text-align: center;
}

.service-merit-content {
  padding: 15px;
}


}
