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


/* --- 見出しデザイン --- */
h2.wp-block-heading, 
.p-entry__content h2 {
    background: none !important;
    border: none !important;
    border-left: 9px solid #43577a !important;
    color: #000000 !important;
    padding: 16px 10px !important;
    margin: 60px 0 40px !important;
}

h3.wp-block-heading, 
.p-entry__content h3 {
    background: none !important;
    border: none !important;
    border-left: 9px solid #eb9c0a !important;
    color: #000000 !important;
    padding: 8px 8px !important;
    margin: 60px 0 40px !important;
}

h4.wp-block-heading, 
.p-entry__content h4 {
    display: flex !important;
    align-items: flex-start !important;
    background: none !important;
    border: none !important;
    padding: 8px 5px !important;
    font-size: 1.2em !important;
    margin: 40px 0 40px !important;
    color: #000000 !important;
}

h4.wp-block-heading::before, 
.p-entry__content h4::before {
    content: "◆" !important;
    padding-right: 10px !important;
    color: #f19b42 !important;
    flex-shrink: 0 !important;
}


/* サイドバー見出し右ボーダー */
.c-widget__title.-side {
    padding: .5em .75em;
    border-radius: var(--swl-radius--2, 0px);
    background: var(--color_main);
    color: #fff;
    border-left: 8px solid #c77611;
}


/* トップサイド：データベース関連 */
#sidebar #text-10 {
    margin-bottom: 10px;
}

#sidebar #text-10 ul {
    list-style-type: none !important;
    display: inline-block; /* ご指定の通り */
    padding: 10px 20px;
    margin: 0;
}

#sidebar #text-10 li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-weight: 700;
    line-height: 1.6;
}

#sidebar #text-10 li a {
    text-decoration: none;
    color: #122e4b;
    font-size: 15px;
}

#sidebar #text-10 li a:hover {
    color: #c3750c !important;
    text-decoration: underline;
}
/* DB関連サムネボーダー */
#text-10 img.aligncenter {
    border: 1px solid #bbb;
}





/* トップサイド：ツール関連 */	
#sidebar #text-21 {
    margin-bottom: 10px;
}

/* 2. リストの余白とスタイル */
#sidebar #text-21 ul {
    list-style-type: none !important; /* ポッチを確実に消す */
    display: block;
    padding: 0 20px 10px;
    margin: 0; /* SWELLのデフォルトマージンをリセット */
}

/* 3. 各項目の境界線と太さ */
#sidebar #text-21 li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-weight: 700;
    line-height: 1.6;
}

/* 4. リンクの色とサイズ */
#sidebar #text-21 li a {
    text-decoration: none;
    color: #122e4b;
    font-size: 15px;
    display: block; /* 1行全体をクリックしやすく */
}

/* 5. ホバー時の色と下線 */
#sidebar #text-21 li a:hover {
    color: #c3750c !important;
    text-decoration: underline;
}


/* トップサイド：その他 */	
#sidebar #text-19 {
    margin-bottom: 10px;
}

/* 2. リストの余白とスタイル */
#sidebar #text-19 ul {
    list-style-type: none !important; /* ポッチを確実に消す */
    display: block;
    padding: 0 20px 10px;
    margin: 0; /* SWELLのデフォルトマージンをリセット */
}

/* 3. 各項目の境界線と太さ */
#sidebar #text-19 li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-weight: 700;
    line-height: 1.6;
}

/* 4. リンクの色とサイズ */
#sidebar #text-19 li a {
    text-decoration: none;
    color: #122e4b;
    font-size: 15px;
    display: block; /* 1行全体をクリックしやすく */
}

/* 5. ホバー時の色と下線 */
#sidebar #text-19 li a:hover {
    color: #c3750c !important;
    text-decoration: underline;
}


/* 1. カテゴリーウィジェットの枠線と余白 */
#sidebar #categories-3 ul {
     list-style-type: none !important;
    display: block;
    padding: 0 20px 10px;
    margin: 0;
}


