.features {
    background: #F6F9FB;
}

.features .container {
    margin: 0 auto;
}

.features .section-header {
    display: flex;
    align-items: center;
    /* 縦方向中央揃え */
    justify-content: space-between;
    /* 左右分割 */
    gap: 40px;
    /* 画像とテキストの間隔 */
    margin-bottom: 0;
}

/* 左側（画像ブロック） */
.features .section-header .image-block {
    flex: 0 0 40%;
    /* 画像エリア幅 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.features .section-header .image-block img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 右側（テキストブロック） */
.features .section-header .text-block {
    flex: 0 0 55%;
}

/* 見出し */
.features .section-header .feature-message {
    color: var(--color-text);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: left;
    text-align: center;
}

/* 段落 */
.features .section-header .text-block p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 16px;
}

/* ハイライト部分 */
.features .highlight {
    font-weight: bold;
    background: none;
    /* グラデーション適用 */
    padding-bottom: 2px;
    border-bottom: 4px solid #1EBCE9;
}

.features .highlight-border {
    font-weight: bold;
    font-size: 20px;
    color: rgb(255, 0, 0);
}

/* スマホ対応（縦並び） */
@media (max-width: 768px) {
    .features .section-header {
        flex-direction: column-reverse;
        gap: 24px;
    }
    .features .section-header .feature-message {
        font-size: 30px;
    }

    .features .section-header .image-block,
    .features .section-header .text-block {
        flex: 0 0 100%;
    }
    .features .section-header .text-block p {
        font-size: 14px;
    }
}



.ar-video-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.ar-video-container .ar-card {
    flex: 1;
    max-width: 360px;
}

@media screen and (max-width: 768px) {
    .ar-video-container {
        flex-direction: column;
        align-items: center;
    }
}

.ar-video-container .smartphone-frame {
    width: 300px;
}

@media (max-width: 440px) {
    .ar-video-container .smartphone-frame {
        width: 200px;
    }
}

/********************
プロブロムセクション
*********************/

.problem-section {
    text-align: center;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
}

.highlight-border {
    position: relative;
    display: inline-block;
}


/* ─── 吹き出し全体配置 ─── */
.problem-bubble-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 1080px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
}

/* ─── 吹き出し本体 ─── */
.bubble {
    position: relative;
    background: #dfe7ee;
    border-radius: 20px;
    padding: 22px 28px;
    width: 30%;
    height: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
    text-align: left;
}

/* ─── にょろん（思考バブル3つセット）─── */
.bubble .dot {
    position: absolute;
    border-radius: 50%;
    background-color: #dfe7ee;
}

/* 左バブル：右下から中央方向へ */
.bubble-left .dot1 {
    width: 16px;
    height: 16px;
    bottom: -25px;
    left: 65%;
}

.bubble-left .dot2 {
    width: 12px;
    height: 12px;
    bottom: -45px;
    left: 75%;
}

.bubble-left .dot3 {
    width: 8px;
    height: 8px;
    bottom: -60px;
    left: 83%;
}

/* 中央バブル：真下方向 */
.bubble-center .dot1 {
    width: 16px;
    height: 16px;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.bubble-center .dot2 {
    width: 12px;
    height: 12px;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.bubble-center .dot3 {
    width: 8px;
    height: 8px;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

/* 右バブル：左下から中央方向へ */
.bubble-right .dot1 {
    width: 16px;
    height: 16px;
    bottom: -25px;
    right: 65%;
}

.bubble-right .dot2 {
    width: 12px;
    height: 12px;
    bottom: -45px;
    right: 75%;
}

.bubble-right .dot3 {
    width: 8px;
    height: 8px;
    bottom: -60px;
    right: 83%;
}

/* ─── カーブ配置（アーチ状）─── */
.bubble-left {
    transform: translateY(40px);
}

.bubble-center {
    transform: translateY(0);
}

.bubble-right {
    transform: translateY(40px);
}

/* ─── タイトル・本文 ─── */
.bubble-title {
    font-size: 22px;
    font-weight: 700;
    color: #004bb7;
}

.bubble-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bubble-list li {
    margin-bottom: 5px;
    padding-left: 1.4em;
    position: relative;
}

.bubble-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: 600;
}

/* ─── イラスト ─── */
.problem-image {
    margin-top: 50px;
    position: relative;
    z-index: 0;
}

.problem-image img {
    width: 360px;
    max-width: 100%;
    display: inline-block;
}

/* ─── レスポンシブ対応 ─── */
@media (max-width: 768px) {
    .problem-bubble-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .bubble {
        width: 90%;
        height: auto;
    }
    .bubble-left , .bubble-right{
        transform: translateY(0px);
    }

    .dot1,
    .dot2,
    .dot3 {
        display: none;
    }

    .problem-image {
        margin-top: 60px;
    }

    .problem-image img {
        width: 260px;
    }

    .section-title {
        font-size: 26px;
    }
}


/* ─── 導線エリア ─── */
.problem-next {
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
}

.arrow-down {
    font-size: 36px;
    color: #007aff;
    animation: smooth-bounce 1.5s ease-in-out infinite;
    margin-bottom: 20px;
    display: inline-block;
}

@keyframes smooth-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}


/* ─── アニメーション ─── */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





.bold {
    font-weight: bold;
}

.ar-view.top .ar-card .card-body,
.cardar-detail__phone .card-body {
    background: none;
}


/* 各カード全体に枠線を追加 */
.ar-view.top .ar-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 20px;
}


