/* --- Cyber Jade-Blue: Mobile Optimized --- */



@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');



/* コンテナ全体の背景設定 */

.site-container {

    background: #010408;

    background-image: 

        radial-gradient(circle at 50% 50%, #031422 0%, #010408 100%),

        linear-gradient(rgba(0, 180, 255, 0.03) 1px, transparent 1px),

        linear-gradient(90deg, rgba(0, 180, 255, 0.03) 1px, transparent 1px);

    background-size: 100% 100%, 30px 30px, 30px 30px;

    font-family: 'Sacramento', 'Meiryo', 'Osaka', sans-serif;

    color: #a3b0b8;

    letter-spacing: 1.2px;

    line-height: 1.8;

    margin: 0;

    padding: 0;

    overflow-x: hidden;

    position: relative;

    min-height: 100vh;

}



/* 上部アクセントバー：スマホでも見切れないよう調整 */

.top-accent {

    position: absolute;

    top: 0;

    left: 0;

    width: 120%;

    height: 100px;

    margin: -40px -10% 0px;

    background: linear-gradient(90deg, #002d4d, #00d2ff, #002d4d);

    border-bottom: 4px solid #b3f0ff; 

    transform: rotate(-4deg);

    z-index: 1;

    box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);

    opacity: 0.9;

}



.content-wrap {

    position: relative;

    z-index: 10;

    padding-top: 60px;

    margin: 0 auto;

    width: 92%; /* スマホ用に余白を少し確保 */

    max-width: 600px;

}



/* タイトル：スマホで大きすぎないよう可変サイズに */

.site-title {

    font-family: 'Sacramento', cursive;

    font-size: clamp(38px, 12vw, 60px);

    color: #b3f0ff;

    text-align: center;

    margin: 30px 0 20px;

    font-weight: normal;

    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8), 0 0 20px rgba(0, 210, 255, 0.4);

}



/* メニュー：スマホでタップしやすいサイズと間隔 */

.nav-menu {

    text-align: center;

    margin-bottom: 40px;

    display: flex;

    flex-wrap: wrap; /* 画面が狭い時に折り返す */

    justify-content: center;

    gap: 10px;

}



.nav-menu a {

    flex: 1 1 40%; /* 2列並びを基本に、狭いと1列に */

    min-width: 120px;

    background: rgba(5, 15, 25, 0.8);

    color: #00d2ff;

    font-size: 18px;

    font-family: 'Sacramento', cursive;

    font-weight: bold;

    text-decoration: none;

    padding: 8px 10px;

    border-radius: 4px;

    border: 1px solid rgba(0, 210, 255, 0.3);

    transition: 0.3s;

}



.nav-menu a:active { /* スマホのタップ時反応 */

    background: rgba(0, 210, 255, 0.2);

    transform: scale(0.98);

}



/* ボックスデザイン：パディングをスマホ用に調整 */

.main-box, .sub-box {

    width: 100%;

    margin-bottom: 25px;

    border-radius: 4px;

    padding: 1.5em; /* パディングを少し狭くしてコンテンツ幅を確保 */

    box-sizing: border-box;

    font-family: sans-serif, 'Meiryo';

    backdrop-filter: blur(8px);

}



.main-box {

    background-color: rgba(5, 20, 30, 0.85);

    border: 1px solid #00d2ff;

    border-left: 5px solid #00d2ff;

    color: #e0f4ff;

}



.sub-box {

    background-color: rgba(2, 6, 12, 0.9);

    border: 1px dashed #004d80;

    color: #7a868c;

    font-size: 11px; /* サブ情報は少し小さめに */

}



.custom-hr {

    border: none;

    border-top: 1px solid rgba(0, 210, 255, 0.2);

    margin: 30px 0;

}



.footer-link {

    text-align: center;

    font-family: sans-serif;

    font-size: 12px;

    padding-bottom: 50px;

}



.footer-link a {

    color: #00d2ff;

    text-decoration: none;

    font-weight: bold;

}