/* --- 全共通・ベーススタイル --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

/* ナビゲーション */
nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #000000;
}
.nav-links a {
    color: #666666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 25px;
    transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: #000000;
}

/* ヒーローセクション */
header {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}
.tagline {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 300;
    max-width: 500px;
}

/* メインコンテンツ (アプリグリッド) */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 120px 40px;
}
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 80px 40px;
}
.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.app-image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    background-color: #f7f7f7;
    border-radius: 38px; /* 美しいアプリアイコンの角丸 */
    margin-bottom: 25px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.app-card:hover .app-image {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.app-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.app-description {
    font-size: 0.85rem;
    color: #555555;
    margin-bottom: 24px;
    font-weight: 300;
    max-width: 260px;
    min-height: 40px; /* 説明文の高さの統一 */
}
.download-links {
    display: flex;
    gap: 12px;
}
.btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* 下層ページ用共通レイアウト (About, Contact, Privacy) */
.content-wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 60px 20px 120px 20px;
}
.page-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}
.content-body h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 35px 0 12px 0;
}
.content-body p {
    font-size: 0.9rem;
    color: #444444;
    font-weight: 300;
    margin-bottom: 20px;
}

/* フォーム専用スタイル (Contact用) */
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333333;
}
.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: #000000;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.submit-btn:hover {
    opacity: 0.85;
}
.contact-text {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 300;
    margin-bottom: 40px;
}

/* フッター */
footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.75rem;
    color: #999999;
    font-weight: 300;
    border-top: 1px solid #f2f2f2;
}
footer p {
    margin-bottom: 8px;
}
footer a {
    color: #999999;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    color: #000000;
}