﻿@charset "utf-8";

/* -----------------------------------------------------------
費用  
-------------------------------------------------------------- */
.page-cost .example-wrap {
    display: none!important;
}

/* -----------------------------------------------------------
    共通
-------------------------------------------------------------- */
#cost .cost-wrap {
    align-items: flex-start;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 70px;
}

#cost .cost-main {
    width: 750px;
    margin: 0 auto 0 0;
}

#cost .cost-sec-ttl {
    align-items: center;
    display: flex;
    font-weight: bold;
    font-size: 3.5rem;
    letter-spacing: .03em;
    margin: 0 0 30px 0;
}

#cost .cost-section {
    margin: 100px 0 0 0;
}

#cost .cost-section:first-of-type {
    margin-top: 20px;
}

@media screen and (min-width: 769px) {
/*-----pcのみ js関連-------------------------*/
    #wrapper {
        overflow: clip;
    }
    #cost .cost-wrap {
        position: relative;
    }
}


@media screen and (max-width: 768px) {

    #cost .cost-main {
        width: 100%;
        margin: 0 auto;
    }
    
    .page-cost .header {
        position: absolute;
    }
    
    #cost .cost-sec-ttl {
        font-size: 2.5rem;
        line-height: 1.3;
        padding: 0 20px;
        margin: 0 0 15px 0;
    }
    
    #cost .cost-section {
        margin: 50px 0 0 0;
    }

}




/* -----------------------------------------------------------
    PC サイドメニュー
-------------------------------------------------------------- */

#cost .cost-nav-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#cost .cost-nav a {
    background: #fff;
    color: #333;
    display: block;
    font-size: 1.6rem;
    padding: 11px 10px 13px 20px;
    position: relative;
    line-height: 1.2;
    letter-spacing: 0;
    border: 1px solid #ddd;
}

@media screen and (min-width: 769px) and (max-width: 1600px) {
    #cost .cost-nav a {
        font-size: 1.5rem;
        padding: 7px 10px 9px 20px;
    }
}

#cost .cost-nav a:hover {
    background: #fdf2eb;
    border-color: var(--linkc);
}

#cost .cost-nav a::before {
    content: "\f105";
    color: var(--linkc);
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    padding: 0;
    height: 10px;
    left: 7px;
    position: absolute;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#cost .cost-nav-header {
    color: #aaa;
    font: 600 2.5rem/1 var(--en2);
    position: relative;
    padding: 0 0 15px 0;
    text-align: left;
    letter-spacing: .02em;
    border-bottom: 1px solid #aaa;
    margin: 0 0 10px;
}

#cost .cost-nav-subttl {
    font: 600 1.5rem/1 var(--en2);
    color: #aaa;
    padding: 8px 0 5px;
}

@media screen and (min-width: 769px) {

    /*-----pcのみ js関連-------------------------*/
    #cost .cost-nav-wrap {
        position: -webkit-sticky; 
        position: sticky;
        width: 370px;
        padding: 20px 0;
        top: 100px;
    }

    #cost .cost-nav-wrap.cost-nav-fix .cost-nav {
        position: fixed;
        top: 120px;
        min-width: 223px;
    }

    #cost #cost-menu-sp {
        display: none!important;
    }
    
    #cost .cost-nav-wrap .cost-nav-list {
        display: block!important;
    }
    
    #cost .cost-nav-subttl {
         margin: 10px 0 5px;
    }

}

@media screen and (max-width: 768px){

    #cost .cost-wrap {
        flex-direction: column;
        display: block;
        margin: 0 auto 30px;
    }

}





/* -----------------------------------------------------------
    SP サイドメニュー
-------------------------------------------------------------- */
@media screen and (max-width: 768px){

    #cost-menu-sp {
        width: 100%;
        height: 68px;
        z-index: 3;
    }

    #cost-menu-sp .cost-menu-sp__body {
        display: none;
        box-shadow: 0 5px 3px rgba( 0, 0, 0, 0.1);
        position: relative;
        z-index: 2;
        background: #fff;
    }

    #cost-menu-sp .cost-menu-sp__header {
        box-shadow: 2px 2px 8px 0 rgba( 0, 0, 0, 0.2);
        background: #fff;
        color: #aaa;
        font: 700 2.3rem/1 var(--en2);
        padding: 18px 20px;
        position: relative;
        z-index: 10;
        letter-spacing: .03em;
    }

    #cost-menu-sp .cost-menu-sp__header::before {
        content: "";
        background: url(../img/icon_plus.jpg)center center/contain no-repeat;
        position: absolute;
        right: 20px;
        top: 12px;
        width: 34px;
        height: 34px;
    }
    
    #cost-menu-sp .cost-menu-sp__header.cost-menu-sp__open::before {
        background-image: url(../img/icon_minus.jpg);
    }

    #cost-menu-sp .cost-menu-sp__header.open {
        box-shadow: none;
    }
    
    #cost-menu-sp .cost-menu-sp__header.open::before {
        background-image: url(../img/icon_minus.jpg);
    }

    #cost-menu-sp.cost-menu-sp__fixed{
        position: fixed;
        top: 0;
        z-index: 10;
        background: #fff;
    }

    #cost-menu-sp .cost-menu-sp__list {
        background: #fff;
        padding-bottom: 20px;
    }

    #cost-menu-sp .cost-menu-sp__item {
        margin-top: 10px;
        padding-top: 15px;
    }
    
    #cost-menu-sp .cost-menu-sp__list .cost-menu-sp__item:first-child {
        border-top: none;
        margin-top: 0;
    }

    #cost-menu-sp .cost-menu-sp__box {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #cost-menu-sp .cost-menu-sp__link {
        color: #333;
        padding: 13px 8px 13px 15px;
        display: block;
        position: relative;
        border: 1px solid #ddd;
        font-size: 1.5rem;
    }

    #cost-menu-sp .cost-menu-sp__link::before {
        content: "\f105";
        color: var(--linkc);
        font-weight: 900;
        font-family: 'Font Awesome 5 Free';
        height: 10px;
        left: 5px;
        position: absolute;
        top: 46%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    
    #cost-menu-sp .cost-menu-sp__subttl {
        width: 100%;
        font: 600 1.6rem/1 var(--en2);
        color: #aaa;
    }

}

