@charset "UTF-8";

/* ==========================================================================
   AcsiomA Achievements Detail Section Style [ achieve.css ]
   ========================================================================== */

/* --- タイトルエリア --- */
.phase-header {
    max-width: 1000px; margin: 150px auto 60px; padding: 0 40px;
    text-align: center; animation: fadeIn 1s ease forwards;
}
.phase-num { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-size: 1.5rem; color: var(--color-theme); letter-spacing: 4px; margin-bottom: 10px; }
.phase-title { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-size: 3rem; color: #fff; letter-spacing: 6px; margin-bottom: 20px; text-shadow: 0 0 20px var(--color-theme-light); }
.phase-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 2.2; }

/* --- 標本箱（グリッド）エリア --- */
.specimen-grid {
    max-width: 1000px; margin: 0 auto 120px; padding: 0 40px;
    display: grid; grid-template-columns: 1fr; gap: 40px;
}
.specimen-card {
    background: rgba(255,255,255,0.01); border: 1px solid var(--border-light);
    border-radius: 2px; padding: 40px 50px; position: relative; cursor: pointer;
    transition: all 0.4s ease; opacity: 0; transform: translateY(20px);
    animation: fadeInCard 1s ease forwards;
}
.specimen-card:nth-child(1) { animation-delay: 0.2s; }
.specimen-card:nth-child(2) { animation-delay: 0.4s; }
.specimen-card:nth-child(3) { animation-delay: 0.6s; }

.specimen-card:hover {
    background: rgba(255,255,255,0.03); border-color: var(--color-theme-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); transform: translateY(-2px);
}

.live-indicator {
    position: absolute; top: 45px; left: 30px; width: 6px; height: 6px; border-radius: 50%;
    background-color: var(--color-theme); box-shadow: 0 0 10px var(--color-theme);
    animation: pulse 2.5s infinite ease-in-out;
}

