@charset "UTF-8";

/* 共通設定 */
html {
    box-sizing: border-box;
    font-size: 16px;
    background: linear-gradient(160deg, #101010 0%, #101020 50%, #202040 100%);
    min-height: 100vh;
    }
    *, *::before, *::after {
        box-sizing: inherit;
    }

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    min-width: 360px;/* 最小幅360px */
    overflow-x: hidden;
}

    
/* ヘッダー */
.top-header {
    box-sizing: border-box;
    height: 200px;
    width: 100%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding:15px clamp(15px,5vw,30px);
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(68, 68, 68, 0.95));
    backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.topnav {
    font-size: clamp(1rem, 2vw, 1.25rem); /* 16px, 可変, 20px */
    display: flex;
    justify-content: space-around; /* 均等配置 */
    gap: clamp(10px, 2vw, 20px); /* アイテム間の隙間 */
    width: 100%;
    max-width: 800px;
}

.topnav a, .topnav div {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.topnav div { color: #ff0; cursor: pointer; }

.topnav a::before{
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 50%;
background: linear-gradient(90deg, #50ff50, #00a0ff);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.topnav div::before{
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 50%;
background: linear-gradient(90deg, #FF50FF, #ff5f00);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.topnav a:hover {
color: #00d90d;
transform: translateY(-2px);
}
.topnav div:hover {
transform: translateY(-2px);
}
.topnav a:hover::before , .topnav div:hover::before {
width: 100%;
}

.top-title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: bold;
    background: linear-gradient(45deg, #60ffc0, #40a0c0, #2050f0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease-in-out infinite;
    text-align: center;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.top-subtitle {
    font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
    margin-top: clamp(-50px, -8%, -20px);
    color: #aaa;
    text-align: center;
}

@media screen and (max-width: 1300px) {
    .top-subtitle {
        display: none;
    }    
}


/* 固定ヘッダー */
.fixed-header {
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(15px, 5vw, 30px);
    font-size: 22px;
    position: fixed;
    top: 0;
    left:0;
    background: rgba(34,34,34,0.8);
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 1000;
    opacity:0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.fixed-header.visible {
    opacity: 1;
    pointer-events: auto;
}
.fix-title {
    font-size: 30px;
    background: linear-gradient(45deg, #60ffc0, #40c0c0, #2070f0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease-in-out infinite;
    text-decoration: none;
}
.fixnav {
    padding-right: 20px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    padding-left: clamp(20px, calc((100vw - 1000px) * 0.33 + 200px), 300px);
    width: 100%;
    max-width: 800px;
}
.fixnav a{
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.fixnav a:hover {
    color: #00d90d;
    transform: scale(1.1);
}
.fixnav div{
    color:#ff0;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.fixnav div:hover {
    transform: scale(1.1);
}
.fixed-header {
    display: flex;
}



/* ハンバーガーメニュー */
.hamburger {
    display: none;
    font-size: 24px;
    border: none;
    color: #fff;
    background: rgba(119, 119, 119, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 1001;
    border-radius: 5px;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(119, 119, 119, 1);
    transform: scale(1.1);
}

@media screen and (max-width: 1000px) {
    .hamburger {
        display: block;
        right: clamp(5px, calc((100vw - 450px) * 0.33 + 5px), 30px);
    }
    .fixed-header {
        display: none;
    }
    .topnav{
        display: none;
    }
}

.hamburger-menu {
    position: fixed;
    top: 0;
    right: -340px; /* 最初は画面外に */
    width: 400px;
    height: 100vw;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.9), rgba(100, 100, 150, 0.5));
    backdrop-filter: blur(20px);
    color: white;
    padding-top: 60px 20px 20px;
    box-shadow: -5px 0 5px rgba(0,0,0,0.5);
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1002;
    visibility: hidden;
}
.hamburger-menu.open {
    right: -100px; /* メニューが開いたときに画面内に */
    visibility: visible;
}

.hamburger-menu h2 {
    position :absolute;
    font-size: 30px;
    top: 15px;
    left: 30px;
    margin: 0;
    background: linear-gradient(45deg, #50ff50, #00a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger-menu ul {
    list-style: none;
    display: flex;
    padding:0;
    margin: 60px 0 0 20px;
    flex-direction: column;
}
.hamburger-menu li {
    position: relative;
    padding: 20px;
    opacity: 0;
    transform:translateX(50px);
    animation: slideInMenu 0.5s ease forwards;
}

.hamburger-menu li:nth-child(1) { animation-delay: 0.1s; }
.hamburger-menu li:nth-child(2) { animation-delay: 0.2s; }
.hamburger-menu li:nth-child(3) { animation-delay: 0.3s; }
.hamburger-menu li:nth-child(4) { animation-delay: 0.4s; }
.hamburger-menu li:nth-child(5) { animation-delay: 0.5s; }
.hamburger-menu li:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hamburger-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0));
}
.hamburger-menu a {
    display: block;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition:all 0.3s ease;
}
.hamburger-menu div {
    display: block;
    color: #ff0;
    font-size: 24px;
    text-decoration: none;
    transition:all 0.3s ease;
    cursor: pointer;
}
.nowpage-detail {
    color:#ff0;
}

.detail {
    display: block;
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
    transition:all 0.3s ease;
}
.hamburger-menu a:hover{
    color: #00d90d;
    transform: translateX(5px);
}
.hamburger-menu a:hover + .detail{
    color: #00c900;
    transform: translateX(5px);
}

.menu-overlay 
{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    visibility: hidden;
}
.menu-overlay.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hamburger-close {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 25px;
    right: 30px;
    font-size: 20px;
    color: #fff;
    background: rgba(119, 119, 119, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1004;
    border: none;
    border-radius: 5px;
    padding: 8px;
}

.hamburger-close.show {
    opacity: 1;
    pointer-events: auto;
}

/* フッター */
footer {
    position:relative;
    background-color: #111;
    color: #fff;
    padding: 10px;
    text-align: center;
    bottom: 0;
    margin-top: 0;
}

.footer_text {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #ccc;
}

.footer_link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer_link a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer_link a:hover {
    color: #4CAF50;
}

/* このサイトについてのホバー表示 */
.about-tooltip {
    position: relative;
    cursor: help;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 8px;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.about-tooltip:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* TOPに戻るボタン - フォルダタブ風 */
.back-to-top {
    position: absolute;
    top: -25px;
    right: 20px;
    background-color: #111;
    color: #ccc;
    border: none;
    border-radius: 8px 8px 0 0;
    width: 60px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
}

.back-to-top:hover {
    background-color: #222;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 -4px 8px rgba(0,0,0,0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer_link {
        gap: 20px;
    }
    
    .back-to-top {
        width: 50px;
        height: 22px;
        font-size: 10px;
        right: 15px;
    }
    
    .tooltip {
        font-size: 12px;
        padding: 10px 12px;
        max-width: 200px;
        white-space: normal;
    }
}



.spacer {
    display: block;
    height: 100px;
}
.spacer_big {
    display: block;
    height: 2000px;
}
.spacer_full
{
    flex-grow: 1;
}




.contents{
    display: flex;
    gap:30px;
    margin:0px clamp(30px, calc((100vw - 1000px) * 0.33 + 30px), 150px);
    min-height: calc(100vh - 200px);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 一時的な代替 */
.main-banner-content {
    margin: -70px 100px 30px 100px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 68, 68, 0.8), rgba(85, 85, 85, 0.8));
    backdrop-filter: blur(15px);
    color: #fff;
    font-size: 24px;
    border-radius: 15px 15px 5px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}


/* メイン */
.main-content {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 800px;
    width: 70%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: auto;
}
.sub-content {
    display: flex;
    position: relative;
    flex-direction: column;
    min-height: 800px;
    width: 30%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/*レスポンシブ配置*/
@media screen and (max-width: 600px) {
    .contents {
        flex-direction: column;
    }
    .main-content, .sub-content {
        width: 100%;
    }
}

.news {
    position:relative;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9), rgba(51, 51, 51, 0.9));
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: newsSlideIn 0.8s ease-out 0.6s both;
}
@keyframes newsSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NEWS文字 */
.news h3 {
    position: relative;
    font-size: 30px;
    color: #fff;
    margin: 0 0 20px 0;
    text-shadow: 0 0 10px rgba(250, 100, 250, 0.8);
}
.news h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: clamp(150px, 50%, 400px); /* 幅を可変に、最大幅は親要素の50%か400px */
    max-width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(96,176,255,1.0), rgba(96,96,255,0.6),rgba(160,64,240,0.3), rgba(160,32,230,0.0));
    border-radius: 1px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5sem;
}

.news-list li {
    border-bottom:1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1em;
    opacity: 0;
    animation: fadeInNews 0.6s ease forwards;
}

.news-list li:nth-child(1) { animation-delay: 0.8s; }
.news-list li:nth-child(2) { animation-delay: 1.0s; }
.news-list li:nth-child(3) { animation-delay: 1.2s; }

@keyframes fadeInNews {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-header {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
}

.news-category{
    margin: 0;
    font-size: 0.875rem; /* 12px, 可変, 14px */
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    height:30px;
    padding: 0 10px;
    border-radius: 10px 0 0 10px;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #fff;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.news-category[data-type="news-type-update"] {
    background: linear-gradient(45deg, #2196f3, #64b5f6);
}
.news-category[data-type="news-type-release"] {
    background: linear-gradient(45deg, #f44336, #ef5350);
}
.news-category[data-type="news-type-project"] {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
}
.news-category[data-type="news-type-info"] {
    background: linear-gradient(45deg, #ff9800, #ffb74d);
}
.news-category[data-type="news-type-maintenance"] {
    background: linear-gradient(45deg, #9e9e9e, #bdbdbd);
}
.news-category[data-type="news-type-blog"] {
    background: linear-gradient(45deg, #9c27b0, #ba68c8);
}

.news-timestamp {
    margin:0;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
    color: #aaa;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 0 10px 10px 0;
    backdrop-filter: blur(5px);
}

.news-description {
    font-size: clamp(0.875rem, 2.2vw, 1rem); /* 14px, 可変, 16px */
    color: #eee;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp:2;
    -webkit-box-orient: vertical;
}

.news > div { /* .news-list と .news-view-all の親DIV */
    display: flex;
    flex-direction: column;
}

.news-view-all {
    display: block;
    width:fit-content;
    margin-left: auto;
    margin-top: 20px;
    color: #aaa;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size:16px;
    white-space: nowrap;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.news-view-all:hover {
    color: #ffd93d;
    border-color: #ffd93d;
    background: rgba(255, 217, 61, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 217, 61, 0.2);
}

.loading {
    text-align: center;
    color: #aaa;
    font-size: 18px;
    margin: 40px 0;
}

.youtube-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    height:100%;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9), rgba(51, 51, 51, 0.9));
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    animation: slideIn 0.8s ease-out 0.6s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.youtube-section h3 {
    position: relative;
    font-size: 30px;
    color: #fff;
    margin: 0 0 20px 0;
    text-shadow: 0 0 10px rgba(250, 100, 100, 0.8);
}

.youtube-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: clamp(150px, 50%, 400px); /* 幅を可変に、最大幅は親要素の50%か400px */  
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1.0), rgba(255, 100, 100, 0.6), rgba(255, 150, 150, 0.3), rgba(255, 200, 200, 0.0));
    border-radius: 1px;
}

.youtube-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); /* 最小幅280px、画面が狭ければ100% */
    gap: clamp(15px, 2.5vw, 20px); /* 溝の調整 */
}

.youtube-video {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInVideo 0.6s ease forwards;
    display: flex;
    flex-direction: column;
}

.youtube-video:nth-child(1) { animation-delay: 0.8s; }
.youtube-video:nth-child(2) { animation-delay: 1.0s; }
.youtube-video:nth-child(3) { animation-delay: 1.2s; }

@keyframes fadeInVideo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.youtube-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
    /* height: 180px; */ /* 固定高さではなくアスペクト比で制御 */
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.video-info {
    padding: 15px;
    flex:1; /* 残りの高さを埋める */
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: clamp(0.875rem, 2.2vw, 1rem);
    font-weight: bold;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp:2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-wrap: wrap; /* 狭い画面で折り返し */
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    margin-top: auto; /* 下端に配置 */
    gap: 10px; /* 日付と再生回数の間 */
}

.video-views {
    background: rgba(255, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.loading, .error {
    text-align: center;
    padding: 40px;
    font-size: clamp(0.875rem, 2.2vw, 1rem);
}
.loading { color: #aaa; }
.error { color: #ff6b6b; background: rgba(255, 107, 107, 0.05); border-radius: 5px; }

.twitter-section {
    position: relative;
    width: 100%;
    height: 80%;
    padding: clamp(15px, 3vw, 30px);
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9), rgba(51, 51, 51, 0.9));
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.8s ease-out 0.6s both; /* newsSlideInと同じ */
}

.twitter-section h3 {
    position: relative;
    font-size: clamp(1.25rem, 2.8vw, 1.75rem); /* 20px, 可変, 28px */
    color: #fff;
    margin: 0 0 25px 0;
    text-shadow: 0 0 10px rgba(100, 100, 250, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}
.twitter-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: clamp(150px, 40%, 250px); /* 幅調整 */
    max-width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(29, 161, 242, 1.0), rgba(29, 161, 242, 0.6), rgba(29, 161, 242, 0.3), rgba(29, 161, 242, 0.0));
    border-radius: 1px;
}

.user-info {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: clamp(15px, 2.5vw, 20px); /* パディング調整 */
    margin-bottom: 20px;
    border: 1px solid rgba(29, 161, 242, 0.1);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards 0.8s;
    text-decoration: none;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    gap: 10px;
}

.stat-item {
    text-align: center;
    color: #fff;
    flex: 1; /* 等幅に */
}

.stat-number {
    font-size: clamp(1rem, 2.5vw, 1.25rem); /* 16px, 可変, 20px */
    font-weight: bold;
    color: #1da1f2;
    display: block;
}

.stat-label {
    font-size: clamp(0.625rem, 1.8vw, 0.75rem); /* 10px, 可変, 12px */
    color: #8899a6;
    margin-top: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading {
    text-align: center;
    color: #8899a6;
    padding: 40px;
}

.error {
    text-align: center;
    color: #ff6b6b;
    padding: 40px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.user-name {
    color: #fff;
    font-size: clamp(1rem, 2.2vw, 1.125rem); /* 16px, 可変, 18px */
    font-weight: bold;
    margin-bottom: 2px;
}

.user-handle {
    color: #8899a6;
    font-size: clamp(0.75rem, 2vw, 0.875rem); /* 12px, 可変, 14px */
}

#twitter-timeline-box
{
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: clamp(10px, 2vw, 15px);
    border: 1px solid rgba(29, 161, 242, 0.1);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards 0.8s;
    text-decoration: none;
    min-height: 300px;
}

.icons{
    margin-top: 20px;
    position: relative;
    width: 100%;
    min-height: 200px;
    height:20%;
    padding: clamp(15px, 3vw, 30px);
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9), rgba(51, 51, 51, 0.9));
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(1.25rem, 3vw, 1.875rem); /* 20px, 可変, 30px */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInIcons 0.8s ease-out 0.4s both;
    gap:10px;
}

@keyframes fadeInIcons {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
/* 追加するSNSアイコンのスタイル */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border-radius: 10%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #fff; /* ホバー時の基本色 */
}

/* 各SNSのブランドカラーをホバー時に適用する例 */
.social-icon.twitter:hover {
    background-color: #1DA1F2;
}
.social-icon.youtube:hover {
    background-color: #FF0000;
}
.social-icon.twitch:hover {
    background-color: #9c27b0;
}
.social-icon.github:hover {
    background-color: #333;
}
.social-icon.github:hover {
    background-color: #333;
}
.fa-q:hover{
    background-color: #00d90d;
}

.warn-text{
    display: none;
    color: #DDD;
    padding: 0px 10px;
}
/*レスポンシブ配置*/
@media screen and (max-width: 600px) {
    .main-banner-content {
        margin:10px;
    }
    .top-header{
        height: 100px;
    }
    .spacer {
        height: 50px;
    }
    .warn-text{
        display: block;
    }
}
