﻿/* event-checkin LP: イベント受付・来場管理の総合LP */

:root {
  --pp-usecase-nav-cta-bg: var(--pp-green);
  --pp-usecase-nav-cta-hover-bg: var(--pp-green-dark);
}

@media (max-width: 767.98px) {
  #aboutus.mainvisualTop .mainvisual-media {
    justify-self: center;
    justify-content: center;
  }
}

.pp-event-visualWrap {
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  #aboutus.mainvisualTop .pp-event-heroImage.pp-usecase-heroImage {
    height: min(620px, calc(720px - 160px));
    object-fit: cover;
    object-position: center top;
    transform: translateY(54px) scale(1.03);
    transform-origin: center top;
  }
}

#features .pp-capability {
  min-height: 250px;
}

#features .pp-capability__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 340px;
  height: 220px;
  align-self: stretch;
  background: #eef7f4;
}

#features .pp-capability__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#features .pp-capability__media img[src$=".svg"] {
  width: 42%;
  height: 42%;
  min-width: 96px;
  min-height: 96px;
  object-fit: contain;
}

#features .pp-capability__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 860px) {
  #features .pp-capability__media {
    flex-basis: 360px;
  }
}

@media (max-width: 620px) {
  #features .pp-capability {
    min-height: 0;
  }

  #features .pp-capability__media {
    flex-basis: auto;
    width: 100%;
    height: 190px;
  }
}

