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

body {
    font-family: 'Abel', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #c8d6df;
    font-size: 20px;
    background-color: #0b1a1f;
    overflow-x: hidden;
}

.jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 300;
}

.page-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 480px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg.jpg') center center / cover no-repeat;
    mask-image:
        linear-gradient(to right,  transparent 0px, black 32px, black calc(100% - 32px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 32px, black calc(100% - 32px), transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(to right,  transparent 0px, black 32px, black calc(100% - 32px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 32px, black calc(100% - 32px), transparent 100%);
    -webkit-mask-composite: source-in;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,26,31,0.3) 0%, rgba(11,26,31,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(80, 200, 220, 0.4));
}

.hero-title {
    font-family: 'Abel', sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(160, 210, 220, 0.85);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== NAV ===== */
.nav-bar {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(80, 200, 220, 0.15);
    background: rgba(11, 26, 31, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar a {
    color: rgba(160, 210, 220, 0.7);
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-bar a:hover {
    color: #50c8dc;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 120px;
}

.section-title {
    font-family: 'Abel', sans-serif;
    font-size: 38px;
    color: #50c8dc;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #50c8dc, transparent);
    margin-bottom: 40px;
}

/* ===== ABOUT ===== */
.about-text {
    font-size: 20px;
    line-height: 2;
    color: #a0b8c4;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: rgba(20, 40, 50, 0.6);
    border: 1px solid rgba(80, 200, 220, 0.1);
    border-radius: 8px;
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
    border-color: rgba(80, 200, 220, 0.35);
    transform: translateY(-2px);
}

.service-card-title {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #e0eff4;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.service-card-list {
    list-style: none;
    padding: 0;
}

.service-card-list li {
    font-size: 17px;
    color: #7a9aa8;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.service-card-list li a {
    color: #7a9aa8;
    text-decoration: none;
    transition: color 0.3s;
}

.service-link-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 6px;
}

.service-card-list li a:hover {
    color: #50c8dc;
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 1px;
    background: #50c8dc;
}

/* ===== FOUNDER ===== */
.founder-intro {
    color: #a0b8c4;
    font-size: 20px;
    line-height: 2;
    margin-bottom: 48px;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.founder-block-title {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #50c8dc;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.founder-list {
    list-style: none;
    padding: 0;
}

.founder-list li {
    font-size: 18px;
    color: #8aa8b6;
    padding: 7px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.founder-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 8px;
    height: 1px;
    background: rgba(80, 200, 220, 0.5);
}

.founder-summary {
    margin-top: 48px;
    color: #a0b8c4;
    font-size: 20px;
    line-height: 2;
}

/* ===== CONTACT ===== */
.contact-section {
    background: rgba(15, 30, 38, 0.8);
    border-top: 1px solid rgba(80, 200, 220, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: #8aa8b6;
    line-height: 2;
    font-size: 20px;
}

.contact-info .address-en {
    margin-bottom: 16px;
}

.contact-info .address-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #6a8a98;
}

.discord-block-title {
    font-family: 'Abel', sans-serif;
    font-size: 24px;
    color: #50c8dc;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.discord-text {
    color: #8aa8b6;
    font-size: 18px;
    margin-bottom: 20px;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #5865F2;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.03em;
    transition: background 0.3s;
}

.discord-link:hover {
    background: #4752C4;
}

.discord-link img {
    width: 22px;
    height: 22px;
}

/* ===== CONTACT FORM LINK ===== */
.contact-form-link {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Abel', sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: rgba(80, 200, 220, 0.2);
    border: 1px solid rgba(80, 200, 220, 0.4);
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s;
}

.contact-form-link:hover {
    background: rgba(80, 200, 220, 0.35);
    border-color: rgba(80, 200, 220, 0.6);
}

/* ===== FORM PAGE ===== */
.form-section {
    flex: 1;
    padding: 80px 200px;
}

.form-description {
    color: #8aa8b6;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 2;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 18px;
    color: #8aa8b6;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-required {
    color: #e06070;
    margin-left: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Abel', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #c8d6df;
    background: rgba(11, 26, 31, 0.8);
    border: 1px solid rgba(80, 200, 220, 0.2);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: rgba(80, 200, 220, 0.5);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #3a5a66;
}

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

.form-actions {
    margin-top: 36px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-submit {
    display: inline-block;
    padding: 14px 48px;
    font-family: 'Abel', sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: rgba(80, 200, 220, 0.2);
    border: 1px solid rgba(80, 200, 220, 0.4);
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s;
}

.btn-submit:hover {
    background: rgba(80, 200, 220, 0.35);
    border-color: rgba(80, 200, 220, 0.6);
}

.btn-back {
    display: inline-block;
    padding: 14px 48px;
    font-family: 'Abel', sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: rgba(80, 200, 220, 0.2);
    border: 1px solid rgba(80, 200, 220, 0.4);
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s;
}

.btn-back:hover {
    background: rgba(80, 200, 220, 0.35);
    border-color: rgba(80, 200, 220, 0.6);
}

.btn-back-text {
    color: rgba(160, 210, 220, 0.6);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.03em;
    transition: color 0.3s;
}

.btn-back-text:hover {
    color: #50c8dc;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 120px;
    text-align: center;
}

.thankyou-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 20px rgba(80, 200, 220, 0.4));
}

.thankyou-title {
    font-family: 'Abel', sans-serif;
    font-size: 38px;
    color: #50c8dc;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.thankyou-text {
    font-size: 20px;
    color: #a0b8c4;
    margin-bottom: 48px;
    line-height: 2;
}

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

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(80, 200, 220, 0.08);
    color: #3a5a66;
    font-size: 15px;
    letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero {
        height: 320px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .nav-bar {
        gap: 20px;
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .nav-bar a {
        font-size: 14px;
    }

    .section {
        padding: 48px 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-section {
        padding: 48px 20px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit,
    .btn-back {
        text-align: center;
    }

    .thankyou-content {
        padding: 48px 20px;
    }

    .thankyou-title {
        font-size: 28px;
    }

    .thankyou-links {
        flex-direction: column;
        width: 100%;
    }

    .thankyou-links a {
        text-align: center;
    }
}
