:root {
    --bg: #0f172a;
    --bg-soft: #111827;
    --bg-light: #f8fafc;
    --text: #e5e7eb;
    --text-dark: #0f172a;
    --muted: #94a3b8;
    --line: rgba(255, 255, 255, .10);
    --line-light: rgba(15, 23, 42, .10);
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #22c55e;
    --white: #ffffff;
    --max: 1120px;
    --narrow: 880px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 28%),
        radial-gradient(circle at top right, rgba(34, 197, 94, .10), transparent 24%),
        var(--bg);
    line-height: 1.8;
    letter-spacing: .02em;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

.narrow {
    width: min(100%, var(--narrow));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, .84);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
}

.brand-mark img{
    margin-top: 10%;
    margin-left: 10%;
    width:80%;
    height:80%;
    object-fit:contain;
}

.brand-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand-sub {
    font-size: 12px;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    font-size: 14px;
    color: var(--text);
}

.nav a:hover {
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 160px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .22);
    color: var(--white);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .06);
}

.btn-nav {
    min-height: 40px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.hero {
    padding: 88px 0 84px;
}

.kicker {
    margin: 0 0 12px;
    color: #bfdbfe;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.25;
    letter-spacing: .01em;
}

.hero-lead {
    margin: 24px 0 0;
    max-width: 760px;
    color: #cbd5e1;
    font-size: 17px;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points li {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #e2e8f0;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.section {
    padding: 84px 100px;
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-soft {
    background: #e5f3fd;
    color: var(--text-dark);
}

.section-label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--primary);
}

.section h2 {
    margin: 0 0 32px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.4;
}

.section h3 {
    margin: 28px 0 12px;
    font-size: 22px;
    line-height: 1.5;
}

.section p {
    font-size: 16px;
    margin: 18px 0;
}

.section li {
    font-size: 16px;
    margin-top: 10px;
}

.section ul {
    margin: 18px 0;
}

.section-light p,
.section-light li {
    color: #334155;
}

.section-note {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

.problem-list,
.merit-list,
.target-list {
    margin: 0;
    padding-left: 1.2em;
}

.problem-list li,
.merit-list li,
.target-list li {
    margin-top: 10px;
}

.compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 36px;
    align-items: center;
    margin-top: 24px;
}

.compare-col h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.compare-col ul {
    margin: 0;
    padding-left: 1.2em;
}

.compare-col li {
    margin-top: 10px;
    color: #eff6ff;
}

.compare-col-after h3 {
    margin: 0 0 14px;
    font-size: 24px;
    color: #ffeb92;
}

.compare-col-after ul {
    margin: 0;
    padding-left: 1.2em;
}

.compare-col-after li {
    font-weight: bold;
    margin-top: 10px;
    color: #ffeb92;
}

.compare-arrow {
    font-size: 60px;
    font-weight: 800;
    color: #ffeb92;
    line-height: 1;
    transform: translateY(-2px);
    margin-right: 60px;
}

.tools-lead {
    margin: 0 0 32px;
    color: #334155;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-item {
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    background: #ffffff;
    transition: .2s ease;
}

.tool-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.tool-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #0f172a;
}

