/* WordPress記事埋め込み用スタイル */
#lp-content {
    font-family: sans-serif;
    padding: 0;
    margin: 0;
    max-width: 100%; /* 幅いっぱいに調整 */
    box-sizing: border-box; /* パディングが幅に影響しないように */
}

#lp-content h1 {
    margin-bottom: 12px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
    color: #333;
}

#lp-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
    display: flex;
    align-items: center;
    color: #333;
}

#lp-content h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    color: #333;
}

#lp-content p {
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Hero Section */
#lp-content .built-in-hero {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    color: #333;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#lp-content .hero-main {
    display: flex;
    align-items: center;
    gap: 30px;
}

#lp-content .hero-image {
    flex: 0 0 400px;
}

#lp-content .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#lp-content .hero-content {
    flex: 1;
    text-align: left;
}

#lp-content .highlight {
    color: #007bff;
    font-weight: bold;
}

#lp-content .price-emphasis {
    color: deeppink;
    font-weight: bold;
    font-size: 1.2em;
}

#lp-content .hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
#lp-content .hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    color: #333;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
#lp-content .hero-benefits i {
    color: #0056b3;
    font-size: 1.1em;
}

#lp-content .hero-cta {
    text-align: center;
}

#lp-content .hero-title {
    color: #333;
    margin: 20px 0;
    line-height: 1.4;
    width: 100%;
    text-align: center;
}
#lp-content .built-in-hero h1 {
    color: #333;
    border-left: none;
    padding-left: 0;
    margin-bottom: 15px;
    line-height: 1.4;
    width: 100%;
    text-align: left;
}
#lp-content .built-in-hero p {
    color: #555;
    margin-bottom: 25px;
}
#lp-content .built-in-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: #28a745; /* 強調色 */
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-size: 28px;  
    justify-content: center;
}
#lp-content .built-in-cta:hover {
    background-color: #218838;
}
#lp-content .built-in-hero-sub-info {
    color: #777;
    margin-top: 15px;
}

/* Benefits Section */
.built-in-benefits {
    text-align: center;
    margin-bottom: 40px;
}
.built-in-benefits h2 {
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
    display: inline-block;
}
.benefits-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}
.benefits-simple span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
}
.benefits-simple i {
    color: #007bff;
}

/* Comparison Table */
.built-in-comparison {
    margin-top: 40px;
}
.built-in-comparison h2 {
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
}
.built-in-comparison .table-container { /* テーブルを囲む新しいコンテナ */
    overflow-x: auto; /* 横スクロールを可能に */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかに */
}
.built-in-comparison table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px; /* テーブルが小さくなりすぎないように最小幅を設定 */
}
.built-in-comparison th, .built-in-comparison td {
    border: 1px solid #ddd;
    padding: 0;
    text-align: center;
    font-size: 1.2rem;
}
.built-in-comparison th {
    background-color: #f0f8ff;
    font-weight: bold;
    color: #333;
}
.built-in-comparison tr:nth-child(even) {
    background-color: #f9f9f9;
}
.built-in-comparison td a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.built-in-comparison td a:hover {
    text-decoration: underline;
}

/* Individual Model Styles */
#lp-content .built-in-model {
    margin: 30px 0;
    border-top: 3px solid #007bff;
    padding-top: 30px;
    position: relative;
}

#lp-content .built-in-model::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
}

#lp-content .built-in-model h3 {
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #007bff;
    background: linear-gradient(90deg, rgba(0,123,255,0.1), transparent);
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

#lp-content .built-in-model h3 .fa-tags {
    color: deeppink;
    margin-left: 10px;
}

#lp-content .built-in-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

#lp-content .built-in-image {
    flex: 1 1 280px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

#lp-content .built-in-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

#lp-content .built-in-details {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#lp-content .built-in-size-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fafafa;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    gap: 15px;
    box-sizing: border-box;
}

#lp-content .built-in-size-label {
    flex: 0 0 auto;
    font-weight: bold;
    color: #333;
}

#lp-content .built-in-price {
    flex: 0 0 180px;
    color: #c00;
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
}

#lp-content .built-in-links {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

#lp-content .built-in-links a {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

#lp-content .btn-detail {
    background: #e0e0e0;
    color: #333;
    border: 1px solid #bbb;
}
#lp-content .btn-detail:hover {
    background-color: #d0d0d0;
}

#lp-content .btn-estimate {
    background: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}
#lp-content .btn-estimate:hover {
    background: #0056b3;
    border-color: #0056b3;
}

#lp-content .built-in-model-reasons {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 20px 0;
}

