/*
Theme Name: mdm-child
Author: Nagaoka
Template: mdm
*/

@import url('../mdm/style.css');



/* -----------------------------以下カスタマイズ部分 */




/* ************************************************ 
*	企業情報部分の追加
* ************************************************ */
table.companyInfo {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
}
 
table.companyInfo th,
table.companyInfo td {
    padding: 10px;
}
 
table.companyInfo th {
    background: #775C5C;
    vertical-align: middle;
    text-align: left;
    width: 30%;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
}
 
table.companyInfo th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    /*border-color: rgba(136, 183, 213, 0);*/
    border-left-color: #775C5C;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() { 
    table.companyInfo th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #295890 10px solid;
        margin-top: -10px;
    }
}
 
table.companyInfo td {
    background: #f8f8f8;
    width: 70%;
    padding-left: 20px;
}

table.companyInfo {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
}
 
table.companyInfo .column-1,
table.companyInfo .column-2 {
    padding: 10px;
}
 
table.companyInfo .column-1 {
    background: #775C5C;
    vertical-align: middle;
    text-align: left;
    width: 30%;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
}
 
table.companyInfo .column-1:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    /*border-color: rgba(136, 183, 213, 0);*/
    border-left-color: #775C5C;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() { 
    table.companyInfo .column-1::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #295890 10px solid;
        margin-top: -10px;
    }
}
 
table.companyInfo .column-2 {
    background: #f8f8f8;
    width: 70%;
    padding-left: 20px;
}
.tablepress tbody td, .tablepress tfoot th {
  border-top: none !important;
}


/* CHIMERA のロゴ用Webフォント */
@font-face {
  font-family: "myFont";
  src: url("font/COLONNA.eot?") format('eot'),
       url("font/COLONNA.woff") format('woff'),
       url("font/COLONNA.TTF")  format('truetype');
}
.myFontClass {
  font-family: "myFont";
  font-size: 1.5em;
  display:inline-block;
  *display:inline;
  *zoom:1;
  margin:0 0.5em;
}

/* 記事のタイトル(h1)装飾 */

h1.blog-title {
color: #6e4c3e ;
background: #ece6e6;
font-size: 2em ;
line-height: 1;
margin:1em 0;
padding: 0.5em 1em;
border-bottom:1px solid #6e4c3e;
}

/* 見出し部分 */
.box h3{
    text-align:left;
    position:relative;
    font-weight: 100;
    margin: 0;
    font-size:1.2rem;
}
.box {
    background:#fff;
    margin:2em 0;
    padding: 0.5em;
}

.effect2 {
    border-bottom: 1px solid #aaa;
    margin: 1em 0;
    padding: 0.5em 1em;
    position: relative;
}
 
.effect2:before,
.effect2:after{
    content: '';
    border-right: 20px solid #fff;
    border-top: 15px solid #aaa;
    bottom: -15px;
    position: absolute;
    left: 25px;
}
 
.effect2:after{
    border-top-color: #fff;
    border-right-color: transparent;
    bottom: -13px;
    left: 26px;
}

/* サブタイトルにした段落 */
.subHeadline{
font-size:1.5em;
text-shadow:
1px 1px 1px #eee,
2px 2px 2px #aaa;
}

/*記事内段落、画像など*/
.contentWrapper p:after{
content:"";
display:block;
visibility:hidden;
clear:both;
}

img.migiyose{
float:right;
width:50%;
margin-left:0.5em;
margin-bottom:0.5em;
}
img.hidariyose{
float:left;
width:50%;
margin-right:0.5em;
margin-bottom:0.5em;
}

@media only screen and (max-width:767px) {
img.migiyose,img.hidariyose{
float:none;
width:100%;
margin:0.5em 0;
}
}