@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
*/
/* ===== 目次下の著者情報 カスタムデザイン Ver.5 (上部余白調整版) ===== */

/* --- 全体のレイアウトと区切り線 --- */
.post_content .l-articleBottom__section.-author {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 3em 0;
    border-top: 1px solid #eee;
}

/* --- 「この記事を書いた人」タイトルのデザイン --- */
.post_content .l-articleBottom__title.c-secTitle {
    background: none !important;
    color: var(--color_text) !important;
    padding: 0 0 0.6em 0 !important;
    border: none !important;
    border-bottom: 2px solid var(--color_main) !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1.5em;
}

/* 元テーマの下線用デザインを非表示に */
.post_content .l-articleBottom__title.c-secTitle::before,
.post_content .l-articleBottom__title.c-secTitle::after {
    display: none;
}

/* --- プロフィール写真（左側） --- */
.post_content .p-authorBox__l {
    text-align: center;
}
.post_content .p-authorBox__l img.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.75em;
}

/* --- 著者名と役職のデザイン調整 --- */
.post_content .p-authorBox__name {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 0.6em;
}
.post_content .p-authorBox__position {
    display: inline-block;
    font-size: 0.75em;
    font-weight: bold;
    color: #fff;
    background-color: var(--color_main);
    padding: 0.4em 0.9em;
    border-radius: 4px;
    line-height: 1.5;
}

/* --- プロフィール文章とSNS（右側） --- */
.post_content .p-authorBox__desc {
    font-size: 0.95em;
    margin-bottom: 1.5em;
}

/* --- SNSアイコンのデザイン --- */
.post_content .p-authorBox__iconList {
    padding: 0 !important;
    list-style: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
.post_content .p-authorBox__iconList .c-iconList__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}
.post_content .p-authorBox__iconList .c-iconList__icon {
    color: #555 !important;
    font-size: 18px;
}

/* --- アイコンにマウスを乗せた時のデザイン --- */
.post_content .p-authorBox__iconList .c-iconList__link:hover {
    background-color: var(--color_main);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.post_content .p-authorBox__iconList .c-iconList__link:hover .c-iconList__icon {
    color: #fff !important;
}