#lp-content .built-in-model-reasons ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
#lp-content .built-in-model-reasons ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}
#lp-content .built-in-model-reasons ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #28a745;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Guide Section */
.built-in-guide-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.built-in-guide-section h2 {
    margin-top: 0;
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
}
.built-in-guide-section ul {
    margin: 0;
    padding-left: 20px;
}
.built-in-guide-section li {
    margin-bottom: 8px;
}
.built-in-alert-box {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: bold;
}

/* Testimonials Section */
.built-in-testimonials {
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-top: 40px;
}
.built-in-testimonials h2 {
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}
.built-in-testimonial-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px;
}
.built-in-testimonial-item:last-child {
    border-bottom: none;
}
.built-in-testimonial-image {
    flex: 0 0 250px;
    margin-right: 20px;
}
.built-in-testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.built-in-testimonial-content {
    flex: 1;
}
.built-in-testimonial-content p {
    margin-bottom: 10px;
}
.built-in-testimonial-content .customer-info {
    font-weight: bold;
    color: #007bff;
}
.built-in-before-after {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.built-in-before-after img {
    width: calc(50% - 5px);
    height: auto;
    border: 1px solid #eee;
}

/* Contact Section */
.built-in-contact-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.built-in-contact-section h2 {
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}
.built-in-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.built-in-contact-form input,
.built-in-contact-form textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.built-in-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}
.built-in-contact-form button {
    background: #28a745;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.built-in-contact-form button:hover {
    background-color: #218838;
}
.built-in-contact-info-text {
    text-align: center;
    margin-top: 20px;
    color: #555;
}
.built-in-contact-info-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.built-in-contact-info-text a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #lp-content {
        padding: 15px;
    }
    .built-in-hero {
        padding: 20px;
    }
    .hero-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-image {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-title {
        font-size: 1.1em;
    }
    .hero-benefits {
        justify-content: center;
        gap: 8px;
    }
    .hero-benefits span {
        padding: 5px 10px;
        font-size: 0.9em;
    }
    .hero-benefits i {
        font-size: 0.9em;
    }
    .built-in-hero h1 {
        width: 100%;
        text-align: center;
        font-size: 1.2em;
    }
    .built-in-hero p {
        font-size: 0.95em;
    }
    .benefits-simple {
        gap: 10px;
    }
    .benefits-simple span {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .benefits-simple i {
        font-size: 0.9em;
    }
    .built-in-flex {
        flex-direction: column;
        gap: 20px;
    }
    .built-in-image, .built-in-details {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .built-in-size-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .built-in-size-label {
        width: 100%;
        text-align: left;
    }
    .built-in-price {
        width: 100%;
        text-align: left;
    }
    .built-in-links {
        justify-content: flex-start;
        width: 100%;
    }
    .built-in-links a {
        width: calc(50% - 5px);
    }
    .built-in-testimonial-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .built-in-testimonial-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        flex: none;
    }
}

@media (max-width: 480px) {
    .benefits-simple {
        gap: 8px;
    }
    .benefits-simple span {
        padding: 5px 10px;
    }
    .hero-benefits {
        gap: 6px;
    }
    .hero-benefits span {
        padding: 4px 8px;
    }
    .hero-benefits i {
        font-size: 0.8em;
    }
    .hero-title {
        font-size: 1em;
    }
    .built-in-links a {
        width: 100%;
        font-size: 0.9em;
    }
}

/* メーカーカード用スタイル */
.manufacturer-cards {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.manufacturer-cards h2 {
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
    text-align: center;
}
.manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.manufacturer-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}
.manufacturer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.manufacturer-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.manufacturer-image img {
    width: 80%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}
.manufacturer-card:hover .manufacturer-image img {
    transform: scale(1.1);
}
.manufacturer-content {
    padding: 25px;
}
.manufacturer-content h3 {
    margin-bottom: 12px;
    color: #333;
    border-left: none;
    padding-left: 0;
}
.manufacturer-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}
.manufacturer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.manufacturer-features li {
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.manufacturer-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #28a745;
    margin-right: 8px;
}
.manufacturer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-manufacturer-detail {
    background: #007bff;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}
.btn-manufacturer-detail:hover {
    background: #0056b3;
    color: #fff;
}
.btn-manufacturer-guide {
    background: #28a745;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}
.btn-manufacturer-guide:hover {
    background: #218838;
    color: #fff;
}

/* メーカーカードのレスポンシブ対応 */
@media (max-width: 768px) {
    .manufacturer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .manufacturer-content {
        padding: 20px;
    }
    .manufacturer-links {
        flex-direction: column;
    }
    .btn-manufacturer-detail,
    .btn-manufacturer-guide {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .manufacturer-grid {
        grid-template-columns: 1fr;
    }
    .manufacturer-cards {
        padding: 20px;
    }
}

/* シンプル版メーカーリンク */
.manufacturer-simple {
    margin: 30px 0;
    text-align: center;
}
.manufacturer-simple h3 {
    margin-bottom: 20px;
    color: #333;
    border-left: none;
    padding-left: 0;
}
.manufacturer-simple-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.manufacturer-simple-grid a {
    display: block;
    transition: all 0.3s ease;
}
.manufacturer-simple-grid a:hover {
    transform: translateY(-2px);
}
.manufacturer-simple-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* シンプル版のレスポンシブ対応 */
@media (max-width: 768px) {
    .manufacturer-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .manufacturer-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* インデックスタブ用スタイル */
.model-index {
    margin: 30px 0;
    position: sticky;
    top: 10px;
    z-index: 100;
    padding-top: 10px;
    background-color: #51515194;
    padding: 1em;
}
.index-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.index-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    padding: 12px 12px;
    border-radius: 25px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.index-tab:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}
.index-tab.active {
    background: #007bff;
    color: #fff;
    border-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}
.index-tab i {
    margin-right: 6px;
}

/* インデックスタブのレスポンシブ対応 */
@media (max-width: 768px) {
    .index-tabs {
        gap: 8px;
    }
    .index-tab {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .index-tab i {
        font-size: 0.8em;
    }
}
@media (max-width: 600px) {
    .index-tabs {
        gap: 6px;
    }
    .index-tab {
        padding: 8px 8px;
        font-size: 0.8em;
    }
    .index-tab i {
        font-size: 0.7em;
    }
}
@media (max-width: 480px) {
    .index-tabs {
        gap: 4px;
    }
    .index-tab {
        padding: 6px 8px;
        font-size: 0.7em;
    }
    .index-tab i {
        margin-right: 4px;
        font-size: 0.6em;
    }
    .model-index {
        padding: 12px;
    }
}

/* 商品グリッド用スタイル */
#lp-content .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}
#lp-content .product-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
#lp-content .product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
#lp-content .product-image {
    width: 100%;
    height: 0;
    padding-bottom: 80%; /* 正方形より少し低く */
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}
#lp-content .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#lp-content .product-item:hover .product-image img {
    transform: scale(1.05);
}
#lp-content .product-info {
    padding: 15px;
}

#lp-content .product-logo {
    margin-bottom: 5px;
    text-align: left;
}

