:root {
    --mTime: 15s;
}

.rotate {
    animation: rotate 0.4s linear infinite;
    display: inline-block;
}

.marquee {
    animation: marquee var(--mTime) linear infinite;
}

.runnning{
    background: white;
    color: black;
    width: 100%;
    overflow: hidden;
}
/* Google Chrome, Safari */
.runnning::-webkit-scrollbar {
    display: none;
}

/* Firefox */
.runnning {
    scrollbar-width: none;
}

.repeat {
    animation: repeat var(--mTime) steps(1) infinite;
    display: inline-block;
}

@keyframes rotate {
    0% {
        transform: rotateZ(0);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

@keyframes marquee {
    0% {
        transform: translate(-50%);
    }

    50% {
        transform: translate(120%);
    }

    100% {
        transform: translate(-50%);
    }
}

@keyframes repeat {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(0);
    }
}

body {
    margin: 0;
    background: #fafaf9;
}

#footer{
    background: #7cc3d3;
    color: white;
    text-align: center;
}

#hero{
    background: #7cc3d3;
    padding: 0;
    margin: 0;
}

#hero img {
    display: block; /* 画像をブロック要素として表示 */
    margin: 0 auto;
    padding: 0; /* 上下左右のパディングをゼロに設定 */
    width: 100%; /* ヒーロー画像の幅を100%に設定 */
    height: auto; /* アスペクト比を維持して高さを自動に設定 */
}

@media screen and (min-width: 1200px) {
    #hero img {
        width: 1200px; /* PCの場合は1200pxに設定 */
    }
}

/* メインコンテンツのコンテナ */
.main {
    margin: 10px;
}

/* 左側の文字コンテンツ */
.text-content {
    flex: 1; /* 幅を可変にする */
    padding: 20px; /* 余白を追加 */
}


/* 左側に子コンテンツを並列させる */
.container {
    display: flex;
}

.child {
    flex: 1;
}


/* 右側の全身図 */
.full-body-images {
    flex: 1; /* 幅を可変にする */
    padding: 20px; /* 余白を追加 */
    text-align: center;
}

.full-body-images img {
    display: none; /* 画像を非表示にする */
    margin: 0 auto;
}

.full-body-images img.active {
    display: block; /* 表示される画像 */
    max-width: 100%; /* 画像の最大幅 */
    height: auto; /* 高さを自動に設定 */
}

/* レスポンシブデザインのためのメディアクエリ */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column; /* 画面が狭い場合は縦に並べる */
    }
    .text-content, .full-body-image {
        width: 100%; /* 幅を100%に設定 */
    }
}

/* モーダル */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px; /* サムネイル画像の幅を設定 */
    height: auto;
    margin: 10px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0.3,0.3,0.3,0.6);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
}

.close {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* リンクボタン */
.social-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    width: 115px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-transform: none;
    color: #fff;
    font-size: 16px;
}

.social-button i {
    margin-right: 5px;
}

.twitch {
    background-color: #9449ff;
}

.youtube {
    background-color: #fd0101;
}

.bluesky {
    background-color: #1385fe;
}

.io {
    background-color: #96d04a;
}