/* CSS Document */
@media only screen 
    and (orientation: landscape)
    and (max-height: 1023px) 
    {

        #navi_home > ul > li {
            padding-top: 50px !important;
        }
        #navi_home > ul > li > ul {
            margin-top: 30px !important;
        }
        #navi_home > ul > li > ul > li > a {
            font-size: 20px !important;
            line-height: 24px !important;
        }

}

@media only screen 
    and (orientation: landscape)
    and (max-height: 880px) 
    {

        #navi_home > ul > li {
            padding-top: calc(50vh - 190px) !important;
        }
        #navi_home > ul > li > ul {
            display: none !important;
        }
        #navi_home > ul > li:hover {
            background-color: transparent !important;
        }

}




@media only screen 
    and (max-width: 1999px) 
    {


        #navi_home > ul {
            width: 100%;
        }
        #navi_home > ul > li {
            width: 20%;
            margin: 0;
        }


}



@media only screen 
    and (max-width: 1399px) 
    {


        #navi_home > ul > li > a {
            width: 15.63vw;
            height: 15.63vw;
            font-size: 1.5vw;
            line-height: 2.1vw;
            padding: 9.3vw 2.45vw 0;
        }
        .hnav > ul > li > a {
            font-size: 1.2vw;
        }
        .hnav > ul > li {
            padding: 0 1.1vw;
        }
        .supernav {
            padding-right: calc(2px + 1.1vw);
        }

}


@media only screen 
    and (max-width: 1059px) 
    {

        #content {
            width: 100%;
        }
        body.layout_pagets__sub #content > div > div {
            width: 100%;
            padding: 0 18px;
        }
        .vsdtile-detail, 
        .ge-grid-3-float .tx-ttaddress, 
        .ge-grid-4-float .tx-ttaddress {
            width: calc(100vw - 36px);
        }
        .tt_address_list .vcard {
            height: calc(360px - 5vw);
        }
}


@media only screen 
    and (max-width: 1023px) 
    {

        .supernav {
            padding-right: 20px;
        }

        #navi_main {
            text-align: right;
            bottom: 0;
            width: auto;
            height: 50px;
            right: 0;
            transition-duration: 1s;
            transition-delay: 0.3s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);
            padding-top: 50px;
            max-width: 55px;
        }
        #navi_main > em {
            position: absolute;
            width: 50px;
            height: 50px;
            display: block;
            top: 0;
            right: 10px;
        }
        #navi_main > em i {
            display: block;
            height: 4px;
            width: 32px;
            margin: 6px;
            background-color: white;
            border-radius: 3px;
        }
        #navi_main:hover {
            max-width: 500px;
            transition-duration: 0.6s;
            transition-delay: 0s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);
        }
        #navi_main > ul {
            position: relative;
            display: block;
            width: auto;
            max-width: 95vw;
            overflow-x: hidden;
            overflow-y: auto;
            max-height: calc(100vh - 100px);
            background-color: rgba(0,0,0,0.9);
            transform-origin: top;
            transform: scale(1,0);
            transition-duration: 1s;
            transition-delay: 0.3s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);
            box-shadow: -3px 12px 30px black;
        }
        #navi_main:hover > ul {
            transform: scale(1,1);
            transition-duration: 0.6s;
            transition-delay: 0s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);
        }
        #navi_main ul li {
            opacity: 1;
            display: block;
            position: relative;
            float: none;
            width: 100%;
            padding: 1px 0;
        }
        #navi_main > ul > li b {
            height: 53px;
        }
        #navi_main > ul > li > a,
        #navi_main li li a {
        }
        #navi_main > ul > li > a:hover,
        #navi_main li li a:hover {
        }
        #navi_main > ul > li > ul {
            background: transparent;
            top: 0;
            max-height: 0;
            padding: 0;
            position: relative;
            box-shadow: none;
            transform-origin: top;
            transform: scale(1,0);
            transition: 1s cubic-bezier(0.3,0,0.1,1) 0.3s;

            transition-duration: 1s;
            transition-delay: 0.3s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);

        }
        #navi_main > ul > li:hover > ul {
            max-height: 1000px;
            transform: scale(1,1);
            transition: 0.6s cubic-bezier(0.3,0,0.1,1) 0s;

            transition-duration: 0.6s;
            transition-delay: 0s;
            transition-timing-function: cubic-bezier(0.3,0,0.1,1);

        }
        #navi_main li ul {
            position: relative;
            display: block;
        }
        #navi_main > ul > li.act  ul {
            transform: scale(1,1);
            opacity: 1;
            max-height: 1000px;
        }
        #navi_main > ul > li > a {
            font-size: 22px;
            line-height: 40px;
            font-weight: 600;
            height: 40px;
            display: block;
            width: 100%;
            text-align: left;
            margin-left: 10px;
        }
        #navi_main > ul > li > ul > li a {
            color: rgb(200,200,200);
        }
        #navi_main > ul > li > ul > li.sub > a {
            color: rgb(205,25,25);
            display: block;
            line-height: 50px;
            height: 50px;
        }
        #navi_main li li a {
            font-size: 18px;
            line-height: 40px;
            font-weight: normal;
            padding-left: 0;
            margin-left: 20px;
        }
        #navi_main li li a:hover {
            color: rgb(225,20,20);
        }


        #navi_home > ul > li > ul > li > a {
            hyphens: manual;
            font-size: 2.5vw;
            line-height: 3.5vw;
        }
        .hnav.collapse > ul,
        .hnav.collapse > ul > li:hover > ul {
            transform: scale(1,0) !important;
        }
        #navi_social {
            right: 20px;
        }
        h4,
        .vsdtile-detail h4 {
            font-size: 16px;
            line-height: 20px;
        }

        .ce-gallery img {
            width: 100%;
            height: auto;
        }
        .ce-row {
        	margin-bottom: 1%;
        }
        .ce-gallery[data-ce-columns="2"] .ce-column {
            width: 49.4%;
            margin-right: 1%;
        }
        .ce-gallery[data-ce-columns="3"] .ce-column {
            width: 32.6%;
            margin-right: 1%;
        }
        .ce-gallery[data-ce-columns="4"] .ce-column {
            width: 24.24%%;
            margin-right: 1%;
        }
        .ce-gallery[data-ce-columns="5"] .ce-column {
            width: 19.15%;
            margin-right: 1%;
        }
        .ce-column:last-child {
            margin-right: 0 !important;
        }

        iframe {
            width: 100%;
        }



}



