/* Subpage Common Styles */

:root {
    --subpage-section-padding: 40px 24px;
    --subpage-card-padding: 40px;
    --subpage-card-radius: 24px;
    --subpage-card-gap: 40px;
    --subpage-form-padding: 50px;
    --subpage-form-radius: 24px;
    --subpage-table-cell-padding: 16px 24px;
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 24px 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 16px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.page-desc {
    font-size: 1.2rem;
    opacity: 1;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hosting-hero {
    min-height: 400px;
    background: #0a2008;
}

.hosting-hero-media,
.hosting-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hosting-hero-media {
    z-index: 1;
}

.hosting-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hosting-hero-overlay {
    background: linear-gradient(180deg, rgba(10, 32, 8, 0.2) 0%, rgba(10, 32, 8, 0.8) 100%);
}

.hosting-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Content Layout */
.content-section {
    padding: var(--subpage-section-padding);
    background: var(--bg-light);
}

.content-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header,
.section-title {
    font-size: 28px;
    color: var(--text-heading);
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

/* Modern Tables */
.modern-table-wrapper {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.modern-table th,
.modern-table td {
    padding: var(--subpage-table-cell-padding);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table th {
    background: rgba(var(--primary-rgb), 0.16);
    color: var(--text-heading);
    font-weight: 600;
    font-size: 15px;
}

.modern-table thead th {
    background: rgba(var(--primary-rgb), 0.18);
    color: var(--text-heading);
    font-weight: 700;
}

.modern-table tbody th {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--text-heading);
}

.modern-table tbody tr:first-child th {
    background: rgba(var(--primary-rgb), 0.14);
}

.modern-table td {
    font-size: 15px;
    color: var(--text-main);
    vertical-align: middle;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.01);
}

.price-note {
    font-size: 13px;
    color: var(--text-main);
    opacity: 0.7;
    text-align: right;
    margin-bottom: 32px;
    display: block;
}

/* Option List (Cards inside subpages) */
.option-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.option-item {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.option-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.option-icon {
    width: 56px;
    height: 56px;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Info Grid (Responsive 2-column) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    :root {
        --subpage-section-padding: 25px 16px;
    }

    .content-section {
        padding: 25px 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .modern-table th,
    .modern-table td {
        padding: 12px 16px;
    }
}

/* System Diagram - Graphical Redesign */
.system-diagram-container {
    background: #fdfdfd;
    border-radius: 32px;
    padding: 80px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    margin: 40px 0 80px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.diagram-header {
    text-align: center;
    margin-bottom: 60px;
}

.diagram-header h3 {
    font-size: 24px;
    color: var(--text-heading);
    margin-bottom: 16px;
}

/* Visualization Grid */
.diagram-viz {
    display: grid;
    grid-template-columns: 1fr 100px 1.5fr 100px 1fr;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.viz-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.viz-icon-box {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary);
    position: relative;
}

.viz-node.center .viz-icon-box {
    width: 120px;
    height: 120px;
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.2);
    border: none;
}

.viz-node.center .viz-icon-box::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    border: 1px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: rotateDiagram 20s linear infinite;
}

@keyframes rotateDiagram {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.viz-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
}

.viz-meta {
    font-size: 11px;
    color: var(--text-main);
    opacity: 0.7;
    margin-top: 4px;
}

/* Flow Arrows */
.viz-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    height: 100px;
    justify-content: center;
    position: relative;
}

.flow-path {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    position: relative;
}

.flow-path.receive {
    background: var(--accent);
    opacity: 0.6;
}

.flow-path::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: inherit;
    border-radius: 50%;
    animation: flowPulse 2s infinite;
}

.flow-path.send::after {
    left: 0;
}

.flow-path.receive::after {
    right: 0;
}

@keyframes flowPulse {
    0% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) translateX(50px);
        opacity: 0;
    }
}

.flow-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    position: absolute;
    top: -20px;
}

/* Responsive */
@media (max-width: 900px) {
    .diagram-viz {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .viz-flow {
        height: 60px;
        transform: rotate(90deg);
    }
}

/* Premium CSS Hero (Fallback for images) */
.hero-premium {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background: #0a2008;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(51, 103, 34, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(10, 32, 8, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(51, 103, 34, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(10, 32, 8, 0.9) 0px, transparent 50%);
    filter: blur(40px);
    opacity: 0.8;
}

.hero-premium.image-hero {
    background-size: var(--image-hero-size, cover) !important;
    background-position: var(--image-hero-position, center) !important;
    background-repeat: no-repeat !important;
}

.image-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--image-hero-overlay, linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, rgba(15, 23, 42, 0.58) 100%));
    z-index: 1;
    pointer-events: none;
}

