/* ベースリセットとフォント設定 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #f7f7fa;
    line-height: 1.6;
}

/* ヘッダー/ナビゲーション */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #007bff; /* アクセントカラー1: 鮮やかな青 */
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

.cta-button {
    background-color: #38c8c4; /* アクセントカラー2: ターコイズ */
    color: white !important;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2daaa7;
}

/* ヒーローエリア */
#hero {
    position: relative;
    height: 70vh; /* 画面の70%の高さ */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #eef1f6 0%, #ffffff 100%);
}

.hero-content {
    z-index: 2;
    padding: 0 5%;
    max-width: 800px;
}

#hero h1 {
    font-size: 4em;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a2e;
}

#hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #555;
}

.highlight-text {
    color: #007bff;
    display: block; /* 改行したい場合 */
}

.cta-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1em;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* 抽象的な背景（ヒーロービジュアル） */
.hero-visual {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(56, 200, 196, 0.1); /* ターコイズの薄い影 */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite both alternate;
    z-index: 1;
    filter: blur(50px);
    opacity: 0.6;
}

@keyframes morph {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    100% { transform: scale(1.1) translate(20px, -20px) rotate(10deg); }
}

/* サービスセクション */
#services {
    padding: 80px 5%;
    text-align: center;
    background-color: #ffffff;
}

#services h2 {
    font-size: 2.5em;
    color: #1a1a2e;
    margin-bottom: 60px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.card {
    background: #f7f7fa;
    padding: 40px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    border-top: 5px solid #38c8c4;
}

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

.card h3 {
    color: #007bff;
    font-size: 1.5em;
    margin-top: 15px;
}

/* アイコン（ここでは仮のスタイル。FontAwesomeなどを利用すると良い） */
.icon-unity, .icon-sensor {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    /* テキストでの表現 */
    color: white;
    line-height: 50px;
    text-align: center;
    font-style: normal;
    font-weight: bold;
}
.icon-unity::after { content: "🕹️"; } /* Unityのイメージ */
.icon-sensor::after { content: "📡"; } /* センサーのイメージ */


/* アニメーション（JavaScriptでクラスを付与） */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in-left, .fade-in-right {
    opacity: 0;
}


/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a2e;
    color: #aaa;
    font-size: 0.9em;
}

/* レスポンシブ対応（簡易版） */
@media (max-width: 768px) {
    #hero {
        height: 80vh;
    }
    #hero h1 {
        font-size: 2.5em;
    }
    .service-cards {
        flex-direction: column;
        gap: 30px;
    }
    .card {
        width: 80%;
        margin: 0 auto;
    }
}