/* =========================================
   モダン&テック系 ダークテーマ変数定義
========================================= */
:root {
    --bg-main: #1e3557;
    --bg-secondary: #112240;
    --text-primary: #ccd6f6;
    --text-bright: #ffffff;
    --accent-cyan: #64ffda;
    --accent-blue: #00a8ff;
    --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --border-radius: 6px;
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--text-bright); font-weight: 700; line-height: 1.3; margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 24px; }
img { max-width: 100%; height: auto; display: block; }
.highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ボタン */
.btn {
    display: inline-flex; align-items: center; padding: 14px 28px;
    text-decoration: none; border-radius: 50px; font-weight: 700;
    transition: var(--transition); position: relative; z-index: 1; letter-spacing: 0.05em;
}
.btn:hover { transform: translateY(-3px); }
.btn-gradient { background: var(--gradient-main); color: var(--bg-main); box-shadow: 0 10px 20px -10px rgba(0,168,255,0.5); }
.btn-gradient:hover { box-shadow: 0 15px 30px -10px rgba(0,168,255,0.7); }
.btn-glow { color: var(--accent-cyan); border: 2px solid var(--accent-cyan); padding: 10px 20px; background: transparent; }
.btn-glow:hover { background: rgba(100,255,218,0.1); box-shadow: 0 0 15px rgba(100,255,218,0.3); }
.btn-sm { font-size: 14px; }
.btn-lg { font-size: 18px; padding: 18px 40px; }
.arrow { margin-left: 10px; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(5px); }

/* 画像フレーム */
.img-frame {
    border-radius: var(--border-radius); overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.img-frame::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 100%); pointer-events: none;
}

/* ヘッダー */
header {
    height: var(--nav-height); display: flex; align-items: center; position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10, 25, 47, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent-cyan); letter-spacing: 0.05em; }
header nav { display: flex; align-items: center; gap: 30px; }
header nav a:not(.btn) { text-decoration: none; color: var(--text-primary); font-weight: 500; font-size: 14px; transition: color 0.3s; }
header nav a:not(.btn):hover { color: var(--accent-cyan); }

/* ヒーローエリア */
.hero { padding: calc(var(--nav-height) + 80px) 0 100px; position: relative; overflow: hidden; }
.hero-glow {
    position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,168,255,0.2) 0%, rgba(0,0,0,0) 70%); filter: blur(80px); z-index: -1; opacity: 0.6;
}
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.sub-copy { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }
.cta-group { margin-bottom: 60px; }
.micro-copy { font-size: 12px; margin-top: 12px; opacity: 0.6; }

/* 課題提起 */
.pain-points {
    padding: 100px 0; background: var(--bg-secondary); position: relative;
    clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%); margin-top: -50px; padding-top: 150px;
}
.section-title { text-align: center; margin-bottom: 70px; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.pain-item {
    background: rgba(19, 106, 128, 0.2); padding: 40px 30px; border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); text-align: center;
}
.pain-item:hover {
    transform: translateY(-10px); background: rgba(19, 106, 128, 0.4); border-color: var(--accent-cyan); box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.icon-box {
    font-size: 48px; margin-bottom: 20px; display: inline-block; position: relative;
}
.icon-box::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: var(--accent-cyan); filter: blur(40px); opacity: 0.2; z-index: -1;
}

/* 特徴 */
.features { padding: 120px 0; }
.feature-row { display: flex; align-items: center; gap: 80px; margin-bottom: 150px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-img { flex: 1.2; }
.badge {
    font-family: 'Montserrat', sans-serif; color: var(--accent-cyan); font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 15px; display: block;
}
.note {
    font-size: 13px; margin-top: 15px; padding: 10px 15px; background: rgba(255,255,0,0.1);
    border-left: 3px solid #ffd700; border-radius: 4px; color: #ffd700;
}

/* 利用シーン */
.use-cases {
    padding: 120px 0; background: var(--bg-secondary); clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
}
.use-cases .section-title { text-align: center; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.case-card {
    background: rgba(19, 106, 128, 0.3); border: 1px solid rgba(255,255,255,0.05); padding: 30px;
    border-radius: var(--border-radius); transition: var(--transition); position: relative; overflow: hidden;
}
.case-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transition: 0.5s;
}
.case-card:hover::before { left: 100%; }
.case-card:hover { border-color: var(--accent-blue); transform: translateY(-5px); }
.case-card h4 { color: var(--accent-cyan); margin-bottom: 15px; }

/* 動作環境 & CTA & Footer */
.specs { padding: 120px 0; }
.specs-box {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 50px;
    border-radius: var(--border-radius); max-width: 800px; margin: 0 auto;
}
.specs-box h3 { text-align: center; margin-bottom: 40px; }
.specs-box dl { display: grid; gap: 20px; }
.specs-box dl div {
    display: grid; grid-template-columns: 150px 1fr; align-items: center;
    padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.specs-box dt { font-weight: 700; color: var(--accent-cyan); }
.cta {
    padding: 150px 0; text-align: center; background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
}
.cta h2 { font-size: 40px; margin-bottom: 40px; }
footer {
    background: #050d1a; padding: 40px 0; text-align: center; font-size: 14px; color: var(--text-primary);
}
footer .logo { margin-bottom: 10px; display: inline-block;}

/* スマホ対応 */
@media (max-width: 768px) {
    :root { --nav-height: 70px; }
    header nav { display: none; }
    .hero { padding-top: 120px; }
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .pain-points, .use-cases { clip-path: none; margin-top: 0; padding-top: 80px; }
    .specs-box { padding: 30px; }
    .specs-box dl div { grid-template-columns: 1fr; gap: 5px; }
}

/* アニメーション */
.fade-in { opacity: 0; transition: opacity 0.8s ease-out; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   リンクの基本設定 (追加)
========================================= */
a {
    color: var(--accent-cyan); /* 明るい水色 (#64ffda) */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-blue); /* ホバー時は鮮やかな青 (#00a8ff) */
    text-decoration: underline;
}

/* ※ボタン（クラスがついているもの）はボタンの色を優先 */
a.btn {
    color: inherit; /* ボタンの設定に従う */
    text-decoration: none;
}

/* =========================================
   ボタンの文字色を強制修正
========================================= */

/* ボタン（aタグ）の下線を消す */
a.btn {
    text-decoration: none !important;
}

/* ダウンロードボタン（グラデーション背景） */
/* 背景が明るいので、文字は「濃いネイビー」にして読みやすくする */
a.btn-gradient {
    color: var(--bg-main) !important; 
}

/* ホバー時も文字色が消えないようにする */
a.btn-gradient:hover {
    color: var(--bg-main) !important;
}

/* ヘッダーの枠線ボタン */
a.btn-glow {
    color: var(--accent-cyan) !important;
}