/* ====================================
   MEO Page Styles
   テーマ：Map, Radar, Tech, Area Dominance
   ==================================== */

/* --- Base Layout & Grid Background --- */
.meo-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* マップ風グリッド背景 */
.meo-bg-map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 遠近感のあるグリッド床 */
.meo-bg-map__grid {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(76, 175, 80, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 80, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    opacity: 0.3;
}

/* レーダー走査アニメーション */
.meo-bg-map__radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vw;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(76, 175, 80, 0.05) 60deg, transparent 60deg);
    transform: translate(-50%, -50%);
    animation: radarSpin 10s linear infinite;
    border-radius: 50%;
    opacity: 0.5;
}

@keyframes radarSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* --- Breadcrumb --- */
.meo-breadcrumb {
    padding-top: 120px;
    padding-bottom: 20px;
    position: relative;
    z-index: 10;
}
.meo-breadcrumb__nav {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}
.meo-breadcrumb__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.meo-breadcrumb__link:hover { color: #4CAF50; }
.meo-breadcrumb__current { color: #4CAF50; }
.meo-breadcrumb__separator { margin: 0 10px; font-size: 0.7em; }


/* --- Hero Section --- */
.meo-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.meo-hero__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meo-hero__content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.meo-hero__label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: #4CAF50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.meo-hero__title {
    margin-bottom: 3rem;
}

.meo-hero__title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff;
}

.meo-hero__desc {
    font-size: 1rem;
    line-height: 2;
    color: #fff;
}

/* Visual Animation */
.meo-hero__visual {
    width: 45%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ピンと波紋 */
.meo-pin-radar {
    position: relative;
    width: 100px;
    height: 100px;
}

.meo-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #4CAF50;
    z-index: 5;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.8));
    animation: pinBounce 2s ease-in-out infinite;
}

.meo-pin-radar__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    opacity: 0;
    animation: radarRipple 3s ease-out infinite;
}
.meo-pin-radar__circle--delay {
    animation-delay: 1.5s;
}

/* マップカード（浮遊） */
.meo-map-card {
    position: absolute;
    top: 50%;
    right: -60px;
    width: 220px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 4;
}

.meo-map-card__img {
    width: 100%;
    height: 100px;
    background: #333;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.meo-map-card__img::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(45deg, #333, #444);
}

.meo-map-card__lines span {
    display: block;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 6px;
    border-radius: 3px;
}
.meo-map-card__lines span:nth-child(1) { width: 80%; }
.meo-map-card__lines span:nth-child(2) { width: 60%; }
.meo-map-card__lines span:nth-child(3) { width: 40%; }

.meo-map-card__rating {
    margin-top: 10px;
    color: #f1c40f;
    font-size: 0.9rem;
}
.meo-map-card__rating span { color: #fff; margin-left: 5px; font-weight: bold; }

@keyframes pinBounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -65%); }
}

