/* Google FontsからZen Maru Gothicを読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap');

:root {
    --nav-bg: #2b3033;
    --white: #ffffff;
    --blue: #5fc7ea;
    --red: #e68568;
    --yellow: #e6d068;
    --green: #68e6ac;
    --purple: #dd6eff;
    --light_blue: #dce3f2;
    --dark_blue: #091f5c;
    --orange: #e79a37;
    --ease: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --article-bg-color: #fcfcfc; /* わずかにオフホワイト */
    --article-border-color: #e0e0e0;
    --article-text-color: #333;
    --article-link-color: var(--blue);
    --article-heading-color: var(--dark_blue);
    --article-hr-color: #eee;
}

* {
    box-sizing: border-box;
}

body {
    /* フォントをZen Maru Gothicに変更 */
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 60px;
    backface-visibility: hidden;
}

.nav__list {
    display: flex;
    flex-flow: column wrap;
    height: 93vh;
    transform: translate(0, -100%);
    transition: var(--ease);
}

.nav__list--active {
    transform: translate(0, 0);
}

.nav__item {
    flex: 1;
    position: relative;
}

.nav__link {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    text-decoration: none;
    font-size: 24px;
    background: var(--nav-bg);
    transition: var(--ease);
    color: white;
}

.nav__link:hover {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .nav {
        width: 40px;
    }
    .nav__list {
        height: 95vh;
    }
}

.burger {
    height: 7vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: var(--nav-bg);
    cursor: pointer;
    transition: var(--ease);
}

.burger:hover {
    background: rgba(0, 0, 0, 0.1);
}

.burger__patty {
    position: relative;
    height: 2px;
    width: 40px;
    background: white;
    transition: var(--ease);
}

.burger__patty::before,
.burger__patty::after {
    content: "";
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background: white;
    transition: var(--ease);
}

.burger__patty::before {
    top: -10px;
}

.burger__patty::after {
    top: 10px;
}

.burger--active .burger__patty {
    transform: rotate(90deg);
}

.burger--active .burger__patty::before {
    transform: rotate(-45deg) translate(-7px,-7px) scaleX(0.7);
}

.burger--active .burger__patty::after {
    transform: rotate(45deg) translate(-7px,7px) scaleX(0.7);
}

@media (max-width: 640px) {
    .burger {
        height: 5vh;
    }
    .burger__patty {
        transform: scale(0.8);
    }
    .burger--active .burger__patty {
        transform: scale(0.8) rotate(90deg);
    }
}

.panel {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.panel#0 {
    min-height: 30vh;
    max-height: 30vh;
}

.panel__wrapper {
    padding: 7vh 7vw;
    perspective: 1000px;
}

.panel__content {
    will-change: transform;
    transform: scale(0.7) rotateX(-230deg);
    transform-origin: center 80%;
    opacity: 0;
    transition: var(--ease);
    align-items: center;
    z-index: 2;
}

.panel__content img {
    width: 100%;
    padding: 5%;
}

#news-container {
    max-height: 500px;
    overflow-y: hidden;
}

.panel__content table {
    width: 100%;
    padding: 0;
    border-spacing: 10px;
}

.panel__content table th {
    text-align: left;
    vertical-align: baseline;
    margin: 10px;
    font-size: 18px;
}

.panel__content table td {
    text-align: left;
    vertical-align: baseline;
    margin: 10px;
    font-size: 22px;
}

@media (max-width: 640px) {
    .panel__content table th {
        font-size: 3vw;
    }
    
    .panel__content table td {
        font-size: 3.5vw;
    }
}

.panel__content--active {
    transform: none;
    opacity: 1;
}

.panel__content__flex {
    display: flex;
    width: auto;
}

