@charset "UTF-8";

/* ========================
　ページレイアウト 共通
======================== */
.main_page{
    margin-top: 1rem;
}

.page_header{
    margin-bottom: 0;
    padding-top: 3rem;
    width: 100%;
    height: calc(300px + 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--blue);
    background-image: url(../img/back/tit_back.jpg);
    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 / 45%);
    mix-blend-mode: normal;
    position: absolute;
    top: 0;
    left: 0;
}

.page_tit{
    margin: 0;
    width: 100%;
    font-family: var(--mincho);
    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{
    width: 100%;
}

@media screen and (min-width: 0px) {
    .page_main__area{
        margin-bottom: 50px;
        padding: 0rem 1.5rem 3rem 1.5rem;
    }
}

@media screen and (min-width: 1025px) {
    .page_main__area{
        padding: 0rem 4.5rem 3rem 4.5rem;
    }

    .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: 2em;
    letter-spacing: 2px;
}

.single_header{
    margin-bottom: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: solid 2px var(--blue);
}

.single_cat__area{
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================
　サイドバー有
======================== */
.page_layout,
.archive_layout{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.page_layout{
    margin-top: 1rem;
}

.archive_layout{
    margin-top: 3rem;
}

/* サイドバー共通 */
.sidebar{
    width: 100%;
    padding-top: 1rem;
	display: flex;
    flex-wrap: wrap;
	align-content: flex-start;
    gap: 1.5rem;
}

.sidebar_con{
    width: 100%;
}

.sidebar_con h2{
        margin: 0;
    padding: 1rem 0.5rem;
    border-bottom: solid 2px var(--blue);
    font-size: 1.5em;
    font-weight: 600;
    font-family: var(--mincho);
    color: var(--blue);
}

.sidebar ul li{
	border-bottom: solid 1px var(--border);
}

.sidebar ul li a{
	padding: 1.25rem 0.75rem;
	display: flex;
	align-items: flex-start;
	transition: .3s;
}

.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) {
	.sidebar{
		margin-top: 2rem;
		width: 100%;
	}
}

@media screen and (min-width: 1024px) {
	.sidebar{
		margin-top: 0;
		padding-top: 0;
		width: calc(25% - 0.75rem);
	}
}

.page_layout .sidebar{
    padding-right: 1.5rem;
    border-right: solid 2px var(--gray)
}

.tree_list .page_item{
    position: relative;
}

.sidebar .sidebar_con .tree_list > li:first-child{
    border: solid 0px;
}

.sidebar .sidebar_con .tree_list > li:first-child a{
    background-color: var(--blue);
    font-size: 1.5em;
    font-family: var(--mincho);
    color: var(--white);
}

.sidebar ul.tree_list .current_page_item a{
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--blue2);
    color: var(--blue);
    text-decoration: underline 1px;
}

/* 子ページを表示 */
.page_child__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.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{
    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;
}

@media screen and (min-width: 0px) {
    .page_layout{
        flex-direction: column-reverse;
    }

    .page_layout .sidebar{
        display: none;
    }

    .page_left{
        width: 100%;
    }

    .page_child__item a{
        padding: 2rem 1.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .page_layout{
        flex-direction: unset;
    }

    .page_layout .sidebar{
      width: calc(25% - 0.75rem);
      display: inline;
    }

    .page_left{
      width: calc(75% - 0.75rem);
    }

    /* single サイドバー */
    .archive_layout .sidebar{
        padding-left: 1.5rem;
        border-left: solid 3px var(--gray);
    }
}

