@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================
   X（旧Twitter）プロフィールカード
   ショートコード [x_profile] 用
   ========================================================== */


/* ----------------------------------------------------------
   カード全体
   ---------------------------------------------------------- */
.x-profile-card {

    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    box-sizing: border-box;

    margin: 1.5em 0;
    padding: 20px 22px;

    background: #ffffff;
    border: 1px solid #cfd9de;
    border-radius: 14px;

    color: #0f1419 !important;
    text-decoration: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* ----------------------------------------------------------
   マウスをカードに乗せたとき
   ---------------------------------------------------------- */
.x-profile-card:hover {
    border-color: #aab8c2;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.10);

    transform: translateY(-1px);

    color: #0f1419 !important;
    text-decoration: none !important;
}


/* ----------------------------------------------------------
   プロフィール画像
   image="" を指定した場合だけPHP側で表示される
   ---------------------------------------------------------- */
.x-profile-card__image {
    flex: 0 0 auto;

    width: 64px;
    height: 64px;

    margin: 0 !important;

    border: 1px solid #eff3f4;
    border-radius: 50%;

    object-fit: cover;
}


/* ----------------------------------------------------------
   名前・ユーザー名・紹介文エリア
   ---------------------------------------------------------- */
.x-profile-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;
}


/* ----------------------------------------------------------
   表示名
   ---------------------------------------------------------- */
.x-profile-card__name {
    color: #0f1419;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   Xユーザー名（@xxxxx）
   ---------------------------------------------------------- */
.x-profile-card__user {
    margin-top: 1px;

    color: #536471;

    font-size: 14px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   紹介文
   ---------------------------------------------------------- */
.x-profile-card__bio {
    margin-top: 8px;

    color: #0f1419;

    font-size: 14px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   「Xで見る」ボタン
   ---------------------------------------------------------- */
.x-profile-card__button {
    flex: 0 0 auto;

    padding: 8px 16px;

    background: #0f1419;
    border-radius: 9999px;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* ----------------------------------------------------------
   「Xで見る」ボタン
   カードにマウスを乗せたとき
   ---------------------------------------------------------- */
.x-profile-card:hover .x-profile-card__button {
    background: #272c30;
}


/* ==========================================================
   スマートフォン表示
   ========================================================== */

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

    /* ------------------------------------------------------
       カード全体
       ------------------------------------------------------ */
    .x-profile-card {
        gap: 12px;

        padding: 17px 14px 15px;
    }


    /* ------------------------------------------------------
       プロフィール画像
       ------------------------------------------------------ */
    .x-profile-card__image {
        width: 52px;
        height: 52px;
    }


    /* ------------------------------------------------------
       表示名
       ------------------------------------------------------ */
    .x-profile-card__name {
        font-size: 15px;
    }


    /* ------------------------------------------------------
       Xユーザー名
       ------------------------------------------------------ */
    .x-profile-card__user {
        font-size: 13px;
    }


    /* ------------------------------------------------------
       紹介文
       ------------------------------------------------------ */
    .x-profile-card__bio {
        margin-top: 6px;

        font-size: 13px;
        line-height: 1.55;
    }


    /* ------------------------------------------------------
       「Xで見る」ボタン
       ------------------------------------------------------ */
    .x-profile-card__button {
        padding: 7px 10px;

        font-size: 11px;
    }
}