/* Basic Clean Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    background-color: #f7fcfa;
    /* Very subtle nature white */
    color: #333;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

:root {
    --color-primary: #3E5434;
    /* Forest Green */
    --color-accent: #E5B25D;
    /* Wheat/Gold */
    --color-text-main: #2c3e50;
    --font-heading: "Zen Old Mincho", serif;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
#global-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.9);
    /* Slightly darker to make text pop */
}

.hero-content {
    color: #fff;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    animation: fadeIn 2s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeIn 2.5s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(62, 84, 52, 0.3);
}

.btn-primary:hover {
    background-color: #2b3d24;
    transform: translateY(-2px);
}

/* --- Sections Common --- */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Worldview --- */
#worldview {
    background-color: #fff;
}

.content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.text-content {
    flex: 1;
}

.text-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.5;
    color: var(--color-primary);
}

.text-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 2;
}

.video-container {
    margin-top: 30px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-content {
    flex: 1;
}

.image-content figure {
    margin: 0;
    text-align: center;
}

.image-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-content figcaption {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
}

/* --- Concept Box --- */
#concept {
    background: url('/aiacademia/images/bg_texture_washi.png') repeat;
    /* Example texture if available */
    background-color: #f7fcfa;
}

.concept-box {
    background: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.concept-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--color-primary);
    line-height: 1.6;
}

.concept-box p {
    margin-bottom: 20px;
    color: #555;
}

.concept-image img {
    margin-top: 40px;
    max-width: 100%;
    border-radius: 10px;
}

/* --- Event Card --- */
#event {
    background-color: var(--color-primary);
    color: #fff;
}

#event .section-title {
    color: #fff;
}

#event .section-title::after {
    background-color: #fff;
}

.event-card {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    color: #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.event-header {
    background: #fdf6e3;
    /* Soft cream */
    padding: 30px;
    text-align: center;
    border-bottom: 1px dashed #ddd;
}

.event-header h3 {
    font-size: 1.8rem;
    color: #333;
}

.event-header .tag {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: "Noto Sans JP";
}

.event-body {
    padding: 40px;
}

.event-details {
    margin-bottom: 30px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
}

.event-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.event-row:last-child {
    border-bottom: none;
}

.event-row dt {
    width: 100px;
    font-weight: bold;
    color: var(--color-primary);
    flex-shrink: 0;
}

.event-content-list h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
}

.event-content-list ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 2;
}

/* --- Target Grid --- */
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.target-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.target-item:hover {
    transform: translateY(-5px);
}

.target-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.target-item p {
    font-weight: bold;
    color: var(--color-primary);
}

/* --- Flow --- */
.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    background: #fff;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 3px solid #f0f0f0;
}

.step-num {
    position: absolute;
    top: 10px;
    font-size: 0.9rem;
    color: #ccc;
    font-family: var(--font-heading);
}

.step h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.step p {
    font-size: 0.9rem;
    color: #888;
}

.step-arrow {
    font-size: 2rem;
    color: #ccc;
    font-family: var(--font-heading);
}

/* --- Contact --- */
.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.action-area {
    margin-bottom: 40px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 50px;
}

.contact-info {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info .email,
.contact-info .tel {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
}

/* --- Footer --- */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.footer-sub {
    font-size: 0.9rem;
    opacity: 0.7;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 20px;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .flow-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step {
        width: 100%;
        height: auto;
        padding: 30px;
        border-radius: 12px;
    }
}