@charset "utf-8";
.sidebar{
    width: 320px;
    /* height: calc(100% - 120px); */
    /* min-height: 100vh; */
    padding: 24px 0 213px;
}
.nav_head .logo{
    width: 185px;
    padding: 34.5px 0;
    margin: 24px auto 0;
}
.nav_head .logo a{
    display: block;
}

.sidebar .cat_box{    padding: 0 30px;margin-bottom: 30px;}
.sidebar .cat_box:last-child{
    margin-bottom: 0;
}
.sidebar .catttl{
    font-size: 14px;
    letter-spacing: 0.56px;
    gap:5px;
}
.sidebar .catttl:before{
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: var(--black);
}
.sidebar .singlelist{
    margin-top: 10px;
}
.sidebar .singlelist li{
    font-feature-settings: 'pwid' on;
    font-size: 14px;
    letter-spacing: 0.56px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}
.sidebar .singlelist li a{
    padding: 6px 12px;
    display: block;
    text-decoration: none;
}

.sidebar .singlelist li:before{
    content: "";
    width: 3px;
    height: 3px;
    background: var(--black);
    display: block;
    position: absolute;
    border-radius: 50%;
}

.sidebar .singlelist .current{
    background-color: var(--lightgray);
    border-radius: 30px;
    font-weight: 700;
}
@media screen and (min-width: 1025px) {
    .menu{
        display: none;
    }
    .side_bd_area{
        border-right: 1px solid var(--gray);
        overflow-y: scroll;
        height: 100%;
        position: fixed;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        background: var(--white);
    }
    .side_bd_area::-webkit-scrollbar{
        display:none;
    }
    .sidebar .singlelist li:hover{
        background-color: var(--lightgray);
        border-radius: 30px;
    }

}
@media screen and (max-width: 1024px) {
    .side_bd_area .nav_txt{
        font-size: 14px;
    }
    .nav_head {
        padding: 16px 30px 12px;
    }
    .nav_head .logo{
        margin: 0 auto;
        padding: 0;
        width: 155px;
    }
    .main_flex{
        flex-direction: column;
    }
    .sidebar{
        padding: 0;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        overflow-x: hidden;
        height: 100%;
        z-index: -1;
        top: 75px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
   .openmenu .sidebar{
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    }
    .nav_head{
        background: var(--white);
        position: fixed;
        top: 0;
        width: 100%;
        border-bottom: 1px solid var(--gray);
        z-index: 1;
    }
    .sidebar .cat_box{
        padding: 0 24px;
    }
    .sidebar .cat_wrap{
        position: relative;
        width: 80%;
        height: 120%;
        background-color: var(--white);
        cursor: pointer;
        opacity: 0;
        transition: transform 0.3s ease,opacity 0.3s ease;
        transform: translateX(-100%);

    }
    .sidebar .box_inner{
        padding-top: 48px;
        padding-bottom: 24px;
        background: #fff;

    }
    .sidebar h4,
    .sidebar li{
        opacity: 0;
    }
    .sidebar .open{
        transform: translateX(0);
        opacity: 1;
    }
    .sidebar .open h4,
    .sidebar .open li{
        opacity: 1;
    }

    .openmenu{
        overflow: hidden;
    }
    .menu{
        cursor: pointer;
        background: none;
        border: none;
        height: 25px;
        position: absolute;
        left: 10px;
        top: 14px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .menu span{
        width: 26px;
        height: 1px;
        display: block;
        background-color: var(--black);
        transition: transform 0.3s ease,opacity 0.3s ease;
    }
    .menu span:nth-of-type(1){
        transform: translateY(-8px);
    }
    .menu span:nth-of-type(2){
        transform: translateY(0px);
    }
    .menu span:nth-of-type(3){
        transform: translateY(8px);
    }

  .openmenu .menu span:nth-of-type(1){
    transform: translateY(-50%) rotate(45deg);
    }
    .openmenu .menu span:nth-of-type(2){
        display: none;
    }
    .openmenu .menu span:nth-of-type(3){
        transform: translateY(-50%) rotate(-45deg);
    }



}

body.sidebar_hidden .side_bd_area{
    display: none;
}
body.sidebar_hidden .content{
    margin: auto;
}
/*サイドバーこここまで */
@media screen and (min-width: 1025px) {
    .content{
        width: calc(100% - 320px);
        padding: 120px 50px 120px 50px;
        margin-left: auto;
        min-height: 100vh;
    }
}


footer{
    text-align: center;
    border-top: 1px solid var(--gray);
    padding: 50px 50px;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}
footer .logo{
    width: 200px;
    margin: 0 auto 24px;
}
footer .copy{
    font-size: 12px;
    font-style: normal;
    line-height: 175%; /* 21px */
    letter-spacing: 0.15px;
}
@media screen and (max-width: 1024px) {
    footer{
    padding: 40px;
    }
}
/* ここから下は記事について */

.mainttl{
    padding: 12px 20px;
    background: var(--h1colorbg);
    color: var(--h1colortext);
}
.mainttl h1{
    font-size: 24px;
    letter-spacing: 0.96px;
}
.subttl{
    padding: 12px 20px;
    background: var(--h2colorbg);
    color: var(--h2colortext);
    margin-bottom: 24px;
}
.subttl h2{
    font-size: 20px;
    letter-spacing: 0.8px;
}
.subttl_bd{
    padding-bottom: 8px;
    border-bottom: 1px solid var(--h3color);
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin-bottom: 24px;
}
.subttl_bd:before{
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: var(--h3color);
}
.subttl_bd h3{
    font-size: 20px;
    letter-spacing: 0.8px;
    width: 100%;
}

.block_delimiter{
    margin-top: 24px;
}
.block_separator{
    margin-top: 60px;
}
@media screen and (min-width: 1025px) {

.detail{
    width: 700px;
    margin: 0 auto;
}
.btn:hover{
    opacity: 0.8;
}
}

@media screen and (max-width: 1024px) {
    .content{
        margin-top: 90px;
        margin-bottom: 80px;
    }
    body.sidebar_hidden .content{
        width: 100%;
        margin-top: 40px;
        margin-bottom: 80px;
    }
    .detail{
        width: calc(100% - 24px);
        margin: 0 auto;
    }
}
.line{
    position: relative;
    display: inline-block;
    z-index: 1;
}
.line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 72%;
    background: rgba(255, 255, 0, 0.5);
    z-index: -1;
    transform: translateY(-50%);
    padding: 0 5px;
    border-radius: 3px;
}

.btn_area{
    gap:20px
}
.btn_area .btn{
    border-radius: 90px;

    padding: 12px 40px 12px 24px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    min-width: 340px;
}
.btn{
    background: var(--btnrp_color_bg);
    color: var(--btnrp_color_text);
    position: relative;
    transition: ease-out .2s;
}

.btn:after{
    content: "";
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #7a0;
    border-right: 1px solid #7a0;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;

}

.box_area{
    gap: 20px;
}
.box_area .box_org{
    width: 340px;
    padding-bottom: 50px;
}
.box_area .box_org_1{
    width: 100%;
}
.box_area .box_org .btn_area{
    bottom: 0;
    right: 0;
    left:0;

}
.box_area .box .imgs{
    margin-bottom: 20px;
}
.box_area .box .cnt{
    margin-bottom: 20px;
}

.border_area{
    gap: 16px;
}
.border_area .box{
    padding: 16px 18px 16px 18px;
    text-align: center;
    width: 100%;
}
.box_textarea{
    border: 1px solid var(--gray);
}

.border_area .box .box_inner{height: 100%;}
.border_area .box .link_area{
    padding: 16px 16px 0;
    margin-top: 16px;
}
.border_area .box p{
    font-size: 14px;
    letter-spacing: 0.64px;
}
.border_area .box .link,
.border_area .box strong{
    font-size: 16px;
}
.border_area .box strong{
    margin-top: 8px;
    display: block;
}

.border_area_oneclm{
    gap: 24px;
}
.border_area_oneclm .box{
    padding: 30px 20px;
    text-align: left;
}


.text_area h1,
.text_area h2,
.text_area h3,
.text_area h5,
.text_area h6,
.text_area table,
.text_area p{
    margin-bottom: 24px;
}

.text_area img{
    display: block;
    margin-bottom: 24px;
    height: auto;
}
.text_area table,
.text_area ul{
    margin-top: 24px;
}
.text_area h4{
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
}
.text_area ul li{
    position: relative;
    padding-left: 12px;
    margin-bottom: 9px;
    font-size: 16px;
}
.caption{
    display: block;
    font-size: 12px;
    margin-top: 9px;
}
.text_area ul li::before{
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 11px;
    background-color: var(--black);
}

.text_area table span{
    display: block;
    width: 100%;
    height: 100%;
}
.text_area table strong{
    display: block;
}
.text_area table .pd_area{
    padding: 23px 10px;
    text-align: center;
    word-break: break-all;
    font-size: 14px;
}
.text_area table{
    width: 100%;
}
.text_area table tr{
    border-bottom: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
    border-left: 1px solid var(--gray);
}
.text_area table{
    border-top: 1px solid var(--gray);
}
.text_area table td,
.text_area table th{
    border-right: 1px solid var(--gray);
}
.text_area table td:last-child,
.text_area table th:last-child{
    border-right: none;
}
@media screen and (min-width: 1025px) {
    .table_sp+table{
        display: none;
    }
}


/* ここからSP */
@media screen and (max-width: 1024px) {

    .box_area{
        gap: 24px;
    }

    .content{
        min-height: 100vh;
    }
    body.sidebar_hidden .content{
        width: 100%;
        margin-top: 40px;
        margin-bottom: 80px;
    }

    .border_area .box .box_inner {
        height: 100%;
        min-height: 165px;
    }
    .box_area .box_org{
        padding-bottom: 0;
    }
    .box_area .box_org .btn_area{
        position: static;
    }

    :hover::after{
        border-color: unset !important;
    }
    .text_area ul li{
        margin-bottom: 8px;
    }
    .text_area h1, .text_area h2, .text_area h3, .text_area h5, .text_area h6, .text_area table, .text_area p {
        margin-bottom: 16px;
        font-size: 16px;
    }
    .text_area ul{
        margin-top: 16px;
    }
    .text_area h4{
        margin-bottom: 8px;
        font-size: 16px;
        font-weight: 700;
        margin-top: 16px;
    }
    .text_area h1{
        font-weight: bold;
    }


    .table_pc+table{
        display: none
    }
    .btn_area .btn{
        width: 100%;
        max-width: 450px;
    }
    .border_area{
        flex-direction: column;
    }
    .mainttl h1{
        font-size: 20px;
        word-break: keep-all;
        overflow-wrap: break-word;
        white-space: normal;
        letter-spacing: 0;
    }

    .subttl h2{
        font-size: 16px;
        word-break: keep-all;
        overflow-wrap: break-word;
        white-space: normal;
        letter-spacing: 0;
    }
    .subttl_bd h3{
        font-size: 16px;
        overflow-wrap: break-word;
        white-space: normal;
        letter-spacing: 0;
    }


    .block_separator {
        margin-top: 40px;
    }
    .block_delimiter {
        margin-top: 16px;
    }
    .box_area .box_org{
        width: 100%;
    }


    .btn_area {
        gap: 16px;
    }


}