#lp-content .product-logo img {
    height: 28px;
    width: auto;
    vertical-align: middle;
}

#lp-content .product-type {
    color: #007bff;
    background: #eaf4ff;
    border-radius: 12px;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 4px;
    margin-top: 2px;
}

#lp-content .product-type i {
    margin-right: 4px;
}
#lp-content .product-name {
    font-weight: bold;
    height: 6em;
    display: flex;
    align-items: center;
    line-height: 1.2;
}
#lp-content .product-prices {
   
    text-align: right;
}
#lp-content .sale-price {
    color: #27ae60;
    font-weight: bold;
    display: block;
}
#lp-content .construction-price {
    color: #ff1493;
    background: #ffe6f0;
    padding: 0px 5px;
    border: 2px solid #ff1493;
    margin-top: 8px;
    font-size: 1.8rem !important;
    font-weight: bold;
    display: block;
    border-radius: 8px;
    text-align: right;
}
#lp-content .product-actions {
    margin: 0 1em 1em 1em;
    display: flex;
    justify-content: center;
}
#lp-content .product-actions .btn-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    background: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    font-size: 1.4rem;
}
#lp-content .product-actions .btn-estimate:hover {
    background: #0056b3;
    border-color: #0056b3;
}
#lp-content .product-actions .btn-estimate i {
    font-size: 1.1em;
}

/* レンジフード用の商品表示スタイル */
#lp-content .rfd-single-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 30px 0;
    gap: 20px;
}



#lp-content .rfd-product-image {
    flex: 0 0 300px;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    border-radius: 8px;
}

#lp-content .rfd-product-image .rfd-product-type {
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

#lp-content .rfd-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



#lp-content .rfd-product-info {
    flex: 1;
    min-width: 0; /* flexboxでの幅計算を正しくする */
}

#lp-content .rfd-product-logo {
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

#lp-content .rfd-product-logo img {
    height: 30px;
    width: auto;
    vertical-align: middle;
}

#lp-content .rfd-product-name {
    font-weight: bold;
    font-size: 1.3rem;
    margin: 10px 0;
    line-height: 1.3;
    color: #333;
    width: 100%;
}

#lp-content .rfd-product-type {
    color: #007bff;
    background: #eaf4ff;
    border-radius: 8px;
    padding: 6px 12px;
    display: block;
    margin-bottom: 20px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

#lp-content .rfd-product-type i {
    margin-right: 6px;
}

