:root {
  --color-primary: #3a9d8f;
  --color-accent: #1f6f64;
  --color-accent-dark: #183f3a;
  --color-brown: #75603d;
  --color-brown-light: #8a7047;
  --color-cream: #f7f4ed;
  --color-cream-deep: #f2ebdc;
  --color-text: #333333;
  --color-muted: #5e736f;
  --color-border: #d8e2df;
  --color-white: #ffffff;
  --color-danger: #b94a48;
  --content-width: 1110px;
  --side-space: 24px;
  --section-space: 64px;
  --radius: 6px;
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-rounded: "M PLUS Rounded 1c", var(--font-base);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

p {
  margin: 0 0 1.4em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.45;
}

.container {
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--color-accent-dark);
  color: var(--color-white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-top {
  min-height: 34px;
  border-bottom: 1px solid #eeeeee;
  color: #666666;
  font-size: 12px;
}

.header-top__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
}

.header-top p {
  margin: 0;
}

.header-main {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: center;
}

.site-logo {
  display: block;
  width: 250px;
}

.global-nav {
  border-top: 1px solid #f3f3f3;
}

.global-nav .container {
  display: flex;
  min-height: 52px;
  align-items: stretch;
  justify-content: center;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem clamp(0.45rem, 1vw, 0.8rem);
  color: #202020;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--color-accent);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  overflow: hidden;
  background: url("../images/img-pheader-massage.jpg") center center / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.72);
}

