@charset "utf-8";
/* ============================================================
   ConPass 共通パーツ（追従CTA / 比較表 / AIアシスタント / FAQ）
   利用ページ: index.php, bm.php, bm_new.php, index_new.php,
               lp-digitization.php, lp-electronic.php（全6ページ）
   ※各ページのインライン <style> から完全一致分を集約
   ============================================================ */
@font-face {
    font-family: 'mamoru-icon';
    src: url(/shared/fonts/mamoru-icon.eot);
    src: url(/shared/fonts/mamoru-icon.eot?#iefix) format("embedded-opentype"), url(/shared/fonts/mamoru-icon.woff) format("woff"), url(/shared/fonts/mamoru-icon.ttf) format("truetype");
    font-style: normal;
    font-weight: 400
}
/* 追従CTA用CSSの追加 */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 12px 0;
    transform: translateY(120%);
    transition: transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sticky-cta.is-visible {
    transform: translateY(0);
}
.sticky-cta-inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
}
.sticky-cta-text {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}
.sticky-cta-text span {
    background: #008BA5;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 12px;
}
.sticky-btn-group {
    display: flex;
    gap: 10px;
}
.sticky-btn {
    display: block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    transition: opacity 0.3s;
}
.sticky-btn:hover {
    opacity: 0.8;
}
.sticky-btn-sub {
    background: #fff;
    border: 2px solid #008BA5;
    color: #008BA5;
}
.sticky-btn-main {
    background: #F4D169;
    border: 2px solid #095A6B;
    color: #095A6B;
    min-width: 200px;
}
.sticky-btn small {
    display: block;
    font-size: 10px;
    font-weight: normal;
}
@media (max-width: 768px) {
.sticky-cta-inner {
    flex-direction: column;
    gap: 8px;
}
.sticky-cta-text {
    display: none;
}
.sticky-btn-group {
    width: 100%;
}
.sticky-btn {
    padding: 10px 0;
    width: 50%;
    font-size: 12px;
}
body.has-sticky-cta {
    padding-bottom: 80px;
}
}
/* ▼▼▼ 比較表デザイン改善用CSS ▼▼▼ */
.compare-table td:first-of-type {
    background-color: #f0f9fb;
    border-bottom: 1px solid #ccedf2;
    color: #333;
    font-weight: bold;
    position: relative;
}
.compare-table td:first-of-type strong {
    color: #095A6B;
    font-size: 1.2em;
}
.compare-table thead th:nth-child(2) {
    background-color: #f0f9fb;
    border: 3px solid #008BA5;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    position: relative;
}
.compare-table thead th:nth-child(2)::before {
    content: "おすすめ";
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #008BA5;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.compare-table thead th:nth-child(2)::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #008BA5 transparent transparent transparent;
}
.compare-table td:nth-of-type(n+2) {
    color: #666;
    font-size: 0.95em;
}
/* ▲▲▲ 追加終わり ▲▲▲ */

/* ▼▼▼ AIアシスタントセクション ▼▼▼ */
.ai-assistant {
    background: linear-gradient(135deg, #f0f9fb 0%, #e8f7fa 100%);
    padding: 80px 0;
    text-align: center;
}
.ai-assistant .reveal-heading {
    margin-bottom: 16px;
}
.ai-assistant-lead {
    font-size: 2rem;
    color: #202020;
    margin-bottom: 40px;
    line-height: 1.8;
    padding: 0 16px;
}
.ai-chat-demo {
    max-width: 680px;
    margin: 0 auto 60px;
    padding: 0 16px;
}
.ai-chat-demo-inner {
    background: #eef4f6;
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 4px 20px rgba(0,139,165,0.12);
}
.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ccdde1;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #095A6B;
}
.ai-chat-header-icon {
    width: 32px;
    height: 32px;
    background: #008BA5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}
.chat-row .bubble {
    text-align: left;
}
.chat-row.q {
    flex-direction: row-reverse;
}
.chat-row.q .bubble {
    background: #008BA5;
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 18px;
    max-width: 78%;
    font-size: 1.6rem;
    line-height: 1.6;
}
.chat-row.a {
    flex-direction: row;
}
.chat-row.a .ai-icon {
    width: 36px;
    height: 36px;
    background: #008BA5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.chat-row.a .bubble {
    background: #fff;
    color: #202020;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 18px;
    max-width: 85%;
    font-size: 1.6rem;
    line-height: 1.6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.ai-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 16px;
}
.ai-modes {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 16px;
}
.ai-modes > h3 {
    font-size: 2.4rem;
    color: #095A6B;
    text-align: center;
    margin-bottom: 24px;
    font-weight: bold;
}
.ai-modes-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.ai-mode-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: left;
}
.ai-mode-item h4 {
    color: #008BA5;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0eff2;
}
.ai-mode-item p {
    font-size: 1.6rem;
    color: #202020;
    line-height: 1.8;
}
.ai-security-note {
    background: #f4f9fa;
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 1.5rem;
    color: #444;
    text-align: left;
    line-height: 1.8;
    list-style: none;
    margin: 0;
}
.ai-security-note li {
    position: relative;
    padding-left: 1.6em;
}
.ai-security-note li::before {
    content: '';
    position: absolute;
    left: 0.25em;
    top: 0.45em;
    width: 0.45em;
    height: 0.8em;
    border-right: 2px solid #008BA5;
    border-bottom: 2px solid #008BA5;
    transform: rotate(45deg);
}
.chat-row:last-child { margin-bottom: 0; }
.ai-feature-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    box-shadow: 0 4px 16px rgba(0,139,165,0.08);
    text-align: center;
}
.ai-feature-item h3 {
    color: #008BA5;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
}
.ai-feature-item p {
    font-size: 1.6rem;
    color: #202020;
    line-height: 1.7;
    text-align: left;
}
.ai-assistant-movie {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
}
.ai-assistant-movie h3 {
    font-size: 2.4rem;
    color: #095A6B;
    margin-bottom: 16px;
    font-weight: bold;
}
@media (max-width: 1024px) {
    .ai-features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}