/* 商品名とタイプを上部に幅いっぱいで表示するヘッダー */
#lp-content .rfd-product-header {
    width: 100%;
    padding: 20px 20px 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

/* 画像と商品情報を横並びにするコンテナ */
#lp-content .rfd-product-content {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* 3つの幅の商品情報をテーブル形式で表示 */
#lp-content .rfd-widths-container {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

/* スクロール可能テーブルのスタイル調整 */
#lp-content .scrollable-table {
    margin-bottom: 0;
}

#lp-content .rfd-widths-table {
    width: 100%;
    border-collapse: collapse;
}

#lp-content .rfd-widths-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border: 1px solid #dee2e6;
    border-bottom: 2px solid #007bff;
    font-size: 0.9rem;
}

#lp-content .rfd-widths-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    vertical-align: middle;
}

#lp-content .rfd-widths-table th:first-child,
#lp-content .rfd-widths-table td:first-child {
    border-left: 1px solid #dee2e6;
}

#lp-content .rfd-widths-table th:last-child,
#lp-content .rfd-widths-table td:last-child {
    border-right: 1px solid #dee2e6;
}

#lp-content .rfd-widths-table tr:last-child td {
    border-bottom: 1px solid #dee2e6;
}

#lp-content .rfd-width-label {
    color: #007bff;
    font-size: 1rem;
    font-weight: bold;
    background: #eaf4ff;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid #007bff;
}

#lp-content .rfd-construction-price {
    color: #ff1493;
    font-weight: bold;
    font-size: 1.1rem;
}

#lp-content .rfd-width-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#lp-content .rfd-btn-detail,
#lp-content .rfd-btn-estimate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

#lp-content .rfd-btn-detail {
    background: #e0e0e0;
    color: #333;
    border: 2px solid #bbb;
}

#lp-content .rfd-btn-detail:hover {
    background: #d0d0d0;
    border-color: #999;
}

#lp-content .rfd-btn-estimate {
    background: #007bff;
    color: #fff;
    border: 2px solid #007bff;
}

#lp-content .rfd-btn-estimate:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* レンジフード商品のレスポンシブ対応 */
@media (max-width: 900px) {
    #lp-content .rfd-single-card {
        flex-direction: column;
        gap: 15px;
    }
    
    #lp-content .rfd-product-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    
  
    
    #lp-content .rfd-widths-table {
        font-size: 0.9rem;
    }
    
    #lp-content .rfd-widths-table th,
    #lp-content .rfd-widths-table td {
        padding: 10px 12px;
    }
    
    #lp-content .rfd-width-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    #lp-content .rfd-btn-detail,
    #lp-content .rfd-btn-estimate {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    #lp-content .rfd-width-actions {
        flex-direction: column;
    }
    
    #lp-content .rfd-construction-price {
        font-size: 1rem !important;
        padding: 6px 10px;
    }
    
    #lp-content .rfd-product-info {
        padding: 15px;
    }
}

/* 商品グリッドのレスポンシブ対応 */
@media (max-width: 800px) {
    #lp-content .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    #lp-content .product-info {
        padding: 15px;
    }
    #lp-content .product-logo img {
        height: 28px;
    }
    #lp-content .product-type {
        padding: 2px 8px;
    }
    #lp-content .product-type i {
        font-size: 0.9em;
    }
    #lp-content .product-name {
        height: auto;
        min-height: 4rem;
    }
    #lp-content .product-actions {
        justify-content: center;
    }
    #lp-content .product-actions .btn-estimate {
        padding: 10px 15px;
        font-size: 1.3rem;
    }
    #lp-content .construction-price {
        font-size: 1.5rem !important;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    #lp-content .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    #lp-content .product-info {
        padding: 12px;
    }
    #lp-content .product-logo img {
        height: 25px;
    }
    #lp-content .product-type {
        padding: 3px 6px;
    }
    #lp-content .product-type i {
    }
    #lp-content .product-name {
        height: 4rem;
    }
    #lp-content .product-actions {
        justify-content: center;
    }
    #lp-content .product-actions .btn-estimate {
        padding: 6px 10px;
        font-size: 1.2rem;
    }
    #lp-content .construction-price {
        font-size: 1.2rem !important;
        padding: 6px 10px;
    }
}
@media (max-width: 480px) {
    #lp-content .product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    #lp-content .product-info {
        padding: 8px;
    }
    #lp-content .product-logo img {
        height: 20px;
    }
    #lp-content .product-type {
        padding: 2px 4px;
    }
    #lp-content .product-type i {
    }
    #lp-content .product-name {
        height: 3.5rem;
    }
    #lp-content .product-actions .btn-estimate {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    #lp-content .construction-price {
        font-size: 0.9rem !important;
        padding: 4px 8px;
    }
} 