@charset "utf-8";

.post-type-archive-case #h2-title .h2-titleInner,
.single-case #h2-title .h2-titleInner {
    background-image: url(../images/case/bg-h2-title.jpg);
}

.post-type-archive-case #contents .inner,
.single-case #contents .inner {
    max-width: 1024px;
}

.post-type-archive-case #h2-title h2::before,
.single-case #h2-title h2::before {
    background-image: url(../images/case/h2-title.svg);
}


.post-type-archive-case #contents .box .title dl dd span.tag,
.single-case #contents span.tag {
    background-color: #f0f8ff;
    padding: 10px 60px;
    color: #004098;
    font-size: 1.6rem;
}

/*----------------------------------------*/
/* Archive
/*----------------------------------------*/
.post-type-archive-case .caselist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post-type-archive-case .caselist .box {
    margin: 0 6% 6% 0;
    width: 47%;
    opacity: 0;
}

.post-type-archive-case .caselist .box:nth-child(2n) {
    margin: 0 0 6%;
}
.post-type-archive-case .nodata {
    text-align: center;
    width:100% !important;
    padding:40px 25px;
    border-top:0.5px solid #CCCCCC;
    border-bottom:0.5px solid #CCCCCC;
    margin:0 !important;
    color:#FF0000;
}

.post-type-archive-case .caselist .box .image {
    margin: 0 auto 20px;
    border:0.5px solid #f0f8ff;
}

.post-type-archive-case .caselist .box .image .imageInner {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    padding-bottom: 75%;
}

.post-type-archive-case .caselist .box .image .imageInner img {
    top: 0;
    left: 50%;
    margin-left: -50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.post-type-archive-case #contents .box .title dl dd {
    margin: 0 auto 40px;
}


.post-type-archive-case #contents .box .title dl dt {
    text-align: center;
    font-size: 2.0rem;
}

.post-type-archive-case #contents .box .btnBox {
    padding: 40px 0 0;
    margin-left: auto;
    max-width: 200px;
}

.post-type-archive-case #contents .box .btnBox a {
    max-width: 250px;
    margin-left: auto;
}

.post-type-archive-case #contents .box .btnBox a:hover {
    background-color: #ffffff;
    color: #004098;
    border: solid 1px #004098;
}


.post-type-archive-case #contents a {
    text-decoration: none;
}

.post-type-archive-case #contents .box .btnBox .btnBoxInner {
    position: relative;
    text-align: center;
}

.post-type-archive-case #contents .box .btnBox .btnBoxInner::after {
    background-color: #004098;
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scale(1, 1);
    transform-origin: right top;
    transition: transform .3s;
    width: 100%;
}

.post-type-archive-case #contents .box:hover .btnBox .btnBoxInner:after {
    transform: scale(0, 1);
}

.post-type-archive-case #contents .box .btnBox span.btn-style {
    /*display: block;
    padding: 15px 10px;*/
    display: inline-block;
    padding: 15px 50px 15px 15px;
    color: #004098;
    /*background-color: #004098;*/
    text-align: center;
    line-height: 1;
    border-radius: 23.5px;
    text-decoration: none;
    position: relative;
}

.post-type-archive-case #contents .box .btnBox span.btn-style::before,
.post-type-archive-case #contents .box .btnBox span.btn-style::after {
    position: absolute;
    content: "";
    top: 50%;
}

.post-type-archive-case #contents .box .btnBox span.btn-style::before {
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #004098;
    right: 10px;
}

.post-type-archive-case #contents .box .btnBox span.btn-style::after {
    content: "→";
    line-height: 1;
    font-size: 1.4rem;
    right: 13.5px;
    margin-top: -6px;
    color: #004098;
}

/*
.post-type-archive-case #contents .box:hover .btnBox span.btn-style::before,
.post-type-archive-case #contents .box:hover .btnBox span.btn-style {
    background: #FFFFFF;
    border: solid 1px #004098;
}

.post-type-archive-case #contents .box:hover .btnBox span.btn-style,
.post-type-archive-case #contents .box:hover .btnBox span.btn-style::after {
    color: #004098;
}
*/
.post-type-archive-case #contents .box:hover .image img {
    transform: scale(1.1, 1.1);
    transition: 0.25s all;
}

