@charset "UTF-8";
/* ==========================================================
   リフォーム商品 カテゴリー一覧専用CSS（taxonomy-product_category.php のみで読み込み）
   元デザイン：01_統括/隆雅/トイレリフォームデザイン/toilet-category-final/toilet-category-final.html
   既存テーマとぶつからないよう、すべて #reform-category の中に限定
   デザイン用の仮ヘッダー・フッター・パンくず・FAQのCSSは使わない
   ========================================================== */
#reform-category{--blue:#10a9df;--navy:#26455a;--ink:#334a5b;--muted:#6f8290;--line:#dce8ee;--pink:#fff0f2;--yellow:#ffd600;}
#reform-category *{box-sizing:border-box;}
#reform-category{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;background:#fff;}
#reform-category a{color:inherit;text-decoration:none;}
#reform-category .category-intro{width:min(1100px,calc(100% - 40px));margin:26px auto 24px;min-height:112px;border-radius:15px;padding:22px 31px 22px 142px;background:var(--pink);position:relative;display:flex;align-items:center;}
#reform-category .category-intro .tr-art{position:absolute;left:30px;top:50%;transform:translateY(-50%);width:90px;height:90px;}
#reform-category .intro-copy p{margin:0;}
#reform-category .intro-copy .en{font-size:11px;letter-spacing:.13em;color:#c7818a;font-weight:700;}
#reform-category .intro-copy h1{margin:3px 0 5px;font-size:28px;color:#3e515d;letter-spacing:.06em;}
#reform-category .intro-copy .lead{font-size:14px;color:#5d6f7b;}
#reform-category .products-section{width:min(1100px,calc(100% - 40px));margin:0 auto;padding:10px 0 52px;}
#reform-category .section-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:2px solid #dbeaf0;padding-bottom:12px;margin-bottom:20px;}
#reform-category .section-heading h2{font-size:22px;margin:0;color:#345064;}
#reform-category .section-heading p{font-size:12px;margin:0;color:#83949e;}
#reform-category .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
#reform-category .consultation{background:#effaff;border-top:1px solid #d7eef6;border-bottom:1px solid #d7eef6;padding:32px 20px;}
#reform-category .consultation-inner{width:min(920px,100%);margin:auto;display:flex;gap:30px;align-items:center;justify-content:center;}
#reform-category .consultation-title{font-weight:800;font-size:19px;color:#345469;line-height:1.6;}
#reform-category .consultation-title small{font-size:12px;display:block;color:#66808e;}
#reform-category .consultation-actions{display:flex;gap:10px;}
#reform-category .line-button,#reform-category .tel-button{min-width:190px;border-radius:6px;color:#fff;padding:13px 14px;text-align:center;font-weight:700;font-size:14px;}
#reform-category .line-button{background:#32b94a;}
#reform-category .tel-button{background:#168dc2;}
#reform-category .types{width:min(1100px,calc(100% - 40px));margin:60px auto 70px;}
#reform-category .types .section-heading{margin-bottom:23px;}
#reform-category .type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
#reform-category .type-card{min-height:130px;border-radius:12px;padding:19px 20px;position:relative;overflow:hidden;border:1px solid rgba(83,113,130,.1);box-shadow:0 3px 10px rgba(50,92,112,.06);}
#reform-category .type-card .tr-art{position:absolute;right:19px;bottom:12px;width:88px;height:88px;opacity:.98;}
#reform-category .type-card .type-en{display:block;font-size:10px;letter-spacing:.1em;color:#69808c;margin-bottom:5px;font-weight:700;}
#reform-category .type-card strong{display:block;font-size:18px;color:#365064;max-width:190px;line-height:1.4;}
#reform-category .type-card small{display:block;font-size:11px;line-height:1.5;color:#657a86;margin-top:7px;max-width:190px;}
#reform-category .type-standard{background:#eaf7fd;}
#reform-category .type-lowprice{background:#fff0f2;}
#reform-category .type-remote{background:#eafbf7;}
#reform-category .type-space{background:#eef7ff;}
#reform-category .type-cabinet{background:#fff7e7;}
#reform-category .type-wall{background:#f3f0ff;}
/* イラスト：1つずつの画像（2026-09-30） */
#reform-category .tr-art{background-repeat:no-repeat;background-size:contain;background-position:center;display:block;}
#reform-category .tr-art--toilet{background-image:url('../images/toilet-reform/illust-toilet.webp');}
#reform-category .tr-art--pig{background-image:url('../images/toilet-reform/illust-pig.webp');}
#reform-category .tr-art--remote{background-image:url('../images/toilet-reform/illust-remote.webp');}
#reform-category .tr-art--space{background-image:url('../images/toilet-reform/illust-space.webp');}
#reform-category .tr-art--cabinet{background-image:url('../images/toilet-reform/illust-cabinet.webp');}
#reform-category .tr-art--pipe{background-image:url('../images/toilet-reform/illust-pipe.webp');}

@media (max-width:820px){
#reform-category .category-intro{padding-left:118px;}
#reform-category .category-intro .tr-art{left:20px;width:76px;height:76px;}
#reform-category .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
#reform-category .type-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
#reform-category .consultation-inner{display:block;text-align:center;}
#reform-category .consultation-actions{justify-content:center;margin-top:15px;}
}

