/* 全体の背景画像を追加 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('./aseets/IMG_0639.jpg'); /* 背景画像のパス */
    background-size: cover; /* 背景画像を全体にフィットさせる */
    background-position: center; /* 画像を中央に配置する */
    background-repeat: no-repeat; /* 背景画像を繰り返さない */
    background-attachment: fixed; /* 背景を固定 */
}

/* 黒のオーバーレイセクション */
.overlay {
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    padding: 50px;
    text-align: center;
}

h1, h2 {
    margin: 0;
    color: white; /* テキストの色を白に */
}

/* App List Section */
#app {
    padding: 60px 0; /* 上下に余白を追加 */
}

.app-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px; /* 固定幅に設定 */
    margin: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* 黒の半透明背景 */
    border-radius: 10px;
    color: white; /* テキストの色を白に */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 軽いシャドウを追加 */
}

.app-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.app-item span {
    font-size: 24px;
    margin-bottom: 10px;
}

.btn {
    font-size: 18px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.btn-placeholder {
    height: 40px;
    visibility: hidden; /* 見えない状態にする */
}

.btn:hover {
    background-color: #0056b3;
}

/* Contact Us Section */
#contact {
    max-width: 600px;
    margin: 80px auto; /* 上下左右に余白を追加し、中央寄せ */
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* シャドウ効果を追加 */
    border-radius: 10px;
    text-align: center;
}

#contact h5 {
    color: #ffffff;
    text-align: left;
}

#contact p, #contact a {
    color: #ffffff;
}

#contact a {
    font-size: 18px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

#contact a:hover {
    background-color: #0056b3;
}

/* モーダルのスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    max-height: 70%;
    overflow-y: auto;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
