:root {
    --primary-blue: #004098;
    --light-blue: #00a0e9;
    --dark-bg: #001530;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 1100px;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { height: 80px; }

.desktop-nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eefb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(/images/main_bg.png);
    background-size: cover;
    box-shadow: 0px 10px 25px rgba(0, 64, 152, 0.2);
    margin-bottom: 27px;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text h1 {
    font-size: 5.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 2rem;
}

.highlight { color: var(--primary-blue); }

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 20px 0;
}

.btn-main {
    display: inline-block;
    padding: 20px 40px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,64,152,0.3);
}

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,64,152,0.4); }

/* Parallax Elements */
.floating {
    animation: float 4s ease-in-out infinite;
    width: 25vw;
    max-width: 400px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features { padding: 100px 0; background: #fff; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-blue); }
.section-subtitle { text-align: center; margin-bottom: 50px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 20px;
    text-align: center;
    transition: 0.5s;
}

/* Scroll Animation Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .desktop-nav { display: none; }
}

/* CTAセクション全体の調整 */
.cta {
    padding: 100px 0; /* 上下の十分な余白 */
    background-color: #fff;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 横方向の中央揃え */
    justify-content: center;
}

/* タイトルの調整 */
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #001530;
    margin-bottom: 40px; /* ボタンとの距離を広げる */
}

/* ボタンの外枠 */
.cta-btn-wrap {
    margin-bottom: 20px; /* 下の注釈との距離 */
}

/* 注釈テキストの調整 */
.cta-note {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin-top: 10px; /* ボタンとの微調整 */
}

/* ボタン自体のスタイル（再確認） */
.btn-main {
    display: inline-block;
    padding: 22px 60px; /* ボタンを少し大きく、押しやすく */
    background: #004098; /* ロゴのメインカラー */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.3rem;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 64, 152, 0.25);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 64, 152, 0.35);
}

/* スマホ用のレスポンシブ調整 */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .btn-main {
        width: 90%; /* スマホでは横幅いっぱいに近く */
        padding: 18px 20px;
        font-size: 1.1rem;
    }
}

.footer {
    background-color: #001530; /* 画像に基づいた濃紺 */
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 0px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
}

.btn-footer-line {
    background: #004098;
    padding: 10px 20px;
    border-radius: 5px;
}

.disclaimer {
    font-size: 0.7rem;
    text-align: right;
    margin-top: 20px;
    opacity: 0.7;
}