.panel__content__left {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel__content__right {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel__content__left img, .panel__content__right p {
    padding: 10px 0 10px 0;
}

.panel__content__left img, .panel__content__right img {
    padding: 0;
    margin: 0;
}

@media (max-width: 640px) {
    .panel__wrapper {
        padding: 2vh 2vw;
    }
    .panel__content__flex {
        display: block;
    }
    .panel__content__left {
        width: 100%;
        margin: 0;
    }
    .panel__content__right {
        width: 100%;
        margin: 0;
    }
    .panel__content__left img, .panel__content__right p {
        padding: 0;
        margin: 0;
    }
    
    .panel__content__left img, .panel__content__right img {
        padding: 0;
        margin: 0;
    }
}

.panel__headline {
    font-weight: 700;
    opacity: 0.8;
    /* 画面幅に応じて文字サイズを滑らかに調整 */
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2; /* 改行された際の行間を詰めて見た目を改善 */
    letter-spacing: -0.02em; /* 文字間を少し詰めてコンパクトに */
    margin: 0 0 25px 0;
}

.panel p {
    margin: 0 0 25px 0;
    color: rgba(0, 0, 0, 0.8);
    font-size: 24px;
    max-width: 800px;
}

.panel__block {
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 0 25px 0;
}

@media (max-width: 640px) {
    .panel__headline {
        font-size: 36px;
    }
    .panel__wrapper {
        padding: 10vh 10vw;
    }
    .panel p {
        font-size: 16px;
    }
}

.c-blue {
    color: var(--blue);
}

.c-red {
    color: var(--red);
}

.c-green {
    color: var(--green);
}

.c-yellow {
    color: var(--yellow);
}

.c-purple {
    color: var(--purple);
}

.c-light_blue {
    color: var(--light_blue);
}

.c-dark_blue {
    color: var(--dark_blue);
}

.c-orange {
    color: var(--orange);
}

.b-blue {
    background: var(--blue);
}

.b-red {
    background: var(--red);
}

.b-green {
    background: var(--green);
}

.b-yellow {
    background: var(--yellow);
}

.b-purple {
    background: var(--purple);
}

.b-light_blue {
    background: var(--light_blue);
}

.b-dark_blue {
    background: var(--dark_blue);
}

.b-orange {
    background: var(--orange);
}

.cover_logo {
    text-align: center;
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

.cover_logo img {
    padding: 0 15% 0 15%;
}

.cover_logo p {
    color: #5fc7ea;
    text-align: center;
    width: max-content; /* または適当な幅 */
    margin: 0 auto 40px auto;
    font-size: 3.5vh;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    50% {
        opacity: 25;
    }
    60% {
        opacity: 50;
    }
    70% {
        opacity: 75;
    }
    80% {
        opacity: 100;
    }
    90% {
        opacity: 50;
    }
    100% {
        opacity: 0;
    }
}

.sp_br {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp_br {
        display: block;
    }

    .cover_logo p {
        font-size: 3vh;
    }
}

.btn, a.btn, button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn-engine-start {
  position: relative;

  width: 145px;
  height: 145px;
  margin: 0 auto;

  border-radius: 50%;
  background: white;
  background: -webkit-linear-gradient(
    315deg,
    white 0%,
    white 22%,
    #ddd 44%,
    #a5a5a5 52%,
    black 100%
  );
  background: linear-gradient(
    135deg,
    white 0%,
    white 22%,
    #ddd 44%,
    #a5a5a5 52%,
    black 100%
  );
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.btn-engine-start:before {
  position: absolute;
  top: 7.5px;
  left: 7.5px;

  display: block;

  width: 130px;
  height: 130px;

  content: "";

  border-radius: 50%;
  background: #515151;
  background: -webkit-linear-gradient(
    -45deg,
    #515151 0%,
    #515151 19%,
    #ededed 50%,
    white 77%,
    white 100%
  );
  background: -webkit-linear-gradient(
    315deg,
    #515151 0%,
    #515151 19%,
    #ededed 50%,
    white 77%,
    white 100%
  );
  background: linear-gradient(
    135deg,
    #515151 0%,
    #515151 19%,
    #ededed 50%,
    white 77%,
    white 100%
  );

  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#515151', endColorstr='#ffffff', GradientType=1);
}

.btn-engine-start:hover a.btn-engine-start-in:before {
  top: 20px;

  background: #61c419;
  -webkit-box-shadow: 0 0 6px rgba(97, 196, 25, 0.3);
  box-shadow: 0 0 6px rgba(97, 196, 25, 0.3);
}

.btn-engine-start:hover a.btn-engine-start-in {
  padding: 37px 0 0;

  color: #b4e391;
  -webkit-box-shadow: inset 0 1px 1px black, 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 1px black, 0 1px 2px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 6px rgba(97, 196, 25, 0.3), 0 0 6px rgba(97, 196, 25, 0.3);
}

a.btn-engine-start-in {
  font-size: 14px;
  line-height: 1.2;

  position: absolute;
  top: 18px;
  left: 18px;

  width: 109px;
  height: 109px;
  padding: 35px 0 0;

  color: #fff;
  border-radius: 50%;
  background: #959595;
  background: -webkit-linear-gradient(
    -45deg,
    #959595 0%,
    #0d0d0d 46%,
    #010101 50%,
    #0a0a0a 69%,
    #1b1b1b 100%
  );
  background: -webkit-linear-gradient(
    315deg,
    #959595 0%,
    #0d0d0d 46%,
    #010101 50%,
    #0a0a0a 69%,
    #1b1b1b 100%
  );
  background: linear-gradient(
    135deg,
    #959595 0%,
    #0d0d0d 46%,
    #010101 50%,
    #0a0a0a 69%,
    #1b1b1b 100%
  );
  -webkit-box-shadow: inset 0 2px 2px white, 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 2px 2px white, 0 2px 4px rgba(0, 0, 0, 0.5);

  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#959595', endColorstr='#1b1b1b', GradientType=1);
}

a.btn-engine-start-in:before {
  position: absolute;
  top: 18px;
  left: calc(50% - 13px);

  width: 26px;
  height: 8px;

  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;

  border-radius: 10px;
  background: green;
  background: #555;
}

a.btn-engine-start-in span {
  font-size: 10px;
}

.tire {
    z-index: 3;
}

.scroll_indicator {
    position: fixed;
    left: 0;
    width: 60px;
    height: 60px;
    background: url('img/tire.png') no-repeat center center / contain;
    transition: top 0.1s linear;
}

@media (max-width: 640px) {
    .scroll_indicator {
        width: 40px;
        height: 40px;
    }
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
}
#popup img {
    max-width: 90vw;
    max-height: 90vh;
}
#popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.groups {
    display: flex;
    justify-content: space-evenly;
}

.group1, .group2, .group3 {
    width: 30%;
    margin: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (max-width: 640px) {
    .groups {
        display: block;
    }
    
    .group1, .group2, .group3 {
        width: 80%;
        margin: 0 10% 0 10%;
        overflow: hidden;
    }
}

.members {
    border: 0;
    text-align: center;
    display: block;
    padding: 14px;
    width: 250px;
    margin: auto;
    color: #ffffff;
    background-color: var(--orange);
    border-radius: 8px;
    font-weight: 600;
    font-size: 25px;
    text-decoration: none;
    transition: box-shadow 200ms ease-out;
}

@media (max-width: 640px) {
    .members {
        padding: 10px;
        width: 150px;
    }
}

.image_container {
    position: relative;
}

.image_in_text {
    text-align: center;
    position: relative;
    animation: poyoyon 3.5s infinite;
    /*animation: fade 10s infinite;*/
    opacity: 1;
}

.image_in_text:hover {
    color: rgba(0, 0, 0, 0);
}

.image_in_text h1 {
    /*background: blue url("img/cover.png");*/
    background-color: var(--orange);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.1em;
    margin: 0 0 0 0;
    font-size: 8vw;
    font-weight: bold;
}

.image_in_text p {
    background: blue url("img/cover.png");
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 0 0 0;
}

@media (max-width: 640px) {
    .image_in_text {
        font-size: 45px;
        margin-top: -130px;
    }

    .image_in_text i {
        font-size: 100px;
    }

    .image_in_text span {
        display: none;
    }
}

.arrows {
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 0px;
}

.arrows path {
    stroke: #2994D1;
    fill: transparent;
    stroke-width: 1px;  
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite; 
}

@keyframes arrow
{
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

@-webkit-keyframes arrow
{
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

.arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s;
}

.arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s;
}

.arrows path.a3 { 
    animation-delay:0s;
    -webkit-animation-delay:0s;
}

.map {
    max-width: 100%;
}

.logo {
    position: fixed;
    bottom: 3vh;
    left: 3vw;
    z-index: 2;
}

.logo i {
    font-size: 7vh;
    color: var(--nav-bg);
}

@media (max-width: 640px) {
    .logo i {
        font-size: 5vh;
    }
}

.logo img:hover {
    transform: rotate(360deg) scale(1.1);
}

.system {
    font-size: 12vw;
}
/* 1. ポップアップの背景（オーバーレイ） */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* 2. 画像を囲むコンテンツエリア */
.popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

/* 3. ポップアップで表示する画像 */
#popup-image {
    display: block; /* 画像下の余白を消す */
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}

/* 4. 閉じるボタン */
.popup-close {
    position: absolute;
    top: -40px; /* 画像の上部に配置 */
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.popup-close:hover {
    transform: scale(1.2);
}

.news-attachment-link {
    display: inline-flex; /* アイコンとテキストを中央揃えにするため */
    align-items: center;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 700;
    color: gray;
    background: rgba(255, 255, 255, 0.1); /* ガラス風の背景 */
    padding: 8px 15px;
    border-radius: 20px;
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px); /* 背景をぼかす */
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.news-attachment-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #5fc7ea;
    transform: translateY(-2px); /* 少し浮き上がるエフェクト */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-attachment-link .fa-image {
    margin-right: 8px;
}

.article-popup-content {
    position: relative;
    background-color: var(--article-bg-color); /* ★修正点：記事コンテンツ背景を完全に白に */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    width: 85%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--article-text-color); /* ★修正点：文字色を濃いグレーに */
    font-size: 1.05em;
    line-height: 1.7;
    border: 1px solid var(--article-border-color);
    animation: fadeInScale 0.3s ease-out forwards;
}

/* ポップアップの出現アニメーション */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Markdown要素のスタイル --- */
#article-content h1,
#article-content h2,
#article-content h3,
#article-content h4,
#article-content h5,
#article-content h6 {
    color: var(--article-heading-color);
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

#article-content h1 {
    font-size: 2.2em;
    border-bottom: 2px solid var(--article-border-color);
    padding-bottom: 0.3em;
}

#article-content h2 {
    font-size: 1.8em;
    border-bottom: 1px solid var(--article-border-color);
    padding-bottom: 0.2em;
}

