/*
 * 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: #FAFAFA;
  color: #000;
  font: normal 16px/1.6 system-ui, "Hiragino Sans", "YuGothic", "Arial", 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.linkon {
  color: #1A0DAB;
  text-decoration: none;
}
.linkon:hover {
  text-decoration: underline;
}

img {
  border: none;
  display: block;
}

ul {
  list-style: none;
}

h1 {
  font-size: 1.5em;
}
h2 {
  font-size: 1.2em;
}

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;
  border-radius: 2px;
  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: 6px;
  width: 100%;
}
select {
  font-size: 1.2em;
}
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 28px;
}
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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 4px 4%;
  width: 100%;
}
.h-left {
  display: flex;
  align-items: center;
  flex-basis: 70%;
}
.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: flex-end;
  align-items: center;
  position: relative;
  transition: all .2s ease-out;
  flex-basis: 30%;
}
#h_userinfo:hover,
 {
  color: #000;
}
.hui-minimenu li {
  display: inline-block;
  margin: 0 8px 0 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: 40px;
  height: 40px;
}
.hui-thumb img {
  border-radius: 50%;
  width: 100%;
  height: 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%;
}


/* 検索 */
.hui-search-btn {
  margin: 0 16px 0 0;
}
.pc-search-wall {
  margin: 0 0 0 4%;
  width: 70%;
}
#sp_search_wall {
  background: #fcfcfc;
  box-shadow: 0 0 8px #bbb;
  display: none;
  padding: 72px 2% 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 140px;
}


.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;
  color: #fff;
  display: inline-block;
  margin: 16px auto;
  padding: 4px 16px;
}


.top-side {
  background: #F5F5F5;
  padding: 40px 2%;
  width: 20%;
}
.top-side-section {
  border-bottom: 1px solid #dfdfdf;
  margin: 0  auto 24px;
  padding: 0 0 12px;
}
.top-side .content-header {
  color: #777;
  font-size: 1.2em;
  font-weight: normal;
}
.top-side-ul li {
  margin: 12px auto;
}
.top-side-ul a:hover {
  text-decoration: underline;
}



.perfect-userpoint {
  background: #000;
  color: gold;
  font-size: .9em;
  padding: 0 6px;
  position: absolute;
  top: 0;
  right: 0;
}
.pu-counter {
  color: #fff;
  padding: 0 0 0 4px;
}



/* したのメニュー */
.bottom-menu {
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  text-align: center;
  width: 100%;
}
.bm-ul {
  display: flex;
  flex-wrap: nowrap;
}
.bm-ul li {
  border-top: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  display: inline-block;
  width: 25%;
}
.bm-ul li:last-child {
  border-right: none;
}
.bm-ul li a {
  display: inline-block;
  padding: 12px 4px 8px;
}
.bm-ul li i {
  display: block;
  font-size: 1.5em;
}






.footer {
  background: #fafafa;
  border-top: 1px solid #ebebeb;
  width: 100%;
}
.f-wrapper {
  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;
}

h2 {
  font-size: 1.3em;
}

.top-side {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: auto;
  max-width: 400px;
}

.h-left {
  flex-basis: 50%;
}
.h-userinfo {
  flex-basis: 50%;
}

.h-logo {
  width: 140px;
}

.h-humburger {
  font-size: 1.8em;
  margin: 0 12px 0 0;
}

.hui-login {
  font-size: .8em;
}

.hui-username {
  display: none;
}
.hui-thumb {
  width: 32px;
  height: 32px;
}
.hui-menu {
  top: 43px;
  right: -14px;
  width: 160px;
}
.hui-minimenu {
  font-size: 2em;
}

.left-usermenu {
  top: 50px;
}

}


@media screen and (max-width:350px) {
.h-left {
  width: auto;
}
.hui-login {
  padding: 1px 8px;
}
}
