/* ===================================================================
   EC-Cube カスタムCSS - 完全版（最適化済み）
   最終更新：2026-02-20
   =================================================================== */

/* ===================================================================
   CSS変数
   =================================================================== */

:root {
  --fixedH: 72px;
}

@media (min-width: 769px) {
  :root {
    --fixedH: 0px;
  }
}

/* ===================================================================
   1. 基本設定
   =================================================================== */

body {
  color: #171717;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
p,
.ec-headingTitle,
.ec-headingSubTitle,
.ec-productRole__title,
.ec-productRole__description,
.ec-cartRole,
.ec-orderRole,
.ec-topicpath,
.ec-price {
  color: #171717;
}

a,
.ec-link,
.ec-link a {
  color: #0048bd !important;
}

ol li::marker {
  font-weight: bold;
}

input,
select,
textarea {
  border-color: #959595 !important;
}

input[type="checkbox"] {
  border: 1px solid #959595 !important;
  outline-color: #959595 !important;
  accent-color: #959595;
}

.ec-headingTitle {
  font-weight: 700;
  font-size: 30px;
}

/* ===================================================================
   2. ヘッダー（スリムヘッダー）
   =================================================================== */

.slim_header {
  max-width: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 15px 30px;
  z-index: 999;
  border-top: 3px solid #ea0000;
}

.slim_header .ec-headerTitle a,
.slim_header .ec-headerNav .ec-headerNav__itemLink,
.slim_header .ec-headerNav .ec-headerNav__item .ec-headerNav__itemIcon,
.slim_header .ec-cartNavi,
.slim_header .ec-categoryNaviRole__title,
.slim_header .ec-categoryNaviRole {
  color: #000;
}

.slim_header .ec-headerTitle {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 0 30px;
}

.slim_header .ec-headerNaviRole {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0 0 0 auto;
}

.slim_header .ec-headerNav {
  margin-right: 0;
  display: none;
}

.slim_header .ec-headerNav .ec-headerNav__item {
  font-size: 14px;
}

.slim_header .ec-headerNav .ec-headerNav__itemIcon {
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  font-size: 18px;
}

.slim_header .ec-cartNavi {
  padding: 3px 0 0 10px;
}

.slim_header .ec-headerNavSP {
  top: 8px;
}

.slim_header .ec-categoryNaviRole {
  display: none;
}

/* ===================================================================
   3. メインコンテンツ
   =================================================================== */

.ec-layoutRole__mainBottom {
  padding-bottom: 70px;
}

.ec-layoutRole .ec-layoutRole__contents {
  max-width: none;
}

.ec-sliderRole {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ===================================================================
   4. ボタンデザイン
   =================================================================== */

.ec-blockBtn--action {
  background-color: #ef4b18;
  border-color: #ef4b18;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ec-blockBtn--cancel {
  background-color: #ffca85;
  border-color: #ffca85;
  color: #333;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

a.ec-blockBtn--cancel {
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
}

button.ec-blockBtn--cancel:not([id="favorite"]) {
  background-color: #fe383c;
  border-color: #fe383c;
  color: #fff;
}

button.ec-blockBtn--cancel[id="favorite"] {
  background-color: #ffca85;
  border-color: #ffca85;
  color: #333;
}

.ec-cartNavi--cancel {
  border-radius: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

button.ec-blockBtn--cancel[name="mode"][value="back"] {
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

a.ec-blockBtn--cancel[href="https://test3.washita.info/"] {
  background-color: #fe383c;
  border-color: #fe383c;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ec-modal-box .ec-role .ec-inlineBtn--cancel {
  background-color: #ef4b18 !important;
  color: #ffffff !important;
  border: 1px solid #ef4b18 !important;
  border-radius: 5px !important;
}

.ec-modal-box .ec-role .ec-inlineBtn--cancel:hover {
  background-color: #d43e14 !important;
}

.ec-modal-box .ec-role .ec-inlineBtn--action {
  background-color: #ffca85 !important;
  border: 1px solid #ffca85 !important;
  color: #1f1f1f !important;
  border-radius: 5px !important;
}

.ec-modal-box .ec-role .ec-inlineBtn--action:hover {
  background-color: #ffb85c !important;
  border: 1px solid #ffb85c !important;
  color: #1f1f1f !important;
}

#ec-modal-header {
  color: #020202 !important;
  font-weight: bold;
}

.ec-cartNaviIsset__action .ec-blockBtn--action {
  color: #ffffff !important;
}

.ec-cartNaviIsset__action .ec-cartNavi--cancel {
  color: #020202 !important;
}

.ec-cartRole__actions .ec-blockBtn--action {
  color: #ffffff !important;
}

.ec-cartRole__actions .ec-blockBtn--cancel {
  color: #020202 !important;
}

/* マウスホバーでボタンを動かす*/
.ec-blockBtn--cancel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.20), 0 4px 8px rgba(0,0,0,0.12) !important;
}

/* ===================================================================
   5. マイページ
   =================================================================== */

.ec-welcomeMsg p,
.ec-mypageRole .ec-para-normal,
.ec-favoriteRole__header {
  color: #020202 !important;
  font-weight: bold !important;
}

/* ===================================================================
   6. ページトップへボタン
   =================================================================== */

.ec-blockTopBtn.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  background: #ef4b18;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.ec-blockTopBtn.pagetop::before {
  content: "";
  width: 22px;
  height: 28px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='white' d='M32 6 L58 32 H42 V58 H22 V32 H6 Z'/></svg>");
}

.ec-blockTopBtn.pagetop:hover {
  background: #555;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.3);
}

/* ===================================================================
   7. フッター ガイドセクション（#footer-guide）
   =================================================================== */

#footer-guide {
  background-color: #ffffff !important;
  padding: 50px 0 35px 0 !important;
  border-top: 1px solid #e0e0e0 !important;
  margin: 0 !important;
}

