* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #2d1b4e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ヒーローセクション */
.hero {
    position: relative;
    color: white;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.7) 0%, rgba(26, 31, 58, 0.8) 50%, rgba(45, 27, 78, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(138, 43, 226, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8), 0 0 40px rgba(138, 43, 226, 0.5);
    letter-spacing: 0.1em;
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    line-height: 1.8;
    margin-top: 1.5rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(138, 43, 226, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(138, 43, 226, 0.8), 0 0 80px rgba(138, 43, 226, 0.6);
    }
}

/* 星のアニメーション */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 55% 20%, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 20s linear infinite;
    opacity: 0.6;
}

@keyframes sparkle {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-200px);
    }
}

/* セクション */
.section {
    padding: 80px 0;
    position: relative;
    background: rgba(10, 14, 39, 0.5);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.bg-light {
    background: rgba(26, 31, 58, 0.5);
}

/* 会社概要テーブル */
.company-info {
    max-width: 800px;
    margin: 0 auto;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info th {
    background: linear-gradient(135deg, #6a5acd 0%, #8a2be2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    width: 200px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.company-info td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.company-info ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.company-info li {
    margin-bottom: 0.5rem;
}

/* 理念セクション */
.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.vision-content h3:first-child {
    margin-top: 0;
}

.vision-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-weight: 500;
}

.vision-text-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 2rem;
}

.vision-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    background: rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
    font-weight: 500;
    margin-top: 2rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.purpose-list {
    list-style: none;
    margin-left: 0;
}

.purpose-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 4px solid #8a2be2;
    border-radius: 4px;
    color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* 特徴カード */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.5);
}

.feature-card h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.feature-card p {
    color: #e0e0e0;
    line-height: 1.7;
}

/* セクション導入文 */
.section-intro {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* サービスカード */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.35);
    border-color: rgba(138, 43, 226, 0.5);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

.service-desc {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.service-list li {
    color: #e0e0e0;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: rgba(138, 43, 226, 0.8);
}

.future-box {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.future-label {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 0.35rem;
    background: rgba(138, 43, 226, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.future-box p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 実績セクション */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(138, 43, 226, 0.3);
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

.result-label {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.results-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

@media (min-width: 768px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ご利用の流れセクション */
.flow-intro {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.flow-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.4);
}

.flow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6a5acd 0%, #8a2be2 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.flow-step h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

.flow-step p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.flow-note {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

@media (min-width: 768px) {
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .flow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    background: linear-gradient(135deg, #6a5acd 0%, #8a2be2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.form-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.8;
}

.email-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 43, 226, 0.5);
    transition: all 0.3s;
}

.email-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(138, 43, 226, 0.8);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

/* フォームメッセージ */
.form-message {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* フッター */
footer {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ハンバーガーメニュー */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        color: #e0e0e0;
        font-size: 1.1rem;
        transition: all 0.3s;
    }

    .nav-menu a:hover {
        background: rgba(138, 43, 226, 0.2);
        color: #ffffff;
        padding-left: 2.5rem;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .company-info th,
    .company-info td {
        display: block;
        width: 100%;
    }

    .company-info th {
        border-bottom: none;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .vision-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .vision-text-sub {
        font-size: 1rem;
    }

    .vision-quote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}

/* 代表メッセージ */
.message-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.message-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.message-text-bold {
    font-size: 1.2rem;
    line-height: 2;
    color: #ffffff;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.message-signature {
    text-align: right;
    font-size: 1rem;
    color: #ffffff;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* レスポンシブデザイン（追加） */
@media (max-width: 768px) {
    .message-card {
        padding: 2rem 1.5rem;
    }

    .message-text {
        font-size: 1rem;
    }

    .message-text-bold {
        font-size: 1.1rem;
    }
}
