/*
Theme Name: Tokyo Free Guide by NEC
Theme URI: http://tokyofreeguide.com/
Description: The theme for Tokyo Free Guide's website.
Author: Shigehiro Okada
Author URI:　https://www.facebook.com/shigephilo
Version:1.0
*/

/*
@import url(css/html5reset-1.6.1.css);
@import url(css/layout.css);
@import url(css/common.css);
@import url(css/nav.css);
@import url(css/content.css);
@import url(css/top.css);
*/

html {
    margin-top: 20px !important;
}
* html body {
    margin-top: 20px !important;
}
@media screen and ( max-width: 782px) {
    html {
        margin-top: 46px !important;
    }
    * html body {
        margin-top: 46px !important;
    }
}
body {
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    background: url(img/bg-footer.png) no-repeat bottom right #fff;
    background-size: 12%;
}
.master-layout {
    overflow: hidden;
}
.front-header .master-layout {
    height: auto !important;
}
[lang="ja"] body {
    /*font-family: 'meiryo', Gothic;*/
	font-family: 'hiragino kaku gothic pro','メイリオ',meiryo,'游ゴシック',sans-serif;
}
a {
    color: #0982FD;
}
a:hover, a:focus {
    color: #0982FD;
    text-decoration: underline;
}
a.btn {
    color: #fff;
}
a.btn:hover {
    opacity: 0.9;
    color: #fff;
}
a:focus {
    outline: none;
    outline-offset: 0;
    text-decoration: none;
}
a.btn.btn-white {
    background-color: #fff;
    color: #0B82E8;
}
a.btn.btn-orange {
    background-color: #FFA400;
}
a.btn.btn-teal {
    background-color: #00C1B0;
}
a.btn.btn-primary {
    border-radius: 0;
    background-color: #0B82E8;
}
.header-sidebar a.btn {
    width: 100%;
    border-radius: 0;
    padding: 12px 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 19px;
    margin-bottom: 10px;
}
.master-layout {
    padding-left: 0;
    padding-right: 0;
}
/*Sidebar header on the left*/

.header-sidebar {
    background-color: #0B82E8;
    color: #fff;
    padding: 0;
    overflow-y: auto;
}
.header-sidebar .widget-area {
    padding: 0;
}
.header-sidebar .widget-area .widget-title, .header-sidebar .widget-area .widget-service, .header-sidebar .widget-area .widget-jp-tourism, .header-sidebar .widget-area .widget-other-area, .sidebar-right .widget-area .widget-title, .sidebar-right .widget-area .widget-member, .sidebar-right .widget-area .widget-donation, .header-sidebar .widget-area .widget-foundation, .header-sidebar .widget-area .widget-staff, .header-sidebar .widget-area .widget-advisor {
    display: none;
}
.widget-advisor {
    text-align: center;
    margin: 6px 0;
}
.widget-advisor h3 {
    margin: 14px 0 -5px 0;
    font-weight: 400;
    font-size: 16px;
}
.widget-advisor img {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
}
/*Widget other area*/

@media (min-width: 480px) and (max-width: 991px) {
    .widget-other-area ul {
        float: left;
        width: 100%;
    }
    .widget-other-area ul li {
        width: 50%;
        float: left;
    }
    .widget-jp-tourism {
        width: 50%;
        max-width: 300px;
        margin: 0 auto;
    }
}
.branding-area {
    background-color: #fff;
}
.branding-area h1 img {
    width: 100%;
    height: auto;
}
.branding-area h1 {
    margin: 0;
    padding: 2px 10px;
}
.hub-page .branding-area h1 {
    text-align: center;
    padding: 20px 0;
}
.main-content-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
}
.navbar-header {
    background-color: #fff;
}
.navbar-nav {
    width: 100%;
}
.navbar {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}
.navbar-toggle .icon-bar {
    background-color: #2278E4;
    width: 24px;
    height: 3px;
}
.header-sidebar .language {
    display: none;
}
/*Down to tablet size*/

