/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Hero Section */
.hero {
    background: url('img/background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f97316;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #ffffff;
    color:#111;
}

/* About Section */
.about {
    padding: 80px 20px;
    text-align: center;
    background: #f9fafb;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2563eb;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 80px 20px;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2563eb;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #f97316;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: #2563eb;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}



/* ここからregister画面かな？ */


.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center
}

/* .modal.hidden {
    display: none
} */

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    min-width: 320px;
    max-width: 720px;
    position: relative
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer
}

.form-wrap label {
    display: block;
    margin: 8px 0
}

.form-msg {
    margin-top: 10px;
    color: green
}


/* Footer */
footer {
    background: #111;
    color: #bbb;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}