:root {
    --primary: #045935;
    --primary-light: #067a4a;
    --accent: #e8731b;
    --accent-hover: #d4680f;
    --accent-light: #fff4ed;
    --light-bg: #f5f6f8;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #dee2e6;
    --step-line: #cbd5e1;
}

/* ========== Base ========== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Header ========== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    gap: .5rem;
}

.site-logo img {
    height: 5rem;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-tel {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.header-tel i {
    color: var(--accent);
    margin-right: .25rem;
}

.header-tel small {
    display: block;
    font-size: .7rem;
    font-weight: normal;
    color: var(--text-light);
}

.btn-line {
    background: #06C755;
    color: var(--white);
    border: none;
    padding: .5rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: .85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}

.btn-line:hover {
    opacity: .85;
    color: var(--white);
}

/* LINE icon button (mobile only) */
.btn-line-icon {
    display: none;
}

@media (max-width: 767.98px) {
    .site-logo img {
        height: 3.5rem;
    }

    .header-tel {
        display: none;
    }

    .btn-line-full {
        display: none;
    }

    .btn-line-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #06C755;
        color: var(--white);
        border-radius: 50%;
        font-size: 1.1rem;
        text-decoration: none;
        flex-shrink: 0;
        transition: opacity .2s;
    }

    .btn-line-icon:hover {
        opacity: .85;
        color: var(--white);
    }
}

/* ========== Hero ========== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -5%;
    top: -20%;
    width: 50%;
    height: 140%;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-catch {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 1rem;
    opacity: .9;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: .3rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
}

.hero-image-area {
    border-radius: 12px;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-image-area img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* -- Hero: mobile full-width image -- */
.hero-mobile-image {
    display: none;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 0 0 2rem;
    }

    .hero-mobile-image {
        display: block;
        margin: 0 -12px 1.5rem;
    }

    .hero-mobile-image img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
    }

    .hero-catch {
        font-size: 1.3rem;
    }

    .hero-sub {
        font-size: .9rem;
    }
}

/* ========== Section Common ========== */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: .8rem;
}

.section-title::after {
    display: none;
}

.section-light {
    background: var(--light-bg);
}

.section-pad {
    padding: 4rem 0;
}

/* ========== Concerns (悩み) ========== */
.concern-banner {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.concern-item {
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
}

.concern-item:last-child {
    border-bottom: none;
}

.concern-item i {
    color: var(--accent);
    margin-right: .5rem;
    font-size: 1.5rem;
    vertical-align: middle;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .6rem 0;
}

.solution-check {
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    margin-top: .2rem;
}

/* ========== Reason Cards (選ばれる理由) ========== */
.reason-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
    transition: box-shadow .2s, transform .2s;
}

.reason-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.reason-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.reason-card h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: .75rem;
    color: var(--primary);
}

.reason-card p {
    font-size: .85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.reason-link {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: .4rem 1.2rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
    transition: background .2s;
}

.reason-link:hover {
    background: var(--accent-hover);
    color: var(--white);
}

/* ========== Works Case Title (導入事例 個別タイトル) ========== */
.works-case-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

/* ========== Works Preview (導入事例) ========== */
.ba-label {
    display: inline-block;
    font-weight: bold;
    font-size: .85rem;
    margin-bottom: .5rem;
}

.ba-before {
    color: var(--text-light);
}

.ba-after {
    color: var(--accent);
}

.ba-divider {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.photo-placeholder {
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .85rem;
    min-height: 180px;
}

/* ========== Flow (工事の流れ) ========== */
.flow-quote {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.flow-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
}

.flow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: .5rem;
}

.flow-left,
.flow-right {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    position: relative;
}

.flow-left {
    background: var(--primary);
    color: var(--white);
}

.flow-right {
    background: var(--accent-light);
    color: var(--text);
}

.flow-step-num {
    font-size: .75rem;
    font-weight: bold;
    opacity: .8;
}

.flow-step-title {
    font-weight: bold;
    font-size: .95rem;
}

.flow-step-desc {
    font-size: .82rem;
    margin-top: .3rem;
    opacity: .9;
}

.flow-arrow {
    text-align: center;
    color: var(--accent);
    font-size: 1.2rem;
    margin: .25rem 0;
}

.flow-no-action {
    background: #f1f5f9;
    color: var(--text-light);
    font-style: italic;
}

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

    .flow-header {
        grid-template-columns: 1fr;
    }

    .flow-header>div:last-child {
        display: none;
    }

    .flow-right {
        border-left: 3px solid var(--accent);
    }
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-title::after {
    background: var(--accent);
}

.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: .8rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background .2s;
    border: none;
}

