/*
 * front-page-extra.css
 * トップページ・ECサイト・WooCommerce補完スタイル
 */

/* ========================================
 * ECサイト記事用の表スタイル
 * ======================================== */
.ec-table-wrapper {
    margin: 1.5em 0;
    overflow-x: visible;
}

/* 記事コンテンツ内の表に適用 */
.entry-content .ec-table-wrapper,
.entry-content .wp-block-table,
article .ec-table-wrapper,
article .wp-block-table {
    margin: 1.5em 0;
    overflow-x: visible;
}

.ec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.ec-table-wide {
    min-width: 600px;
}

.ec-table thead tr {
    background-color: #0066cc;
    color: #ffffff;
}

.ec-table th {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    vertical-align: top;
}

.ec-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    vertical-align: top;
}

.ec-table tbody tr {
    background-color: #ffffff;
    height: auto;
}

.ec-table tbody tr.ec-table-row-alt {
    background-color: #f9f9f9;
}

.ec-table tbody tr:hover {
    background-color: #f0f0f0;
}

/* WordPressブロックエディタの表にも対応 */
.wp-block-table .ec-table,
figure.wp-block-table .ec-table,
.ec-table-wrapper .ec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.wp-block-table .ec-table th,
figure.wp-block-table .ec-table th,
.wp-block-table .ec-table td,
figure.wp-block-table .ec-table td,
.ec-table-wrapper .ec-table th,
.ec-table-wrapper .ec-table td {
    height: auto;
    min-height: auto;
    max-height: none;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* WordPressのデフォルトスタイルを上書き */
.wp-block-table.has-fixed-layout .ec-table,
figure.wp-block-table.has-fixed-layout .ec-table {
    table-layout: auto;
}

.wp-block-table.has-fixed-layout .ec-table th,
figure.wp-block-table.has-fixed-layout .ec-table th,
.wp-block-table.has-fixed-layout .ec-table td,
figure.wp-block-table.has-fixed-layout .ec-table td {
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

/* WordPressブロックエディタが自動変換した表にも対応 */
.ec-table-wrapper table,
.ec-table-wrapper .wp-block-table table,
.ec-table-wrapper figure.wp-block-table table,
.wp-block-table table,
figure.wp-block-table table,
.entry-content .wp-block-table table,
article .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.ec-table-wrapper table th,
.ec-table-wrapper table td,
.ec-table-wrapper .wp-block-table table th,
.ec-table-wrapper .wp-block-table table td,
.ec-table-wrapper figure.wp-block-table table th,
.ec-table-wrapper figure.wp-block-table table td,
.wp-block-table table th,
.wp-block-table table td,
figure.wp-block-table table th,
figure.wp-block-table table td,
.entry-content .wp-block-table table th,
.entry-content .wp-block-table table td,
article .wp-block-table table th,
article .wp-block-table table td {
    height: auto;
    min-height: auto;
    max-height: none;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: top;
    display: table-cell;
}

/* WordPressのhas-fixed-layoutクラスを上書き */
.ec-table-wrapper table.has-fixed-layout,
.ec-table-wrapper .wp-block-table table.has-fixed-layout,
.wp-block-table table.has-fixed-layout,
figure.wp-block-table table.has-fixed-layout {
    table-layout: auto;
}

.ec-table-wrapper table.has-fixed-layout th,
.ec-table-wrapper table.has-fixed-layout td,
.ec-table-wrapper .wp-block-table table.has-fixed-layout th,
.ec-table-wrapper .wp-block-table table.has-fixed-layout td,
.wp-block-table table.has-fixed-layout th,
.wp-block-table table.has-fixed-layout td,
figure.wp-block-table table.has-fixed-layout th,
figure.wp-block-table table.has-fixed-layout td {
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    
    .ec-table-wide {
        min-width: 700px;
    }
    
    .ec-table th,
    .ec-table td {
        padding: 8px;
        font-size: 0.9em;
    }
    
    .ec-table-wrapper table th,
    .ec-table-wrapper table td,
    .wp-block-table table th,
    .wp-block-table table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* ========================================
 * ECサイト記事用の表スタイル
 * ======================================== */
.ec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.ec-table th {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #0066cc;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.ec-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.ec-table tbody tr {
    background-color: #ffffff;
}

.ec-table tbody tr.ec-table-row-alt {
    background-color: #f9f9f9;
}

.ec-table tbody tr:hover {
    background-color: #f0f0f0;
}

.ec-table-wide {
    min-width: 600px;
}

@media (max-width: 768px) {
    
    .ec-table-wide {
        min-width: 700px;
    }
    
    .ec-table th,
    .ec-table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* ペンタ工房の作業と依頼主の作業の色分け */
.work-pentad {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
}

.work-client {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
}

/* ECサイトデモ用ショートコードのスタイル（横4列縦1行） */
.ec-demo-section {
    border: 2px solid #0066cc;
    border-radius: 8px;
    padding: 30px;
    margin: 2em 0;
    background-color: #f9f9f9;
}

.ec-demo-section h2,
.ec-demo-section h3 {
    margin-top: 0;
    color: #0066cc;
    font-size: 1.5em;
    border-bottom: 1px solid #0066cc;
    padding-bottom: 10px;
}

.ec-demo-products-wrapper {
    margin: 20px 0 0 0;
    padding: 20px 0;
}

.ec-demo-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ec-demo-product-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ec-demo-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #0066cc;
}

.ec-demo-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ec-demo-product-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.ec-demo-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

.ec-demo-product-item:hover .ec-demo-product-image {
    transform: scale(1.05);
}

.ec-demo-product-info {
    padding: 15px;
    text-align: center;
}

.ec-demo-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-demo-product-description {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-demo-product-price {
    font-size: 16px;
    font-weight: bold;
    color: #0066cc;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .ec-demo-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .ec-demo-products-wrapper {
        padding: 20px 10px;
        margin: 20px 0 0 0;
    }
    
    .ec-demo-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0;
    }
    
    .ec-demo-product-item {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ec-demo-products-wrapper {
        padding: 20px 5px;
    }
    
    .ec-demo-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
}

/* ========================================
 * #netshop-pillar セクション：ECサイトデモ表示（2×2グリッド、説明左・画像右）
 * アクセサリーセクションは除外
 * ======================================== */
html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) {
    padding: 30px 20px;
    box-sizing: border-box;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-item {
    display: flex;
    flex-direction: row;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    height: 100%;
    width: 100%;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-info {
    flex: 1;
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-image-wrapper {
    width: 120px;
    min-width: 120px;
    height: 120px;
    padding-bottom: 0;
    flex-shrink: 0;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-title {
    min-height: auto;
    margin-bottom: 8px;
    font-size: 15px;
}

html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-price {
    font-size: 18px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) {
        padding: 20px 10px;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-products-wrapper {
        padding: 20px 0;
        margin: 20px 0 0 0;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
        padding: 0;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-item {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-link {
        flex-direction: column;
        width: 100%;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-info {
        text-align: center;
        width: 100%;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-image-wrapper {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }
    
    html body #netshop-pillar .ec-demo-section:not(.ec-demo-section-accessory) .ec-demo-product-image {
        position: absolute;
        object-fit: cover;
        object-position: center;
    }
}

/* ========================================
 * 商品1つだけを表示するスタイル（ネットショップセクション用）
 * ======================================== */
.service-gif .ec-demo-product-single {
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}

.service-gif .ec-demo-product-single-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-gif .ec-demo-product-single-image-wrapper {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-gif .ec-demo-product-single-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-gif .ec-demo-product-single-info {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 60px;
}

.service-gif .ec-demo-product-single-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.service-gif .ec-demo-product-single-price {
    font-size: 16px;
    font-weight: bold;
    color: #0066cc;
    margin: 0;
}

.ec-demo-product-single {
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ec-demo-product-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #0066cc;
}

.ec-demo-product-single-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ec-demo-product-single-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.ec-demo-product-single-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ec-demo-product-single:hover .ec-demo-product-single-image {
    transform: scale(1.05);
}

.ec-demo-product-single-info {
    padding: 15px;
    text-align: center;
}

.ec-demo-product-single-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-demo-product-single-price {
    font-size: 16px;
    font-weight: bold;
    color: #0066cc;
    margin: 0;
}

.ec-demo-product-single-placeholder {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* サイドバーの画像が確実に表示されるように（WooCommerce商品ページでも） */
.sidebar .popular-post-thumbnail img,
.sidebar .recent-post-thumbnail img,
.widget-area .popular-post-thumbnail img,
.widget-area .recent-post-thumbnail img,
aside.sidebar .popular-post-thumbnail img,
aside.sidebar .recent-post-thumbnail img {
    display: block;
    visibility: visible;
    opacity: 1;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.sidebar .popular-post-thumbnail,
.sidebar .recent-post-thumbnail,
.widget-area .popular-post-thumbnail,
.widget-area .recent-post-thumbnail,
aside.sidebar .popular-post-thumbnail,
aside.sidebar .recent-post-thumbnail {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* ========================================
 * .slider-subtitle の text-align: center を確実に適用（ファイル末尾で最高優先度）
 * ======================================== */
section.about-founder-section .slider-section p.slider-subtitle {
    text-align: center;
}

/* ========================================
 * #netshop-pillar セクション：レスポンシブ対応（2×2レイアウト）
 * ======================================== */
.netshop-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .netshop-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========================================
 * #netshop-pillar セクション：よくある不安の解消（左Q1-Q3、右Q4レイアウト）
 * ======================================== */
#netshop-pillar .netshop-content > div[style*="grid-template-columns: 1fr 1fr"]:has(> div:first-child > div) {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    #netshop-pillar .netshop-content > div[style*="grid-template-columns: 1fr 1fr"]:has(> div:first-child > div) {
        grid-template-columns: 1fr;
    }
}

/* ========================================
 * #netshop-pillar セクション：費用の目安セクション（2列レイアウト）
 * ======================================== */
#netshop-pillar .netshop-content > div[style*="grid-template-columns: 1fr 1fr"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    #netshop-pillar .netshop-content > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr;
    }
}

/* ========================================
 * WooCommerce 関連商品のレイアウト
 * ======================================== */
.woocommerce .related.products,
.woocommerce .upsells.products {
    margin-top: 40px;
    margin-bottom: 40px;
    clear: both;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    clear: both;
}

/* WooCommerceのデフォルトのfloatを無効化 */
.woocommerce .related.products ul.products::before,
.woocommerce .related.products ul.products::after,
.woocommerce .upsells.products ul.products::before,
.woocommerce .upsells.products ul.products::after {
    display: none;
}

.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    float: none;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* 関連商品の画像を正方形にクロップ */
.woocommerce .related.products ul.products li.product img,
.woocommerce .upsells.products ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* WooCommerceのデフォルトスタイルを上書き */
.woocommerce .related.products ul.products li.product *,
.woocommerce .upsells.products ul.products li.product * {
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========================================
 * WooCommerce 商品詳細ページのレイアウト修正
 * ======================================== */
/* 商品詳細ページの説明文や価格周りを横書きに強制 */
.woocommerce div.product .summary,
.woocommerce div.product .summary *,
.woocommerce div.product .product_meta,
.woocommerce div.product .product_meta *,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description *,
.woocommerce div.product .summary p,
.woocommerce div.product .summary span {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* 商品価格周りのテキストを横書きに */
.woocommerce div.product .price,
.woocommerce div.product .price *,
.woocommerce div.product .price del,
.woocommerce div.product .price ins,
.woocommerce div.product .price .woocommerce-Price-amount {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* 商品説明文（short-description）を画像の下に配置 */
.woocommerce div.product .woocommerce-product-details__short-description {
    clear: both;
    margin-top: 20px;
    width: 100%;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* 商品画像と説明文のレイアウト調整 */
.woocommerce div.product .images {
    margin-bottom: 20px;
    float: left;
    width: 100%;
}

/* 商品説明文を画像の下に強制的に配置 */
.woocommerce div.product .summary .woocommerce-product-details__short-description {
    clear: both;
    float: none;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 商品詳細ページのレイアウトを調整（画像の下に説明文を配置） */
.woocommerce div.product {
    display: flex;
    flex-direction: column;
}

/* デフォルトのorderを設定（後で上書きされる要素以外） */
.woocommerce div.product > * {
    order: 999;
}

.woocommerce div.product > .images {
    order: 1;
    width: 100%;
    float: none;
}

.woocommerce div.product > .summary {
    order: 2;
    width: 100%;
    float: none;
}

.woocommerce div.product .summary .woocommerce-product-details__short-description {
    clear: both;
    width: 100%;
    margin-top: 20px;
}

/* タブ（説明、レビューなど）を画像とサマリーの後に配置 */
.woocommerce div.product > .woocommerce-tabs {
    order: 3;
    width: 100%;
    clear: both;
}

/* 関連商品とアップセル商品を最後に配置（div.product内の直接の子要素として） */
.woocommerce div.product > .related.products,
.woocommerce div.product > .upsells.products {
    order: 4;
    width: 100%;
    clear: both;
}

/* woocommerce_after_single_productフックの外側に表示される関連商品も最後に配置 */
/* メインコンテンツエリア全体をflexコンテナにする */
.woocommerce .site-main,
.woocommerce-page .site-main,
.woocommerce #main,
.woocommerce-page #main {
    display: flex;
    flex-direction: column;
}

/* 関連商品とアップセル商品を最後に配置 */
.woocommerce .related.products,
.woocommerce .upsells.products {
    order: 9999;
    width: 100%;
    clear: both;
    margin-top: 40px;
}

/* ========================================
 * 写真ネットショップ専用スタイル
 * ======================================== */
.photo-shop-products-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.photo-shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.photo-shop-product-item {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-shop-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.photo-shop-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.photo-shop-product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f9fa;
}

.photo-shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.photo-shop-product-item:hover .photo-shop-product-image {
    transform: scale(1.05);
}

.photo-shop-product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.photo-shop-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-shop-product-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-shop-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066cc;
    margin-top: auto;
}

.photo-shop-product-price del {
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 8px;
}

.photo-shop-product-price ins {
    text-decoration: none;
    color: #0066cc;
}

/* タブレット対応（2列） */
@media (max-width: 1024px) {
    .photo-shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* モバイル対応（1列） */
@media (max-width: 768px) {
    .photo-shop-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-shop-product-info {
        padding: 15px;
    }
    
    .photo-shop-product-title {
        font-size: 1rem;
    }
    
    .photo-shop-product-price {
        font-size: 1.1rem;
    }
}

/* ========================================
 * 写真ネットショップ注意書きセクション
 * ======================================== */
.photo-shop-notice-section {
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.photo-shop-notice-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
}

.photo-shop-notice-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photo-shop-notice-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.photo-shop-notice-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    margin: 0 0 12px 0;
}

.photo-shop-notice-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.photo-shop-notice-item a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #0066cc;
    transition: all 0.3s ease;
}

.photo-shop-notice-item a:hover {
    color: #0052a3;
    border-bottom-color: #0052a3;
}

/* Squareリンクのスタイル */
.photo-shop-square-link {
    color: #0066cc;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 4px;
}

.photo-shop-square-link:hover {
    color: #0052a3;
    border-bottom-color: #0052a3;
    transform: translateY(-1px);
}

/* セキュリティリストのスタイル */
.photo-shop-security-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.photo-shop-security-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    padding-left: 0;
}

.photo-shop-security-list li:last-child {
    margin-bottom: 0;
}

.photo-shop-security-list li strong {
    color: #0066cc;
    font-weight: 600;
}

/* セキュリティ注意書き */
.photo-shop-security-note {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4f8;
    border-radius: 6px;
    border-left: 4px solid #00a86b;
    font-size: 1rem;
    line-height: 1.8;
    color: #2d5a87;
    font-weight: 500;
}

/* タブレット・モバイル対応 */
@media (max-width: 768px) {
    .photo-shop-notice-section {
        padding: 25px 20px;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    
    .photo-shop-notice-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .photo-shop-notice-content {
        gap: 20px;
    }
    
    .photo-shop-notice-item {
        padding: 20px;
    }
    
    .photo-shop-notice-item-title {
        font-size: 1.1rem;
    }
    
    .photo-shop-notice-item p {
        font-size: 0.95rem;
    }
}

/* お試し案内セクション */
.trial-service-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    text-align: center;
}

.trial-service-box {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: inline-block;
    min-width: 300px;
}

/* お試し更新コーナー（特徴②）: オレンジ系パステル */
.trial-service-box.trial-service-box-easy-update {
    background: #fff4e6;
    border: 2px solid #ff6900;
    box-shadow: 0 3px 10px rgba(255, 105, 0, 0.2);
}

.trial-service-box.trial-service-box-center {
    text-align: center;
}

/* お試しECサイト化（特徴③）: 青系パステル */
.trial-service-box.trial-service-box-netshop {
    background: #e6f2ff;
    border: 2px solid #0066cc;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
}

.trial-service-title {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* お試し更新コーナー（特徴②）: オレンジ系 */
.trial-service-box-easy-update .trial-service-title {
    color: #ff6900;
}

/* お試しECサイト化（特徴③）: 青系 */
.trial-service-box-netshop .trial-service-title {
    color: #0066cc;
}

.trial-service-price {
    font-size: 1.3rem;
    color: #856404;
    font-weight: bold;
    margin-bottom: 10px;
}

.trial-service-price del {
    color: #999;
}

.trial-service-description {
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.8;
    font-weight: 500;
    text-align: left;
}

/* お試し更新コーナー（特徴②）: オレンジ系 */
.trial-service-box-easy-update .trial-service-description {
    color: #cc5500;
}

/* お試しECサイト化（特徴③）: 青系 */
.trial-service-box-netshop .trial-service-description {
    color: #004499;
}

.trial-service-description.trial-service-description-center {
    text-align: center;
    margin-top: 8px;
    line-height: 1.5;
}

.trial-service-widget-wrapper {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 200px;
}

/* 特定のウィジェットIDにもスタイルを適用 */
#trial-easy-update-widget,
#trial-netshop-widget {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    min-height: 200px;
}

/* ココナラウィジェットのレスポンシブ対応 */
.trial-service-widget-wrapper .coconala-widget,
.coconala-widget-item .coconala-widget {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ココナラウィジェットのiframeをレスポンシブ対応 */
.trial-service-widget-wrapper iframe,
.coconala-widget-item iframe,
#trial-easy-update-widget iframe,
#trial-netshop-widget iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    box-sizing: border-box;
}

/* PC画面で横並びレイアウト */
@media (min-width: 769px) {
    .trial-service-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: center;
    }
    
    .trial-service-box {
        margin-bottom: 0;
    }
    
    .trial-service-title {
        font-size: 1.2rem;
    }
    
    .trial-service-description {
        font-size: 1rem;
    }
    
    .trial-service-widget-wrapper {
        margin-top: 0;
    }
}

/* QAセクション */
.qa-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .qa-section-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
 * アクセサリーセクション専用スタイル
 * ======================================== */
.accessory-intro-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.ec-demo-section-accessory {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(212, 165, 199, 0.2);
    border: 1px solid rgba(232, 197, 220, 0.5);
}

.accessory-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Caveat', 'Kalam', cursive, sans-serif;
    color: #b8869b;
    margin: 0 auto 20px;
    letter-spacing: 0.15em;
    text-shadow: 
        2px 2px 0px rgba(255, 255, 255, 0.9),
        4px 4px 8px rgba(184, 134, 155, 0.3),
        0 0 20px rgba(212, 165, 199, 0.4);
    border: none;
    padding: 0;
    display: inline-block;
    line-height: 1.3;
    transform: rotate(-2deg);
    position: relative;
}

.accessory-section-title::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 1.2rem;
    opacity: 0.7;
}

.accessory-section-title::after {
    content: '✨';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 1.2rem;
    opacity: 0.7;
}

.accessory-profile {
    margin: 0 auto 25px;
    max-width: 800px;
    overflow: hidden;
}

.accessory-profile-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f8bbd0;
    box-shadow: 0 4px 12px rgba(248, 187, 208, 0.4);
    float: right;
    margin: 0 0 20px 20px;
    flex-shrink: 0;
}

.accessory-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.accessory-introduction {
    text-align: left;
}

.accessory-introduction p {
    font-size: 1.05rem;
    font-family: 'Kalam', 'Caveat', 'Hiragino Maru Gothic ProN', 'ヒラギノ丸ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic Medium', '游ゴシック Medium', 'Meiryo', 'メイリオ', cursive, sans-serif;
    color: #6b4a5a;
    line-height: 1.8;
    margin: 0 0 15px 0;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.accessory-introduction p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .accessory-profile-image-wrapper {
        float: none;
        margin: 0 auto 20px;
        display: block;
    }
    
    .accessory-introduction {
        text-align: center;
    }
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item {
    background: #fff;
    border: 2px solid #f8bbd0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(248, 187, 208, 0.3);
    display: flex;
    flex-direction: column;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item:hover,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(212, 165, 199, 0.4);
    border-color: #e8c5dc;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-link,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-image-wrapper,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-image,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item:hover .ec-demo-product-image,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-item:hover .ec-demo-product-image {
    transform: scale(1.05);
}


html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-info {
    padding: 18px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-title,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-title {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Kalam', 'Caveat', 'Hiragino Maru Gothic ProN', 'ヒラギノ丸ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic Medium', '游ゴシック Medium', 'Meiryo', 'メイリオ', cursive, sans-serif;
    color: #6b3d5a;
    margin: 0 0 10px 0;
    line-height: 1.6;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    order: 1;
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-description {
    font-size: 14px;
    font-family: 'Kalam', 'Caveat', 'Hiragino Maru Gothic ProN', 'ヒラギノ丸ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic Medium', '游ゴシック Medium', 'Meiryo', 'メイリオ', cursive, sans-serif;
    color: #5a3d4a;
    line-height: 1.7;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    order: 2;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-price,
html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-product-price {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Caveat', 'Kalam', 'Hiragino Maru Gothic ProN', 'ヒラギノ丸ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic Medium', '游ゴシック Medium', 'Meiryo', 'メイリオ', cursive, sans-serif;
    color: #8b4a6b;
    margin: 0;
    order: 3;
    margin-top: auto;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid,
    html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid,
    html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    html body #netshop-pillar .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid,
    html body .ec-demo-section-accessory .ec-demo-products-wrapper-accessory .ec-demo-products-wrapper .ec-demo-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========================================
 * オプションのご案内セクション
 * ======================================== */
.pricing-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.pricing-option-box {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #0066cc;
}

/* 古いセレクタは削除（.pricing-option-title を使用） */

.pricing-option-content {
    line-height: 1.8;
}

.pricing-option-content ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.pricing-option-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .pricing-options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* オプションセクションのボックススタイル */
.pricing-option-box-netshop {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #0066cc;
}

.pricing-option-box-easy-update {
    background: #fff3e0;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #ff6900;
}

/* オプションセクションのタイトルに疑似要素を追加（h2.heading-boxと同じ構造） */
html body .pricing-option-box .pricing-option-title {
    position: relative;
    overflow: hidden;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    padding: 0.5rem 1rem;
    min-height: 2.5rem;
    line-height: 1.5;
    background: transparent;
}

html body .pricing-option-box .pricing-option-title-netshop {
    color: #0066cc;
}

html body .pricing-option-box .pricing-option-title-easy-update {
    color: #ff6900;
}

html body .pricing-option-box .pricing-option-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
    display: block;
}

html body .pricing-option-box .pricing-option-title-netshop::before {
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.5), transparent);
}

html body .pricing-option-box .pricing-option-title-easy-update::before {
    background: linear-gradient(90deg, transparent, rgba(255,105,0,0.5), transparent);
}

html body .pricing-option-box .pricing-option-title-netshop:hover::before,
html body .pricing-option-box .pricing-option-title-easy-update:hover::before,
html body .pricing-option-box .pricing-option-title:hover::before {
    left: 100%;
}

html body .pricing-option-box .pricing-option-link {
    display: block;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

html body .pricing-option-box .pricing-option-link-netshop {
    color: #0066cc;
}

html body .pricing-option-box .pricing-option-link-easy-update {
    color: #ff6900;
}

/* ========================================
 * ココナラ出品案内セクション
 * ======================================== */
.coconala-service-intro {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.coconala-intro-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: left;
}

.coconala-link-easy-update {
    color: #ff6900;
    text-decoration: none;
    font-weight: 700;
}

.coconala-link-easy-update:hover {
    text-decoration: underline;
}

.coconala-link-netshop {
    color: #0066cc;
    text-decoration: none;
    font-weight: 700;
}

.coconala-link-netshop:hover {
    text-decoration: underline;
}

.coconala-widgets-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1.5rem;
}

.coconala-widget-item {
    text-align: center;
}

@media (min-width: 769px) {
    .coconala-widgets-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* スマホでのココナラウィジェット表示 */
@media (max-width: 768px) {
    .trial-service-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .trial-service-widget-wrapper,
    .coconala-widget-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    #trial-easy-update-widget,
    #trial-netshop-widget {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        min-height: 300px;
        overflow: visible;
    }
    
    .trial-service-widget-wrapper .coconala-widget,
    .coconala-widget-item .coconala-widget,
    #trial-easy-update-widget .coconala-widget,
    #trial-netshop-widget .coconala-widget {
        width: 100%;
        max-width: 100%;
        display: block;
    }
    
    /* ココナラウィジェットのiframeをスマホで適切に表示 */
    .trial-service-widget-wrapper iframe,
    .coconala-widget-item iframe,
    #trial-easy-update-widget iframe,
    #trial-netshop-widget iframe {
        width: 100%;
        max-width: 100%;
        min-height: 300px;
        box-sizing: border-box;
        display: block;
    }
}

/* ========================================
 * 比較表：一般的な制作会社 vs ペンタ工房
 * ======================================== */

.comparison-table-wrapper {
    background: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.1);
    border: 1px solid #cbd5e1;
    overflow-x: auto;
    overflow-y: visible;
    margin: 2rem auto 4rem auto;
    max-width: 1200px;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem;
}

.comparison-table {
    width: 100%;
    display: grid;
    grid-template-columns: 30px 200px 70px 1fr 1fr;
    gap: 0;
    background: #ffffff;
    min-width: 800px;
}

.comparison-header {
    display: contents;
}

.comparison-header-cell {
    background: #e3f2fd;
    color: #1e293b;
    padding: 1rem 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヘッダーの最初の3列は空なので背景色を調整 */
.comparison-header-cell:first-child,
.comparison-header-cell:nth-child(2),
.comparison-header-cell:nth-child(3) {
    background: #e3f2fd;
}

.comparison-row {
    display: contents;
}

.comparison-cell {
    padding: 1rem 0.75rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    word-wrap: break-word;
}

.comparison-cell.comparison-cell-type {
    background: #f3f4f6;
    font-weight: 700;
    color: #1e293b;
}

.comparison-cell.comparison-cell-company {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    padding-left: 1.5rem;
}

.comparison-row.comparison-row-note .comparison-cell.comparison-cell-note {
    background: #fef3c7;
    font-size: 0.85rem;
    font-style: italic;
    color: #92400e;
    grid-column: 2 / 6;
    padding: 0.75rem 1rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        padding: 1rem;
        margin: 1.5rem auto 3rem auto;
    }
    
    .comparison-table {
        min-width: 700px;
        grid-template-columns: 25px 160px 55px 1fr 1fr;
    }
    
    .comparison-cell.comparison-cell-company {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
    
    .comparison-header-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .comparison-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .comparison-cell.comparison-cell-type {
        font-size: 0.8rem;
    }
    
    .comparison-row.comparison-row-note .comparison-cell.comparison-cell-note {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ========================================
 * 料金プラン・詳細比較セクション：特徴リンク
 * ======================================== */
.pricing-intro-text {
    line-height: 1.8;
}

.pricing-intro-text p {
    margin-bottom: 1.5rem;
}

.pricing-intro-lead {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
}

.pricing-intro-subtitle {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e293b;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.pricing-intro-assertion {
    font-weight: bold;
    color: #1e293b;
    font-size: 1.05rem;
}

.pricing-features-list {
    margin: 2rem 0;
}

.pricing-feature-item {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    border-left: 4px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.pricing-feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-feature-item-easy-update {
    border-left-color: #ff6900;
    background: #fff8f5;
}

.pricing-feature-item-netshop {
    border-left-color: #0066cc;
    background: #f0f7ff;
}

.pricing-feature-item-sample-sites {
    border-left-color: #00a86b;
    background: #f0fdf4;
}

.pricing-feature-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    padding-left: 3rem;
}

.pricing-feature-item::before {
    content: '✓';
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.pricing-feature-item-easy-update::before {
    content: '↻';
    background: linear-gradient(135deg, #ff6900 0%, #cc5500 100%);
    box-shadow: 0 2px 8px rgba(255, 105, 0, 0.3);
}

.pricing-feature-item-netshop::before {
    content: '🛒';
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.pricing-feature-item-sample-sites::before {
    content: '👁️';
    background: linear-gradient(135deg, #00a86b 0%, #008055 100%);
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
}

/* ホームページの種類図の注意書き */
.website-type-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.website-type-note p {
    margin: 0;
}

.website-type-note a {
    color: #0066cc;
    text-decoration: underline;
}

.pricing-intro-summary {
    margin-top: 2rem;
    padding: 1.25rem;
    background: #e6f2ff;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    font-weight: 600;
    color: #1e293b;
}

.feature-link {
    font-weight: bold;
    text-decoration: none;
}

.feature-link-easy-update {
    color: #ff6900;
}

.feature-link-netshop {
    color: #0066cc;
}

.feature-link-sample-sites {
    color: #00a86b;
}

.feature-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ========================================
 * 料金表直下：市場相場の補足
 * ======================================== */
.pricing-market-note {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6900;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.pricing-market-examples {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-market-example-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.pricing-market-example-item::before {
    content: '❓';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    font-style: normal;
}

.pricing-market-example-item:last-child {
    margin-bottom: 0;
}

.pricing-market-example-item p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.pricing-market-note a {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
    font-style: normal;
}

.pricing-market-note a:hover {
    color: #0052a3;
}

.pricing-market-note-conclusion {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

/* ペンタ工房とは セクション */
.pentad-intro-section {
    padding: 3rem 0;
}

.pentad-intro-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.pentad-intro-box {
    background: #f0f7ff;
    padding: 2rem;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 1000px;
    border-left: 4px solid #0066cc;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.pentad-intro-box-inline {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.pentad-intro-text-left {
    flex: 1;
}

.pentad-intro-text-center {
    flex: 1;
    text-align: center;
}

.pentad-intro-photo {
    flex-shrink: 0;
    width: 150px;
}

.pentad-intro-photo-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0066cc;
}

.pentad-intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.75rem;
}

.pentad-intro-text:last-child {
    margin-bottom: 0;
}

.pentad-intro-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
}

.pentad-intro-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pentad-intro-section {
        padding: 2rem 0;
    }
    
    .pentad-intro-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pentad-intro-box {
        padding: 1.5rem 0;
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
    }
    
    .pentad-intro-text-left,
    .pentad-intro-text-center {
        width: 100%;
    }
    
    .pentad-intro-text-center {
        text-align: left;
    }
    
    .pentad-intro-photo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .pentad-intro-photo-img {
        width: 120px;
        height: 120px;
    }
    
    .pentad-intro-text {
        font-size: 0.95rem;
    }
}

/* セミオーダーメイド式説明ボックスのスタイル */
#sample-sites .semi-order-explanation-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* サンプルサイトセクション内の簡潔な比較表 */
#sample-sites .comparison-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0; /* 一般的な.comparison-tableのmin-widthを上書き */
    box-sizing: border-box;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

/* 子要素のスタイル */
#sample-sites .comparison-table > div {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: break-word;
}

/* ペンタ工房のボックス（2つ目の子要素） */
#sample-sites .comparison-table > div:nth-child(2) {
    border: 2px solid #00a86b;
}

/* 見出し（h5）のスタイル */
#sample-sites .comparison-table > div h5 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

#sample-sites .comparison-table > div:first-child h5 {
    color: #0693e3;
}

#sample-sites .comparison-table > div:nth-child(2) h5 {
    color: #ff6900;
}

/* リスト（ul）のスタイル */
#sample-sites .comparison-table > div ul {
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
    font-size: 0.95rem;
}

/* デスクトップ：2列表示 */
@media (min-width: 769px) {
    #sample-sites .comparison-table {
        grid-template-columns: 1fr 1fr;
    }
}

/* スマホ：1列表示 */
@media (max-width: 768px) {
    #sample-sites.feature-pillar {
        overflow-x: hidden;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    
    /* セミオーダーメイド式説明ボックスのパディングを調整 */
    #sample-sites .semi-order-explanation-box {
        padding: 15px 12px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin-bottom: 20px;
    }
    
    #sample-sites .feature-list-box {
        padding: 15px 12px;
        margin-bottom: 20px;
    }
    
    #sample-sites .semi-order-explanation-box h4 {
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
    
    #sample-sites .semi-order-explanation-box p {
        margin-bottom: 12px;
    }
    
    #sample-sites .semi-order-explanation-box ul {
        margin-bottom: 12px;
        padding-left: 20px;
    }
    
    #sample-sites .comparison-table {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0; /* 一般的な.comparison-tableのmin-width: 700pxを上書き */
        box-sizing: border-box;
    }
    
    #sample-sites .comparison-table > div {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 15px;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    #sample-sites .comparison-table > div ul {
        padding-left: 15px;
        margin: 0;
    }
}

