/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    padding: 24px 0;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

header h1 a {
    color: white;
    text-decoration: none;
}

header .tagline {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.hero p {
    color: #6e6e73;
    margin-bottom: 8px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature h3 {
    font-size: 1.1rem;
    color: #007AFF;
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.9rem;
    color: #6e6e73;
}

/* Policy Page */
.policy {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.policy h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.policy .updated {
    color: #6e6e73;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.policy section {
    margin-bottom: 32px;
}

.policy h3 {
    font-size: 1.2rem;
    color: #1d1d1f;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e7;
}

.policy h4 {
    font-size: 1rem;
    color: #333;
    margin: 16px 0 8px;
}

.policy p {
    margin-bottom: 12px;
    color: #333;
}

.policy ul {
    margin: 12px 0;
    padding-left: 24px;
}

.policy li {
    margin-bottom: 8px;
    color: #333;
}

.policy a {
    color: #007AFF;
    text-decoration: none;
}

.policy a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.contact p {
    color: #6e6e73;
    margin-bottom: 24px;
}

.form-container {
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
}

.form-container iframe {
    display: block;
    min-height: 700px;
}

/* Footer */
footer {
    background: #1d1d1f;
    color: white;
    padding: 24px 0;
    text-align: center;
}

footer nav {
    margin-bottom: 16px;
}

footer nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
}

footer nav a:hover {
    color: white;
}

footer .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .policy,
    .contact {
        padding: 24px;
    }

    .policy h2,
    .contact h2 {
        font-size: 1.4rem;
    }

    footer nav a {
        display: block;
        margin: 8px 0;
    }
}