/*----------------------------------------*/
/* Single
/*----------------------------------------*/
.single-case #contents .inner {
    max-width: 1024px;
}

.single-case #contents .section-head {
    margin: 0 auto 60px;
}

.single-case #contents .section-head .section-headInner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 0 auto 40px;
}

.single-case #contents h3 {
    margin: 0 0 0 25px;
    font-weight: 600;
    font-size: 2.0rem;
}

.single-case #contents .case-title {
    text-align: center;
    font-weight: 600;
    font-size: 3.0rem;
}

.single-case .section-body .image {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

.single-case .section-body .image .imageBox .imageInner {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.single-case .section-body .image .imageBox .imageInner img {
    top: 0;
    left: 50%;
    margin-left: -50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.single-case .section-body .image .mainImage {
    width: 100%;
    margin: 0 auto 4%;
}

.single-case .section-body .image .mainImage .imageInner {
    padding-bottom: 66.66666666666666%;
}

.single-case .section-body .image .subImage .imageInner {
    padding-bottom: 56.25%;
}

.single-case .section-body .image .subImage {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.single-case .section-body .image .subImage.column-2 .imageBox {
    margin: 0 4% 0 0;
    width: 48%;
}

.single-case .section-body .image .subImage.column-2 .imageBox:last-child {
    margin: 0;
}


.single-case .section-body .image .subImage.column-3 .imageBox {
    margin: 0 4% 4% 0;
    width: 30.66666666666667%;
}

.single-case .section-body .image .subImage.column-3 .imageBox:nth-child(3n) {
    margin: 0 0 4%;
}

.single-case .section-body .image .subImage.column-2 .imageBox:last-child {
    margin: 0;
}

.single-case #contents .section-body .detail {
    margin: 40px 0 0;
}

.single-case #contents .section-body {
    max-width: 835px;
    margin: auto;
}

.single-case #contents .section-foot {
    margin: 60px 0 0;
}

@media screen and (max-width: 1024px) {

    .post-type-archive-case #contents .box .title dl dd span.tag,
    .single-case #contents span.tag {
        padding: 10px 50px;
        font-size: 1.5rem;
    }


    /*----------------------------------------*/
    /* Archive
    /*----------------------------------------*/
    .post-type-archive-case #contents .box .title dl dd {
        margin: 0 auto 30px;
    }

    .post-type-archive-case #contents .box .btnBox {
        padding: 30px 0 0;
    }


    /*----------------------------------------*/
    /* Single
    /*----------------------------------------*/
    .single-case #contents .section-head {
        margin: 0 auto 50px;
    }

    .single-case #contents .section-head .section-headInner {
        margin: 0 auto 30px;
    }

    .single-case #contents h3 {
        font-size: 1.8rem;
    }

    .single-case #contents .case-title {
        font-size: 2.8rem;
    }


    .single-case #contents .section-foot {
        margin: 50px 0 0;
    }
}

@media screen and (max-width: 960px) {}

@media screen and (max-width: 835px) {

    .post-type-archive-case #contents .box .title dl dd span.tag,
    .single-case #contents span.tag {
        padding: 5px 40px;
        font-size: 1.4rem;
    }

    /*----------------------------------------*/
    /* Archive
    /*----------------------------------------*/
    .post-type-archive-case #contents .box .title dl dd {
        margin: 0 auto 25px;
    }

    .post-type-archive-case #contents .box .title dl dt {
        font-size: 1.8rem;
    }

    .post-type-archive-case #contents .box .btnBox {
        padding: 25px 0 0;
    }

    /*----------------------------------------*/
    /* Single
    /*----------------------------------------*/
    .single-case #contents .section-head {
        margin: 0 auto 40px;
    }

    .single-case #contents .section-head .section-headInner {
        margin: 0 auto 25px;
    }

    .single-case #contents .section-foot {
        margin: 40px 0 0;
    }
}