/* サンプルメイン画像の枠線（最優先） */
div.sample-main-images-frame-container > div.sample-main-image-frame-box {
    border: 1px solid #00a86b;
    width: 100%;
    aspect-ratio: 183 / 144;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
}

/* 右側の画像コンテナが親のアスペクト比に従うように */
div.sample-main-images-frame-container > div.sample-main-image-frame-box .sample-main-image-content-frame-2 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

div.sample-main-images-frame-container > div.sample-main-image-frame-box .sample-main-image-animated-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

div.sample-main-images-frame-container > div.sample-main-image-frame-box .sample-main-image-scrolling {
    width: 100%;
    height: 200%;
    object-fit: cover;
    object-position: top;
    display: block;
    animation: slideDown 90s linear infinite;
    cursor: pointer;
}

/* PC画面で横並び（最優先） */
@media screen and (min-width: 769px) {
    .sample-main-images-frame-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* スマホ画面で縦並び（最優先） */
@media screen and (max-width: 768px) {
    .sample-main-images-frame-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 0;
    }
    
    #sample-sites .feature-list-box {
        margin-top: 0;
    }
}

/* サンプルサイトセクション内のインラインCSS置き換え用クラス */
#sample-sites .sample-main-images > div:first-child {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    min-height: 480px;
}