.footer-guide-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

.footer-guide-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 50px !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
}

.footer-guide-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  min-width: 0 !important;
}

#footer-guide .accordion-item,
#footer-guide .sub-accordion-item {
  border-left: 3px solid #dc143c !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

#footer-guide .accordion-item {
  margin-bottom: 15px !important;
}

#footer-guide .accordion-header,
#footer-guide .sub-accordion-header {
  padding: 16px 20px !important;
  cursor: pointer !important;
  user-select: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: background-color 0.2s ease !important;
  position: relative !important;
  background-color: #fafafa !important;
}

#footer-guide .accordion-header:hover,
#footer-guide .sub-accordion-header:hover {
  background-color: #f5f5f5 !important;
}

#footer-guide .ec-shelfGuide__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #dc143c !important;
  margin: 0 !important;
  flex: 1 !important;
  line-height: 1.5 !important;
}

#footer-guide .ec-shelfGuide__titleSub {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ff8c00 !important;
  margin: 0 !important;
  flex: 1 !important;
  line-height: 1.5 !important;
}

#footer-guide .accordion-icon,
#footer-guide .sub-accordion-icon {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #999999 !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
  margin-left: 10px !important;
}

#footer-guide .accordion-content,
#footer-guide .sub-accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease, padding 0.4s ease !important;
  padding: 0 0 0 20px !important;
  background-color: #ffffff !important;
}

#footer-guide .accordion-item.active .accordion-content {
  max-height: 2000px !important;
  padding: 15px 20px !important;
}

#footer-guide .sub-accordion-item.active .sub-accordion-content {
  max-height: 500px !important;
  padding: 12px 20px !important;
}

#footer-guide .accordion-content p,
#footer-guide .sub-accordion-content p {
  font-size: 15px !important;
  color: #333333 !important;
  line-height: 1.9 !important;
  margin-bottom: 15px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#footer-guide .accordion-content p:last-child,
#footer-guide .sub-accordion-content p:last-child {
  margin-bottom: 0 !important;
}

#footer-guide .accordion-content ol {
  font-size: 15px !important;
  color: #333333 !important;
  line-height: 1.9 !important;
  padding-left: 25px !important;
  margin: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#footer-guide .accordion-content ol li {
  margin-bottom: 15px !important;
}

#footer-guide .accordion-content ol li:last-child {
  margin-bottom: 0 !important;
}

#footer-guide .sub-accordion-item {
  margin-bottom: 8px !important;
  border-left: 3px solid #ff8c00 !important;
}

#footer-guide .sub-accordion-item:last-child {
  margin-bottom: 0 !important;
}

