@charset "utf-8";
/*
Theme Name:Precious TCD019 new
Theme URI:
Description:WordPressテーマ「Precious」
Author:Design Plus
Author URI:http://design-plus1.com/tcd-w/
Version:2.2
*/

/* --------------------------------------------------------------------------------
 web fonts　ウェブフォントファイルを変更した場合はv=1.0の数字を変更（キャッシュ対策）
-------------------------------------------------------------------------------- */
@font-face {
    font-family: 'design_plus';
    src: url('fonts/design_plus.eot?v=1.0');
    src: url('fonts/design_plus.eot?v=1.0#iefix') format('embedded-opentype'),
         url('fonts/design_plus.woff?v=1.0') format('woff'),
         url('fonts/design_plus.ttf?v=1.0') format('truetype'),
         url('fonts/design_plus.svg?v=1.0#design_plus') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* ----------------------------------------------------------------------
 basic setting
---------------------------------------------------------------------- */
img{max-width: 100%;}
a img { border:none; verticle-align:top; }
a, a:visited { outline:none; color:#333; }
a:hover { color:#00a2d9; }
p { margin:0 0 10px 0; padding:0; line-height:2.0; }
ul { list-style-type:none; margin:0 0 2em 0; padding:0; line-height:0%; }
ul li { margin:0; padding:0; line-height:normal; zoom:1; }
ol { margin:0 0 2em 19px; padding:0; }
ol li { padding:0 0 5px 0; line-height:normal; }
dl { list-style-type:none; margin:0 0 1em 0; padding:0; line-height:0%; }
dl dt, dl dd { margin:0; padding:0; line-height:normal; zoom:1; }
dl dt { font-weight:bold; }
form,table,input,textarea,dl,dt,dd { margin:0; padding:0; }
table { border-collapse:collapse; width:100%; border:0; }
cite { text-align:right; display:block; }
object { display:block; margin:0 auto; height:auto; }
del { color:#333; }
hr { border:1px solid #ccc; margin:40px 0; }
.wp-caption-text { text-align:center; }
.alignright { float:right; }
.alignleft { float:left; }
.aligncenter { margin-left:auto; margin-right:auto; }
.centered { margin-left:auto; margin-right:auto; }
.clear { clear:both; }
input[type="text"], input[type="password"], textarea, select { outline: none; }
.clearfix:after, .clearfix:before { content: ''; display: table; }
.clearfix, .clearfix:after { clear: both; }


/* --- WordPress preset CSS ----------------------------------------------------------------------------------------- */
#header_wrap{
    background: #fff;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#header {
    text-align: left;
}

.home #main_contents{
    padding: 40px 0;
}
.post-box{
    padding: 0;
    margin-left: -15px;
    margin-right: -15px;
    width:840px;
    float:left;
    box-sizing: border-box
}
.related-box{
    margin-left: -15px;
    margin-right: -15px;
}
.post-items{
    background: #fff;
    position: relative;
    float: left;
    width: calc(50% - 30px);
    margin: 0 15px 30px 15px;
    overflow: hidden;
    cursor: pointer;
}
.post-box .post-items:nth-child(2n+1){
    clear: both;
}
.related-box .post-items{
    width: calc(50% - 30px);
}
.post-items a{
    text-decoration: none;
}
.post-items img {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 1;
    margin: 0 auto;
}
.post-items .post-info h2 {
    color: #333;
    text-align: left;
    box-sizing: border-box;
    padding: 10px 15px 5px;
    margin: 0;
    line-height: 1.5;
    font-size: 20px;
}
.post-items:hover .post-info h2 {
    color: #193b99;
}
.post-items .post-info p {
    padding: 10px 20px;
    margin-bottom: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}
/*--------------------------post---------------------------*/
.post img.aligncenter, div.aligncenter {
    display: block;
    margin: 15px auto;
}
.post p{
    font-size: 16px;
    margin-bottom: 20px;
    color: #000;
    line-height: 2;
}
.post p img{
    display: block;
    margin: 15px auto;
}
.post .mb0{
    margin-bottom: 0 !important;
}
.post .mt0{
    margin-top: 0 !important;
}
.post .wp-caption {
    max-width: 100%;
    margin: 0 auto 10px;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
}
.post .wp-caption-text{
    margin-top: 10px;
}
.post .bold{
    font-weight: bold;
}
.post ul{
    margin-bottom: 20px;
}
.post .h2-title{
    font-size: 21px;
    color: #fff;
    display: block;
    background: #5D491E;
    padding: 3px 0 3px 15px;
    margin: 40px 0 20px;
    line-height: 1.6;
}
.post .h3-title{
    font-size: 19px;
    color: #000;
    display: block;
    margin: 30px 0px 15px;
    padding: 0px;
    border-bottom:1px dotted #333;
    border-top:1px dotted #333;
    line-height: 1.6;
}
.post .h4-title{
    color: #193b99;
    font-size: 17px;
    margin: 25px 0 10px;
    line-height: 1.6;
}
.post .color-red{
    font-size: 140%;
    font-weight: bold;
    color: #424a60;
    line-height: 1.6;
}
.post .color-black{
    font-size: 140%;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}
.post .bg-yellow{
    color: #000;
    background: url(img/common/line.jpg) top 2px left repeat-x;
    display: inline;
    line-height: 1.6;
}
.post p a{
    text-decoration: none;
}
.post p a:hover{
    text-decoration: underline;
}
.post .under-line{
    text-decoration: underline;
    text-decoration-color: #ff8d00;
}
.post .wp-caption-text{
    text-align: left;
}
.post table{
    border: 1px solid #000;
    margin-bottom: 20px;
}
.post table.w550{
    max-width: 550px;
}
.post table.w450{
    max-width: 450px;
}
.post table tr{
    border-bottom: 1px solid #000;
}
.post table tr td{
    border-right: 1px solid #000;
    padding: 5px 0;
}
.bg-td-1{
    background: #e2f0d9;
    text-align: center;
}
.bg-td-2{
    background: #fff2cd;
    text-align: center;
}
/*tab*/
.list_tab {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}
.post .list-tab-title{
    font-weight: bold;
    color: #333;
    font-size: 19px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    padding: 0 10px;
    line-height: 1.5;
}
.list-tab{
    font-weight: bold;
    margin: 5px 30px 15px;
    counter-reset: myOrderedListItemsCounter 0;
    list-style: none;
}
.list-tab li{
    color: #3333ff;
    font-weight: bold;
    list-style-type: none;
    position: relative;
    padding: 3px 10px 0;
}
.list-tab li:after {
    background: #666666 ;
    color: #fff;
    content: counter(myOrderedListItemsCounter)".";
    counter-increment: myOrderedListItemsCounter 1;
    font-size: 15px;
    height: 20px;
    left: -24px;
    padding-bottom: 2px;
    position: absolute;
    top: 7px;
    width: 24px;
    line-height: 20px;
    text-align: center;
    display: block;
}
.list-tab li a{
    color: #000825;
    font-weight: bold;
    font-size: 19px;
    display: inline-block;
    text-decoration: none;
}
.list-tab li a:hover{
    text-decoration: underline;
}
#post_title h1{
    margin: 0 0 30px 0;
    border-bottom: 2px solid #424a60;
    padding-bottom: 10px;
    font-size: 26px;
    line-height: 1.4;
}
.post .text-center{
    text-align: center;
}
.post .list-bold li{
    font-weight: bold;
}
.list-blue{
    
    color: #007241;
    font-weight: bold;
}
.list-red{
    /*// color: #f00;*/
    color: #f90;
    font-weight: bold;
}
.list-red17{
    /*// color: #f00;*/
    color: #f90;
    font-weight: bold;
    font-size: 17px;
}
.font15{
    font-size: 15px;
}
/*----------------- Breadcrumb------------------*/
#bread_crumb {
    background: #fff;
    display: block;
    list-style: none;
    margin: 50px 0 20px;
    padding: 15px;
}
#bread_crumb li {
    color: #333;
    font-size: 14px;
    display: inline;
    padding: 0 15px 0 0;
    margin: 0 0 0 15px;
    line-height: 160%;
    position: relative;
}
#bread_crumb li.home:after { display:none; }
#bread_crumb li.home a:before { content:'\e90c'; }
#bread_crumb li.home a {
    float: left;
    height: 15px;
    width: 0px;
    line-height: 15px;
    display: block;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
