@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  width: 100%;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ここから実装 */

h1 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: bold;
}
h2 {
  font-weight: bold;
  font-size: 20px;
}

body {
  padding: 80px 0;
  margin: 0;
  font-family: sans-serif;
  color: #333;
  background: #ccc;
}

.bl_wrapper {
  width: min(100%, 800px);
  margin: auto;
  padding: 0 24px;
}

.bl_button_inner {
  margin-block: 40px;
}

.el_button {
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #444;
  color: #fff;
  padding: 16px;
  width: 240px;
  border-radius: 50px;
  font-size: 16px;
  margin: 24px auto 0;
  min-height: 44px;
}

.el_button:focus-visible {
  outline: solid 3px blue;
}

.el_text {
  font-size: 16px;
}

* + .el_text {
  margin-top: 16px;
}

/* dialogのコンテンツ */
.bl_dialog {
  width: min(500px, calc(100% - 48px));
  height: min(280px, calc(100% - 48px));
  background-color: #fff;
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0px;
  padding: 24px;
  overscroll-behavior-y: contain;
}

.bl_dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
