* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
        linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%);
    color: #0f172a;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.web-guide-detail-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 24px 60px;
}

.back-link-wrap {
    margin-bottom: 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.back-link:hover {
    background: #f8fafc;
}

.guide-company-header {
    margin-bottom: 26px;
    padding: 26px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e3a8a);
    border-radius: 22px;
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.18);
}

.guide-label {
    margin: 0 0 10px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.company-title {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.4;
    word-break: break-word;
}

.company-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.feature-新製品 {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.feature-実演あり {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.feature-代理店募集 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.web-guide-box {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.12),
        0 8px 18px rgba(15, 23, 42, 0.06);
}

.main-visual-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 240px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.main-visual-label {
    padding: 22px 16px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    border-right: 1px solid #eef2ff;
    background: #f8fafc;
}

.main-visual-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.guide-logo-image {
    width: 360px;
    max-width: 100%;
    height: 190px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.guide-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 360px;
    max-width: 100%;
    height: 190px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 900;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.guide-table th,
.guide-table td {
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.guide-table tr:last-child th,
.guide-table tr:last-child td {
    border-bottom: none;
}

.guide-table th {
    width: 150px;
    padding: 16px;
    color: #0f172a;
    background: #f8fafc;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid #eef2ff;
}

.guide-table td {
    padding: 16px 20px;
    color: #111827;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.9;
}

.product-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product-image-card {
    width: calc(33.333% - 11px);
    min-width: 190px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.product-image-item {
    display: block;
    padding: 10px;
    background: #f8fafc;
}

.product-image-item img {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
}

.product-image-name {
    padding: 12px 14px;
    color: #0f172a;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;
    text-align: center;
}

.guide-text {
    color: #111827;
    font-size: 15px;
    line-height: 2;
    word-break: break-word;
}

.company-url {
    color: #2563eb;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    word-break: break-all;
}

.company-url:hover {
    text-decoration: underline;
}

.guide-notice {
    margin: 28px 0 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.8;
    text-align: right;
}

@media (max-width: 900px) {
    .main-visual-row {
        grid-template-columns: 1fr;
    }

    .main-visual-label {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .guide-table,
    .guide-table tbody,
    .guide-table tr,
    .guide-table th,
    .guide-table td {
        display: block;
        width: 100%;
    }

    .guide-table th {
        border-right: none;
        border-bottom: none;
    }

    .guide-table td {
        padding-top: 8px;
    }

    .product-image-card {
        width: 100%;
    }

    .guide-notice {
        text-align: left;
    }
}