/* ==========================================================================
   ライフストレッチ genkies.co.jp
   Static site stylesheet
   ========================================================================== */

/* -------- Design tokens -------- */
:root {
  /* Brand colors - extracted from LifeStretch logo */
  --brand-orange: #f47e00;
  --brand-orange-dark: #dc6f00;
  --brand-blue: #006394;   /* Web予約 CTA color from current site */
  --brand-blue-dark: #004568; /* Header dark blue from current site */
  --brand-blue-light: #7cc3e8;

  /* Neutrals */
  --ink: #1a1a1a;
  --ink-2: #333;
  --ink-3: #666;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-cream: #fff8ec;

  /* Accents */
  --highlight-yellow: #ffe169; /* the trainer specialty highlight */

  /* Type */
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-num: "Barlow", "Noto Sans JP", -apple-system, sans-serif;

  /* Layout */
  --container: 1120px;
  --container-narrow: 880px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 10px 30px rgba(0,0,0,0.06);

  /* Fixed header height (used for scroll-margin) */
  --header-h: 64px;
  --sp-fixed-h: 68px; /* bottom fixed CTA on mobile */
}

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
  }
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

/* Focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Add scroll offset for fixed header anchor jumps */
:where(section[id]) { scroll-margin-top: calc(var(--header-h) + 12px); }

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.site-header__logo img {
  height: 34px;
  width: auto;
}
@media (min-width: 768px) {
  .site-header__logo img { height: 44px; }
}

/* Header phone + reserve (PC) */
.site-header__actions {
  display: none;
  align-items: center;
  gap: 14px;
}
@media (min-width: 900px) {
  .site-header__actions { display: flex; }
}
.header-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.header-tel__num {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.header-tel__hours { font-size: 11px; color: var(--ink-3); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { background: var(--brand-orange-dark); text-decoration: none; transform: translateY(-1px); }
.header-cta--tel { background: var(--brand-blue); }
.header-cta--tel:hover { background: var(--brand-blue-dark); }

/* Nav */
.site-nav {
  display: none;
}
@media (min-width: 900px) {
  .site-nav {
    display: block;
    flex: 1;
  }
  .site-nav__list {
    display: flex;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
  }
  .site-nav__list a {
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--ink-2);
    transition: color .15s ease, background .15s ease;
  }
  .site-nav__list a:hover {
    background: var(--bg-soft);
    color: var(--brand-blue);
    text-decoration: none;
  }
}

/* Mobile menu button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  color: var(--ink);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after  { position: absolute; top: 7px;  left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-drawer[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer__list { padding: 8px 20px 16px; }
.mobile-drawer__list li a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.mobile-drawer__list li:last-child a { border-bottom: 0; }
.mobile-drawer__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 20px 20px;
}
.mobile-drawer__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.mobile-drawer__cta a.tel { background: var(--brand-blue); }
.mobile-drawer__cta a.web { background: var(--brand-orange); }

@media (min-width: 900px) { .mobile-drawer { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(180deg, #cfeaf6 0%, #b5dcee 100%);
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.05) 45%, rgba(0,60,90,0.35) 100%);
}
.hero__inner {
  padding: 72px 20px 96px;
  text-align: center;
  color: #fff;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--brand-blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 40, 65, 0.55);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  max-width: 720px;
  margin: 0 auto 32px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 40, 65, 0.65);
  line-height: 1.85;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  min-width: 200px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary { background: var(--brand-orange); color: #fff; }
.btn--primary:hover { background: var(--brand-orange-dark); }
.btn--secondary { background: var(--brand-blue); color: #fff; }
.btn--secondary:hover { background: var(--brand-blue-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,0.15); }
.btn--outline {
  background: #fff;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  box-shadow: none;
}
.btn--outline:hover { background: var(--brand-blue); color: #fff; }
.btn--lg { padding: 18px 40px; font-size: 17px; min-width: 260px; }
.btn__icon { width: 18px; height: 18px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section { padding: 96px 0; }
}
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .section-heading { margin-bottom: 56px; }
}
.section-heading__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--brand-orange);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-heading__title {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--ink);
}
.section-heading__title::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--brand-orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   Intro (main-set--center)
   ========================================================================== */
.intro {
  text-align: center;
}
.intro__title {
  font-size: clamp(22px, 3.6vw, 30px);
  color: var(--brand-blue-dark);
  margin-bottom: 24px;
  line-height: 1.5;
}
.intro__body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 2;
}

