/* 会員様向け予約方法 — guide.css と同じブランドトーン */
.app-page {
  --app-accent: #ff570d;
  --app-accent-dark: #e04d0b;
  --app-accent-soft: #fff3ed;
  --app-text: #1a1b1f;
  --app-muted: #5c5c5c;
  --app-bg: #f4f5f7;
  --app-card: #fff;
  --app-border: #e4e6ea;
  --app-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --app-shadow-hover: 0 12px 32px rgba(255, 87, 13, 0.12);
  --app-radius: 14px;
  --app-radius-lg: 20px;
  --app-fs-xs: 1.4rem;
  --app-fs-sm: 1.4rem;
  --app-fs-base: 1.6rem;
  --app-fs-md: 2rem;
  --app-fs-lg: 1.8rem;
  --app-fs-h1: 2.4rem;
  --app-fs-h2: 2.8rem;
  color: var(--app-text);
  font-size: inherit;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}

.app-page .site-nav .nav-link[href="app.html"] {
  color: var(--app-accent) !important;
  font-weight: 700;
  background: var(--app-accent-soft);
}

/* ===== Masthead ===== */
.app-masthead {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.app-masthead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.app-masthead__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.app-masthead__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(26, 26, 26, 0.55) 55%,
    rgba(255, 87, 13, 0.4) 100%
  );
  z-index: 1;
}

.app-masthead__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 3rem;
  max-width: 720px;
}

.app-masthead__eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: var(--app-fs-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}

.app-masthead h1 {
  font-size: var(--app-fs-h1);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.app-masthead__lead {
  font-size: var(--app-fs-base);
  line-height: 28px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* ===== Access card ===== */
.app-access {
  padding: 0 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
}

.app-access__card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--app-card);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-lg);
  box-shadow: var(--app-shadow);
  padding: 2rem 1.75rem;
  text-align: center;
}

.app-access__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 1rem 1.5rem;
  background: var(--app-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: var(--app-fs-base);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 87, 13, 0.35);
}

.app-access__btn:hover {
  background: var(--app-accent-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 87, 13, 0.4);
}

.app-access__qr {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--app-border);
}

.app-access__qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 1px solid var(--app-border);
  margin-bottom: 0.75rem;
}

.app-access__url {
  font-size: var(--app-fs-sm);
  color: var(--app-muted);
  word-break: break-all;
  margin: 0;
}

.app-access__url a {
  color: var(--app-accent);
  font-weight: 600;
}

.app-access__tip {
  font-size: var(--app-fs-sm);
  color: var(--app-muted);
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

/* ===== Sections ===== */
.app-band {
  width: 100%;
}

.app-band--alt {
  background: var(--app-bg);
}

.app-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.app-section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.app-section__eyebrow {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: var(--app-fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--app-accent);
  margin-bottom: 0.5rem;
}

.app-section__title {
  font-size: var(--app-fs-h2);
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
}

.app-section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--app-accent);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.app-section__desc {
  text-align: center;
  margin: 1rem auto 0;
  max-width: 560px;
  color: var(--app-muted);
  font-size: var(--app-fs-base);
}

/* ===== Steps ===== */
.app-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.app-step {
  background: var(--app-card);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-lg);
  overflow: hidden;
  box-shadow: var(--app-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--app-shadow-hover);
}

.app-step__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  background: var(--app-accent-soft);
  border-bottom: 1px solid rgba(255, 87, 13, 0.12);
}

.app-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--app-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--app-fs-base);
  box-shadow: 0 4px 12px rgba(255, 87, 13, 0.3);
}

.app-step__label {
  font-size: var(--app-fs-md);
  font-weight: 700;
  margin: 0;
  color: var(--app-text);
}

.app-step__body {
  padding: 1.5rem;
  text-align: center;
}

.app-step__text {
  font-size: var(--app-fs-base);
  color: var(--app-muted);
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.app-step__img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--app-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.app-step__note {
  font-size: var(--app-fs-sm);
  color: var(--app-muted);
  margin: 1rem 0 0;
  line-height: 1.6;
}

/* ===== Videos ===== */
.app-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.app-videos--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.app-video {
  background: var(--app-card);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--app-shadow);
}

.app-video__label {
  padding: 0.85rem 1.25rem;
  font-size: var(--app-fs-sm);
  font-weight: 700;
  color: var(--app-accent);
  background: var(--app-accent-soft);
  border-bottom: 1px solid rgba(255, 87, 13, 0.1);
  margin: 0;
  text-align: center;
}

.app-video__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.app-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.app-video__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--app-accent-soft);
  color: var(--app-accent);
  font-size: var(--app-fs-sm);
  font-weight: 700;
  border-radius: 999px;
}

/* ===== Caution ===== */
.app-caution {
  background: var(--app-card);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-lg);
  overflow: hidden;
  box-shadow: var(--app-shadow);
  max-width: 720px;
  margin: 0 auto;
}

.app-caution__head {
  padding: 1rem 1.5rem;
  background: #e8f5ef;
  border-bottom: 1px solid #c5e0d4;
  text-align: center;
}

.app-caution__head p {
  margin: 0;
  font-size: var(--app-fs-md);
  font-weight: 700;
  color: #1a6b42;
}

.app-caution__body {
  padding: 1.75rem 1.75rem 1.5rem;
}

.app-caution__subhead {
  font-size: var(--app-fs-base);
  font-weight: 700;
  color: var(--app-text);
  padding-bottom: 0.65rem;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--app-accent);
}

.app-caution__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-caution__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--app-fs-base);
  color: var(--app-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.app-caution__list li:last-child {
  margin-bottom: 0;
}

.app-caution__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--app-accent);
  border-radius: 50%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .app-masthead {
    min-height: 240px;
  }

  .app-masthead__inner {
    padding: 3rem 1.25rem 2.5rem;
  }

  .app-access {
    margin-top: -1.5rem;
  }

  .app-access__card {
    padding: 1.5rem 1.25rem;
  }

  .app-section {
    padding: 3rem 1.25rem;
  }

  .app-section__title {
    font-size: 2rem;
  }

  .app-steps,
  .app-videos {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-step,
  .app-access__btn {
    transition: none;
  }

  .app-step:hover,
  .app-access__btn:hover {
    transform: none;
  }
}
