/* Cymbidium (Shinbi Supple) - faithful theme overrides
   Place: html/user_data/assets/css/customize.css   (ASCII only) */

:root{
  --sbs-green:   #8ec320;
  --sbs-green-d: #6f9c16;
  --sbs-green-l: #f3f8e8;
  --sbs-price:   #c0392b;
  --sbs-orange:  #f08300;
  --sbs-orange-d:#d97500;
  --sbs-text:    #333333;
  --sbs-line:    #e3e3e3;
}

/* base typography */
body,
.ec-layoutRole{
  font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;
  color:var(--sbs-text);
}
a{ color:var(--sbs-green-d); }
a:hover{ color:var(--sbs-green); }

/* ============ FAITHFUL HEADER (top row) ============ */
.sbs-seobar{ max-width:1000px; margin:0 auto; color:#333; font-size:10px;
  text-align:left; padding:6px 16px 0; line-height:1.5; }
.sbs-headerRole{ background:#fff; }
.sbs-header{ max-width:1000px; margin:0 auto; display:flex; align-items:center;
  gap:16px; padding:12px 16px; flex-wrap:wrap; }
.sbs-header__logo img{ height:50px; width:auto; display:block; }
.sbs-header__free{ font-size:13px; line-height:1.3; margin:0; }
.sbs-header__free strong{ color:var(--sbs-green); font-size:17px; }
.sbs-header__tel{ margin-left:auto; line-height:0; }
.sbs-header__tel img{ height:50px; width:auto; }
.sbs-header__btns{ display:flex; flex-direction:column; gap:6px; }
.sbs-header__btns img{ height:30px; width:auto; display:block; }

/* ============ FAITHFUL GLOBAL NAV (画像ボタン) ============ */
.sbs-gnav{ background:var(--sbs-green); }
.sbs-gnav__list{ max-width:1000px; margin:0 auto; display:flex;
  justify-content:center; list-style:none; padding:0; }
.sbs-gnav__list li{ line-height:0; }
.sbs-gnav__list a{ display:block; }
.sbs-gnav__list img{ height:55px; width:auto; display:block; }
.sbs-gnav__list a:hover{ opacity:.85; }

/* hide EC-CUBE demo category nav (gelato etc.) */
.ec-itemNav,
.ec-categoryNaviRole{ display:none; }

/* hide EC-CUBE demo layout blocks on the top page (gelato eyecatch / new item / topic / category / news) */
.front_page .ec-sliderRole,
.front_page .ec-eyecatchRole,
.front_page .ec-topicRole,
.front_page .ec-newItemRole,
.front_page .ec-categoryRole,
.front_page .ec-newsRole{ display:none; }

/* ============ FAITHFUL LEFT SIDEBAR (sub pages) ============ */
.ec-layoutRole__left.sbs-side{ padding:0 10px; }

.sbs-side__inner{ font-size:13px; }
.sbs-side__search{ display:flex; margin:0 0 16px; border:1px solid var(--sbs-line);
  border-radius:3px; overflow:hidden; }
.sbs-side__search input{ flex:1; border:0; padding:8px 10px; min-width:0; }
.sbs-side__search input:focus{ outline:none; }
.sbs-side__search button{ background:var(--sbs-green); color:#fff; border:0;
  padding:0 14px; cursor:pointer; }
.sbs-side__menu a{ display:block; margin-bottom:8px; line-height:0; }
.sbs-side__menu img{ width:100%; height:auto; }
.sbs-side__ttl{ background:var(--sbs-green); color:#fff; font-weight:bold;
  padding:9px 12px; margin:16px 0 0; font-size:14px; }
.sbs-side__lineup ul{ list-style:none; padding:0; margin:0 0 16px;
  border:1px solid var(--sbs-green-l); border-top:0; }
.sbs-side__lineup li{ border-bottom:1px solid var(--sbs-green-l); }
.sbs-side__lineup li:last-child{ border-bottom:0; }
.sbs-side__lineup a{ display:block; padding:10px 12px; color:var(--sbs-text);
  text-decoration:none; }
.sbs-side__lineup a:hover{ background:var(--sbs-green-l); color:var(--sbs-green-d); }
.sbs-side__bnrs a{ display:block; margin-bottom:8px; line-height:0; }
.sbs-side__bnrs img{ width:100%; height:auto; }

/* sidebar 商品ラインナップ (サムネ付き) */
.sbs-side__items{ list-style:none; padding:0; margin:0 0 16px;
  border:1px solid var(--sbs-green-l); border-top:0; }
.sbs-side__items li{ border-bottom:1px solid var(--sbs-green-l); }
.sbs-side__items li:last-child{ border-bottom:0; }
.sbs-side__items a{ display:flex; gap:9px; align-items:center; padding:9px 10px;
  text-decoration:none; color:var(--sbs-text); }
.sbs-side__items a:hover{ background:var(--sbs-green-l); }
.sbs-side__items img{ width:46px; height:46px; object-fit:contain; flex:0 0 46px;
  background:#fff; border:1px solid var(--sbs-line); }
.sbs-side__items span{ font-size:11.5px; line-height:1.4; }
.sbs-side__items b{ display:block; color:var(--sbs-green-d); font-size:12.5px;
  margin-bottom:2px; }

/* ============ INFO PAGES (会社案内・特商法・プライバシー等) ============ */
.sbs-page{ max-width:900px; margin:0 auto; }
.sbs-page__ttl{ color:var(--sbs-green-d); font-size:24px; font-weight:bold;
  border-bottom:3px solid var(--sbs-green); padding-bottom:10px; margin:0 0 24px; }
.sbs-info{ width:100%; border-collapse:collapse; margin-bottom:24px; }
.sbs-info th,.sbs-info td{ border:1px solid var(--sbs-line); padding:12px 14px;
  text-align:left; vertical-align:top; line-height:1.8; }
.sbs-info th{ background:var(--sbs-green-l); width:26%; white-space:nowrap;
  color:var(--sbs-green-d); font-weight:bold; }
.sbs-page p{ line-height:1.9; margin:0 0 16px; }
.sbs-page__sign{ text-align:right; margin:20px 0 8px; }
.sbs-page__ttl--2{ margin-top:48px; }
.sbs-page__h2{ color:var(--sbs-green-d); font-weight:bold; font-size:19px;
  background:var(--sbs-green-l); border-left:6px solid var(--sbs-green);
  padding:10px 14px; margin:36px 0 16px; }
.sbs-page__h3{ color:var(--sbs-text); font-weight:bold; font-size:15px;
  border-bottom:1px dashed var(--sbs-green); padding-bottom:5px; margin:22px 0 10px; }
.sbs-guidenav{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; }
.sbs-guidenav a{ background:var(--sbs-green); color:#fff; text-decoration:none;
  font-size:13px; font-weight:bold; padding:8px 14px; border-radius:2px; }
.sbs-guidenav a:hover{ background:var(--sbs-green-d); color:#fff; }
.sbs-faq{ list-style:none; padding:0; margin:0 0 8px; }
.sbs-faq li{ position:relative; padding:9px 12px 9px 34px; border-bottom:1px solid var(--sbs-line); line-height:1.6; }
.sbs-faq li:before{ content:"Q"; position:absolute; left:10px; top:9px;
  color:var(--sbs-green); font-weight:bold; }
.sbs-faq__note{ font-size:13px; color:#666; margin-top:16px; }

/* ============ PRODUCT LANDING (/item/*.html) ============ */
.sbs-lp{ max-width:760px; margin:0 auto; }
.sbs-lp__h1{ font-size:20px; font-weight:bold; color:var(--sbs-green-d);
  line-height:1.6; border-bottom:3px solid var(--sbs-green); padding-bottom:12px;
  margin:0 0 20px; }
.sbs-lp__stack{ text-align:center; }
.sbs-lp__stack img{ max-width:100%; height:auto; display:block; margin:0 auto; }
.sbs-lp__cta{ display:flex; flex-direction:column; align-items:center; gap:12px;
  margin:28px 0; }
.sbs-lp__btn{ display:block; width:100%; max-width:420px; box-sizing:border-box;
  background:var(--sbs-orange); color:#fff; text-decoration:none; font-weight:bold;
  font-size:17px; text-align:center; padding:16px 20px; border-radius:6px;
  box-shadow:0 3px 0 var(--sbs-orange-d); }
.sbs-lp__btn:hover{ background:var(--sbs-orange-d); color:#fff; transform:translateY(1px);
  box-shadow:0 2px 0 var(--sbs-orange-d); }
.sbs-lp__btn--main{ font-size:19px; padding:18px 20px; }
.sbs-lp__btn--sub{ background:var(--sbs-green); box-shadow:0 3px 0 var(--sbs-green-d);
  font-size:15px; }
.sbs-lp__btn--sub:hover{ background:var(--sbs-green-d); box-shadow:0 2px 0 var(--sbs-green-d); }

/* ============ 成分からさがす (/seibun) ============ */
.sbs-seibun{ list-style:none; padding:0; margin:20px 0 0;
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.sbs-seibun a{ display:block; border:1px solid var(--sbs-line); border-left:5px solid var(--sbs-green);
  border-radius:3px; padding:14px 16px; text-decoration:none; background:#fff; height:100%; box-sizing:border-box; }
.sbs-seibun a:hover{ background:var(--sbs-green-l); }
.sbs-seibun__name{ display:block; color:var(--sbs-green-d); font-weight:bold; font-size:15px; line-height:1.5; }
.sbs-seibun__ing{ display:block; color:#666; font-size:12.5px; margin-top:5px; }

/* ============ 年代別おすすめ (/byage) ============ */
.sbs-byage__lead{ background:var(--sbs-green-l); border-radius:6px; padding:18px 20px; margin:0 0 24px; }
.sbs-byage__catch{ font-weight:bold; color:var(--sbs-green-d); font-size:16px; margin:0 0 10px; }
.sbs-byage__author{ font-weight:bold; margin:12px 0 0; }
.sbs-byage__author small{ display:block; font-weight:normal; color:#555; font-size:12px; margin-top:4px; line-height:1.7; }
.sbs-reco{ list-style:none; padding:0; margin:0 0 8px; }
.sbs-reco li{ padding:11px 14px; border-bottom:1px solid var(--sbs-line); line-height:1.6; }
.sbs-reco a{ font-weight:bold; color:var(--sbs-green-d); text-decoration:none; margin-right:10px; }
.sbs-reco a:hover{ color:var(--sbs-green); text-decoration:underline; }
.sbs-reco span{ color:#555; font-size:13px; }
.sbs-byage__foot{ text-align:center; font-weight:bold; color:var(--sbs-green-d); font-size:17px; margin:28px 0 8px; }
.sbs-byage__note{ color:#777; }
@media(max-width:768px){ .sbs-seibun{ grid-template-columns:1fr; } }

/* ============ キャンペーン (/campaign) ============ */
.sbs-campaign{ margin:20px 0; }
.sbs-campaign__item{ display:block; }
.sbs-campaign__item img{ width:100%; height:auto; border-radius:6px; }
.sbs-campaign__note{ font-size:13px; color:#666; }
.sbs-page h2{ color:var(--sbs-green-d); font-weight:bold; font-size:18px;
  border-left:5px solid var(--sbs-green); padding-left:10px; margin:28px 0 12px; }
@media(max-width:768px){
  .sbs-info th,.sbs-info td{ display:block; width:auto; }
  .sbs-info th{ border-bottom:0; }
}

/* ============ FAITHFUL FOOTER ============ */
.sbs-footer{ border-top:4px solid var(--sbs-green); background:#f7f7f4; margin-top:40px; }
.sbs-footer__inner{ max-width:1000px; margin:0 auto; display:flex; gap:32px;
  padding:28px 16px; flex-wrap:wrap; }
.sbs-footer__col{ flex:1 1 220px; }
.sbs-footer__col h4{ color:var(--sbs-green-d); font-weight:bold;
  border-bottom:2px solid var(--sbs-green); padding-bottom:6px; margin-bottom:10px; }
.sbs-footer__col ul{ list-style:none; padding:0; margin:0; }
.sbs-footer__col li{ padding:4px 0; }
.sbs-footer__col a{ color:var(--sbs-text); text-decoration:none; }
.sbs-footer__col a:hover{ color:var(--sbs-green); }
.sbs-footer__contact .num{ color:var(--sbs-price); font-size:22px; font-weight:bold;
  margin:0 0 4px; }
.sbs-copyright{ text-align:center; background:var(--sbs-green-d); color:#fff;
  font-size:12px; padding:10px; margin:0; }

/* ============ SECTION HEADINGS / BUTTONS / PRICE (all pages) ============ */
.ec-secHeading__en{ display:none; }
.ec-secHeading{ color:var(--sbs-green-d); border-bottom:3px solid var(--sbs-green);
  padding-bottom:8px; margin-bottom:24px; }
.ec-secHeading__ja{ font-weight:bold; letter-spacing:.02em; }

.ec-blockBtn--action,
.ec-inlineBtn--action{ background-color:var(--sbs-orange);
  border-color:var(--sbs-orange); color:#fff; }
.ec-blockBtn--action:hover,
.ec-inlineBtn--action:hover{ background-color:var(--sbs-orange-d);
  border-color:var(--sbs-orange-d); color:#fff; }

.ec-price__price,
.ec-productRole__price .ec-price__price,
.ec-productRole .ec-price .ec-price__price{ color:var(--sbs-price); font-weight:bold; }

.ec-topicpath .ec-topicpath__item a{ color:var(--sbs-green-d); }
.ec-input input:focus,
.ec-select select:focus,
.ec-numberInput input:focus,
.ec-halfInput input:focus{ border-color:var(--sbs-green);
  box-shadow:0 0 4px rgba(142,195,32,.4); }

/* ============ RESPONSIVE ============ */
@media (max-width:768px){
  .sbs-header{ gap:10px; justify-content:center; }
  .sbs-header__free{ order:3; }
  .sbs-header__tel{ margin-left:0; order:4; width:100%; text-align:center; }
  .sbs-header__btns{ flex-direction:row; order:5; width:100%; justify-content:center; }
  .sbs-gnav__list{ flex-direction:column; }
  .sbs-gnav__list li{ border-left:0; border-top:1px solid rgba(255,255,255,.4); }
  .sbs-footer__inner{ display:block; }
  .ec-layoutRole__left.sbs-side{ padding:0 16px; margin-bottom:24px; }
}


/* ============ LAYOUT: 現行サイトと同じ骨格（960px = 左220 + 右710） ============ */
.ec-layoutRole__header, .ec-layoutRole__footer{ padding:0; margin:0; background:none; }
.sbs-contents{ background:url(/html/user_data/sbs/common/img/contents_bg.jpg) repeat-x center top;
  padding:30px 0 0; }
@media (min-width:980px){
  .ec-layoutRole .ec-layoutRole__contents{ width:960px; max-width:960px; margin:0 auto;
    display:flex; justify-content:space-between; align-items:flex-start; }
  .ec-layoutRole .ec-layoutRole__left.sbs-side{ display:block; width:220px !important; flex:0 0 220px;
    padding:0 !important; margin:0; }
  .ec-layoutRole .ec-layoutRole__mainWithColumn{ width:710px !important; flex:0 0 710px;
    padding:0 !important; margin:0; }
}
@media (max-width:979px){
  .sbs-contents{ padding:16px 12px 30px; }
  .ec-layoutRole .ec-layoutRole__left.sbs-side{ padding:0 !important; }
}

/* EC-CUBE標準のページトップボタンは非表示（現行の緑矢印ボタンを sbs_real.js で表示） */
.ec-blockTopBtn{ display:none !important; }

/* ---- 下層ページ：お問い合わせ／ガイド帯は2カラムの下・中央960px（現行と同じ） ---- */
.sbs-pagebtm-below{ width:960px; max-width:100%; margin:0 auto; clear:both; padding-bottom:50px; }
/* 現行 #maincolumn の float は EC-CUBE 側の器の中では不要 */
.sbs-real #maincolumn.sbs-maincolumn{ float:none; }
/* ---- 1カラムの現行ページ（/byage 等） ---- */
@media (min-width:980px){
  .sbs-layout-wide .ec-layoutRole .ec-layoutRole__contents{ width:auto; max-width:none; display:block; }
  .sbs-layout-wide .ec-layoutRole .ec-layoutRole__mainWithColumn{ width:100% !important; flex:none; }
}
.sbs-layout-wide .sbs-contents{ background:none; padding-top:0; }

/* ---- 現行ページ内のフォーム部品はブラウザ既定の見た目に戻す（EC-CUBE の line-height:inherit 等を打ち消し） ---- */
.sbs-real #contents_wrap :is(input, select, textarea, button){ font:revert; line-height:normal; letter-spacing:normal; }
.sbs-real #contents_wrap textarea{ font-family:monospace; }

/* ---- トップ「お知らせ」：EC-CUBE 新着情報（管理画面 > コンテンツ管理 > 新着情報）を表示 ---- */
/* トップ：商品ラインナップ・お知らせ周りを左揃え（2026-11-06） */
.sbs-real #kenkou_journal { text-align: left; }
.sbs-real .sbs-news { margin: 10px 0 30px; padding: 6px 16px; border: 1px solid #e3e3e3; background: #fff; text-align: left; }
.sbs-real .sbs-news ul { margin: 0; padding: 0; list-style: none; }
.sbs-real .sbs-news li { padding: 12px 0; border-bottom: 1px dotted #ccc; line-height: 1.7; font-size: 13px; }
.sbs-real .sbs-news li:last-child { border-bottom: 0; }
.sbs-real .sbs-news__date { display: inline-block; min-width: 7em; margin-right: 10px; color: #8ec21f; font-weight: bold; }
.sbs-real .sbs-news__title { font-weight: bold; }
.sbs-real .sbs-news__desc { margin-top: 4px; color: #555; }
.sbs-real .sbs-news__none { color: #777; text-align: center; }

/* ---- ご利用ガイド：送料の表（画像から文字に置き換え。5,000円（税抜）基準） ---- */
.sbs-real .sbs-carriage { display: flex; align-items: stretch; margin-bottom: 8px; border: 2px solid #f6c5d2; border-radius: 4px; background: #fff; }
.sbs-real .sbs-carriage__cond { flex: 1; padding: 14px 16px; font-size: 14px; color: #333; }
.sbs-real .sbs-carriage__cond b { font-size: 20px; margin: 0 2px; }
.sbs-real .sbs-carriage__fee { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 150px; padding: 8px 12px;
  background: #8ec21f; color: #fff; font-size: 18px; font-weight: bold; }
.sbs-real .sbs-carriage__fee small { font-size: 11px; font-weight: normal; }
.sbs-real .sbs-carriage__fee.is-free { background: #fc587d; font-size: 22px; letter-spacing: .1em; }
@media (max-width: 600px) {
  .sbs-real .sbs-carriage { flex-direction: column; }
  .sbs-real .sbs-carriage__fee { min-width: 0; }
}
.sbs-real .sbs-news__item summary { cursor: pointer; list-style: none; }
.sbs-real .sbs-news__item summary::-webkit-details-marker { display: none; }
.sbs-real .sbs-news__item summary .sbs-news__title { color: #6f9c16; text-decoration: underline; }
.sbs-real .sbs-news__item summary .sbs-news__title::after { content: " ＋"; font-size: 11px; text-decoration: none; display: inline-block; margin-left: 4px; }
.sbs-real .sbs-news__item[open] summary .sbs-news__title::after { content: " －"; }
.sbs-real .sbs-news__item .sbs-news__desc { margin: 8px 0 4px; padding: 10px 12px; background: #f6f6f6; border-radius: 4px; }
.sbs-real a.sbs-news__title { color: #6f9c16; }
