/*=======================================
共通設定
=======================================*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

ul.yoko {
    overflow: hidden;
}

.youtube {
    position: relative;
    width: 100%;
    padding-top: 73.25%;
}

.googlemap {
    position: relative;
    width: 95%;
    margin: 0 auto;
    padding-top: 80%;
}


.youtube iframe, .googlemap iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

#slideshow {
    padding: 0;
}

#myGallery, #myGallerySet, #flickrGallery {
    width: 100%  !important;
}

p.tbl-btm a {
    font-size: 12px;
}

div#event-list {
    width: 100%;
}


.past_movie {
    text-align: center;
}

.cleafix {
  clear: both;
  margin-bottom: 30px;
  overflow: hidden;
}


/*=======================================
header
=======================================*/

#obi {
    width: 100%;
}

#obi h1 {
    width: 92%;
    max-width: 950px;
}

img#logo {
    margin: 10px auto;
    display: block;
}

.accordion_menu.widget {
    font-weight: bold;
    margin: 0 auto;
    margin-bottom: 10px;
    width: 95%;
    display: block;
}


#bana1, #bana2, #bana3, #bana4 {
    position: inherit;
    width: 40%;
    margin-left: 6.66666%;
    margin-bottom: 10px;
}

#navi {
    display: none;
}

@media screen and (min-width : 481px){
    
    img#logo {
        width: 30%;
        margin-left: 1%;
        display: inherit;
    }
    
    #bana1, #bana2, #bana3, #bana4 {
        position: static;
        width: 15%;
        margin-bottom: 3%;
        margin-left: 1%;
    }
    
}

@media screen and (min-width : 768px){
    #navi {
        width: 95%;
        max-width: 950px;
        display: block;
        height: 50px;
        border: 1px solid #999;
        border-radius: 10px;
        margin: 0 auto;
        margin-bottom: 10px;
        box-shadow: 0 0 2px 1px #ddd;
        background-image: url(../img/bg_navi.gif);
    }
    
    #navi li:before {
        content: "";
        background-image: url(../img/line_navi.gif);
        background-repeat: no-repeat;
        position: absolute;
        top: 5px;
        left: 0;
        height: 24px;
        width: 1px;
    }
    
    #navi li:first-child:before {
        background-image: none;
    }
        
    #navi ul {
        height: 100%;
    }
    
    #navi li {
        width: 20%;
        height: 100%;
        text-indent: inherit;
        position: relative;
    }
    
    #navi li a {
        height: 100%;
        color: #000000;
        font-size: 16px;
        text-align: center;
        padding: 6px;
        font-weight: bold;
    }
    
    .accordion_menu.widget {
        display: none;
    }

}

@media screen and (min-width : 768px){
    #navi {
        width: 100%;
    }
}
/*=======================================
contents
=======================================*/

#wrapper {
    width: 100%;
    max-width: 950px;
}

#contents {
    width: 95%;
    margin: 0 auto;
    max-width: 950px;
}

#contents.col2 {
    background-image: none;
    background-color: #ffffff;
}

#contents.col3 {
    background-image: none;
    background-color: #ffffff;
}

#contents.col2 div.tb {
    background-image: none;
}

@media screen and (min-width : 1024px){
    #contents {
        width: 100%;
        margin: 0;
    }
    
    #contents.col2 {
        margin: 0;
    }
    
    #contents.col3 {
        margin: 0;
    }

}
/*=======================================
main
=======================================*/

#main {
    border: 1px solid #ccc;
    margin-right: 0;
}

#main h2 {
    background-image: url(../img/bg_h2.png);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    height: 45px;
    position: relative;
    padding: 12px 0 0 25px;
    font-size: 16px;
    font-weight: bold;
}

#main h2:before {
    content: url(../img/h2_before.gif);
    position: absolute;
    left: 3px;
    top: 3px;
}

#main .jdGallery .slideInfoZone h2 {
    height: auto !important;
}

#main .jdGallery .slideInfoZone h2:before {
    content: "";
}

#contents.col2 #main {
    width: 100%;
    margin-right: 0;
    float: none;
    margin-bottom: 10px;
    background-color: #ffffff;
}

#contents.col3 #main {
    width: 100%;
    margin-right: 0;
    float: none;
    margin-bottom: 10px;
    background-color: #ffffff;
}


#contents.col2 #main {
    width: 100%;
    margin-right: 0;
    float: none;
    margin-bottom: 10px;
    background-color: #ffffff;
}

#contents.col3 #main {
    width: 100%;
    margin-right: 0;
    float: none;
    margin-bottom: 10px;
    background-color: #ffffff;
}

