@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: #cccccc;
    background: linear-gradient(
        45deg,
        #262d4e,
        rgb(36, 69, 73),
        #480685,
        rgb(16, 4, 182)
    );
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.container {
    position: relative;
    width: 100%;
    
}


.title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px; /* タイトルと画像の間隔を追加 */
}

.title {
    font-family: 'Arial Black','ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN',sans-serif;
    color: #eaf4fc;
    font-size: 12em; /* 4emから6emに変更 */
    line-height: 80%;
    margin: 0;
    position: relative;
}

.title.glitched {
    position: relative;
    font-style: italic;
}

.title.glitched::before,
.title.glitched::after {
    content: 'Narurea';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.title.glitched::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.title.glitched::after {
    left: -2px;
    text-shadow: 2px 0 #00fff9;
    animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% {
        clip: rect(20px, 9999px, 15px, 0);
    }
    20% {
        clip: rect(12px, 9999px, 78px, 0);
    }
    40% {
        clip: rect(48px, 9999px, 23px, 0);
    }
    60% {
        clip: rect(35px, 9999px, 85px, 0);
    }
    80% {
        clip: rect(72px, 9999px, 21px, 0);
    }
    100% {
        clip: rect(25px, 9999px, 56px, 0);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(25px, 9999px, 99px, 0);
    }
    20% {
        clip: rect(55px, 9999px, 14px, 0);
    }
    40% {
        clip: rect(71px, 9999px, 92px, 0);
    }
    60% {
        clip: rect(62px, 9999px, 43px, 0);
    }
    80% {
        clip: rect(15px, 9999px, 87px, 0);
    }
    100% {
        clip: rect(45px, 9999px, 55px, 0);
    }
}

/* 画像とテキストのスタイルを追加 */
/* .imgtのスタイルを修正 */
.imgt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-left: 0px;
}

/* 画像のスタイルを追加 */
.imgt img {
    padding-top: 65px;
    max-width: 400px; /* 画像の最大幅を設定 */
    height: auto;
    margin-top: 50px; /* タイトルとの間隔を設定 */
    display: block;
}

/* タイトルコンテナの調整 */
.title-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

/* 説明文の調整 */
.description {
    font-family: "Space Grotesk", serif;
    font-size: 1.5em;
    margin-top: 30px;
    max-width: 600px;
    text-align: center;
}


/* メニューのベーススタイル */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
    background-color: #2b2b2b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
    z-index: 1000;
}

/* メニューリンクのスタイル */
.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 0.1em 0em;
    position: relative;
}

/* グリッチメニューのスタイル */
.glitch-menu {
    font-family: "Space Grotesk", serif;
    position: relative;
    &:before,
    &:after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    &:before {
        color: #0ff;
        z-index: -1;
    }

    &:after {
        color: #f0f;
        z-index: -2;
    }

    &:hover {
        color: #fff;
        
        &:before {
            opacity: 1;
            animation: glitch-menu 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
        }
        
        &:after {
            opacity: 1;
            animation: glitch-menu-2 0.3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
        }
    }
}




/* グリッチアニメーション */
@keyframes glitch-menu {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    to {
        transform: translate(0);
    }
}

@keyframes glitch-menu-2 {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(2px, -2px);
    }
    40% {
        transform: translate(2px, 2px);
    }
    60% {
        transform: translate(-2px, -2px);
    }
    80% {
        transform: translate(-2px, 2px);
    }
    to {
        transform: translate(0);
    }
}

/* その他の必要なスタイル */
.container {
    width: 100%;
    margin: 0;
    padding-top: 60px;
}

#top {
    padding-top: 65px;
}