#footer-guide .ec-blockBtn--white {
  display: inline-block !important;
  padding: 10px 20px !important;
  background-color: #ffffff !important;
  border: 2px solid #dc143c !important;
  color: #dc143c !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  margin-top: 10px !important;
}

#footer-guide .ec-blockBtn--white:hover {
  background-color: #dc143c !important;
  color: #ffffff !important;
}

/* ===================================================================
   8. フッター メインセクション（.corp-footer）
   =================================================================== */

.corp-footer {
  background: #f3f3f3;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 24px 12px calc(24px + var(--fixedH));
  text-align: center;
}

.corp-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ナビメニュー */
.corp-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

/* リンク色（全状態で黒固定） */
.corp-footer .corp-footer__menu a,
.corp-footer .corp-footer__menu a:link,
.corp-footer .corp-footer__menu a:visited,
.corp-footer .corp-footer__menu a:hover,
.corp-footer .corp-footer__menu a:focus,
.corp-footer .corp-footer__menu a:active {
  color: #030303 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* アイコン付きリンク（PC：inline-block + padding） */
.corp-footer .corp-footer__menu a {
  display: inline-block;
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* FontAwesome chevron-circle-right */
.corp-footer .corp-footer__menu a::before {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  color: #030303 !important;
}

/* ロゴ＋著作権 */
.corp-footer__copy {
  text-align: center;
  margin-top: 16px;
  color: #232323;
  font-size: 12px;
}

.corp-footer__logo {
  display: block;
  margin: 0 auto 8px;
  width: 50px;
  height: auto;
}

/* コピーライトバー */
.ec-footerCopyright {
  background-color: #ea0000;
  padding: 0 20px;
  text-align: center;
  font-size: 11px;
  color: #ffffff;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   9. 電話受付ページ（/tel/）
   =================================================================== */

.tel-page {
  padding: 24px 16px 40px;
  background: #f5f5f5;
}

.tel-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 24px 20px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
}

.tel-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #171717;
}

.tel-hours {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  color: #333;
}

.tel-hours span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.tel-call-btn {
  display: block;
  width: 100%;
  padding: 16px 12px;
  margin: 0 auto 14px;
  background: #e60012;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.tel-call-btn:active {
  opacity: 0.85;
}

.tel-note {
  font-size: 12px;
  color: #777;
}

/* ===================================================================
   10. PC表示（769px以上）
   =================================================================== */

@media (min-width: 769px) {

  .front_page .slim_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.4s;
  }

  .slim_header a:hover {
    text-decoration: none;
    opacity: 0.8;
  }

  .slim_header .ec-headerTitle {
    margin: 0;
  }

  .slim_header .ec-headerNav {
    display: block;
    margin-right: 20px;
  }

  .slim_header .ec-headerNav .ec-headerNav__item {
    margin: 0 10px;
  }

  .slim_header .ec-headerNav .ec-headerNav__item .ec-headerNav__itemIcon {
    display: none;
  }

  .slim_header .ec-headerNav .ec-headerNav__item a {
    font-size: 14px;
    font-weight: bold;
  }

  .slim_header .ec-cartNavi {
    padding: 12px 17px 10px;
    color: #000;
  }

  .slim_header .ec-categoryNaviRole {
    display: block;
    position: relative;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-right: 18px;
    transform: translateY(1px);
    max-width: none;
    width: auto;
  }

  .slim_header .ec-categoryNaviRole__title {
    cursor: pointer;
  }

  .slim_header .ec-categoryNaviRole__item {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    padding-top: 80px;
  }

  .slim_header .ec-categoryNaviRole:hover .ec-categoryNaviRole__item {
    display: block;
  }

  .slim_header .ec-categoryNaviRole ul {
    margin: 0;
    padding: 0;
  }

  .slim_header .ec-categoryNaviRole ul ul {
    position: absolute;
    top: 0;
    left: 180px;
  }

  .slim_header .ec-categoryNaviRole ul ul li {
    display: none;
  }

  .slim_header .ec-categoryNaviRole li:hover > ul > li {
    display: block;
  }

  .slim_header .ec-categoryNaviRole li {
    list-style: none;
    position: relative;
    box-sizing: border-box;
  }

  .slim_header .ec-categoryNaviRole li a {
    display: block;
    padding: 15px;
    width: 180px;
    color: #000;
    background: rgba(255,255,255,0.8);
  }

  .slim_header .ec-categoryNaviRole li a:hover {
    background: rgba(250,250,250,0.8);
  }

  .slim_header .ec-categoryNaviRole li ul:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #000;
    position: absolute;
    top: 18px;
    left: -20px;
  }

  .ec-layoutRole .ec-layoutRole__contents {
    padding-top: 80px;
  }

  /* ヘッダー検索窓 */
  .slim_header .ec-headerSearch {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .slim_header .ec-headerSearch__input {
    width: 100%;
    min-width: 320px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 999px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
  }

  .slim_header .ec-headerSearch__input:focus {
    border-color: rgba(0,0,0,0.35);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  }

  .slim_header .ec-headerSearch__btn {
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: #ef4b18;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
    transition: filter .15s ease, transform .05s ease;
  }

  .slim_header .ec-headerSearch__btn:hover {
    filter: brightness(1.10);
  }

  .slim_header .ec-headerSearch__btn:active {
    transform: translateY(1px);
  }

  .slim_header .ec-headerSearch__input::placeholder {
    color: #787878 !important;
    opacity: 1 !important;
    font-size: 18px;
  }

  /* ページ見出し上の余白 */
  .ec-layoutRole__main {
    margin-top: -80px !important;
  }

  /* H1サイズ */
  .ec-pageHeader h1 {
    font-size: 24px !important;
  }

}