.client-name { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', 'Noto Serif JP', serif; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 5px; padding-left: 10px; }
.system-name { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', 'Noto Serif JP', serif; font-size: 1.8rem; color: #fff; margin-bottom: 15px; letter-spacing: 1px; padding-left: 10px;}

.system-param {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-size: 1.05rem; color: rgba(255,255,255,0.7);
    letter-spacing: 1px; margin-bottom: 25px; padding-left: 10px;
    border-bottom: 1px dashed var(--border-light); padding-bottom: 15px;
}
.system-param span { color: var(--color-theme); margin-right: 5px; font-weight: bold;}

/* 原論（Axiom）リファレンス・タグ */
.ref-tags { display: flex; gap: 15px; flex-wrap: wrap; padding-left: 10px;}
.tag {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', 'Noto Serif JP', serif; font-size: 0.8rem; letter-spacing: 1px;
    padding: 4px 12px; border: 1px solid; border-radius: 20px;
    background: rgba(0,0,0,0.3); transition: all 0.3s ease;
    display: inline-block; text-decoration: none; cursor: pointer;
}
.tag.tech { color: var(--color-tech); border-color: rgba(80, 227, 194, 0.4); }
.tag.vision { color: var(--color-vision); border-color: rgba(130, 160, 141, 0.4); }
.tag:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.specimen-card:hover .tag.tech { border-color: var(--color-tech); background: rgba(80, 227, 194, 0.1); }
.specimen-card:hover .tag.vision { border-color: var(--color-vision); background: rgba(130, 160, 141, 0.1); }

.open-arrow { position: absolute; bottom: 30px; right: 40px; font-family: 'Poiret One', sans-serif; font-size: 1.5rem; color: var(--text-muted); transition: all 0.3s ease; }
.specimen-card:hover .open-arrow { color: #fff; transform: translateX(5px); }

/* e^Live Agile ロゴ表現 */
/* .e-live-agile { font-family: 'Times New Roman', Times, serif; font-style: italic; font-weight: normal; }
.e-live-agile sup { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-style: normal; font-weight: 400; font-size: 0.65em; top: -0.45em; letter-spacing: 0.5px; margin-left: 1px; }
*/
/* =========================================
   すりガラス・モーダル (詳細パネル)
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(17, 26, 36, 0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
    padding: 20px; /* ★モーダルの上下左右にゆとりを持たせる */
    box-sizing: border-box;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
    width: 100%; max-width: 1100px;
    max-height: calc(100vh - 40px); /* ★画面の高さからpadding分を引いて、はみ出しを防止 */
    overflow-y: auto;
    background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.15);
    padding: 60px; box-sizing: border-box; position: relative;
    transform: scale(0.95) translateY(20px); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute; top: 20px; right: 30px; background: none; border: none; color: var(--text-muted);
    font-size: 2.5rem; font-family: 'Poiret One', sans-serif; cursor: pointer; transition: all 0.3s; z-index: 2100;
}
.modal-close:hover { color: #fff; transform: rotate(90deg); }

.modal-title { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', 'Noto Serif JP', serif; font-size: 1.8rem; color: #fff; margin-bottom: 10px; border-bottom: 1px solid var(--border-light); padding-bottom: 20px;}

.modal-body-top { display: flex; gap: 50px; margin-top: 30px; align-items: flex-start; /* ★上揃えを強制 */ }
/* ★flexの比率と最低幅を指定し、潰れるのを防止 */
.modal-text-col { flex: 1.2; min-width: 0; }
.modal-visual-col { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; }

.sr-block { margin-bottom: 40px; }
.sr-label { font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--color-theme); letter-spacing: 2px; margin-bottom: 10px; display: block; }
.sr-text { font-size: 1.05rem; color: #D1D8E0; line-height: 2.0; text-align: justify; }

/* EVIDENCE (証明図版) */
.evidence-figure {
    margin: 0; padding: 20px; background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-light); border-radius: 2px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.evidence-figure img { width: 100%; height: auto; display: block; border: 1px solid rgba(255,255,255,0.05); background: #111; }
.figure-caption { margin-top: 15px; font-size: 0.85rem; color: var(--text-muted); text-align: center; letter-spacing: 1px; line-height: 1.6; }
.figure-caption b { color: var(--color-theme); font-family: 'Poiret One', sans-serif; letter-spacing: 2px;}

/* 現場の証言・動画エリア (FIELD以外でも使えるように共通化) */
.voice-section { margin-top: 10px; padding-top: 40px; border-top: 1px dashed rgba(255,255,255,0.15); display: flex; gap: 50px; align-items: flex-start; }
.voice-text-col { flex: 1; min-width: 0; }
.voice-quote { margin: 0; padding-left: 25px; border-left: 3px solid var(--color-theme); font-size: 1.15rem; color: #E2E8F0; line-height: 2.2; text-align: justify; font-family: "Klee One", serif; }
.voice-author { display: block; margin-top: 20px; font-size: 0.95rem; color: var(--text-muted); text-align: right; }
.voice-author b { color: #fff; font-weight: normal; letter-spacing: 1px;}

.voice-video-col { flex: 1; min-width: 0; }
.video-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; /* ★動画リストの下に余白を追加 */ }
.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #050505; border: 1px solid var(--border-light); border-radius: 2px; overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.tech-signature {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.5);
    font-family: 'Poiret One', serif; font-size: 0.75rem; color: var(--color-theme);
    text-align: right; letter-spacing: 2px;
}

/* 疑問解消ボタン（CTA） */
.cta-container { display: flex; justify-content: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.btn-cta {
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--color-theme);
    color: var(--color-theme); padding: 15px 30px; border-radius: 4px;
    font-family: 'Kyokasho Set', 'Klee One', serif; font-size: 1.1rem; font-weight: bold; letter-spacing: 1px;
    cursor: pointer; transition: all 0.4s ease;
    box-shadow: 0 0 10px var(--color-theme-light);
}
.btn-cta:hover { background: var(--color-theme); color: var(--bg-base); box-shadow: 0 0 25px var(--color-theme-light); transform: translateY(-2px); }
.btn-cta::after { content: " →"; font-family: 'Poiret One', serif; }

/* アニメーション */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInCard { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 15px var(--color-theme); } }

/* --- スマホ対応 --- */
@media (max-width: 900px) {
    .modal-body-top, .voice-section { flex-direction: column; gap: 30px; }
    /* ★スマホ時は画像エリアを少し狭めて圧迫感を減らす */
    .modal-visual-col, .voice-video-col { width: 100%; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .phase-header { padding: 0 20px; margin-top: 100px; text-align: left; }
    .phase-title { font-size: 2.2rem; }
    .specimen-grid { padding: 0 20px; }
    .specimen-card { padding: 30px 20px; }
    .live-indicator { top: 35px; left: 15px; }
    .system-param { font-size: 0.9rem; }
    .modal-content { padding: 40px 25px; }
    .cta-container { flex-direction: column; gap: 15px; }
    .btn-cta { width: 100%; font-size: 1rem; padding: 12px 20px; }
}
