/* Responsive pilot for src/index.html. Scope selectors to added classes only. */

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-shell {
  width: 100%;
  padding: 0 12px;
}

.site-container,
.site-frame,
.site-card {
  width: 100% !important;
  max-width: 900px;
}

.site-container {
  margin: 0 auto;
}

.site-hero-table,
.site-content-grid,
.site-nav-bar {
  table-layout: fixed;
}

.site-hero-table {
  width: 100%;
}

.site-hero-table,
.site-content-grid {
  border-spacing: 0;
  gap: 0;
}

.site-hero {
  height: 303px;
  min-height: 303px;
  background-size: cover !important;
  background-position: center center !important;
}

.site-intro-panel,
.site-sidebar,
.site-nav-side {
  box-sizing: border-box;
  width: 225px !important;
}

.site-intro-panel,
.site-sidebar {
  background-color: #ffffff !important;
  background-image: none !important;
}

.site-intro-panel img,
.site-main img,
.site-sidebar img {
  max-width: 100%;
  height: auto;
}

.site-nav-cell {
  width: auto;
}

.site-nav-main {
  width: auto;
}

.site-nav {
  max-width: 100%;
  height: 30px;
}

.site-nav-item {
  min-height: 30px;
  padding: 0 !important;
  background-color: #000000 !important;
  background-image: none !important;
}

.site-nav-item-active {
  background-color: #4e7e02 !important;
  background-image: none !important;
}

.site-nav-decorator {
  display: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-height: 30px;
  box-sizing: border-box;
  padding: 0 8px;
  background-color: transparent;
  line-height: 1.2;
}

.site-nav-item-active > a {
  background-color: #4e7e02 !important;
}