#article-content h3 {
    font-size: 1.5em;
    color: var(--blue);
}

#article-content p {
    margin-bottom: 1em;
}

#article-content a {
    color: var(--article-link-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

#article-content a:hover {
    color: var(--dark_blue);
}

#article-content ul,
#article-content ol {
    margin-left: 1.5em;
    padding: 0;
    margin-bottom: 1em;
}

#article-content li {
    margin-bottom: 0.5em;
}

#article-content code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
    color: #c7254e; /* コードの色 */
}

#article-content pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
}

#article-content blockquote {
    border-left: 4px solid var(--blue);
    padding-left: 1em;
    margin-left: 0;
    font-style: italic;
    color: #666;
    background-color: #f9f9f9;
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 1em;
}

#article-content hr {
    border: none;
    border-top: 1px solid var(--article-hr-color);
    margin: 2em 0;
}

#article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#article-content pre {
    background-color: #282c34; /* ダークテーマの背景色 */
    color: #abb2bf; /* 明るいグレーの文字色 */
    padding: 1.5em 1em 1em 1em; /* パディングを調整 */
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
    position: relative; /* ラベルを配置するための基準 */
}

/* codeタグ自体のスタイル */
#article-content pre code {
    background-color: transparent; /* 親の背景色を継承 */
    padding: 0;
    color: inherit;
}

