/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic Pron", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 80px;
}

/* タブレット対応 */
@media (max-width: 768px) {
    .logo-image {
        height: 60px;
    }
}

.footer-bottom {
    font-size: 14px;
}


/* タブレット対応 */
@media (max-width: 768px) {
    .footer-top {
        padding-bottom: 34px;
        padding-top: 18px;
        grid-template-columns: initial;
    }
    .footer {
        padding: 30px 0px;
    }
    .footer-top .logo-image {
        height: 46px;
    }
    .footer-bottom {
        font-size: 16px;
    }
}

/* スマホ対応 */
@media (max-width: 440px) {
    .footer-top {
        padding-bottom: 26px;
    }
    .footer {
        padding: 30px 0px;
    }
    .footer-top .logo-image {
        height: 40px;
    }
    .footer-bottom {
        font-size: 16px;
    }
}



.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #000;
}

.header-cta {
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 2rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 追加：独立スタックを作る */
.hero {
    margin-top: 106px;
    isolation: isolate;
}

/* 背景動画：最下層 */
.hero video.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* ← 最下層に固定 */
    display: block;
    /* ← 余計な隙間を防止 */
}

/* オーバーレイ：動画の上、テキストの下 */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url(/static/front/img/digista/top/hero/overlay.png) center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
    /* ← 動画の上に確実に載せる */
}

/* テキスト：最前面 */
.hero .container {
    position: relative;
    /* ← 通常フローでOK。重なりだけ指定 */
    z-index: 2;
}


.hero-title {
    font-size: 46px;
    font-weight: 700;
    color: #354659;
    line-height: 1.7;
    padding: 16px;
}

.hero-highlight {
    background: linear-gradient(50deg, #1EBCE9 0%, #3787EF 20%, #4799EA 30%, #7174EA 45%, #AC4EE0 70%, #D430D0 100%);
    color: #fff;
    padding: 4px;
}

/* タブレット対応 */
@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        margin-top: 60px;
    }

    .hero-content {
        align-items: start;
    }

    .hero-title {
        font-size: 36px;
    }
}