@keyframes radarRipple {
    0% { width: 0; height: 0; opacity: 1; border-width: 5px; }
    100% { width: 300%; height: 300%; opacity: 0; border-width: 0; }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* --- Common Section Styles --- */
.meo-section {
    padding: 100px 0;
    position: relative;
}

.meo-section__header {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.meo-section__title {
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.meo-section__subtitle {
    font-size: 1rem;
    color: #4CAF50;
    letter-spacing: 0.1em;
}


/* --- Problems --- */
.meo-problems__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.meo-problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    border-radius: 8px;
}
.meo-problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #4CAF50;
    transform: translateY(-5px);
}

.meo-problem-card__icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}
.meo-problem-card:hover .meo-problem-card__icon { color: #4CAF50; }

.meo-problem-card__title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.meo-problem-card__text {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
}


/* --- Logic --- */
.meo-logic__inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 4rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.meo-logic__content { flex: 1; }

.meo-logic__title {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
}

.meo-logic__subtitle {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.4;
}
.meo-logic__text {
    color: #ddd;
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.meo-logic__visual { flex: 1; display: flex; justify-content: center; }

.meo-connection-diagram {
    display: flex;
    align-items: center;
    gap: 20px;
}

.meo-node {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}
.meo-node--hp { background: #333; border: 2px solid #555; }
.meo-node--gbp { background: #4CAF50; border: 2px solid #4CAF50; box-shadow: 0 0 20px rgba(76, 175, 80, 0.4); }

.meo-connector {
    position: relative;
    width: 100px;
    height: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.meo-connector__line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #555, #4CAF50);
}
.meo-connector__icon {
    background: #000;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    z-index: 2;
}


/* --- Details --- */
.meo-details__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.meo-detail-item {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-left: 1px solid rgba(76, 175, 80, 0.3);
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.05) 0%, transparent 100%);
    transition: all 0.3s;
}
.meo-detail-item:hover {
    border-left-color: #4CAF50;
    padding-left: 2.5rem;
}

.meo-detail-item__num {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(76, 175, 80, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}
.meo-detail-item__title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}
.meo-detail-item__text {
    color: #ccc;
    line-height: 1.8;
}


/* --- Pricing (Glassmorphism + Screenshot Style) --- */
.meo-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.meo-pricing__card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.meo-pricing__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Featured Style (MEO保守) */
.meo-pricing__card--featured {
    border: 2px solid rgba(76, 175, 80, 0.5);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.1);
}

.meo-pricing__badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.meo-pricing__head {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meo-pricing__name {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.meo-pricing__desc {
    font-size: 0.9rem;
    color: #ccc;
}

.meo-pricing__body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.meo-pricing__price {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}
.meo-pricing__price .amount {
    font-size: 3rem;
    font-weight: bold;
}
.meo-pricing__price .tax { font-size: 0.9rem; }
.meo-pricing__price .type { font-size: 1rem; color: #888; }

.meo-pricing__include-box {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.meo-pricing__list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.meo-pricing__list li {
    font-size: 0.95rem;
    color: #ddd;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}
.meo-pricing__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}
.meo-pricing__list li strong { color: #fff; }
.meo-pricing__list .sub-list {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

.meo-pricing__btn {
    margin-top: auto;
    display: block;
    background: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}
.meo-pricing__btn:hover {
    background: #45a049;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.meo-pricing__note {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* --- FAQ (共通CSS前提だが微調整) --- */
.meo-faq__list { max-width: 800px; margin: 0 auto; }


/* --- CTA --- */
.meo-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(76, 175, 80, 0.1) 100%);
}
.meo-cta__title { font-size: 3rem; margin-bottom: 1.5rem; color: #fff; }
.meo-cta__text { font-size: 1.1rem; line-height: 2; color: #fff; margin-bottom: 3rem; }
.meo-cta__btn {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}
.meo-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
    color: #fff;
}


/* --- Responsive --- */
@media (max-width: 900px) {
    /* ヒーローセクション修正 */
    .meo-hero {
        min-height: auto; /* 高さを自動調整 */
        padding: 6rem 0 4rem; /* 上下の余白を十分に確保 */
    }
    .meo-hero__container { 
        flex-direction: column; 
        text-align: center; 
        gap: 3rem; /* 要素間の間隔 */
    }
    .meo-hero__content { width: 100%; }
    .meo-hero__visual { 
        width: 100%; 
        height: 350px; /* スマホ用に高さ調整 */
    }
    .meo-hero__label { margin-left: auto; margin-right: auto; display: block; width: fit-content; }
    
    .meo-problems__grid { grid-template-columns: 1fr; }
    
    .meo-logic__inner { flex-direction: column; padding: 2rem; }
    .meo-connection-diagram { flex-direction: column; }
    .meo-connector { width: 2px; height: 80px; }
    .meo-connector__line { width: 2px; height: 100%; background: linear-gradient(180deg, #555, #4CAF50); }
    
    .meo-details__grid { grid-template-columns: 1fr; }
    
    .meo-pricing__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .meo-hero__title-sub { font-size: 1.4rem !important; } /* タイトル文字サイズのスマホ調整 */
    .meo-section__title { font-size: 2rem; }
    .meo-pricing__price .amount { font-size: 2.5rem; }
}