@charset "UTF-8";

/* ---------- header for page ---------- */
body.single-case header#pagetitle .pagetitle-text,
body.post-type-archive-case header#pagetitle .pagetitle-text{
    display:block;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    text-transform: capitalize;
    text-shadow: 
    black 2px 0px 2px, black -2px 0px 2px,
    black 0px -2px 2px, black -2px 0px 2px,
    black 2px 2px 2px, black -2px 2px 2px,
    black 2px -2px 2px, black -2px -2px 2px,
    black 1px 2px 2px, black -1px 2px 2px,
    black 1px -2px 2px, black -1px -2px 2px,
    black 2px 1px 2px, black -2px 1px 2px,
    black 2px -1px 2px, black -2px -1px 2px,
    black 1px 1px 2px, black -1px 1px 2px,
    black 1px -1px 2px, black -1px -1px 2px;
}
body.single-case header#pagetitle .pagetitle-text em,
body.post-type-archive-case header#pagetitle .pagetitle-text em {
    display: block;
    font-size: 1rem;
    font-weight: 200;
    font-style: normal;
}
body.single-case header#pagetitle.case-pagetitle,
body.post-type-archive-case header#pagetitle.case-list-pagetitle  {
    background: url(../images/bg-header-cccs.jpg)  center center/ cover;
}

body.single-case h1{
    margin: 0 0 2rem;
    padding: 1rem 2rem;
    font-size: 2.0rem;
    line-height: 1.4;
    letter-spacing: 2px;
    background: #142B5A;
    color: #fff;
}

/* ---------- thumbnail ---------- */
body.single-case .case-thumbnail img {
    width: 100%;
    height: auto;
}
body.single-case .case-mv-caption{
    display: flex;
    justify-content: center;
}
body.single-case .case-mv-caption p{
    margin-bottom: 0;
    color: #555;
    font-size: 0.8rem;
}

/* ---------- custom field company ---------- */
body.single-case .case-company-box{
    background: #142B5A;
    margin: 2rem 1rem;
    padding: 1rem 2rem 0.2rem;
}
body.single-case .case-company-box p{
    color: #fff;
}
body.single-case .case-company-name{
    margin-bottom: 0.8rem;
}
body.single-case .case-company-url{
    margin-top: 0;
	margin-bottom: 0;
    color: #fff;
    text-decoration: underline;
}
body.single-case .case-company-description{
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* ---------- custom field Q&A ---------- */
body.single-case h2 {
    margin: 0 0 50px;
    padding: 20px 0 10px;
    color: #333;
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 2px;
    border-bottom: solid 1px;
    border-image: linear-gradient(to right, #aaa 0%, #ccc 50%, #ddd 74%, #fff 100%);
    border-image-slice: 1;
    position: relative;
    clear: both;
}
body.single-case h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 2px #eb8583;
    bottom: -1px;
    width: 10%;
}
body.single-case .case-qa-question {
    font-weight: 500;
    color: #333;
    display: flex;
}
body.single-case .case-qa-question::before {
    content:"";
    width: 4rem;
    height: 1px;
    margin: 0.9rem 1rem 0 0;
    background-color: #666;
    flex-shrink: 0;
}
body.single-case .case-qa-image{
    margin-bottom: 2rem;
}
body.single-case .case-qa-image img {
    max-width: 70%;
    max-height: 500px;
}