/* ===================================================================
   11. タブレット（769px〜992px）
   =================================================================== */

@media screen and (min-width: 769px) and (max-width: 992px) {

  .footer-guide-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  .footer-guide-column:last-child {
    grid-column: 1 / -1 !important;
  }

}

/* ===================================================================
   12. スマホ表示（768px以下）
   =================================================================== */

@media (max-width: 768px) {

  body {
    padding-top: 60px;
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  /* ヘッダー */
  .slim_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    justify-content: center;
  }

  .slim_header .ec-headerTitle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
  }

  .slim_header .ec-headerTitle > a > img {
    height: 42px;
    width: auto;
  }

  .slim_header .ec-headerRole__navSP {
    position: absolute;
    left: 2px;
    top: 1px;
    padding: 6px 8px;
    z-index: 10000;
  }

  .slim_header .ec-headerNavSP {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: transparent;
    padding: 0;
  }

  .slim_header .ec-headerNavSP::after {
    content: "商品を探す";
    display: block;
    margin-top: -2px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    white-space: nowrap;
  }

  .slim_header .ec-headerRole__navSP i,
  .slim_header .ec-headerRole__navSP .ec-headerNavSP__icon,
  .slim_header .ec-headerRole__navSP .ec-headerNavSP__icon span,
  .slim_header .ec-headerRole__navSP a {
    font-size: 18px;
    line-height: 1;
    position: relative;
    top: -4px;
  }

  .slim_header .ec-headerRole__navSP svg {
    width: 28px;
    height: 28px;
  }

  .slim_header .ec-headerNaviRole .ec-cartNavi,
  body .slim_header .ec-headerNaviRole > .ec-cartNavi {
    position: relative !important;
    top: 5px !important;
    transform: scale(1.3) !important;
    transform-origin: right center !important;
    margin-right: 5px !important;
  }

  .ec-cartNavi__badge {
    margin-left: 7px !important;
  }

  .ec-cartNaviIsset.is-active {
    margin-top: 16px;
  }

  .ec-cartNaviIsset__cart {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
  }

  .ec-cartNaviIsset__cartImage {
    flex: 0 0 165px;
    width: 165px;
    height: 165px;
    overflow: hidden;
  }

  .ec-cartNaviIsset__cartImage img {
    width: 165px;
    height: 165px;
    object-fit: cover;
    display: block;
  }

  .ec-cartNaviIsset__cartContent {
    flex: 1;
    min-width: 0;
  }

  .slim_header .ec-headerRole__search {
    display: none !important;
  }

  /* 商品詳細タイトル */
  #page_product_detail .ec-headingTitle {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700;
  }

  /* H1サイズ */
  .ec-pageHeader h1 {
    font-size: 18px !important;
  }

  /* ログイン画面レイアウト */
  .ec-off2Grid {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .ec-off2Grid__cell {
    padding-top: 0 !important;
  }

  .ec-login {
    margin-top: 0 !important;
    padding: 16px 12px !important;
    max-width: none !important;
    width: 100% !important;
  }

  .ec-login .ec-input {
    margin-bottom: 18px !important;
  }

  .ec-login .ec-checkbox {
    margin-top: 6px !important;
  }

  .ec-login .ec-grid2 {
    margin-top: 6px !important;
  }

  .ec-login .ec-grid2__cell + .ec-grid2__cell {
    margin-top: 18px !important;
  }

  .ec-login__link {
    text-align: center !important;
    margin-top: 8px !important;
  }

  /* ページトップボタン非表示 */
  .ec-blockTopBtn.pagetop {
    display: none !important;
  }

  /* ガイドセクション */
  #footer-guide {
    padding: 30px 0 !important;
  }

  .footer-guide-container {
    padding: 0 15px !important;
  }

  .footer-guide-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .footer-guide-column {
    gap: 12px !important;
  }

  #footer-guide .accordion-item {
    margin-bottom: 12px !important;
  }

  #footer-guide .accordion-header {
    padding: 15px !important;
  }

  #footer-guide .sub-accordion-header {
    padding: 12px 15px !important;
  }

  #footer-guide .ec-shelfGuide__title {
    font-size: 18px !important;
  }

  #footer-guide .ec-shelfGuide__titleSub {
    font-size: 16px !important;
  }

  #footer-guide .accordion-content,
  #footer-guide .sub-accordion-content {
    padding: 0 15px !important;
  }

  #footer-guide .accordion-item.active .accordion-content {
    padding: 15px !important;
  }

  #footer-guide .sub-accordion-item.active .sub-accordion-content {
    padding: 12px 15px !important;
  }

  #footer-guide .accordion-content p,
  #footer-guide .sub-accordion-content p,
  #footer-guide .accordion-content ol {
    font-size: 16px !important;
    line-height: 1.9 !important;
  }

