h1 {
    font-size: 24px;
    margin: 0;
}
h2 {
    font-size: 20px;
    margin: 0;
}
h3 {
    font-size: 18px;
    margin: 0;
}
h4 {
    font-size: 16px;
    margin: 0;
}
h5 {
    font-size: 12px;
    margin: 0;
}
.headline{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}    
.top_wrapper {
    padding-top: 20px;
    margin: 0 auto;
    width: 90%;
}
.nonLoginTopMargin {
    margin-top: 40px;
}
.shop_name {
    letter-spacing: 0.4px;
}
.shop_address {
    margin-top: 26px;
}
.checkin_btn {
    width: 255px;
    height: 48px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/Legacy/application/themes/my_theme/images/kitayo_button/kitayo_button_detail.png);
    border: none;
    border-bottom: solid 4px rgba(0,137,111,1);
    border-radius: 6px;
    color: #fff;
}
.checkin_btn:hover {
    box-shadow: none;
    transform: translateY(5px);        
}
.checkedin {
    display: none;
}
.checkedin_btn {
    width: 255px;
    height:48px;
    background-color: rgba(153,153,153,1);
    background-image: url(/Legacy/application/themes/my_theme/images/kitayo_button/kitayo.png);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    border-radius: 6px;
    color: #fff;
    /* pointer-events: none; */
}
.line {
    width: 100%;
    height: 0.8px;
    margin-top: 20px;
    fill: rgba(203,241,252,1);
}
.map {
    margin-top: 25px;
}
.bottom_wrapper {
    margin: 0 auto;
    width: 90%;
}
.shop_information {
    margin-top: 40px;
}
.bottom_wrapper h1 {
    font-weight: bold;
    letter-spacing: 0.8px;
}
.detail_contents_list {
    margin-top: 26px;
}
.detail_content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start; 
    align-items: stretch;
    margin-top: 8px;
    text-align: left;
    word-break: break-all;
    height: 100%;
}
.detail_content h4 {
    display: flex;
    width: 144px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(240,240,240,1);
    margin-right: 20px;
    letter-spacing: 1.2px;
    flex-shrink: 0;
}
.detail_content h3 {
    line-height: 32px;
}
.detail_content a {
    color: rgba(0,185,239,1);
    font-size: 18px;
    text-decoration: underline;
}

.detail_content .rps_use_description{
    font-size: 12px;
    line-height: 2px;
}

.remove_btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 255px;
    height:48px;
    background-color: rgb(101 101 101);
    border: none;
    border-bottom: solid 4px rgb(90 90 90);
    border-radius: 6px;
    color: #fff !important;
}
.remove a:hover , .remove a:focus, .bookmark a:hover, .bookmark a:focus{
    color: #fff !important;
}
.remove, .bookmark {
    position: relative;
    width: 255px;
    height: 78px;
    padding-top: 30px;
    margin: auto;
    display: flex;
    justify-content: space-around;
}
.bookmark_btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 255px;
    height: 48px;
    background-color: rgba(0,198,160,1);
    border: none;
    border-bottom: solid 4px rgba(0,137,111,1);
    border-radius: 6px;
    color: #fff !important;
}
.favorite_star {
    position: absolute;
    width: 18px;
    height: 17px;
    left: 14px;
    top: 44px;
    transform: matrix(1,0,0,1,0,0);
    fill: rgba(248,222,0,1)
}
.news_contents_list {
    margin-top:26px;
}
.news_content {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
.news_publication_date {
    line-height: 2em;
    font-size: 12px;
    margin-right: 25px;
}
.news_title {
    padding: 0;
    margin: 0;
    font-size: 16px;
}
.pagination {
    padding-top: 40px !important;
}
/* モーダル用CSS */
/* オーバーレイ */
.alert_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.671);
    width: 100%;
    height: 100%;
    z-index: 100;
}

/* モーダルウィンドウ */
.alert_modal-window {
    display: none;
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: auto;
    background-color: #ffffff;
    border-radius: 5px;
    z-index: 101;
}

@media screen and (max-width: 640px) {
    .alert_modal-window {
        width: 80%;
        height: auto;
    }
}

/* カラフルなライン部分 */
.alert_modal-window #color-line {
    height: 8px;
    display: flex;
}

.alert_modal-window #line-1 {
    flex-grow: 1;
    background-color: rgba(0, 185, 239, 1);
    border-radius: 6px 0 0 0;
}

.alert_modal-window #line-2 {
    flex-grow: 1;
    background-color: rgba(241, 178, 7, 1);
}

.alert_modal-window #line-3 {
    flex-grow: 1;
    background-color: rgba(248, 222, 0, 1);
}

.alert_modal-window #line-4 {
    flex-grow: 1;
    background-color: rgba(235, 110, 165, 1);
}

.alert_modal-window #line-5 {
    flex-grow: 1;
    background-color: rgba(69, 176, 53, 1);
    border-radius: 0 6px 0 0;
}

.alert_modal-window .modal-content-area {
    padding: 20px 15px;
}

.alert_modal-window .modal-content-area h3 {
    font-size: 20px;
    margin: 0;
    margin-bottom: 10px;
}

.alert_modal-window .modal-content-area p {
    font-size: 16px;
    margin-bottom: 10px;
}

.alert_modal-window .modal-content-area a {
    font-size: 14px;
    color: rgba(0,185,239,1);
    text-decoration: underline;
}

.alert_modal-window .modal-footer-area{
    padding: 0px 15px 15px;
    width: 100%;
    text-align: right;
}

.alert_modal-window .modal-footer-area .modal-close-button{
    text-align: right;
    padding: 8px 14px;
    background-color: black;
    color: white;
    font-size: 12px;
    border-radius: 6px;
}
#map-canvas {
    margin-top: 140px;
}
@media screen and (max-width: 840px) {
    .nonLoginTopMargin {
        margin-top: 40px;
    }
    h1 {
        font-size: 18px;
        margin: 0;
        font-weight: bold;
    }
    h2 {
        font-weight: bold;
    }
    h3 {
        font-size: 14px;
        margin: 0;
    }
    h4 {
        font-size: 12px;
        margin: 0;
    }
    .headline {
        display: block;
        width: 100%;
        margin: auto;
    }
    .shop_name {
        text-align: center;
    }
    .shop_address {
        display: none;
    }
    .checkin, .checkedin {
        margin: auto;
        padding-top: 30px;
        text-align: center;
    }
    .checkin_btn, .checkedin_btn {
        width: 190px;
    }
    .checkin_btn {
        background-image: url(/Legacy/application/themes/my_theme/images/kitayo_button/kitayo_button_SP.png);
    }
    .line {
        display: none;
    }
    .map {
        margin-top: 35px;
    }
    .bottom_wrapper {
        width: 90%;
    }
    .detail_content {
        margin-top: 4px;
    }
    .detail_content h4 {
        width: 80px;
    }
    .detail_content h3 {
        line-height: 24px
    }
    .detail_content a {
        font-size: 14px;
    }
    .remove, .bookmark {
        margin: auto;
        padding-top: 30px;
        width: 190px;
    }
    .remove_btn, .bookmark_btn {
        width: 190px;
    }
    .favorite_star {
        left: 5px;
    }
    .news_content {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }
    .news_category {
        height: 18px;
        line-height: 14px;
    }
}
