/* CSS Document */

.flex-box {
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.flex-box .case-box {
    box-sizing: border-box;
    padding: 0 10px;
    width: 25%;
    margin-bottom: 24px;
}

.flex-box .case-box img {
    width: 100%;
    vertical-align: bottom;
}

#contents .case-box .case-name {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

#contents-inner .case-title {
    margin: 0 0 16px;
    font-size: 20px;
}

#contents-inner .case-title::before {
    content: "■";
    padding-left: 3px;
    margin-right: 9px;
    font-size: 18px;
    line-height: 28px;
    color: #DE8262;
}

#contents-inner .case-img {
    margin-bottom: 15px;
}

#contents-inner .case-img img {
    width: 100%;
    vertical-align: bottom;
}

.case-table-area .case-table {
    width: 100%;
}


.case-table-area .case-table th,
.case-table-area .case-table td {
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 21px;
}

.case-table-area .case-table th {
    background: #eee;
    width: 130px;
}

.case-table-area .case-table td {
    text-align: left;
    vertical-align: middle;
}

.page-btn {
    display: inline-block;
    background-color: #DE8262;
    padding: 30px;
    margin: 30px auto 0;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.page-btn:link,.page-btn:visited {
    color: #fff;
}

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

@media screen and (max-width:991px) {
    .flex-box .case-box {
        width: 33.3333%;
    }
}

@media screen and (max-width:760px) {
    .flex-box .case-box {
        width: 50%;
    }
    .case-table-area .case-table th,
    .case-table-area .case-table td {
        display: block;
        width: auto;
    }
    
    .case-table-area .case-table th {
        border-top: none;
        border-bottom: none;
    }
    
    .case-table-area .case-table tr:first-of-type th:first-of-type {
        border-top:  1px solid #ccc;
    }
    
    .bread-list {
        padding-top: 15px;
    }
    
    #container .case-sub {
        padding: 0 15px;
    }
    
    #container .case-sub #contents-inner {
        margin-top: 50px;
    }
}

@media screen and (max-width:575px) {
    .flex-box .case-box {
        width: 100%;
    }
}

.bread-list {
    display: flex;
    padding-bottom: 30px;
}

.bread-list li {
    list-style: none;
}

.bread-list li::after {
    content: '＞';
    padding: 0 5px;
}

.bread-list li:last-child::after {
    content: '';
}

.bread-list li a {
    display: inline-block;
    text-decoration: none;
    
}

.bread-list li a:link,.bread-list li a:visited {
    color: #333;
}

.same-size {
    position: relative;
    overflow: hidden;
    padding-top: 80%; /* 比率 */
}

.same-size img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
