@charset "UTF-8";

/*
Theme Name: daiichi-law medical blog
Author: Deck
Description: Original theme based on "Outline" by Anders Noren
Version: 1.0
*/


/* -------------------------------------
    Common Styles
------------------------------------- */
/* figure */
.figure {
    aspect-ratio: 1.672 / 1;
    background-color: #f4f8fa;
    border-radius: 10px;
    display: grid;
    place-content: center;
    place-items: center;
    overflow: hidden;
}

.figure img {
    height: 100%;
    object-fit: cover;
}

.figure.no-image img {
    mix-blend-mode: multiply;
    width: 90%
}

.figure:not(.no-image) {
    display: block;
}

.figure:not(.no-image) img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Pickup */
.splide__track {
    padding-inline: min(10.4166vw, 150px) 40px !important;
}

.pick-up_item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Category label */
.cat-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block-end: 20px;
}

.cat-label {
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 20px;
    display: inline-flex;
    padding: 2px 12px;
    white-space: nowrap;
}

.cat-label::before {
    --sample-color: 96 2 238;
    content: "";
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle,
            rgb(var(--sample-color)),
            rgb(var(--sample-color) / 0%));
    border-radius: 50%;
    display: inline-block;
    margin-inline-end: 5px;
    filter: blur(1px);
    height: 8px;
    width: 8px;
}

/* OutLine */
.p-blog section {
    padding-block-start: 150px;
}

/* Splide */
.pick-up .splide__slide {
    padding-inline: 20px;
    padding-block-end: 20px;
}

/* Tag */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tag-item>a,
.tag-item>.tag-text {
    background: #fff;
    border: solid 1px #a6c3d8;
    border-radius: 5px;
    padding: 8px 10px;
}

.tag-item>a::before,
.tag-item>.tag-text::before {
    content: "#";
    margin-inline-end: 2px;
}

.pick-up_item .tags,
.ranking_item .tags {
    gap: 10px;
}

.pick-up_item .tag-item,
.ranking_item .tag-item {
    font-size: 14px;
}

/* Search */
.bg-light-blue {
    background: linear-gradient(65.76deg, rgba(1, 138, 201, 0.05) 15.52%, rgba(0, 83, 137, 0.05) 84.48%);
    margin-block-start: 150px;
    padding-block-end: 150px;
}

.search-form {
    background-color: #fff;
    border: solid 1px #eee;
    border-radius: 40px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 15px 120px 15px 30px;
    position: relative;
}

.search-area .search-form {
    max-width: 500px;
}

.search-form-input {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    resize: none;
    appearance: none;
    font-size: 16px;
    letter-spacing: 0.05em;
    width: 100%;
    height: 100%;
}

.search-form-btn {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background-color: #018AC9;
    border-radius: 40px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    letter-spacing: 0.05em;
    line-height: 44px;
    text-align: center;
    transition: all 0.3s;
    top: 8px;
    right: 8px;
    width: 100px;
}

.search-form-btn:hover {
    background-color: #006699;
}

/* Ranking */
.ranking_list>li {
    position: relative;
}

.ranking_list>li::before {
    border-radius: 10px 0 10px 0;
    color: #000;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: bold;
    display: grid;
    place-items: center;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 60px;
    width: 60px;
}

.ranking_list>li:first-child::before {
    background-color: #FFAE42;
    background-image: linear-gradient(315deg, #FFAE42 0%, #FFFF31 74%);
    content: "1";
}

.ranking_list>li:nth-child(2)::before {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 74%);
    content: "2";
}

