/* ======================================
   ハコボ application.css
   Rails の application.css.scss を変換
   ====================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Lato:wght@300;400;700&display=swap');

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 100px;
  font-family: 'Noto Sans JP', 'Lato', sans-serif;
}

h1 { font-size: 40px; }
h2 { font-size: 18px; }

fieldset { margin-bottom: 20px; }

.well {
  filter: alpha(opacity=80);
  opacity: 0.80;
}

/* 背景画像（未ログイン時のトップページ） */
.top-img {
  background-image: url('../images/background_img.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
.top-img-overlay {
  background: rgba(0, 0, 0, 0.5);
  min-height: 100vh;
}

.shadow {
  box-shadow: 4px 4px 8px 4px #000;
  -webkit-box-shadow: 4px 4px 8px 4px #000;
}

.wanted {
  width: 100%;
  background-color: #f5f5f5;
  margin-bottom: 50px;
}

/* フッター */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 85px;
  background-color: #f5f5f5;
}

body > .container {
  padding: 50px 15px 0;
}

/* ナビゲーション */
.navbar-brand img {
  display: inline;
}
.navbar-brand .title {
  font-size: 30px;
  color: white;
  margin-left: 1rem;
}

/* 注文一覧 */
.order-list a { color: #333; }

/* 進捗フロー */
.order-flow {
  overflow: hidden;
  width: 100%;
}
.order-flow li {
  float: left;
  margin: 0 .5em 0 1em;
}
.order-flow span {
  background: #aaa;
  padding: .7em 1em;
  float: left;
  color: #fff;
  position: relative;
}
.order-flow .current { background: #5cb85c; }
.order-flow span::before {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1.5em;
  border-width: 1.5em 0 1.5em 1em;
  border-style: solid;
  border-color: #aaa #aaa #aaa transparent;
  left: -1em;
}
.order-flow .current::before {
  border-color: #5cb85c #5cb85c #5cb85c transparent;
}
.order-flow span::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1.5em;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
  border-left: 1em solid #aaa;
  right: -1em;
}
.order-flow .current::after { border-left-color: #5cb85c; }

@media (max-width: 768px) {
  .order-flow li { margin: 0 .5em 0 .5em; }
  .order-flow span { padding: .5em .5em; font-size: xx-small; }
}

/* ログインモーダル */
#signin-modal-content { border-radius: 10px; }
.modal-header {
  background-color: #09C6AB;
  border-radius: 10px 10px 0 0;
  text-align: center;
}
.modal-title { color: #fff; }
.modal-content { min-height: 420px; }

/* ログインアイコン */
.fa-user-lock {
  margin-top: 1rem;
  font-size: 30px;
  float: right;
  color: white;
}
.login { color: white; text-align: center; margin-top: 5px; }
.login-menu { margin-top: 5px; }

.navbar-right { float: right; }
.collapse.navbar-collapse.navbar-right {
  margin-right: 2rem;
  display: block;
}
.navbar-toggle { display: none; }

.center { text-align: center; }
#center { display: inline-block; padding-right: 25px; }

.register { border-radius: 10px; }

.panel-info { text-align: center; }
.panel-heading { padding-right: 30px; }
.glyphicon-paperclip { margin-right: 1rem; }
.contents { margin-top: 2rem; }
.signup { margin-bottom: 10px; }
.form-group { margin-bottom: 14px; }
