/* style.css（IT企業リッチ化アップデート版） */

/* === 全体のカラー設定（グラデーション追加） === */
:root {
    --primary-color: #00b09b; /* 明るいエメラルド */
    --secondary-color: #1a7346; /* 深い緑 */
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --text-color: #2d3748; /* より洗練されたチャコールグレー */
    --bg-color: #f7fafc; /* クリーンなうすいブルーグレー */
}

/* === 基本設定 === */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0; padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

/* === アニメーション設定（フワッと現れる） === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* === ヘッダー（ガラスのような透明感） === */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 1000;
}

.logo a {
    font-size: 24px; font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none; display: flex; align-items: center;
}

/* スマホメニュー用 */
.menu-checkbox { display: none; }
.menu-button { display: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; z-index: 1001; }
.menu-button span { display: block; height: 3px; width: 100%; background: var(--gradient-bg); border-radius: 3px; transition: all 0.3s; }

/* ナビゲーション */
nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
nav ul li { margin-left: 35px; }
nav ul li a {
    text-decoration: none; color: #4a5568;
    font-weight: bold; font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}
nav ul li a:hover { color: var(--primary-color); }
nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--gradient-bg);
    transition: width 0.3s ease;
}
nav ul li a:hover::after { width: 100%; }

/* === ヒーローセクション（トップのドデカい看板） === */
.hero {
    background: var(--gradient-bg);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* 背景に斜めのアクセントラインを入れてTech感を出す */
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 20%);
    background-size: 20px 20px;
    transform: rotate(30deg);
    pointer-events: none;
}

.hero h1 { font-size: 48px; margin-bottom: 20px; font-weight: 900; letter-spacing: 2px; }
.hero p { font-size: 20px; font-weight: 500; opacity: 0.9; }

/* === メインコンテンツ枠 === */
.container { max-width: 1000px; margin: -40px auto 60px auto; padding: 0 20px; position: relative; z-index: 10; }
.container-normal { max-width: 1000px; margin: 60px auto; padding: 0 20px; }

/* === カード型レイアウト（ガラスのような美しい影） === */
.card {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.5);
}

.card h2 {
    margin-top: 0; color: var(--text-color); margin-bottom: 30px;
    position: relative; display: inline-block; font-size: 28px;
}
.card h2::after {
    content: ''; position: absolute; bottom: -10px; left: 0;
    width: 50px; height: 4px; background: var(--gradient-bg); border-radius: 2px;
}

.card h3 { color: var(--secondary-color); margin-top: 35px; font-size: 20px; }

/* === テーブル === */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
table th, table td { padding: 20px 10px; border-bottom: 1px solid #edf2f7; }
table th { text-align: left; width: 150px; color: var(--secondary-color); font-weight: bold; }

/* === フッター === */
footer { background-color: #1a202c; color: #a0aec0; text-align: center; padding: 40px 0; margin-top: 80px; }

/* === スマホ対応 === */
@media (max-width: 768px) {
    .hero { padding: 80px 20px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    header { padding: 15px 20px; }
    .menu-button { display: flex; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #ffffff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #eee;
    }
    .menu-checkbox:checked ~ .nav-menu { display: block; }
    .menu-checkbox:checked ~ .menu-button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-checkbox:checked ~ .menu-button span:nth-child(2) { opacity: 0; }
    .menu-checkbox:checked ~ .menu-button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    nav ul { flex-direction: column; }
    nav ul li { margin: 0; border-bottom: 1px solid #edf2f7; }
    nav ul li a { display: block; padding: 15px 20px; }
    .container, .container-normal { margin-top: 30px; }
    .card { padding: 30px 20px; }
    table th, table td { display: block; width: 100%; padding: 10px 5px; }
    table th { border-bottom: none; padding-bottom: 0; color: var(--secondary-color); }
}