@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/* =========================================================
   Cocoon Child 軽量・整理版 style.css
   - 不要な全体上書きを削減
   - Cocoon本体との競合を抑制
   - PC/スマホ表示崩れ対策
   - /product/ 商品カード、在庫表示、2カラムは維持
   ========================================================= */

:root{
  --eco-text:#222;
  --eco-muted:#666;
  --eco-line:#e5e5e5;
  --eco-soft:#f7f7f3;
  --eco-accent:#6b8e23;
  --eco-accent-dark:#557318;
  --eco-accent-soft:#eef5df;
  --eco-red:#b40000;
  --eco-blue:#0b58b0;
  --eco-content-max:1200px;
  --eco-shadow:0 6px 20px rgba(0,0,0,.06);
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

*,*::before,*::after{
  box-sizing:border-box;
}

body{
  color:var(--eco-text);
  overflow-x:hidden;
}

img,video,iframe{
  max-width:100%;
  height:auto;
}

button,input,select,textarea{
  font:inherit;
}

table{
  width:100%;
  border-collapse:collapse;
}

td,th{
  vertical-align:top;
  word-break:break-word;
  overflow-wrap:anywhere;
}

#svgicon{
  display:block;
  width:0;
  height:0;
  overflow:hidden;
}

.txt_center,.img_center{text-align:center;}
.txt_right,.img_right{text-align:right;}
.txt_left,.img_left{text-align:left;}

/* =========================================================
   Cocoon 全体レイアウト：サイドバーを下に回す
   ========================================================= */
#main{
  max-width:var(--eco-content-max);
  margin-left:auto;
  margin-right:auto;
  padding-left:20px;
  padding-right:20px;
}

.content-in{
  display:flex;
  flex-direction:column;
}

.content-in > .main{
  order:1;
  width:100%;
  float:none;
}

.content-in > .sidebar{
  order:2;
  width:100%;
  float:none;
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.sidebar .widget{
  border:1px solid var(--eco-line);
  padding:16px;
  border-radius:8px;
  background:#fff;
}

.sidebar .widget-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 10px;
  border:none;
  padding:0;
}

/* =========================================================
   共通パーツ
   ========================================================= */
.section{margin:0 0 48px;}

.section-title{
  font-size:32px;
  line-height:1.4;
  margin:0 0 20px;
  font-weight:700;
  text-align:center;
}

.section-lead{
  font-size:16px;
  line-height:2;
  max-width:1000px;
  margin:0 auto 30px;
  text-align:center;
  color:var(--eco-muted);
}

.section-mini{
  display:inline-block;
  font-size:1.2rem;
  font-weight:700;
  color:var(--eco-accent-dark);
  background:var(--eco-accent-soft);
  border-radius:999px;
  padding:4px 12px;
  margin:0 0 10px;
}

.center-block,.block-cta{text-align:center;}
.block-cta{margin-top:22px;}

.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  transition:.2s ease;
}