.ranking_list>li:nth-child(3)::before {
    background-color: #772f1a;
    background-image: linear-gradient(315deg, #772f1a 0%, #f2a65a 74%);
    content: "3";
}


/* List - card pattern */
.card_list {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.card_cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* List - media pattern */
.media_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.media_list .media_cont {
    align-items: flex-start;
    display: flex;
    gap: 20px;
}

@media (min-width: 768px) {
    .pick-up .splide__slide {
        width: calc(50% - 40px) !important;
    }

    .media_cont .figure {
        flex-basis: calc(40% - 10px);
    }

    .media_cont .details {
        flex-basis: calc(60% - 10px);
    }
}

@media (max-width: 767px) {
    .search-form-btn {
        width: 80px;
    }

    .card_list {
        grid-template-columns: repeat(1, 1fr);
    }

    .media_list .media_cont {
        flex-direction: column;
    }

    .figure img {
        height: auto;
    }
}

/* -------------------------------------
    Single Pages
------------------------------------- */
.p-blog__body {
    margin-inline: auto;
    max-width: 1280px;
}

.p-blog__body .eyecatch.figure {
    width: fit-content;
}

.p-blog__article {
    flex-basis: calc(100% - 340px);
}

.p-blog__article .entry {
    margin-block: 40px 100px;
}

.p-blog__article .entry .entry-contents {
    margin-block-end: 40px;
}

.p-blog__article .entry h3 {
    color: #018AC9;
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 1em;
}

.p-blog__article .entry h4 {
    color: #018AC9;
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 1em;
}

.p-blog__article .entry ul {
    margin-bottom: 2em;
}

.p-blog__article .entry ul > li {
    margin-bottom: 5px;
    padding-left: 1.3em;
    position: relative;
}

.p-blog__article .entry ul > li::before {
    content: "⚫︎";
    color: #018AC9;
    margin-right: 5px;
    position: absolute;
    left: 0;
}

.p-blog__article .entry ol {
    margin-bottom: 2em;
    counter-reset: number;
    list-style-type: none !important;
}

.p-blog__article .entry ol > li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 30px;
}

.p-blog__article .entry ol > li::before {
    background: linear-gradient(65.76deg, #018AC9 15.52%, #005389 84.48%);
    counter-increment: number;
    content: counter(number);
    display: inline-block;
    color: #fff;
    left: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: absolute;
    text-align: center;
    top: 5px;
    font-size: 12px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
}

.p-blog__head .post-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    margin-block-end: 2em;
}

.p-blog__head .post-meta .cat-group {
    margin-block-end: 0;
}

.p-blog__head .post-meta time {
    color: #666;
    font-family: "Poppins", sans-serif;
    margin-inline-start: auto;
}

.p-blog__head .post-meta .tag-group {
    font-size: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p-blog__head .headline02 {
    margin-block-end: 20px;
}

.p-blog__body .p-blog__side .media_list {
    gap: 20px;
}

.p-blog__body .p-blog__side .ranking_list>li::before {
    font-size: 14px;
    height: 30px;
    width: 30px;
}

.p-blog__body .p-blog__side .headline04 {
    font-size: 16px;
}

.p-blog__body .p-blog__side .figure {
    flex-basis: 50%;
}

.p-blog__body .p-blog__side .cat-group .linkBtn02>a {
    padding: 8px 12px;
}

.p-blog__body .profile {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.p-blog__body .profile_figure {
    flex-basis: 150px;
}

.p-blog__body .profile_details {
    flex-basis: calc(100% - 150px - 40px);
}

.p-blog__body .profile .title {
    color: #004666;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.p-blog__body .profile .title span {
    color: #018AC9;
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12px;
}

@media (min-width: 768px) {
    .p-blog__body {
        display: flex;
        gap: 40px;
    }

    .p-blog__body .p-blog__side {
        flex-basis: 300px;
    }

    .p-blog__body .p-blog__side .ranking-area {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    #contents.p-blog {
        padding-bottom: 4em;
    }

    #contents.p-blog.single {
        padding: 4em 5% 2em;
    }

    .p-blog section {
        padding-block-start: 60px;
    }

    .p-blog__body .p-blog__side .media_list .media_cont {
        flex-direction: row;
    }

    .p-blog__body .profile_figure,
    .p-blog__body .profile_details {
        flex-basis: 100%;
        text-align: center;
    }
}