* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #222;
    background: #f7f9fc;
    font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e8ef;
    backdrop-filter: blur(8px);
}

.header-container {
    width: min(1200px, 94%);
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0a3d62;
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.global-nav a {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.global-nav .nav-cta a {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    background: #e74c3c;
    color: #fff;
}

.mv {
    padding: 70px 0 50px;
    background: linear-gradient(135deg, #eef5fb 0%, #ffffff 100%);
}

.mv-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mv-label {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e9f2fb;
    color: #0a3d62;
    font-size: 13px;
    font-weight: 700;
}

.mv h1 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.35;
    color: #0a3d62;
}

.mv-lead {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
}

.mv-btns {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    min-width: 220px;
    padding: 16px 28px;
    border-radius: 999px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-red {
    background: #e74c3c;
    color: #fff;
}

.section {
    padding: 88px 0;
    background: #fff;
}

.section-gray {
    background: #f2f5f9;
}

.section-title {
    margin: 0 0 22px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.4;
    color: #0a3d62;
    text-align: center;
}

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

.section-title span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: #7a8798;
}

.section-lead {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
    color: #55606e;
    font-size: 16px;
}

.about-block {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #0a3d62;
}

.about-text p {
    margin: 0;
    color: #4e5968;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(10, 61, 98, 0.05);
    text-align: center;
}

.feature-image {
    margin-bottom: 16px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0a3d62;
}

.feature-card p {
    margin: 0;
    color: #5b6675;
    font-size: 14px;
}

/* 通常CTAベース */
.contact-area {
    padding: 72px 0;
    background: linear-gradient(135deg, #0a3d62 0%, #154d77 100%);
    color: #fff;
}

.contact-title {
    margin: 0 0 28px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.5;
    text-align: center;
}

.contact-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    text-align: center;
}

.contact-box h3 {
    margin: 0 0 20px;
    font-size: 24px;
}

.contact-btn-wrap {
    display: flex;
    justify-content: center;
}

.contact-btn-wrap.with-staff {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.staff-image {
    width: 180px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* 活用シーン */
.case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
    margin-bottom: 76px;
}

.case:last-child {
    margin-bottom: 0;
}

.case.reverse .case-text {
    order: 2;
}

.case.reverse .case-image {
    order: 1;
}

.case-text p {
    margin: 0;
    color: #55606e;
}

.case-image img {
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ロケーション */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.location-grid li {
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    color: #334155;
}

/* 導入の流れ */
.flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.flow-list li {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 18px;
    padding: 26px 20px;
    box-shadow: 0 12px 24px rgba(10, 61, 98, 0.04);
}

.step {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: 0.08em;
}

.flow-list h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0a3d62;
}

.flow-list p {
    margin: 0;
    color: #5b6675;
    font-size: 14px;
}

.center-btn {
    margin-top: 36px;
    text-align: center;
}

.final-cta {
    padding-top: 90px;
    padding-bottom: 90px;
}

.site-footer {
    padding: 36px 0;
    background: #0e1823;
    color: #c8d0da;
    text-align: center;
}

.footer-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
}

.pc {
    display: inline;
}

/* ここから理想形CTA */
.contact-style-visual {
    background: #3366b7;
    color: #fff;
    padding: 56px 0 48px;
    overflow: hidden;
}

.contact-hero {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: end;
    margin-bottom: 28px;
}

.contact-hero.reverse-layout {
    grid-template-columns: 1fr 280px;
}

.contact-hero-text {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.contact-hero-text h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 54px);
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
    text-align: left;
}

.contact-hero-image {
    display: flex;
    justify-content: center;
    align-items: end;
}

.contact-hero-image.cutout-image {
    position: relative;
}

.contact-hero-image.cutout-image img {
    width: 250px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.visual-contact-box {
    background: #f2f2f2;
    color: #1f3f79;
    border-radius: 0;
    max-width: 100%;
    padding: 42px 48px;
    text-align: center;
    border: none;
}

.visual-contact-box h3 {
    margin: 0 0 28px;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.4;
    font-weight: 700;
    color: #2f63b8;
}

.visual-contact-row {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: center;
}

.visual-contact-mail {
    display: flex;
    justify-content: center;
}

.mail-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 520px;
    max-width: 100%;
    padding: 18px 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff1493 0%, #f50084 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    border: 4px solid #fff;
}

.mail-btn-sub {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mail-btn-main {
    font-size: clamp(26px, 2.4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.visual-contact-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tel-number {
    margin: 0 0 10px;
    padding: 10px 18px;
    background: #cfe1fb;
    color: #000;
    font-size: clamp(30px, 3vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.tel-note {
    margin: 0;
    padding: 6px 12px;
    background: #dce9fb;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 960px) {
    .mv-inner,
    .about-block,
    .case,
    .flow-list,
    .feature-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .case.reverse .case-text,
    .case.reverse .case-image {
        order: initial;
    }

    .global-nav ul {
        gap: 14px;
    }

    .global-nav a {
        font-size: 13px;
    }

    .contact-hero,
    .contact-hero.reverse-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .contact-hero-text {
        justify-content: center;
    }

    .contact-hero-text h2 {
        text-align: center;
    }

    .contact-hero-image.cutout-image img {
        width: 180px;
    }

    .visual-contact-box {
        padding: 30px 20px;
    }

    .visual-contact-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mail-btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .global-nav ul {
        gap: 12px;
    }

    .section,
    .contact-area {
        padding: 64px 0;
    }

    .contact-box {
        padding: 28px 18px;
    }

    .pc {
        display: none;
    }

    .staff-image {
        width: 140px;
    }

    .contact-style-visual {
        padding: 40px 0 36px;
    }

    .contact-hero-text h2 {
        font-size: 30px;
        line-height: 1.5;
    }

    .visual-contact-box h3 {
        font-size: 24px;
    }

    .mail-btn-sub {
        font-size: 16px;
    }

    .mail-btn-main {
        font-size: 26px;
    }

    .tel-number {
        font-size: 34px;
    }

    .tel-note {
        font-size: 14px;
    }
}