@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
*/

/* FAQデザイン - 吹き出し風 */
.swell-block-faq {
    gap: 30px;
}

/* 質問(Q)のデザイン */
.swell-block-faq .faq_q {
    background: #eaf6fd; /* かなり薄い青 */
    padding: 15px 20px;
    border-radius: 30px; /* 丸みをつける */
    font-weight: 700;
    color: #0879ad; /* 濃い青文字 */
    position: relative;
    border: none;
    display: flex;
    align-items: center;
}

/* Qアイコン */
.swell-block-faq .faq_q::before {
    content: '?';
    display: inline-block;
    background: #0aa1e7;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    position: static; /* 絶対配置を解除 */
    transform: none;
    font-weight: bold;
}

/* 回答(A)のデザイン */
.swell-block-faq .faq_a {
    padding: 15px 20px;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #eaf6fd;
    border-radius: 10px;
    position: relative;
}

/* 吹き出しの三角（上） */
.swell-block-faq .faq_a::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #eaf6fd; /* 枠線と同じ色 */
}

/* Aアイコン（ここでは非表示にしてシンプルに） */
.swell-block-faq .faq_a::before {
    display: none; 
}

/* ====================================
   【決定版】著者プロフィールBOX
   ・デザイン調整
   ・アイコンの「・」を削除
   ==================================== */

/* --- 全体の枠組み --- */
.l-articleBottom__section.-author {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 40px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- タイトル帯 --- */
.l-articleBottom__section.-author .c-secTitle {
    background: var(--color_main);
    color: #fff;
    padding: 12px 15px;
    margin: 0;
    border: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
}

/* --- 中身のレイアウト --- */
.l-articleBottom__section.-author .p-authorBox {
    display: flex;
    padding: 25px; 
    gap: 25px;
    border: none !important;
    align-items: flex-start;
}

/* --- 左側（顔写真エリア） --- */
.l-articleBottom__section.-author .p-authorBox__l {
    flex: 0 0 100px;
    margin: 0 !important;
    text-align: center;
}

/* 顔写真の設定 */
.l-articleBottom__section.-author .p-authorBox__l img {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f6fb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin: 0 auto 10px;
}

/* 名前 */
.l-articleBottom__section.-author .p-authorBox__name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
    display: block;
}

/* 肩書き */
.l-articleBottom__section.-author .p-authorBox__position {
    font-size: 11px;
    color: #888;
    display: block;
    line-height: 1.4;
}

/* --- 右側（説明文エリア） --- */
.l-articleBottom__section.-author .p-authorBox__r {
    flex: 1;
}

.l-articleBottom__section.-author .p-authorBox__desc {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* --- ★SNSアイコンの修正（点を消す設定を追加） --- */

/* リスト全体の配置 */
.l-articleBottom__section.-author .p-authorBox__iconList {
    justify-content: flex-start;
    margin-top: 15px;
    gap: 12px;
    
    /* ↓ここが点を消すための重要設定 */
    list-style: none !important; 
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* リストアイテム（点の発生源）をリセット */
.l-articleBottom__section.-author .p-authorBox__iconList li,
.l-articleBottom__section.-author .c-iconList__item {
    list-style: none !important; /* 点を消す */
    background: none;
    padding: 0;
    margin: 0;
}

/* 念のため、疑似要素（自動でつく飾り）も消す */
.l-articleBottom__section.-author .p-authorBox__iconList li::before,
.l-articleBottom__section.-author .c-iconList__item::before {
    content: none !important;
    display: none !important;
}

/* --- アイコンボタンのデザイン --- */
.l-articleBottom__section.-author .c-iconList__item .c-iconList__link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2f4f5;
    color: #666;
    display: flex;           
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    line-height: 1;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none !important; /* 下線を消す */
}

/* ホバー時 */
.l-articleBottom__section.-author .c-iconList__item .c-iconList__link:hover {
    background: var(--color_main);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,100,200,0.2);
}

/* --- スマホ表示の調整 --- */
@media (max-width: 599px) {
    .l-articleBottom__section.-author .p-authorBox {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .l-articleBottom__section.-author .p-authorBox__l {
        width: 100%;
        border-bottom: 1px dashed #eee;
        padding-bottom: 15px;
        margin-bottom: 15px !important;
    }

    .l-articleBottom__section.-author .p-authorBox__iconList {
        justify-content: center;
    }
}

/* スマホ表示で監修者プロフィール画像を小さくする */
@media screen and (max-width: 600px) {
  /* 枠線（-border04）の中にあるメディア・文章ブロックの画像を対象 */
  .wp-block-group.-border04 .wp-block-media-text__media {
    max-width: 150px !important; /* 画像の最大幅（お好みで調整） */
    margin-left: auto !important; /* 中央寄せ（左） */
    margin-right: auto !important; /* 中央寄せ（右） */
    margin-bottom: 1.5em !important; /* 下のテキストとの余白 */
  }
}