@charset "utf-8";

#static_page_title {
    width: 760px;
    margin: 6px 0 0 0;
    padding-bottom: 5px;
    border-bottom: 3px #202f4e solid;
}
#static_page_title span {
    margin: 0;
    font-size: 16px;
    color: #202f4e;
}

#case_study_head {
    margin-top: 30px;
}
#case_study_head .case_study_category {
}
#case_study_head .case_study_category span {
    color: #fff;
    background: #17294d;
    padding: 4px 8px;
    font-size: 14px;
}
#case_study_head .case_study_name {
    color: #17294d;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}
#case_study_head .case_study_data {
    margin-top: 20px;
    font-size: 14px;
}
#case_study_head .case_study_data p {
    margin-top: 20px;
    line-height: 1.4;
}
#case_study_text {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.6;
}
#case_study_text a {
    color: #000;
    text-decoration: underline;
}
.case_study_images {
    text-align: center;
}

.case_study_image_horizontal,
.bukkenboshu_image_horizontal {
    max-width: 600px;
    height: auto;
    margin: 40px auto 0 auto;
}
.case_study_image_horizontal img,
.bukkenboshu_image_horizontal img {
    max-width: 600px;
    height: auto;
}

.bukkenboshu_image_horizontal img.image-next {
    margin: 8px 0 0 0;
}

.bukkenboshu_image_vertical {
    display: table;
    max-width: 400px;
}

.case_study_image_vertical,
.bukkenboshu_image_vertical {
    max-height: 600px;
    height: auto;
    margin: 40px auto 0 auto;
}
.case_study_image_vertical img,
.bukkenboshu_image_vertical img {
    max-height: 600px;
    height: auto;
}

.bukkenboshu_image_horizontal,
.bukkenboshu_image_vertical {
    text-align: left;
}
.bukkenboshu_image_horizontal > h2,
.bukkenboshu_image_vertical > h2 {
    margin-top: 16px;
}
.bukkenboshu_image_horizontal > div,
.bukkenboshu_image_vertical > div {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
}
.bukkenboshu_image_horizontal > div > a.link,
.bukkenboshu_image_vertical > div > a.link {
    text-decoration: underline;
    color: #000;
}

.before {
    position: relative;
}
.before span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: #808080;
    color: #FFF;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 13px;
}

.case_study_foot {
    margin: 40px 0;
}
.case_study_foot a {
    border: 1px solid #000;
    padding: 2px 4px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}
.case_study_foot a:hover {
    opacity: 0.5;
}
