@charset "utf-8";
/* .Header_SP {
    display: none;
}
.Ham_Nav {
    display: none;
} */
/* @media screen and (max-width: 768px) { */
    .Header {
        display: none;
    }
    /* SP header */
    .Header_SP {
        display: block;
        width: 100vw;
        height: 75px;
        min-height: auto;
        max-width: 100vw;
        min-width: auto;
        position: fixed;
        top: 0;
        left: 0;
        background: var(--header_logo);
        z-index: 100;
    }
    .Header_Innenr_SP {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .Header_Logo_SP {
        margin-bottom: 0;
        font-size: 24px;
    }
    .Header_Logo_SP > a {
        color: var(--nav_bg);
    }
    .Header_Ham {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--nav_bg);
        position: relative;
    }
    .Header_Ham span::before,
    .Header_Ham span::after {
        content: "";
        width: 25px;
        height: 1px;
        background: var(--header_logo);
        position: absolute;
        inset: 0;
        margin: auto;
    }
    .Header_Ham span::before {
        top: -8px;
        transition: top .4s ease, rotate .4s ease;
    }
    .Header_Ham span::after {
        bottom: -8px;
        transition: bottom .4s ease, rotate .4s ease;
    }
    .Ham_Scroll .Header_Ham span {
        width: 0;
    }
    .Ham_Scroll .Header_Ham span:before {
        top: 0;
        rotate: 45deg;
        transition: top .4s ease, rotate .4s ease;
    }
    .Ham_Scroll .Header_Ham span:after {
        bottom: 0;
        rotate: -45deg;
        transition: bottom .4s ease, rotate .4s ease;
    }
    /* SP hamburger menu */
    .Ham_Nav {
        display: block;
    }
    .Ham_Nav_Inside {
        display: block;
        position: fixed;
        top: 75px;
        left: -100%;
        background: var(--nav_bg);
        height: calc(100svh - 75px);
        width: 55%;
        max-width: 240px;
        overflow-y: scroll;
        overflow-x: hidden;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s ease, visibility .5s ease, left .5s ease;
    }
    .Ham_Active .Ham_Nav_Inside {
        opacity: 1;
        visibility: visible;
        left: 0;
        transition: opacity .5s ease, visibility .5s ease, left .5s ease;
    }
    .Ham_Scroll {
        overflow: hidden;
    }
        
    .Ham_Active .Ham_BG {
        width: 100vw;
        height: 100vh;
        background: var(--nav_bg);
        position: fixed;
        top: 0;
        right: 0;
        opacity: .5;
        z-index: 1;
    }
    .Ham_Active .Header_Main_Nav,
    .Ham_Active .Header_Sub_Nav,
    .Ham_Active .Header_Support_Nav {
        padding: 0 .5rem;
    }
    .Ham_Active .Header_Support_Nav {
        margin-bottom: 0;
    }
    .Ham_Active .Header_Support_Nav > ul > li > a {
        color: var(--nav_color);
    }
    .Ham_Active .Header_Main_Nav ul li > a,
    .Ham_Active .Header_Sub_Nav li > a,
    .Ham_Active .With_Nav > div  {
        display: block;
        color: var(--nav_color);
        padding: 0.5em 0.5em 0.5em 1.2em;
        border-radius: 4px;
        margin-right: 6px;
        position: relative;
    }
    .Ham_Active .With_Nav div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
    }
    .Ham_Active .With_Nav:hover ul {
        position: relative;
        left: initial;
        right: initial;
        margin-top: 12px;
    }
    .Ham_Active .With_Nav ul li a {
        color: var(--nav_bg);
    }
    .Ham_Active ul > li.With_Nav ul:hover  {
        position: relative;
    }
    .Ham_Active .Header_Support_Nav ul {
        padding-left: 1.2rem;
    }

    /* Main */
    main {
        margin-top: 75px;
        width: 100vw;
        min-width: 100vw;
        /* overflow-x: hidden; */
    }
/* } */