@media only screen 
    and (max-width: 767px) 
    {

        body {
            font-size: 19px;
            line-height: 27px;
        }

        h1 {
            font-size: 8vw;
            line-height: 9vw;
        }

        .navi_chap li a,
        h2 {
            font-size: 24px;
            line-height: 28px;
        }
        .navi_chap li a:before,
        .content_main section > h2:before {
            font-size: 44px;
        }
        .vsdtile-detail {
            font-size: 16px;
            line-height: 20px;
        }
        li.list-checked, 
        li.list-unchecked {
            display: block;
            width: 100%;
            float: none;
        }
        /* 4 tiles to 3 tiles */
        .ge-grid-4-float > div > div,
        .ge-grid-4-float .tt_address_list .vcard {
            width: calc(33.32% - 12px);
        }
        .ge-grid-4-float > div > div:nth-of-type(4n+1),
        .ge-grid-4-float .tt_address_list .vcard:nth-of-type(4n+1) {
            clear: none;
            margin-left: 18px;
        }
        .ge-grid-4-float > div > div:nth-of-type(3n+1),
        .ge-grid-4-float .tt_address_list .vcard:nth-of-type(3n+1) {
            clear: left;
            margin-left: 0;
        }
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(4n+2) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(4n+2) .tx-ttaddress {
            left: auto;
        }
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(4n+3) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(4n+3) .tx-ttaddress {
            left: auto;
        }
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(4n+0) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(4n+0) .tx-ttaddress {
            left: auto;
        }
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(3n+2) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(3n+2) .tx-ttaddress {
            left: calc(-100% - 18px);
        }
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(3n+0) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(3n+0) .tx-ttaddress {
            left: calc(-200% - 36px);
        }




        .ce-gallery[data-ce-columns="4"] .ce-column {
            width: 49.4%;
        }
        .ce-gallery[data-ce-columns="4"] .ce-column:nth-of-type(2n+0) {
            margin-right: 0;
        }
        .ce-gallery[data-ce-columns="4"] .ce-column:nth-of-type(4n+1),
        .ce-gallery[data-ce-columns="4"] .ce-column:nth-of-type(4n+2) {
            margin-bottom: 1%;
        }
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+1),
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+2),
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+3) {
            width: 32.6%;
            margin-bottom: 1%;
        }
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+4),
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+0) {
            width: 49.4%;
        }
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+3), 
        .ce-gallery[data-ce-columns="5"] .ce-column:nth-of-type(5n+0) {
            margin-right: 0;
        }

        .grid-tabslide > ul {
            display: block;
        }
        .grid-tabslide > ul > li:not(.act) h5 {
            font-weight: normal;
        }

}

