@charset "UTF-8";

/* ========================
　ページレイアウト 共通
======================== */
.main_page{
    overflow: clip;
    position: relative;
}

.page_header{
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-image: url(../img/back/tit_back.png);
    background-repeat: no-repeat;
    background-position: center 60%;
    background-size: cover;
    position: relative;
}

.page_header::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgb(8 24 71 / 50%);
    mix-blend-mode: normal;
    position: absolute;
    top: 0;
    left: 0;
}

.page_tit{
    margin: 0;
    width: 100%;
    font-weight: 500;
    color: var(--white);
    font-size: 2.25em;
    text-align: center;
    letter-spacing: 2px;
    z-index: 1;
}

.page_tit span{
    padding: 2rem 1rem;
    display: inline-block;
    color: var(--white);
}

.page_left .page_tit{
    margin-top: 0rem;
    margin-bottom: 1rem;
}

.page_content{
    margin-top: 1.5rem;
    width: 100%;
    background-color: var(--white);
}

@media screen and (min-width: 0px) {
    .page_header{
    }
    
    .page_main__area{
        width: 100%;
        padding: 1.5rem 1.5rem 3rem 1.5rem;
    }

}

@media screen and (min-width: 1025px) {
    .page_header{

    }

    .main_page.inner{
        margin-right: auto;
    }
}

@media screen and (min-width: 1440px) {
    .main_page.inner{
        max-width: 1500px;
        width: 100%;
    }
}

/* ========================
　日付・カテゴリー 共通
======================== */
.single_header .single_tit{
    width: 100%;
    font-size: 2rem;
    letter-spacing: 2px;
}

.single_header{
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: solid 3px var(--green);
}

.single_cat__area{
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================
　サイドバー有
======================== */
.page_layout,
.archive_layout{
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
}

/* サイドバー共通 */
.sidebar{
    padding: 3rem 1.5rem;
    width: 100%;
    background-color: var(--black);
    position: relative;
    box-sizing: border-box;
}

.sidebar_con{
    padding-bottom: 1.5rem;
    width: 100%;
}

.sidebar_con h2{
    margin: 0;
    padding: 1rem 0.5rem;
    border-bottom: solid 2px var(--green);
    font-size: 1.25em;
    font-weight: 600;
    color: var(--white);
}

.sidebar ul li{
	border-bottom: solid 1px var(--border);
}

.sidebar ul li a{
	padding: 1rem 0.5rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.25em;
    color: var(--white);
}

.sidebar ul li a:hover{
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.sidebar ul li:last-child{
  border-bottom: unset;
}

@media screen and (min-width: 0px) {
    .page_layout{
        flex-direction: column-reverse
    }

    .page_left{
        width: 100%;
    }

    .page_main__area {
        width: 100%;
    }

}

@media screen and (min-width: 768px) {
    .page_layout,
    .archive_layout{
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .page_layout{
        flex-direction: unset;
    }
    
    .sidebar{
        width: 250px;
        flex-shrink: 0;
    }

    .page_main__area {
        flex-grow: 1;
        width: auto;
    }

    .sidebar_con{
        position: sticky;
        top: calc(70px + 1rem);
    }

}

@media screen and (min-width: 1024px) {
    .page_layout,
    .archive_layout{
        gap: 2rem;
    }

    .page_layout .sidebar{
        display: inline;
    }

	.sidebar{
        width: 300px; 
	}

    .sidebar::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: -100vw;
        background-color: var(--black);
        z-index: -1;
    }

    .page_main__area {
        flex-grow: 1;
        width: auto;
    }

    .page_left {
        width: 100%;
    }
}

.page_layout .sidebar{
  border-right: solid 1px var(--gray)
}

.tree_list .page_item{
    position: relative;
}

.sidebar .sidebar_con .tree_list > li:first-child{
    border-bottom: 2px;
    border-style: solid;
    border-color: var(--green);
}

.sidebar .sidebar_con .tree_list > li:first-child a{
    font-size: 1.5em;
    color: var(--green);
}

.sidebar ul.tree_list .current_page_item a{
    padding-left: 2rem;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar ul.tree_list .current_page_item a::before{
    content: '';
    width: 1.2rem;
    height: 2px;
    background-color: var(--green);
    position: absolute;
    left: 3px;
}

/* 子ページを表示 */
.page_child__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.editor + .page_child__list{
    margin-top: 3rem;
    border-top: solid 1px var(--border);
}

.page_child__item{
    width: 100%;
    display: flex;
    border-top: solid 1px var(--border);
}

.page_child__item:first-child{
    border-top: unset;
}

.page_child__item a{
    padding: 2rem 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15em;
    position: relative;
    transition: .3s;
}

.page_tit + .page_child__list .page_child__item:first-child{
    border-top: unset;
}

.page_child__item a:hover{
    background-color: var(--blue2);
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* ========================
　互助会　ページレイアウト
======================== */
.gozyokai_page__tit{
    margin-bottom: 2rem;
    padding: 2rem 0rem 0rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 2em;
    font-weight: bold;
    position: relative;
}

.gozyokai_page__tit::before {
    content: '';
    width: 2.5rem;
    height: 4px;
    background-color: var(--green);
    position: absolute;
    left: 3px;
}

.gozyokai_more__bt {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.gozyokai_more__bt .more_bt:hover {
    border-color: var(--green);
    background-color: var(--green);
    color: var(--black);
}

/* ================================
　インタビュー　ページレイアウト
================================= */
.interview_single .single_header{
    padding: 1.5rem;
}

.interview_single .single_header h1{
    font-weight: 600;
}

.interview_single .editor h2 {
    padding: 1rem;
    gap: 1.5rem;
    border-bottom: solid 2px var(--green);
}

.interview_single .editor h2::before{
    content: 'Q';
    padding: 0.5rem;
    min-width: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    left: 0;
    bottom: auto;
}

@media screen and (min-width: 0px) {
    .interview_single .editor h2,
    .interview_single .editor h2::before {
        font-size: 1.25em
    }
}

@media screen and (min-width: 768px) {
    .interview_single .editor h2 {
        font-size: 1.75em
    }

    .interview_single .editor h2::before {
        font-size: 1em;
    }
}