/* ==========================================================================
   Project: Update Modal (FLOCSS)
   ========================================================================== */

/**
 * モーダルの外枠（画面全体を覆う半透明の黒背景）
 */
.p-update-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* 重なり順の最前面 */
}

/**
 * モーダルのコンテンツ表示領域（中央の白背景カード）
 */
.p-update-modal__container {
  background-color: #ffffff;
  width: 80%;
  max-width: 400px;
  border-radius: 24px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/**
 * モーダル本文のラッパー（上下のパディングと下線）
 */
.p-update-modal__body {
  padding: 64px 32px;
  border-bottom: 1px solid #D9D9D9;
}

/**
 * モーダルのタイトル
 */
.p-update-modal__title {
  /* デザイン */
  color: var(--text-headline, #202020);
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: var(--size-headline-small);
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 25.6px */
}

/**
 * 説明テキスト
 */
.p-update-modal__text {
  margin-top: 24px;
  color: var(--text-body, #303030);
  text-align: center;
  /* pc/body/regular-14 */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: var(--size-body-small);
  font-style: normal;
  font-weight: 300;
  line-height: 160%; /* 22.4px */
}


/**
 * ボタン配置エリア
 */
.p-update-modal__action {
  display: flex;
  height: 62px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
}

/**
 * アップデートボタン（OOCSSを意識した共通ボタン構造）
 */
.p-update-modal__btn {
  color: var(--text-link-blue, #3771E6);
  /* mobile/headline/bold-14 */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: var(--size-body-small);
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 22.4px */
}
