#main_img {
    background: url(../img/raster.png), url(../img/main_about.jpg);
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    display: table;
    height: 500px;
    padding: 0px;
    width: 100%;
}

h1 {
    color: white;
    display: table-cell;
    font-size: 2rem;
    font-weight: 600;
    height: 500px;
    line-height: 4rem;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    text-shadow: -3px -3px 16px #333, 3px -3px 16px #333, 3px 3px 16px #333, -3px 3px 16px #333;
    width: 100%;
    vertical-align: middle;
}


h2 {
    border-bottom: 2px solid #66a33c;
    color: #333;
    font-family: 'Arbutus Slab', serif;
    font-size: 2rem;
    font-weight: normal;
    line-height: 2.5rem;
    margin: 0 auto 4rem;
    text-align: center;
    text-shadow: 0px 0px 4px white;
    width: 28%;
}

h2 span.aa {
    display: block;
    font-family: 'sans-selif';
    color: #66a33c;
    font-style: normal;
    text-shadow: none;
    margin-top: 0.5rem;
}

section {
    box-sizing: border-box;
    padding: 1rem;
    width: 100%;
}

.inner {
    max-width: 1000px;
    width: 100%;
    margin: auto;
}

section#greet{
    line-height: 2.5rem;
}

#rinen {
    background-image:  url(../img/strip.png), url(../img/rinen.jpg);
    background-repeat: repeat, no-repeat;
    background-size: auto, 100% auto;
    background-position: center, bottom;
}

#rinen ul {
    padding: 0;
    margin: 0;
}
#rinen li {
    font-size: 2rem;
    font-weight: 900;
    list-style-type: none;
    line-height: 6rem; 
    text-align: center;
    text-shadow: 0px 0px 10px black;
    color: white;
}

table {
    width: 100%;
    margin: 0 auto;
    box-shadow: 2px 2px 6px #ccc;
    border-radius: 4px;
}

table th,
table td {
    border-bottom: 1px solid #ccc;
    padding: 1rem;
}

table th {
    vertical-align: middle;
    text-align: left;
    width: 100px;
    overflow: visible;
    position: relative;
    font-weight: normal;
}

table td {
    background-color: #fcfcfc;
    padding-left: 3rem;
}

table th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #caf8aa;
    border-width: 10px;
    margin-top: -10px;
}

table ul {
    padding: 0;
    margin: 0;
}

table ul li {
    float: left;
    list-style-type: disk;
    margin: 0 4rem 0 0;
    padding: 0;
}

#map {
    position: relative;
    padding-bottom: 400px; /*高さは400pxで固定*/
    height: 0;
    width: 65%;
    overflow: hidden; 
    float: left;
    clear: both;
}

#mapbox {
    overflow: hidden;
}

#map iframe {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100% !important;
    height: 100% !important;
    padding: 0px;
    background-color: white;
    box-sizing: border-box;

}
.address {
    color: white;
    float: right;
    width: 35%;
    background: #555;
    padding: 1rem 2rem;
    box-sizing: border-box;
    height: 400px !important;
}


/*-------------------------------------------スマホ用--------------------------------*/

@media only screen and (max-width: 500px) {
    #main_img {
        background: url(../img/raster.png), url(../img/main_about.jpg);
        background-repeat: repeat, no-repeat;
        background-size: auto, cover;
        display: table;
        height: 300px;
        padding: 0px;
        width: 100%;
    }

    h1 {
        color: white;
        display: table-cell;
        font-size: 1.4rem;
        font-weight: 400;
        height: 300px;
        line-height: 3rem;
        margin: 0;
        padding: 0 2rem;
        text-align: center;
        text-shadow: -3px -3px 16px #333, 3px -3px 16px #333, 3px 3px 16px #333, -3px 3px 16px #333;
        width: 100%;
        vertical-align: middle;
    }

    h2 {
        border-bottom: 2px solid #66a33c;
        color: #333;
        font-family: 'Arbutus Slab', serif;
        font-size: 1.5rem;
        font-weight: normal;
        line-height: 1.5rem;
        margin: 1rem auto;
        padding-bottom: 0.5rem;
        text-align: center;
        text-shadow: 0px 0px 4px white;
        width: 80%;
    }

    h2 span.aa {
        display: block;
        font-family: 'sans-selif';
        color: #66a33c;
        font-style: normal;
        text-shadow: none;
        margin-top: 1rem;
    }

    section {
        box-sizing: border-box;
        padding: 2rem 1rem;
        width: 100%;
    }
    
    section#greet{
        line-height: 1.5rem;
    }
    
    #rinen {
        background-image:  url(../img/raster.png), url(../img/rinen.jpg);
        background-repeat: repeat, no-repeat;
        background-size: auto, cover;
        background-position: center, bottom;
    }
    
    #rinen h2 {
        text-shadow: -3px -3px 6px white, 3px -3px 6px white, 3px 3px 6px white, -3px 3px 6px white;
    }
    #rinen h2 span{
        text-shadow: -3px -3px 6px white, 3px -3px 6px white, 3px 3px 6px white, -3px 3px 6px white;
    }
    
    #rinen ul {
        padding: 0;
        margin: 0;
    }
    #rinen li {
        font-size: 1rem;
        font-weight: 700;
        list-style-type: none;
        line-height: 2rem; 
        text-align: center;
        text-shadow: 0px 0px 10px black;
        color: white;
    }
    
    table th,
    table td {
        border-bottom: 1px solid #ccc;
        padding: 0.5rem;
    }

    table th {
        font-weight: normal;
        font-size: 0.8rem;
        overflow: visible;
        position: relative;
        text-align: left;
        vertical-align: middle;
        width: 4rem;
    }

    table td {
        background-color: #fcfcfc;
        padding-left: 2rem;
    }
    table td span {
        display: block;
    }
    
    table ul {
        padding: 0;
        margin: 0;
    }

    table ul li {
        float: left;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    #mapbox {
        overflow: hidden;
    }
    #map {
        position: relative;
        padding-bottom: 250px; /*高さは400pxで固定*/
        height: 0;
        margin-bottom: 1rem;
        width: 100%;
        overflow: hidden; 
    }

    #map iframe {
        float: none;
        position: absolute;
        top: 0;
        left: 0%;
        width: 100% !important;
        height: 100% !important;
        padding: 0px;
        background-color: white;
        box-sizing: border-box;
    }
    
    .address {
        font-size: 1rem;
        box-sizing: border-box;
        background-color: white;
        color: black;
        float: none;
        padding: 1rem;
        margin-top: 2rem;
        width: 100%;
        overflow: auto;
    }
    
  
    
    
    
    
    
    
    
    
}

