/* =========================================================
   SETTAR AUTHOR BOX
   Arkhe author classes direct override
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.p-entry__author {
    margin-top: 72px !important;
    margin-bottom: 48px !important;
}


/* 「この記事を書いた人」見出し */
.p-entry__author .c-bottomSection__title {
    margin: 0 0 18px !important;

    padding: 0 !important;

    border: 0 !important;

    background: none !important;

    color: #07172f !important;

    font-size: 18px !important;

    font-weight: 800 !important;

    line-height: 1.4 !important;

    letter-spacing: -.02em !important;
}


/* =========================================================
   CARD
========================================================= */

.p-entry__author .p-authorBox {
    position: relative;

    display: grid !important;

    grid-template-columns:
        126px
        minmax(0, 1fr);

    align-items: center;

    gap: 32px;

    padding:
        34px
        36px !important;

    overflow: hidden;

    border:
        1px solid #dfe6ee !important;

    border-radius:
        22px !important;

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(49, 121, 200, .10),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7f9fc 100%
        ) !important;

    box-shadow:
        0 16px 38px
        rgba(7, 23, 47, .07);
}


/* 上部アクセントライン */
.p-entry__author .p-authorBox::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #3179c8,
            #6db4ff,
            transparent 72%
        );

    pointer-events: none;
}


/* =========================================================
   AVATAR
========================================================= */

.p-entry__author .p-authorBox__avatar {
    width: 126px !important;
    height: 126px !important;

    margin: 0 !important;

    overflow: hidden;

    border:
        4px solid #ffffff;

    border-radius:
        50%;

    background:
        #edf2f7;

    box-shadow:
        0 10px 28px
        rgba(7, 23, 47, .13);
}


/* figure内の画像 */
.p-entry__author .p-authorBox__avatar img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: cover !important;

    border-radius: 50% !important;
}


/* =========================================================
   BODY
========================================================= */

.p-entry__author .p-authorBox__body {
    min-width: 0;

    margin: 0 !important;

    padding: 0 !important;
}


/* 名前上の英字ラベル */
.p-entry__author .p-authorBox__body::before {
    content:
        "AUTHOR / EDITORIAL TEAM";

    display: block;

    margin-bottom:
        7px;

    color:
        #3179c8;

    font-size:
        10px;

    font-weight:
        800;

    line-height:
        1;

    letter-spacing:
        .16em;
}


/* 著者名 */
.p-entry__author .p-authorBox__name {
    display: block !important;

    margin:
        0
        0
        12px !important;

    color:
        #07172f !important;

    font-size:
        23px !important;

    font-weight:
        800 !important;

    line-height:
        1.3 !important;

    letter-spacing:
        -.025em !important;

    text-decoration:
        none !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.settar-author-description {
    max-width: 720px;

    margin:
        0 !important;

    color:
        #566477;

    font-size:
        13px;

    line-height:
        1.9;
}


/* =========================================================
   ARKHE ORIGINAL FOOTER
========================================================= */

/*
 * Arkhe標準の
 * ・http://settar.jp
 * ・記事一覧へ
 * を非表示
 */
.p-entry__author .settar-author-original-footer {
    display:
        none !important;
}


/* 念のため元footer自体も整形を無効化 */
.p-entry__author .p-authorBox__footer.settar-author-original-footer {
    display:
        none !important;
}


/* =========================================================
   ACTIONS
========================================================= */

.settar-author-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.settar-author-action {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        10px
        17px;

    border-radius:
        999px;

    font-size:
        12px;

    font-weight:
        800;

    line-height:
        1;

    text-decoration:
        none !important;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.settar-author-contact {
    border:
        1px solid #3179c8;

    background:
        #3179c8;

    color:
        #ffffff !important;

    box-shadow:
        0 8px 20px
        rgba(49, 121, 200, .18);
}


.settar-author-contact:hover {
    transform:
        translateY(-2px);

    background:
        #3d87d7;

    color:
        #ffffff !important;

    box-shadow:
        0 11px 25px
        rgba(49, 121, 200, .25);
}


/* =========================================================
   ARTICLES
========================================================= */

.settar-author-articles {
    border:
        1px solid #d8e1eb;

    background:
        #ffffff;

    color:
        #07172f !important;
}


.settar-author-articles:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(49, 121, 200, .35);

    color:
        #3179c8 !important;

    box-shadow:
        0 8px 20px
        rgba(7, 23, 47, .07);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .p-entry__author {
        margin-top:
            56px !important;

        margin-bottom:
            36px !important;
    }


    .p-entry__author .c-bottomSection__title {
        margin-bottom:
            15px !important;

        font-size:
            17px !important;
    }


    .p-entry__author .p-authorBox {
        display:
            block !important;

        padding:
            26px
            22px !important;

        border-radius:
            19px !important;
    }


    .p-entry__author .p-authorBox__avatar {
        width:
            96px !important;

        height:
            96px !important;

        margin-bottom:
            20px !important;
    }


    .p-entry__author .p-authorBox__body::before {
        font-size:
            9px;
    }


    .p-entry__author .p-authorBox__name {
        margin-bottom:
            11px !important;

        font-size:
            21px !important;
    }


    .settar-author-description {
        max-width:
            none;

        font-size:
            13px;

        line-height:
            1.85;
    }


    .settar-author-actions {
        display:
            grid;

        grid-template-columns:
            1fr
            1fr;

        gap:
            9px;

        margin-top:
            18px;
    }


    .settar-author-action {
        width:
            100%;

        padding:
            10px
            12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .p-entry__author .p-authorBox {
        padding:
            24px
            18px !important;
    }


    .settar-author-actions {
        grid-template-columns:
            1fr;
    }

}