/* corp-footer スマホ：2列グリッド＋アイコン崩れ防止 */
  .corp-footer {
    padding: 18px 16px 15px;
    text-align: left;
  }

  .corp-footer__inner {
    text-align: left;
  }

  .corp-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    justify-items: start;
  }

  .corp-footer__menu li {
    width: 100%;
    padding: 2px 0;
    box-sizing: border-box;
  }

  /* aタグ自体をgridにしてアイコンとテキストを分離 */
  .corp-footer .corp-footer__menu a {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start;
    padding-left: 0 !important;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
  }

  .corp-footer .corp-footer__menu a::before {
    position: static !important;
    transform: none !important;
    top: auto !important;
    margin-top: 2px;
  }

  /* ロゴ＋著作権は中央揃えのまま */
  .corp-footer__copy {
    text-align: center;
    margin-top: 16px;
  }

  .ec-footerCopyright {
    font-size: 10px !important;
    height: auto !important;
    padding: 10px 15px !important;
  }

}

/* ===================================================================
   13. スマホ固定フッター
   =================================================================== */

.sp-fixed-footer {
  display: none;
}

@media (max-width: 768px) {

  .sp-fixed-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #d80000;
    border-top: 1px solid #d80000;
    display: flex;
    z-index: 9999;
  }

  .spf-btn {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    padding: 6px 0 8px;
    margin: 0;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    -webkit-tap-highlight-color: transparent;
  }

  .spf-btn .ec-headerRole__icon {
    font-size: 22px;
    line-height: 1;
    order: -1;
    color: #ffffff;
  }

  .spf-txt {
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    color: #ffffff;
    font-weight: bold;
  }

  .spf-btn:active {
    background: rgba(255,255,255,0.15);
  }

  .ec-footerNavi {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px 12px !important;
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
  }

  .ec-footerNavi__link {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 0 4px 0 !important;
    text-align: center !important;
  }

  .ec-footerNavi__link > a {
    display: inline-block !important;
    font-size: 13px !important;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 2.4 !important;
  }

  .ec-footerNavi__link::after {
    content: "";
    display: block;
    height: 1px;
    background: #d1d1d1;
    margin-top: 4px;
  }

}

/* ===================================================================
   14. SPドロワー
   =================================================================== */