.btn-cta:hover {
    background: var(--accent-hover);
    color: var(--white);
}

/* ========== CTA Content ========== */
.cta-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: .85rem;
    font-weight: bold;
    padding: .35rem 1.2rem;
    border-radius: 50px;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.cta-catch {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.cta-merits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.cta-merits li {
    padding: .4rem 0;
    font-size: 1rem;
}

.cta-merits li i {
    color: var(--accent);
    margin-right: .5rem;
}

.cta-line-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: .7rem;
    flex-shrink: 0;
}

.cta-line-action {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.btn-cta-line {
    display: inline-block;
    background: #06c755;
    color: var(--white);
    padding: .9rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
    transition: background .2s, transform .2s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(6, 199, 85, .35);
}

.btn-cta-line:hover {
    background: #05b34c;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, .45);
}

.cta-line-note {
    font-size: .8rem;
    opacity: .8;
    text-align: center;
}

/* -- Stats row -- */
.cta-stats-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

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

.cta-stat-num {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
}

.cta-stat-unit {
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent);
}

.cta-stat-label {
    display: block;
    font-size: .8rem;
    margin-top: .25rem;
    letter-spacing: .05em;
    opacity: .85;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, .3);
}

/* -- Image area (hero-style) -- */
.cta-image-area {
    border-radius: 12px;
    min-height: 380px;
    overflow: hidden;
}

.cta-image-area img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .cta-catch {
        font-size: 1.3rem;
    }

    .cta-image-area {
        min-height: 240px;
        margin-top: 1.5rem;
    }

    .cta-image-area img {
        min-height: 240px;
    }

    .cta-line-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-stats-row {
        justify-content: flex-start;
    }
}

/* ========== Footer ========== */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-company {
    margin-bottom: .25rem;
}

.footer-company img {
    height: 5rem;
}

.footer-address {
    font-size: .85rem;
    opacity: .8;
    padding-left: 4.6rem;
}

.footer-cta-box {
    background: var(--accent);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-cta-box a {
    color: var(--white);
    text-decoration: none;
}

.footer-cta-box .tel {
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-nav {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.footer-nav a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .85rem;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-copyright {
    text-align: center;
    font-size: .8rem;
    opacity: .6;
    margin-top: 1.5rem;
}

/* ========== Sub-page Common ========== */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.page-content {
    padding: 3rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: .9rem;
}

.back-link:hover {
    color: var(--accent-hover);
}

/* ========== Sub-page: Specific ========== */
.principle-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.strength-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.strength-item:last-child {
    border-bottom: none;
}

.strength-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

.step-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.step-card .step-num {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: .2rem .8rem;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: .75rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
}

.product-card .card-label {
    background: var(--accent);
    color: var(--white);
    padding: .5rem 1rem;
    font-weight: bold;
    text-align: center;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .fit-badge {
    background: var(--accent-light);
    color: var(--accent);
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: bold;
}

/* ========== Bottom CTA (for sub-pages) ========== */
.bottom-cta {
    background: var(--light-bg);
    padding: 3rem 0;
    text-align: center;
}

.bottom-cta .btn-cta {
    margin-top: 1rem;
}

/* ========== Utility ========== */
.text-accent {
    color: var(--accent);
}

.text-primary-custom {
    color: var(--primary);
}

.bg-accent-light {
    background: var(--accent-light);
}