@media (max-width: 991px) {
    #wpadminbar {
        display: none;
    }
    .header-sidebar .language {
        display: block;
        border-top: solid 1px #fff;
    padding-top: 11px;
    height: 40px;
    line-height: 30px;
        margin: 0 0 10px 0;
    }
    .header-sidebar .language a {
        color: #fff;
    }
    .sidebar-right .language {
        display: none;
    }

    .widget-service{
        text-align: center;
    }
    .navbar-header {
        position: fixed;
        width: 100%;
        z-index: 999;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
    }
    .branding-area {
        float: left;
    }
    .hub-page .branding-area {
        float: none;
    }
    .branding-area h1 img {
        max-width: 270px;
        margin: 8px 0 0 18px;
    }
    .navbar {
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    }
    .navbar-nav {
        text-align: center;
    }
    .widget-member, .widget-donation {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 0 36px;
    }
    .member-block, .donation-block {
        flex: 1 1 20%;
        margin: 0 3%;
    }
    /*Remove new line*/
    .member-block a>br {
        display: none;
    }
    .navbar-fixed-top .navbar-collapse {
        background-color: #0B82E8;
        padding-top: 60px;
        max-height: 700px;
    }
.menu-place_global-container+.widget-area .widget-donation{
        border-top: solid 1px #fff;
    padding: 20px 0 10px 0;
    }
}
/*Down to mobile*/

@media (max-width: 480px) {
    .member-block, .donation-block {
        flex: 1 1 100%;
        margin: 0;
    }
    .branding-area h1 img {
        margin: 6px 0 0 0;
    }
    .metaslider .flex-control-nav {
        display: none;
    }
    .metaslider .caption {
        font-size: 19px;
        text-align: left;
    }
	
	img {
		max-width: 100%;
		height:auto;
	}
}
@media (max-width: 320px) {
    .branding-area h1 img {
        max-width: 238px;
    }
}
@media screen and (max-height: 570px) {
    .menu-place_global_en-container ul, .menu-place_global-container ul {
        margin-bottom: 0px !important;
    }
    .menu-place_global_en-container ul li, .menu-place_global-container ul li {
        padding: 2px 0 !important;
    }
    .widget-member {
        padding-top: 0px !important;
    }
    .donation-block .donation-fb a {
        padding-left: 23px !important;
    }
}
/* Widget member */

.widget-member, .widget-donation {
    text-align: center;
    padding: 10px 0;
}
.widget-member h4 {
    font-weight: 200;
    font-size: 15px;
    letter-spacing: 0.01em;
}
/* Widget tourism */

.widget-jp-tourism img {
    width: 100%;
}
.sidebar-right {
    font-size: 13px;
    overflow-y: auto;
}
/* Widget donation */

.widget-donation a {
    color: #fff;
    line-height: 40px;
    font-size: 13px;
}
.widget-member {
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
    margin: 10px 0;
}
.donation-fb::before {
    background: url(img/fb.svg) no-repeat;
    background-size: 100%;
    display: inline-block;
    width: 26px;
    height: 27px;
    content: "";
    top: 8px;
    left: -9px;
    position: relative;
}
@media (max-width:1200px) {
    .donation-fb a {
        width: 70%;
        display: block;
        line-height: 16px;
        text-align: left;
        float: right;
        margin-top: 5px;
    }

    [lang="ja"] .donation-fb a {
        margin-top: 13px;
    }
    .donation-fb::before {
        top: 6px;
        left: 0px;
    }
}
@media (max-width:991px) {
    .donation-fb a {
        text-align: center;
        width: 100%;
        font-size: 15px;
    }
    .donation-fb::before {
        top: 0px;
    }
        [lang="ja"] .donation-fb a {
        margin-top: 6px;
    }
}
@media (max-width:480px) {
    .member-block h4 {
        display: none;
    }
    .widget-member {
padding-top: 10px;
    padding-bottom: 0;
    }
    .widget-donation {
        padding-top: 0;
    }
    .donation-fb:before {
        top: -2px;
        left: 61px;
        position: relative;
        float: left;
    }
    .donation-fb a {
        width: 90%;
        float: left;
        padding-left: 20px;
    }
.navbar-fixed-top .navbar-collapse{
    max-height: 620px;
    overflow-y: auto;
    }
}
/* Widget other area */