/* index.php */
@media screen and (max-width: 768px) {
    .Dash_Content_Wrap h3{
        font-size: 18px;
    }

    .Dash_Content_Wrap h4{
        font-size: 12px;
    }

    .Dash_Content_Wrap .Document_Vol{
        font-size: 28px;
    }

    .js_Notpayment_Graph.Show .d-flex.justify-content-between div{
        flex-direction: column;
        align-items: start;
        font-size: 12px;
    }
}
/* Quotes/List */
@media screen and (max-width: 768px) {

    .Search_Form_Group{
        justify-content: start;
        width: 100%;
    }

    .Search_Form_Group .Search_Form {
        width: calc(100% - 49px);
        /* max-width: 400px; */
        /* width: auto; */
    }
    .Transaction_Table > thead {
        border-bottom: none;
        display: none;
    }
    .Transaction_Table tbody {
        width: 100%;
        position: relative;
    }
    .Transaction_Table tbody tr {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 12px 16px 12px 12px;
        border-radius: 6px;
        background-color: var(--header_logo);
        border: 1px solid var(--lightgray1);
        /* box-shadow: rgba(126, 201, 236, 0.2) 5px 5px 5px; */
        border-bottom: solid 1px var(--lightgray2);
        margin-bottom: 8px;
        position: relative;
    }
    .Transaction_Table tbody tr td {
        width: 100%;
        display: block;
        padding: 0;
    }
    /* .Transaction_Table tbody tr td:first-of-type,
    .Transaction_Table tbody tr td:nth-child(2) {
        width: auto;
        display: inline-block;
        margin-left: 0;
        margin-bottom: 8px;
    } */
    .Transaction_Table tbody tr td:first-of-type {
        margin-right: 12px;
    }
    .Tbl_Cell_Name {
        margin-bottom: 12px;
    }
    .Tbl_Cell_Name > div {
        margin-top: 6px;
    }
    .Quotes_Number {
        margin-bottom: 4px;
    }
    /* .Quotes_Number::before {
        content: "発行日:";
        margin-right: 4px;
    }
    .Quotes_Date_Expiry::before {
        content: "有効期限:";
        margin-right: 4px;
    } */
    .Quotes_Edit_SP {
        width: auto!important;
        position: absolute;
        justify-content: flex-end;
        top: 10px;
        right: 6px;
    }
    .js_Tbl_Select_List {
        left: initial;
        right: 0;
    }
}


/* Quotes_Detail */
@media screen and (max-width: 768px) {

    .PageTtl {
        width: 100%;
    }

    .Dl_Client_Name {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .Info_Box dl{
        display: block;
    }

    .Info_Box dt {
        width: 100%;
        margin-right: 0;
        color: var(--nav_link_hover);
    }
    .Info_Box dd {
        width: 100%;
    }
    .Pulldown_List {
        right: inherit;
        left: 0;
    }
    #PDF_Prev_Wrap iframe {
        max-height: 80vh;
    }

    .Modal.ModalB{
        width: 90vw;
        left: 50%;
        transform: translate(-50% , -50%);
    }
    
    .Modal_Footer{
        min-width: inherit;
    }
}


/* Report */

.Report_Tbl{
    width: auto;
    font-size: 14px;
}

.Report_Tbl.Client{
    width: auto;
}


/* URL発行したら編集不可にする */
.Edit_Link.DisAbled{
    opacity: 0.6;
}

/* すでにURL発行済の場合 */
#Btn_Issue_URL.Issued{
    display: flex;
    align-items: center;
}

#Btn_Issue_URL.NoIssue span{
    display: none;
}

#Btn_Issue_URL.Issued span{
    display: block;
    background-color: var(--nav_bg);
    color: var(--base);
    font-size: 12px;
    padding: 2px;
    border-radius: 2px;
    margin-left: 4px;
}

/* 詳細ページ社内メモ */
.Detail_Tbl_Memo{
    border: var(--form_border);
    background-color: var(--base);
    border-radius: 4px;
}

.Detail_Tbl_Memo_Textarea{
    width: 100%;
    border: none;
    padding: 0.5rem;
}

.Detail_Tbl_Memo_Btn_Wrap{
    display: flex;
    justify-content: end;
}

