@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --primary-color: #00B900; /* LINE green */
    --secondary-color: #ffffff;
    --light-green-1: #e6f8e6;
    --light-green-2: #cff1cf;
    --light-gray: #ffffff;
    --text-color: #111;
    --light-text-color: #555;
    --white-color: #fff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

header {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 4px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav.nav-links ul {
    list-style: none;
    display: flex;
}

nav.nav-links ul li {
    margin-left: 30px;
}

nav.nav-links ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav.nav-links ul li a:hover {
    color: var(--primary-color);
}

.header-logo {
    height: 30px;
    vertical-align: middle;
}

.page-section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: none;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-color);
}

.flex-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.flex-section > div {
    flex: 1;
}

.line-mockup {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-width: 300px;
    box-shadow: none;
    margin: 0 auto;
}

.line-mockup img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

footer {
    background-color: var(--light-gray);
    color: var(--light-text-color);
    text-align: center;
    padding: 60px 20px;
    margin-top: 0;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-text-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flex-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .flex-section.fv-section-reverse {
        flex-direction: column-reverse;
    }

    nav.nav-links {
        width: 100%;
    }
    
    nav.nav-links ul {
        justify-content: flex-end;
        width: 100%;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .catchphrase {
        font-size: 2.5rem !important;
    }

    .page-section {
        padding: 60px 0;
    }

    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }

    .fv-content .btn-beta {
        margin: 40px auto 0;
    }
}

/* Features Section */
.features-section {
    background-color: var(--white-color);
    padding-top: 0; /* Adjusted because about section has padding bottom */
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.4;
}

.features-description {
    font-size: 1rem;
    color: var(--light-text-color);
}

/* Beta Button Style */
.btn-beta {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: none;
    transition: transform 0.2s ease;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 40px 0 0; /* Align to left */
}

.btn-beta:hover {
    transform: translateY(-2px);
}

/* FV Background Section */
section.fv-background {
    position: relative;
    background-image: url('images/hero_image_sample.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white-color);
    min-height: 100vh;
    background-color: transparent;
    display: flex;
    align-items: center;
    padding: 80px 0; /* Use consistent padding */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

section.fv-background > .container {
    position: relative;
    z-index: 2;
}

.fv-content {
    text-align: left;
}

.catchphrase {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.catchphrase-sub {
    font-size: 1.5rem;
    opacity: 0.9;
    color: var(--white-color);
}

.catchphrase-note {
    font-size: 0.8em; /* Smaller relative to parent */
    opacity: 0.7;
    margin-left: 0.5em;
    display: block; /* Ensure it starts on a new line on smaller screens */
    margin-top: 5px; /* Add some space */
}

/* Make the button stand out more on the dark background */
section.fv-background .btn-beta {
    background-color: var(--primary-color);
    border: 2px solid var(--white-color);
    color: var(--white-color) !important;
}

/* About Gakufun Moved Section */
.about-gaku-fun-moved {
    background-color: var(--white-color);
}

.about-gaku-fun-p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--light-text-color);
}

/* Project Examples Section */
.project-examples-section {
    background-color: var(--white-color);
}

.project-examples-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.project-examples-list li {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}