#contents.col3 #main h2.page-name, #contents.col2 #main h2.page-name {     /*削除*/
    /*background-image: url(../img/bg_h2.png);*/
    background-image: none;
    background: linear-gradient(#ffffff, #e5e2e3);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    padding: 8px 15px 8px 25px;
    min-height: 40px;
    height: auto;
    position: relative;
}

#contents.col3 #main h2.page-name:before, #contents.col2 #main h2.page-name:before {     /*削除*/
    /*content: url(../img/h2_before.gif);*/
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    border-left: solid 6px #4e9a00;
    height: calc(100% - 5px);
}

#contents.col2 #main div.tbl {
    border-radius: 10px;
    border: 1px solid #ececec;
    background-image: none;
    box-shadow: 0px 0px 1px 1px #ececec;
}

#contents.col2 #main h3 {
    background-image: url(../img/bg_h3_single.png);
    background-repeat: repeat-x;
    height: 35px;
    border: 1px solid #EBD385;
}

#contents.col2 #main div.tbl h3 {
    background: url(../img/bg_h3_table.png);
    background-repeat: repeat-x;
    border-radius: 10px;
    border: none;
    position: relative;
}

#contents.col2 #main div.tbl h3:after {
    content: "";
    background-image: url(../img/line_h3_single.gif);
    background-repeat: repeat-x;
    height: 2px;
    display: block;
    width: 95%;
    position: absolute;
    bottom: 0;
    left: 2.5%;
    right: 2.5%;
}

#contents.col2 #main div.tbl p.tbl-btm {
    background-image: none;
}

#contents.col2 #main div.tbl table {
    width: 95%;
}

#contents.col2 #main div.tbl th {
    width: 30%;
}

#contents.col2 #main div.tbl td {
    width: 70%;
}

#contents.col2 #main .page_event div.tbl th {
    width: 30%;
}

#contents.col2 #main .page_event div.tbl td {
    width: 30%;
}

div#oshirase {
  margin-bottom: 10px;
}

#dfcg-fullsize {
    width: 100% !important;
}

#dfcg-text {
    width: 100% !important;
}

@media screen and (min-width : 768px){
    #contents.col2 #main {
        width: 69%;
        float: left;
    }
    
    #contents.col3 #main {
        width: 49%;
        float: left;
    }
}

/*=======================================
page_omise
=======================================*/

.page_omise dl, .page_byoin dl, .page_shisetu dl, .page_kotu dl, .page_event dl {
  clear: both;
  width: 92%;
  margin: 0 auto;
  margin-bottom: 10px;
  overflow: hidden;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}

.page_event dl {
    border-bottom: none;
}

.page_omise dd, .page_byoin dd, .page_shisetu dd {
  float: left;
  margin: 0;
  width: 29.5%;
  margin-left: 0.5%;
  text-align: center;
}

.page_shisetu dd {
    width: 49.5%;
    text-align: right;
}

.page_omise dl>dt+dd, .page_byoin dl>dt+dd {
    width: 40%;
    text-align: right;
    margin-left: 0;
}

.page_event dt {
    font-weight: bold;
    color: #30B63B;
}

.page_event dd {
    margin: 0 0 10px;
    padding: 10px;
    border: 1px dotted #ccc;
}


/*=======================================
sub1
=======================================*/
#sub1 {
    margin-bottom: 10px;
}

#contents.col2 #sub1, #contents.col3 #sub1 {
    width: 100%;
    float: none;
    clear: both;
    margin-left: 0;
    border: 1px solid #ccc;
    padding: 1px;
}

#sub1 h2 {
    background-image: url(../img/bg_h2_sub.png);
    background-repeat: repeat-x;
    height: 38px;
    border: 1px solid #ccc;
    padding: 7px;
    font-size: 14px;
    position: relative;
    padding-left: 40px;
}

#sub1 h2:before {
    position: absolute;
    top: 10px;
    left: 12px;
}

#sub1 .omise h2:before {
    content: url(../img/icon_h2-omise.png);
}

#sub1 .byoin h2:before {
    content: url(../img/icon_h2-byoin.png);
}

#sub1 .kotu h2:before {
    content: url(../img/icon_h2-kotu.png);
}

#sub1 .shisetu h2:before {
    content: url(../img/icon_h2-shisetu.png);
}

#sub1 a {
    color: #000000;
    font-weight: bold;
    display: block;
}

#sub1 ul {
    margin-bottom: 1px;
}

#sub1 li {
    background: #F3F1F2;
    border: 1px solid #ccc;
    margin-top: 1px;
    padding: 5px;
    padding-left: 40px;
    position: relative;
}

