* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.php-content {
    background-color: transparent; /* 背景を透明にする */
}

h1 a {
    color: white;
    text-decoration: none;
}

h1 a:hover {
    color:#06f096;
}

small {
    color: rgb(250, 247, 247);
}

.showcase {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #111111;
    color: #fff;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 2.5s;
}

.showcase.active {
    position: absolute;
    right: 300px;
}

.showcase header{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
    padding: 40px 100px;
    z-index: 1000;
}

.toggle {
    background: url("../img/Hamburger_bule.png");
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: center;
    cursor: pointer;
    transition: 0.8s;
}

.toggle.active {
    background: url("../img/Hamburger_bule.png");
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: center;
    cursor: pointer;
    transition: 0.8s;
}

.toggle:hover {
    transform: translateY(-15px);
}

.menu{
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;

    
      background: linear-gradient(-45deg, rgba(255, 110, 196, 0.8), rgba(120, 115, 245, 0.8), rgba(74, 222, 222, 0.8), rgba(196, 252, 239, 0.8));
      background-size: 400% 400%;
      animation: gradientMove 8s ease infinite;
}

    @keyframes gradientMove {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

.menu ul {
    list-style: none;
    font-size: 24px;
}

.menu ul a {
    text-decoration: none;
    color: #111;
    transition: 0.2s;
}

.menu ul a:hover {
    color: #03a9f4;
}

.showcase video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.text {
    z-index: 10;
}

.text h2 {
    
    font-size: 5em;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1em;
}

.text h3 {
    
    font-size: 3em;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5); /* 白、50%の不透明度 */
    line-height: 1em;
}

.text p {
    
    font-size: 1.1em;
    margin: 20px 0;
    color: #fff;
    max-width: 700px;
}

.text a {
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    background: #fff;
    padding: 10px 30px;
    color: #111;
    opacity: 0.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.5s;
}

.text a:hover {
    letter-spacing: 6px;
    background: #8e99fa;
    opacity: 0.8;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #03a9f4;
    mix-blend-mode: overlay;
}

.social {
    position: absolute;
    bottom: 100px;
    display: flex;
}

.social-2 {
    position: absolute;
    bottom: 20px;
    display: flex;
}

.social li, .social-2 li {
    list-style: none;
    position: relative; /* ← これが必要 */
}

.social li a, .social-2 li a {
    display: inline-block;
    margin-right: 20px;
    transition: 0.6s;
}

.social li a:hover, .social-2 li a:hover {
    transform: translateY(-15px);
    transition: 1.1s;
}

.menu ul  a.nav-arrow {
    all: unset;
    display: inline-block;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu ul a.nav-arrow:hover {
    color: rgb(245, 9, 9);  /* ホバー時の色 */
    transform: translateY(-50%) scale(1.5);  /* ホバー時の拡大 */
}


.img-top {
    position: fixed;
    left: 50%;
    top: 15px;
    display: flex;
    list-style: none;
    z-index: 10;
}

.img-top a {
    display: inline-block;
    margin-right: 20px;
    transition: 0.2s;
}

.img-top a:hover {
    transform: translateY(-15px);
    transition: transform 0.8s ease;
}

.img-return {
    position: fixed;
    left: 50%;
    top: 40px;
    display: flex;
    list-style: none;
    z-index: 10;
}

.img-return a {
    display: inline-block;
    margin-right: 20px;
    transition: 0.2s;
}

.img-return a:hover {
    transform: translateY(-15px);
    transition: transform 0.8s ease;
}

/*ニューステロップ*/
    .news-bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
    }

    .news-category {
        width: 120px;
        text-align: center;
        padding: 5px;
        font-weight: bold;
        font-size: 0.9em;
    }

    .news-container {
        flex: 1;
        overflow: hidden;
    }

    .news-item {
        white-space: nowrap;
        display: inline-block;
        font-size: 1.1em;
        animation: scroll-left 20s linear;
    }

    .news-item a {
        color: #fff;
        text-decoration: none;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    
    /* ツールチップのスタイル */
    .tooltip-text {
        position: absolute;
        bottom: 100%; /* 画像の上に表示 */
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(196, 153, 229, 0.5);
        color: #fff;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
        z-index: 20; /* ツールチップを画像の上に表示 */
    }
    ul a:hover .tooltip-text {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-4px); /* 画像の上にちょっとフワッと表示 */
    }