/* Restored event-checkin layouts */
@media (min-width: 768px) {
  #problems .pp-reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px; }
}
#problems .pp-reason-card .pp-reason-card__media { height: clamp(240px, 28vw, 310px); padding: 0 !important; }
#problems .pp-reason-card .pp-reason-card__media img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; }
@media (max-width: 767.98px) { #problems .pp-reason-card .pp-reason-card__media { height: clamp(220px, 62vw, 300px); } }

/* FEATURES: two columns on desktop, one column on mobile */
#features .pp-capabilities-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
#features .pp-capability { height: 100%; min-height: 0; padding: 0; flex-direction: column; gap: 0; }
#features .pp-capability__media { display: flex; flex: none; width: 100%; height: 190px; min-height: 190px; align-self: auto; align-items: center; justify-content: center; border-radius: 18px 18px 0 0; background: #eef7f4; }
#features .pp-capability__media img { width: 100%; height: 100%; object-fit: cover; }
#features .pp-capability__media img[src$=".svg"] { width: 42%; height: 42%; min-width: 96px; min-height: 96px; object-fit: contain; }
#features .pp-capability__body { display: flex; flex: 1; flex-direction: column; justify-content: flex-start; padding: 24px 26px 28px; }
#features .pp-capability__list { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 16px 0 0; padding: 0; color: #52635a; list-style: none; }
#features .pp-capability__list li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.7; }
#features .pp-capability__list li::before { position: absolute; top: 0; left: 0; color: #168557; font-weight: 700; content: "✓"; }
.pp-features-all-link { margin: 32px 0 0; text-align: center; }
.pp-features-all-link a { color: #168557; font-size: 1.1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) { #features .pp-capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  #features .pp-capability__media { width: 100%; height: 170px; min-height: 0; }
  #features .pp-capability__body { padding: 22px 20px 24px; }
}

/* FLOW: match qr-checkin */
#flow .pp-flow-list { gap: 22px; }
#flow .pp-flow-list .pp-flow-row { grid-template-columns: 76px 18px minmax(150px, 200px) minmax(0, 1fr); }
#flow .pp-flow-list .pp-flow-row:not(:last-child)::before { left: 36px; top: 50%; bottom: calc(-22px - 50%); width: 3px; border-radius: 999px; background: #b9dfd2; }
#flow .pp-flow-list .pp-flow-row::after { left: 94px; border: 1px solid #e2ede8; border-radius: 20px; box-shadow: 0 8px 22px rgba(45, 92, 73, .055); }
#flow .pp-flow-list .pp-flow-row__step { width: 72px; height: 72px; border: 5px solid #fff; border-radius: 50%; background: #e9f7f2; color: #258b6d; box-shadow: 0 6px 16px rgba(45, 130, 101, .10); font-family: inherit; font-size: 22px; letter-spacing: 0; }
#flow .pp-flow-list .pp-flow-row__media { height: 172px; border-radius: 20px 0 0 20px; background: radial-gradient(circle at 58% 46%, #f8fdfb 0%, #edf9f5 58%, #e6f5ef 100%); }
#flow .pp-flow-list .pp-flow-row__media img { width: 120px; filter: none; }
@media (max-width: 767px) {
  #flow .pp-flow-list .pp-flow-row { grid-template-columns: 58px 12px minmax(0, 1fr); }
  #flow .pp-flow-list .pp-flow-row:not(:last-child)::before { left: 28px; }
  #flow .pp-flow-list .pp-flow-row::after { left: 70px; }
  #flow .pp-flow-list .pp-flow-row__step { width: 58px; height: 58px; border-width: 4px; font-size: 19px; }
  #flow .pp-flow-list .pp-flow-row__media { height: 142px; border-radius: 18px 18px 0 0; }
  #flow .pp-flow-list .pp-flow-row__media img { width: 104px; }
}

/* COMPARISON */
.pp-service-comparison__scroll { margin-top: 36px; overflow-x: auto; border: 1px solid #dce9e3; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(32, 74, 53, .06); }
.pp-service-comparison { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; color: #42544b; font-size: 1.08rem; line-height: 1.65; }
.pp-service-comparison th, .pp-service-comparison td { padding: 15px 18px; border-right: 1px solid #e1ebe6; border-bottom: 1px solid #e1ebe6; text-align: center; vertical-align: middle; }
.pp-service-comparison th:last-child, .pp-service-comparison td:last-child { border-right: 0; }
.pp-service-comparison tbody tr:last-child th, .pp-service-comparison tbody tr:last-child td { border-bottom: 0; }
.pp-service-comparison thead th { background: #f1f7f4; color: #2b4639; font-weight: 700; }
.pp-service-comparison tbody th { width: 25%; background: #fafcfb; color: #2b4639; font-weight: 700; text-align: left; }
.pp-service-comparison .pp-service-comparison__pp { background: #eef9f4; }
.pp-service-comparison thead .pp-service-comparison__pp { background: #268b6c; color: #fff; }
.pp-service-comparison tbody .pp-service-comparison__pp strong { color: #167354; }
.pp-service-comparison__phase { display: inline-block; min-width: 58px; margin-right: 10px; padding: 3px 7px; border-radius: 999px; background: #edf7f3; color: #267c61; font-size: .82rem; font-weight: 700; text-align: center; }
.pp-service-comparison__phase--day { background: #eef3f8; color: #3d6c88; }
.pp-service-comparison__phase--after { background: #fff3e5; color: #a56620; }
.pp-status, .pp-service-comparison__legend .pp-status { display: inline; margin: 0; padding: 0; background: transparent; font-size: 25px; font-weight: 800; line-height: 1; }
.pp-status--yes { color: #167c5c; } .pp-status--varies { color: #b47a2b; }
.pp-service-comparison__legend { display: flex; gap: 20px; margin-top: 14px; color: #66776f; font-size: 1rem; }
.pp-service-comparison__legend span { display: inline-flex; gap: 7px; align-items: center; }
.pp-service-comparison__legend .pp-status { font-size: 20px; }
.pp-service-comparison__note { margin: 14px 0 0; color: #66776f; font-size: 1rem; line-height: 1.7; }
.pp-service-comparison__summary { margin-top: 28px; padding: 26px 28px; border-left: 5px solid #35a57f; border-radius: 0 14px 14px 0; background: #fff; box-shadow: 0 8px 22px rgba(32, 74, 53, .05); }
.pp-service-comparison__summary h3 { margin: 0 0 16px; color: #243c31; font-size: 22px; line-height: 1.55; }
.pp-service-comparison__summary p { margin: 0; color: #52635a; font-size: 1.15rem; line-height: 1.8; }

/* IMPLEMENTATION */
.pp-implementation-cards.pp-strengths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.pp-implementation-cards .pp-strength-card { position: relative; min-width: 0; min-height: 0; height: auto; padding: 26px 24px 24px; overflow: hidden; border: 1px solid #dce9e3; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(32, 74, 53, .07); }
.pp-implementation-cards .pp-strength-card::before { display: none; }
.pp-implementation-card__head { display: flex; gap: 13px; align-items: center; margin-bottom: 16px; }
.pp-implementation-card__number { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e6f6ef; color: #168557; font-size: 1.2rem; font-weight: 700; }
.pp-implementation-cards .pp-strength-card__title { margin: 0; color: #243c31; font-size: 24px; line-height: 1.5; }
.pp-implementation-cards .pp-strength-card__desc { margin: 0; color: #52635a; font-size: 1.2rem; line-height: 1.8; }
.pp-implementation-cta { margin-top: 32px; }

/* PRICING */
.pp-qr-pricing { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 24px; margin-top: 36px; }
.pp-qr-pricing__price, .pp-qr-pricing__group { border: 1px solid #dce9e3; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(32, 74, 53, .07); }
.pp-qr-pricing__price { padding: 28px; }
.pp-qr-pricing__label { display: block; margin-bottom: 18px; color: #168557; font-size: 1.2rem; font-weight: 700; text-align: center; }
.pp-qr-pricing__price dl { margin: 0; }
.pp-qr-pricing__price dl > div { padding: 16px 0; border-top: 1px solid #e3ece7; }
.pp-qr-pricing__price dt { margin-bottom: 5px; color: #52635a; font-size: 1.2rem; }
.pp-qr-pricing__price dd { margin: 0; color: #243c31; font-size: 1.2rem; }
.pp-qr-pricing__price dd strong { font-size: 36px; line-height: 1; }
.pp-qr-pricing__price dd span { margin-left: 4px; font-weight: 700; }
.pp-qr-pricing__price dd small { display: block; margin-top: 6px; color: #6b7c73; }
.pp-qr-pricing__price > p { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: #eef8f2; color: #24643d; font-size: 1.2rem; line-height: 1.8; }
.pp-qr-pricing__details { display: grid; gap: 16px; }
.pp-qr-pricing__group { padding: 24px 26px; }
.pp-qr-pricing__group h3 { margin: 0 0 15px; color: #243c31; font-size: 24px; line-height: 1.5; }
.pp-qr-pricing__group h3 span { display: inline-block; margin-right: 10px; padding: 4px 9px; border-radius: 999px; background: #168557; color: #fff; font-size: 1rem; letter-spacing: .06em; vertical-align: 2px; }
.pp-qr-pricing__group--option h3 span { background: #64746c; }
.pp-qr-pricing__group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp-qr-pricing__group li { position: relative; padding-left: 24px; color: #52635a; font-size: 1.2rem; line-height: 1.8; }
.pp-qr-pricing__group li::before { position: absolute; top: .1em; left: 0; color: #168557; font-weight: 700; content: "✓"; }
.pp-qr-pricing__group--option li::before { content: "+"; }
.pp-qr-pricing__note { margin: 16px 0 0; color: #6b7c73; font-size: 1.2rem; line-height: 1.8; }
.pp-qr-pricing__actions { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 24px; }
.pp-qr-pricing__actions .pp-cta { margin: 0; }
.pp-qr-pricing__link { color: #168557; font-size: 1.2rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1023px) { .pp-implementation-cards.pp-strengths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pp-service-comparison__scroll { margin-right: -16px; border-radius: 14px 0 0 14px; }
  .pp-service-comparison { min-width: 820px; font-size: 1rem; }
  .pp-service-comparison th, .pp-service-comparison td { padding: 13px 14px; }
  .pp-service-comparison tbody th { position: sticky; left: 0; z-index: 1; min-width: 180px; }
  .pp-service-comparison__phase { display: block; width: max-content; margin: 0 0 5px; }
  .pp-service-comparison__legend { flex-direction: column; gap: 7px; }
  .pp-service-comparison__summary { padding: 22px 20px; }
  .pp-service-comparison__summary h3, .pp-implementation-cards .pp-strength-card__title, .pp-qr-pricing__group h3 { font-size: 20px; }
  .pp-implementation-cards.pp-strengths-grid, .pp-qr-pricing { grid-template-columns: 1fr; gap: 16px; }
  .pp-implementation-cards .pp-strength-card, .pp-qr-pricing__price, .pp-qr-pricing__group { padding: 22px 20px; }
  .pp-qr-pricing__actions { flex-direction: column; }
}
