@charset "UTF-8";

/* --- 1. 基本リセット --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 80px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* --- 2. 変数定義 --- */
:root {
    --primary-color: #00AEEF;
    --secondary-color: #0056b3;
    --accent-color: #28a745;
    --line-green: #06C755;
    --light-bg: #f4f9fc;
    --white: #ffffff;
    --dark-bg: #0f2a4a;
}

/* --- 3. ヘッダー --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

header.hide {
    transform: translateY(-100%);
}

.header-inner {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-inner .btn-line {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    padding: 0 25px;
    background-color: var(--line-green);
    color: white !important;
    border-radius: 22px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- 4. コンテンツエリア --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 80px 0;
}

/* --- ヒーローセクション --- */
.hero {
    background-image: url('./actify_main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0,0,0,0.3);
}

.hero p.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* --- 5. 共通パーツ --- */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover {
    transform: scale(1.05);
}
.btn-line { background-color: var(--line-green); }
.btn-line:hover { background-color: #05b34c; }


/* --- 6. 各セクションの中身 --- */
.problem-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.problem-item {
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    padding: 25px;
    border-radius: 10px;
    width: 300px;
    text-align: left;
}
.problem-item h3 { margin-top: 0; color: #d9534f; font-weight: bold;}

.solution { background-color: var(--secondary-color); color: white; }
.solution .section-title { color: white; }
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.tech-card {
    background-color: white;
    color: #333;
    width: 280px;
    padding: 30px;
    border-radius: 8px;
}
.tech-card h3 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 特徴 */
.features { background-color: var(--light-bg); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.feature-item {
    background: white;
    border-radius: 10px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-img-box {
    width: 100%;
    height: 180px; 
    background-color: #fff;
    padding: 10px;
}
.feature-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}
.feature-text { padding: 20px; }
.feature-text h3 {
    margin-top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.feature-text p { margin: 0; font-size: 0.95rem; color: #666; }


/* 1日の流れ */
.schedule { background-color: white; }
.schedule-image-container {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
}
.schedule-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* --- 【NEW】比較セクション（グラフ＆表） --- */
.comparison { background-color: var(--light-bg); }

/* 1. グラフ部分 */
.graph-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.bar-chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.bar-label {
    width: 80px;
    font-weight: bold;
    text-align: right;
    padding-right: 15px;
    color: #555;
}
.bar-area {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.bar {
    height: 30px;
    border-radius: 0 15px 15px 0;
    transition: width 1s ease-out; /* 動きをつける */
}
.bar-value {
    margin-left: 10px;
    font-weight: bold;
    color: #333;
}
/* Actifyの行だけ特別に */
.actify-row .bar-label {
    color: var(--primary-color);
    font-size: 1.2rem;
}
.actify-row .bar-value {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 2. テーブル部分 */
.comparison-table-wrapper { overflow-x: auto; }
table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}
table.comparison-table th, table.comparison-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
}
table.comparison-table th.actify-col {
    background-color: #e6f7ff;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    width: 25%;
}
/* 記号の色 */
.cross { color: #d9534f; font-weight: bold; font-size: 1.2rem; }
.triangle { color: #f0ad4e; font-weight: bold; font-size: 1.2rem; }
.circle { color: #5bc0de; font-weight: bold; font-size: 1.2rem; }
.double-circle { color: var(--accent-color); font-weight: bold; font-size: 1.5rem; }


/* 実績セクション */
.achievements { background-color: white; }
.achievements-image-container {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
}
.achievements-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.pricing { background: var(--dark-bg); color: white; text-align: center; }
.price-card {
    background: white;
    color: #333;
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #eee;
    text-align: left;
}
.price-main {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 20px 0;
}
.price-sub ul { padding: 0; list-style: none; }
.price-sub li { margin-bottom: 10px; font-size: 1.1rem; }

footer {
    background-color: #0a1f38;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
}

/* --- 7. スマホ対応 --- */
@media (max-width: 768px) {
    header { height: 60px; }
    body { padding-top: 60px; }
    
    .logo img { height: 35px; }
    .nav-menu { display: none; }
    
    .header-inner .btn-line {
        height: 34px;
        padding: 0 15px;
        font-size: 0.8rem;
    }
    
    .hero h1 { font-size: 1.8rem; }
    .container { padding-left: 15px; padding-right: 15px; }

    #pricing > .container > div {
        flex-direction: column;
        align-items: center;
    }
    .price-card {
        width: 100%;
        max-width: 400px;
    }
}