@charset "utf-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

html, body {
    font-family: "游ゴシック体", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    display: flex;
    width: 100%;
    height: 70px;
    background-image: linear-gradient(
        rgba(255, 255, 255, 0.2), /* 透明度を調整 */
        rgba(255, 255, 255, 0.2)
      ),
      url('../img/background-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 28px;
    color: rgb(232, 33, 99);
    margin: 15px;
}

h2 {
    display: block;
    text-align: center;
    font-size: 30px;
    color: palevioletred;
    text-decoration: none;
    width: 300px;
    margin: 10px;
    padding: 5px;
    border: solid 2px palevioletred;
}

#menu-bar {
    font-size: 20px;
    display: flex;
    justify-content: flex-start;
    color: #000;
    background-color: transparent;
    position: absolute;
    align-items: center;
    width: 100%;
    height: 60px;
    top: 70px;
    flex: 1;
    z-index: 900;
}

#menu-bar.fixed {
    position: fixed;
    top: 0; /* スクロール時に固定 */
}

#menu-bar a {
    margin-left: 15px;
    font-size: 15px;
    color: white;
    text-decoration: none;
}

#menu-bar p {
    color: #000;
}

#menu-button {
    position: absolute;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 37px;
    top: 0;
    right: 0;
    text-align: center;
    background-color: #e1dede;
}

.menu-icon {
    margin-top: -5px;
}

#menu-overlay {
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: right;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
  }
  
.menu-overlay-content {
    display: flex;
    flex-direction: column;
    width: 65%;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2px;
    color: #000;
    background: white;
    z-index: 1005;
}

#menu-close-button {
    display: flex;
    background: none;
    font-size: 150px;
    font-weight: lighter;
    margin: 5px;
    color: white;
    border: none;
}

.menu {
    display: flex;
    flex-direction: column;
    font-size: 25px; /* 少し小さめにして可読性UP */
    margin: 0;
    padding: 10px;
}

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

.menu li {
    margin-bottom: 15px;
}

.menu a {
    display: block;
    text-decoration: none;
    color: palevioletred;
    transition: color 0.2s, transform 0.2s; /* スムーズな変化 */
}

.menu a:hover {
    color: red; /* ホバー時の色変更 */
    transform: scale(1.05); /* ちょっと拡大 */
}

main {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 50px 0;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}

.game-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.game-section video {
    width: 250px;
    height: 380px;
    margin: 10px;
}

.game {
    display: block;
    flex-direction: column;
    width: 250px;
    height: 220px;
    margin: 10px auto;
    text-decoration: none;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.game img {
    display: block;
    width: 60%;
    height: auto;
    border: solid 2px black;
    border-radius: 20px;
    margin: 5px auto;
    transition: transform 0.2s; /* 画像をホバーしたときのエフェクト */
}

.appimg {
    display: block;
    width: 60%;
    height: auto;
    margin: 20px auto;
}

.game:hover img {
    transform: scale(1.05);
}

.apple-badge {
    margin: 30px;
}

p {
    line-height: 2rem;
    margin-bottom: 10px;
}

.main-contents {
    text-align: center;
    padding: 5px;
}

footer {
    background-color: rgb(48, 48, 48);
    font-size: 18px;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    bottom: 0;
}

.footer-menu {
    display: none;
    max-width: 20vw;
    border-left: white solid 1px;
    line-height: 3;
}

footer span {
    font-size: 20px;
    color: white;
    margin: 10px 0;
}

footer a {
    font-size: 15px;
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.overlay {
    position: fixed; /* 画面上に固定 */
    top: 0;
    left: 50%; /* 横中央 */
    transform: translateX(-50%); /* 中央揃え */
    background: white;
    border: 1px solid #ddd;
    z-index: 1300;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: none;
}

.overlay-content {
    width: 95%;
    height: 100%;
}

.overlay-content iframe {
    width: 100%;
    height: 550px;
    border: none;
}

.information-area {
    width: 100%;
    height: 90vh;
    background-color: skyblue;
    color: #000;
    font-size: 30px;
    padding-bottom: 50px;
    overflow: hidden;
}

.information-area p {
    margin: 30px;
}
