/* ========================================
   Reset and Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', sans-serif;
    color: #1a1a1a;
    line-height: 1.75;
    background-color: #FFFFFF;
    overflow-x: hidden;
    font-feature-settings: 'palt' 1;
    letter-spacing: 0.03em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ========================================
   Container
   ======================================== */

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

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header.scrolled .logo-img {
    height: 35px;
    filter: none;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: #333333;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2E8540;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-toggle span {
    background-color: #333333;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: right 0.3s ease;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: block;
    padding: 20px 30px;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #f5f5f5;
    color: #2E8540;
    padding-left: 40px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title-main {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.08em;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Section Common Styles
   ======================================== */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    color: #2E8540;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
}

.section-title-white {
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #666666;
    margin-bottom: 60px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Vision Section
   ======================================== */

.vision {
    background-color: #F5F5DC;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media screen and (max-width: 1200px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vision-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vision-icon {
    margin-bottom: 30px;
}

.vision-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.vision-icon-fa {
    font-size: 80px;
    color: #2E8540;
}

.vision-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2E8540;
    margin-bottom: 20px;
    line-height: 1.6;
}

.vision-card-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
}

/* ========================================
   Company Section
   ======================================== */

.company {
    position: relative;
    background-color: #2E8540;
}

.company-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.company-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 133, 64, 0.9), rgba(46, 133, 64, 0.85));
}

.company .container {
    position: relative;
    z-index: 2;
}

.company-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.company-table th {
    width: 150px;
    font-size: 16px;
    font-weight: 700;
    color: #2E8540;
    vertical-align: top;
}

.company-table td {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.shareholder-link {
    color: #2E8540;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.shareholder-link:hover {
    color: #1f5c2a;
    text-decoration: underline;
}

.shareholder-link::after {
    content: ' \f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75em;
    margin-left: 5px;
    opacity: 0.7;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background-color: #FFFFFF;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.3s ease;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 10px;
}

.required {
    color: #F39800;
    font-weight: 700;
}

.form-input,
.form-textarea,
select.form-input {
    padding: 15px;
    font-size: 16px;
    font-family: 'Zen Kaku Gothic New', 'Inter', sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2E8540;
    box-shadow: 0 0 0 3px rgba(46, 133, 64, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-button {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #2E8540;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.form-button:hover {
    background-color: #236832;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 133, 64, 0.3);
}

/* Success Message */
.success-message {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.success-content {
    background: #FFFFFF;
    border: 3px solid #2E8540;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(46, 133, 64, 0.15);
    animation: successSlideIn 0.6s ease-out;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #2E8540 0%, #3da556 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successIconPop 0.8s ease-out 0.2s both;
}

.success-icon i {
    font-size: 50px;
    color: #FFFFFF;
}

.success-title {
    font-size: 32px;
    font-weight: 900;
    color: #2E8540;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.success-text {
    font-size: 16px;
    color: #666666;
    line-height: 1.9;
    margin-bottom: 35px;
}

.success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2E8540 0%, #3da556 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.success-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 133, 64, 0.4);
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    position: relative;
    background-color: #333333;
    padding: 80px 0 30px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.footer-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Responsive Design
   ======================================== */

@media screen and (max-width: 992px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .company-table-wrapper {
        padding: 40px 30px;
    }

    .company-table th {
        width: 120px;
    }
}

@media screen and (max-width: 768px) {
    /* Header */
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title-main {
        font-size: 48px;
        letter-spacing: 0.04em;
    }

    .hero-title-sub {
        font-size: 18px;
        letter-spacing: 0.06em;
    }

    /* Section */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: 0.06em;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 40px;
    }
    
    /* Vision Grid - 1 column on mobile */
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .vision-card {
        padding: 35px 25px;
    }
    
    .vision-card-title {
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .vision-card-text {
        font-size: 15px;
        line-height: 1.8;
    }
    
    /* Success Message */
    .success-content {
        padding: 50px 30px;
    }
    
    .success-icon {
        width: 90px;
        height: 90px;
    }
    
    .success-icon i {
        font-size: 45px;
    }
    
    .success-title {
        font-size: 28px;
    }

    /* Company */
    .company-table-wrapper {
        padding: 30px 20px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .company-table th {
        padding-bottom: 5px;
        font-size: 14px;
    }

    .company-table td {
        padding-top: 5px;
        padding-bottom: 20px;
        font-size: 14px;
    }

    /* Contact */
    .form-button {
        width: 100%;
    }

    .contact-info-card {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title-main {
        font-size: 36px;
        letter-spacing: 0.03em;
    }

    .hero-title-sub {
        font-size: 15px;
        letter-spacing: 0.05em;
    }

    .section-title {
        font-size: 30px;
        letter-spacing: 0.05em;
    }
    
    .vision-card {
        padding: 30px 20px;
    }
    
    .vision-card-title {
        font-size: 18px;
        line-height: 1.75;
        margin-bottom: 12px;
    }
    
    .vision-card-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .company-table-wrapper {
        padding: 20px 15px;
    }
    
    .success-content {
        padding: 40px 25px;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .success-icon i {
        font-size: 40px;
    }
    
    .success-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .success-text {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .success-button {
        padding: 14px 30px;
        font-size: 14px;
    }
}