/* ==========================================================================
   Reasons cards
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.03); }
.card__body {
  padding: 20px 24px 28px;
}
.card__title {
  font-size: 18px;
  color: var(--brand-blue-dark);
  margin-bottom: 12px;
}
.card__text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
}

/* ==========================================================================
   Menu (料金表)
   ========================================================================== */
.menu-list {
  display: grid;
  gap: 20px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .menu-item {
    grid-template-columns: 260px 1fr;
    gap: 0;
  }
}
.menu-item__media {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
}
@media (min-width: 640px) {
  .menu-item__media { aspect-ratio: auto; height: 100%; min-height: 200px; }
}
.menu-item__media img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu-item__title {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 700;
}
.menu-item__title small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}
.menu-item__price-normal {
  font-family: var(--font-num);
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-item__campaign {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 8px 14px;
  background: linear-gradient(90deg, #fff4dc, #ffe9c4);
  border-radius: 8px;
  border-left: 4px solid var(--brand-orange);
}
.menu-item__campaign-label {
  font-size: 12px;
  color: var(--brand-orange-dark);
  font-weight: 700;
}
.menu-item__campaign-price {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-orange-dark);
  letter-spacing: 0.02em;
}
.menu-item__campaign-price small { font-size: 14px; font-weight: 600; }
.menu-item__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 21px);
  pointer-events: none;
}
.cta-banner__title {
  font-size: clamp(22px, 3.6vw, 30px);
  color: #fff;
  margin-bottom: 24px;
  position: relative;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* ==========================================================================
   Trainers
   ========================================================================== */
.trainer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .trainer-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    gap: 48px;
  }
}
.trainer {
  text-align: center;
}
.trainer__photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .trainer__photo { width: 240px; height: 240px; }
}
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; }
.trainer__name {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.trainer__specialty {
  display: inline-block;
  background: var(--highlight-yellow);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.trainer__bio {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  text-align: left;
  max-width: 360px;
  margin: 0 auto;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq[open] { box-shadow: var(--shadow-sm); }
.faq__summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__q-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
}
.faq__toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq__toggle::before, .faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--brand-blue);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq__toggle::before { width: 12px; height: 2px; }
.faq__toggle::after  { width: 2px;  height: 12px; }
.faq[open] .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__body {
  padding: 0 20px 18px 60px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.9;
}
.faq__a-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 13px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   Access
   ========================================================================== */
.access-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .access-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
}
.access-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px 20px;
  font-size: 15px;
}
.access-info dt { color: var(--ink-3); font-weight: 500; font-size: 13px; padding-top: 3px; }
.access-info dd { margin: 0; color: var(--ink); }
.access-info dd .tel-num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}
.access-info__reserve {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.access-info__reserve a {
  display: inline-block;
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  margin-right: 16px;
  margin-bottom: 8px;
}
.access-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  background: var(--bg-soft);
}
.access-map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Company
   ========================================================================== */
.company-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.company-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px 24px;
  font-size: 15px;
}
.company-box dt { color: var(--ink-3); font-weight: 500; font-size: 13px; padding-top: 3px; }
.company-box dd { margin: 0; color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 40px 20px 32px;
  background: var(--brand-blue-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 13px;
}
.site-footer__copy { font-size: 12px; opacity: 0.7; }

/* ==========================================================================
   Sticky bottom CTA (Mobile only)
   ========================================================================== */
.sp-fixed-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.sp-fixed-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  min-height: 48px;
}
.sp-fixed-cta a.tel { background: var(--brand-blue); }
.sp-fixed-cta a.web { background: var(--brand-orange); }
.sp-fixed-cta svg { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .sp-fixed-cta { display: none; }
}
/* Add bottom padding for sp fixed CTA */
@media (max-width: 899px) {
  body { padding-bottom: var(--sp-fixed-h); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
