html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 2px dotted #e0e0e0;
    padding: 0;
    margin: 1em .4rem;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a {
    color: inherit;
}

a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

   .browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* custom style below -----------------------------------------------------------------*/
body {
    background: #fff;
    font-family: 'Noto Sans JP';
    color: #555;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.2;
}

p {
    line-height: 1.6;
    margin-bottom: 0;
}

header {
    background: #f1f1f1;
    padding: .6rem 1.5rem;
    border-bottom: 1px solid #D9D9D9;
}

.btn.btn_map.focus, .btn.btn_map:focus {
    box-shadow: none;
}

.container_top {
    display: flex;
    align-items: center;
}

.box_logo {
    flex: 3;
}

.box_logo img {
    float: right;
    padding-left: .2rem;
    padding-top: .2rem;
}

.box_lang {
    flex: 2;
    text-align: right;
    font-size: 14px;
}

.box_lang p {
    display: inline-block;
    color: #B95C61;
    position: relative;
}

.box_lang p::after {
    content: '';
    background: #B95C61;
    display: block;
    position: absolute;
    top: 1.2rem;
    left: 0;
    right: 0;
    margin: .1rem auto;
    text-align: center;
    width: .4rem;
    height: .4rem;
    border-radius: 1rem;
}

.box_lang a {
    color: #999999;
}

.btn-link.focus, .btn-link:focus {
    text-decoration: none;
}

/*main*/

.tab_floor {
    display: flex;
    width: 100%;
}

a.box_floor {
    flex: 1;
    align-items: center;
    text-align: center;
    padding-top: .6rem;
    padding-bottom: .5rem;
    background: #F5DCDE;
}

a.box_floor:hover,
a.box_floor:focus,
a.box_floor:active {
    opacity: .7;
}

a.box_floor.selected {
    color: #fff;
    background: #B95C61;
}

a.box_floor.selected:hover,
a.box_floor.selected:focus,
a.box_floor.selected:active {
    color: #fff;
    opacity: 1;
}

.container_congestion h2 {
    font-size: .9rem;
    font-weight: normal;
    letter-spacing: .05rem;
    margin-bottom: .9rem;
}

.container_congestion h2.en {
    letter-spacing: .02rem;
}

.box_content {
    background: #F8F8F8;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    margin-top: .8rem;
    margin-bottom: 1.1rem;
}

td.data_left {
    color: #666;
    background: #f1f1f1;
    padding: 1rem;
    text-align: center;
    white-space: nowrap;
    border-radius: 2px 0 0 2px;
    vertical-align: middle;
    min-width: 6rem;
}

td.data_left.two_lines {
    padding: .6rem .8rem;
}

td.data_left.three_lines {
    padding: 0.5rem;
}

td.data_right {
    width: 100%;
    word-break: break-all;
    background: #fff;
    vertical-align: middle;
}

ul.box_status {
    display: flex;
    margin-bottom: 0;
    padding: 0;
    align-items: center;
}

.bar_left,
.bar_center,
.bar_right {
    flex: 1;
    height: 1rem;
    background:#BFBFBF;
    height: 1.2rem;
    text-align: center;
    vertical-align: middle;
}

.bar_left.active,
.bar_center.active,
.bar_right.active {
    background: #61c3f1;
}

.bar_left {
    border-radius: 4px 0 0 4px;
}

.bar_right {
    border-radius: 0 4px 4px 0;
}

.list-inline-item:not(:last-child) {
    margin-right: .1rem;
}

ul.box_status li.list_icon {
    width: 30px;
}

.list-inline-item:last-child {
    margin-right: 0;
}

.list_icon span {
    height: 30px;
    display: block;
}

