body{
    height: auto;
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

/*.header-text-container{
    float: left;
    margin-left: 25px;
    margin-top: 0px; 
   
}*/

.header-border{
    border-bottom: 2px solid;
    margin-top: -0px;
}

.header-text-container p{
    margin: 0px;
    font-size:14px;
     font-size:11px;
}

@media screen and (max-width: 1020px) { 
.link-container{
    float: left;
    width: 25%;
    height: 100px;
    text-align: center;
    line-height: 50px;
}
.link-container a{
    margin: 0 auto;
}
.header-text-container{
    float: left;
    margin-left: 25px;
    margin-top: 25px; 
   
}
}

@media screen and (max-width: 786px) { 
.logo-img{
    margin-left: 1%;
}

.form-header-text {
    margin-left: 10px;
    border: 1px solid;
    overflow: hidden;
    padding: 15px;
}
.form-header-text h1{
    font-size: 30px;
}
.form-header-link {
    margin-top: 20px;
    margin-right: 0px;
    float: right;
    border: 1px solid;
    padding: 2px;
    border-radius: 10px;
    width: 70px;
    text-align: center;
    font-size:11px
}

.output-container {
    width: 100%;
    margin: 15 auto;
}
.link-container{
    float: left;
    width: 33%;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.link-container a{
    margin: 0 auto;
}
.top-right-content{
    margin-left: 10px;
}
}


@media screen and (max-width: 480px) {     
.header-text-container{
    float: left;
    margin-left: 25px;
    margin-top: 0px; 
   
}
.col-centered{
    padding-right: 10px !important;
    padding-left: 10px !important; 
}
.link-container{
    float: left;
    width: 50%;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.link-container a{
    margin: 0 auto;
}
.output-container-index{
    width: 100%;
    margin-top: 65px;
}
.output-link {
    float: none;
    clear: both;
    width: auto;
    overflow: hidden;
    position: absolute;
}
.output-link-text {
    border: 1px solid;
    margin: 10px;
    padding: 10px;
    float: left;
    width: 80px;
    text-align: center;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
} 
.content-selected{
    width: 100%;
}
.top-content{
    display: none;
}
.top-content-mobile{
    display: block;
}
.show-all-link{
    white-space: nowrap;
}
.top-right-content {    
    float: right;
    margin-left: 10px;
    text-align: right;
    width: auto;
    margin-top: 40px;
}
.top-content-border {
    margin-bottom: 15px;
}
.show-form{
    white-space: nowrap;
}
.date{
    line-height: 30px;
    margin-right: 10px;
    white-space: nowrap;
    float: left;
    font-size: 12px;
}
.output-container {
    width: 100%;
    margin: 15px auto;
    margin-bottom: 50px;
}
.cloud-wrapper{
    overflow: hidden;
    margin-right: 0px;
    margin-top: -50px;
    font-size: 14px;
}
.cloud-container {
    position: relative;
    z-index: 1;
    text-align: right;
    width: 100%;
}
.text-char-container {
    position: relative;
    z-index: 5;
    margin-top: 8px;
    margin-bottom: 15px;
    float: right;
}
.addchar-id{
    margin-left: 0px;
}
.cloud-container img{
    width: 180px;
}
.pingimg-container{
    margin-top: 20px;
    margin-left: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 2px solid black;
    padding: 0px;
}
img.picimg{
    width: 100px;
    height: 85px;
    float: left;
    margin: 5px;
    border-radius: 15px;
}
.name {
    line-height: 20px;
    margin-left: 0px;
}
.nenrei {
    font-size: 12px;
    line-height: 20px;
    margin-left: 0px;
}
.bottom-content {
    clear: both;
    float: none;
    width: 50%;
}
.bottom-content-wrapper {
    margin-left: 10px;
}
.hyouka,.atmsphere,.service,.gijutsu,.ryoukin,.todou,.shiku {/*20180404*/
    margin: 0px; /*20180404*/
    margin-left: 0px;
    border-left: none;
    padding-left: 0px;
    display: inline-block; /*20180404*/
    white-space: nowrap;
    font-size: 12px; /*20180404*/
    width: 50px; /*20180404*/
}
.bottom-container {
    min-height: 100px;
    height: auto;
    padding: 5px;
    margin: 10px;
    margin-left: 0px;
    font-size: 14px;
    width: 93%;
}
.text-value-color {
    color: #87b9e6;
    font-size: 12px;
}
}


@media screen and (max-width: 359px) { 
.main-textarea {
    width: 100%;
}
.output-link-text {
    width: 75px;
}
}