#sidebar #categories-3 li {
    border-bottom: 1px solid #ddd !important;
    padding: 0 !important; /* li側の余白をリセット */
}

/* 2. リンク部分：アイコン用の余白を確保して文字を右に寄せる */
#sidebar #categories-3 li a {
    display: block !important;
    padding: 10px 0 10px 24px !important; /* 左側に24px空けてアイコンとの重なりを回避 */
    text-decoration: none !important;
    color: #122e4b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. ホバー設定 */
#sidebar #categories-3 li a:hover {
    background: transparent !important;
    color: #c3750c !important;
    text-decoration: underline !important;
}














/* =================================================
  SIDEBAR: プロフィールセット
================================================= */

/* プロフィール全体の枠 */
.sidemytext {
    display: block;
    border: 1px solid #ddd;
    padding: 30px;
    margin: 0;
    color: #504e53;
}

/* 名前の強調 */
.myname {
    font-size: 24px;
    font-weight: bold;
    color: #43577a;
    text-align: center;
    margin-bottom: 20px;
}

.myname::after {
    content: "~Welcome to my website~\A Bienvenue sur mon site web !";
    display: block;
    font-size: 12px;
    color: #43577a;
    margin-top: 5px;
    font-weight: normal;
    text-align: center;
    white-space: pre-wrap;
}

/* サブパート（枠線ありの紹介文） */
.subpart {
    line-height: 1.8;
    font-size: 14px;
    color: #546d4a;
    padding: 25px;
    border: 1px solid #ddd;
}

/* 見出し部分（!importantを解除しセレクタを強化） */
.sidemytext .mainparttitle {
    color: #333;
    font-size: 16px;
    border-left: 4px solid #43577a;
    padding-left: 12px;
    margin: 25px 0 15px;
    border-bottom: none;
    background: none;
    font-weight: bold;
}

/* メインパートの本文 */
.mainpart {
    line-height: 1.5;
    font-size: 14px;
    color: #49444d;
}

/* pタグの共通微調整（重複を統合） */
.subpart p, 
.mainpart p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.9;
}

.subpart p:last-child {
    margin-bottom: 0;
}

/* SNSアイコンユニット */
.sns-icons {
    text-align: center;
    margin: 15px 0 10px;
}

.sns-icons a {
    display: inline-block;
    margin: 0 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sns-icons a:hover {
    transform: scale(1.2);
}

.sns-icons svg {
    vertical-align: middle;
    transition: fill 0.3s ease;
}

.sns-icons a:hover svg {
    fill: #f19b42; /* ホバー時にオレンジ */
}

/*  フッターリンクカラー  */
footer#footer a:hover {
    color: #B87F51;
}
/*  フッターリンクカラー  */




/* フッターリンク設定  */
.c-widget__title.-footer {
    margin-bottom: 15px;
}
#text-24 li, #text-26 li, #custom_html-5 li, #custom_html-6 li {
    padding-left: 15px;
}

/* サイドバーの横幅　 */
@media (min-width: 960px) {
    /* 1. コンテナのパディングを強制リセットして1280pxをフルに使えるようにする */
    .l-container {
        max-width: 1280px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. 親要素で「折り返し禁止」を命令 */
    .l-mainWrapper {
        display: flex !important;
        flex-wrap: nowrap !important; /* ← これで絶対に下に落としません */
        justify-content: space-between !important;
        column-gap: 20px !important;
    }

    /* 3. メインエリア 838px */
    .l-mainContent {
        width: 838px !important;
        min-width: 838px !important;
        flex-shrink: 0 !important; /* ← 圧縮も禁止 */
        padding: 20px 21px !important;
        box-sizing: border-box !important;
    }

    /* 4. サイドバー 422px */
    .l-sidebar {
        width: 422px !important;
        min-width: 422px !important;
        flex-shrink: 0 !important; /* ← 圧縮も禁止 */
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