.widget-other-area ul {
    list-style: none;
    padding-left: 0;
}
.widget-other-area ul>li>a {
    font-size: 14px;
    text-transform: capitalize;
    /*text-decoration: underline;*/
}
.widget-service a {}
/*Main menu*/

.menu-place_global_en-container ul, .menu-place_global-container ul {
    list-style: none;
    padding-left: 0;
}
.menu-place_global_en-container ul li, .menu-place_global-container ul li {
    padding: 8px 0;
}

@media (max-width: 480px){
        .menu-place_global_en-container ul li, .menu-place_global-container ul li{
        padding:6px 0;
    }
}
.menu-place_global_en-container a, .menu-place_global-container a {
    color: #fff;
    font-size: 16px;
}
.menu-place_global_en-container a:hover, .menu-place_global-container a:hover {
    text-decoration: none;
    border-bottom: solid 2px #fff;
}
.menu-place_global_en-container .current-menu-item a, .menu-place_global-container .current-menu-item a {
    border-bottom: solid 2px #fff;
}
.page-title {
    border-bottom: solid 2px #0B82E8;
    margin-top: 32px;
    font-size: 25px;
}
.language {
    margin: 10px 0 20px 0;
}
.language svg {
    position: relative;
    top: 5px;
    margin-right: 4px;
}
/* Back to top */

.back-to-top {
    width: 30px;
    height: 30px;
    border: solid 1px #0D0D0D;
    border-radius: 30px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    bottom: 4px;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    background-color: #fff;
}
.main-content {
    padding-bottom: 30px;
}
.back-to-top span {
    color: #0D0D0D;
    line-height: 26px;
}
.back-to-top:hover {
    background-color: #0C83FD;
    border: solid 1px #0C83FD;
}
.back-to-top:hover span {
    color: #fff;
}
.back-to-top.show {
    opacity: 1;
}
#Footer {
    margin-bottom: 50px;
    text-align: center;
}
#Footer p {
    font-size: 11px;
    margin: 10px 0 0 0;
}
.hub-footer #Footer p br {
    display: none;
}
@media (max-width: 991px) {
    #Footer p {
        text-align: center;
    }
    #Footer p br {
        display: none;
    }
}
/* Slider */

.metaslider .caption-wrap {
    background: url('img/old/slider-bg.png') repeat top left !important;
    opacity: 1 !important;
}
.metaslider .caption {
    padding: 18px 24px !important;
    font-size: 22px;
}
.metaslider .flex-control-nav li a {
    margin: 0 3px !important;
}
.flex-control-paging li a {
    width: 40px !important;
    height: 6px !important;
    border-radius: 0 !important;
}
.metaslider .flex-control-nav {
    position: absolute;
    bottom: 24px !important;
    right: 12px;
    width: auto;
}
.flex-control-paging li a {
    background-color: #3BAEF3 !important;
}
.flex-control-paging li a:hover {
    opacity: 0.8;
}
.flex-control-paging li a.flex-active {
    background-color: #fff !important;
}
.thumbnail {
    border: none;
}
.thumbnail a>img, .thumbnail>img {
    width: 100%;
}
/************** Hub page ************/

.front-header .menu-place_global_en-container, .front-header .widget-area, .front-header .header-sidebar {
    display: none;
}
.hub-main-content h2 {
    font-size: 21px;
    font-weight: 400;
}
.hub-page .branding-area h1>img {
    max-width: 400px;
}
/* Service */