.btn-primary{background:var(--eco-accent);color:#fff;}
.btn-primary:hover{background:var(--eco-accent-dark);}
.btn-secondary{background:#fff;color:var(--eco-text);border:1px solid #d9d4c6;}
.btn-secondary:hover{background:#f5f5f0;}
.btn-outline{background:#fff;color:var(--eco-blue);border:1px solid #cddaf0;}
.btn-outline:hover{background:#f5f9ff;}

#page-top{
  position:fixed;
  bottom:20px;
  right:100px;
  margin:0;
  z-index:9999;
}
#page-top a{display:block;}
#page-top a:hover{opacity:.8;}
.pageTop{display:none;}

/* =========================================================
   トップページ
   ========================================================= */
.eco-top-page{line-height:1.8;}

.hero,.eco-hero{
  margin:18px 0 28px;
  border:1px solid #ece9dd;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--eco-shadow);
}

.hero{
  background:linear-gradient(180deg,#fdfcf7 0%,#f7f7f3 100%);
}

.eco-hero{
  padding:28px 24px;
  background:#fbfff8;
  border-color:#dfead7;
}

.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
  padding:28px;
}

.hero-copy h1{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.4;
}

.hero-copy p,.hero-lead{
  margin:0 0 18px;
  color:#444;
  font-size:16px;
}

.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
  padding:0;
  list-style:none;
}

.hero-points li a{
  display:block;
  background:#fff;
  border:1px solid #e6e1d5;
  border-radius:999px;
  padding:6px 12px;
  font-size:.98rem;
  text-decoration:none;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-visual img{
  width:100%;
  aspect-ratio:800/160;
  object-fit:cover;
  border-radius:14px;
  background:#f7f7f7;
}

.hero-subnote{
  margin-top:14px;
  font-size:1.5rem;
  color:var(--eco-muted);
}

.trust-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.trust-points div{
  padding:12px;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--eco-line);
  font-weight:700;
  text-align:center;
}

.cta-band{
  background:linear-gradient(180deg,#fffef7 0%,#f7f7f1 100%);
  border:1px solid #ebe5d7;
  border-radius:18px;
  padding:22px;
  box-shadow:var(--eco-shadow);
}

.cta-band h2{
  margin:0 0 8px;
  text-align:center;
  font-size:1.35rem;
}

.cta-band p{
  margin:0 0 16px;
  text-align:center;
  color:var(--eco-muted);
}

.cta-band .hero-actions{justify-content:center;}

/* =========================================================
   カテゴリカード・人気商品
   ========================================================= */
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.category-card{
  background:#fff;
  border:1px solid var(--eco-line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--eco-shadow);
  text-align:center;
}

.category-card > a{
  display:block;
  height:100%;
  text-decoration:none;
  color:inherit;
}

.category-media-banner{
  display:block;
  width:120px;
  aspect-ratio:1/1;
  margin:14px auto 0;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  background:#f5f5f5;
}

.category-body{padding:18px;}
.category-body h3{margin:0 0 8px;font-size:1.15rem;line-height:1.5;}
.category-body p{margin:0 0 12px;color:var(--eco-muted);line-height:1.7;}
.category-more{color:var(--eco-blue);font-weight:700;}

.popular-grid,.quality-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}

.popular-card,.quality-card{
  background:#fff;
  padding:24px;
  border:1px solid var(--eco-line);
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

.popular-card h3,.quality-card h3{margin:0 0 14px;font-size:22px;}
.popular-card p,.quality-card p{margin:0 0 10px;line-height:1.9;font-size:15px;}
.popular-card ul{margin:0;padding-left:1.2em;}
.popular-card li{margin:0 0 7px;}
.popular-card a,.popular-card li a{color:var(--eco-blue);font-weight:700;text-decoration:none;}

/* =========================================================
   お知らせ・検索・フッター
   ========================================================= */
.notice-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}

.notice-card,.contact-card{
  background:#fff;
  border:1px solid var(--eco-line);
  border-radius:18px;
  padding:20px;
  box-shadow:var(--eco-shadow);
}

.notice-card h2,.contact-card h2{margin:0 0 12px;font-size:1.2rem;}
.notice-red{color:var(--eco-red);font-weight:700;}
.notice-blue{color:var(--eco-blue);}

.search-box{width:100%;margin:10px 0;}
.search-inner{display:flex;border:1px solid #ddd;border-radius:30px;overflow:hidden;background:#fff;}
.search-inner input{flex:1;min-width:0;border:none;padding:12px 14px;font-size:16px;outline:none;}
.search-inner input::placeholder{color:#aaa;}
.search-inner button{border:none;background:#4CAF50;color:#fff;padding:0 16px;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;white-space:nowrap;}
.search-inner button:hover{background:#43a047;}

.line-banner{
  border:1px solid #d8ead9;
  background:#f3fff5;
  border-radius:18px;
  padding:24px;
  text-align:center;
  box-shadow:var(--eco-shadow);
}
.line-banner h2{margin:0 0 10px;font-size:1.35rem;}
.line-banner p{margin:0 0 14px;color:var(--eco-muted);}
.line-banner img{display:inline-block;width:min(220px,70%);height:auto;}

.footer-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:0 0 20px;}
.footer-links a{display:inline-block;padding:10px 14px;border:1px solid var(--eco-line);border-radius:999px;background:#fff;text-decoration:none;}
.footer-links a:hover{background:#f1fff1;text-decoration:none;}
.page-back{background:var(--eco-soft);text-align:center;padding:12px;margin:28px 0;border-radius:12px;}
.copyright{text-align:center;font-size:.92rem;color:var(--eco-muted);}

/* =========================================================
   汎用ボックス
   ========================================================= */
.box,.box2,.archive_box{
  font-family:"メイリオ",Meiryo,sans-serif;
  font-size:100%;
  line-height:1.5;
  text-align:left;
  margin-top:10px;
  padding:10px;
  background:#fff;
}

.box{border:3px solid #ffcc99;border-radius:5px;}
.box2{border:3px solid #ff9428;border-radius:15px;background:#f8f8f8;}
.archive_box{border:5px solid #ffcc99;border-radius:15px;margin:10px 0;box-shadow:var(--eco-shadow);}
.archive_box a{display:block;line-height:1.7;}
.archive_box .news-title{display:block;color:#c00;font-size:1.1rem;font-weight:700;margin:0 0 4px;}
.wpearch{width:min(350px,100%);text-align:left;border:1px solid #ff9428;margin-top:3px;padding:3px;background:#fff;}

/* =========================================================
   SEO・会社情報ブロック
   ========================================================= */
.seo-intro{
  background:#fbfffb;
  padding:40px 20px;
  margin:0 0 48px;
  border-radius:18px;
}
.seo-intro .popular-card p{margin:0 0 10px;line-height:1.9;font-size:15px;}
.seo-intro .popular-card a{font-weight:700;color:#2a7a2a;}
.seo-intro .popular-card a:hover{opacity:.7;}
.eco-company-section{padding:22px;border-radius:14px;background:#fafafa;border:1px solid var(--eco-line);}

.eco-product-seo-intro{
  margin:0 0 28px;
  padding:18px 20px;
  border:1px solid #dfe7df;
  border-radius:12px;
  background:#fbfffb;
  line-height:1.8;
}
.eco-product-seo-intro h1{margin:0 0 12px;font-size:24px;line-height:1.4;}
.eco-product-seo-intro p{margin:0 0 14px;}
.eco-product-seo-intro ul{margin:0;padding-left:1.2em;display:grid;gap:6px;}
.eco-product-seo-intro a{font-weight:700;}

.eco-post-thumb{
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#f7f7f7;
  border-radius:6px;
}
.eco-post-thumb img{width:100%;height:100%;object-fit:cover;display:block;}

/* =========================================================
   /product/ 商品カテゴリカード
   対象ショートコード: [eco_product_categories mode="cards"]
   ========================================================= */
#product-page{
  --card-bg:#fff;
  --card-bd:rgba(0,0,0,.08);
  --text:#111827;
  --muted:#6b7280;
  --brand:#2563eb;
  --shadow:0 8px 20px rgba(0,0,0,.08);
  --shadow-sm:0 5px 14px rgba(0,0,0,.10);
}

#product-page .category-content{margin:0 0 16px!important;}
#product-page .category-title{display:flex;align-items:center;gap:6px;margin:0 0 3px!important;padding-left:6px!important;border-left:2px solid var(--brand)!important;line-height:1.2!important;font-size:14px!important;font-weight:600;}
#product-page .category-title a{color:var(--text);text-decoration:none;}
#product-page .category-title a:hover{text-decoration:underline;}
#product-page .card-grid{display:grid;gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr));}
#product-page .product-card{background:var(--card-bg);border:1px solid var(--card-bd);border-radius:8px!important;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
#product-page .product-card a{display:block;color:inherit;text-decoration:none;}
#product-page .product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:rgba(37,99,235,.30);}
#product-page .product-card:focus-within{box-shadow:0 0 0 3px rgba(37,99,235,.25),var(--shadow-sm);border-color:rgba(37,99,235,.45);}
#product-page .product-thumb{position:relative;background:rgba(0,0,0,.03);height:95px!important;aspect-ratio:auto!important;min-height:0!important;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0!important;}
#product-page .product-thumb img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:scale(1.001);transition:transform .25s ease;}
#product-page .product-card:hover .product-thumb img{transform:scale(1.04);}
#product-page .product-info{padding:4px 7px 5px!important;font-size:14px!important;line-height:1.3!important;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:auto!important;}
#product-page .category-more{margin-top:8px;text-align:center;}
#product-page .category-more a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:2px solid #2563eb;color:#2563eb;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s ease;}
#product-page .category-more a::after{content:"→";transition:transform .2s ease;}
#product-page .category-more a:hover{background:#2563eb;color:#fff;}
#product-page .category-more a:hover::after{transform:translateX(4px);}

/* =========================================================
   カテゴリ/投稿ドロップダウン
   ========================================================= */
.category-select-form{margin:12px 0;font-size:.9em;}
.eco-cpdo-wrap{margin:10px 0 12px;}
.eco-cpdo-grid{display:grid;grid-template-columns:1fr;gap:10px;max-width:720px;}
.eco-cpdo-cat-select,.eco-cpdo-post-select{width:100%;padding:10px;border-radius:6px;}
.eco-cpdo-cat-select{border:1px solid #4CAF50;background:#f0fff4;color:#222;font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.08);}
.eco-cpdo-post-select{border:1px solid #ddd;}

/* =========================================================
   SNSフォローボタン
   ========================================================= */
.eco-follow-links{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;align-items:center;}
.eco-follow-link{display:inline-flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border-radius:9999px;text-decoration:none!important;background:#fff;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 4px 14px rgba(0,0,0,.08);transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease;border:1px solid currentColor;max-width:100%;}
.eco-follow-link:hover,.eco-follow-link:focus{text-decoration:none!important;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.12);opacity:.96;}
.eco-follow-link:focus-visible{outline:2px solid #666;outline-offset:2px;}
.eco-follow-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:13px;font-weight:800;letter-spacing:.02em;flex:0 0 36px;color:#fff;}
.eco-follow-text{display:inline-block;white-space:nowrap;}
.eco-follow-x{color:#111!important;background:#fff;}.eco-follow-x .eco-follow-icon{background:#111;}
.eco-follow-instagram{color:#c13584!important;background:#fff;border-color:#c13584;}.eco-follow-instagram .eco-follow-icon{background:linear-gradient(135deg,#f58529 0%,#dd2a7b 45%,#8134af 75%,#515bd4 100%);}
.eco-follow-facebook{color:#1877f2!important;background:#fff;border-color:#1877f2;}.eco-follow-facebook .eco-follow-icon{background:#1877f2;}
.eco-follow-line{color:#06c755!important;background:#fff;border-color:#06c755;}.eco-follow-line .eco-follow-icon{background:#06c755;font-size:10px;}
.eco-follow-pinterest{color:#e60023!important;background:#fff;border-color:#e60023;}.eco-follow-pinterest .eco-follow-icon{background:#e60023;}
.eco-follow-hatena{color:#2e7d32!important;background:#fff;border-color:#2e7d32;}.eco-follow-hatena .eco-follow-icon{background:#2e7d32;}
.eco-follow-amazon{color:#f90!important;background:#fff;border-color:#f90;}.eco-follow-amazon .eco-follow-icon{background:#f90;color:#fff;}
.entry-content .eco-follow-link::after,.widget .eco-follow-link::after,.author-box .eco-follow-link::after,.profile-box .eco-follow-link::after{display:none!important;content:none!important;}

/* =========================================================
   在庫表示・在庫お問い合わせフォーム
   ========================================================= */
.imj-stock-box{margin:16px 0 20px;padding:14px 16px;border:1px solid #ddd;border-radius:10px;background:#fff;}
.imj-stock-title{font-size:18px;font-weight:700;margin-bottom:10px;text-align:right;}
.imj-stock-list{list-style:none;margin:0;padding:0;}
.imj-stock-item{padding:12px 0;border-top:1px solid #eee;}
.imj-stock-item:first-child{border-top:none;padding-top:0;}
.imj-stock-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;}
.imj-stock-left{min-width:0;}
.imj-stock-name{font-size:15px;line-height:1.6;font-weight:700;word-break:break-word;}
.imj-stock-meta{margin-top:2px;font-size:14px;line-height:1.6;color:#555;word-break:break-word;}
.imj-stock-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:220px;}
.imj-stock-value-wrap{text-align:right;}
.imj-stock-value{font-weight:700;font-size:15px;line-height:1.5;}
.imj-stock-item.in .imj-stock-value,.imj-stock-item.low .imj-stock-value,.imj-stock-item.out .imj-stock-value,.imj-stock-item.unknown .imj-stock-value{color:#18794e;}
.imj-stock-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;width:100%;}
.imj-stock-cart-form{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin:0;}
.imj-cart-qty{padding:10px 12px;border:1px solid #cfcfcf;border-radius:8px;font-size:15px;line-height:1.4;background:#fff;min-width:68px;}
.imj-cart-btn,.imj-stock-btn{display:inline-block;padding:10px 14px;border-radius:8px;font-size:15px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;}
.imj-cart-btn{border:none;background:#2d6cdf;color:#fff;cursor:pointer;white-space:nowrap;}
.imj-cart-btn:hover{opacity:.92;}
.imj-stock-btn.out{background:#fff0f0;color:#18794e;border:1px solid #efb0b0;}

.imj-contact-page{margin:8px 0 24px;}
.imj-contact-info{margin:0 0 20px;padding:14px 16px;border:1px solid #d8d8d8;border-radius:10px;background:#fafafa;}
.imj-contact-info-title{font-size:18px;font-weight:700;margin-bottom:10px;}
.imj-contact-table th,.imj-contact-table td{padding:10px;border:1px solid var(--eco-line);text-align:left;vertical-align:top;font-size:14px;line-height:1.6;}
.imj-contact-table th{width:130px;background:#f5f5f5;}
.imj-contact-form{padding:16px;border:1px solid #ddd;border-radius:10px;background:#fff;}
.imj-form-row{margin-bottom:16px;}
.imj-form-row label{display:block;margin-bottom:6px;font-weight:700;line-height:1.5;}
.imj-form-row input[type="text"],.imj-form-row input[type="email"],.imj-form-row textarea{width:100%;max-width:100%;padding:12px 14px;border:1px solid #cfcfcf;border-radius:8px;font-size:16px;line-height:1.5;background:#fff;}
.imj-form-row textarea{min-height:180px;resize:vertical;}
.imj-form-submit button{display:inline-block;padding:12px 18px;border:none;border-radius:8px;font-size:16px;font-weight:700;line-height:1.4;cursor:pointer;background:#2d6cdf;color:#fff;}
.req{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;font-size:12px;line-height:1.2;background:#fff0f0;color:#b42318;border:1px solid #efb0b0;vertical-align:middle;}
.imj-form-message{margin:0 0 16px;padding:12px 14px;border-radius:8px;font-weight:700;line-height:1.6;}
.imj-form-message.is-success{background:#edf9f1;color:#18794e;border:1px solid #b7e1c3;}
.imj-form-message.is-error{background:#fff3f3;color:#b42318;border:1px solid #efb0b0;}

/* =========================================================
   フッターモバイルボタン
   ========================================================= */
.mobile-footer-menu-buttons .fa,.mobile-menu-buttons .fa{font-size:28px;}
.mobile-footer-menu-buttons .menu-caption,.mobile-menu-buttons .menu-caption{font-size:18px;}
.mobile-footer-menu-buttons{background:#fff;}

/* =========================================================
   アロマ説明・動画
   ========================================================= */
.aroma-box{margin:44px 0;padding:24px;line-height:1.9;background:#fffaf0;border:1px solid #eadfbd;border-radius:16px;box-shadow:var(--eco-shadow);}
.aroma-box h2,.aroma-box h3{color:#7a4b00;line-height:1.5;}
.aroma-box a{color:#063;text-decoration:underline;font-weight:700;}
.aroma-box table{margin:14px 0;background:#fff;border:1px solid #eadfbd;}
.aroma-box td,.aroma-box th{padding:8px;border:1px solid #eadfbd;}
video{margin:24px auto;border-radius:12px;background:#000;}

/* =========================================================
   AIライター画面
   ========================================================= */
.eco-ai-box,.imagine-ai-writer{background:#fff;border:1px solid #ddd;margin:20px auto;padding:20px;}
.imagine-ai-writer{max-width:900px;}
.eco-ai-box textarea,.imagine-ai-writer input,.imagine-ai-writer select,.imagine-ai-writer textarea{width:100%;box-sizing:border-box;font-size:16px;padding:10px;}
.imagine-ai-writer label{display:block;margin-top:14px;font-weight:700;}
.eco-ai-box button,.imagine-ai-writer button{margin-top:10px;padding:10px 20px;cursor:pointer;}
.imagine-ai-writer button{margin-top:20px;padding:12px 24px;}
#eco_ai_result,#imagine_ai_result{margin-top:20px;}
#eco_ai_result{white-space:pre-wrap;line-height:1.8;}

/* =========================================================
   任意固定ページ 2カラム
   ========================================================= */
.eco-page-2col{
  display:grid;
  grid-template-columns:var(--left,1fr) var(--right,1fr);
  gap:var(--gap,30px);
  align-items:start;
}
.eco-page-2col > *{min-width:0;}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media screen and (max-width:764px){.sm500{display:block!important;}.sm500xxx{display:none!important;}}
@media screen and (min-width:765px){.sm500{display:none!important;}.sm500xxx{display:block!important;}}
@media (min-width:600px){#product-page .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (min-width:1024px){#product-page .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}

@media (max-width:900px){
  .hero-inner,.notice-wrap{grid-template-columns:1fr;}
}

@media (max-width:768px){
  #main{padding-left:12px;padding-right:12px;}
  .content-in > .sidebar{display:block;}
  .sidebar .widget{margin-bottom:16px;}
  .eco-hero{padding:20px 16px;}
  .hero-copy h1{font-size:24px;}
  .trust-points,.quality-grid{grid-template-columns:1fr;}
  .search-inner{border-radius:16px;}
  .search-inner input{padding:12px 10px;}
  .search-inner button{padding:0 12px;font-size:14px;}
  .eco-page-2col{grid-template-columns:1fr;gap:20px;}
  #page-top{right:20px;bottom:70px;}
}

@media (max-width:767px){
  .eco-follow-links{gap:10px;}
  .eco-follow-link{flex:1 1 calc(50% - 10px);justify-content:flex-start;min-width:calc(50% - 10px);padding:8px 12px 8px 8px;font-size:13px;}
  .eco-follow-icon{width:34px;height:34px;flex-basis:34px;font-size:12px;}
  .eco-follow-line .eco-follow-icon{font-size:9px;}
}

@media (max-width:640px){
  #product-page .category-content{margin-bottom:14px!important;}
  #product-page .category-title{font-size:11px!important;margin-bottom:3px!important;}
  #product-page .product-thumb{height:88px!important;}
  #product-page .product-thumb img{max-width:72%!important;max-height:64px!important;}
  .eco-product-seo-intro{padding:14px;}
  .eco-product-seo-intro h1{font-size:20px;}
  .imj-stock-item{padding:14px 0;}
  .imj-stock-top{grid-template-columns:1fr;gap:10px;}
  .imj-stock-meta{font-size:13px;}
  .imj-stock-side{min-width:0;width:100%;align-items:flex-start;}
  .imj-stock-value-wrap{width:100%;text-align:left;}
  .imj-stock-actions{justify-content:flex-start;width:100%;}
  .imj-stock-cart-form{width:100%;flex-wrap:wrap;}
  .imj-cart-qty{width:78px;min-width:78px;}
  .imj-cart-btn,.imj-stock-btn{flex:1 1 100%;width:100%;box-sizing:border-box;}
  .imj-contact-table,.imj-contact-table tbody,.imj-contact-table tr,.imj-contact-table th,.imj-contact-table td{display:block;width:100%;}
  .imj-contact-table th{border-bottom:none;}
  .imj-contact-table td{border-top:none;}
}

@media (max-width:600px){
  body{font-size:15px;}
  .hero-inner{padding:18px;gap:16px;}
  .hero-copy h1{font-size:1.1rem;}
  .section-title{font-size:1.28rem;}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .popular-grid{grid-template-columns:1fr;}
  .category-media-banner{width:100px;margin:12px auto 0;}
  .category-body{padding:10px;}
  .category-body h3{margin:0 0 6px;font-size:.95rem;line-height:1.4;}
  .category-body p{margin:0 0 8px;font-size:.8rem;line-height:1.5;}
  .category-more{font-size:.8rem;}
  .hero-actions .btn{width:100%;}
  .search-inner input{padding:14px;font-size:16px;}
  .archive_box .news-title{font-size:1rem;}
  .aroma-box{padding:16px;}
}

@media (max-width:420px){
  .eco-follow-link{flex:1 1 100%;min-width:100%;}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;}
  #product-page .product-card,#product-page .product-thumb img,.eco-follow-link,.eco-entry-card,.eco-entry-thumb img{transition:none!important;}
  #product-page .product-card:hover,.eco-follow-link:hover,.eco-entry-card-link:hover .eco-entry-card{transform:none!important;}
}
/* eco-imagine Cocoon 商品一覧カード */
.eco-entry-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
  margin-bottom:14px;
}

.eco-entry-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px;
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eco-entry-card-link:hover .eco-entry-card{
  transform:translateY(-2px);
  box-shadow:0 9px 22px rgba(0,0,0,.08);
  border-color:#d8e7c8;
}

.eco-entry-thumb{
  flex:0 0 130px;
  width:130px;
  height:130px;
  overflow:hidden;
  border-radius:12px;
  background:#f7f7f7;
}

.eco-entry-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .25s ease;
}

.eco-entry-card-link:hover .eco-entry-thumb img{
  transform:scale(1.05);
}

.eco-entry-body{
  flex:1;
  min-width:0;
}

.eco-entry-cat{
  display:inline-block;
  margin:0 0 6px;
  padding:2px 9px;
  border-radius:999px;
  background:#eef5df;
  color:#557318;
  font-size:12px;
  font-weight:700;
}

.eco-entry-title{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.45;
  font-weight:700;
  color:#222;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.eco-entry-snippet{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:#555;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media screen and (max-width:600px){
  .eco-entry-card{
    gap:12px;
    padding:10px;
  }

  .eco-entry-thumb{
    flex:0 0 92px;
    width:92px;
    height:92px;
  }

  .eco-entry-title{
    font-size:14px;
  }

  .eco-entry-snippet,
  .eco-entry-cat{
    font-size:12px;
  }
}

/* =========================================================
   /product/ Cocoonカテゴリー投稿一覧 横型カード
   サムネイル120?140px / タイトル2行 / 抜粋2行
========================================================= */

body.page-id-product .entry-card-wrap,
body.post-type-archive .entry-card-wrap,
body.archive.category .entry-card-wrap {
  display: block;
  margin-bottom: 14px;
}

body.page-id-product .entry-card,
body.post-type-archive .entry-card,
body.archive.category .entry-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.page-id-product .entry-card:hover,
body.post-type-archive .entry-card:hover,
body.archive.category .entry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.09);
  border-color: #d6e4c2;
}

body.page-id-product .entry-card-thumb,
body.post-type-archive .entry-card-thumb,
body.archive.category .entry-card-thumb {
  flex: 0 0 130px;
  width: 130px;
  height: 100px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
}

body.page-id-product .entry-card-thumb img,
body.post-type-archive .entry-card-thumb img,
body.archive.category .entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

body.page-id-product .entry-card:hover .entry-card-thumb img,
body.post-type-archive .entry-card:hover .entry-card-thumb img,
body.archive.category .entry-card:hover .entry-card-thumb img {
  transform: scale(1.04);
}

body.page-id-product .entry-card-content,
body.post-type-archive .entry-card-content,
body.archive.category .entry-card-content {
  flex: 1;
  min-width: 0;
  padding: 0;
}

body.page-id-product .entry-card-title,
body.post-type-archive .entry-card-title,
body.archive.category .entry-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-id-product .entry-card-snippet,
body.post-type-archive .entry-card-snippet,
body.archive.category .entry-card-snippet {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-id-product .entry-card-meta,
body.post-type-archive .entry-card-meta,
body.archive.category .entry-card-meta,
body.page-id-product .post-date,
body.post-type-archive .post-date,
body.archive.category .post-date,
body.page-id-product .cat-label,
body.post-type-archive .cat-label,
body.archive.category .cat-label {
  font-size: 12px;
  color: #888;
}

/* スマホ */
@media screen and (max-width: 600px) {
  body.page-id-product .entry-card,
  body.post-type-archive .entry-card,
  body.archive.category .entry-card {
    gap: 10px;
    padding: 10px;
  }

  body.page-id-product .entry-card-thumb,
  body.post-type-archive .entry-card-thumb,
  body.archive.category .entry-card-thumb {
    flex-basis: 110px;
    width: 110px;
    height: 86px;
  }

  body.page-id-product .entry-card-title,
  body.post-type-archive .entry-card-title,
  body.archive.category .entry-card-title {
    font-size: 14px;
  }

  body.page-id-product .entry-card-snippet,
  body.post-type-archive .entry-card-snippet,
  body.archive.category .entry-card-snippet {
    font-size: 12px;
  }
}
/* eco-imagine Cocoon 商品一覧カード */
.eco-entry-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
  margin-bottom:14px;
}

.eco-entry-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px;
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eco-entry-card-link:hover .eco-entry-card{
  transform:translateY(-2px);
  box-shadow:0 9px 22px rgba(0,0,0,.08);
  border-color:#d8e7c8;
}

.eco-entry-thumb{
  flex:0 0 130px;
  width:130px;
  height:130px;
  overflow:hidden;
  border-radius:12px;
  background:#f7f7f7;
}

.eco-entry-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .25s ease;
}

.eco-entry-card-link:hover .eco-entry-thumb img{
  transform:scale(1.05);
}

.eco-entry-body{
  flex:1;
  min-width:0;
}

.eco-entry-cat{
  display:inline-block;
  margin:0 0 6px;
  padding:2px 9px;
  border-radius:999px;
  background:#eef5df;
  color:#557318;
  font-size:12px;
  font-weight:700;
}

.eco-entry-title{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.45;
  font-weight:700;
  color:#222;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.eco-entry-snippet{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:#555;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media screen and (max-width:600px){
  .eco-entry-card{
    gap:12px;
    padding:10px;
  }

  .eco-entry-thumb{
    flex:0 0 92px;
    width:92px;
    height:92px;
  }

  .eco-entry-title{
    font-size:14px;
  }

  .eco-entry-snippet,
  .eco-entry-cat{
    font-size:12px;
  }
}

/* =========================================================
   トップページ E-E-A-T・情報確認方針（完成版追加）
   ========================================================= */
.eco-eeat-section,
.imagine-top-strength,
.imagine-top-users,
.imagine-top-oem,
.imagine-company,
.eco-faq,
.imagine-top-summary,
.eco-info-policy{
  margin:0 0 48px;
  padding:28px;
  border:1px solid var(--eco-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--eco-shadow);
}

.eco-eeat-section p,
.imagine-top-oem p,
.imagine-top-summary p,
.eco-info-policy p{
  max-width:960px;
  margin:0 auto 14px;
  line-height:1.9;
}

.imagine-top-strength,
.imagine-top-users{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.imagine-top-strength > h2,
.imagine-top-users > h2{
  grid-column:1/-1;
  margin:0 0 6px;
  text-align:center;
}

.imagine-strength-box,
.imagine-user-box{
  padding:20px;
  border:1px solid #e2e9dc;
  border-radius:14px;
  background:#fbfff8;
}

.imagine-strength-box h3,
.imagine-user-box h3,
.eco-policy-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.imagine-strength-box p,
.imagine-user-box p{
  margin:0;
  color:var(--eco-muted);
  line-height:1.8;
}

.eco-policy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:0 0 18px;
}

.eco-policy-card{
  padding:20px;
  border-left:4px solid var(--eco-accent);
  border-radius:10px;
  background:var(--eco-accent-soft);
}

.eco-policy-card p{margin:0;color:#444;}
.eco-policy-note{text-align:center;color:var(--eco-muted);}

.imagine-company table{margin-top:18px;}
.imagine-company th,
.imagine-company td{padding:12px 14px;border:1px solid var(--eco-line);}
.imagine-company th{width:30%;background:var(--eco-soft);text-align:left;}

.eco-faq .faq-item{padding:18px 0;border-top:1px solid var(--eco-line);}
.eco-faq .faq-item:first-of-type{border-top:0;}
.eco-faq .faq-item h3{margin:0 0 8px;font-size:18px;}
.eco-faq .faq-item p{margin:0;line-height:1.8;}

@media (max-width:768px){
  .eco-eeat-section,
  .imagine-top-strength,
  .imagine-top-users,
  .imagine-top-oem,
  .imagine-company,
  .eco-faq,
  .imagine-top-summary,
  .eco-info-policy{padding:20px 16px;}
  .imagine-top-strength,
  .imagine-top-users,
  .eco-policy-grid{grid-template-columns:1fr;}
  .imagine-company table,
  .imagine-company tbody,
  .imagine-company tr,
  .imagine-company th,
  .imagine-company td{display:block;width:100%;}
  .imagine-company th{border-bottom:0;}
}