.page-hero__inner {
  position: relative;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.3rem;
  color: var(--color-accent);
  font-family: var(--font-rounded);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.page-hero p {
  margin: 0;
  color: var(--color-accent);
  font-size: 12px;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--white {
  background: var(--color-white);
}

.section--cream {
  background: var(--color-cream);
}

.section-heading {
  margin-bottom: 3.6rem;
  text-align: center;
}

.section-heading .eyebrow {
  margin: 0 0 0.25rem;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 1.1rem;
  font-family: var(--font-rounded);
  font-size: clamp(1.7rem, 3vw, 2rem);
}

.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 36px;
  height: 2px;
  transform: translateX(-50%);
  content: "";
  background: var(--color-primary);
}

.section-lead {
  margin-bottom: 2rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.intro-copy > p {
  margin-bottom: 1.65rem;
}

.rounded-image img,
.facility-grid img,
.access-images img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.phone-button {
  display: inline-flex;
  min-width: 178px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 3.7rem;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  color: var(--color-white);
  line-height: 1.3;
}

.phone-button strong {
  font-size: 1rem;
}

.phone-button small {
  margin-top: 0.2rem;
  font-size: 11px;
}

.phone-button--brown {
  background: var(--color-brown);
}

.phone-button--brown:hover,
.phone-button--brown:focus-visible {
  background: #5f4e32;
}

.hours-section .phone-button {
  margin-bottom: 0.65rem;
}

.reservation-box {
  position: relative;
  padding: 2.5rem 1.7rem 1.35rem;
  border: 2px solid var(--color-primary);
}

.reservation-box h3 {
  position: absolute;
  top: 0;
  left: 1rem;
  margin: 0;
  padding: 0 0.65rem;
  transform: translateY(-55%);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1rem;
}

.reservation-box p {
  margin: 0;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.recommend-card {
  min-width: 0;
  padding: 16px 16px 30px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(32, 65, 60, 0.025);
  text-align: center;
}

.recommend-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.recommend-card h3 {
  margin: 1.55rem 0 0;
  color: var(--color-accent);
  font-family: var(--font-rounded);
  font-size: 1.32rem;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.treatment-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
}

.treatment-card > img {
  width: 100%;
  aspect-ratio: 5 / 3.2;
  object-fit: cover;
}

.treatment-card__body {
  padding: 1.45rem 1.15rem 1.6rem;
}

.treatment-card h3 {
  margin-bottom: 0.65rem;
  color: var(--color-accent);
  font-family: var(--font-rounded);
  font-size: 1.3rem;
}

.treatment-card p {
  margin: 0;
}

.table-wrap {
  width: 100%;
  margin-block: 2.4rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

th,
td {
  border: 1px solid #e8eceb;
  padding: 1rem 1.15rem;
  text-align: left;
}

.price-table th {
  width: 25%;
  background: #dae5e2;
}

.notice-box {
  margin-top: 4rem;
  padding: 1.35rem 1.6rem;
  border-left: 4px solid var(--color-brown-light);
  background: var(--color-cream-deep);
}

.notice-box p {
  margin: 0;
}

.hours-table {
  min-width: 760px;
  table-layout: fixed;
  font-size: 13px;
}

.hours-table th,
.hours-table td {
  padding: 1rem 0.2rem;
  text-align: center;
}

.hours-table th {
  background: #dae5e2;
}

.closed {
  color: var(--color-danger);
  font-weight: 700;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 2.3rem;
}

.facility-grid img,
.access-images img {
  aspect-ratio: 5 / 4;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
  gap: 42px;
}

.check-list {
  margin: 1.6rem 0 1.9rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 1.7rem;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

.access-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.map-title {
  margin: 4.8rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 5px double rgba(58, 157, 143, 0.55);
  font-size: 1.45rem;
}

.map-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #edf2f0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-area {
  padding-block: 42px 52px;
  background: var(--color-cream);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: var(--color-white);
}

.contact-card--brown {
  background: var(--color-brown);
}

.contact-type {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.05rem 0.65rem;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
}

.contact-card--brown .contact-type {
  color: var(--color-brown);
}

.contact-card h2 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.contact-card a {
  display: inline-block;
  font-size: 1.45rem;
  font-weight: 700;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
}

.contact-card p:last-child {
  margin: 0.35rem 0 0;
  font-size: 12px;
}

.site-footer {
  overflow: hidden;
  padding-block: 52px 24px;
  background: var(--color-accent-dark);
  color: var(--color-white);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-columns h2 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.footer-columns p {
  margin: 0;
}

.footer-columns a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.copyright {
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-align: center;
}

.page-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 3px;
  background: rgba(31, 111, 100, 0.88);
  color: var(--color-white);
  font-size: 1.2rem;
  line-height: 1;
}

.page-top:hover,
.page-top:focus-visible {
  background: var(--color-accent-dark);
}

:focus-visible {
  outline: 3px solid #e7a72f;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  :root {
    --side-space: 18px;
    --section-space: 56px;
  }

  .header-top,
  .global-nav {
    display: none;
  }

  .header-main {
    position: relative;
    min-height: 64px;
  }

  .site-logo {
    width: 180px;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    place-items: center;
    border: 1px solid #8f9694;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
  }

  .menu-toggle__icon {
    display: grid;
    width: 20px;
    gap: 4px;
  }

  .menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: 64px;
    left: 0;
    z-index: 60;
    display: grid;
    width: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-8px);
    visibility: hidden;
    background: var(--color-white);
    box-shadow: 0 12px 24px rgba(24, 63, 58, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .mobile-menu a {
    padding: 0.9rem 1.2rem;
    border-top: 1px solid #edf1f0;
    font-weight: 700;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .no-js .mobile-menu {
    position: static;
    max-height: none;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .intro-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .recommend-grid,
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --side-space: 15px;
    --section-space: 48px;
  }

  body {
    font-size: 14px;
    line-height: 1.85;
  }

  .page-hero {
    min-height: 280px;
    background-image: url("../images/img-pheader-massage_sp.jpg");
  }

  .page-hero h1 {
    font-size: 1.55rem;
  }

  .section-heading {
    margin-bottom: 2.8rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .intro-grid {
    gap: 20px;
  }

  .intro-copy > p {
    margin-bottom: 1.4rem;
  }

  .phone-button {
    margin-bottom: 2.7rem;
  }

  .reservation-box {
    padding: 2.1rem 1rem 1rem;
  }

  .rounded-image {
    margin: 0;
  }

  .treatment-grid,
  .facility-grid,
  .access-images,
  .contact-cards,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .recommend-card {
    padding: 14px 14px 26px;
    text-align: left;
  }

  .recommend-card h3 {
    font-size: 1.25rem;
  }

  .recommend-card h3 br {
    display: none;
  }

  .treatment-grid {
    gap: 20px;
  }

  .treatment-card__body {
    padding: 1.25rem 1rem 1.5rem;
  }

  .price-table {
    table-layout: fixed;
  }

  .price-table th,
  .price-table td {
    padding: 1rem 0.65rem;
  }

  .price-table th {
    width: 29%;
  }

  .notice-box {
    margin-top: 3rem;
    padding: 1rem;
  }

  .hours-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 9px;
    line-height: 1.25;
  }

  .hours-table th,
  .hours-table td {
    padding: 0.8rem 0.05rem;
    overflow-wrap: anywhere;
  }

  .table-wrap {
    margin-block: 1.8rem;
  }

  .facility-grid {
    gap: 18px;
  }

  .access-images {
    gap: 14px;
  }

  .map-title {
    margin-top: 4rem;
    font-size: 1.25rem;
  }

  .map-frame iframe {
    height: 320px;
  }

  .contact-area {
    padding-block: 28px 36px;
  }

  .contact-cards {
    gap: 14px;
  }

  .contact-card {
    padding: 1.2rem 1rem;
  }

  .contact-card a {
    font-size: 1.35rem;
  }

  .site-footer {
    padding-block: 38px 20px;
  }

  .footer-columns {
    gap: 26px;
    padding-bottom: 2.4rem;
  }

  .copyright {
    text-align: left;
  }

  .page-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
