
/* ▼ メインメニュー外枠 */
.ec-categoryNaviRole {
  background-color: #444 !important;
  position: relative;
  z-index: 100;
  font-size: 90%;
}

/* ▼ メインメニューリスト */
.gnavList {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  position: relative;
  list-style: none;
}
.gnavList-item {
  color: #fff;
  border-right: 1px solid #666;
  padding: 1em 1.5em;
  width: 20%;
  text-align: center;
}
.gnavList-item:last-child {
  border-right: none;
}
.gnavList-item .is-inner {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* ▼ ドロップダウンメニュー */
.gnavChildMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 1200px;
  max-height: calc(90vh - 192px);
  padding: 30px;
  max-height: 80vh; /* 高さを画面の9割に制限 */
  overflow-y: auto; /* 縦スクロール有効化 */
  padding-bottom: 80px; /* 下のボタンを見えるように余白を追加 */
  box-sizing: border-box;
}
.gnavChildMenu-catList {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}
.gnavChildMenu-catList-item {
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}
.gnavChildMenu-catList-thumb {
  margin-right: 12px;
  flex-shrink: 0;
  margin-bottom: 0 !important;
}
.gnavChildMenu-catList-thumb img {
  width: 60px;
  height: auto;
  border-radius: 4px 0px 0px 4px;
  border: none;
}
.gnavChildMenu-catList-name {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
.gnavList-item.open .gnavChildMenu {
  display: block;
}
.gnavChildMenu-catList-item .is-inner {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* ▼ メニュー内リンクの装飾微調整 */
.gnavList-item .is-inner {
  display: inline-block;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ▼ 子カテゴリサムネイルのサイズ調整 */
.gnavChildMenu-catList-thumb img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  background-color: #fff;
  vertical-align: middle;
  display: block;
}

.ec-categoryNaviRole .gnavList-item .is-inner {
  color: #fff;
}

.gnavChildMenu-catList {
  list-style: none !important; /* デフォルトの・を消す */
  padding-left: 0; /* 左余白も調整 */
}

.gnavChildMenu-catList-item::before {
  content: none !important; /* 擬似要素のドット削除 */
}

.catList-box {
  display: flex;
  align-items: center;
  gap: 12px; /* 画像とテキストの間 */
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: background 0.3s;
  width: 260px;
  line-height: 1;
  overflow: hidden;
}

.formStyles-checkbox.ec-input {
  display: flex;
  gap: 8px 12px;
  align-items: center;
  max-width: 986px;
}

.formStyles-checkbox.ec-input label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  margin: 4px 6px 4px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-weight: bold;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  transition: all 0.2s;
}

/* 選択状態（チェックボックスがチェックされた状態）のスタイル */
.formStyles-checkbox.ec-input input[type="checkbox"]:checked + span {
  background-color: #839773; /* チェック時の背景色 */
  color: #fff;                /* チェック時の文字色 */
  border-color: #839773;
}

/* チェックボックス自体を非表示 */
.formStyles-checkbox.ec-input input[type="checkbox"] {
  display: none;
}

.formStyles-checkbox.ec-input input[type="checkbox"]:checked + span {
  color: #fff;
  background-color: #333;
  border-color: #333;
}

.formStyles-checkbox.ec-input label span {
  display: inline-block;
}

.formStyles-colorBox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 7px;
}

.formStyles-colorBox label {
  display: inline-flex;
  align-items: center;
  margin: 4px;
  cursor: pointer;
  border-radius: 50px;
  padding: 4px 10px;
  transition: border-color 0.2s;
}

/* 通常状態の丸（カラーの擬似表示） */
.formStyles-colorBox label span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid #0c6;
  background-color: transparent;
}

.formStyles-colorBox input[type="checkbox"] {
  display: none;
}

.formStyles-colorBox span::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 6px;
  background-color: transparent;
  vertical-align: middle;
}

.formStyles-colorBox.ec-input label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background-color: #fff;
  color: #333;
}

.formStyles-colorBox.ec-input label span::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 4px;
  background-color: currentColor;
  border: 1px solid #008833;
}