#sample-sites .sample-main-images > div:first-child img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

#sample-sites .sample-main-images > div:last-child {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#sample-sites .sample-main-images > div:last-child > div {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 480px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

#sample-sites .sample-main-images > div:last-child img {
    width: 100%;
    height: 200%;
    display: block;
    animation: slideDown 90s linear infinite;
    cursor: pointer;
}

#sample-sites .feature-list-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

#sample-sites .feature-list-box ul {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    padding-left: 30px;
    margin-bottom: 0;
}

#sample-sites .semi-order-explanation-box h4 {
    color: #ff6900;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

#sample-sites .semi-order-explanation-box p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

#sample-sites .semi-order-explanation-box p.highlight-blue {
    color: #0693e3;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
}

#sample-sites .semi-order-explanation-box p.highlight-blue-link {
    color: #0693e3;
    text-align: center;
    margin-top: 20px;
}

#sample-sites .semi-order-explanation-box p.highlight-blue-link a {
    color: #0693e3;
    font-weight: bold;
    text-decoration: underline;
}

#sample-sites .semi-order-explanation-box p.center-text {
    text-align: center;
    margin-top: 20px;
}

#sample-sites .semi-order-explanation-box ul {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    padding-left: 30px;
    margin-bottom: 20px;
}

#sample-sites .sample-sites-list-section {
    margin-bottom: 50px;
}

