@charset "UTF-8";

.column {
    padding: 4%;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    background: #FAFAFA; /* より白に近い、非常に薄いグレーに変更 */
    border: 1px solid #E5E5E5; /* 落ち着いた細い薄い枠線を追加 */
    box-sizing: border-box;
    border-radius: 8px; /* 角丸を少しすっきりした印象に調整 */
	    max-width: 1400px;
    margin: auto;
}

p.top_text {
    padding: 6px 0px 0px 15px;
    margin: 0;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    position: fixed !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.column h1 {
    color: #000;
    position: static !important;
    font-weight: bold;
    font-size: 28px;
    padding: 0;
    margin: 20px 0;
    line-height: 1.4;
}
.column h2 {
    background: #E97188;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    padding: 12px 16px;
    margin-top: 50px;
    margin-bottom: 20px;
} 
.column h3 {
    font-weight: bold;
    font-size: 18px;
    border-left: 4px solid #E97188;
    padding-left: 12px;
    margin-top: 35px;
    margin-bottom: 15px;
}
.column h4 {
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 15px;
}
.column ul,
.column ol,
.column table,
.column a {
    font-size: 16px;
}
.column p {
    font-size: 16px;
    margin-bottom: 1.5em;
}

.column ol {
    list-style: decimal;
    margin: 20px 0;
    background: #f7f7f7;
    padding: 20px 20px 20px 40px;
    border-radius: 4px;
}
.column ul {
    list-style: disc;
    margin: 20px 0;
    background: #f7f7f7;
    padding: 20px 20px 20px 40px;
    border-radius: 4px;
}
.column ol li,
.column ul li {
    margin-bottom: 8px;
}

/* テーブル周りの修正：崩れ防止とレスポンシブ対応 */
.column table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 1px #ccc;
    font-size: 14px;
}
.column th,
.column td {
    padding: 12px 10px;
    border: solid 1px #ccc;
    text-align: left;
    vertical-align: middle;
}
.column th {
    background: #f7f7f7;
    font-weight: bold;
    white-space: nowrap;
}

.breadcrumbs_inner {
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    z-index: 2; /* パンくずが埋もれないように手前に配置 */
}
.breadcrumbs_inner a {
    margin: 0 4px;
}
.column .eyeCatch_img {
    margin-bottom: 30px;
}
.column .eyeCatch_img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#table-of-content {
    background: #f7f7f7;
    padding: 20px 25px;
    border-radius: 4px;
    margin: 30px 0;
}
#table-of-content p {
    margin-bottom: 10px;
    font-weight: bold;
}
#table-of-content ol {
    padding: 0;
    list-style: none;
    margin: 0;
    background: none;
}
#table-of-content ol li {
    margin: 6px 0;
}
#table-of-content .contents3 {
    margin-left: 1rem;
}

.sp_header {
    display: none;
}
.pc_header {
    display: block;
}

div#footer {
    padding: 0px;
    border-top: 5px solid #FFFFFF;
    color: #ccc;
    height: 100px;
    overflow: hidden;
}

.yarpp_block {
    padding: 18px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}
.yarpp_block a {
    text-decoration: none;
    display: block;
}
.yarpp_block a:hover {
    opacity: .7;
}
.yarpp_block .yarpp_title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}
.yarpp_block .yarpp_content {
    display: flex;
    justify-content: space-between;
    gap: 2%;
}
.yarpp_block .yarpp_content .yarpp_thumbnail {
    width: 23%;
}
.yarpp_block .yarpp_content .yarpp_thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

#wrapper {
    background: #fff;
    width: 100%;
    margin: auto;
    padding: 0 2%;
    box-sizing: border-box;
    position: relative;
    min-height: 700px;
    z-index: 1; /* 重ね順の基準 */
}

/* 背景画像を設定している疑似要素を確実に最背面に配置する */
#wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../../common/images/common/bg_left.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 1000px;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1; /* マイナス値にして文字の下（後ろ）に強制配置 */
}

/* 一覧ページのコンテンツ部分が背景に隠れないようにする設定 */
.inside, 
.column_list, 
.subPAGE {
    position: relative;
    z-index: 2; /* 背景よりも手前に表示させる */
}

/* inside も念のため重なり順を調整 */
.inside {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .sp_header {
        display: block;
    }
    .pc_header {
        display: none;
    }
    div#main-box, .container, div#wrapper { 
        background: #fff;
        width: 100%;
    }
    .inside {
        padding: 10px 0;
    }

    div#footer {
        background: url(../../s/img/footer_bg.png) no-repeat center center !important;
        background-size: cover !important;
        border-top: none !important;
    }
    #spHeader {
        height: 73px !important;
    }

    .column h1 {
        font-size: 22px;
    }
    .column h2 {
        font-size: 18px;
        margin-top: 40px;
    } 
    .column h3 {
        font-size: 16px;
        margin-top: 30px;
    }
    
    .column a {
        color: #f27f02 !important;
        text-decoration: underline !important;
    }
    #spHeader #shleft img {
        max-height: none;
    }

    div#menuicon ul li {
        margin: 0 0 22px 27px !important;
        scale: 1.13;
    }
    
    /* スマホでのテーブル横スクロール対応 */
    .column table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .column th,
    .column td {
        font-size: 13px;
        padding: 10px 8px;
    }

    .yarpp_block .yarpp_content {
        display: block;
    }
    .yarpp_block .yarpp_content .yarpp_thumbnail {
        width: 100%;
        margin-bottom: 20px;
    }
    .yarpp_block a {
        color: #f27f02 !important;
    }
    .yarpp_block .yarpp_text {
        font-size: 15px;
    }
}



/* コラム一覧を4列（スマホは2列）にするグリッド設定 */
.column_list_wrap {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* PC: 4列 */
    gap: 20px !important;
    margin: 20px 0 !important;
}

/* 各記事カードのデザインとFlexbox化 */
.column_article {
    background: #fff !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.column_article_left img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 624 / 383 !important;
    object-fit: cover !important;
}

.column_article_right {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.column_article_date {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 6px !important;
}

.column_article_title a {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    text-decoration: none !important;
}
.column_article_title a:hover {
    color: #E97188 !important;
    text-decoration: underline !important;
}

/* 記事と記事の間の区切り線はグリッドでは不要なため非表示 */
hr.column_border {
    display: none !important;
}

/* スマホ表示（768px以下）：横2枠にする */
@media screen and (max-width: 768px) {
    .column_list_wrap {
        grid-template-columns: repeat(2, 1fr) !important; /* スマホ: 2列 */
        gap: 10px !important;
    }
    .column_article_title a {
        font-size: 12px !important;
    }
    .column_article_right {
        padding: 8px !important;
    }
}