/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *

 */

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

html,
body {
  background: #EDF1F2;
  color: #000;
  font: normal 16px/1.7 "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

a {
  color: #1a0dab;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  border: none;
  display: block;
}

ul {
  list-style: none;
}

h1 {
  font-size: 1.7em;
}

button {
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  outline: none;
}

input[type=text],
textarea {
  border: 1px solid #888;
  box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1) inset;
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  outline: none;
  padding: 4px;
  width: 100%;
}
input[type=submit] {
  -webkit-appearance: none;
  background: linear-gradient(#f9f9f9, #f1f1f1);
  border: 1px solid #ccc;
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  padding: 8px 32px;
}
iframe {
  border: none;
}

.clear {
  clear: both;
}


#header {
  background: #fff;
  box-shadow: 0 0 8px #bbb;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}
.h-wrap {
  margin: 0 auto;
  padding: 8px 4%;
  width: 100%;
}
.h-left {
  display: flex;
  align-items: center;
  float: left;
}
.h-humburger {
  color: #999;
  font-size: 1.4em;
  margin: 0 24px 0 0;
}
.h-logo {
  width: 148px;
}
.h-logo img {
  width: 100%;
}

.h-userinfo {
  color: #888;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;
  position: relative;
  transition: all .2s ease-out;
}
#h_userinfo:hover,
 {
  color: #000;
}
.hui-minimenu li {
  margin: 0 20px 0;
}
.hui-minimenu li:hover {
  color: #000;
}

.hui-login {
  background: #167ac6 !important;
  border: 1px solid #167ac6 !important;
  border-radius: 2px;
  color: #fff;
  padding: 4px 12px;
}
.hui-thumb {
  background: #ccc;
  border-radius: 50%;
  display: table-cell;
  overflow: hidden;
  width: 36px;
  height: 36px;
}
.hui-thumb img {
  border-radius: 50%;
  width: 100%;
}
.hui-username {
  display: table-cell;
  font-size: 1.2em;
  padding: 0 0 0 8px;
  vertical-align: middle;
}
.hui-menu {
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 1px 1px 2px #f1f1f1;
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  z-index: 2;
}
.hui-list li {
  border-bottom: 1px solid #ebebeb;
  display: table;
  width: 100%;
}
.hui-list li:last-child {
  border-bottom: none;
}
.hui-list li a {
  display: table-cell;
  padding: 12px 24px;
  vertical-align: middle;
  width: 100%;
}


.left-usermenu {
  background: #fff;
  border-right: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  display: none;
  padding: 16px;
  position: absolute;
  top: 61px;
  left: 0;
  z-index: 2;
  width: 200px;
}


/* ログインしてない用ページ */
.login-wrapper {
  background: #fff;
  margin: 0 auto;
  padding: 80px 2%;
  text-align: center;
  max-width: 1100px;
}
.lw-icon {
  color: #ccc;
  font-size: 6em;
}
.lw-login-btn {
  background: #167ac6 !important;
  border: 1px solid #167ac6 !important;
  border-radius: 2px;
  display: inline-block;
  margin: 16px auto;
  padding: 4px 16px;
}


#footer {
  background: #fafafa;
  border-top: 1px solid #ebebeb;
  width: 100%;
}
.f-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 32px 4%;
  width: 100%;
  max-width: 1100px;
}
#footer .fw-item {
  padding: 0 4%;
}
#footer .fw-item li {
  padding: 4px 0;
}
#footer .fw-item a {
  color: #777;
}
.f-copyright {
  display: block;
  margin: 0 auto 4px;
  text-align: center;
}


@media screen and (max-width:550px) {
html,
body {
  font-size: 14px;
}

.h-logo {
  width: 120px;
}
.hui-username {
  display: none;
}
.hui-thumb {
  width: 33px;
  height: 33px;
}
.hui-menu {
  top: 42px;
  width: 120px;
}

.left-usermenu {
  top: 50px;
}

}
