* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    line-height: 1.8;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: block;
    height: 30px;
}

.logo svg {
    height: 100%;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav .nav-item {
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    display: block;
}

nav a:hover {
    opacity: 0.8;
}

/* Active link state */
nav a.active {
    border-bottom: 2px solid rgba(255, 255, 255, 0.95);
    padding-bottom: 2px;
    opacity: 1;
}

/* Submenu styles */
nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    min-width: 250px;
    padding: 0.5rem 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 0;
    padding-top: 0.5rem;
    list-style: none;
}

nav .nav-item:hover .submenu {
    display: block;
}

nav .submenu li {
    width: 100%;
}

nav .submenu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: none;
}

nav .submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.home-header {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: url('/assets/image/img.png') center/cover no-repeat;
}

.home-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.home-header > * { /* place contents above overlay */
    position: relative;
    z-index: 1;
}

.home-header h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.home-header p {
    color: #eef3ff;
    font-size: clamp(14px, 2.2vw, 20px);
    margin-top: 0.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    background: rgba(0, 0, 0, .25);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* Section */
.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e3c72;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    background: #f6f8fb; /* neutral light background for product images */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f5f5f5;
    font-weight: bold;
    color: #1e3c72;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    cursor: pointer;
    padding: 0.25rem 0.8rem;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    color: #555;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 0.8rem;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.checkbox-group label:hover {
    background-color: #f8f9fa;
    border-color: #667eea;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-group input[type="checkbox"]:checked + label,
.checkbox-group label:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

/* Radio button styling */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

input[type="radio"]:hover {
    border-color: #764ba2;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

input[type="radio"]:checked {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Radio group styling similar to checkbox group */
label:has(input[type="radio"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.2s;
}

label:has(input[type="radio"]):hover {
    background-color: #f5f5f5;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 0 20%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section a.active {
    opacity: 1;
    text-decoration: underline;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3c72;
        padding: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    /* Mobile submenu styles */
    nav .submenu {
        position: static;
        display: none;
        background: rgba(42, 82, 152, 0.8);
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0.5rem 0;
        border-radius: 8px;
        box-shadow: none;
    }

    nav .nav-item.active .submenu {
        display: block;
    }

    nav .submenu a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Ensure the hamburger button is right-aligned on mobile */
    .header-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Avoid overlap between logo and the button */
    .logo {
        padding-right: 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .home-header {
        min-height: 30vh;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.highlight {
    background: linear-gradient(transparent 60%, #fff59d 60%);
}

.hidden {
    display: none;
}

/* Material-style select (scoped) */
.md-select-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Hide native arrows where possible */
.md-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 0.75rem 2.25rem 0.5rem 0;
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Custom dropdown indicator */
.md-select-container::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    transform: translateY(-25%);
    pointer-events: none;
}

/* Hover and focus states */
.md-select:hover {
    border-bottom-color: #c7c7c7;
}

.md-select:focus,
.md-select:focus-visible {
    outline: none;
    border-bottom-color: #667eea; /* primary */
    box-shadow: 0 1px 0 0 #667eea;
}

/* Disabled */
.md-select:disabled {
    color: #9e9e9e;
    background-color: #f7f7f7;
    border-bottom-color: #e0e0e0;
    cursor: not-allowed;
}

/* Error modifier (apply by adding .is-error to select) */
.md-select.is-error {
    border-bottom-color: #e53935;
    box-shadow: 0 1px 0 0 #e53935;
}

/* High-contrast/keyboard nav friendly focus ring as fallback */
@media (prefers-contrast: more) {
    .md-select:focus-visible {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.4);
    }
}

/* Ensure consistent height across browsers */
.md-select::-ms-expand { display: none; }
.md-select::-webkit-scrollbar { width: 10px; }


/* --- Home page media tuning --- */
/* Responsive YouTube wrapper */
.video-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto; /* center */
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: #000;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Product card image containment */
.card-image {
    height: 250px; /* keep the original height */
    padding: 12px; /* add some breathing room */
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        border-radius: 10px;
    }
    .card-image {
        height: 160px; /* slightly smaller visuals on mobile */
        padding: 10px;
    }
}

.table-xm .table-wrap {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", sans-serif;
}

.table-xm .table-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: #667eea;
}

.table-xm table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    table-layout: fixed;
}

.table-xm th, .table-xm td {
    padding: 12px 14px;
    border: 1px solid #e6e9ee;
    vertical-align: top;
}

.table-xm th {
    background: #f7f9fc;
    text-align: left;
    font-weight: 700;
}

.table-xm tbody tr:nth-child(odd) td {
    background: #fff;
}

.table-xm tbody tr:nth-child(even) td {
    background: #fbfdff;
}

/* 📱 모바일 대응 */
@media (max-width: 600px) {
    .table-xm table, .table-xm thead, .table-xm tbody, .table-xm th, .table-xm td, .table-xm tr {
        display: block;
        width: 100%;
    }

    .table-xm thead {
        display: none;
    }

    .table-xm tr {
        margin-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
    }

    .table-xm td {
        border: none;
        padding: 8px 0;
    }

    .table-xm td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
        color: #444;
    }

    .table-xm .table-wrap {
        padding: 8px;
    }
}


/* --- Product image visual style --- */
.product-image {
    display: block;
    width: 70%; /* responsive within its container */
    max-width: 500px;
    height: auto;
    margin: 0 auto 20px; /* center align + 10px bottom margin */
    border-radius: 12px; /* rounded corners */
    border: 1px solid #e6e9ee; /* thin border */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* soft shadow */
    background: #fff; /* ensures clean edge against transparent PNGs */
}

@media (max-width: 768px) {
    .product-image {
        width: 100%; /* responsive within its container */
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }
}

/* --- Product feature layout with right-aligned image --- */
.product-feature-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-feature-content {
    flex: 1;
}

.product-feature-image {
    flex-shrink: 0;
}

.product-feature-image img {
    display: block;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e6e9ee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* Image size variants */
.product-image-small {
    width: 200px;
    max-width: 200px;
}

.product-image-medium {
    width: 380px;
    max-width: 380px;
}

.product-image-large {
    width: 400px;
    max-width: 400px;
}

.product-image-xlarge {
    width: 500px;
    max-width: 500px;
}

@media (max-width: 768px) {
    .product-feature-layout {
        flex-direction: column;
    }
    
    .product-feature-image img {
        width: 100%;
        max-width: 100% !important;
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }
}

/* --- Guide image style (full-width with vertical spacing) --- */
.guide-image {
    display: block;
    width: 100%; /* full-width within container */
    height: auto;
    margin: 1rem auto; /* 5rem top/bottom, centered horizontally */
    border-radius: 12px; /* rounded corners */
    border: 1px solid #e6e9ee; /* thin border */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* soft shadow */
    background: #fff; /* ensures clean edge against transparent images */
}

@media (max-width: 768px) {
    .guide-image {
        margin: 1rem auto; /* reduce vertical spacing on mobile */
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }
}

/* --- Product image grid (2 columns on desktop, 1 column on mobile) --- */
.product-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 2rem; /* spacing between images */
    margin-bottom: 2rem;
}

.product-image-grid .product-image {
    width: 100%; /* fill grid cell */
    max-width: none; /* override max-width from .product-image */
    margin: 0; /* remove auto margin, grid handles positioning */
    height: 400px; /* fixed height for consistent display */
    object-fit: cover; /* maintain aspect ratio while filling the space */
}

@media (max-width: 768px) {
    .product-image-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 1.5rem;
    }
}

/* --- About Page Styles --- */
.content-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-box p {
    margin-top: 1rem;
}

.content-box p:first-child {
    margin-top: 0;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: bold;
}

.mt-2 {
    margin-top: 2rem;
}

.company-table th {
    width: 200px;
}

.list-unstyled {
    list-style: none;
    padding: 0;
}

.access-info {
    margin-bottom: 1.5rem;
}

.access-info p {
    margin-bottom: 0.5rem;
}

.access-info p:last-child {
    margin-bottom: 0;
}

.map-container {
    margin-top: 1.5rem;
}

.map-iframe {
    border: 0;
    border-radius: 8px;
}

.map-button-container {
    margin-top: 1rem;
    text-align: center;
}

.map-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* ==================== UTILITY CLASSES ==================== */

/* --- Margin Utilities --- */
.mt-1 {
    margin-top: 1rem;
}

.’ {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* --- Text Utilities --- */
.text-center {
    text-align: center;
}

.text-italic {
    font-style: italic;
}

.text-muted {
    color: #666;
}

.text-primary {
    color: #667eea;
}

.text-success {
    color: #155724;
}

.text-required {
    color: red;
}

.font-lg {
    font-size: 1.4rem;
    line-height: 1.9;
}

.font-xl {
    font-size: 1.2rem;
}

.font-2xl {
    font-size: 2rem;
}

.no-underline {
    text-decoration: none;
}

/* --- Line Height Utilities --- */
.lh-2 {
    line-height: 2;
}

.lh-2-5 {
    line-height: 2.5;
}

.lh-1-8 {
    line-height: 1.8;
}

/* --- Flex Layout Utilities --- */
.flex-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.flex-1 {
    flex: 1;
}

.flex-40 {
    flex: 0 0 40%;
}

.flex-gap {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .flex-gap {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flex-gap table {
        order: 2;
    }
    
    .flex-gap img {
        order: 1;
    }
}

/* --- Width Utilities --- */
.w-full {
    width: 100%;
}

.w-30 {
    width: 30%;
}

/* --- Image Utilities --- */
.img-rounded {
    border-radius: 10px;
}

.img-max-h-350 {
    max-height: 350px;
}

.img-max-h-248 {
    max-height: 248px;
}

.img-max-h-220 {
    max-height: 220px;
}

.img-width-initial {
    width: initial;
}

.img-object-contain {
    object-fit: contain;
}

/* --- Grid Utilities --- */
.grid-col-full {
    grid-column: 1 / -1;
}

/* --- Visibility Utilities --- */
.visually-hidden {
    position: absolute;
    left: -5000px;
    opacity: 0;
    visibility: hidden;
}

/* ==================== CONTENT BOXES ==================== */

/* White content box with shadow (already exists, but keep for reference) */
/* .content-box is defined above at line 876 */

/* Content box with bottom margin */
.content-box-mb {
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Video container with bottom margin */
.video-container-mb {
    margin-bottom: 2rem;
}

/* ==================== GRADIENT BOXES ==================== */

/* Gradient background box */
.gradient-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 10px;
    color: white;
}

.gradient-box-sm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 10px;
    color: white;
    text-align: center;
}

/* ==================== ALERT BOXES ==================== */

/* Success alert box */
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

/* Error alert box */
.alert-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.alert-error ul {
    margin: 0.5rem 0 0 1rem;
}

/* Warning alert box */
.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

/* Notice box with left border */
.notice-box {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid #ffc107;
}

/* Notice box with right-aligned image layout */
.notice-box-with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.notice-box-content {
    flex: 1;
}

.notice-box-image {
    flex-shrink: 0;
    width: 300px;
    max-width: 300px;
}

.notice-box-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e6e9ee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .notice-box-with-image {
        flex-direction: column;
    }
    
    .notice-box-image {
        width: 100%;
        max-width: 100%;
    }
}

/* ==================== HEADINGS WITH COLORS ==================== */

/* Product specification headings */
.heading-orange {
    margin-bottom: 1rem;
    color: #e67e22;
}

.heading-green {
    margin-bottom: 1rem;
    color: #2ecc71;
}

.heading-blue {
    margin-bottom: 1rem;
    color: #3498db;
}

.heading-purple {
    margin-bottom: 1rem;
    color: #8e44ad;
}

.heading-navy {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.heading-with-margin {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==================== TABLE STYLES ==================== */

/* Product specification table in flex layout */
.table-flex {
    flex: 1;
}

/* Table cell width */
.table-cell-30 {
    width: 30%;
}

/* Inline table styles for paper.php tables */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.spec-table tr {
    border-bottom: 1px solid #ddd;
}

.spec-table td {
    padding: 0.75rem;
}

.spec-table td:first-child {
    font-weight: bold;
    width: 30%;
}

/* ==================== FORM STYLES ==================== */

/* Form grid layout */
.form-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    align-items: start;
}

.form-button-center {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .form-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* ==================== LINK STYLES ==================== */

/* Card link with primary color */
.card-link {
    color: #667eea;
    text-decoration: none;
}

/* Success link */
.link-success-underline {
    color: #155724;
    text-decoration: underline;
}

/* ==================== RESPONSIVE UTILITIES ==================== */

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }
    
    .flex-40 {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .gradient-box {
        padding: 2rem;
    }
}

.ml-1 {
    margin-left: 1rem;
}

.ml-1-2 {
    margin-left: 1.2rem;
}

.ml-1-5 {
    margin-left: 1.5rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-2-5 {
    margin-left: 2.5rem;
}

.ml-3 {
    margin-left: 3rem;
}

/* ==================== SVG STYLES ==================== */

.svg-fill-white {
    fill: #FFFFFF;
}

/* ==================== DISPLAY UTILITIES ==================== */

.display-none {
    display: none;
}

/* ==================== FLEXBOX LAYOUT UTILITIES ==================== */

.flex-layout {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.flex-layout-start {
    display: flex;
    gap: 2rem;
    align-items: start;
    flex-wrap: wrap;
}

.flex-item-grow {
    flex: 1;
    min-width: 300px;
}

.flex-item-fixed {
    flex: 0 0 auto;
    max-width: 400px;
}

.flex-item-fixed-lg {
    flex: 0 0 auto;
    max-width: 500px;
}

.flex-item-fixed-sm {
    flex: 0 0 auto;
    max-width: 350px;
}

/* ==================== IMAGE STYLES ==================== */

.img-responsive {
    width: 100%;
    height: auto;
}

.img-product-contain {
    width: inherit;
    max-height: 300px;
    object-fit: contain;
}

.img-width-initial {
    width: inherit;
}

.img-max-h-248 {
    max-height: 248px;
}

.img-max-h-220 {
    max-height: 220px;
}

.img-object-contain {
    object-fit: contain;
}

/* ==================== TABLE COMPARISON STYLES ==================== */

.table-comparison-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.table-comparison {
    font-size: 1.3rem;
}

.table-comparison th,
.table-comparison td {
    text-align: center;
}

.table-comparison td {
    padding: 0.3rem !important;
}

/* ==================== CONTENT BOX VARIANTS ==================== */

.content-box-white {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-box-large-text {
    font-size: 1.2rem;
}

/* ==================== FOOTER SECTION STYLES ==================== */

.footer-section ul li {
    margin-left: 2rem;
}

/* ==================== NOTICE BOX CONTENT STYLES ==================== */

.notice-box-content ul li {
    margin-left: 2.5rem;
}