/* インラインの `code` タグ */
#article-content p code, #article-content li code {
    background-color: #f0f0f0;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
    color: #c7254e; /* 文字色 */
}

/* 言語ラベルの共通スタイル */
#article-content pre[class*="language-"]::before {
    position: absolute;
    top: 0;
    right: 15px;
    padding: 2px 8px;
    font-size: 0.8em;
    font-family: sans-serif;
    color: white;
    border-radius: 0 0 5px 5px;
    text-transform: uppercase;
}

/* Python用ラベル */
#article-content pre[class*="language-python"]::before {
    content: 'python';
    background-color: #3572A5;
}

/* Bash/Shell用ラベル */
#article-content pre[class*="language-bash"]::before,
#article-content pre[class*="language-sh"]::before,
#article-content pre[class*="language-shell"]::before {
    content: 'bash';
    background-color: #89e051;
    color: #333;
}

/* JavaScript用ラベル */
#article-content pre[class*="language-js"]::before {
    content: 'javascript';
    background-color: #f1e05a;
    color: #333;
}


/* 2. リストのスタイル */

/* 箇条書きリスト (点) */
#article-content ul {
    list-style: none; /* デフォルトの黒丸を削除 */
    padding-left: 1.2em;
}

#article-content ul li {
    position: relative;
    padding-left: 1.2em; /* マーカー分のスペースを確保 */
    margin-bottom: 0.5em;
}

#article-content ul li::before {
    content: '■'; /* マーカーの形状 */
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--blue); /* テーマカラーを使用 */
    font-size: 0.8em;
}

/* 番号付きリスト */
#article-content ol {
    padding-left: 2.2em;
}

#article-content ol li {
    padding-left: 0.5em;
    margin-bottom: 0.5em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-popup-content {
        width: 95%;
        padding: 25px;
        max-height: 85vh;
    }
    #article-content h1 { font-size: 1.8em; }
    #article-content h2 { font-size: 1.5em; }
    #article-content h3 { font-size: 1.2em; }
    .popup-close { top: -30px; right: 5px; font-size: 30px; }
}

/* Webkit系ブラウザのスクロールバーをカスタマイズ */
.article-popup-content::-webkit-scrollbar {
    width: 8px;
}

.article-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.article-popup-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.article-popup-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* === 背景アニメーション === */
#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0; /* コンテンツの背面に表示 */
}

.floating-icon {
    position: absolute;
    bottom: -150px; /* 画面下からスタート */
    opacity: 0;
    filter: grayscale(100%) brightness(200%); /* アイコンを白っぽくする */
    animation: floatUp ease-in-out;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.8; /* 表示中は少し透明にする */
    }
    100% {
        transform: translateY(-120vh); /* 画面上部へ移動 */
        opacity: 0;
    }
}
a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}