.image-hero .hero-content {
    position: relative;
    z-index: 2;
}

.image-hero .hero-glass-icons {
    display: block;
    opacity: var(--image-hero-icons-opacity, 0.18);
    mix-blend-mode: var(--image-hero-icons-blend, normal);
}

.image-hero .hero-mesh {
    display: var(--image-hero-mesh-display, block);
}

/* Hero Theme Variants */
body.theme-corporate .hero-premium {
    background: #0a2008;
}

body.theme-corporate .hero-mesh {
    background:
        radial-gradient(at 0% 0%, rgba(51, 103, 34, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(10, 32, 8, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(51, 103, 34, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(10, 32, 8, 0.9) 0px, transparent 50%);
}

body.theme-domain-option .hero-premium {
    background: #073d39;
}

body.theme-domain-option .hero-mesh {
    background:
        radial-gradient(at 0% 0%, rgba(15, 118, 110, 0.45) 0px, transparent 52%),
        radial-gradient(at 100% 0%, rgba(6, 45, 42, 0.85) 0px, transparent 52%),
        radial-gradient(at 100% 100%, rgba(20, 184, 166, 0.32) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(6, 45, 42, 0.9) 0px, transparent 52%);
}

body.theme-internet .hero-premium {
    background: #122a67;
}

body.theme-internet .hero-mesh {
    background:
        radial-gradient(at 0% 0%, rgba(30, 64, 175, 0.44) 0px, transparent 52%),
        radial-gradient(at 100% 0%, rgba(15, 32, 88, 0.86) 0px, transparent 52%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.32) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 32, 88, 0.9) 0px, transparent 52%);
}

body.theme-support-tools .hero-premium {
    background: #5f3205;
}

body.theme-support-tools .hero-mesh {
    background:
        radial-gradient(at 0% 0%, rgba(180, 83, 9, 0.46) 0px, transparent 52%),
        radial-gradient(at 100% 0%, rgba(94, 49, 5, 0.86) 0px, transparent 52%),
        radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.34) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(94, 49, 5, 0.9) 0px, transparent 52%);
}

.hero-glass-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-glass-icons svg {
    position: absolute;
    opacity: 0.1;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}

.breadcrumb-premium {
    font-size: 13px;
    margin-bottom: 24px;
    opacity: 0.8;
    color: white;
    font-weight: 500;
}

.breadcrumb-premium a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb-premium a:hover {
    opacity: 0.6;
}

.floating-breadcrumb {
    position: fixed;
    top: var(--floating-breadcrumb-top, 76px);
    left: 0;
    right: 0;
    z-index: 980;
    background: rgba(241, 245, 249, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.34);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-breadcrumb a {
    color: #334155;
    text-decoration: none;
}

.floating-breadcrumb a:hover {
    text-decoration: underline;
}

body.show-floating-breadcrumb .floating-breadcrumb {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Feature Diagram Box */
.feature-diagram-box {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-question {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.faq-question::before {
    content: 'Q';
    color: var(--accent);
}

.faq-answer {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
    padding-left: 28px;
    position: relative;
}

.faq-answer::before {
    content: 'A';
    position: absolute;
    left: 0;
    font-weight: 800;
    color: var(--text-heading);
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
    overflow-x: auto;
    margin: 10px 0;
    border: 1px solid #eee;
}

/* Detail Info Card */
.detail-card {
    background: white;
    border-radius: var(--subpage-card-radius);
    padding: var(--subpage-card-padding);
    margin-bottom: var(--subpage-card-gap);
    box-shadow: var(--shadow-md);
}

.detail-card h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-heading);
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.detail-card h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--text-heading);
}

.detail-card p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.detail-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.detail-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* CTA Section (Apply/Contact) */
.cta-section {
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.cta-section h2,
.cta-section h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-section .cta-desc {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--text-main);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.cta-section .btn-modern {
    padding: 18px 60px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
    position: relative;
    z-index: 2;
}

/* Contact Form Specific Styles */
.form-card {
    background: white;
    border-radius: var(--subpage-form-radius);
    padding: var(--subpage-form-padding);
    box-shadow: var(--shadow-md);
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.form-notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(191, 27, 40, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 249, 249, 0.98) 0%, rgba(255, 244, 244, 0.98) 100%);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.8;
}

.form-notice strong {
    color: #a61d2d;
}

.anti-spam-box {
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(43, 107, 176, 0.14);
    background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(239, 246, 255, 0.98) 100%);
}

