@charset "utf-8";


/*---------headerCSS---------*/
header{
    background: #FFF;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    width: 100%;
    height: 100px;
    /*
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    */
}

.header-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.h-title_box{
    width: 30%;
}

.h-nav_box{
    width: 70%;
    position: relative; /* 位置を相対的に設定 */
}

.nav-list{
    display: flex;
    justify-content: right;
    list-style-type: none;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    align-items: center;
}

.nav-list li{
    margin: auto 1rem auto;
}

/*
.nav-list.nav-item{

}
*/

.nav-item.current a{
    color: #0857a1; /* アクティブなリンクの文字色 */
    border-bottom: 2px solid #0857a1; /* アクティブなリンクの下線 */
}

.nav-item a{
    position: relative;
    transition: 0.3s;
}
  
.nav-item a::after{
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 1px;
    background-color: #000;
    transition: 0.3s;
}
.nav-item a:hover::after{
    width: 100%;
}

.nav-list a{
    color: #000;
}

header .member-entry{
    background: #5bc8ac;;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    border-radius: 100vh;
}

header .member-login{
    background: #0AC0E9;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    border-radius: 100vh;
}

header .member-mypage{
    background: #0AC0E9;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    border-radius: 100vh;
}

header .member-entry a,
header .member-login a,
header .member-mypage a{
    display: block;
    padding: 10px 20px;
    color: #fff;
}

.menu-toggle {
    display: none; /* デフォルトで非表示 */
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    border: none;
    background: none;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #000;
    margin: 4px 0;
    transition: all 0.3s ease;
}



/*haeder - media*/
@media (min-width: 1280px){
    .nav-list li{
        margin: auto 1rem auto auto;
    }
}


@media (max-width: 700px){
    .menu-toggle {
        display: flex; /* モバイルで表示 */
    }

    .nav-menu {
        display: none; /* デフォルトで非表示 */
        position: absolute;
        top: 100%;
        right: 0;
        background: #FFF;
        box-shadow: 0 0 6px rgba(0, 0, 0, .05);
        width: 200px; /* メニューの幅 */
        opacity: 0; /* 初期の不透明度 */
        transition: opacity 0.5s ease-in-out;
        transform: translateX(100%); /* 右からスライド */
    }

    .nav-menu.open {
        display: block; /* メニューを表示 */
        opacity: 1;
        z-index: 99;
        transform: translateX(0);
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg); /* 上の線を45度回転 */
        position: relative; /* 相対位置を設定 */
        top: 11px; /* 中央に調整 */
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0; /* 中央の線を非表示 */
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg); /* 下の線を-45度回転 */
        position: relative; /* 相対位置を設定 */
        top: -11px; /* 中央に調整 */
    }

    .h-title_box,
    .h-nav_box {
        width: 100%; /* 幅を100%に */
        text-align: center; 
    }

    .nav-list {
        flex-direction: column; /* 縦に並べる */
        align-items: flex-start;
        font-size: 1.2rem;
        margin: 0; /* マージンリセット */
    }
    .nav-list li{
        margin: 2rem auto;
    }

    header {
        height: auto; /* 高さを自動調整 */
    }
}


/*---------footerCSS---------*/
footer{
    border-top: 1px solid;
    background: #fff;
}

.footer-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    padding: 2rem;
}

.footer-title{
    text-align: center;
    width: 40%;
}

.footer-items{
    width: 60%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-item_width{
    width: 50%;
    align-items: center;
}

.footer-item_width > div {
    margin: 2rem auto;
}


.footer-item_width ul li {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-item_width > .footer_mypage{
    text-align: center;       
}


.footer_sell_buy{
    display: flex;
    justify-content: space-around;
    margin: auto;
    width: 100%;
}

.footer_sell_buy div{
    width: 45%;
}

.f-buy-sell_box{
    width: 100%;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    border-radius: 1rem;
    transition: 0.3s ease;
    display: block;
    align-items: center;
    padding: 2rem 0;
    font-size: 1.3rem;
}

.copy-r{
    text-align: center;
    margin: 0 auto;
    font-size: 1rem;
}

.footer_member-login_box{
    width: 50%;
}

.footer_member-login{
    display: block;
    background: #0AC0E9;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.05);
    border-radius: 100vh;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    margin: auto;
    font-size: 1.3rem;
    color: #fff;
}

.footer_nav {

}

.footer_nav a{
  position: relative;
  transition: 0.3s;
}

.footer_nav a::after{
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #000;
  transition: 0.3s;
}

.footer_nav a:hover::after{
  width: 100%;
}

.footer_goodmountain{

}

.footer_goodmountain p{
    margin: 2rem auto 0;
    display: block;
    width: 80%;
    text-align: center;
}
.footer_goodmountain img{
    width: 80%;
    margin: 0 auto;
    display: block;
}

@media (max-width: 700px){
    .footer-flex{
        display: block;
    }
 
    .footer-title{
        width: 100%;
    }

    .footer-item_width{
        width: 100%;
    }

    .footer-items{
        display: block;
        width: 100%;
    }

    .footer_sell_buy{
        display: block;
        margin: auto;
    }
    
    .footer_sell_buy div{
        width: 100%;
        margin: 1rem auto;
    }


}


/* footerTOPに戻るボタン */
#page_top {
    width: 40px;
    height: 40px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #fff;
    border: solid 3px #000;
    border-radius: 50%;
    transition: 0.5s;
    box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
}
#page_top:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0, 0);
    transition: transform ease 0.4s;
}
  
#page_top:hover:after {
    transform: translate(-50%, -50%) scale(1.1, 1.1);
}

#page_top:hover{
    opacity: 0.6;
}

#page_top::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f106';
    font-size: 15px;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-width: 6px 0 0 6px;
    transition: border-color ease 0.1s;
    z-index: 10;
}

#page_top:hover:before {
    border-color: #fff;
    color: #fff;
}
  

  
