@charset "utf-8";

/* --- 1. ファーストビュー (lg-FV) --- */
.lg-FV {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
    padding: 60px 0 0 0;
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.lg-FV::before {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -10%;
    width: 80%;
    height: 800px;
    background: radial-gradient(circle, rgba(3, 95, 180, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.lg-FV__Badge {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 6px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px; 
    position: relative;
}
.lg-FV__Badge::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-top: 8px solid #f39c12;
    border-right: 8px solid transparent;
}

.lg-FV__Ttl { 
    font-size: 48px; 
    font-weight: 900; 
    line-height: 1.2; 
    color: #333; 
    letter-spacing: -0.02em; 
    margin-bottom: 0; 
}
.lg-FV__Ttl span { color: #035fb4; }

.lg-FV__Keywords { margin: 25px 0 40px; padding: 0; list-style: none; display: flex; justify-content: center; gap: 20px; font-weight: bold; color: #035fb4; font-size: 18px; }
.lg-FV__Keywords li:not(:last-child)::after { content: "|"; margin-left: 20px; color: #ccc; }

.lg-FV__MainContent { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 60px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.lg-FV__BenefitGrid { display: flex; gap: 15px; flex: 1; justify-content: flex-end; }
.lg-FV__BenefitCard { 
    background: #035fb4; 
    color: #fff; 
    padding: 25px 15px; 
    width: 160px; 
    border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(3, 95, 180, 0.2); 
}

.lg-FV__BenefitIcon { height: 40px; margin-bottom: 10px; }
.lg-FV__BenefitIcon img { max-height: 100%; filter: brightness(0) invert(1); }
.lg-FV__BenefitSub { font-size: 12px; margin: 0; }
.lg-FV__BenefitMain { font-size: 26px; font-weight: 900; margin: 2px 0; line-height: 1.2; }
.lg-FV__BenefitMain span { font-size: 14px; font-weight: normal; margin-left: 2px; }
.lg-FV__BenefitDesc { font-size: 11px; margin: 0; line-height: 1.4; opacity: 0.9; }

.lg-FV__Visual { flex: 1; display: flex; align-items: flex-end; justify-content: flex-start; max-width: 500px; }

.lg-FV__Mockup { 
    background: none; 
    padding: 0; 
    border-radius: 0; 
    box-shadow: none; 
}
.lg-FV__Mockup img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.lg-FV__Footer { 
    margin-top: 30px; 
    padding: 20px 0 40px; 
    background: #fff; 
}
.lg-FV__FooterLine { 
    border-top: none; 
    padding-top: 0; 
}
.lg-FV__FooterTxt { font-size: 18px; font-weight: bold; margin-bottom: 25px; color: #333; }
.lg-FV__CtaWrapper { display: flex; justify-content: center; gap: 20px; max-width: 1000px; margin: 0 auto; }
.lg-FV__CtaItem { flex: 1; max-width: 480px; }

.lg-btn { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none; 
    color: #ffffff !important; 
    height: 80px; 
    border-radius: 100px; 
    transition: all 0.3s; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}
.lg-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.lg-btn strong { font-size: 18px; color: #ffffff !important; }

.lg-btn--doc { background: linear-gradient(135deg, #78a731 0%, #5d8224 100%); }
.lg-btn--inquiry { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); }

/* --- 2. お困りセクション (lg-SolutionArea) --- */
.lg-SolutionArea { background-color: #035fb4; padding: 60px 0 0 0; margin-bottom: 100px; }
.lg-ProblemCard { background: #fff; border-radius: 12px; padding: 50px 40px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); margin-bottom: -60px; position: relative; z-index: 10; }
.lg-ProblemCard__Ttl { text-align: center; color: #035fb4; font-size: 28px; font-weight: bold; margin-bottom: 40px; }
.lg-ProblemGrid { display: flex; justify-content: space-between; gap: 30px; }
.lg-ProblemGrid__Item { flex: 1; text-align: center; }

.lg-ProblemGrid__Icon { 
    height: 150px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 25px; 
}
.lg-ProblemGrid__Icon img { 
    max-height: 100%; 
    width: auto;
    object-fit: contain;
}

.lg-ProblemGrid__Ttl { font-weight: bold; font-size: 20px; color: #333; margin-bottom: 15px; }
.lg-ProblemGrid__Txt { font-size: 15px; line-height: 1.6; color: #666; text-align: left; }

.lg-SolutionBanner { background-color: #035fb4; padding: 100px 0 60px; text-align: center; }
.lg-SolutionBanner__Txt { color: #ffffff; font-size: 32px; font-weight: bold; }
.lg-SolutionBanner__Arrow { width: 0; height: 0; border-style: solid; border-width: 25px 25px 0 25px; border-color: #ffffff transparent transparent transparent; margin: 25px auto 0; }

/* --- 3. 詳細・実績・FAQ --- */
.ttlType03 {
    font-size: 18px; 
    font-weight: bold;
    color: #035fb4;
    margin-bottom: 12px;
    line-height: 1.4;
}

.lg-FeatureGrid--3clm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.lg-FeatureItem { padding: 30px; background: #f9fbfc; border: 1px solid #d8e6ea; border-radius: 8px; }
.lg-FeatureItem p { font-size: 15px; line-height: 1.6; margin-top: 10px; }

.lg-TerminalContent { background: #fdfdfd; border: 1px solid #d8e6ea; border-radius: 12px; padding: 40px; margin-top: 30px; }
.lg-TerminalFlex { display: flex; justify-content: space-between; gap: 50px; }
.lg-TerminalText { flex: 1; }
.lg-TerminalText__H { font-size: 22px; font-weight: bold; color: #035fb4; margin-bottom: 20px; }
.lg-TerminalText__P { font-size: 15px; line-height: 1.8; margin-bottom: 30px; }
.lg-TerminalCheck { list-style: none; padding: 0; }
.lg-TerminalCheck li { margin-bottom: 25px; padding-left: 35px; position: relative; }
.lg-TerminalCheck li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #78a731; font-size: 24px; font-weight: bold; line-height: 1; }
.lg-TerminalCheck li strong { display: block; font-size: 18px; color: #333; margin-bottom: 5px; }
.lg-TerminalCheck li p { font-size: 14px; color: #666; line-height: 1.6; }

.lg-TerminalImg { width: 280px; text-align: center; }
.lg-TerminalImg img { width: 100%; height: auto; border-radius: 8px; }

/* 【修正】製品名キャプション：余白を半分(4px)に縮小 */
.lg-TerminalImg__Caption {
    font-size: 13px;
    color: #333;
    margin-top: 4px;
    font-weight: bold;
    line-height: 1.2;
}

.localGovCaseBox { background: #e8f4fe; padding: 35px; border-radius: 10px; margin-bottom: 60px; }
.localGovCaseBox .name { font-size: 20px; font-weight: bold; color: #035fb4; margin-bottom: 15px; display: block; }
.localGovCaseBox .summary { font-size: 16px; line-height: 1.8; color: #333; }
.lg-CaseDivider { height: 1px; background: #ffffff; margin: 30px 0; border-bottom: 1px solid #cce8f4; }

.faq-item { margin-bottom: 40px; }
.faq-q { background: #fdf2e3; padding: 15px 20px; font-weight: bold; position: relative; padding-left: 50px; }
.faq-q::before { content: "Q"; position: absolute; left: 20px; color: #f39c12; font-size: 24px; }
.faq-a { padding: 15px 20px; line-height: 1.8; position: relative; padding-left: 50px; background: #fff; border: 1px solid #fdf2e3; border-top: none; }
.faq-a::before { content: "A"; position: absolute; left: 20px; color: #035fb4; font-size: 24px; font-weight: bold; }

/* --- 4. 自治体様向けお問合せセクション (commonContactBox) --- */
.commonContactBox { 
    background: url("../img/common/common_solution_contact_bg01_pc.png") right center no-repeat, linear-gradient(to right, #C6DDF4 0%, #DCF3F9 100%) !important;
    padding: 45px; 
    border-radius: 10px; 
    margin: 60px auto 40px; 
    text-align: left;
}
.commonContactBox .head { font-size: 28px; font-weight: bold; color: #005AA9; margin-bottom: 10px; }
.commonContactBox .comment { font-size: 16px; line-height: 1.6; color: #333; margin-bottom: 30px; }
.commonContactBox .btnTelWrapper { display: flex; align-items: flex-start; gap: 30px; border-top: none; padding-top: 0; }

.commonContactBox .clm01 { width: 360px; flex-shrink: 0; }
.commonContactBox .clm02 { padding-left: 30px; border-left: 2px solid #ffffff; }

.commonContactBox .btn a { 
    display: block; 
    background: #f39c12; 
    color: #ffffff !important; 
    padding: 20px 40px; 
    border-radius: 100px; 
    font-weight: bold; 
    text-decoration: none; 
    text-align: center;
    transition: 0.3s;
}
.commonContactBox .btn a:hover { opacity: 0.8; transform: translateY(-2px); }
.commonContactBox .btn .free { background: #fff; color: #f39c12; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-right: 10px; vertical-align: middle; }

.commonContactBox .telTxt { font-size: 14px; color: #333; margin-bottom: 5px; line-height: 1.4; }
.commonContactBox .telNum { font-size: 36px; font-weight: bold; color: #005AA9; }

/* --- レスポンシブ (767px以下) --- */
@media (max-width: 767px) {
    .lg-FV__Ttl { font-size: 22px; }
    .lg-FV .innerBox { display: flex; flex-direction: column; align-items: center; }
    .lg-FV__Badge { order: 1; }
    .lg-FV__Ttl { order: 2; margin-bottom: 20px; }
    .lg-FV__Visual { order: 3; flex: none; width: 66.66%; margin-top: 0; margin-bottom: 30px; justify-content: center; }
    .lg-FV__Keywords { display: none; }
    .lg-FV__MainContent { display: contents; }
    .lg-FV__BenefitGrid { order: 5; flex-wrap: wrap; justify-content: center; flex: none; width: 100%; margin-bottom: 40px; }
    .lg-FV__BenefitCard { width: 45%; }
    .lg-FV__CtaWrapper { flex-direction: column; padding: 0 20px; }
    .lg-btn strong { font-size: 14px; }
    .lg-ProblemGrid { flex-direction: column; gap: 40px; }
    .lg-ProblemGrid__Icon { height: 120px; }
    .lg-SolutionBanner__Txt { font-size: 22px; }
    .ttlType03 { font-size: 16px; }
    .lg-FeatureGrid--3clm { grid-template-columns: 1fr; gap: 15px; }
    .lg-FeatureItem { padding: 20px; }

    .lg-TerminalFlex { flex-direction: column; }
    
    /* 詳細セクション枠：パディング調整 */
    .lg-TerminalContent { padding: 15px 15px 25px; }
    
    /* 【修正】画像：上下余白を半分(2px)に縮小し、中央寄せ */
    .lg-TerminalImg { 
        width: 66.66%; 
        order: -1; 
        margin: 2px auto; 
    }
    
    /* 【修正】製品名キャプション(スマホ)：余白を半分(2px)に縮小 */
    .lg-TerminalImg__Caption { font-size: 12px; margin-top: 2px; }

    /* 【修正】見出し(スマホ)：上の余白を半分(2px)に縮小 */
    .lg-TerminalText__H { 
        font-size: 18px; 
        margin-top: 2px; 
        margin-bottom: 10px; 
    }
    
    .localGovCaseBox { padding: 25px 20px; }

    .commonContactBox { 
        padding: 30px 20px 32%; 
        text-align: center; 
        background: url("../img/common/common_solution_contact_bg01_sp.png") center bottom no-repeat, linear-gradient(to right, #C6DDF4 0%, #DCF3F9 100%) !important;
        background-size: 100% auto !important;
    }
    .commonContactBox .head { font-size: 22px; }
    .commonContactBox .btnTelWrapper { flex-direction: column; gap: 30px; align-items: center; }
    .commonContactBox .clm01 { width: 100%; }
    .commonContactBox .clm02 { border-left: none; border-top: 2px solid #ffffff; padding: 20px 0 0 0; width: 100%; }
    .commonContactBox .telNum { font-size: 28px; }
}