.service-thumbnail>img {
    width: 100%;
    height: auto;
}
.service-content .glyphicon {
    color: #0C83FD;
    position: absolute;
    left: -21px;
}
.service-title h3 {
    font-weight: 300;
    /*text-decoration: underline;*/
    font-size: 21px;
}
.service-content span.red {
    /*font-weight: bold;*/
}
.service-content p {
    position: relative;
}
.areaWrapper ul {
    list-style: none;
}
.areaWrapper .thumbnail .caption {
    background: url('img/old/slider-bg.png') repeat top left !important;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 0 8px;
    text-transform: uppercase;
}
.areaWrapper .thumbnail .caption h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.servicesIntro>h5 {
    color: #1a1a1a;
    /*text-decoration: underline;*/
}
.areaWrapper .thumbnail {
    position: relative;
    padding: 0;
}
.areaWrapper>div {
    padding-left: 5px;
    padding-right: 5px;
}
.top-other-area h2 {
    font-size: 21px;
    font-weight: 400;
}
.service-list {
    padding-left: 20px;
}
.hub-footer {
    text-align: center;
    font-size: 12px;
}
/* Front page */

.page-id-5983 .pico_body>h2.page-title, .page-id-7 .pico_body>h2.page-title {
    display: none;
}
.page-id-984 .entryIn p>a>img, .page-id-984 .entryIn a>img {
    width: auto !important;
}
.front-block-img img {
    width: 100%;
    height: auto;
}
.front-block-title {
    font-size: 14px;
}
h3.heading, .entryIn h2, .entryIn h3 {
    background: url(img/half-underline.png) no-repeat bottom left;
    border-bottom: none;
    line-height: 20px;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 300;
    padding-bottom: 10px;
}
.entryIn p>a>img, .entryIn a>img {
    /*width: 100%;*/
    height: auto;
    max-width: 99%;
}
.entryIn h2 a:hover {
	text-decoration: underline;
}
.front-block-content {
    padding: 10px 0 0 0;
}
.front-block-title h3 {
    font-size: 19px;
}
.entryIn p {
    font-size: 14px;
}
.entryIn>.metaslider {
    margin-top: 34px !important;
}
.front-slider+.row {
    margin-top: -34px;
}
/* Page about */

.page-id-59 .entryIn a>img {
    /*width: 100%*/
    height: auto;
}
.xpress_recent_post_list_block ul {
    padding-left: 0;
    list-style: none;
    margin: 10px 0 0 0;
    border-bottom: solid 1px lightgray;
}
.xpress_recent_post_list_block ul li {
    margin: 5px 0;
}
@media (min-width: 480px) and (max-width: 991px) {
    .front-block-title {
        width: 100%;
        float: left;
    }
    .front-block-img, .front-block-content {
        float: left;
        width: 50%;
    }
    .front-block-content {
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    .page-id-59 .entryIn a>img {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* Page link */

.page-id-1702 .entryIn ul {
    list-style: none;
    float: left;
    width: 100%;
    padding-left: 0;
}
.page-id-1702 .entryIn ul li {
    float: left;
    width: 45%;
}
.page-id-1702 .entryIn ul li h3 {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 300;
}
.page-id-1702 .entryIn ul li h3 {
    background: none;
    padding-bottom: 0;
}
.page-id-1702 .entryIn ul li h3>a {
    /*text-decoration: underline;*/
}
.page-id-1702 .entryIn ul li:nth-child(2n+1) {
    margin-right: 5%;
}
@media (max-width: 480px) {
    .page-id-1702 .entryIn ul li {
        width: 100%;
        margin: 0;
    }
}
/* Page favorite */

.page-id-896 .entryIn ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}
.page-id-896 .entryIn ul li {
    flex: 0 0 31%;
    margin: 0 1%;
}
.page-id-896 .entryIn ul li img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
@media (max-width: 991px) {
    .page-id-896 .entryIn ul li {
        flex: 0 0 48%;
        margin: 0 1%;
    }
}
@media (max-width: 480px) {
    .page-id-896 .entryIn ul li {
        flex: 0 0 100%;
        margin: 0;
    }
}
/* Contact form */

#InqFrm input, #InqFrm textarea {
    width: 100%;
}
#InqFrm input[type="submit"], input[type="submit"] {
    background-color: #0B82E8;
    border: none;
    color: #fff;
    width: auto;
    padding: 10px 50px;
    margin: 10px 0 0 0;
    display: block;
}
input[type="submit"]:hover {
    opacity: 0.9;
}
#InqFrm label {
    margin-top: 10px;
    font-weight: 500;
}
.red {
    color: red;
}
/*** Testimonial */

