/* 変数定義 */
:root {
    --bg-dark: #0a0f14;
    --bg-card: #111823;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-muted: #8a99ad;
    --text-dark: #1a1a1a;
    
    /* ネオンカラー */
    --neon-cyan: #00f3ff;
    --neon-pink: #ff007f;
}

/* 全体設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.text-dark { color: var(--text-dark); }

/* ヘッダー */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    height: 29px;
}

.logo img{
    height: 29px;
}
.nav-links ul {
    display: flex;
    align-items: center;
    list-style: none;
}
.nav-links a {
    margin: 0 15px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s;
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--text-light);
}
.btn-quote-mobile {
    display: none;
}
.btn-quote {
    text-decoration: none;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    transition: all 0.3s;
}
.btn-quote:hover {
    background-color: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(10,15,20,0.7), rgba(10,15,20,0.95)), url('../../img/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.glow-object {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,0,127,0.15) 0%, rgba(0,243,255,0.15) 50%, transparent 70%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.2), inset 0 0 40px rgba(255, 0, 127, 0.2);
}
.glow-object::before {
    content: '';
    position: absolute;
    top: 20%; left: 20%; right: 20%; bottom: 20%;
    border: 2px solid var(--neon-cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 15px var(--neon-cyan);
}
.hero-text {
    flex: 1;
    padding-left: 50px;
}
.hero-tagline {
    color: var(--neon-cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.7;
}
.hero-text h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 35px;
    max-width: 540px;
    line-height: 1.7;

}
.btn-explore {
    display: inline-block;
    text-decoration: none;
    background-color: var(--neon-cyan);
    color: var(--bg-dark);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.3s;
}
.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.7);
}

/* サービスセクション */
.expertise {
    padding: 100px 0;
    background-color: #06090d;
}
.section-title {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 60px;
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.exp-card {
    background-color: var(--bg-card);
    padding: 45px 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.exp-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.exp-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}
.card-sub {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
}
.card-details {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-bottom: 30px;
}
.card-details h4 {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-details p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}
.card-details p:last-child {
    margin-bottom: 0;
}
.card-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    border-bottom: 1px solid var(--text-light);
    padding-bottom: 2px;
    align-self: flex-start;
}
.cyan-glow:hover { border-color: var(--neon-cyan); box-shadow: 0 0 25px rgba(0, 243, 255, 0.2); }
.pink-glow:hover { border-color: var(--neon-pink); box-shadow: 0 0 25px rgba(255, 0, 127, 0.2); }

/* 実績セクション (ライト背景) */
.featured-success {
    background-color: var(--bg-light);
    padding: 80px 0;
}
.success-mock-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.mock-item img {
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
}

/* 会社概要セクション (ライト背景) */
.company-outline {
    background-color: var(--bg-light);
    padding: 60px 0 100px 0;
}
.outline-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.outline-info {
    flex: 1;
}
.product-title {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 700;
}
.outline-table {
    width: 100%;
    border-collapse: collapse;
}
.outline-table th, .outline-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.outline-table th {
    width: 30%;
    color: #666;
    font-weight: 600;
    font-size: 15px;
}
.outline-table td {
    color: var(--text-dark);
    font-size: 15px;
}
.product-visual {
    flex: 1;
}
.main-product-img {
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* フッター (ダーク) */
.footer {
    background-color: #05070a;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
}
.footer-links h4, .footer-social h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--text-light);
}
.lang-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 5px;
}
.lang-links a.active {
    color: #fff;
    font-weight: 700;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #445162;
    font-size: 13px;
}

/* ==========================================================================
   スマートフォン・タブレット用レスポンシブスタイル (768px以下)
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .btn-quote {
        display: none;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(10, 15, 20, 0.96);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transform: translateY(-120%);
        transition: transform 0.4s ease-in-out;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }
    .btn-quote-mobile {
        display: inline-block;
        margin-top: 20px;
        border:none;
        color: var(--neon-cyan);
        padding: 12px 40px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 700;
    }

    /* ヒーロー調整 */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 140px 20px 60px 20px;
    }
    .hero-container {
        flex-direction: column;
        gap: 40px;
    }
    .glow-object {
        width: 220px;
        height: 220px;
    }
    .hero-text {
        padding-left: 0;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-desc {
        font-size: 14px;
        margin: 0 auto 30px;
    }

    /* サービス調整 */
    .expertise {
        padding: 60px 0;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .expertise-grid {
        grid-template-columns: 1fr; /* 縦並び1カラム */
        gap: 25px;
    }
    .exp-card {
        padding: 30px 20px;
    }

    /* 実績調整 */
    .featured-success {
        padding: 60px 0;
    }
    .success-mock-grid {
        gap: 20px;
    }

    /* 会社概要調整 */
    .company-outline {
        padding: 60px 0;
    }
    .outline-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .outline-table th, .outline-table td {
        display: block;
        width: 100%;
        text-align: center;
    }
    .outline-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .main-product-img{
        width: 100%;
    }
    .product-title {
        font-size: 26px;
    }

    /* フッター調整 */
    .footer {
        padding: 60px 0 20px 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}