@charset "utf-8";

body:has(.SingleCase),
body:has(.ArchiveCase) {
    background-image: linear-gradient(180deg, #f5f5f5 23%, #fff 100%);
}

img {
    width: 100%;
    object-fit: cover;
}

/* archive */
.ArchiveCase .wrap {
    max-width: 1120px;
    padding-inline: 20px;
    margin: 0 auto;
}

.ArchiveCase .desc {
    text-align: center;
}
.ArchiveCase .desc h2 {
    font-size: 96px;
    font-weight: 900;
    margin-bottom: 5px;
}
.ArchiveCase .desc h2 span {
    color: #1759A9;
}
.ArchiveCase .desc .comment p {
    font-size: 15px;
    font-weight: bold;
}
.ArchiveCase .desc .comment p:nth-child(1) {
    margin-bottom: 30px;
}
.ArchiveCase .desc .comment p:nth-child(2) {
    margin-bottom: 45px;
}

.ArchiveCase .case .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 50px 35px;
}

.ArchiveCase .case section {
    background-color: #fff;
    overflow: hidden;
    border-radius: 14px; 
}
.ArchiveCase .case section .thumbnail {
    aspect-ratio: 325 / 200;
    overflow: hidden;
}
.ArchiveCase .case section .thumbnail img {
    aspect-ratio: 325 / 200;
    transition: .3s ease;
}
.ArchiveCase .case section .text-group {
    padding: 18px 12px;
}
.ArchiveCase .case section .text-group .category-tag2 {
    margin-bottom: 10px;
}
.ArchiveCase .case section .text-group .company {
    font-size: 14px;
    margin-bottom: 10px;
}
.ArchiveCase .case section .text-group .title {
    font-weight: bold;
}

.ArchiveCase .case section:hover .thumbnail img {
    transform: scale(1.1);
}

/* 
*
* single
*
*/

.SingleCase .wrap {
    max-width: 1240px;
    padding-inline: 20px;
    margin: 0 auto;
}

.SingleCase article {
    margin-bottom: 75px;
}

/* entry-header */
.SingleCase .entry-header {
    margin-bottom: 30px;
    padding-inline: 20px;
}
.SingleCase .entry-header .company-name {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 16px;
}
.SingleCase .entry-header .category-tag2 {
    margin-bottom: 6px;
}
.SingleCase .entry-header .title {
    font-size: 26px;
    font-weight: bold;
}

/* entry-body */
.SingleCase .entry-body section {
    margin-bottom: 106px;
}

.SingleCase .entry-body sectinon dl,
.SingleCase .entry-body section p {
    font-size: 17px;
}

.SingleCase .entry-body section h5 {
    font-size: 26px;
    font-weight: bold;
    color: #1759A9;
    margin-bottom: 25px;
}

.SingleCase article .entry-body {
    background-color: #fff;
    padding: 60px 20px 120px;
    border-radius: 20px;
}

.SingleCase .entry-body .container {
    max-width: 1025px;
    margin: 0 auto;
}

.SingleCase .entry-body dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.SingleCase .entry-body .company {
    display: flex;
    color: #1759A9;
    border: 3px solid #1759A9;
    border-radius: 12px;
    overflow: hidden;
}
.SingleCase .entry-body .company > * {
    width: 50%;
}
.SingleCase .entry-body .company .info {
    padding: 3em;
    align-self: flex-start;
}
.SingleCase .entry-body .company .info table {
    width: 100%;
}
.SingleCase .entry-body .company .info table th,
.SingleCase .entry-body .company .info table td {
    padding-bottom: 12px;
}
.SingleCase .entry-body .company .info table th {
    width: 25%;
    text-align: left;
    font-weight: bold;
}
.SingleCase .entry-body .company .info table td {
    width: 75%;
}
.SingleCase .entry-body .company .info table td a {
    text-decoration: underline;
}
.SingleCase .entry-body .company .info table td a:hover {
    text-decoration: none;
    opacity: 0.7;
}
.SingleCase .entry-body .company .image {
    aspect-ratio: 253 / 158;
    overflow: hidden;
}
.SingleCase .entry-body .company .image img {
    aspect-ratio: 253 / 158;
}

.SingleCase .entry-body .mainImage {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-block: 102px;
}

.SingleCase .entry-body .introduction .change dl {
    row-gap: 48px;
}
.SingleCase .entry-body .introduction .change dl dt {
    width: 28%;
    font-weight: bold;
}
.SingleCase .entry-body .introduction .change dl dd {
    width: 72%;
}

@media screen and (max-width: 768px) {
    .SingleCase .entry-body .company {
        flex-direction: column-reverse;
    }
    .SingleCase .entry-body .company > * {
        width: 100%;
    }
    .SingleCase .entry-body .company .info {
        align-self: stretch;
    }
}
@media screen and (max-width: 600px) {
    .SingleCase .entry-body .company .info {
        padding: 1.5em;
    }
}
@media screen and (max-width: 480px) {
    .SingleCase .entry-header .company-name {
        font-size: 16px;
    }
    .SingleCase .entry-header .title,
    .SingleCase .entry-body section h5 {
        font-size: 20px;
    }
    .SingleCase .entry-body .company .info table th,
    .SingleCase .entry-body .company .info table td {
        display: block;
        width: 100%;
    }
    .SingleCase .entry-body .company .info table th {
        padding-bottom: 4px;
    }
    .SingleCase .entry-body sectinon dl, .SingleCase .entry-body section p {
        font-size: 15px;
    }
}