#sample-sites .sample-sites-list-section h4 {
    color: #0693e3;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.3rem;
}

#sample-sites .sample-sites-list-section .contact-intro-text {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
    font-weight: bold;
}

#sample-sites .sample-sites-list-section ul {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    margin-left: 20px;
    padding-left: 20px;
}

#sample-sites .sample-sites-list-section ul li {
    margin-bottom: 10px;
}

#sample-sites .sample-sites-list-section ul li a {
    color: #0693e3;
    text-decoration: underline;
}

#sample-sites .sample-sites-cta-wrapper {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 30px;
}

#sample-sites .sample-sites-cta-button {
    background: #ff6900;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

#sample-sites .sample-sites-cta-button span {
    font-size: 0.9em;
}

/* サンプルサイト 経歴・信頼性ボックス */
#sample-sites .sample-sites-credential-box {
    background: #f8f9fa;
    border: 2px solid #0693e3;
    border-radius: 12px;
    padding: 25px 30px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(6, 147, 227, 0.1);
}

#sample-sites .sample-sites-credential-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.9;
    margin: 0;
    font-weight: 500;
}

#sample-sites .sample-sites-credential-link {
    color: #0693e3;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

#sample-sites .sample-sites-credential-link:hover {
    color: #ff6900;
    text-decoration: underline;
}