@media (max-width: 768px) {
    .ai-modes-inner {
        grid-template-columns: 1fr;
    }
    .ai-chat-demo-inner {
        padding: 20px 16px;
    }
    .ai-assistant-lead {
        font-size: 1.4rem;
    }
    .chat-row.q .bubble,
    .chat-row.a .bubble {
        font-size: 1.4rem;
    }
    .ai-feature-item h3 {
        font-size: 1.6rem;
    }
    .ai-feature-item p,
    .ai-mode-item p {
        font-size: 1.3rem;
    }
    .ai-modes > h3,
    .ai-assistant-movie h3 {
        font-size: 2rem;
    }
    .ai-mode-item h4 {
        font-size: 1.6rem;
    }
    .ai-security-note {
        font-size: 1.3rem;
    }
}
/* アイコンサイズ最適化版 CSS */
.faq-category {
      margin-bottom: 60px;
    }
.faq-cat-title {
      font-size: 1.8rem;
      color: #333;
      border-left: 10px solid #008BA5;
      padding-left: 20px;
      margin-bottom: 30px;
      font-weight: 800;
      line-height: 1.4;
    }
.faq-item {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 12px;
      margin-bottom: 24px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
.faq-item:hover {
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      border-color: #008BA5;
      transform: translateY(-3px);
    }
.faq-item summary {
      padding: 30px 70px 30px 30px;
      font-weight: bold;
      font-size: 1.6rem;
      line-height: 1.5;
      color: #111;
      cursor: pointer;
      list-style: none;
      position: relative;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z' fill='rgba(0,139,165,1)'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 30px center;
      background-size: 32px;
      display: flex;
      align-items: flex-start;
    }
.faq-item summary::-webkit-details-marker {
      display: none;
    }
.faq-answer-inner {
      font-size: inherit;
      line-height: 2.0;
      color: #333;
      letter-spacing: 0.05em;
      padding-top: 0.1em;
    }
.faq-answer-inner p {
      margin: 0;
    }
@media (max-width: 768px) {
      .faq-item summary {
        font-size: 1.25rem;
        padding: 24px 50px 24px 20px;
        background-position: right 15px center;
      }
      .faq-answer {
        font-size: 1.1rem;
        padding: 24px 20px;
      }
    }

/* ▼▼▼ YouTube: サムネイル表示 → クリックで大画面ポップアップ再生 ▼▼▼ */
/* ▼ YouTube lazy load */
.yt-lazy {
    position: relative;
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    cursor: pointer;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.yt-lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity .2s;
}
.yt-lazy:hover img { opacity: 1; }
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #ff0000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
}
.yt-lazy:hover .yt-play {
    background: #cc0000;
    transform: translate(-50%, -50%) scale(1.1);
}
.yt-play::after {
    content: '';
    border-style: solid;
    border-width: 11px 0 11px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}
/* yt-lazy用: 共有CSSのpadding-top動画ボックスを無効化 */
.quick-movie .movie,
.ai-assistant-movie .movie,
.function-movie ul li dl dd {
    height: auto !important;
    padding-top: 0 !important;
    position: static !important;
    display: block !important;
}
/* 再生ポップアップ */
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.88);
}
.yt-modal.is-open {
    display: flex;
}
.yt-modal-inner {
    position: relative;
    width: min(1280px, 100%, calc((100vh - 130px) * 16 / 9));
    aspect-ratio: 16 / 9;
}
.yt-modal-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.yt-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.yt-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
body.yt-modal-open {
    overflow: hidden;
}
@media (max-width: 768px) {
    .yt-modal {
        padding: 56px 12px 20px;
    }
}

