@charset "utf-8";
/*
*----メインとサイド横並びPC----*/
.ly_myPost{
    display: flex;
    gap: 7%;
    margin-bottom: 100px;
}

/*
*----メインstyle----*/
.post-main{
    width: 846px;
}
.myPost-article{
    width: 100%;
}
.myPost-eyeCatch{
    width: 100%;
    max-height: 564px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}
.myPost-eyeCatch img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
/*.myPost-cat-dateWrap{
    background-color: var(--primary-color);
    border-radius: 0 0 25px 25px;
    padding: 15px 30px 13px;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    font-size: clamp(1.1rem, 1.17130307467vw, 1.6rem);
    margin-bottom: 6.25em;
}*/
.myPost-cat-dateWrap {
    border-top: solid 1px var(--point-color);
    padding: 15px 0 13px;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    font-size: clamp(1.1rem, 1.17130307467vw, 1.6rem);
    margin-bottom: 6.25em;
}
/*以下the_category();吐き出すhtmlに応じて適宜スタイル修正*/
.myPost-cat-dateWrap ul{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.myPost-cat-dateWrap ul>li>a{
    text-decoration: underline;
}
/*the_category();吐き出すhtmlに応じて適宜スタイル修正ここまで*/
@media(max-width: 820px){
    .myPost-cat-dateWrap{
        margin-bottom: 3.2em;
    }
    .myPost-eyeCatch{
        max-height: 316px;
    }
}

/*ここから投稿のエディターの雛形スタイル*/
.myPost-article-stylingArea h1{
   font-family: var(--main-font);
   font-weight: bold;
   font-size: clamp(3.2rem, 3.51390922401vw, 4.8rem);
   line-height: 1.5;
   margin-bottom: 2em;
}
.myPost-article-stylingArea  p{
    line-height: 2;
    margin-bottom: 3.125em;
    font-size: clamp(1.5rem, 1.82926829268vw, 1.6rem);
}
.myPost-article-stylingArea  img{
    max-width: 100%;
    border-radius: 30px;
    margin-bottom: clamp(25px, 3.0487804878vw,50px);
}
.myPost-article-stylingArea h2{
    font-size: clamp(2.8rem, 3.41463414634vw,3.2rem);
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 1.428em;
}
.myPost-article-stylingArea p + h2,
.myPost-article-stylingArea p + h3,
.myPost-article-stylingArea img + h2,
.myPost-article-stylingArea img + h3,
.myPost-article-stylingArea ul + h2,
.myPost-article-stylingArea ul + h3,
.myPost-article-stylingArea ol + h2,
.myPost-article-stylingArea ol + h3{
    margin-top: clamp(50px, 7.32064421669vw, 100px);
}
.myPost-article-stylingArea a{
    text-decoration: underline;
}
.myPost-article-stylingArea strong{
    font-weight: bold;
    background: linear-gradient(transparent 70%, var(--primary-color) 30%);
}
.myPost-article-stylingArea h3{
    font-size: clamp(1.8rem, 2.19512195122vw,2rem);
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 1.6em;
}
.myPost-article-stylingArea ul,
.myPost-article-stylingArea ol{
    font-size: clamp(1.5rem, 1.82926829268vw, 1.6rem);
    margin-bottom: 3.125em;
}
.myPost-article-stylingArea ul li,
.myPost-article-stylingArea ol li{
    display: flex;
    align-items: baseline;
}
.myPost-article-stylingArea ul li:not(:last-child),
.myPost-article-stylingArea ol li:not(:last-child){
    margin-bottom: 1em;
}
.myPost-article-stylingArea ul li::before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url(../images/common/list-style.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: .75em;
    flex-shrink: 0;
}
.myPost-article-stylingArea ol{
    counter-reset: number 0;
}
.myPost-article-stylingArea ol li::before{
    counter-increment: number 1;
    content: counter(number);
    color: #fff;
    font-size: 0.7em;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    background-image: url(../images/common/ol-list-style.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: .75em;
    flex-shrink: 0;
}
@media(max-width: 820px){
    .myPost-article-stylingArea h1,
    .myPost-article-stylingArea h2,
    .myPost-article-stylingArea h3{
        margin-bottom: 1em;
    }
    .myPost-article-stylingArea p,
    .myPost-article-stylingArea ul,
    .myPost-article-stylingArea ol{
        margin-bottom: 1.7em;
    }
}

/*
*----サイドバーstyle----*/
.post-catSidebar{
    width: 300px;
}
.myPost-category-nav{
    background-color: var(--primary-color);
    border-radius: 30px;
    padding: 50px 30px;
}
/*以下wp_list_categories();吐き出すhtmlに応じて適宜スタイル修正*/
.myPost-category-nav-items > li{
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    font-size: clamp(1.6rem, 1.46412884334vw, 2rem);
    font-weight: bold;
    text-align: center;
}
.myPost-category-nav-items ul a:hover,
.myPost-category-nav-items ul a:focus{
    text-decoration: underline;
}
.myPost-category-nav-items > li > ul{
    display: flex;
    flex-direction: column;
    font-weight: normal;
    font-size: clamp(1.1rem, 1.34146341463vw, 1.6rem);
}
.myPost-category-nav-items > li > ul >li a{
    background-color: var(--point-color);
}
.myPost-category-nav-items > li > ul >li:not(:last-child){
    margin-bottom: 1.25em;
}
.myPost-category-nav-items > li > ul >li >ul{
    display: flex;
    flex-direction: column;
    gap: .625em;
    margin-top: .625em;
}
.myPost-category-nav-items > li > ul >li >ul >li a{
    background-color: #fff;
}
.myPost-category-nav-items > li > ul >li a,
.myPost-category-nav-items > li > ul >li >ul >li a{
    padding: 1em;
    border-radius: 10px;
    width: 100%;
}

@media(max-width: 820px){
    .ly_myPost{
        flex-direction: column;
        margin-bottom: unset;
    }
    .post-main {
        width: 100%;
    }
    .post-catSidebar {
        width: 100%;
        margin-bottom: 100px;
    }
    .myPost-category-nav{
        padding: 25px 15px;
    }
}