@charset "UTF-8";
:root {
    --color-secondary: #f2f2f2;
    --color-text-main: #545454;
    --color-text-sub: #999;
    --color-white: #fff;
}
h2 {
    font-size: 18px;
    font-weight: normal;
}
.c-flex {
    display: flex;
}
.c-flex.direction-vertical {
    flex-direction: column;
}
.u-gap1 {
    gap: 1rem;
}
.u-gap0-025 {
    gap: 0rem 0.25rem;
}
/*  */
.date {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}
.entry-title {
    margin: 0;
    line-height: 1.5;
    color: var(--color-text-main);
    font-size: 15px;
}
.entry-excerpt {
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
}
.Top .column {
    position: relative;
    margin: 0 7%;
    padding-bottom: 100px;
    margin-top: -20px;
    width: 80%;
}
.Top .column .SubTitle,
.Top .beforeafter .SubTitle {
    font-size: 14px;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
}
.Top .column .Readmore,
.Top .beforeafter .Readmore {
    position: absolute;
    right: 10%;
    bottom: 6%;
}
/*  */
.column_block {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
}
.column_block img {
    max-width: 130px;
    aspect-ratio: 1/1;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}
/*  */
.Top .beforeafter {
    margin: 0 7%;
    padding-top: 80px;
    position: relative;
    padding-bottom: 100px;
    width: 80%;
}
.beforeafter .card {
    display: flex;
    width: 460px;

    flex: none;
    background-color: var(--color-secondary);
    padding: 0.5em;
}
.beforeafter .card__item {
    width: 50%;
    overflow: hidden;
}
.beforeafter .card__item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.under {
    position: relative;
}

.under::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: #545454;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s;
}

li:hover .under::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

/**/
@media screen and (max-width: 767px) {
    .c-flexspreset {
        flex-direction: column;
    }

    .Top .column,
    .Top .beforeafter {
        margin: 0px auto;
        width: 90%;
    }

    .Top .beforeafter .Title {
        line-height: 1;
        margin-bottom: 1rem;
    }
    .before {
        display: block;
    }
    .after {
        display: block;
        margin-left: 1.5em;
    }

    .Top .column .Readmore,
    .Top .beforeafter .Readmore {
        right: 0;
    }

    .beforeafter .card {
        display: flex;
        width: 100%;
        flex: none;
    }
}
