@charset "UTF-8";
/*-----------------------------------------------------
　case一覧
------------------------------------------------------*/
.p-sub-case-wrap{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.p-sub-case-wrap__main {
    width:calc((100% - 60px)/3);
    margin-right:30px;
    margin-bottom: 30px;
}
.p-sub-case-wrap__main a {
    width: 100%;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
    height: 100%;
}
.p-sub-case-wrap__main:nth-child(3n){ margin-right: 0px;}
.p-sub-case-wrap__main a:hover {
    transform: translate3d(0, -10px, 0)
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-imgbox {
    width:100%;
    position: relative;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.p-sub-case-wrap__main-imgbox::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#dd122b), to(#0e1336));
    background-image: -webkit-linear-gradient(left, #dd122b 0%, #0e1336 100%);
    background-image: linear-gradient(to right, #dd122b 0%, #0e1336 100%);
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-imgbox figure {
    width: 100%;
    margin: 0 auto;
    transition: all .3s ease-out;
}
.p-sub-case-wrap__main a:hover .p-sub-case-wrap__main-imgbox figure {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-textbox {
    width:100%;
    background: #fff;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    justify-content: flex-start;
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-textbox p.p-sub-case-wrap__main-textbox-name {
    font-size:15px;
    color: #131313;
    margin-bottom:20px;
    font-weight:bold;
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-textbox p.p-sub-case-wrap__main-textbox-ttl {
    color: #dd122b;
    font-size:20px;
    margin-bottom:10px;
    font-weight:bold;
}
.p-sub-case-wrap__main-textbox-text{
    font-size: 15px;
    font-weight: bold;
    color: #131313;
    margin-bottom:20px;
}
.p-sub-case-wrap__main-textbox-data{
    font-size: 15px;
    color: #7f7f92;
    border-bottom: 1px solid #7f7f92;
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-textbox ul.p-sub-case-wrap__main-textbox-tag {
    width: 100%;
    margin: 20px auto 0;
    display: flex;
    flex-wrap: wrap;
}
.p-sub-case-wrap__main .p-sub-case-wrap__main-textbox ul.p-sub-case-wrap__main-textbox-tag li {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px 10px 4px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    border-radius: 30px;
    color: #7f7f92;
    border: 1px solid #7f7f92;
    font-size:12px;
}
@media (max-width: 599px) {
    .p-sub-case-wrap__main {
      width: 100%;
      margin-right: 0px;
      margin-bottom:30px;
  }
    .p-sub-case-wrap__main a {
        width: 100%;
        display: block;
    }
    .p-sub-case-wrap__main .p-sub-case-wrap__main-imgbox { width: 100%;}
    .p-sub-case-wrap__main .p-sub-case-wrap__main-textbox {
        width: 100%;
        padding: 20px 5%;
    }
    .p-sub-case-wrap__main .p-sub-case-wrap__main-textbox p.p-sub-case-wrap__main-textbox-ttl {
        font-size: 5vw;
        line-height: 1.5;
    }
   .p-sub-case-wrap__main .p-sub-case-wrap__main-textbox p.p-sub-case-wrap__main-textbox-name {
        font-size: 4.5vw;
        margin-bottom: 5px;
    }
    .p-sub-case-wrap__main-textbox-text{font-size: 4.5vw;}
    .p-sub-case-wrap__main-textbox-data{font-size: 3.5vw;}
    .p-sub-case-wrap__main .p-sub-case-wrap__main-textbox ul.p-sub-case-wrap__main-textbox-tag { margin: 15px auto 0;}
    .p-sub-case-wrap__main .p-sub-case-wrap__main-textbox ul.p-sub-case-wrap__main-textbox-tag li {
        margin-right: 5px;
        font-size: 3.5vw;
        border-radius: 100px;
    }
}

/*-----------------------------------------------------
　Case TOP pager
------------------------------------------------------*/
ul.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
ul.pagination li {
    width: auto;
    margin-right: 1em;
    padding: 5px 13px;
    font-size: 18px;
    font-weight: bold;
}
ul.pagination li a {
    text-decoration: none;
    color: #dd122b;
    transition: 0.3s ease-in-out;
}
ul.pagination li a:hover {
    opacity: 0.6;
}
ul.pagination li.page {
    border: 1px solid #dd122b;
    background: #fff;
}
ul.pagination li.navi-active {
    background-color: #dd122b;
}
ul.pagination li.navi-active a {
    color: #fff;
}
ul.pagination li.pagination .active a {
    color: #fff;
}
@media (max-width: 599px) {
    ul.pagination {
        margin-top: 30px;
    }
}

/*-----------------------------------------------------
　case詳細
------------------------------------------------------*/
.p-sub-case-in-wrap__table{
    width:100%;
    text-align: left;
    font-size:15px;
    border: 1px solid #e7e7e7;
}
.p-sub-case-in-wrap__table tr{
    width:100%;
    border-bottom: 1px solid #e7e7e7;
}
.p-sub-case-in-wrap__table tr:last-of-type{border-bottom:none;}
.p-sub-case-in-wrap__table th{
    font-weight: bold;
    line-height: 60px;
    background: #dd122b;
    color: #fff;
    padding-left:20px;
}
.p-sub-case-in-wrap__table td{
    line-height: 60px;
    padding-left:20px;
}
.p-sub-case-in-wrap__table td:first-of-type{
    font-weight: bold;
    background: #f2f2f2;
    border-right: 1px solid #e7e7e7;
}
.p-sub-case-in-wrap__table td:first-of-type span{
    display: inline-block;
    vertical-align: middle;
    width:25px;
    margin-right:5px;
}
@media (max-width: 599px) {
    .p-sub-case-in-wrap__table th{
        display: none;
    }  
    .p-sub-case-in-wrap__table td{
        display:block; 
        line-height: 30px;
        padding:10px;
        width: auto!important;
        height: auto!important;
    }
}
    

/*-----------------------------------------------------
　case詳細 エディタ部分
------------------------------------------------------*/
.case-editor p{
font-size: 15px;
margin-bottom: 20px;
}

.case-editor strong{
    font-weight: bold;
}

.case-editor img{
    width: 80%;
    height: auto;
    margin-inline: auto;
}

.case-editor img.aws-icon{
    width: auto!important;
    height: auto!important;
    vertical-align: middle;
    margin-inline:inherit!important;
    display: inline;
}


.case-editor h4 {
    width: 100%;
    margin: 0 auto 26px;
    font-size: 1.85vw;
    font-weight: bold;
    color: #4d4d4d;
    position: relative;
}
.case-editor h4::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#dd122b), to(#0e1336));
    background-image: -webkit-linear-gradient(left, #dd122b 0%, #0e1336 100%);
    background-image: linear-gradient(to right, #dd122b 0%, #0e1336 100%);
}
.case-editor h4:not(:first-of-type) {
margin-top: 40px;
}

.case-editor h5 {
    width: 100%;
    margin: 0 auto 26px;
    font-size: 1.75vw;
    font-weight: bold;
    color: #7f7f92;
    border-bottom: 1px solid #7f7f92;
}
@media (min-width: 1400px) {
    .case-editor h4 {
        width: 100%;
        margin: 0 auto 26px;
        font-size: 26px;
        font-weight: bold;
        color: #4d4d4d;
    }
    .case-editor h5 {
        width: 100%;
        margin: 0 auto 26px;
        font-size: 24px;
        font-weight: bold;
        color: #7f7f92;
        border-bottom: 1px solid #7f7f92;
    }
}
@media (max-width: 599px) {
    .case-editor h4 {
        width: 100%;
        margin: 0 auto 16px;
        font-size: 4.8vw;
        font-weight: bold;
        color: #4d4d4d;
    }
    .case-editor h5{
        width: 100%;
        margin: 0 auto 16px;
        font-size: 4.8vw;
        font-weight: bold;
        color: #7f7f92;
        border-bottom: 1px solid #7f7f92;
    }
}

.case-editor table{
    width:100%;
    text-align: left;
    font-size:15px;
    border: 1px solid #e7e7e7;
}
.case-editor table tr{
    width:100%;
    border-bottom: 1px solid #e7e7e7;
}
.case-editor table tr:last-of-type{border-bottom:none;}
.case-editor table th{
    font-weight: bold;
    line-height: 60px;
    background: #dd122b;
    color: #fff;
    padding-left:20px;
}
.case-editor table td{
    line-height: 60px;
    padding-left:20px;
}
.case-editor table td:first-of-type{
    font-weight: bold;
    background: #f2f2f2;
    border-right: 1px solid #e7e7e7;
}
.case-editor table td:first-of-type span{
    display: inline-block;
    vertical-align: middle;
    width:25px;
    margin-right:5px;
}
@media (max-width: 599px) {
    .case-editor table th{
        display: none;
    }  
    .case-editor table td{
        display:block; 
        line-height: 30px;
        padding:10px;
        width: auto!important;
        height: auto!important;
    }
}