@media screen and (max-width: 750px) {

    .post-type-archive-case #contents .box .title dl dd span.tag,
    .single-case #contents span.tag {
        padding: 5px 30px;
        letter-spacing: 0;
    }

    /*----------------------------------------*/
    /* Archive
    /*----------------------------------------*/
    .post-type-archive-case #contents .box .title dl dt {
        letter-spacing: 0;
        font-size: 1.7rem;
    }

    .post-type-archive-case #contents .box .btnBox span.btn-style {
        border-radius: 27.5px;
        max-width: 175px;
        margin: 0 0 0 auto;
    }


    /*----------------------------------------*/
    /* Single
    /*----------------------------------------*/
    .single-case #contents h3 {
        margin: 0 0 0 15px;
        letter-spacing: 0;
        font-size: 1.7rem;
    }

    .single-case #contents .case-title {
        letter-spacing: 0;
    }
}

@media screen and (max-width: 640px) {


    .post-type-archive-case #h2-title h2 span.ja,
    .single-case #h2-title h2 span.ja {
        font-size: 2.0rem;
    }

    .post-type-archive-case #contents .box .title dl dd span.tag,
    .single-case #contents span.tag {
        font-size: 1.3rem;
    }


    /*----------------------------------------*/
    /* Archive
    /*----------------------------------------*/
    .post-type-archive-case #contents .inner {
        padding: 0;
    }

    .post-type-archive-case .caselist {
        display: block;
    }

    .post-type-archive-case .caselist .box {
        width: 100%;
    }

    .post-type-archive-case #contents .box {
        margin: 0;
    }

    .post-type-archive-case #contents .box:last-child {
        margin: 0;
    }

    .post-type-archive-case #contents .box a {
        padding: 25px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .post-type-archive-case #contents .box a:hover {
        background-color: #f0f8ff;
    }

    .post-type-archive-case #contents .box a:hover .title dl dd span.tag {
        background-color: #ffffff;
    }

    .post-type-archive-case #contents .box .image {
        width: 100px;
        position: relative;
        z-index: 10;
        margin: 0;
    }

    .post-type-archive-case .caselist .box .image .imageInner {
        padding-bottom: 100%;
    }


    .post-type-archive-case #contents .box .detail {
        width: 100%;
        margin: 0 0 0 -100px;
        padding: 0 0 0 125px;
    }

    .post-type-archive-case #contents .box .title dl dt {
        letter-spacing: 0;
        font-size: 1.65rem;
        text-align: left;
    }

    .post-type-archive-case #contents .box .title dl dd {
        margin: 0 auto 15px;
    }

    .post-type-archive-case #contents .box .btnBox {
        font-size: 90%;
        letter-spacing: 0;
        padding: 20px 0 0;
        max-width: 125px;
    }

    .post-type-archive-case #contents .box .btnBox span.btn-style {
        /*padding: 15px 2.5px;*/
            padding: 15px 40px 15px 15px;
        border-radius: 23.5px;
    }

    /*----------------------------------------*/
    /* Single
    /*----------------------------------------*/
    .single-case #contents .case-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {

    .post-type-archive-case #h2-title h2 span.ja,
    .single-case #h2-title h2 span.ja {
        font-size: 1.6rem;
    }

    .post-type-archive-case #contents .box .btnBox span.btn-style::before {
        width: 15px;
        height: 15px;
        margin-top: -7px;
    }

    .post-type-archive-case #contents .box .btnBox span.btn-style::after {
        font-size: 1.2rem;
        margin-top: -4px;
    }

    /*----------------------------------------*/
    /* Archive
    /*----------------------------------------*/
    .post-type-archive-case #contents .btnBox {
        max-width: 100%;
    }

    .post-type-archive-case #contents .box .image {
        width: 75px;
    }

    .post-type-archive-case #contents .box .detail {
        margin: 0 0 0 -75px;
        padding: 0 0 0 100px;
    }

    /*----------------------------------------*/
    /* Single
    /*----------------------------------------*/
    .single-case #contents .section-head .section-headInner {
        display: block;
    }

    .single-case #contents span.tag {
        margin: 0 0 15px;
        font-size: 1.2rem;

        display: inline-block;
    }

    .single-case #contents .case-title {
        font-size: 2.0rem;
    }

    .single-case #contents h3 {
        margin: 0;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 350px) {}