#sample-sites .sample-site-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#sample-sites .sample-site-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    padding: 15px 15px 10px;
    margin: 0;
    border-bottom: 2px solid #f0f0f0;
    cursor: pointer;
}

#sample-sites .sample-site-item > div {
    padding: 15px;
}

#sample-sites .sample-site-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    cursor: pointer;
}

#sample-sites .sample-site-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    cursor: pointer;
}

#sample-sites .sample-site-item-featured {
    border: 2px solid #00a86b;
    cursor: pointer;
}

#sample-sites .sample-site-link {
    text-decoration: none;
    display: block;
}

/* ========================================
 * WooCommerce ショップページ：商品カードを3列表示に変更
 * ======================================== */
/* ショップページの商品ループを3列表示に設定 */
.woocommerce ul.products,
.woocommerce ul.products.columns-3,
.woocommerce-page ul.products,
.woocommerce-page ul.products.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    clear: both;
}

/* WooCommerceのデフォルトのfloatを無効化 */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none;
    content: none;
}

.woocommerce ul.products li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products li.product,
.woocommerce-page ul.products.columns-3 li.product {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    float: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}

/* 商品カードの画像を拡大 */
.woocommerce ul.products li.product img,
.woocommerce ul.products.columns-3 li.product img,
.woocommerce-page ul.products li.product img,
.woocommerce-page ul.products.columns-3 li.product img {
    width: 100%;
    height: auto;
    display: block;
}