/* スマホ対応 */
@media (max-width: 440px) {
    .hero {
        --hero-top: 200px;
        position: relative;
        margin-top: 60px;
        padding-top: var(--hero-top);
        background: #fff;
        isolation: isolate;
        overflow: hidden;
        padding-bottom: 0;
    }

    .hero__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--hero-top);
        background: url(/static/front/img/digista/top/hero/overlay-sp.png) center/cover no-repeat;
        pointer-events: none;
        z-index: 1;
    }

    .hero .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--hero-top);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        text-align: center;
        z-index: 2;
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.7;
    }

    .hero video.bg-video {
        position: static !important;
        display: block;
        width: 100%;
        height: auto !important;
        margin: 0;
        object-fit: cover;
        z-index: 0;
    }
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-divider {
    color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 38px;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title.about {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-heading__em {
    background: linear-gradient(50deg,
            #1EBCE9 0%,
            #3787EF 20%,
            #4799EA 30%,
            #7174EA 45%,
            #AC4EE0 70%,
            #D430D0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 56px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 20px;
    color: #222;
    max-width: 860px;
    margin: 0 auto;
    margin-bottom: 16px;
}
.logo-image-about {
    height: 72px;
    margin: 0;
}

/* タブレット対応 */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 1rem;
        font-weight: 800;
    }

    .section-subtitle {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .service-heading__em {
        font-size: 48px;
    }
    .logo-image-about {
        height: 56px;
    }
}

/* スマホ対応 */
@media (max-width: 440px) {
    section {
        padding: 30px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 1rem;
        font-weight: 800;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .service-heading__em {
        font-size: 42px;
    }
    .logo-image-about {
        height: 44px;
    }
}


/* Features Section */
.features {
    background: url(/static/front/img/digista/top/about/about02.png) center bottom / 100% auto no-repeat;
}

.features .section-subtitle {
    padding-bottom: 26px;
}

.features .highlight {
    background: linear-gradient(transparent 60%, yellow 60%);
    font-weight: bold;
}

.features-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: #000;
    border-bottom-color: #000;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text h3 {
    color: #000;
    margin-bottom: 1.5rem;
    font-size: 30px;
    font-weight: 900;
}

.feature-text p {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.feature-visual {
    position: relative;
}

.feature-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}



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

.ar-video-container video {
    flex: 0 1 calc(25% - 10px);
    height: 420px;
    border-radius: 8px;
    object-fit: contain;
}

/* タブレット対応（2列×2行） */
@media (max-width: 768px) {
    .ar-video-container video {
        flex: 0 1 calc(50% - 10px);
        margin: 16px 0px;
    }
}

/* スマホ対応（2列×2行、さらに高さ調整） */
@media (max-width: 440px) {
    .ar-video-container {
        justify-content: center;
    }

    .ar-video-container video {
        flex: 0 1 calc(50% - 10px);
        height: 280px;
        margin: 10px 0px;
    }
}



.patterns .pattern-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.patterns .pattern-item {
    flex: 0 1 400px;
    text-align: center;
}

.patterns .pattern-item .circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
    padding: 1rem;
}

.patterns .pattern-item .circle.left {
    background: linear-gradient(to right, #c3f8ff, #d9cef8);
    color: #000000;
}

.patterns .pattern-item .circle.right {
    background: linear-gradient(50deg, #1EBCE9 0%, #3787EF 20%, #4799EA 30%, #7174EA 45%, #AC4EE0 70%, #D430D0 100%);
    color: #fff;
}

.patterns .pattern-description {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    color: #333;
    line-height: 1.6;
}

/* タブレット対応（768px以下でも2カラム） */
@media (max-width: 768px) {
    .patterns .pattern-item {
        flex: 0 1 calc(50% - 2rem);
    }
}

/* スマホ対応（440px以下は縦並び） */
@media (max-width: 440px) {
    .patterns .pattern-list {
        flex-direction: column;
        align-items: center;
    }

    .patterns .pattern-item {
        flex: 0 1 100%;
    }

    .patterns .pattern-item .circle {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: bold;
        line-height: 1.4;
        padding: 1rem;
    }

    .patterns .pattern-description {
        margin-top: 1rem;
    }
}



/* 特徴セクション */
/* コンテナ中央固定 */

.digista-features h3 {
    font-size: 28px;
    text-align: center;
}


/* 5つの特徴：カードを上3・下2で中央寄せ */
.digista-features .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 各行を中央寄せ */
    gap: 30px 30px;
    /* 行間・列間 */
    max-width: 1120px;
    /* 横幅をやや絞って3列を作りやすく */
    margin: 0 auto;
}

/* 各カードの幅（PCで3列、下段は2列になっても中央に寄る） */
.digista-features .feature-item {
    flex: 0 1 300px;
    text-align: center;
}

/* 画像を中央＆サイズ統一（丸画像なら画像側に背景済でOK） */
.digista-features .feature-item img {
    display: block;
    width: 300px;
    /* 画像の見栄えサイズ */
    max-width: 100%;
    height: auto;
    margin: 0 auto 14px;
}

/* タイトル・本文の整え */
.digista-features .feature-item h3 {
    font-size: 22px;
    /* 大きすぎる場合は調整 */
    line-height: 1.4;
    margin: 8px 0 10px;
}

.digista-features .feature-item p {
    max-width: 36em;
    /* 行の伸び過ぎ防止 */
    margin: 0 auto;
}

/* タブレット以下：H3を1行目全面、その下で 画像左 | 本文右 */

/* スマホ：さらにコンパクトに */
@media (max-width: 440px) {
    .digista-features .feature-item {
        display: grid;
        grid-template-columns: 160px 1fr;
        grid-template-areas:
            "title title"
            "thumb body";
        column-gap: 16px;
        row-gap: 12px;
        align-items: start;
        flex-basis: 100%;
        text-align: left;
    }

    .digista-features .feature-item h3 {
        grid-area: title;
        margin: 0 0 4px;
        font-size: 18px;
    }

    .digista-features .feature-item img {
        grid-area: thumb;
        width: 160px;
        max-width: none;
        height: auto;
        margin: 0;
        flex-shrink: 0;
    }

    .digista-features .feature-item p {
        font-size: 15px;
        grid-area: body;
        margin: 0;
        line-height: 1.6;
        width: 100%;
    }

    /* brタグを無視して1行にする */
    .digista-features .feature-item h3 br {
        display: none;
    }
}

@media (max-width: 375px) {
    .digista-features .feature-item {
        grid-template-columns: 140px 1fr;
    }

    .digista-features .feature-item img {
        width: 140px;
    }

    .digista-features .feature-item p {
        font-size: 14px;
    }
}


/* Demo Components */
.digital-content-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.content-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: scale(1.05);
}

.gacha-demo {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 12px;
    padding: 2rem;
    height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gacha-machine {
    width: 120px;
    height: 160px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gacha-ball {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #fff, #ff6b6b);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(-20px);
    }
}

.voice-demo {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 12px;
    padding: 2rem;
    height: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.phone-icon {
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.voice-waves {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wave {
    width: 4px;
    height: 20px;
    background: #333;
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 0.2s;
}

.wave:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        height: 20px;
    }

    50% {
        height: 40px;
    }
}


/* ─── セクション全体 ─── */
.use-cases {
    padding: 80px 0;
}

.use-cases .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ─── グリッド ─── */
.use-cases .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 24px;
    justify-items: center;
}

/* ─── カード ─── */
.use-case-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px 28px 28px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.use-case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(50deg,
            #1EBCE9 0%,
            #3787EF 20%,
            #4799EA 30%,
            #7174EA 45%,
            #AC4EE0 70%,
            #D430D0 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.use-cases .use-case-card:hover {
    transform: translateY(-6px);
}

/* ─── アイコン ─── */
.use-cases .use-case-card .icon-wrapper {
    position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(65deg, rgb(0, 204, 255) 0%, rgb(255, 0, 204) 95%, rgb(255, 0, 204) 100%);
}

.use-cases .text-white {
    --tw-text-opacity: 1;
    color: #fff;
}

.use-cases .use-case-card .icon-wrapper svg {
    width: 30px;
    height: 30px;
}

/* ─── 本文 ─── */
.use-cases .card-body img {
    display: block;
    margin: 0 auto 16px;
    max-width: 100%;
    border-radius: 6px;
}

.use-cases .card-title {
    font-size: 24px;
    margin-bottom: 12px;
}


.use-case-content {
    padding: 2rem;
}

.use-case-content h3 {
    color: #000;
    margin-bottom: 1rem;
}

.use-case-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.use-case-benefits li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.use-case-benefits li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* タブレット：2列、h3→[画像190|本文] */
@media (max-width: 768px) {
    .use-cases .use-cases-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        justify-items: stretch;
        gap: 20px;
    }

    .use-cases .use-case-card {
        max-width: none;
        width: 100%;
        text-align: left;
        margin-top: 16px;
    }

    .use-cases .card-body {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-areas:
        "thumb title"
        "thumb body";
        column-gap: 16px;
        row-gap: 0px;
        align-items: start;
    }

    .use-cases .card-title {
        grid-area: title;
        margin: 0 0 8px;
        text-align: left;
    }

    .use-cases .card-title br {
        display: none;
    }

    .use-cases .card-body img {
        grid-area: thumb;
        width: 200px;
        height: auto;
        margin: 0;
        border-radius: 6px;
    }

    .use-cases .card-text {
        grid-area: body;
        margin: 0;
        line-height: 1.7;
        font-size: 20px;
    }
}


/* スマホ：1列（縦に3つ）に戻す＋余白確保 */
@media (max-width: 440px) {
    .use-cases .use-cases-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 16px;
    }

    .use-cases .use-case-card {
        text-align: center;
        max-width: none;
        width: 100%;
        padding: 20px 14px 28px;
        margin-top: 24px;
    }

    .use-cases .card-body {
        display: block;
    }

    .use-cases .card-title {
        margin: 12px 0 10px;
        font-size: 18px;
    }

    .use-cases .card-title br {
        display: inline;
    }

    .use-cases .card-body img {
        display: block;
        width: 80%;
        height: auto;
        margin: 0 auto 14px;
    }

    .use-cases .card-text {
        margin: 0 auto;
        line-height: 1.7;
        text-align: left;
        font-size: 16px;
    }
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.placeholder-image.event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-image.ec {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-image.store {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}


.kpi-example {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.kpi-label {
    color: #666;
}

.kpi-value {
    color: #000;
    font-weight: 600;
}


.experience {
    /* background: #f8f9fa; */
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.ar-placeholder {
    text-align: center;
    color: #666;
}

.ar-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.experience-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #000;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #333;
    margin-top: 12px;
    padding: 21px;
    border-radius: 8px;
    box-shadow: 0 1px 7px 0 rgba(0, 91, 171, .2);
    background: #fff;
}

.feedback-form {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feedback-form h3 {
    color: #000;
    margin-bottom: 1.5rem;
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.ar-experience-image {
    margin-top: 3rem;
    text-align: center;
}

.experience-demo-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing {
    background: #f8f9fa;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid #000;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: #000;
    margin-bottom: 1.5rem;
}

.price-range {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
}

.unit {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.delivery-time {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.time-label {
    color: #666;
}

.time-value {
    color: #000;
    font-weight: 600;
}

.pricing-cta {
    text-align: center;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
}

/* Case Studies Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    height: 0;
    padding-bottom: 63%;
    position: relative;
    overflow: hidden;
}

.case-image-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image-img {
    transform: scale(1.05);
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    color: #000;
    margin-bottom: 1rem;
}

.case-content p {
    margin-bottom: 1.5rem;
}

.case-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cases-cta {
    text-align: center;
}

.cases-cta p {
    margin-bottom: 1.5rem;
    color: #666;
}


.flow {
    position: relative;
    overflow: hidden;
}

/* 背景曲線（任意のSVGやPNGに差し替え可能） */
.flow-curve {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background-image: url('/static/front/img/digista/top/flow/curve.svg');
    background-repeat: no-repeat;
    opacity: 0.1;
}

.flow .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.flow .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.flow .section-title {
    margin-bottom: 8px;
}

.flow .flow-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-left: 100px;
}

/* タイムラインの縦線 */
.flow .timeline-line {
    position: absolute;
    top: 68px;
    left: 153px;
    width: 4px;
    height: 80%;
    background-image: repeating-linear-gradient(to bottom,
            #292929,
            #292929 6px,
            transparent 6px,
            transparent 12px);
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-icon {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    z-index: 2;
    margin-top: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* アイコン背景の丸シェイプ */
.step-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    height: 140px;
    background: linear-gradient(to right, #c3f8ff, #d9cef8);
    border-radius: 50%;
    z-index: -1;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: #F6F9FB;
    border-radius: 50%;
    z-index: -2;
}

.step-icon img {
    width: 90%;
    height: 90%;
}

.step-icon img.step01-img {
    width: 90%;
    height: 90%;
}

.step-icon img.step02-img {
    width: 90%;
    height: 90%;
}

.step-icon img.step03-img {
    width: 90%;
    height: 90%;
}

.step-icon img.step04-img {
    width: 90%;
    height: 90%;
}

.flow-step-number {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    background: linear-gradient(50deg, #1EBCE9 0%, #3787EF 20%, #4799EA 30%, #7174EA 45%, #AC4EE0 70%, #D430D0 100%);
    color: #fff;
    border-radius: 50px;
    padding: 0px 18px 0px 18px;
    left: 80px;
    z-index: 3;
}

.flow-step-number::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: #F6F9FB;
    z-index: -1;
}

.step-content {
    padding: 12px 32px 24px 32px;
    border-radius: 40px;
    flex: 1;
}

.step-title {
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 12px;
    color: #222;
}

.step-text {
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 768px) {

    .flow .flow-list {
        padding-left: 0;
    }
    .step-content p {
        box-shadow: none;
        background: #fff;
    }

    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        background: #fff;
        box-shadow: 0 1px 7px 0 rgba(0, 91, 171, .2);
        border-radius: 8px;
    }
    .flow .timeline-line {
        display: none;
    }
    .step-icon {
        margin-top: 0px;
    }

    .step-icon::before {
        width: 120px;
        height: 120px;
    }
    .step-icon::after {
        display: none;
    }
    .flow-step-number {
        position: relative;
        left: -30%;
        top: -20px;
    }
}

@media (max-width: 440px) {
    .flow-step-number {
        font-size: 26px;
    }
    .step-title {
        font-size: 26px;
        margin: 0 0 12px;
        color: #222;
    }
    .step-content {
        padding: 12px;
    }
    .step-content p {
        padding: 0px;
        font-size: 16px;
    }
}



/* FAQ Section */


@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: box-shadow 0.3s, transform 0.2s;
}

.faq-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}


.faq-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-left: 4px;
    margin-bottom: 10px;
    color: #222;
}

.faq-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-left: 4px;
}

.faq-card svg {
    height: 32px;
    width: 32px;
    margin-top: -4px;
    max-width: initial;
    color: #0098ff;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}


/* スマホ対応 */
@media (max-width: 440px) {
    .faq-grid {
        gap: 16px;
    }
    .faq-card h3 {
        font-size: 16px;
    }
    .faq-card {
        padding: 14px 14px;
    }
    .faq-card p {
        font-size: 14px;
        margin-bottom: 0;
    }
}


/* CTA Section */
.cta-section {
    padding: 40px 0;
    background: #000000;
    color: #FFFFFF;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
}

.cta-title {
    font-size: 40px;
    color: #fff;
}

/* タブレット対応 */
@media (max-width: 768px) {
    .cta-title {
        font-size: 36px;
    }
}

/* スマホ対応 */
@media (max-width: 440px) {
    .cta-title {
        font-size: 30px;
    }
}


.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 青グラデ */
/* .cta-section.gradient {
    background: linear-gradient(135deg, #14B8A6 0%, #3B82F6 100%);
} */
.cta-section.gradient {
    background: linear-gradient(50deg,
            #1EBCE9 0%,
            #4799EA 30%,
            #7174EA 45%,
            #AC4EE0 70%,
            #D430D0 100%);
}

.cta-buttons .btn-primary {
    background-color: #fff;
    color: #333;
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
}

.cta-buttons .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background-color: #fff;
    color: #333;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #000;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: solid 2px #000;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 3px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}


.contact-form {
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #E5E5E5;
}

.contact-form .form-label {
    font-size: 1.4rem;
}

.contact-form .submit-button {
    background: #000000;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 1.4rem;
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 360px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}


/* スマホ対応 */
@media (max-width: 440px) {
    .contact-form .form-label {
        font-size: 1.1rem;
    }
    .contact-form .submit-button {
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}


.alert {
    position: fixed;
    top: 106px;
    padding: 14px;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
    border: 0;
    width: 100%;
    z-index: 2;
    font-size: 20px;
}

.alert.alert-success {
    background-color: rgba(209, 231, 221, 0.9);
    color: #0a3622;
}

.alert.alert-danger {
    background-color: rgba(248, 215, 218, 0.9);
    /* 透明度0.9 */
    color: #58151c;
}

/* セクション背景の一括管理 */
.hero {
    /* 白 */
    background-color: #fff;
}

.features {
    /* 白 */
    background-color: #fff;
}

.patterns {
    /* 薄グレー */
    background-color: #F6F9FB;
}

.ar-view {
    /* 白 */
    background-color: #fff;
}

.digista-features {
    /* 薄グレー */
    background-color: #F6F9FB;
}

.use-cases {
    /* 白 */
    background-color: #fff;
}

.flow {
    /* 薄グレー */
    background-color: #F6F9FB;
}

.faq {
    /* 白 */
    background-color: #fff;
}

.contact {
    /* 薄グレー */
    background-color: #F6F9FB;
}