@charset "UTF-8";

footer *{
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
    color: #f0e9d7;
 }

#fixfooter{
    background-color: var(--black);
    padding:20px 0 ;
}

#footermidashi{
    font-size: 14px;
    color: var(--purewhite);
    font-weight: 600;
    text-align: center;    
    padding-top:20px;
}

#iconflex {
    max-width: 300px;
    display: flex;
    margin: 10px auto;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.icon{
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .4s;
}

.icon img{
    width: 100%;
}

 
.icon:hover{
    transform: scale(1.15);
}

.footer-line{
    width:80%;
    border:dashed 1px  var(--purewhite);
    display:block;
    margin: 10px auto;
}

.footerlink1{
    font-size: 12px;
    color:var(--purewhite) ;
    position: relative;
    font-weight: 600;
    text-decoration: none;
}

#footermiddle{
    display: flex;
    gap:10px;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    line-height: 20px;
    display: flex;

    /* margin: auto 0; */
    justify-content: center;
    gap: 10px;
}

#footermiddle p,#footerbottom p{
    padding: 0;
    text-align: center;
}


#footerbottom{
    padding: 0;
}

.footerlink2{
    font-size: 10px;
    color: var(--purewhite);
    position: relative;
    text-decoration:none;
}

#footerbottom p{
    padding: 0;
    font-size: 10px;
    color: var(--purewhite);
}

.footerlink1:hover::after{
    transform: scale(1, 1);     
}

.footerlink2:hover::after{
    transform: scale(1, 1);     
}


.page_top_btn{
    position:fixed;
    bottom:25px;
    right:18px;
    width:40px;
    height:75px;
    display:flex;
    flex-direction:column-reverse;
    gap:5px;
    z-index:350;
    border-radius: 25px;

    transform: scale(1.3);
    transform-origin: bottom right;
}

.page_top_btn_back{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-color: rgba(244, 245, 247, 0.5);
    box-shadow: 0px 0px 4px 4px rgba(244, 245, 247, 0.5);
}

#topagetop{
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(1.3);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0s linear 0.5s; /* ← 遅延 */
}

#topagetop.is-show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1.0);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0s; /* 表示時は遅延なし */
}

.page_top_btn .page_top_btn_back p{
    position: absolute;
    padding: 0;
    font-family: "Noto serif jp", serif;
    font-size: 18px;
    text-align: center;
    top: 50px;
    left: 20px;
    /* transform: translateX(-50%); */
    bottom: 40px;
    color: var(--clr-orange);
    transform: rotate(90deg);  
}

.btn-dot1{
    position: absolute;
    right: 30px;
    height: 3.2px;
    width: 2.4px;
    background: var(--clr-orange);
    bottom: 12px;
}

.btn-dot2{
    position: absolute;
    height: 10.6px;
    right: 30px;
    bottom: 18.2px;
    width: 2.4px;
    background: var(--clr-orange);
}

.btn-solid{
    position: absolute;
    height: 30px;
    right: 30px;
    bottom: 35px;
    width: 2.4px;
    background: var(--clr-orange);
    border-radius: 1.6px 1.6px 0 0;
}

.btn-up{
    position: absolute;
    height: 23px;
    width: 2.4px;
    background: var(--clr-orange);
    right: 30px;
    bottom: 65px;
    transform-origin: bottom center;
    transform: rotate(135deg);
    border-radius: 0 0 1.6px 1.6px;
}

@media screen and (min-width:1024px) {

    #footermidashi{
        font-size: 22px;
    }
    .footerlink1{
        font-size: 18px;
        transition:.2s;
    }

    .footerlink1:hover,.footerlink2:hover{
        opacity:0.6;
    }

    .footerlink2{
        font-size: 16px;
        transition:.2s;
    }
    #footerbottom p{
        font-size: 16px;
    }
    #footermiddle{
        display: flex;
        column-gap: 4%;
        justify-content: center;
        gap:30px;
    }
    .footerflex{
        display: flex;
        flex-direction: column;
        width: 48%;
    }
    .footerflex:nth-of-type(1){
        align-items: flex-end;
    }
    .footerflex:nth-of-type(2){
        align-items: flex-start;
    }

    #iconflex{
        gap: 50px;
        max-width: 350px;
    }

    .icon{
        width: 20%;
    }

    .page_top_btn {
        right: 50px;
        bottom:60px;
    }

    #topagetop.is-show{
        transform: scale(1.1);
    }

    .page_top_btn_back{
        transition: background-color 0.5s ease, box-shadow 0.5s ease;
    }

    .page_top_btn_back:hover{
        background-color: rgba(210, 143, 71, 0.5);
        box-shadow: 0px 0px 4px 4px rgba(210, 143, 71, 0.5);
    }

    .btn-dot1,
    .btn-dot2,
    .btn-solid,
    .btn-up{
        background: var(--clr-orange);
        transition: background 0.5s ease;
    }

    .page_top_btn_back p{
        transition:color 0.5s ease;
    }


    .page_top_btn:hover 
    .btn-dot1,
    .page_top_btn:hover 
    .btn-dot2,
    .page_top_btn:hover 
    .btn-solid,
    .page_top_btn:hover 
    .btn-up{
        background: var(--clr-lightbeige);
    }

    .page_top_btn:hover p{
        color: var(--clr-lightbeige);
    }
}