.ec-drawerRole {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 86vw !important;
  max-width: 380px !important;
  height: 100vh !important;
  transform: translateX(-100%) !important;
  transition: transform .25s ease !important;
  z-index: 10000 !important;
  background: #f7f7f7 !important;
  overflow-y: auto !important;
}

.ec-drawerRole.is_active {
  transform: translateX(0) !important;
}

.ec-drawerRole .ec-headerLinkArea {
  background: #f7f7f7 !important;
}

.ec-drawerRole .ec-headerLinkArea,
.ec-drawerRole .ec-headerLinkArea a,
.ec-drawerRole .ec-headerLinkArea span,
.ec-drawerRole .ec-headerLinkArea i {
  color: #171717 !important;
}

.ec-drawerRole .ec-headerLink__item[href*="/cart"],
.ec-drawerRole .ec-headerLink__item[href*="/mypage/favorite"],
.ec-drawerRole .ec-headerLink__item[href="/"],
.ec-drawerRole .ec-headerLink__item[href$="test3.washita.info/"] {
  display: none !important;
}

.ec-drawerRole .ec-itemNav__nav > li > a {
  font-weight: 700 !important;
  display: block !important;
  background: #fffef1 !important;
}

.ec-drawerRole .ec-itemNav__nav > li {
  background: #fff5fd !important;
}

.ec-drawerRole .ec-headerSearch,
.ec-drawerRole .ec-headerSearch .searchform,
.ec-drawerRole .ec-headerSearch__keyword {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ec-drawerRole .ec-headerSearch__keyword .ec-input {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  height: 44px !important;
  padding: 0 10px !important;
  border: 1px solid #8f8f8f !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.ec-drawerRole .ec-headerSearch__input {
  flex: 1 !important;
  height: 38px !important;
  margin-left: -5px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  outline: none !important;
  font-size: 15px !important;
  color: #171717 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.ec-drawerRole input.search-name::placeholder,
.ec-drawerRole .ec-headerSearch__input::placeholder {
  color: #787878 !important;
  opacity: 1 !important;
  font-size: 18px;
}

.ec-drawerRole .ec-headerSearch__btn {
  height: 32px !important;
  padding: 0 14px !important;
  min-width: 56px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #ef4b18 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  white-space: nowrap !important;
  transform: translateY(-16px) !important;
}

/* ===================================================================
   15. 検索結果表示
   =================================================================== */

.ec-searchnavRole__counter span::before,
.ec-searchnavRole__counter span::after {
  content: "" !important;
}

.ec-searchnavRole__counter span:last-of-type::after {
  content: "🌺" !important;
  margin-left: .2em;
}

.ec-searchnavRole__counter {
  margin-top: 0;
}

.ec-searchnavRole__counter span {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

@media (max-width: 768px) {

  .ec-searchnavRole__counter {
    margin-top: 28px;
  }

  .ec-searchnavRole__counter span {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
  }

}

/* ===================================================================
   16. 手続きページ UX最適化
   =================================================================== */

#page_login .ec-blockBtn--action,
#page_login .ec-blockBtn--cancel,
#page_entry .ec-blockBtn--action,
#page_entry .ec-blockBtn--cancel,
#page_entry_confirm .ec-blockBtn--action,
#page_entry_confirm .ec-blockBtn--cancel,
#page_mypage_login .ec-blockBtn--action,
#page_mypage_login .ec-blockBtn--cancel {
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

#page_login .ec-blockBtn--action,
#page_entry .ec-blockBtn--action,
#page_entry_confirm .ec-blockBtn--action,
#page_mypage_login .ec-blockBtn--action {
  background-color: #fe383c !important;
  border-color: #fe383c !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

#page_entry a.ec-blockBtn--cancel[href="https://test3.washita.info/"] {
  background-color: #ffffff !important;
  border: 1px solid #ccc !important;
  color: #333 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10) !important;
}

#page_entry_complete a.ec-blockBtn--cancel[href="https://test3.washita.info/"] {
  background-color: #fe383c !important;
  border-color: #fe383c !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18) !important;
}

/* ===================================================================
   17. ログイン画像差し替え
   =================================================================== */

img[src="/html/template/default/assets/icon/user.svg"] {
  content: url('/html/user_data/assets/img/login_washitan_message.svg');
}

.ec-login__icon .ec-icon img {
  width: 450px !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 120px !important;
}