#sub1 .byoin li {
    background: #ffffff;
    border: 2px solid #00A7CA;
    padding-left: 10px;
}

#sub1 .byoin li:after {
    content: url(../img/icon_li-byoin.png);
    position: absolute;
    bottom: 5px;
    right: 5px;
}

#sub1 .omise li:before, #sub1 .kotu li:before, #sub1 .shisetu li:before {
    position: absolute;
    top: 12px;
    left: 20px;
}

#sub1 .omise li:before {
    content: url(../img/icon_li-omise.png);
}

#sub1 .kotu li:before {
    content: url(../img/icon_li-kotu.png);
}

#sub1 .shisetu li:before {
    content: url(../img/icon_li-shisetu.png);
}

#sub1bosyu {
    background: #ffffff;
}

#sub1bosyu img {
    display: block;
    margin-bottom: 7px;
}

#sub1bosyu p {
    text-align: left;
}

#sub1bosyu a img {
    display: initial;
    margin-bottom: 7px;
}

#sub1bosyu a {
    display: initial;
}


@media screen and (min-width : 481px){
        
    #contents.col3 #sub1 {
        width: 49%;
        float: left;
        clear: none;
        margin-left: 2%;
    }
}

@media screen and (min-width : 768px){
        
    #contents.col2 #sub1 {
        width: 30%;
        float: left;
        clear: none;
        margin-left: 1%;
    }
    
    #contents.col3 #sub1 {
        width: 24.5%;
        margin-left: 0.5%;
    }
}

/*=======================================
blognews
=======================================*/
#blognews {
    border: 1px solid #ccc;
    margin: 1px 0;
}

#sub1 h2.blog {
    font-size: 13px;
    padding-left: 10px;
}

#blognews dt {
    margin-left: 10px;
}

#blognews dd {
    margin-left: 20px;
}

#blognews a {
  color: #2BAC00 !important;
  border-bottom: none;
}

#blognews hr {
  border: none;
  border-bottom: 1px dotted #CCCCCC;
  margin: 10px;
}

#blognews hr:last-child {
  border: none;
}


/*=======================================
sub2
=======================================*/

#contents.col3 #sub2 {
    width: 100%;
    float: none;
    clear: both;
}

#contents.col3 #sub2 {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    float: none;
    clear: both;
    padding: 10px;
    margin-bottom: 10px;
}

#sub2 h2 {
    border: 1px solid #ccc;
    text-align: center;
    background: #ffffff;
    padding: 1px;
}

#sub2 h2 a {
    display: block;
}

@media screen and (min-width : 481px){
            
    #contents.col3 #sub2 {
        width: 49%;
        float: left;
        clear: none;
    }
}

@media screen and (min-width : 768px){
            
    #contents.col3 #sub2 {
        width: 25.5%;
        margin-left: 0.5%;
    }
}


/*=======================================
footer
=======================================*/

#footer {
    width: 100%;
    margin: 0;
    max-width: 950px;
    clear: both;
}

#foot-bana {
    padding: 0;
}

#foot-bana img {
    width: 45%;
    margin-right: 0;
}


@media screen and (min-width : 481px){
    #foot-bana img {
        width: 20%;
    }

}

/*=======================================
point card
=======================================*/
.point-card-shop-info-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.point-card-shop-info {
    width: 48%;
    min-width: 220px;
    margin: 3px;
    border: solid 2px #5FBB46;
}
.point-card-shop-info h3 {
    background-color: #5FBB46;
    background-image: none !important;
    background-repeat: no-repeat !important;
    border: none !important;
    padding: 5px !important;
    margin: 0px !important;
    color: #fff !important;
    font-size: 16px !important;
}
.point-card-shop-info h3 span {
    background-color: #fff;
    padding: 2px 5px;
    margin-right: 5px;
    font-weight: normal;
    color: #000 !important;
}
.point-card-shop-info > p {
    margin: 5px !important;
}
.point-card-shop-info > p:nth-of-type(1) {
    line-height: 1.4;
    font-size: 12px;
}
.point-card-shop-info > p:nth-of-type(2),
.point-card-shop-info > p:nth-of-type(3) {
    line-height: 1.8;
    font-size: 13px;
}
.point-card-shop-info > p:nth-of-type(2) > span,
.point-card-shop-info > p:nth-of-type(3) > span {
    background-color: #E05A2E;
    padding: 2px 4px;
    margin-right: 4px;
    font-weight: bold;
    color: #fff;
}
.info-banner {
    justify-content: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
@media screen and (max-width : 500px){
    .point-card-shop-info {
        width: 100%;
    }
}