/* タブレット表示（2列） */
@media (max-width: 1024px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* スマホ表示（1列） */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
 * ネットショップ（ECサイト）セクション：CTAボタン（3つ並列）
 * ======================================== */
.ec-guide-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ec-guide-cta-button {
    display: inline-block;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.ec-guide-cta-blue {
    background: #0066cc;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

.ec-guide-cta-orange {
    background: #ff9900;
    box-shadow: 0 3px 10px rgba(255, 153, 0, 0.3);
}

.ec-guide-cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.ec-guide-cta-button:active {
    transform: translateY(0);
}

/* レスポンシブ対応：タブレット以下では1列に */
@media (max-width: 1024px) {
    .ec-guide-cta-button {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

@media (max-width: 768px) {
    .ec-guide-cta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ec-guide-cta-button {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

/* ========================================
 * 控えめなショップCTA（サブトルCTA）
 * ======================================== */
.shop-cta-subtle {
    display: inline-block;
    color: #0066cc;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #0066cc;
    background: transparent;
}

.shop-cta-subtle:hover {
    background: #f0f7ff;
    color: #0052a3;
    border-color: #0052a3;
}

.shop-cta-subtle:active {
    background: #e6f2ff;
}

@media (max-width: 768px) {
    .shop-cta-subtle {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* ========================================
 * ツールバー：ショップ「滋賀県の風景」メニューアイテム
 * ======================================== */
#wpadminbar #wp-admin-bar-pentad-shop .ab-icon {
    font-family: dashicons;
    font-size: 20px;
    line-height: 1;
    padding: 4px 0;
    width: 26px;
    height: 30px;
    text-align: center;
    float: left;
}

#wpadminbar #wp-admin-bar-pentad-shop .ab-icon:before {
    content: "\f174";
    top: 2px;
}

/* ご契約の前にご確認ください */
.keiyaku-notice {
    max-width: 800px;
    margin: 0 auto 32px;
    padding: 16px 20px;
    background: #f7f7f7;
    border-left: 4px solid #888;
    border-radius: 2px;
    font-size: 0.95em;
    line-height: 1.8;
    text-align: center;
}
.keiyaku-notice__title {
    margin: 0 0 8px;
    font-weight: bold;
}
.keiyaku-notice__text {
    margin: 0 0 12px;
}
.keiyaku-notice__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.keiyaku-notice__list li {
    padding-left: 0;
}

