/* ==============================================
   menu.css – MENUページ専用スタイル
============================================== */

/* ---- Anchor offset for fixed header ---- */
#massage, #lymph, #set, #option,
#bodyCare { scroll-margin-top: 120px; }

/* ---- Page Title ---- */
.page-title {
  padding: 160px 0 48px;
  background: #fff;
}
.page-title .section-label__en {
  font-size: 56px;
  font-weight: 500;
  color: var(--clr-text2);
}
.page-title .section-label__ja {
  font-size: 24px;
  color: var(--clr-text2);
}
.page-title__line {
  border: none;
  border-top: 1px solid var(--clr-main);
  margin: 24px 0 0;
  opacity: .4;
}

/* ---- Menu Page Layout ---- */
.mpage {
  padding: 30px 0 112px;
  background: #fff;
}
.mpage--option {
  background: #fff;
}
.mpage__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Category heading */
.mpage__cat {
  font-family: var(--ff-ja);
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-main);
  text-align: center;
}

/* Option section header */
.mpage__option-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(666px, 100%);
  margin: 0 auto;
  text-align: center;
}
.mpage__option-note {
  font-family: var(--ff-ja);
  font-size: 18px;
  color: var(--clr-main);
  line-height: 2;
}
.mpage__option-line {
  border: none;
  border-top: 1px solid var(--clr-main);
  width: 100%;
  opacity: .4;
}

/* ---- Menu Item ---- */
.mpage__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mpage__item--flip .mpage__info { order: 2; }
.mpage__item--flip .mpage__photo { order: 1; }
.mpage__item--photo-left .mpage__photo { order: 1; }
.mpage__item--photo-left .mpage__info  { order: 2; }

/* Photo */
.mpage__photo {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-top: 80px;
}
.mpage__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* もみほぐしストレッチ：枠はそのままで画像を縮小表示 */
.mpage__photo--shrink {
  background: #f9f4fc;
}
.mpage__photo--shrink img {
  object-fit: contain;
  padding: 16px;
}

/* Info */
.mpage__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title row (accent line + content) */
.mpage__title-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Vertical accent line */
.mpage__accent-line {
  flex-shrink: 0;
  width: 2px;
  height: 280px;
  background: var(--clr-main);
  border-radius: 2px;
  margin-top: 4px;
}
.mpage__accent-line--sm {
  height: 104px;
}

/* Title content */
.mpage__title-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mpage__name {
  font-family: var(--ff-ja);
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-main);
  line-height: 1.4;
}
.mpage__subtitle {
  font-family: var(--ff-ja);
  font-size: 18px;
  color: var(--clr-main);
  line-height: 2;
}

/* Prices */
.mpage__prices {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mpage__price-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.mpage__duration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 6px 56px;
  border: 1px solid var(--clr-main);
  border-radius: 30px;
  font-family: var(--ff-ja);
  font-size: 19px;
  font-weight: 500;
  color: var(--clr-main);
  white-space: nowrap;
}
.mpage__price {
  font-family: var(--ff-ja);
  font-size: 24px;
  color: var(--clr-main);
  white-space: nowrap;
  line-height: 1;
}

/* Description */
.mpage__desc {
  font-family: var(--ff-ja);
  font-size: 16px;
  color: var(--clr-text);
  line-height: 2;
}
.mpage__desc strong {
  font-weight: 700;
  color: var(--clr-main);
}

/* Recommendation badge */
.mpage__item--flip + .mpage__recommend { align-self: flex-end; }
.mpage__recommend {
  background: var(--clr-sub2, #dea4ce);
  border-radius: 10px;
  padding: 20px 32px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: calc(50% - 20px);
  margin-bottom: 104px;
}
.mpage__recommend-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpage__recommend-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--clr-sub, #f9f4fc);
}
.mpage__recommend-label {
  font-family: var(--ff-ja);
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-sub, #f9f4fc);
  white-space: nowrap;
}
.mpage__recommend-text {
  font-family: var(--ff-ja);
  font-size: 16px;
  color: var(--clr-sub, #f9f4fc);
  line-height: 2;
}

/* CSS variables fallback */
:root {
  --clr-sub2: #dea4ce;
  --clr-sub: #f9f4fc;
}


/* ==============================================
   Responsive
============================================== */

/* Tablet (≤960px) */
@media (max-width: 960px) {
  .page-title .section-label__en { font-size: 40px; }
  .page-title .section-label__ja { font-size: 18px; }

  .mpage__item {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mpage__item--flip .mpage__info,
  .mpage__item--flip .mpage__photo,
  .mpage__item--photo-left .mpage__info,
  .mpage__item--photo-left .mpage__photo { order: unset; }
  .mpage__item--flip .mpage__photo,
  .mpage__item--photo-left .mpage__photo { order: -1; }

  .mpage__accent-line { height: 200px; }
  .mpage__name { font-size: 26px; }
}

/* Mobile (≤600px) */
@media (max-width: 430px) {
  .page-title { padding: 100px 0 32px; }
  .page-title .section-label__en { font-size: 32px; }

  .mpage { padding: 16px 0 32px; }
  .mpage__inner { gap: 24px; }
  .mpage__cat { font-size: 26px; }

  .mpage__title-row { gap: 16px; }
  .mpage__photo { margin-top: 0; }
  .mpage__accent-line { height: 240px; }
  .mpage__accent-line--sm { height: 80px; }
  .mpage__name { font-size: 22px; }
  .mpage__subtitle { font-size: 15px; }
  .mpage__price-row { gap: 16px; }
  .mpage__duration { min-width: 90px; font-size: 16px; }
  .mpage__price { font-size: 15px; }
  .mpage__desc { font-size: 14px; }
  .mpage__recommend-text { font-size: 14px; }
  .mpage__recommend { width: 100%; margin-bottom: 48px; }
  .mpage__option-note { font-size: 16px; }
  .mpage__item--photo-left { margin-top: 48px; }
  .mpage__item--photo-left + .mpage__item { margin-top: 48px; }
  .mpage__item--photo-left .mpage__photo { order: 1; }
  .mpage__item--photo-left .mpage__info  { order: 0; }
}
