@charset "UTF-8";

/* /check-in/ 専用（タイムライン・機器写真・暗証例・手順リスト）
-----------------------------------------------------------------------------*/
#wrapper.check-in .checkin-detail-flow {
  max-width: 900px;
  margin: 0 auto;
}

#wrapper.check-in .checkin-detail-step {
  display: flex;
  gap: 24px 32px;
  margin-bottom: 56px;
}

#wrapper.check-in .checkin-detail-step:last-child {
  margin-bottom: 0;
}

#wrapper.check-in .step-num-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
}

#wrapper.check-in .step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-en);
  line-height: 1.2;
  background: var(--black);
  border-radius: 30px;
  height: 90px;
  width: 55px;
  justify-content: center;
  color: var(--white);
}

#wrapper.check-in .step-num .font-en,
#wrapper.check-in .step-num > span:first-child {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#wrapper.check-in .step-num strong {
  font-size: 3.2rem;
  font-weight: 600;
}

#wrapper.check-in .step-dot-line {
  flex: 1;
  width: 1px;
  min-height: 48px;
  margin-top: 12px;
  background: var(--line-color);
}

#wrapper.check-in .checkin-detail-step:last-child .step-dot-line {
  display: none;
}

#wrapper.check-in .step-body {
  flex: 1;
  min-width: 0;
}

#wrapper.check-in .step-body > p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

#wrapper.check-in .step-body > .checkin-steps {
  margin-top: 16px;
}

/* STEP4 カード内の見出しのみ（ステップ見出しの .h4-title より一段小さく） */
#wrapper.check-in .checkin-steps .step .h4-title {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 10px 0 0;
  letter-spacing: 0.05em;
  text-align: center;
}

#wrapper.check-in .machine-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

#wrapper.check-in .machine-photo-main {
  flex: 1 1 280px;
  min-width: 200px;
}

#wrapper.check-in .machine-photo-subs {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 160px;
}

#wrapper.check-in .photo-frame {
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

#wrapper.check-in .photo-frame.tall {
  min-height: 280px;
}

#wrapper.check-in .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#wrapper.check-in .code-box {
  margin: 24px 0;
  padding: 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-color);
  border-radius: 4px;
}

#wrapper.check-in .code-label {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

#wrapper.check-in .code-box-photo {
  overflow: hidden;
  border-radius: 2px;
}

#wrapper.check-in .code-box-photo img {
  display: block;
  width: 100%;
  height: auto;
}

#wrapper.check-in .checkin-detail-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

#wrapper.check-in .checkin-detail-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}

#wrapper.check-in .checkin-detail-list li:last-child {
  margin-bottom: 0;
}

#wrapper.check-in .checkin-detail-list li .font-en {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0.2em;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  #wrapper.check-in .checkin-detail-step {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
  }

  #wrapper.check-in .step-num-wrap {
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 16px;
    justify-content: center;
  }

  #wrapper.check-in .step-num {
    width: 50px;
    height: 80px;
    font-size: 1.2rem;
  }

  #wrapper.check-in .step-dot-line {
    display: none;
  }

  #wrapper.check-in .checkin-detail-step:last-child .step-dot-line {
    display: none;
  }

  #wrapper.check-in .step-body > p {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  /* STEP4: SP でも3カラム横並び（.sec-checkin の width:100% 上書き） */
  #wrapper.check-in .step-body > .checkin-steps {
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: space-between;
  }

  #wrapper.check-in .step-body > .checkin-steps > .step {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin-bottom: 0;
  }

  #wrapper.check-in .step-body > .checkin-steps > .step:last-child {
    margin-bottom: 0;
  }

  #wrapper.check-in .step-body > .checkin-steps .img {
    margin-bottom: 6px;
  }

  #wrapper.check-in .checkin-steps .step .h4-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }
}