@media only screen 
    and (orientation: portrait)
    and (max-width: 767px) 
    {
        #navi_home > ul {
            display: flex;
            flex-wrap: wrap;
        }
        #navi_home > ul > li {
            display: inline-block;
            float: none;
            width: 20vh;
            height: calc(25vh - 50px);
            max-height: calc(25vh - 50px);
            margin: 0 auto;
            padding: 2vh 0;
        }
        #navi_home > ul > li > a {
            width: calc(23vh - 50px);
            height: calc(23vh - 50px);
            font-size: calc(3.2vh - 10px);
            line-height: calc(3.4vh - 7.4px);
            padding: calc(12.1vh - 27px) 1.5vh 0;
            border-width: 0.4vh;
        }
        #navi_home > ul > li > ul {
            display: none !important;
        }
        #navi_home > ul > li:hover {
            background-color: transparent;
            height: inherit;
            max-height: inherit;
        }
        #navi_home > ul > li b {
            height: 0;
        }

}





@media only screen 
    and (max-width: 580px) 
    {

        #homelink a {
            top: auto;
            bottom: 8px;
        }
        /* 4 tiles and 3 tiles to 2 tiles */
        .ge-grid-3-float > div > div,
        .ge-grid-3-float .tt_address_list .vcard,
        .ge-grid-4-float > div > div,
        .ge-grid-4-float .tt_address_list .vcard {
            width: calc(50% - 9px);
        }
        .ge-grid-3-float > div > div:nth-of-type(3n+1),
        .ge-grid-3-float .tt_address_list .vcard:nth-of-type(3n+1),
        .ge-grid-4-float > div > div:nth-of-type(3n+1),
        .ge-grid-4-float .tt_address_list .vcard:nth-of-type(3n+1) {
            clear: none;
            margin-left: 18px;
        }
        .ge-grid-3-float > div > div:nth-of-type(2n+1),
        .ge-grid-3-float .tt_address_list .vcard:nth-of-type(2n+1),
        .ge-grid-4-float > div > div:nth-of-type(2n+1),
        .ge-grid-4-float .tt_address_list .vcard:nth-of-type(2n+1) {
            clear: left;
            margin-left: 0;
        }
        .ge-grid-3-float .frame-type-vsdtile:nth-of-type(3n+2) .vsdtile-detail,
        .ge-grid-3-float > div > div:nth-of-type(3n+2) .tx-ttaddress,
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(3n+2) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(3n+2) .tx-ttaddress {
            left: auto;
        }
        .ge-grid-3-float .frame-type-vsdtile:nth-of-type(3n+0) .vsdtile-detail,
        .ge-grid-3-float > div > div:nth-of-type(3n+0) .tx-ttaddress,
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(3n+0) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(3n+0) .tx-ttaddress {
            left: auto;
        }
        .ge-grid-3-float .frame-type-vsdtile:nth-of-type(2n+0) .vsdtile-detail,
        .ge-grid-3-float > div > div:nth-of-type(2n+0) .tx-ttaddress,
        .ge-grid-4-float .frame-type-vsdtile:nth-of-type(2n+0) .vsdtile-detail,
        .ge-grid-4-float > div > div:nth-of-type(2n+0) .tx-ttaddress {
            left: calc(-100% - 18px);
        }

        footer h3 {
            font-size: 4vw;
            line-height: 35px;
        }

        .vsdtile-detail .ce-bodytext {
            width: calc(100% - 183px);
        }
        .tile-detailimages img {
            width: 170px;
            height: auto;
        }

}






@media only screen 
    and (max-width: 511px) 
    {

        body {
            font-size: 18px;
            line-height: 26px;
        }


        .navi_chap li a,
        h2,
        h3 {
            font-size: 18px;
            line-height: 22px;
        }
        .navi_chap li a:before,
        .content_main section > h2:before {
            font-size: 38px;
        }

}



@media only screen 
    and (max-width: 411px) 
    {

        body {
            font-size: 17px;
            line-height: 24px;
        }
        h1 {
            font-size: 20px;
            line-height: 23px;
        }
        h2,
        h3 {
            font-size: 16.5px;
            line-height: 20px;
        }
        /* 4 tiles and 3 tiles to 1 tiles */
        .ge-grid-3-float > div > div,
        .ge-grid-3-float .tt_address_list .vcard,
        .ge-grid-4-float > div > div,
        .ge-grid-4-float .tt_address_list .vcard {
            width: 100%;
            margin-left: 0 !important;
            clear: left !important;
        }
        .ge-grid-3-float .frame-type-vsdtile .vsdtile-detail,
        .ge-grid-3-float > div > div .tx-ttaddress,
        .ge-grid-4-float .frame-type-vsdtile .vsdtile-detail,
        .ge-grid-4-float > div > div .tx-ttaddress {
            left: 0 !important;
        }
        .vsdtile-detail .ce-bodytext {
            width: 100%;
            float: none;
        }
        .tile-detailimages {
            float: none;
        }
        .tile-detailimages img {
            width: auto;
        }

        .ce-gallery .ce-column {
            width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            margin-bottom: 1% !important;
        }
}



@media only screen 
    and (max-width: 374px) 
    {

        #homelink a {
            width: 70%;
            height: 44%;
        }

}



