/* common.css */

html{
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

/* 共通コンテナ */

.container{
    width: 65%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 固定ヘッダー */

.site-header{
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgb(239, 160, 24);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.site-header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 1.5vw, 15px)
}

.logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo a{
    font-size: clamp(20px, 2.5vw, 40px);
    font-weight: 700;
    color: var(--color-gray);
}

.site-nav ul{
    display: flex;
    gap: clamp(18px, 2.5vw, 28px);
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.site-nav ul a{
    color: var(--color-gray);
    font-weight: 700;
}

.site-nav ul a:hover{
    color: var(--color-accent);
}

.section{
    padding-top: clamp(60px, 8vw, 120px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.section h2{
    margin-bottom: clamp(20px, 3vw, 40px);
    text-align: center;
}

/* サイドナビボタン */

.side-fixed-btn{
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 9999;
}

.side-fixed-btn a{
    background-color: rgba(247, 93, 139, 1);
    background-image: linear-gradient(110deg, rgba(247, 93, 139, 1),rgba(254, 220, 64, 1));
    color: var(--color-base);
    padding: 10px 18px 10px 3px;
    writing-mode: vertical-rl;
    border-radius: 8px 0 0 8px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.3 ease;
}

.side-fixed-btn a :hover{
    transform: translateY(-3px);
}

.side-fixed-btn a img{
    width: 20px;
    height: 20px;
}

@media (max-width:768px){
    .side-fixed-btn{
        bottom: 8px;
        top: auto;
        left: 0;
        right: 0;
        width: 90vw;
        margin-inline: auto;
    }
    .side-fixed-btn a{
        writing-mode: horizontal-tb;
        border-radius: 8px;
        width: 100%;

    }
}

/* スクロールダウン */
.scroll_down{
    position: sticky;
    top: 50%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation: arrowmove 2s ease-in-out infinite;
}
.scroll_down a{
    position: absolute;
    left: -13px;
    bottom: 35px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 700;
    
}
.scroll_down:before{
    content: "";
    position: absolute;
    bottom: 5px;
    right: 64.4px;
    width: 4px;
    height: 30px;
    border-radius: 5px;
    background: var(--color-accent);
    transform: rotate(40deg);
}
.scroll_down:after{
    content: "";
    position: absolute;
    bottom: 5px;
    right: 82px;
    width: 4px;
    height: 30px;
    border-radius: 5px;
    background: var(--color-accent);
    transform: rotate(-40deg);
}
@keyframes arrowmove{
    0%{bottom: 1%;}
    50%{bottom: 5%;}
    100%{bottom: 1%;}
}


/* フッター */
.footer{
    background-color: var(--color-gray);
    padding-top: clamp(20px, 4vw, 40px);
    padding-bottom: clamp(20px, 4vw, 40px);
}
.footer .center-area a{
    color: var(--color-text);
}
 
.footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer .footer-logo{
    font-weight: 700;
}