#bread_crumb li.home a:before {
    font-family: 'design_plus';
    color: #333;
    font-size: 16px;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 17px;
    height: 17px;
    line-height: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#bread_crumb li.home a span {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}
#bread_crumb li:after {
    font-family: 'design_plus';
    content: '\e910';
    color: #333;
    font-size: 9px;
    display: block;
    position: absolute;
    left: -20px;
    top: -1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mb0{
    margin-bottom: 0;
}
.mb20{
    margin-bottom: 20px;
}
#main_contents { width: 1140px; margin:0 auto; }
#logo{
    margin: 0;
}
#logo a{
    display: inline-block;
    position: relative;
    padding: 20px 0;
}
#logo a img{
    vertical-align: bottom;
}
/*// #logo a:before{
//     content: '';
//     position: absolute;
//     left: 100%;
//     top: 0;
//     background: url(img/common/header-right.png) 0 0 no-repeat;
//     width: 171px;
//     height: 129px;
// }
// #logo a:after{
//     content: '';
//     position: absolute;
//     right: 100%;
//     top: 0;
//     background: url(img/common/header-left.png) 0 0 no-repeat;
//     width: 125px;
//     height: 149px;
// }*/
.hidden{
    display: none;
}
#side_col .info{
    margin-top: -3px;
}
@media screen and (max-width:1199px){
    .post-box{
        margin: 0;
    }
    #main_contents { width: 100%; }
    .post .h2-title,
    .post .h3-title, .post .h4-title,
    .post .h3-title2{
        letter-spacing: 0;
    }
    #related_post{
        width: calc(70% - 15px) !important;
    }
}
@media screen and (max-width: 991px) {
    #main_col, #side_col{
        width: 100% !important;
    }
    #logo a:before, #logo a:after{
        display: none;
    }
    #related_post{
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
    }
}
@media screen and (min-width: 992px){
    .related-box .post-items:nth-child(2n+1){
        clear: both;
    }
}
@media screen and (max-width: 991px) {
    .post-items{
        width: calc(50% - 30px);
    }
    .post-box .post-items:nth-child(2n+1), .related-box .post-items:nth-child(2n+1){
        clear: both;
    }
    #side_col, #main_col, .post-box{
        width: 100% !important;
    }
}