/* 各色のカラーチップ */
.formStyles-colorBox label:nth-of-type(1) span::before { background-color: #c0392b; }   /* 赤 */
.formStyles-colorBox label:nth-of-type(2) span::before { background-color: #e91e63; }   /* ピンク */
.formStyles-colorBox label:nth-of-type(3) span::before { background-color: #9b59b6; }   /* 紫 */
.formStyles-colorBox label:nth-of-type(4) span::before { background-color: #00bcd4; }   /* 青 */
.formStyles-colorBox label:nth-of-type(5) span::before { background-color: #4caf50; }   /* 緑 */
.formStyles-colorBox label:nth-of-type(6) span::before { background-color: #f1c40f; }   /* 黄 */
.formStyles-colorBox label:nth-of-type(7) span::before { background-color: #f39c12; }   /* オレンジ */
.formStyles-colorBox label:nth-of-type(8) span::before { background-color: #fff; }      /* 白 */
.formStyles-colorBox label:nth-of-type(9) span::before { background-color: #222; }      /* 黒 */
.formStyles-colorBox label:nth-of-type(10) span::before {
  background: linear-gradient(to right, #c0392b 50%, #f1c40f 50%);
}  /* 2色以上 */
.formStyles-colorBox label:nth-of-type(11) span::before { background-color: #ddd; }     /* その他 */

.formStyles-colorBox label input:checked+span::before {
  border-width: 5px;
}

.gnavChildMenu-searchArea {
  flex: 1 1 auto;
  max-height: 90vh; /* ビューポートの高さの90%まで */
  overflow-y: auto;
  padding-right: 8px; /* スクロールバーが被らないように */
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

/* スクロールバーの見た目を調整（オプション） */
.gnavChildMenu-searchArea::-webkit-scrollbar {
  width: 8px;
}
.gnavChildMenu-searchArea::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* ラベルをオレンジ色＋小さく */
.keyword-style-simple .ec-label {
  color: #f26b00;
  font-size: 13px;
  font-weight: normal;
}

/* インプットフィールドをシンプルに */
.simple-input input[type="search"] {
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid #999;
  border-radius: 3px;
  width: 160px;
  height: auto;
  box-sizing: border-box;
}

/* ラベル（オレンジ、左寄せ、小さめ） */
.search-keyword-row {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.search-keyword-row dt {
  font-weight: bold;
  font-size: 16px;
  margin-right: 20px;
  white-space: nowrap;
}

.search-keyword-row dt label {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: bold;
  max-width: 100%;
  text-align: left;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

/* インプット（幅狭め、枠線グレー、プレースホルダも調整） */
.search-keyword-row dd {
  flex-grow: 1;
  max-width: 600px;
}

.search-keyword-row dd input[type="search"] {
  width: 100%;
  max-width: 600px;
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.search-keyword-row dd input::placeholder {
  color: #aaa;
  font-size: 14px;
}

.gnavChildMenu-searchArea-main-row {
  display: flex;
  width: 100%;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  align-items: center;
}

.gnavChildMenu-searchArea-main-row.is-2col {
  width: auto;
  max-width: 50%;
  border-bottom: none;
}

.gnavChildMenu-searchArea-main-row-title label.ec-label {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: bold;
  max-width: 100%;
  text-align: left;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

.gnavChildMenu-searchArea-main-row-inputArea {
  display: flex;
  align-items: center;
  width: calc(100% - 11.2rem);
  font-size: 16px;
}

.gnavChildMenu-searchArea-main-row-inputArea input[type="text"] {
  width: 100%;
  max-width: 600px;
  height: 40px;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

/* 横並びにする親ラッパー */
.gnavChildMenu-searchArea-main-row.is-3col {
  flex: 1 1 calc(33.33% - 20px);
  box-sizing: border-box;
  margin: 0;
}

/* 横並び用：親ラッパーにflexを設定 */
.gnavChildMenu-searchArea-main-row-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.formStyles-checkbox span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: #fff;
  font-weight: bold;
  color: #333;
  transition: all 0.3s;
}

.formStyles-checkbox label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  margin: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  transition: all 0.2s;
}

.formStyles-checkbox input[type="checkbox"] {
  display: none;
}

/* 選択された場合のスタイル */
.formStyles-checkbox input[type="checkbox"]:checked ~ span {
  color: #ff6600 !important;
  border-color: unset !important;
  background-color: transparent !important;
}

/* 基本スタイル */
.formStyles-checkbox label {
  display: inline-block;
  margin: 4px;
  cursor: pointer;
}

/* ホバー時の変化（任意） */
.formStyles-checkbox label:hover {
  opacity: 0.8;
}

.gnavChildMenu-boxList {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gnavChildMenu-boxList .gnavChildMenu-3colList-item {
  display: flex;
  width: calc(33.3% - 22.66px);
  margin: 0 0 34px 0;
}

.gnavChildMenu-boxList .box-link {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
}

/* キーワード入力 */
.keyword-search input[type="text"] {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
}

/* 表示中の状態 */
.gnavChildMenu.is-open {
  display: block;
}

.is-inner_02 {
  color: #000 !important;
}

.shopping_right {
  padding: 0 !important;
}

.gnav-contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gnav-contact-card {
  flex: 1 1 30%;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: box-shadow 0.2s;
  padding: 12px 10px;
}

.gnav-contact-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gnav-contact-card a {
  display: flex;
  justify-content: left;
  color: #333;
  text-decoration: none;
  height: 100%;
  gap: 35px;
}

.gnav-contact-card-icon {
  font-size: 24px;
  color: #f60;
  margin-bottom: 10px;
}

.gnav-contact-card-label {
  font-weight: bold;
  font-size: 15px;
}

.formStyles-selectBox select {
  display: inline-block;
  width: 8rem;
  margin: 5px 0;
  text-align: right;
  font-weight: bold;
}

.ec-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 790px;
  height: 40px;
  margin: 0;
  background: #fff;
  border: 1px solid #999;
  border-radius: 5px;
  color: #333;
  letter-spacing: .05em;
  line-height: normal;
}

.gnavChildMenu-guideArea {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.gnavChildMenu-guideArea-contents {
  width: calc(50% - 28.5px);
}

.gnavChildMenu-guideArea-contents-title {
  width: 100%;
  margin: 0 0 20px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  text-align: left;
}

.gnavChildMenu-loginBtn {
  width: 100%;
  margin: 0 0 20px 0;
}

.gnavChildMenu-loginBtn>.is-inner {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0;
  background-color: #fb6107;
  border: 1px solid #fb6107;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  filter: drop-shadow(0 1px 1px rgba(171, 72, 15, 0.16));
  position: relative;
}

.gnavChildMenu-guideArea-contents-main {
  width: 100%;
  margin-left: 0;
}

.gnavChildMenu-guideArea-contents-main .guideList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin: 0 0 -20px;
}

.guideList-item {
  display: flex;
}

.gnavChildMenu .guideList.is-beforeIcon .guideList-item>.is-inner {
  padding-left: 30.76%;
}

.guideList.is-beforeIcon .guideList-item>.is-inner {
  padding: 10px 7px 10px 66px;
}

.gnavChildMenu .guideList-item>.is-inner {
  height: 60px;
}

.guideList-item>.is-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 80px;
  padding: 10px 40px 10px 23px;
  border-radius: 5px;
  text-align: left;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
}

.guideList .guideList-item::before {
  width: 45px;
  height: 100%;
}

.guideList .guideList-item_02::before {
  width: auto !important;
}

.gnavChildMenu-loginBtn-title {
  display: flex;
  align-items: center;
  gap: 0 8px;
  color: #fff;
}

.gnavChildMenu-loginBtn-title .is-text {
  padding-left: 7.4%;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.gnavChildMenu-loginBtn-title strong {
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
  min-width: 60px;
}

@media only screen and (min-width: 1051px) {
  .gnavChildMenu-guideArea-contents-main .guideList-item {
    margin-right: 20px;
  }
}

@media screen and (max-width: 768px) {
    .is-inner_footer {
      padding: 10px 7px !important;
      font-size: 14px !important;
    }

    .gnavChildMenu-searchArea-main-row.is-3col {
      flex: 1 1 100%;
    }
}

/* ▼ PC表示時に横並び表示を維持（崩れ防止） */
@media (max-width: 1024px) {
  .gnavChildMenu-catList-item {
    width: calc(33.333% - 10.7px); /* 3列 */
  }
}

@media (max-width: 768px) {
  .gnavChildMenu-catList-item {
    width: calc(50% - 8px); /* 2列 */
  }
}

@media (max-width: 480px) {
  .gnavChildMenu-catList-item {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .is-hoverAction {
    padding: 10px;
    display: inline-block; /* spanに背景を効かせるため */
    line-height: 30px;
  }

  .is-hoverAction:hover {
    background-color: #fff;
    cursor: pointer;
  }

  .is-hoverAction.open {
    background-color: #fff;
  }

  .ec-categoryNaviRole .gnavList-item .is-inner:hover {
    color: #fb6107;
  }

  .js-gnavList-trigger .is-inner {
    color: #fff; /* 白色を固定 */
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 2;
  }

  /* サブメニュー展開時も色を維持 */
  .js-gnavList-trigger.open .is-inner {
    color: #fb6107;
    visibility: visible;
    opacity: 1;
  }
}

.guideList-item_02 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
}

.guideList-item_02 a:hover {
  background-color: #f7f7f7;
}

.guideList-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.icon-arrow-right {
  width: 10px;
  height: 10px;
}

.guideList-item_02>.is-inner_02::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url(../img/icon_arrow_circle.svg) no-repeat center center / 100% auto;
  border-radius: 100%;
  position: absolute;
  top: calc(50% - 10px);
  right: 20px;
}

.gnavChildMenu-loginBtn-icon {
  color: #fff;
}

.select-range-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.select-range-wrapper .formStyles-selectBox select {
  width: 80px;
  padding: 4px 8px;
  font-size: 14px;
  appearance: auto; /* ブラウザの矢印を表示 */
  cursor: pointer;
}

.month-dash {
  font-size: 16px;
  color: #333;
}

.formStyles-cmBox-separator {
  display: inline-block;
  margin: 0 8px;
  font-weight: bold;
  font-size: 14px;
  vertical-align: middle;
  color: #000;
}

.search-order-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* 適度な間隔 */
  align-items: center;
}

.search-order-wrap dl {
  display: flex;
  align-items: center;
  margin: 0;
}

.search-order-wrap dt {
  margin-right: 8px;
  white-space: nowrap;
}

.search-order-wrap dd {
  margin: 0;
}

.search-order-wrap select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: none;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 10px 6px;
  min-width: 100px;
  font-size: 14px;
  cursor: pointer;
}

/* Chrome, Safari, Edge 対応 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: auto;
  margin: 0;
}

/* Firefox 対応 */
input[type="number"] {
  -moz-appearance: textfield;
}

.formStyles-cmBox input[type="number"] {
  text-align: center;
  font-size: 16px;
  padding: 6px;
  height: 24px;
  border-radius: 6px;
  max-width: 114px;
  text-align: right;
}

.formStyles-cmBox-unit {
  color: #000;
}

/* 横並びにする全体ラッパー */
.searchArea-horizontal-group {
  display: flex;
  gap: 40px; /* 間隔調整 */
  align-items: flex-start;
  flex-wrap: wrap; /* モバイル対応 */
}

/* 各ラッパー dl を均等に表示 */
.searchArea-horizontal-group dl {
  display: flex;
  flex-direction: row; /* 横並びに */
  align-items: center;
  margin: 0;
}

/* タイトル（dt）と入力エリア（dd）横並び */
.searchArea-horizontal-group dt,
.searchArea-horizontal-group dd {
  margin: 0;
  padding: 0;
}

.searchArea-horizontal-group dt {
  margin-right: 8px;
  white-space: nowrap;
}

.searchArea-horizontal-group dd {
  margin: 0;
}

/* チェックボックスのラベルも横並び */
.searchArea-horizontal-group .formStyles-checkbox {
  display: flex;
  gap: 10px;
}

/* チェックボックスの表示調整 */
.searchArea-horizontal-group .formStyles-checkbox label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  white-space: nowrap;
}

.ec-input_02 {
  flex-wrap: wrap;
}

.faq-feedback {
  margin-top: 1em;
  padding: 1em;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.faq-feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 0.5em;
}

.faq-feedback-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 9999px;
  padding: 0.5em 1.5em;
  cursor: pointer;
  font-weight: bold;
}

.faq-feedback-btn:hover {
  background-color: #f0f0f0;
}

.faq-chat-options p {
  font-size: 15px !important;
  text-align: left !important;
  margin-top: 6px !important;
  color: #333 !important;
}

#faqChatOptions button {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 9999px;
  border: 1px solid #007bff;
  color: #007bff;
  background-color: #f9fcff;
  cursor: pointer;
  transition: 0.2s;
}

#faqChatOptions button:hover {
  background-color: #e6f2ff;
}

.faq-red {
  color: #ff0000;
}