.anti-spam-box p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text-sub);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
    font-size: 15px;
}

.form-group label .required-tag {
    background: var(--accent);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.radio-group {
    display: flex;
    gap: 30px;
    padding: 10px 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-actions {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-section {
    padding-bottom: 100px;
}

.hosting-intro-copy p:last-child {
    margin-bottom: 0;
}

.hosting-intro-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.hosting-intro-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.hosting-intro-point svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.hosting-cta-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.hosting-cta-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.hosting-cta-form input:focus {
    border-color: var(--primary);
}

.hosting-cta-submit {
    padding: 16px 32px;
}

.hosting-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.hosting-entry-card {
    border: 1px solid #dbe7f6;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    padding: 16px 18px;
}

.hosting-entry-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    background: #e8f0ff;
    color: #1d4ed8;
}

.hosting-entry-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: 10px;
}

.hosting-entry-copy {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-main);
    margin-top: 6px;
}

.hosting-entry-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hosting-entry-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.hosting-compare-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #dbe7f6;
    border-radius: 12px;
    background: #f8fbff;
}

.hosting-compare-note-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.hosting-compare-note ul {
    margin: 0;
    padding-left: 18px;
}

.hosting-compare-note li {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.8;
}


.hosting-section-lead {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.8;
}

.contact-switch {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.btn-reset {
    background: #e2e8f0;
    color: var(--text-main);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reset:hover {
    background: #cbd5e1;
}

@media (max-width: 768px) {
    :root {
        --subpage-section-padding: 50px 12px;
        --subpage-card-padding: 20px 14px;
        --subpage-card-radius: 20px;
        --subpage-card-gap: 22px;
        --subpage-form-padding: 24px 16px;
        --subpage-form-radius: 16px;
        --subpage-table-cell-padding: 12px 16px;
    }

    .content-section {
    }

    .page-title {
        font-size: 2rem;
    }

    .page-desc {
        font-size: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .option-list {
        grid-template-columns: 1fr;
    }

    .hero-premium.image-hero {
        background-size: var(--image-hero-size-mobile, var(--image-hero-size, cover)) !important;
        background-position: var(--image-hero-position-mobile, var(--image-hero-position, center)) !important;
    }

    .hosting-cta-form {
        flex-direction: column;
    }

    /* ナビのテキスト非表示・アイコンのみ */
    .nav-link .nav-text {
        display: none;
    }

    .nav-link {
        padding: 6px;
        font-size: 0;
        gap: 0;
        opacity: 1;
    }

    .nav-link svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .btn-contact-text {
        display: none;
    }

    .btn-modern {
        padding: 7px 10px !important;
        font-size: 13px !important;
    }

    .header-inner {
        gap: 8px;
    }

    .nav-right {
        display: flex;
        gap: 8px;
    }

    .modern-table th,
    .modern-table td {
        font-size: 13px;
        line-height: 1.5;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    .radio-group {
        gap: 12px;
        flex-wrap: wrap;
    }

    .form-actions {
        margin-top: 28px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .form-actions .btn-modern,
    .form-actions .btn-reset {
        width: 100%;
        justify-content: center;
    }

    .contact-section {
        padding-bottom: 70px;
    }

    .contact-switch {
        margin-bottom: 14px;
    }

    .floating-breadcrumb-inner {
        padding: 9px 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .floating-breadcrumb-inner {
        padding: 9px 12px;
    }
}

@media (max-width: 480px) {
    :root {
        --subpage-section-padding: 42px 8px;
        --subpage-card-padding: 16px 12px;
        --subpage-card-radius: 16px;
        --subpage-card-gap: 18px;
        --subpage-form-padding: 18px 12px;
    }

    .detail-card h2 {
        font-size: 20px;
        padding-left: 14px;
        margin-bottom: 16px;
    }
}


.service-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin-top:14px; }
.service-link { display:flex; align-items:center; gap:10px; text-decoration:none; padding:14px 16px; border:1px solid #e2e8f0; border-radius:12px; background:#fff; color:var(--text-heading); transition:.2s ease; }
.service-link:hover { transform:translateY(-2px); border-color:#bfd4f6; box-shadow:0 8px 18px rgba(15,23,42,.08); }
.service-icon { width:36px; height:36px; border-radius:10px; background:#eef4ff; display:grid; place-items:center; color:var(--accent); flex-shrink:0; }
.service-sub { font-size:12px; color:var(--text-main); margin-top:2px; }
.quick-badge { display:inline-block; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.02em; }
.quick-badge.domain { background:#e8f0ff; color:#1d4ed8; }
.quick-badge.net { background:#e9fbf2; color:#047857; }
.quick-badge.mail { background:#fff7ed; color:#c2410c; }
.quick-badge.web { background:#f3e8ff; color:#7e22ce; }
.purpose-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; margin-top:14px; }
.purpose-link { display:block; text-decoration:none; border:1px solid #dbe7f6; border-radius:12px; background:linear-gradient(180deg,#ffffff,#f8fbff); padding:14px 16px; color:var(--text-heading); transition:.2s ease; }
.purpose-link:hover { transform:translateY(-2px); box-shadow:0 10px 20px rgba(15,23,42,.08); border-color:#bdd3f3; }
.purpose-title { font-size:14px; font-weight:800; line-height:1.5; }
.purpose-sub { font-size:12px; color:var(--text-main); margin-top:4px; line-height:1.6; }
.trust-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-top:14px; }
.trust-item { border:1px solid #dbe7f6; border-radius:12px; background:#fff; padding:14px 14px 12px; }
.trust-kpi { font-size:20px; font-weight:800; color:var(--primary); letter-spacing:.01em; }
.trust-label { font-size:12px; color:var(--text-main); margin-top:4px; line-height:1.6; }
.service-toc-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-top:14px; }
.service-toc-link { display:flex; align-items:center; gap:10px; text-decoration:none; border:1px solid #dbe7f6; border-radius:10px; background:#f8fbff; color:var(--text-heading); padding:10px 12px; font-size:13px; font-weight:700; transition:.15s ease; }
.service-toc-link:hover { transform:translateY(-1px); border-color:#bfd4f6; background:#eef5ff; }
.service-toc-no { width:22px; height:22px; border-radius:999px; background:#1d4ed8; color:#fff; display:grid; place-items:center; font-size:11px; font-weight:800; flex-shrink:0; }
.service-price-table th, .service-price-table td { vertical-align: top; }
.service-price-table tbody th { white-space: nowrap; }
.service-price-table .price-main { font-weight: 800; color: var(--text-heading); }
.service-price-table .price-sub { display:block; margin-top:4px; font-size:12px; color:var(--text-main); line-height:1.6; }
.service-price-table .price-link { white-space: nowrap; }
.service-price-tag { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:4px 8px; border-radius:999px; font-size:10px; font-weight:800; letter-spacing:.04em; background:#eef5ff; color:#1d4ed8; }
.service-price-tag--existing { background:#ecfdf5; color:#047857; }
.service-price-tag--consult { background:#fff7ed; color:#c2410c; }
.service-choose-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin-top:14px; }
.service-choose-card { border:1px solid #dbe7f6; border-radius:12px; background:linear-gradient(180deg,#ffffff,#f8fbff); padding:14px 16px; }
.service-choose-label { display:inline-block; padding:4px 8px; border-radius:999px; background:#e8f0ff; color:#1d4ed8; font-size:11px; font-weight:800; letter-spacing:.02em; }
.service-choose-title { font-size:14px; font-weight:800; color:var(--text-heading); margin-top:10px; }
.service-choose-copy { font-size:12px; color:var(--text-main); line-height:1.7; margin-top:4px; }
.service-price-relations { margin:14px 0 0; padding:14px 16px; border:1px solid #dbe7f6; border-radius:12px; background:#f8fbff; }
.service-price-relations-title { font-size:13px; font-weight:800; color:var(--text-heading); margin:0 0 8px; }
.service-price-relations ul { margin:0; padding-left:18px; }
.service-price-relations li { color:var(--text-main); font-size:12px; line-height:1.8; }
@media (max-width: 768px) {
  .service-grid { grid-template-columns:1fr; gap:10px; }
  .service-link { padding:12px 12px; border-radius:10px; }
  .service-icon { width:32px; height:32px; border-radius:8px; font-size:11px; }
  .purpose-grid, .trust-grid { gap:10px; }
  .purpose-link, .trust-item { padding:12px; }
  .trust-kpi { font-size:18px; }
  .service-price-table tbody th { white-space:normal; line-height:1.45; }
  .quick-badge { font-size:11px; padding:3px 8px; }
}
@media (max-width: 480px) {
  .purpose-title { font-size:13px; }
  .purpose-sub, .trust-label { font-size:12px; }
}

.service-prepare-box { margin-top: 16px; }
.service-cta-button { padding: 10px 18px; font-size: 14px; font-weight: 800; }
.service-cta-button-secondary { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.service-price-cta { margin-top: 18px; }
