/**
*下記templateのCSS
*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
}

.header-logo {
  display: inline-block;
  width: 200px;
  height: 45px;
  padding-left : 35px ;
  top: -10px ;
  left: -10px ;
}

.footer {
  position: fixed;
  bottom: 30px;
  left: 0;
  right: 0;
}

.footer-wrap {
  background: #000;
  position: relative;/*←相対位置*/
  height: 30px;
}

.copyright {
  display: block;
  position: absolute;
  order: 3;
  bottom: 0;
  width: 100%;
  padding: 8px 0;
  color: #fff;
  text-align: center;
}

small {
  font-size: 80%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", meiryo, sans-serif;
  font-size: 0.85rem;
  line-height: 1.8;
}

#page-content {
  margin-top: 60px;
  margin-bottom: 270px;
  text-align: center;
}

/**
*下記はパスワード送信画面のCSS
*/
.title-text {
  margin-top: 100px; /* 上方向の行間を指定 */
  margin-bottom: 40px;
  display: inline-block; /* ブロック要素をインラインブロック要素に変更 */
}

.registered-mail {
  margin-bottom: 50px;
}

#pass-btn {
  width: 130px;
  margin-top: 50px;
}

#pass-form {
  text-align: center;
}

#example-inputemail {
  display: block;
  margin: 0 auto;
  width: 300px;
}

.mailtextbox {
  margin-bottom: 40px;
}

/**
*下記はログイン画面のCSS
*/
#login-contents {
  margin-top: 150px;
  margin-bottom: 270px;
}

.form-group {
  margin-bottom: 10px;
}

.login-title-text {
  text-align: center;
  margin-bottom: 30px;
}

#login-email{
  width: 300px;
}

#login-password {
  width: 300px;
}

.login-costum-text {
  text-align: center;
  margin-bottom: 50px;
  font-size: 0.9rem;
}

#login-button-container {
  display:block;
  margin: 0 auto;
  margin-top: 50px;
  width: 120px;
}

/**
*下記から注文画面のCSS
*/

/* 列間の余白をなくすスタイル */
.row.no-gutters [class^="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.form-group label {
  display: block;
  border: 1px solid #ccc; /* 枠線の色と幅を指定 */
  padding: 5px 10px; /* 枠線の内側の余白を調整 */
  border-radius: 5px; /* 角を5pxの丸みに設定 */
}

.no-width {
  width: 1%;
}

.product-width {
  width: 35%;
}

.size-width {
  width: 13%;
}

.quantity-width {
  width: 11%;
}

.remarks-width {
  width: 20%
}

@media (max-width: 800px) { /* スマートフォン用のスタイル */

  .table-scroll {
    overflow-x: auto; /* テーブルがスマートフォンの画面幅を超えた場合にスクロールバーを表示 */
  }

  .table {
    min-width: 700px; /* テーブルの最小幅を設定 */
  }
}

.alert.alert-danger {
  padding: 2px; /* 上下の余白 */
  margin-bottom: 0px; /* エラーメッセージの下の余白 */
}

/**
*完了画面のCSS
*/
#complete-page-content {
  text-align: center;
  height: 100vh;
  overflow-y: scroll;
}

.complete-title {
  margin-top: 140px;
  margin-bottom: 70px;
}

.complete-message {
  display: inline-block;
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

#complete-button {
  display: block;
  margin: 0 auto;
  width: 140px;
  margin-top: 50px;
}

/**
*下記は商品登録・変更・削除画面のCSS
*/

.btnsiz {
  width: 95px;
  margin-top: 50px;
  margin-right: 25px;
}

#product-title {
  margin-bottom: 50px;
}

#text-content1 {
  margin-bottom: 40px;
}

#text-content2 {
  margin-top: 100px;
}

#dropdown-button {
  width: 30%;
}

.dropdown-error {
  color: red;
}

/**
*下記は商品登録画面のCSS
*/

#register-headline {
  transform: translateY(120px);
  text-align: center;
}

#register-text {
  transform: translateY(180px);
  text-align: center;
}

#register-button {
  display:block;
  margin: 0 auto;
  margin-top: 50px;
  width: 120px;
}

#input-form {
  width: 500px;
  margin-top: 230px;
}

@media (max-width: 800px) {
  /* スマートフォン用のスタイル */
  #input-form {
    width: 300px;
    margin-top: 230px;
  }
}

/**
*下記は商品変更画面のCSS
*/

#change-headline {
  transform: translateY(120px);
  text-align: center;
}

#change-text {
  transform: translateY(180px);
  text-align: center;
}

#change-button {
  display:block;
  margin: 0 auto;
  margin-top:50px;
  width: 120px;
}

#c-input-form {
  width: 500px;
  margin-top: 230px;
}


@media (max-width: 800px) { /* スマートフォン用のスタイル */
  #c-input-form {
    width: 350px;
    margin-top: 230px;
  }
}

/**
*注文内容確認画面のCSS
*/

#check-content {
  margin-top: 60px;
  margin-bottom: 270px;
  text-align: center;
}

.check-container {
  display:block;
  margin: 0 auto;
  margin-top: 50px;
  width: 80%;
}

.check-title-text {
  text-align: center;
}

.row.no-gutters [class^="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.form-group label {
  display: block;
  border: 1px solid #ccc; /* 枠線の色と幅を指定 */
  padding: 5px 10px; /* 枠線の内側の余白を調整 */
  border-radius: 5px; /* 角を5pxの丸みに設定 */
}

.no-width {
  width: 1%;
}

.product-width {
  width: 35%;
}

.size-width {
  width: 13%;
}

.quantity-width {
  width: 11%;
}

.remarks-width {
  width: 20%
}

@media (max-width: 800px) { /* スマートフォン用のスタイル */

  .table-scroll {
    overflow-x: auto; /* テーブルがスマートフォンの画面幅を超えた場合にスクロールバーを表示 */
  }

  .table {
    min-width: 700px; /* テーブルの最小幅を設定 */
  }
}

.alert.alert-danger {
  padding: 2px; /* 上下の余白 */
  margin-bottom: 0px; /* エラーメッセージの下の余白 */
}


#check-back-btn {
  width: 130px;
  margin-top: 50px;
}

#check-conf-btn {
  width: 130px;
  margin-top: 50px;
}

#check-button-grop {
  text-align: center;
  margin-top: 30px;
}

#check-button-container {
  width: 120px;
  margin-right: 10%;
}

#check-back-button-container {
  width: 120px; 
  float: left;
}

/**
*商品情報登録・変更・削除完了画面のCSS
*/

#product-complete-page-content {
  text-align: center;
}

.product-complete-title {
  margin-top: 140px;
  margin-bottom: 70px;
}

.product-complete-message {
  display: inline-block;
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

#product-complete-button {
  display: block;
  margin: 0 auto;
  width: 140px;
  margin-top: 70px;
}

/**
*注文承認画面のCSS
*/

.approval-message {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

/**
*新規ユーザー追加完了画面のCSS
*/
#user-register-complete-page-content {
  text-align: center;
  height: 100vh;
  overflow-y: scroll;
}

.user-register-complete-title {
  margin-top: 140px;
  margin-bottom: 70px;
}

.user-register-complete-message {
  display: inline-block;
  text-align: center;
  font-size: 16px;
}

#user-register-complete-button {
  display: block;
  margin: 0 auto;
  width: 140px;
  margin-top: 70px;
}