.tool-item p {
    margin: 0;
    margin-top: 10px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.tool-price {
    margin-top: 10px;
    font-size: 14px;
    color: #3b70ba;
    font-weight: 600;
}

@media (max-width: 900px) {

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .tools-grid {
        grid-template-columns: 1fr;
    }

}

.table-lead {
    margin: 0 0 20px;
    color: #334155;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    table-layout: fixed;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .10);
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
}

.compare-table thead th {
    background: #8097bc;
    color: #ffffff;
    font-weight: 800;
}

.compare-table tbody th {
    background: #eceef1;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
    white-space: normal;
    width: 24%;
}

.compare-table td {
    color: #334155;
}

/* ===== MGDX列を強調 ===== */

.compare-table .mgdx {
    font-weight: bold;
    font-size: 1.2rem;
    color: #0f172a;
    background: #fffac6;
}

/* MGDX列の左右ライン */

.compare-table td.mgdx,
.compare-table th.mgdx {
    border-left: 2px solid #ffcf88;
    border-right: 2px solid #ffcf88;
}

.compare-table .strongHeader {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
    background: #ed9c23;
}

.compare-table .strong {
    font-weight: bold;
    font-size: 1.2rem;
    color: #e53333;
}

@media (max-width: 900px) {

    .compare-table th,
    .compare-table td {
        padding: 12px 12px;
        font-size: 14px;
    }
}

.cases {
    display: grid;
    gap: 24px;
}

.case-item {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.case-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.case-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.case-item p {
    margin: 0;
    color: #cbd5e1;
}

.faq-list {
    margin-top: 24px;
}

.faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, .12);
    padding: 16px 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 12px;
    color: #475569;
}

.contact-section {
    padding-bottom: 100px;
}

.contact-lead {
    margin: 0 0 28px;
    color: #cbd5e1;
}

/* ==============================
   Form / MGDX taste
============================== */

.form {
    margin-top: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .88);
    opacity: 1;
}

.req {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, .28);
    background: rgba(37, 99, 235, .12);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

/* ==============================
   inputs
============================== */

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: #ffffff;
    outline: none;
    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

input:hover,
select:hover,
textarea:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, .82);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
    background: rgba(255, 255, 255, .08);
}

textarea {
    resize: vertical;
    min-height: 180px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(226, 232, 240, .56);
}

/* selectの見た目対策 */
select {
    color: #ffffff;
}

select option {
    background: #ffffff;
    color: #0f172a;
}

/* ==============================
   two column row
============================== */

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==============================
   Checkbox
============================== */

.form .checks {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 16px;
    text-align: left;
}

.form label.check {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    color: rgba(255, 255, 255, .78);
    opacity: 1;
    line-height: 1.7;
    font-weight: 500;
}

.form label.check input {
    flex: 0 0 auto;
    width: auto;
    margin-top: 4px;
    accent-color: #2563eb;
}

.form label.check span {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: left;
}

/* ==============================
   Actions
============================== */

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.actions.actions-center {
    justify-content: center;
}

.actions .btn {
    min-width: 180px;
    justify-content: center;
}

/* ==============================
   note
============================== */

.note {
    margin: 14px 0 0;
    color: rgba(226, 232, 240, .82);
    opacity: 1;
    font-size: 14px;
    line-height: 1.7;
}

/* ==============================
   Reply Card
============================== */

.reply-card {
    margin-top: 0;
}

.mini {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.mini-k {
    color: rgba(255, 255, 255, .66);
    opacity: 1;
}

.mini-v {
    color: rgba(255, 255, 255, .92);
    opacity: 1;
    text-align: right;
}

/* =========================
   Contact checkbox (NO-CONFLICT)
========================= */

.c-check-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    /* ← 1文字改行防止の要 */
    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;

    position: static !important;
    transform: none !important;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 980px) {
    .page-title {
        font-size: 32px;
    }

    .row-2 {
        grid-template-columns: 1fr;
    }

    .mini-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-v {
        text-align: left;
    }
}

@media (max-width: 860px) {
    .page-hero {
        min-height: 38svh;
        padding: 84px 0 30px;
    }

    .page-title {
        font-size: 30px;
    }

    .page-sub {
        font-size: 14px;
    }

    .actions .btn {
        width: 100%;
    }

    input,
    select,
    textarea {
        border-radius: 16px;
    }
}



.site-footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
}

.site-footer a{
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover{
    opacity: 0.8;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        gap: 12px;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .section {
        padding: 64px 0;
    }

    .compare {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .compare-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .full {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .wrap {
        width: min(100% - 24px, var(--max));
    }

    .hero-points {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-nav {
        width: auto;
    }
}