/* ==========================================
   リセット & 基本設定
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3e5e9b;
    --secondary-color: #ff20ca;
    --dark-bg: #0a0a0a;
    --darker-bg: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gradient: linear-gradient(135deg, #3e5e9b 0%, #ff20ca 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   アニメーション背景
   ========================================== */
#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--darker-bg);
}

/* ==========================================
   ナビゲーション
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-suffix {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 3rem;
}

.company-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.name-main {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-suffix {
    color: var(--text-primary);
}

.hero-tagline {
    margin: 3rem 0;
}

.tagline-item {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    margin: 1rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.tagline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.tagline-item:nth-child(2) {
    animation-delay: 0.4s;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-primary);
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s forwards;
    letter-spacing: 0.05em;
    margin-bottom: 8rem;
}

.hero-subtitle p {
    margin: 0.5rem 0;
}

.hero-sub-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.3rem);
    color: var(--text-secondary);
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.hero-sub-text-mini {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

/* ==========================================
   セクション共通
   ========================================== */
section {
    padding: 5rem 2rem;
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    --line-width: 0px;
}

.section-title .title-jp {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--line-width);
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================
   技術スタックセクション
   ========================================== */
.tech-section {
    background: transparent;
}

/* ==========================================
   強みセクション
   ========================================== */
.strength-section {
    background: transparent;
    padding: 5rem 2rem;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strength-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.strength-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 10px 40px rgba(255, 32, 202, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.strength-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.strength-card:hover .strength-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.strength-card h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.card-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem !important;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.strength-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.policy-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    text-align: center;
}

.policy-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.policy-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-weight: 400;
}

.policy-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin: 1.5rem 0;
}

.policy-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* 実例セクションは削除済み */

/* ==========================================
   技術スタックセクション
   ========================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 10px 40px rgba(255, 32, 202, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tech-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.tech-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.tech-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem !important;
    opacity: 0.8;
}

.tech-card p {
    color: var(--text-secondary);
}

/* ==========================================
   会社概要セクション
   ========================================== */
.company-section {
    background: transparent;
}

.info-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
}

.panel-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.3rem;
}

.info-table th {
    text-align: left;
    padding: 0.8rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    width: 200px;
    vertical-align: top;
    font-size: 0.95rem;
}

.info-table td {
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.info-table tr {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================
   採用情報セクション
   ========================================== */
.recruit-section {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.recruit-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(62, 94, 155, 0.3);
}

.highlight-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-item p {
    color: var(--text-secondary);
}

/* ==========================================
   お問い合わせセクション
   ========================================== */
.contact-section {
    background: transparent;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.recruit-notice {
    background: rgba(255, 32, 202, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 32, 202, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   お問い合わせセクション
   ========================================== */
.contact-section {
    background: transparent;
    padding: 6rem 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左側：会社情報カード */
.contact-info-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    align-self: start;
    position: sticky;
    top: 100px;
}

.company-logo {
    margin-bottom: 2.5rem;
}

.info-notice {
    font-size: 0.75rem;
    color: rgba(255, 100, 100, 0.8);
    margin-top: 0.3rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3e5e9b 0%, #ff20ca 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text-small {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
}

.info-value:hover {
    color: var(--primary-color);
}

.info-notice {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* 右側：フォーム */
.contact-form-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
}

.google-form-iframe {
    width: 100%;
    height: 1410px;
    border: none;
    border-radius: 10px;
}

/* 削除: フォーム関連の古いスタイル */

/* ==========================================
   フッター
   ========================================== */
.footer {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   アニメーション
   ========================================== */
@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);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media (max-width: 768px) {
    /* お問い合わせセクション */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .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);
    }

    .info-table {
        display: block;
    }

    .info-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        padding: 0.8rem;
        border-radius: 8px;
    }

    .info-table th,
    .info-table td {
        width: 100%;
        padding: 0.4rem 0;
    }

    .info-table th {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.4rem;
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }

    .info-panel {
        padding: 2rem 1.5rem;
    }

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

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

    .recruit-highlight {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .tagline-item {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .info-panel {
        padding: 1.5rem 1rem;
    }

    .policy-panel {
        padding: 2rem 1.5rem;
    }

    .recruit-notice {
        flex-direction: column;
        padding: 1.5rem;
    }

    .notice-text {
        font-size: 1.1rem;
    }
}

/* ==========================================
   スムーズスクロール調整
   ========================================== */
html {
    scroll-padding-top: 80px;
}