.section {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini_section {
    min-height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.menu p {
    margin: 10px 0;
}

.section-title {
    font-family: "Space Grotesk", serif;
    font-weight: 2000;
    color: #eaf4fc;
    font-size: 4em;
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
}

/* ターミナルウィンドウのスタイル */
.terminal-window {
    background: #1a1a1a;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    width: 800px; /* 600pxから800pxに変更 */
    margin: 20px auto;
}

.terminal-header {
    background: #2d2d2d;
    height: 30px;
    border-radius: 6px 6px 0 0;
    padding: 0 8px;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27c93f;
}

.terminal-title {
    color: #9d9d9d;
    font-size: 14px;
    margin-left: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: right;
}

.terminal-content {
    padding: 20px;
    font-family: "Courier New", monospace;
    color: #00ff00;
}


/* アスキーアートのフォントサイズを調整 */
.ascii-art {
    color: #00ff00;
    font-size: 14px; /* 12pxから14pxに変更 */
    line-height: 1.2;
    margin: 0 0 20px 0;
    white-space: pre;
    font-family: 'Courier New', monospace;
}

.terminal-text {
    font-size: 14px;
    margin-top: 20px;
}

.discord-link {
    color: #7289da;
    text-decoration: none;
}

.discord-link:hover {
    text-decoration: underline;
}
.bot-stats {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}


.stat-card {
    background: rgba(47, 49, 54, 0.6);
    border-radius: 10px;
    padding: 20px 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-title {
    color: #ccc;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.stat-value {
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Arial Black', sans-serif;
}

.loading {
    font-size: 0.5em;
    color: #888;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

.bot-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 20px;
}
p.section-title.glitched {
    font-weight: 900;
    margin-bottom: 10px; /* Reduced from default spacing */
}
.bot-info-left, .bot-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bot-info-left img {
    max-width: 200px;
    height: auto;
}

.bot-info-right {
    justify-content: center;
}

.button10 {
    display: inline-block;
    background: linear-gradient(to right, #00ff6a 0%, #41ad4a 45%, #008b51 100%);
    background-size: 200% auto;  
    color: #000000;
    border-radius: 20px;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 1em;
    transition: .5s;
    font-weight: 900;
  }
.button10:hover {
  color: #fff;
  background-position: right center;
}

ul.sns_demo {
    margin: 0;
    max-width: 600px;
    display: flex; /* flexboxを使用 */
    justify-content: center; /* 中央揃え */
    gap: 20px; /* ロゴ間のスペース */
    font-size: 0;
    z-index: 1;
}

ul.sns_demo li {
    /* widthの計算は不要になります */
    display: block; /* inline-blockから変更 */
    vertical-align: top;
    margin: 0;
}
ul.sns_demo li a {
    display: block;
    max-width: 120px;
    margin: 0 auto;
    position: relative;
}
ul.sns_demo li img.off {
    transition: 0.5s all;
    position: relative;
    z-index: 2;
}
ul.sns_demo li img.on {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
ul.sns_demo li a:hover img {
    opacity: 1;
    border-radius: 10px;
}
ul.sns_demo li a:hover img.off {
    opacity: 0;
    border-radius: 50px;
}

ul.sns_demo li img.off,
ul.sns_demo li img.on {
    border-radius: 50px; /* 角の丸みの度合いを調整できます */
}

.hr1 {
    position: relative;
      height: 3px;
      margin: 0 auto;  /* 中央揃えにする */
      border-width: 0;
      background-color: #00bcd4;
      background-image: -webkit-linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
      background-image: linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
  }

.hr2 {
    position: relative;
      height: 3px;
      margin: 0 auto;  /* 中央揃えにする */
      width: 60%;      /* 長さを80%に設定 */
      border-width: 0;
      background-color: #00bcd4;
      background-image: -webkit-linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
      background-image: linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
  }

  /* モバイル対応のメディアクエリ */
@media (max-width: 767px) {
    .title-container {
        margin-top: 50px;
    }
    /* タイトルサイズの調整 */
    .title {
        font-size: 4em;
        text-align: center;
        width: 100%;
    }

    /* メニューの調整 */
    .menu {
        gap: 0.2em;
        padding: 0 10px;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible; /* オーバーフローを表示 */
    }

    .menu-link {
        font-size: 0.1em;
        padding: 10px 5px;
    }

    /* Ensure the button stands out on mobile */
    .menu {
        padding-bottom: 10px;
    }

    /* コンテナの中央寄せ */
    .container {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 画像のレスポンシブ対応 */
    .imgt img {
        padding-top: 25px;
        max-width: 50%;
        height: auto;
    }

    /* ターミナルウィンドウの調整 */
    .terminal-window {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }

    /* ASCII artの調整 */
    .ascii-art {
        font-size: 8px;
        overflow-x: auto;
    }

    .bot-info-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
        margin-top: 0; /* Ensure no extra space on mobile */
    }
    p.section-title.glitched {
        margin-bottom: 5px; /* Even smaller margin on mobile */
    }

    .bot-info-left, .bot-info-right {
        width: 100%;
        text-align: center;
    }

    .bot-info-left img {
        max-width: 150px; /* Slightly smaller image on mobile */
    }

    .bot-stats {
        width: 100%;
    }

    .stat-card {
        width: 100%;
        padding: 15px 20px;
    }

    .interactive-link {
        transition: all 0.3s ease-out;
        cursor: pointer;
    }
    /* SNSアイコンの調整 */
    ul.sns_demo {
        flex-wrap: wrap;
        padding: 0;
    }

    ul.sns_demo li {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }

    /* セクションタイトルの調整 */
    .section-title {
        font-size: 2em;
        text-align: center;
    }

    /* 説明文の調整 */
    .description {
        font-size: 1.2em;
        padding: 0 15px;
    }
    .stat-title {
        color: #ccc;
        font-size: 1em;
        margin-bottom: 10px;
    }
    iframe {
        width: 90%;
        height: 200px; /* 高さを小さく */
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 30px;
    }

    .footer-right {
        text-align: center;
    }
    
    .footer-left {
        margin-bottom: 20px;
    }

    .footer-menu {
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .footer-menu a {
        font-size: 0.6em;
    }
}

.site-footer {
    background: #2b2b2b;
    padding: 40px 20px;
    margin-top: 50px;
    width: 100%;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    
}

.footer-left {
    flex: 0 0 auto;
}

.footer-right {
    flex: 0 0 auto;
    text-align: right;
    z-index: 1;
}

.footer-title {
    font-family: 'Arial Black', 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
    color: #eaf4fc;
    font-size: 4em;
    margin: 0 0 10px 0;
}

.footer-address {
    color: #cccccc;
    margin: 0;
    font-size: 1em;
}

.footer-menu {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 20px;
    z-index: 1;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-copyright {
    color: #888888;
    margin: 0;
    font-size: 0.9em;
}

.site-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.icon-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-icon:hover {
    transform: translateY(-50%) scale(1.1);
}

.site-icon:active {
    transform: translateY(-50%) scale(0.95);
}

/* メニューの既存のスタイルを調整 */
.menu {
    /* 既存のスタイル */
    padding: 0 60px; /* アイコンのためのスペースを確保 */
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: black;
    pointer-events: none; /* この行を追加 */
}