.testimonial-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.testimonial_block {
    flex: 0 0 30%;
    margin: 0 1%;
}
.testimonial_block img {
    width: 100%;
    height: auto;
}
.testimonial_block .entryIn p>a>img {
    max-width: 100%;
}
.testimonial_block .page-title {
    background: url(img/half-underline.png) no-repeat bottom left;
    border-bottom: none;
    line-height: 20px;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 300;
    padding-bottom: 10px;
}
[lang="ja"] .testimonial_block .page-title {
    font-weight: 300;
    font-size: 16px;
}
@media (max-width: 991px) {
    .testimonial_block {
        flex: 0 0 48%;
        margin: 0 1%;
    }
}
@media (max-width: 480px) {
    .testimonial_block {
        flex: 0 0 100%;
        margin: 0;
    }
    .testimonial_block .entryIn {
        /*height: auto !important;*/
    }
    .testimonial_block .readmore, .testimonial_block .readless {
        /*display: none;*/
    }
}
/*Highline custom link*/

.post-type-archive-testimonials .menu-place_global_en-container li#menu-item-198 a, .post-type-archive-npo_album .menu-place_global-container li#menu-item-89 a {
    border-bottom: solid 2px #fff;
}
/* pagination on top */

.page-nav-1 {
    display: none;
}
ul.pager {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    position: relative;
}
.pager li {
    position: relative;
}
ul.pager li.first>span, ul.pager li.last>span {
    display: none;
}
ul.pager li.first:after {
    content: 'First';
    left: 13px;
    top: 5px;
}
ul.pager li.last:after {
    content: 'Last';
    top: 5px;
    left: 13px;
}
ul.pager li.first:after, ul.pager li.last:after {
    position: absolute;
}
ul.pager li.next, ul.pager li.previous, ul.pager li.first a, ul.pager li.last a {
    text-indent: -9999px;
}
ul.pager li.last a, ul.pager li.first a {
    padding: 5px 27px;
}
.pager li:hover>a {
    text-decoration: none;
    background-color: #eee;
}
ul.pager li.next:after {
    background: url(img/read-more.svg) no-repeat;
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
    top: 7px;
    left: 4px;
}
ul.pager li.previous:before {
    background: url(img/read-less.svg) no-repeat;
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
    top: 7px;
    left: 4px;
}
.pager li>a, .pager li>span {
    border: none;
}
@media (max-width: 640px) {
    /*ul.pager li.first, ul.pager li.last {
        position: absolute;
        top: 30px;
    }
    ul.pager li.first {
        left: 65%;
    }
    ul.pager li.last {
        left: 77%;
    }*/
}
.testimonial_block .entryObjEnd {
    position: relative;
}
.testimonial_block .date {
    margin: -5px 0 10px 0;
    font-size: 11px;
    text-transform: uppercase;
    color: darkgrey;
}
.readmore {
    position: absolute;
    bottom: -20px;
}

.readless{
	position: absolute;
}

.readmore.read-static {
    position: relative;
    bottom: 0;
}
.readmore:after {
    background: url(img/read-more.svg) no-repeat;
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
    top: 2px;
    right: -23px;
}
.readmore.read-static:after {
    position: relative;
    top: -18px;
    left: 73px;
}
[lang="ja"] .readmore.read-static:after {
    left: 85px;
    top: -20px;
}
.readless {
    margin-left: 23px;
}
.readless:before {
    background: url(img/read-less.svg) no-repeat;
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
    top: 1px;
    left: -24px;
    cursor: pointer;
}
.testimonial-img {
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.testimonial-text {
    padding-top: 5px;
}