/* Reset & Base Styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #111;
    color: #fff;
    text-align: center;
}
a{
    color:#ffffff;
}
a:hover{
    color:#ffffff;
}
a:visited{
    color:#ffffff;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10%;
    background-color: #181818;
    text-align: center;
    color: white;
}

.hero-content {
    z-index: 2; /* テキストが上に表示されるように */
}

.hero h1 {
    font-size: 2.5rem;
    margin: 20px 0 10px;
}

.hero p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.appstore {
    margin: 20px 0;
    width: 200px;
}

/* Hero Image as an Element */
.hero-image-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 1200px; /* 最大幅を設定 */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

/* モバイル対応 */
@media (max-width: 800px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 90%;
    }
}
/* Pricing Section */
.pricing {
    padding: 60px 10%;
    background-color: #2A2A2A; /* 落ち着いた背景色 */
    color: #FFFFFF;
    text-align: center;
    margin: 50px 0; /* 上下の余白を追加 */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 20px; /* タイトル下の余白 */
    line-height: 1.4; /* 行間を調整 */
}

.pricing p {
    font-size: 1.2rem;
    margin: 15px 0; /* 各段落の上下に余白 */
    line-height: 1.6; /* 行間を広げて読みやすく */
}

/* モバイル対応 */
@media (max-width: 800px) {
    .pricing {
        padding: 40px 5%;
        margin: 30px 0;
    }

    .pricing h2 {
        font-size: 1.5rem;
    }

    .pricing p {
        font-size: 1rem;
        line-height: 1.5;
    }
}
/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 10%;
}
.feature {
    width: 300px;
    margin: 20px;
    text-align: center;
}
.feature img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
}
.feature h2 {
    font-size: 1.5rem;
    margin-top: 15px;
}
.feature p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 20px;
    font-size: 0.9rem;
    background: #000;
}
footer a{
    color:#fff;
}
/* Privacy Policy Page */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}
.container h1, .container h2 {
    color: #fff;
}
.container a {
    color: #1e90ff;
    text-decoration: none;
}
.container a:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery {
    padding: 50px 10%;
    text-align: center;
    background: #181818;
}
.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* PC では4列、タブレットは3列、スマホは2列で折り返し */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}

/* モーダル（拡大画像表示） */
.modal {
    display: none; /* 初期状態で非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center; /* 縦方向の中央配置 */
    justify-content: center; /* 横方向の中央配置 */
    opacity: 0; /* フェードイン用 */
    transition: opacity 0.3s ease-in-out; /* ふわっと表示 */
}

/* モーダル表示時 */
.modal.show {
    opacity: 1; /* フェードイン完了 */
}

/* モーダル内の画像 */
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
    transform: scale(0.8); /* 最初は小さめ */
    transition: transform 0.3s ease-in-out; /* ふわっと拡大 */
}

/* 拡大表示時にアニメーション */
.modal.show .modal-content {
    transform: scale(1);
}

/* 閉じるボタン */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #ccc;
}
/* Update Information Section */
.update-header{
    margin:50px auto;
}
.update-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    text-align: left;
}

.update {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.update:last-child {
    border-bottom: none;
}

.update h2 {
    font-size: 1.8rem;
    color: #E66666;
    margin-bottom: 10px;
}

.update p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 800px) {
    .update-container {
        padding: 15px;
        margin: 30px auto;
    }

    .update h2 {
        font-size: 1.5rem;
    }

    .update p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Privacy Policy Section */
.privacy-policy {
    padding: 60px 10%;
    margin: 50px auto; /* 上下左右に十分な余白を追加 */
    background-color: #f7f7f7; /* 柔らかい背景色 */
    color: #333333; /* 文字色を濃くして読みやすく */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 影を追加して立体感 */
    max-width: 800px; /* 読みやすい幅に制限 */
    line-height: 1.8; /* 行間を広げて読みやすく */
    text-align: left; /* 左寄せで読みやすく */
}

.privacy-policy h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-policy p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* モバイル対応 */
@media (max-width: 800px) {
    .privacy-policy {
        padding: 40px 5%;
        margin: 30px auto;
    }

    .privacy-policy h1 {
        font-size: 1.5rem;
    }

    .privacy-policy h2 {
        font-size: 1.3rem;
    }

    .privacy-policy p {
        font-size: 1rem;
        line-height: 1.6;
    }

}