@media (max-width:480px){
#reform-category .category-intro{width:calc(100% - 28px);padding:16px 15px 16px 99px;margin-top:16px;}
#reform-category .category-intro .tr-art{left:14px;width:66px;height:66px;}
#reform-category .intro-copy h1{font-size:23px;}
#reform-category .intro-copy .lead{font-size:12px;}
#reform-category .products-section,#reform-category .types{width:calc(100% - 28px);}
#reform-category .product-grid{gap:9px;}
#reform-category .type-grid{grid-template-columns:1fr;}
#reform-category .type-card{min-height:113px;}
#reform-category .line-button,#reform-category .tel-button{min-width:0;flex:1;font-size:12px;padding:12px 7px;}
#reform-category .consultation{padding:27px 14px;}
}

/* 追加：WordPress化で増えた表示（デザインにないもの） */
#reform-category .empty-note{ color:#5d6f7b; background:#f8fbfd; border:1px dashed #cbe7f3; border-radius:8px; font-size:14px; line-height:1.8; text-align:center; padding:28px 20px; margin:0;}
#reform-category .type-card.is-current{ outline:2px solid #10a9df; outline-offset:-2px;}

/* 商品カード：トップ（toilet-reform.css）と同じ見た目。4列用にサイズだけ調整（2026-09-29） */
#reform-category .product-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:stretch;}
#reform-category .product-card{ min-width:0; height:100%; background:#fff; border:1px solid #D9E9F1; border-radius:10px; overflow:hidden; box-shadow:0 8px 25px rgba(0,64,96,.08); display:flex; flex-direction:column;}
#reform-category .product-card .img{ height:180px; position:relative; overflow:hidden; flex-shrink:0;}
#reform-category .product-card .img img{ width:100%; height:100%; object-fit:cover; vertical-align:bottom;}
#reform-category .recommend{ width:58px; height:58px; color:#0D2940; background:#fff; border-radius:50%; display:grid; place-content:center; text-align:center; font-size:11px; font-weight:bold; line-height:1.35em; position:absolute; top:10px; left:10px; z-index:2; box-shadow:0 3px 12px rgba(0,0,0,.12);}
#reform-category .card-body{ min-width:0; padding:16px 14px 18px; display:flex; flex:1; flex-direction:column;}
#reform-category .brand{ width:max-content; max-width:100%; color:#fff; background:#E60012; border-radius:3px; font-family:Arial,sans-serif; font-size:10px; font-weight:bold; letter-spacing:.04em; padding:3px 7px; margin:0 0 6px; display:inline-block; align-self:flex-start;}
#reform-category .card-body h3{ min-height:52px; overflow-wrap:anywhere; color:#0D2940; font-size:17px; line-height:1.45em; margin:0 0 6px;}
#reform-category .description{ min-height:62px; color:#4E606D; font-size:12px; line-height:1.7em; margin:0; overflow-wrap:anywhere;}
#reform-category .tag-list{ min-height:27px; display:flex; gap:4px; list-style:none; margin:10px 0 12px; padding:0;}
#reform-category .tag-list li{ min-width:0; flex:1; color:#2379A0; background:#F0FAFE; border:1px solid #CBE7F3; border-radius:3px; text-align:center; font-size:10px; line-height:1.45em; padding:4px 2px; overflow-wrap:anywhere;}
#reform-category .price-label{ width:max-content; max-width:100%; color:#fff; background:#00A3DF; border-radius:3px; font-size:10px; font-weight:bold; line-height:1.5em; padding:3px 7px; margin:auto 0 3px;}
#reform-category .price{ color:#0D2940; font-size:14px; margin:0 0 12px;}
#reform-category .price strong{ font-family:Arial,sans-serif; font-size:28px; line-height:1.2em; letter-spacing:-.03em;}
#reform-category .price small{ color:#607582; font-size:10px;}
#reform-category .price.pending strong{ color:#526775; font-size:21px;}
#reform-category .detail{ color:#fff; background:#00A3DF; border:2px solid #00A3DF; border-radius:5px; text-align:center; font-size:13px; font-weight:bold; padding:10px 12px; display:block; box-shadow:0 4px 10px rgba(0,163,223,.18);}
#reform-category .detail:hover{ background:#087DB7; border-color:#087DB7; opacity:1;}
#reform-category .detail::after{ content:"›"; margin-left:10px;}

@media (max-width:820px){
#reform-category .product-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px;}
}
@media (max-width:480px){
#reform-category .product-card .img{ height:132px;}
#reform-category .recommend{ width:48px; height:48px; font-size:9px; top:8px; left:8px;}
#reform-category .card-body{ padding:13px 11px 14px;}
#reform-category .card-body h3{ min-height:50px; font-size:15px;}
#reform-category .description{ min-height:72px; font-size:11px; line-height:1.65em;}
#reform-category .tag-list{ gap:3px;}
#reform-category .tag-list li{ font-size:9px; padding:4px 2px;}
#reform-category .brand{ font-size:9px; padding:3px 5px;}
#reform-category .price-label{ font-size:9px; padding:3px 5px;}
#reform-category .price{ font-size:12px; margin-bottom:11px;}
#reform-category .price strong{ font-size:24px;}
#reform-category .detail{ font-size:12px; padding:10px 6px;}
#reform-category .detail::after{ margin-left:6px;}
}

/* 品番（2026-09-30 追加） */
#reform-category .hinban{ color:#6A7F8C; font-size:10px; line-height:1.6em; margin:-2px 0 7px; overflow-wrap:anywhere;}
#reform-category .hinban span{ white-space:nowrap;}
@media (max-width:480px){ #reform-category .hinban{ font-size:9px;} }
