@charset "UTF-8";

/* =========================================================
   Local Web Fonts
========================================================= */

@font-face {
    font-family: "Noto Sans JP";
    src: url("./fonts/noto-sans-jp/NotoSansJP-Variable.woff2")
         format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* =========================================================
   基本設定・変数
========================================================= */
:root {
    /* Index variables */
    --primary-green: #1a8c4b;
    --primary-blue: #2159a6;
    --text-main: #333333;
    --text-light: #666666;
    --bg-gray: #f7f9fb;
    --bg-light-green: #eef5f1;
    --white: #ffffff;
    --content-width: 1100px;
    
    /* Subpages overrides & additions */
    --sub-primary-green: #0a7a40;
    --footer-bg: #0b1b2c;
    --border-color: #e2e8f0;
    --sub-content-width: 1000px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; color: var(--text-main); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 20px; }

/* Subpages Container Width Scoping */
.header .container, 
.breadcrumbs.container, 
main section.container, 
main .container, 
.footer .container, 
.footer-dark .container {
    max-width: var(--sub-content-width);
}

/* =========================================================
   Index Page Styles (Top)
========================================================= */
#header { position: sticky; top: 0; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); z-index: 100; border-bottom: 1px solid #eee; }
#header .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; max-width: 1400px; margin: 0 auto; padding: 0 40px; }
#header .logo { display: flex; flex-direction: column; }
#header .logo-title { font-size: 24px; font-weight: bold; color: var(--primary-green); display: flex; align-items: center; gap: 8px; }
#header .logo-subtitle { font-size: 11px; color: var(--primary-green); margin-top: 2px; }
#header .nav-links { display: flex; gap: 30px; align-items: center; list-style: none; font-weight: bold; font-size: 14px; }

#header .btn-contact, footer:not([class]) .btn-contact { background-color: var(--primary-green); color: var(--white); padding: 10px 24px; border-radius: 30px; font-weight: bold; transition: opacity 0.3s; display: inline-block; }
#header .btn-contact:hover, footer:not([class]) .btn-contact:hover { opacity: 0.8; }

body > section.hero { padding: 100px 0 80px; background: radial-gradient(circle at 80% 50%, #e0f2fe 0%, #ffffff 50%); position: relative; }
body > section.hero h1 { font-size: 56px; line-height: 1.2; color: var(--primary-blue); margin-bottom: 20px; }
body > section.hero h1 span { color: var(--primary-blue); }
body > section.hero .subtitle { font-size: 24px; font-weight: bold; color: var(--primary-blue); margin-bottom: 30px; }
body > section.hero p.desc { font-size: 16px; margin-bottom: 40px; max-width: 500px; }
body > section.hero .btn-primary { display: inline-block; background-color: var(--primary-green); color: var(--white); padding: 15px 30px; border-radius: 30px; font-weight: bold; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: opacity 0.3s; }
body > section.hero .btn-primary:hover { opacity: 0.8; }
.scroll-indicator { text-align: center; margin-top: 60px; font-size: 12px; color: var(--text-light); }

.concept { padding: 100px 0; background-color: var(--bg-gray); }
.concept-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.concept-left { flex: 1; }
.concept-left h2 { font-size: 20px; margin-bottom: 15px; }
.concept-left .main-copy { font-size: 32px; font-weight: bold; line-height: 1.4; margin-bottom: 20px; }
.concept-left .main-copy span { color: var(--primary-blue); font-size: 40px; }
.concept-right { flex: 1.5; display: flex; align-items: center; justify-content: space-between; }
.process-step { text-align: center; width: 120px; }
.process-icon { width: 80px; height: 80px; background-color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 15px; font-size: 32px; color: var(--primary-blue); box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 2px solid #e1e8f0; }
.process-step:nth-child(3) .process-icon { border-color: var(--primary-green); color: var(--primary-green); background-color: var(--bg-light-green); }
.process-step:nth-child(7) .process-icon { background-color: var(--primary-blue); color: var(--white); border: none; }
.process-step h4 { font-size: 14px; margin-bottom: 8px; }
.process-step p { font-size: 11px; color: var(--text-light); }
.arrow { font-size: 20px; color: var(--primary-blue); }

.mission-vision { display: flex; }
.mv-box { flex: 1; padding: 80px 10%; position: relative; overflow: hidden; }
.mission { background-color: #f0f4f8; }
.vision { background-color: #f4f7f6; }
.mv-label { font-size: 18px; font-weight: bold; color: var(--primary-green); margin-bottom: 20px; }
.mv-box h3 { font-size: 32px; line-height: 1.4; margin-bottom: 20px; }
.mv-box p { font-size: 14px; position: relative; z-index: 2; }

.solutions { padding: 100px 0; background-color: var(--white); text-align: center; }
.solutions .section-title { font-size: 32px; color: var(--primary-green); margin-bottom: 10px; }
.solutions .section-subtitle { font-size: 16px; margin-bottom: 50px; }
.solutions .cards { display: flex; gap: 30px; text-align: left; }
.solutions .card { flex: 1; background: var(--white); border: 1px solid #e1e8f0; border-radius: 12px; padding: 40px 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.02); position: relative; }
.solutions .card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.solutions .card-icon { font-size: 36px; color: var(--primary-green); }
.solutions .card:nth-child(2) .card-icon { color: var(--primary-blue); }
.solutions .card:nth-child(3) .card-icon { color: var(--primary-blue); }
.solutions .card-title h4 { font-size: 18px; margin-bottom: 5px; }
.solutions .card-title p { font-size: 12px; color: var(--primary-green); font-weight: bold; }
.solutions .card > p { font-size: 14px; margin-bottom: 30px; min-height: 60px; }
.solutions .card-link { font-size: 14px; color: var(--primary-green); font-weight: bold; display: flex; align-items: center; gap: 5px; }

.technology { padding: 100px 0; background-color: var(--bg-gray); }
.tech-inner { display: flex; gap: 60px; align-items: center; }
.tech-left { flex: 1; }
.tech-label { color: var(--primary-green); font-weight: bold; margin-bottom: 15px; }
.tech-left h2 { font-size: 28px; margin-bottom: 20px; }
.tech-left h2 span { color: var(--primary-green); }
.tech-features { display: flex; gap: 20px; margin-top: 40px; }
.tech-feature { text-align: center; }
.tech-feature i { font-size: 24px; margin-bottom: 10px; }
.tech-feature p { font-size: 12px; }
.tech-right { flex: 1; position: relative; }
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.layer { height: 40px; display: flex; justify-content: center; align-items: center; color: var(--white); font-size: 14px; font-weight: bold; border-radius: 4px; }
.layer-1 { width: 40%; background-color: #a8d5ba; color: var(--text-main); background: transparent;}
.layer-2 { width: 60%; background-color: #5b9bd5; }
.layer-3 { width: 80%; background-color: #55b37d; }
.layer-4 { width: 100%; background-color: #2159a6; }
.ggmap-circle { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); width: 120px; height: 120px; border-radius: 50%; border: 1px dashed var(--primary-green); display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: var(--white); font-weight: bold; color: var(--primary-green); font-size: 18px; text-align: center; }
.tech-link { display: block; text-align: center; margin-top: 40px; color: var(--primary-green); font-weight: bold; }

footer:not([class]) { background-color: var(--white); padding: 60px 0 0; }
footer:not([class]) .footer-top { display: flex; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid #eee; }
footer:not([class]) .footer-logo h3 { color: var(--primary-green); font-size: 20px; margin-bottom: 10px; }
footer:not([class]) .footer-logo p { font-size: 12px; margin-bottom: 5px; }
footer:not([class]) .footer-info { display: flex; gap: 40px; font-size: 12px; }
footer:not([class]) .info-col { display: flex; flex-direction: column; gap: 10px; }
footer:not([class]) .info-row { display: flex; gap: 20px; }
footer:not([class]) .info-row span:first-child { font-weight: bold; width: 60px; }
footer:not([class]) .footer-action { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
footer:not([class]) .footer-bottom { background-color: var(--primary-blue); color: var(--white); text-align: center; padding: 15px 0; font-size: 12px; }

/* =========================================================
   Subpages Styles (Scoped mostly via `<main>` and `.header`/`.footer`)
========================================================= */
.btn { display: inline-block; padding: 12px 30px; border-radius: 30px; font-weight: bold; text-align: center; transition: opacity 0.3s; cursor: pointer; font-size: 14px; }
.btn:hover { opacity: 0.8; }

.header { border-bottom: 1px solid var(--border-color); padding: 15px 0; background: #fff; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header .logo { display: flex; align-items: center; gap: 8px; font-weight: bold; }
.header .logo-en { font-size: 20px; color: var(--sub-primary-green); }
.header .logo-ja { font-size: 14px; }
.header .nav ul { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 500; }
.btn-contact-header { background-color: var(--sub-primary-green); color: #fff; padding: 10px 24px; border-radius: 30px; }

/* =========================================================
   Subpage Hamburger Menu
========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;
    padding: 10px;

    background: transparent;
    border: 0;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    z-index: 102;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background-color: #1a202c;
    border-radius: 2px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* メニュー展開時に「×」へ変更 */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.breadcrumbs { font-size: 11px; color: var(--text-light); padding: 15px 20px; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs span { color: var(--text-main); font-weight: bold; }

main .hero { display: flex; align-items: center; padding: 50px 20px 80px; gap: 40px; background: none; }
main .hero-content { flex: 1; }
main .hero-content h1 { font-size: 38px; color: #1a202c; margin-bottom: 15px; line-height: 1.2; }
main .hero-subtitle { color: var(--sub-primary-green); font-weight: bold; font-size: 18px; margin-bottom: 25px; }
main .hero-desc { font-size: 14px; line-height: 1.8; margin-bottom: 35px; }
main .hero-actions { display: flex; gap: 15px; }
main .btn-primary { background-color: var(--sub-primary-green); color: #fff; border: none; box-shadow: none; }
main .btn-secondary { background-color: #fff; color: var(--text-main); border: 1px solid var(--text-main); }
main .hero-image { flex: 1; position: relative; min-height: 350px; background: radial-gradient(circle at center, #f8fafc 0%, #ffffff 70%); }

.illustration-placeholder { width: 100%; height: 100%; position: relative; }

main .section-title { font-size: 22px; margin-bottom: 40px; color: #1a202c; font-weight: bold; }

.problems { background-color: var(--bg-gray); padding: 80px 0; }
.problems .cards-wrapper { display: flex; gap: 20px; }
.problems .card { flex: 1; background: #fff; border-radius: 12px; padding: 40px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: none; }
.problems .card h3 { font-size: 16px; line-height: 1.6; margin-bottom: 30px; min-height: 48px; }
.problems .card-img { font-size: 50px; color: #cbd5e1; display: flex; justify-content: center; gap: 15px; align-items: center; }

.features { padding: 80px 20px; }
.features-wrapper { display: flex; gap: 20px; justify-content: space-between; }
.feature-item { flex: 1; text-align: center; }
.feature-icon { font-size: 40px; color: #3b82f6; margin-bottom: 20px; }
.feature-item p { font-size: 13px; font-weight: bold; line-height: 1.6; }

.steps { padding: 40px 20px 100px; }
.steps-wrapper { display: flex; align-items: flex-start; justify-content: space-between; }
.step-item { flex: 1; text-align: center; }
.step-number { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: bold; font-size: 16px; }
.step-item h4 { font-size: 14px; margin-bottom: 10px; }
.step-item p { font-size: 11px; color: var(--text-light); line-height: 1.6; }
.step-arrow { color: #cbd5e1; font-size: 20px; padding-top: 8px; }

.benefits { background-color: var(--bg-light-green); border-radius: 12px; padding: 50px; margin-bottom: 80px; }
.benefits-title { color: var(--sub-primary-green); font-size: 20px; margin-bottom: 25px; font-weight: bold; }
.benefits-list li { font-size: 15px; font-weight: bold; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.benefits-list li:last-child { margin-bottom: 0; }
.benefits-list li i { color: var(--sub-primary-green); font-size: 20px; }

/* =========================================================
   Subpage Footer
========================================================= */

.footer,
.footer-dark {
    padding: 50px 0 20px;
    background-color: var(--footer-bg);
    color: #fff;
}

/* ロゴ・メニュー・お問い合わせを横並び */
.footer-inner,
.footer-dark .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 40px;
    margin-bottom: 45px;
}

/* ロゴ */
.footer-logo,
.footer-dark .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.footer-logo i,
.footer-dark .footer-logo i {
    color: #fff;
}

.footer-logo .logo-en,
.footer-dark .footer-logo .logo-en {
    color: #fff;
}

/* フッターナビゲーション */
.footer-nav {
    min-width: 0;
}

.footer-links,
.footer-dark .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px 24px;
    margin: 0;
    padding: 0;

    list-style: none;
    font-size: 12px;
}

.footer-links a,
.footer-dark .footer-links a {
    color: #cbd5e1;
    line-height: 1.6;
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.footer-links a[aria-current="page"],
.footer-dark .footer-links a[aria-current="page"] {
    color: #fff;
    font-weight: 700;
}

.footer-links a:hover,
.footer-dark .footer-links a:hover {
    color: #fff;
}

/* お問い合わせ */
.footer-action,
.footer-dark .footer-action {
    display: flex;
    justify-content: flex-end;
}

.btn-contact-footer {
    padding: 12px 28px;
    background-color: var(--sub-primary-green);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

/* コピーライト */
.footer-copyright,
.footer-dark .footer-copyright {
    padding-top: 25px;
    border-top: 1px solid #1e293b;

    color: #64748b;
    font-size: 11px;
    text-align: center;
}

/* Data/Knowledge/AI extra components */
.device-mockup { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.device-laptop { font-size: 240px; color: #475569; }
.device-phone { position: absolute; bottom: 50px; right: 20px; font-size: 120px; color: #1e293b; filter: drop-shadow(-5px 5px 10px rgba(0,0,0,0.1)); }

.feature-cards-section { padding: 20px 20px 80px; }
.feature-cards { display: flex; gap: 20px; }
.feature-card { flex: 1; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 40px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.feature-card-icon { font-size: 40px; color: #3b82f6; margin-bottom: 20px; }
.feature-card h3 { font-size: 16px; margin-bottom: 10px; }
.feature-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

.search-examples { background-color: var(--bg-gray); padding: 60px 0; margin-bottom: 80px; }
.examples-wrapper { display: flex; justify-content: center; align-items: center; gap: 60px; }
.example-item { text-align: center; }
.example-icon { font-size: 45px; color: #94a3b8; margin-bottom: 15px; }
.example-item p { font-weight: bold; font-size: 14px; color: #334155; }
.example-dots { color: #94a3b8; font-size: 24px; margin-top: -30px; }

.case-study-section { padding: 0 20px 80px; }
.case-study-card { display: flex; align-items: center; gap: 40px; }
.case-study-img { flex: 1; max-width: 400px; height: 250px; background-color: #cbd5e1; border-radius: 12px; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 40px; overflow: hidden; position: relative; }
.case-study-img::before { content: "\f1ad"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.case-study-img.b-corp::before { content: "\f0f7"; }
.case-study-content { flex: 1; }
.case-study-content h3 { font-size: 20px; margin-bottom: 20px; }
.case-study-content p { font-size: 14px; line-height: 1.8; margin-bottom: 25px; }
.case-link { color: var(--sub-primary-green); font-weight: bold; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.case-link:hover { opacity: 0.8; }

.hero-ai-visual { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.ai-head-placeholder { font-size: 200px; color: #e2e8f0; position: relative; }
.ai-head-placeholder::after { content: 'AI'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 48px; font-weight: bold; color: #0f172a; font-family: sans-serif; }
.floating-tags { position: absolute; right: 0; display: flex; flex-direction: column; gap: 20px; }
.float-tag { background: #fff; padding: 12px 24px; border-radius: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 14px; color: #1e293b; }
.float-tag i { color: #3b82f6; font-size: 18px; }

.ai-examples-section { background-color: var(--bg-gray); padding: 80px 0; }
.example-cards { display: flex; gap: 20px; }
.ex-card { flex: 1; background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.ex-card h3 { font-size: 16px; margin-bottom: 20px; color: #1e293b; }
.ex-card-image { width: 100%; height: 120px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; color: #94a3b8; font-size: 40px; }
.ex-card p { font-size: 13px; color: var(--text-main); line-height: 1.6; }

.support-section { padding: 80px 20px; }
.support-features { display: flex; gap: 20px; justify-content: space-between; }
.support-item { flex: 1; text-align: center; }
.support-icon { font-size: 45px; color: #3b82f6; margin-bottom: 20px; }
.support-item h3 { font-size: 15px; margin-bottom: 10px; color: #1e293b; }
.support-item p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* =========================================================
   Knowledge Page Hero
========================================================= */

.page-knowledge .knowledge-hero {
    position: relative;
    width: 100%;
    min-height: clamp(360px, 37.5vw, 480px);
    overflow: hidden;
    background-color: #edf6ff;
}

/* ヘッダーイメージ */
.page-knowledge .knowledge-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;
}

/* 文字の視認性を確保する白色グラデーション */
.page-knowledge .knowledge-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.94) 25%,
            rgba(255, 255, 255, 0.72) 43%,
            rgba(255, 255, 255, 0.20) 62%,
            rgba(255, 255, 255, 0) 76%
        );

    pointer-events: none;
}

/* 文字情報の配置領域 */
.page-knowledge .knowledge-hero__inner {
    position: relative;
    z-index: 2;

    min-height: inherit;

    display: flex;
    align-items: center;
}

/* オーバーレイ文字 */
.page-knowledge .knowledge-hero__content {
    width: min(560px, 58%);
    padding: 65px 0;
}

.page-knowledge .knowledge-hero__content h1 {
    margin-bottom: 16px;

    color: #1a202c;
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.page-knowledge .knowledge-hero__subtitle {
    margin-bottom: 24px;

    color: var(--sub-primary-green);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 700;
    line-height: 1.6;
}

.page-knowledge .knowledge-hero__description {
    margin: 0;

    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

@media screen and (max-width: 768px) {

    .page-knowledge .knowledge-hero {
        min-height: 410px;
    }

    /*
     * スマートフォンでは右側のイラストが
     * 一部見える位置に調整
     */
    .page-knowledge .knowledge-hero__image {
        object-position: 68% center;
    }

    /*
     * 画面全体に白色を重ねて
     * 文字の視認性を優先
     */
    .page-knowledge .knowledge-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.90) 60%,
                rgba(255, 255, 255, 0.55) 100%
            );
    }

    .page-knowledge .knowledge-hero__inner {
        align-items: center;
    }

    .page-knowledge .knowledge-hero__content {
        width: 100%;
        padding: 50px 0;
    }

    .page-knowledge .knowledge-hero__content h1 {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .page-knowledge .knowledge-hero__subtitle {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .page-knowledge .knowledge-hero__description {
        max-width: 330px;
        font-size: 13px;
        line-height: 1.85;
    }

    /*
     * HTMLで指定した改行を解除し、
     * スマートフォン幅に合わせて自動改行
     */
    .page-knowledge .knowledge-hero__description br {
        display: none;
    }
}

/* =========================================================
   Data Page Hero
========================================================= */

.page-data .data-hero {
    position: relative;
    width: 100%;
    min-height: clamp(360px, 37.5vw, 480px);
    overflow: hidden;
    background-color: #edf6ff;
}

/* ヘッダーイメージ */
.page-data .data-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    /*
     * 画像全体を収め、
     * イラストを右側基準で配置
     */
    object-fit: contain;
    object-position: right center;

    display: block;
}

/* 左側の文字を読みやすくする白色グラデーション */
.page-data .data-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.94) 25%,
            rgba(255, 255, 255, 0.72) 43%,
            rgba(255, 255, 255, 0.20) 62%,
            rgba(255, 255, 255, 0) 76%
        );

    pointer-events: none;
}

/* 文字情報の配置領域 */
.page-data .data-hero__inner {
    position: relative;
    z-index: 2;

    min-height: inherit;

    display: flex;
    align-items: center;
}

/* オーバーレイ文字の横幅と上下余白 */
.page-data .data-hero__content {
    width: min(560px, 58%);
    padding: 65px 0;
}

/* メインタイトル */
.page-data .data-hero__content h1 {
    margin-bottom: 16px;

    color: #1a202c;
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

/* サブタイトル */
.page-data .data-hero__subtitle {
    margin-bottom: 24px;

    color: var(--sub-primary-green);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 700;
    line-height: 1.6;
}

/* 説明文 */
.page-data .data-hero__description {
    margin: 0;

    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

@media screen and (max-width: 768px) {

    .page-data .data-hero {
        min-height: 410px;
    }

    /*
     * 狭い画面では画像を拡大し、
     * データベースやAIのイラストが見える位置に調整
     */
    .page-data .data-hero__image {
        object-fit: cover;
        object-position: 70% center;
    }

    /*
     * スマートフォンでは文字の可読性を優先
     */
    .page-data .data-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.90) 60%,
                rgba(255, 255, 255, 0.55) 100%
            );
    }

    .page-data .data-hero__inner {
        align-items: center;
    }

    .page-data .data-hero__content {
        width: 100%;
        padding: 50px 0;
    }

    .page-data .data-hero__content h1 {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .page-data .data-hero__subtitle {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .page-data .data-hero__description {
        max-width: 330px;
        font-size: 13px;
        line-height: 1.85;
    }

    /*
     * スマートフォンではHTMLの固定改行を解除
     */
    .page-data .data-hero__description br {
        display: none;
    }
}

/* =========================================================
   AI Page Hero
========================================================= */

.page-ai .ai-hero {
    position: relative;
    width: 100%;
    min-height: clamp(360px, 37.5vw, 480px);
    overflow: hidden;
    background-color: #edf6ff;
}

/* ヘッダーイメージ */
.page-ai .ai-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    /*
     * 画像全体を表示し、
     * AIのイラストを右側基準で配置
     */
    object-fit: contain;
    object-position: right center;

    display: block;
}

/* 左側の文字を読みやすくする白色グラデーション */
.page-ai .ai-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.94) 25%,
            rgba(255, 255, 255, 0.72) 43%,
            rgba(255, 255, 255, 0.20) 62%,
            rgba(255, 255, 255, 0) 76%
        );

    pointer-events: none;
}

/* 文字情報の配置領域 */
.page-ai .ai-hero__inner {
    position: relative;
    z-index: 2;

    min-height: inherit;

    display: flex;
    align-items: center;
}

/* オーバーレイ文字の横幅と上下余白 */
.page-ai .ai-hero__content {
    width: min(560px, 58%);
    padding: 65px 0;
}

/* メインタイトル */
.page-ai .ai-hero__content h1 {
    margin-bottom: 16px;

    color: #1a202c;
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

/* サブタイトル */
.page-ai .ai-hero__subtitle {
    margin-bottom: 24px;

    color: var(--sub-primary-green);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 700;
    line-height: 1.6;
}

/* 説明文 */
.page-ai .ai-hero__description {
    margin: 0;

    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

@media screen and (max-width: 768px) {

    .footer,
    .footer-dark {
        padding: 40px 0 20px;
    }

    .footer-inner,
    .footer-dark .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        margin-bottom: 35px;
    }

    .footer-nav {
        width: 100%;
    }

    .footer-links,
    .footer-dark .footer-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        width: 100%;
        gap: 0;
    }

    .footer-links li,
    .footer-dark .footer-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-links li:first-child,
    .footer-dark .footer-links li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-links a,
    .footer-dark .footer-links a {
        display: block;
        width: 100%;
        padding: 13px 0;

        font-size: 13px;
    }

    .footer-links a[aria-current="page"],
    .footer-dark .footer-links a[aria-current="page"] {
        color: #fff;
        font-weight: 700;
    }

    .footer-action,
    .footer-dark .footer-action {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-contact-footer {
        width: auto;
        padding: 10px 24px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* =========================================================
   Subpage Anchor Position
========================================================= */

/* Data Page */
.page-data #problems,
.page-data #features,
.page-data #steps,
.page-data #benefits,

/* Knowledge Page */
.page-knowledge #feature-cards-section,
.page-knowledge #search-examples,
.page-knowledge #benefits,

/* AI Page */
.page-ai #ai-examples-section,
.page-ai #support-section,
.page-ai #benefits {
    scroll-margin-top: 110px;
}

@media screen and (max-width: 1024px) {

    .footer-inner,
    .footer-dark .footer-inner {
        grid-template-columns: 1fr auto;
        row-gap: 30px;
    }

    /* メニューを2段目の全幅へ */
    .footer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-links,
    .footer-dark .footer-links {
        justify-content: flex-start;
    }
}

/* =========================================================
   Data / Knowledge / AI Responsive Design
========================================================= */

/* 横方向への意図しないはみ出しを防止 */
body.page-data,
body.page-knowledge,
body.page-ai {
    overflow-x: hidden;
}

/* ヘッダー内の幅計算を安定させる */
.header-inner {
    gap: 24px;
}

.header .nav {
    min-width: 0;
}

.header .nav ul {
    flex-wrap: nowrap;
}

.header .nav li {
    flex: 0 0 auto;
}

/* 二重container解消後のセクション余白 */
.page-data .features {
    padding: 80px 0;
}

.page-data .steps {
    padding: 40px 0 100px;
}

.page-knowledge .feature-cards-section {
    padding: 20px 0 80px;
}


/* =========================================================
   Tablet
========================================================= */

@media screen and (max-width: 1024px) {

    /*
     * 4項目の一覧は2列表示
     */

    .page-data .features-wrapper,
    .page-knowledge .feature-cards,
    .page-ai .support-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .page-data .feature-item,
    .page-knowledge .feature-card,
    .page-ai .support-item {
        min-width: 0;
    }

    .page-knowledge .examples-wrapper {
        gap: 32px;
    }
}


/* =========================================================
   Smartphone
========================================================= */

@media screen and (max-width: 768px) {

    /* ------------------------------
       ヘッダー
    ------------------------------ */

.header {
    position: sticky;
    top: 0;
    padding: 12px 0;

    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);

    z-index: 1000;
}

    .header-inner {
        position: relative;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        gap: 16px;
    }

    .header .logo {
        justify-content: flex-start;
    }

    /* ハンバーガーボタンを表示 */
    .menu-toggle {
        display: flex;
        flex: 0 0 auto;
    }

    /* ------------------------------
       開閉メニュー
    ------------------------------ */

    .header .nav {
        display: none;

        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;

        width: 100%;
        min-width: 0;

        background-color: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);

        z-index: 101;
    }

    /* JavaScriptでis-openが付いたときだけ表示 */
    .header .nav.is-open {
        display: block;
    }

    .header .nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        min-width: 0;

        gap: 0;
        padding: 8px 20px 20px;
    }

    .header .nav li {
        width: 100%;
        flex: none;
    }

    .header .nav li:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    /* 通常メニュー */
    .header .nav li > a:not(.btn-contact-header) {
        display: block;

        width: 100%;
        padding: 14px 0;

        color: var(--text-main);
        text-align: left;
    }

    /* お問い合わせ項目 */
    .header .nav ul li:last-child {
        display: block;

        width: 100%;
        margin-top: 0;
    }

    /* お問い合わせボタン */
    .header .btn-contact-header {
        display: block;

        width: 100%;
        margin-top: 12px;
        padding: 12px 28px;

        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        white-space: nowrap;
    }

    /* ここから下のパンくずリスト等の設定は残す */

    .breadcrumbs {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 10px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    /* 以下、既存のスマホ用設定をそのまま残す */

    /* ------------------------------
       パンくずリスト
    ------------------------------ */

    .breadcrumbs {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 10px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }


    /* ------------------------------
       見出し・セクション余白
    ------------------------------ */

    main .section-title {
        margin-bottom: 28px;
        font-size: 20px;
    }

    .page-data .problems,
    .page-ai .ai-examples-section {
        padding: 56px 0;
    }

    .page-data .features,
    .page-ai .support-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .page-data .steps {
        padding-top: 20px;
        padding-bottom: 64px;
    }

    .page-knowledge .feature-cards-section {
        padding-top: 20px;
        padding-bottom: 56px;
    }

    .page-knowledge .search-examples {
        padding: 56px 0;
        margin-bottom: 56px;
    }


    /* ------------------------------
       Dataページ
    ------------------------------ */

    .page-data .problems .cards-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .page-data .problems .card {
        width: 100%;
        padding: 30px 20px;
    }

    .page-data .problems .card h3 {
        min-height: auto;
        margin-bottom: 20px;
    }

    /*
     * 構築の流れを横並びから縦並びへ変更
     */
    .page-data .steps-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .page-data .step-item {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 14px;

        width: 100%;
        padding: 18px;

        background-color: #f8fafc;
        border-radius: 10px;

        text-align: left;
    }

    .page-data .step-number {
        grid-row: 1 / 3;
        margin: 0;
    }

    .page-data .step-item h4 {
        margin: 0 0 6px;
    }

    .page-data .step-item p {
        grid-column: 2;
        margin: 0;
    }

    .page-data .step-arrow {
        align-self: center;
        padding: 0;
        transform: rotate(90deg);
    }


    /* ------------------------------
       Knowledgeページ
    ------------------------------ */

    .page-knowledge .examples-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }

    .page-knowledge .example-item {
        min-width: 0;
    }

    .page-knowledge .example-dots {
        display: none;
    }


    /* ------------------------------
       AIページ
    ------------------------------ */

    .page-ai .example-cards {
        flex-direction: column;
        gap: 16px;
    }

    .page-ai .ex-card {
        width: 100%;
    }


    /*
     * AIページは既存CSSにスマホ用ヒーロー指定が
     * ないため、ここで追加
     */

    .page-ai .ai-hero {
        min-height: 410px;
    }

    .page-ai .ai-hero__image {
        object-fit: cover;
        object-position: 72% center;
    }

    .page-ai .ai-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.90) 60%,
                rgba(255, 255, 255, 0.55) 100%
            );
    }

    .page-ai .ai-hero__inner {
        align-items: center;
    }

    .page-ai .ai-hero__content {
        width: 100%;
        padding: 50px 0;
    }

    .page-ai .ai-hero__content h1 {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .page-ai .ai-hero__subtitle {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .page-ai .ai-hero__description {
        max-width: 330px;
        font-size: 13px;
        line-height: 1.85;
    }

    .page-ai .ai-hero__description br {
        display: none;
    }


    /* ------------------------------
       導入効果・共通
    ------------------------------ */

    .benefits {
        padding: 28px 20px;
        margin-bottom: 56px;
    }

    .benefits-title {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .benefits-list li {
        align-items: flex-start;
        gap: 10px;

        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.7;
    }

    .benefits-list li i {
        flex: 0 0 auto;
        margin-top: 3px;
    }

    /*
     * PC向けに入れた固定改行をスマホでは解除
     */

    .page-data .problems .card h3 br,
    .page-data .feature-item p br,
    .page-data .step-item p br,
    .page-knowledge .feature-card p br,
    .page-ai .ex-card p br,
    .page-ai .support-item p br {
        display: none;
    }


    /* ヘッダーを固定解除したためアンカー位置を調整 */
.page-data #problems,
.page-data #features,
.page-data #steps,
.page-data #benefits,
.page-knowledge #feature-cards-section,
.page-knowledge #search-examples,
.page-knowledge #benefits,
.page-ai #ai-examples-section,
.page-ai #support-section,
.page-ai #benefits {
    scroll-margin-top: 84px;
}
}


/* =========================================================
   Small Smartphone
========================================================= */

@media screen and (max-width: 640px) {

    /*
     * 2列表示を1列表示へ変更
     */

    .page-data .features-wrapper,
    .page-knowledge .feature-cards,
    .page-ai .support-features {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-data .feature-item,
    .page-ai .support-item {
        padding: 12px 0;
    }

    .page-knowledge .feature-card {
        padding: 30px 20px;
    }
}


@media screen and (max-width: 480px) {

    /* ヒーロー全体を小型スマートフォン向けに調整 */

    .page-data .data-hero,
    .page-knowledge .knowledge-hero,
    .page-ai .ai-hero {
        min-height: 390px;
    }

    .page-data .data-hero__content h1,
    .page-knowledge .knowledge-hero__content h1,
    .page-ai .ai-hero__content h1 {
        font-size: 28px;
        line-height: 1.35;
    }

    .page-data .data-hero__subtitle,
    .page-knowledge .knowledge-hero__subtitle,
    .page-ai .ai-hero__subtitle {
        font-size: 16px;
    }

    .page-data .data-hero__description,
    .page-knowledge .knowledge-hero__description,
    .page-ai .ai-hero__description {
        max-width: 100%;
        font-size: 13px;
    }

    .page-knowledge .examples-wrapper {
        gap: 28px 12px;
    }

    .page-knowledge .example-icon {
        font-size: 38px;
    }

    .page-knowledge .example-item p {
        font-size: 12px;
    }
}