/* ==================================
  common.css
  ================================== */

  html {
    scroll-behavior: smooth;
  }
  
/*　共通コンテナ　*/
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

}

/*　固定ヘッダー　*/
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--color-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    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(18px,2.5vw,28px);
    font-weight: 700;
    color: var(--color-text);
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: clamp(18px,2.5vw,28px);
    margin: 0;
    padding: 0;
}
.site-nav ul a {
    font-weight: 700;
}
.site-nav ul a:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
}
.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: rgba(239, 69, 69, 1);
    background-image: linear-gradient(110deg,rgb(241, 34, 34),rgba(254, 220, 64, 1));/*お好みで変更（オレンジ系等）*/
    color: var(--color-base);
    padding: 10px 8px;
    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;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.3s ease,opacity 0.3s ease;
    
}

.side-fixed-btn a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}


.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%;
}



    
}



footer {
    background: var(--color-gray);
    padding-top: clamp(20px,4vw,40px);
    padding-bottom: clamp(20px,4vw,40px);
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

footer .footer-logo {
    font-weight: 700;
}