@media screen and (min-width: 992px) and (max-width: 1199px){
    #main_col, .post-box{
        width: calc(70% - 15px) !important;
        margin-right: 15px;
    }
    #side_col{
        width: calc(30% - 15px) !important;
        margin-left: 15px;
    }
}
@media screen and  (max-width: 991px){
    #main_col, #side_col, #related_post{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
@media screen and (max-width: 767px){
    #header_wrap{
        padding: 0;
    }
    #post_title h1{
        font-size: 18px;
        margin-bottom: 20px;
    }
    .post .text-left{
        width: 100% !important;
    }
    .post .img-right{
        width: 100% !important;
        margin-left: 0;
    }
    .post .img-right img{
        width: auto;
        max-width: 100%;
    }
    .related-box .post-items{
        border: 1px solid #ccc;
        width: calc(50% - 32px);
    }
    .post-items .post-info:before{
        content: none;
    }
    .post-items .post-info h2{
        font-size: 20px;
        position: initial;
        transform: translate3d(0,0,0);
        padding: 10px 10px 0;
    }
    .post-items:hover .post-info h2{
        color: #000;
    }
    .post-items .post-info p{
        opacity: 1;
        position: initial;
        color: #000;
        transform: translate3d(0,0,0);
    }
    .post-items .post-info{
        position: initial;
    }
    .related-box .post-items img{
        opacity: 1;
    }
    .post .h2-title,
    .post .h3-title, .post .h4-title,
    .post .h3-title2{
        margin: 15px 0;
    }
    .post-items img{
        height: auto;
    }
    #side_col ul{
        margin-bottom: 0;
    }
    #related_post{
        width: 100% !important;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 599px) {
    .post-box{
        width: 100% !important;
        float: none;
    }
    .post-items{
        width: calc(100% - 30px);
    }
    .related-box .post-items{
        width: calc(100% - 32px);
    }
    #logo{
        padding: 0 30px;
    }
    .post p img{
        width: auto !important;
        height: auto !important;
    }
}
/*// Hùng add*/
.video-content{
    position:relative;
    padding-bottom:56.25%;
    padding-top:20px;
    height:0;
    overflow:hidden;
}
.video-content iframe, .video-content object, .video-content embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}