/**
  * design.css
  * 画面の基本デザインを定義するCSSファイル
  * bootstrapを使用せずに、独自にスタイルを定義している
  */

body {
  display: block;
  background: #fff;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  font-size: 16px;
}

.navbar {
  display: flex;
  align-items: center;
  background: #343a40;
  color: #fff;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  min-height: 40px;
}

.bg-dark {
  background-color: #343a40;
}

.navbar-dark {
  color: #fff;
}

.navbar-brand {
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #e9ecef;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 40px auto 0 auto;
  padding: 0 16px;
  background: #fff;
  border-radius: 7px;
}

.mt-5 {
  margin-top: 3rem !important;
}

.p-lg-5 {
  padding: 3rem !important;
}

.p-lg-4 {
  padding: 2rem !important;
}

.bg-light {
  background: #f8f9fa !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-5 {
  display: inline-block;
  width: 42% !important;
}

.col-md-8 {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  padding: 0 15px;
}

.col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.offset-md-2 {
  margin-left: 16.666%;
}

.text-center {
  text-align: center !important;
}

.form-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.5em 0.9em;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s, box-shadow .15s;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.95em;
  margin-top: 0.2rem;
  text-align: right;
  width: 100%;
}

.btn {
  display: inline-block;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  padding: 0.375em 0.75em;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border 0.22s;
  box-sizing: border-box;
  color: #212529;
  background-color: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  width: 100%;
}

.btn:focus {
  outline: 2px solid #ccc;
  background-color: #6c757d;
}

.btn-outline-secondary {
  background: #fff;
  color: #6c757d;
  border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  color: #fff;
  border-color: #6c757d;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background: #0056b3;
}

.w-25 {
  width: 25% !important;
}