/* 基本設定とリセット（共通で使えるのでそのまま） */
:root {
    --primary-color: #005BAC; /* メインの青 */
    --accent-color: #F48200;  /* ボタンのオレンジ */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light-gray: #F4F7FA;
}

body {
    background-color: #ffffff;
}

/* LP全体のベース */
.medimap-lp {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
}

/* LP内の基本要素 */
.medimap-lp h1,
.medimap-lp h2,
.medimap-lp h3 {
    margin-top: 0;
}

.medimap-lp a {
    text-decoration: none;
    color: inherit;
}

.medimap-lp img {
    max-width: 100%;
    height: auto;
}

/* 共通コンポーネント */
/* 65%固定だと幅によって窮屈になるので、
   「最大1120px・それまでは90%」くらいにしておくと安定します */
.medimap-lp .container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}

.medimap-lp .section {
    padding: 30px 0;
}

.medimap-lp .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
}

.medimap-lp .benefits-section .section-title,
.medimap-lp .features-section .section-title,
.medimap-lp .use-cases-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;      /* 太くする */
}

/* ボタン */
.medimap-lp .btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.medimap-lp .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 10px rgba(244, 130, 0, 0.3);
}

.medimap-lp .btn-primary:hover {
    background-color: #d67300;
}

.medimap-lp .btn-large {
    padding: 20px 60px;
    font-size: 2rem;
}

/* --- ここからLP専用レイアウト --- */

/* ヘッダーエリア (Hero Section) */
.medimap-lp .hero-section {
    position: relative;
    color: var(--text-color-light);
    padding: 30px 0 30px;
    overflow: hidden;  /* 背景のはみ出し対策 */
}

/* 斜めの青い背景を作る擬似要素 */
/* 高さを多めに取って、画面サイズによる隙間が出ないようにする */
.medimap-lp .hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 140%;
    height: calc(100% + 100px);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0088EA 100%);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: -1;
}

.medimap-lp .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.medimap-lp .logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.medimap-lp .logo-icon {
    margin-right: 10px;
}

.medimap-lp .hero-content {
    flex: 1 1 0;
    padding-right: 20px;
    padding-bottom: 50px;
}

.medimap-lp .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.medimap-lp .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.medimap-lp .hero-image {
    flex: 1 1 0;
    text-align: right;
    position: relative;
    top: 0;
}

.medimap-lp .hero-image img {
    max-width: 110%;
    margin-bottom: -0px;
}

/* メリットセクション */
.medimap-lp .benefits-section {
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-top: 0px;
}

.medimap-lp .benefits-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.medimap-lp .benefit-item {
    flex: 1 1 0;
    max-width: 500px;
}

.medimap-lp .benefit-icon img {
    height: 80px;
    margin-bottom: 12px;
}

.medimap-lp .benefit-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.medimap-lp .benefit-item p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* 機能紹介セクション */
.medimap-lp .features-section {
    background-color: var(--bg-light-gray);
    text-align: center;
    padding: 50px;
}

.medimap-lp .feature-demo-wrapper {
    display: inline-block;
    position: relative;
}

.medimap-lp .feature-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* 活用シーンセクション */
.medimap-lp .use-cases-section {
    background-color: #fff;
    padding: 50px 0;
}

.medimap-lp .use-cases-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.medimap-lp .use-case-card {
    flex: 1 1 0;
    max-width: 700px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.medimap-lp .use-case-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.medimap-lp .use-case-card p {
    font-size: 1rem;
}

/* フッターCTAエリア */
.medimap-lp .footer-cta {
    background-color: var(--bg-light-gray);
    text-align: center;
    padding-bottom: 20px;
}

.medimap-lp .cta-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.medimap-lp .footer-links {
    margin-top: 40px;
    color: var(--primary-color);
    font-weight: bold;
}

.medimap-lp .footer-links a:hover {
    text-decoration: underline;
}

.medimap-lp .copyright {
    margin-top: 60px;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* ===============================
   レスポンシブ調整
=============================== */

/* ▼ 中くらいの画面：1000px 以下になったら縦並びにする */
/* @media (max-width: 1000px) {
    .medimap-lp .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .medimap-lp .hero-content {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .medimap-lp .hero-image {
        text-align: center;
        top: 0;
    }

    .medimap-lp .hero-image img {
        max-width: 100%;
        margin-bottom: -30px;
    }

    .medimap-lp .benefits-grid,
    .medimap-lp .use-cases-grid {
        flex-direction: column;
        align-items: center;
    }

    .medimap-lp .benefit-item,
    .medimap-lp .use-case-card {
        max-width: 600px;
        width: 100%;
    }
} */

/* ▼ スマホサイズ：768px 以下 */
/* ▼ スマホサイズ：768px 以下（LP専用・コンパクト） */
@media (max-width: 768px) {
    /* 全体の横幅を少し広くする（左右の余白をちょい減らす） */
    .medimap-lp .container {
        width: 94%;
        max-width: 94%;
    }

    /* Hero セクションの上下余白を詰める */
    .medimap-lp .hero-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .medimap-lp .hero-section::before {
        transform: skewY(-4deg);
        top: -100px;
        height: calc(100% + 160px);
    }

    /* Hero のレイアウトは縦並びに */
    .medimap-lp .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .medimap-lp .hero-content {
        padding-right: 0;
        padding-bottom: 10px;
    }

    .medimap-lp .hero-content h1 {
        font-size: 1.6rem;  /* PCより一段階小さく */
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .medimap-lp .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .medimap-lp .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .medimap-lp .hero-image {
        text-align: center;
        margin-top: 10px;
        top: 0;
    }

    .medimap-lp .hero-image img {
        margin-bottom: 0;
        max-width: 88%;
    }

    /* セクションの上下の余白を全体的に詰める */
    .medimap-lp .section {
        padding: 20px 0;
    }

    .medimap-lp .features-section,
    .medimap-lp .use-cases-section {
        padding: 24px 0;
    }

    .medimap-lp .section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .medimap-lp .benefits-section .section-title,
    .medimap-lp .features-section .section-title,
    .medimap-lp .use-cases-section .section-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    /* メリット / 活用シーンを1カラムに & 余白を詰める */
    .medimap-lp .benefits-grid,
    .medimap-lp .use-cases-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .medimap-lp .benefit-item,
    .medimap-lp .use-case-card {
        width: 100%;
        max-width: none;
        padding: 20px;
    }

    .medimap-lp .benefit-icon img {
        height: 64px;
        margin-bottom: 8px;
    }

    .medimap-lp .benefit-item h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .medimap-lp .benefit-item p {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .medimap-lp .use-case-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .medimap-lp .use-case-card p {
        font-size: 0.9rem;
    }

    /* フッター系も少し詰める */
    .medimap-lp .footer-cta {
        padding-bottom: 16px;
    }

    .medimap-lp .cta-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .medimap-lp .copyright {
        margin-top: 24px;
        padding-top: 12px;
    }
}