.box_icon_washingmachine {
    background: url(../img/icon_washingmachine_gray.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_washingmachine.active {
    background: url(../img/icon_washingmachine_blue.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_dryer {
    background: url(../img/icon_dryer_gray.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_dryer.active {
    background: url(../img/icon_dryer_blue.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_toilet,
.box_icon_toilet_red {
    background: url(../img/icon_toilet_gray.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_toilet.active {
    background: url(../img/icon_toilet_blue.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_shower,.box_icon_shower_red {
    background: url(../img/icon_shower_gray.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_shower.active {
    background: url(../img/icon_shower_blue.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_shower_red.active {
    background: url(../img/icon_shower_red.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_toilet_red.active {
    background: url(../img/icon_toilet_red.svg) no-repeat center center;
    background-size: 100%;
}



.box_icon_bathroom {
    background: url(../img/icon_bathroom_gray.svg) no-repeat center center;
    background-size: 100%;
}

.box_icon_bathroom.active {
    background: url(../img/icon_bathroom_blue.svg) no-repeat center center;
    background-size: 100%;
}

.box_r p {
    font-size: 1.6rem;
    margin-top: .4rem;
    margin-left: 1rem;
    font-family: 'Noto Serif JP', sans-serif;
    letter-spacing: .08rem;
    word-break: initial;
    font-weight: 600;
}

.box_r span.available {
    color: #78BF9E;
    font-weight: 600;
}

.box_r span.available.red {
    color: #C95555;
}

.content_02 .data_right,
.content_03 .data_right {
    vertical-align: top;
    padding-top: 1rem;
}

.box_shower {
    height: 2rem;
    width: 2rem;
    background: url(../img/icon_shower_gray.svg) center center;
    background-size: cover;
}

.box_shower.active {
    background: url(../img/icon_shower.svg) center center;
}

.content_02 ul.box_icon,
.content_03 ul.box_icon {
    display: inline-block;
    margin: .4rem .4rem 0;
}

.content_02 ul.box_icon li,
.content_03 ul.box_icon li {
    margin-bottom: .2rem;
}

.box_washing {
    height: 2rem;
    width: 2rem;
    background: url(../img/icon_washingmachine_gray.svg) center center;
    background-size: cover;
}

.box_washing.active {
    background: url(../img/icon_washingmachine.svg) center center;
}

a.btn_wrapper,
a.btn_wrapper:hover,
a.btn_wrapper:active,
a.btn_wrapper:focus {
    text-decoration: none;
}

.container_congestion {
/*    margin-bottom: 4rem;
*/    padding-top: 1rem;
border-top: 4px solid #B95C61;
}

.modal-dialog {
    margin: 20vh .5rem .5rem;
}

a.btn_refresh {
    display: table;
    font-size: .9rem;
    background: #fff;
    padding: .4rem 2rem;
    color: #333;
    text-align: center;
    margin: 1.2rem auto;
    border: 2px solid #B95C61;
    border-radius: 10rem;
    transition: .3s;
}

a.btn_refresh:hover,
a.btn_refresh:active {
    color: #fff;
    background: #ff7e84;
    transition: .3s;
}

.btn_refresh img {
    margin-right: .6rem;
    transform: rotate(0deg);
    transition: .4s;
}

a.btn_refresh:hover img,
a.btn_refresh:active img,
a.btn_refresh:focus img{
    transform: rotate(135deg);
    transition: .2s;
}

.top_tab_info {
    background: #C95555;
    color: #fff;
    display: block;
    margin: 0 auto;
    width: 60%;
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding-top: .8rem;
    padding-bottom: .6rem;
}

.heading_info {
    background: #f1f1f1;
    color: #666;
    padding: .9rem;
    font-size: .8rem;
    border-top: 1px solid #D9D9D9;

}

.content_info {
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.content_info table {
    width: 100%;
}

td.td_left {
    width: 6rem;
    line-height: 2.8;
}

.box_time, .box_map {
    display: flex;
    width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #ececec;
    padding-bottom: 10px;
}

.data_time_left,
.data_map_left {
    flex: 1;
    text-align: center;
}

.data_map_left p {
    line-height: 2.4;
}

.data_time_right,
.data_map_right {
    flex: 1;
    text-align: center;
}

.btn_map {
    background: #fff;
    padding: .4rem 1rem;
    color: #B95C61;
    border-radius: 4px;
    border: 2px solid #B95C61;
    font-size: .8rem;
    transition: .3s;
}

.box_last {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.btn-link {
    font-size: .8rem;
    font-weight: 300;
    color: #007bff;
    background-color: transparent;
}


.content_info .card .card-header {
    border-radius: 0;
}

.card {
    border: none;
}

.card-header {
    padding: 0;
    background: #B95C61;
    border-bottom: 0;
}

.card-header .btn-link {
    color: #fff;
    line-height: 1.4;
    width: 100%;
    font-weight: 400;
    padding: .6rem 1rem;
}

.card-header .btn-link:hover,
.card-header .btn-link:active {
    text-decoration: inherit;
}

.card-body {
    background: #fff;
    padding: .6rem;
    border: 1px solid #D9D9D9;
}

.card-body ul {
    padding-left: 1rem;
    margin-bottom: 0;
}

.card_arrow {
    transform: rotate(90deg);
    transition: .3s;
    margin-bottom: 0;
}

.card_arrow.line_01 {
    margin-top: 0;
}

.open .card_arrow{
    transform: rotate(270deg);
    transition: .3s;
}

.card-body ul{
    margin-top: .6rem;
    margin-bottom: .6rem;
}

.card-body ul li {
    margin-bottom: .6rem;
    line-height: 1.6;
}

footer {
    background: #B95C61;
    padding: 2rem 1rem;
    text-align: center;
    color: #fff;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

 .visuallyhidden.focusable:active,
 .visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

 .invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

 .clearfix:before,
 .clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
        http://www.sanbeiji.com/archives/953 */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

     a[href^="#"]:after,
     a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

     thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