/* 上段（3Dプレビュー）にも枠線 */
.ar-view.top .ar-feature-top .ar-card.large {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

/* カード内のテキスト部分を整える */
.ar-view.top .ar-card .card-body {
    padding: 16px 20px;
}

/* セクション全体に軽い区切り */
.ar-view.top {
    padding-top: 48px;
    padding-bottom: 48px;
}

.ar-view.top .ar-card p {
    font-size: 18px;
    margin: 0;
}

.ar-view.top .ar-card h3 {
    font-size: 24px;
    margin: 10px 0;
    color: var(--ink-strong);
    text-decoration-line: underline;
    text-decoration-color: #419aff;
    text-decoration-thickness: 4px;
}



/* ─── レスポンシブ対応 ─── */
@media (max-width: 768px) {
    .ar-view.top .ar-card h3 {
        font-size: 18px;
    }
    .ar-view.top .ar-card p {
        font-size: 16px;
    }
}

.problem-section .styled-header {
    text-align: center;
    padding: 40px 0;
}

.problem-section .styled-header .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #002e6b;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin: 0;
}

.problem-section .styled-header .section-title .highlight {
    font-size: 34px;
    color: #004bb7;
    font-weight: 800;
}

.problem-section .styled-header .section-title .title-decoration {
    color: #004bb7;
    font-weight: 700;
    margin: 0 4px;
}

.next-message {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.next-message .highlight {
    background: var(--brand-grad);
    color: var(--brand-contrast);
    font-weight: 700;
    font-size: 32px;
}

.next-message-small {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}


.next-message-small {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
  }
  
  .keyword {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #004bb7;
  }
  


/* ─── レスポンシブ対応 ─── */
@media (max-width: 768px) {
    .problem-section .styled-header .section-title .highlight {
        font-size: 22px;
    }
    .problem-section .styled-header .section-title {
        font-size: 20px;
    }
    .problem-section .styled-header .section-title {
        letter-spacing: 0;
    }
    .problem-section .styled-header {
        text-align: center;
        padding: 20px 0;
        margin-bottom: 0;
    }
    .next-message .highlight {
        font-size: 22px;
    }
    .next-message-small, .keyword {
        font-size: 16px;
    }

}



  .digista-features {
    font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
    color: #222;
  }
  
  .digista-features .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 48px;
  }
  
  .digista-features .maintitle {
    font-size: 22px;
    font-weight: 700;
    color: #004bb7;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  
  .digista-features .subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-align: left;
    margin-bottom: 16px;
  }
  
  .digista-features .feature-item p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    text-align: left;
  }
  
  .digista-features .bold {
    font-weight: 700;
  }
  
  .digista-features .color-accent {
    font-weight: bold;
    font-size: 20px;
    color: rgb(255, 0, 0);
  }


.heading-level2 {
    position: relative;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    color: #000;
    border-left: medium solid #0c0c0c;
    padding-left: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 539px) {
    .heading-level2 {
        margin-left: 10px;
    }
}

.inlineframe {
    background-color: #FFFFFF;
    height: 200px;
    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0 15px 15px;
    padding: 10px;
    border: solid 1px #eee;
}


.inlineframe p {
    font-size: 12px !important;
    text-align: left;
    color: #333;
}

dl.policy dt {
    float: none;
    width: 100%;
    clear: both;
    padding-bottom: 5px;
    padding-left: 0px;
    margin-top: 10px;
    line-height: 20px;
    font-size: 12px;
}
dl.policy dd {
    margin-left: 20px;
    line-height: 1.2em;
    border-bottom: solid 0px #eee;
    font-size: 12px;
}

.plan-table thead tr:first-child th:first-child {
    border-top: 1px solid var(--bg-alt);
    border-left: 1px solid var(--bg-alt);
  }

/* Digista only: switch to hamburger earlier on tablet to prevent logo compression */
@media (min-width: 770px) and (max-width: 1023px) {
    .header-right {
        display: none;
    }

    .user-menu {
        display: block;
        position: relative;
    }

    .user-menu-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: 94px;
        bottom: 0;
        width: 100%;
        display: none;
        z-index: 2000;
        background-color: var(--color-white);
        background: var(--color-white);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .user-menu.active .user-menu-dropdown {
        display: block;
    }
}
  