.site-main {
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-main h1 {
  line-height: 1.3;
}

.home-feature-grid {
  width: 100%;
}

.home-copy {
  padding-right: 18px;
}

.home-appointment {
  width: 190px;
}

.appointment-image,
.profile-image {
  display: block;
}

.profile-image {
  margin-bottom: 12px;
}

.site-placeholder-link {
  display: none;
}

.certifications {
  text-align: center;
}

.certifications p {
  margin-bottom: 12px;
}

.certifications-title {
  margin-top: 12px;
}

.cert-image {
  display: inline-block;
}

.site-container a:focus-visible {
  outline: 3px solid #d32f2f;
  outline-offset: 3px;
  text-decoration: underline;
}

.site-footer {
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 16px 24px;
  color: #555555;
  background: #ffffff;
  border: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.site-footer p {
  margin: 0;
}

.mobile-menu {
  display: none;
}

.site-shell,
.site-container,
.site-frame,
.site-card,
.site-hero-table,
.site-content-grid,
.site-nav-bar,
.site-nav-main,
.site-nav-side,
.site-nav-item,
.site-nav-decorator,
.site-main,
.site-sidebar,
.site-intro-panel,
.site-footer {
  border: 0 !important;
}

@media (max-width: 920px) {
  .site-shell {
    padding: 0 10px;
  }

  .site-frame,
  .site-card {
    max-width: 100%;
  }

}

@media (max-width: 768px) {
  .site-hero-table,
  .site-hero-table tbody,
  .site-hero-table tr,
  .site-content-grid,
  .site-content-grid tbody,
  .site-content-grid tr,
  .home-feature-grid,
  .home-feature-grid tbody,
  .home-feature-grid tr {
    display: block;
    width: 100%;
  }

  .site-hero,
  .site-intro-panel,
  .site-main,
  .site-sidebar,
  .home-copy,
  .home-appointment {
    display: block;
    width: 100% !important;
  }

  .site-hero {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 715 / 303;
    line-height: 0;
  }

  .site-intro-panel,
  .site-sidebar {
    padding: 18px !important;
    border-left: 0 !important;
  }

  .site-intro-panel {
    padding-bottom: 0 !important;
  }

  .site-main {
    padding: 22px 18px 18px !important;
    border-left: 0 !important;
  }

  .site-nav-bar {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin: 14px 0 12px;
    width: 100%;
    background: #ffffff;
  }

  .mobile-menu summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 14px;
    color: #ffffff;
    background: #4e7e02;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-menu-icon {
    font-size: 1.25rem !important;
  }

  .mobile-menu-links {
    display: grid;
    gap: 0;
    padding: 0;
    background: #ffffff;
  }

  .mobile-menu-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 14px;
    color: #173000;
    background: #f4f7ef;
    font-size: 0.98rem;
    font-weight: bold;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .mobile-menu-link-active {
    color: #ffffff;
    background: #4e7e02;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:focus-visible,
  .mobile-menu summary:hover,
  .mobile-menu summary:focus-visible {
    outline: 3px solid #d32f2f;
    outline-offset: -3px;
    text-decoration: underline;
  }

  .home-copy {
    padding-right: 0;
  }

  .home-appointment {
    padding-top: 18px;
    text-align: center;
  }

  .appointment-image,
  .profile-image {
    max-width: min(100%, 220px);
  }

  .appointment-image {
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .site-shell {
    padding: 0;
  }

  .site-main {
    padding: 22px 16px 16px !important;
  }

  .site-intro-panel {
    padding: 16px 16px 0 !important;
  }

  .site-sidebar {
    padding: 16px !important;
  }

  .site-main {
    font-size: 1rem;
  }
}

.site-main,
.site-sidebar,
.site-intro-panel {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.site-main table {
  max-width: 100%;
}

@media (max-width: 768px) {

  .site-main table:not(.home-feature-grid) {
    width: 100% !important;
    max-width: 100%;
  }

  .site-main table:not(.home-feature-grid) td {
    padding: 3px 8px 3px 0;
    vertical-align: top;
  }

  .site-main ul,
  .site-main ol {
    margin-left: 1.25rem;
    padding-left: 0.5rem;
  }

  .site-sidebar img {
    display: block;
    margin-inline: auto;
  }
}

/* Visual end correction */
.site-main,
.site-sidebar,
.site-intro-panel {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.site-main {
  font-size: 14px;
  line-height: 1.5;
}

.site-main p,
.site-main li,
.site-main a,
.site-main p span,
.site-main p font,
.site-main li span,
.site-main li font,
.site-main .home-copy,
.site-main .home-copy div,
.site-main .home-copy strong {
  font-size: 14px !important;
  line-height: 1.5;
}

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.content-subheading {
  color: #4e7e02;
  line-height: 1.3;
  margin-block: 1.4em 0.55em;
}

.site-main > h1:first-child,
.site-main > h2:first-child,
.site-main > h3:first-child,
.site-main > .content-subheading:first-child {
  margin-top: 0;
}

.site-main h1,
.site-main h1 * {
  font-size: 22px !important;
}

.site-main h2,
.site-main h2 *,
.content-subheading,
.content-subheading * {
  font-size: 18px !important;
}

.site-main h3,
.site-main h3 * {
  font-size: 16px !important;
}

.site-intro-panel,
.site-sidebar {
  font-size: 13px;
  line-height: 1.4;
}

.site-intro-panel p,
.site-intro-panel a,
.site-intro-panel p span,
.site-intro-panel p font,
.site-sidebar p,
.site-sidebar a,
.site-sidebar li,
.site-sidebar p span,
.site-sidebar p font {
  font-size: 13px !important;
  line-height: 1.4;
}

.site-intro-panel strong,
.site-sidebar h3,
.site-sidebar strong {
  color: #4e7e02;
  font-size: 15px !important;
  font-weight: bold;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.site-sidebar h3 {
  margin: 0 0 10px;
}

.site-main p,
.site-sidebar p,
.site-intro-panel p {
  margin-block: 0 1em;
}

.site-main .content-subheading {
  display: block;
  margin-block: 1.4em 0.55em !important;
}

.site-main > .content-subheading:first-child {
  margin-top: 0 !important;
}

.site-main ul,
.site-main ol {
  margin-block: 0.75em 1em;
}

.site-main br {
  display: block;
  content: "";
  margin-top: 0.8em;
}

.sidebar-heading {
  margin-top: 0;
}

.sidebar-heading strong {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.content-section {
  margin-block: 1.6em 0;
}

.parking-section p:first-child {
  margin-bottom: 0.45em;
}

.opening-hours-title {
  margin-bottom: 10px !important;
}

.opening-hours {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  max-width: 430px;
}

.opening-hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: baseline;
}

.opening-hours-day,
.opening-hours-time {
  overflow-wrap: normal;
  word-break: normal;
}

.opening-hours-time {
  text-align: right;
  white-space: nowrap;
}

.price-list {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: 0 0 16px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 18px;
  align-items: baseline;
}

.price-label {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.price-value {
  text-align: right;
  white-space: nowrap;
}

.price-note {
  font-size: 0.95em;
}

@media (min-width: 769px) {
  .site-hero-table {
    display: grid;
    grid-template-columns: minmax(0, 675px) 225px;
    height: 303px;
  }

  .site-hero-table > tbody,
  .site-hero-table > tbody > tr {
    display: contents;
  }

  .site-hero {
    display: block;
    height: 303px;
    min-height: 303px;
    max-height: 303px;
    align-self: start;
  }

  .site-intro-panel {
    display: block;
    min-height: 0;
  }

  .site-hero {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .site-intro-panel {
    padding: 12px 14px !important;
    vertical-align: top;
  }

  .site-intro-panel h1 {
    margin: 0 0 6px;
  }

  .site-intro-panel p {
    margin-block: 0 0.65em;
  }

  .site-intro-panel,
  .site-intro-panel p,
  .site-intro-panel a,
  .site-intro-panel p span,
  .site-intro-panel p font {
    font-size: 12px !important;
    line-height: 1.33;
  }

  .site-intro-panel strong {
    font-size: 15px !important;
    line-height: 1.25;
  }

  .site-main {
    padding-top: 32px !important;
  }

  .reiki-symbol {
    display: block;
    width: 123px !important;
    height: auto !important;
    margin: 12px auto 0;
  }

  .reiki-ryoho-logo {
    display: block;
    width: 105px !important;
    height: auto !important;
    margin: 10px auto;
  }
}

@media (max-width: 768px) {
  .site-intro-panel,
  .site-sidebar {
    height: auto !important;
    min-height: 0 !important;
    background-image: none !important;
    background-color: #ffffff !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }

  .site-hero-table > tbody > tr > td,
  .site-content-grid > tbody > tr > td,
  .site-nav-side {
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .site-nav-side,
  .site-nav-decorator {
    display: none !important;
  }

  .site-main {
    font-size: 16px;
    line-height: 1.5;
  }

  .site-main p,
  .site-main li,
  .site-main a,
  .site-main p span,
  .site-main p font,
  .site-main li span,
  .site-main li font,
  .site-main .home-copy,
  .site-main .home-copy div,
  .site-main .home-copy strong {
    font-size: 16px !important;
    line-height: 1.5;
  }

  .site-intro-panel,
  .site-sidebar,
  .site-intro-panel p,
  .site-intro-panel a,
  .site-intro-panel p span,
  .site-intro-panel p font,
  .site-sidebar p,
  .site-sidebar a,
  .site-sidebar li,
  .site-sidebar p span,
  .site-sidebar p font {
    font-size: 15px !important;
    line-height: 1.5;
  }

  .site-main h1,
  .site-main h1 * {
    font-size: 23px !important;
  }

  .site-main h2,
  .site-main h2 * {
    font-size: 21px !important;
  }

  .site-main h3,
  .site-main h3 * {
    font-size: 18px !important;
  }

  .site-intro-panel strong,
  .site-sidebar h3,
  .site-sidebar strong {
    font-size: 16px !important;
    line-height: 1.3;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .reiki-symbol {
    display: block;
    width: min(180px, 70vw) !important;
    height: auto !important;
    margin: 24px auto;
  }

  .reiki-ryoho-logo {
    display: block;
    width: min(150px, 60vw) !important;
    height: auto !important;
    margin: 24px auto 12px;
  }

  .opening-hours {
    max-width: none;
    margin-bottom: 18px;
  }

  .price-list {
    max-width: none;
  }

  .site-footer {
    padding: 16px;
    font-size: 13px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .opening-hours-row,
  .price-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1px;
  }

  .opening-hours-time,
  .price-value {
    text-align: left;
    white-space: normal;
  }
}

@media (min-width: 1200px) {
  .site-shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}
