body {
    background: #f2efe4;
    letter-spacing: 0.02em;
    color: #282828;
    font-family: -apple-system, BlinkMacSystemFont, '游ゴシック  Medium', meiryo, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
    -webkit-font-smoothing: antialiased;
}

#wrapper {
    max-width: 100%;
    overflow: hidden;
}

* {
    text-decoration:  none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    vertical-align: bottom;
}

.headerFix {
    position: fixed;
    left: 0; top: 0; right: 0;
    background: #f2efe4;
    z-index: 2;
}

h1 {
    font-size: 15px;
    font-weight: bold;
    line-height: 46px;
    font-family: Nunito,sans-serif;
    padding: 0 24px;
    border-bottom: 1px solid #e0e0e0;
/*     text-align: center; */
}

h1 i {
    vertical-align: middle;
    transform: translateY(-4px);
    margin-right: 10px;
}

h1 span {
    display: inline-block;
    transform: translateY(-1px);
}

h1 span:first-child {
    margin-right: 4px;
}

header {
    padding: 0;
}

header > a {
    position: absolute;
    top: 13px;
    right: 24px;
}

header > a svg {
    width: 20px;
    height: 20px;
}

nav {
    overflow-x: auto;
}

nav ul {
    display: flex;
    width: fit-content;
    min-width: 100%;
    padding: 12px 22px 0;
    border-bottom: 1px solid #e0e0e0;
    background: rgba(225,225,225,0.3);
    box-sizing: border-box;
}

nav ul li {
    font-family: Nunito,sans-serif;
}

nav ul li a {
    display: block;
    line-height: 28px;
    padding: 0 10px;
    background: #FAFAFA;
    font-size: 12px;
    margin: 0 2px;
    border-radius: 6px 6px 0 0 / 6px 6px 0 0;
    color: #AAA;
}

nav ul li.active a {
    background: #FFF;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    color: #282828;
    font-weight: bold;
}

main {
    padding-top: 86px;
    display: flex;
    transition: opacity 300ms ease;
}

main .table {
    min-height: calc(100vh);
    width: calc(100vw);
}

main .table > li{
    min-height: 67px;
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    background: rgba(225,225,225,0.3);
}

main .table > li.current {
    border-top: 2px solid #ff93af;
}


main .times {
    width: 24px;
    font-size: 11px;
    border-right: 1px solid #e0e0e0;
    font-family: Nunito,sans-serif;
    text-align: center;
    line-height: 14px;
    font-weight: bold;
    padding: 12px 0;
    position: relative;
    background: #f2efe4;
    display: block;
}

main .times span._after {
    display: block;
    vertical-align: top;
    transform: rotate(90deg) translateY(1px);
    transform-origin: center;
}

main .times .fix{
    height: 42px;
}

main .fixed .times .fix{
    width: 24px;
    position: fixed;
    top: 98px;
}

main .fixed.absolute .times .fix{
    bottom: 12px;
    top: auto;
    position: absolute;
}

main .houses {
    width: calc(100% - 24px);
}

main .houses > li {
    background: #FFF;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 0px rgba(225,225,225,1);
}

main .houses > li > a {
    display: block;
    padding: 16px;
    position: relative;
}

main .houses > li > a:hover {
    background: #FAFAFA;
}

main .houses > li + li {

}

main .houses .time {
    font-size: 11px;
    color: #555;
    margin-bottom: 8px;
}

main .houses .title {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 8px;
    font-weight: bold;
/*     text-decoration: underline; */
}

main .houses .description {
    font-size: 11px;
    line-height: 17px;
    margin-bottom: 8px;
    text-align: justify;
    word-break: break-all;

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

}

main .houses .users {
    font-size: 10px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

main .houses .users > * {
    display: inline-block;
}

main .houses .users span.icon,
main .houses .users img {
    width: auto;
    height: auto;
    max-width: 40px;
    max-height: 40px;
    border-radius: 100%;
    overflow: hidden;
    border: 2px solid #27ae60;
    margin-right: -10px;
    background: #EAEAEA;
    opacity: 0;
    transition: opacity 300ms ease;
}

main .houses .users img {
    opacity: 1;
}

main .houses .users span.icon {
    width: 40px;
    height: 40px;
}

main .houses .users span.name {
    padding-right: 18px;
    line-height: 16px;
    text-align: left;
}

@media screen and (min-width: 768px) {
    main .houses .users {
        flex-direction: row-reverse;
    }
    main .houses .users span {
        margin-left: 28px;
    }
}

footer {
    line-height: 88px;
    text-align: center;
    font-size: 10px;
    font-family: Nunito,sans-serif;
}

footer i {
    transform: scale(0.5);
    vertical-align: middle;
}


#loading {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    display: none;
}

#loading .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0.5);
    margin: 0;
}

#wrapper.loading main {
    opacity: 0;
}

#wrapper.loading #loading {
    display: block;
}

.loader,
.loader:before,
.loader:after {
  background: #27ae60;
/*   background: #FFF; */
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 0.8em;
  height: 3em;
}
.loader {
  color: #27ae60;
/*   color: #FFF; */
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
