@charset "utf-8";
/* Sub
------------------------------------------ */

/* Word Press style delete */
body.sub-page .site-inner {
    padding-top: 0;
}

body.sub-page .wrap {
    margin: 0;
    max-width: none;
}

body.sub-page .wrap:before {
    content: none;
}

body.sub-page .full-width-content .content {
    float: none;
    width: auto;
}

body.sub-page .entry {
    margin-bottom: 0;
}

body.sub-page .entry:before {
    content: none;
}

body.sub-page .panel-grid.panel-has-style > .panel-row-style,
body.sub-page .panel-grid.panel-no-style {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.sub-page #pgc-6-0-0 {
    width: auto;
}

body.sub-page .home-panel-4 .panel-grid-cell:last-child .textwidget {
    padding: 0;
}

body.sub-page .entry-content ol,
body.sub-page .entry-content ul {
    margin-left: 0; 
}

body.sub-page .entry-content ol,
body.sub-page .entry-content p,
body.sub-page .entry-content ul,
body.sub-page .quote-caption {
    margin-bottom: 0;
}

body.sub-page .entry-content ul li {
    list-style-type: none;
}


/* style */
.sub_title .english {
    font-weight: bold;
}

.sub_title .japanese {
    font-size: 14px;
    font-weight: bold;
}

.sub_text span {
    display: block;
}
.sub_grid_title {
    border-top: 1px solid #e6e6e6;
    padding-top: 26px;
    padding-bottom: 25px;
}

.sub_grid_title span {
    display: inline-block;
    vertical-align: top;
    position: relative;
    line-height: 1;
    font-size: 18px;
    font-weight: bold;
    color: #bf0000;
}

.sub_grid_title span:before {
    content: '';
    display: block;
    position: absolute;
    background-image: linear-gradient(45deg, #860000, #c10000);
    top: -27px;
    left: 0;
    width: 100%;
    height: 4px;
}

.sub_thumblink {
    position: relative;
}

.sub_thumblink a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sub_thumblink a.link-inactive {
    pointer-events: none;
}

.sub_thumblink_image {
    position: relative;
    margin-right: 24px;
    font-size: 0;
    overflow: hidden;
}

.sub_thumblink a.link-inactive + .sub_thumblink_image:before {
    content: 'Coming soon';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 18px;
    color: #bf0000;
    font-family:'Rakuten Global','Helvetica Neue',HelveticaNeue,Helvetica,'Noto Sans',Arial,'Arial Unicode MS',sans-serif!important;
    font-weight: bold;
    transform: translateY(-50%);
}

.sub_thumblink_image img {
    width: 100%;
}


.sub_thumblink_text {
    position: relative;
    border: 1px solid #bf0000;
    background-color: #bf0000;
    background-image: url('/wp-content/uploads/sites/3/2019/05/arrow_white.png');
    background-position: right 24px center;
    background-repeat: no-repeat;
    background-size: 8px auto;
    margin-left: 32px !important;
    margin-top: -23px !important;
    padding: 25px 52px 25px 31px;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.sub_thumblink a:hover ~ .sub_thumblink_text {
    background-color: #fff;
    background-image: url('/wp-content/uploads/sites/3/2019/05/arrow_red.png');
    color: #bf0000;
}

.sub_thumblink a.link-inactive ~ .sub_thumblink_text {
    border-color: #c8c8c8;
    background-color: #c8c8c8;
}

.sub_news {
    background-color: #f6f6f6;
}


.sub_news_title {
    font-size: 18px;
    font-weight: bold;
}

.sub_news_text {
    margin-top: -6px;
    margin-bottom: -6px;
    line-height: 28px;
    font-size: 16px;
    font-weight: bold;
    color: #bf0000;
}

@media screen and (min-width: 980px), print {
    .sub_thumblink_image:after {
        content: '';
        display: block;
        position: absolute;
        background-color: rgba(191, 0, 0, 0.2);
        top: -60px;
        right: -52px;
        width: 150%;
        height: 180%;
        pointer-events: none;
        transform: rotate(-24deg) translate(-77%, -50%);
        -webkit-transition: transform .25s;
        transition: transform .25s;
    }
    .sub_thumblink a:hover + .sub_thumblink_image:after {
        transform: rotate(-24deg) translateX(0);
    }
}

@media screen and (min-width: 760px), print {
    .sub_title .english {
        display: inline-block;
        vertical-align: baseline;
        padding-right: 24px;
        font-size: 48px;
    }
    .sub_title .japanese {
        display: inline-block;
        vertical-align: baseline;
    }
    .sub_text {
        padding-top: 56px;
        padding-bottom: 80px;
    }
    .sub_text span {
        margin-bottom: -9px;
        margin-top: -9px;
        line-height: 36px;
        font-size: 18px;
    }

    .sub_grid {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .sub_grid li {
        width: -webkit-calc((100% - 40px)/2);
        width: calc((100% - 40px)/2);
        margin-bottom: 40px;
    }
    .sub_news {
        margin-top: 80px;
        padding: 56px 64px 56px 56px;
    }
    .sub_news_inner {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .sub_news_title {
        width: 88px;
    }
    .sub_news_text {
        width: -webkit-calc(100% - 138px);
        width: calc(100% - 138px);
    }
}

@media screen and (max-width: 759px), print {
    .sub_title .english {
        display: block;
        padding-bottom: 17px;
        font-size: 40px;
    }
    .sub_title .japanese {
        display: block;
    }
    .sub_text {
        padding-top: 40px;
        padding-bottom: 56px;
    }
    .sub_text span {
        margin-bottom: -5px;
        margin-top: -5px;
        line-height: 24px;
        font-size: 14px;
    }

    .sub_grid li:nth-child(n+2) {
        padding-top: 40px;
    }
    .sub_grid_title {
        margin-right: 16px;
        padding-bottom: 20px;
    }
    .sub_thumblink_image {
        margin-right: 16px;
    }
    .sub_thumblink_text {
        margin-left: 24px !important;
        padding-left: 24px !important;
    }
    .sub_news_title {
        padding-bottom: 28px;
    }
    .sub_news {
        margin-top: 56px;
        padding: 40px 32px;
    }
}



