/** Shopify CDN: Minification failed

Line 266:1 Expected "}" to go with "{"

**/
.search__input.field__input {
  padding-right: 9.8rem;
  color: #232323;
}

.search__button {
  right: var(--inputs-border-width);
  top: var(--inputs-border-width);
}

.reset__button {
  right: calc(var(--inputs-border-width) + 4.4rem);
  top: var(--inputs-border-width);
}

.reset__button:not(:focus-visible)::after {
  border-right: 0.1rem solid rgba(var(--color-foreground), 0.08);
  display: block;
  height: calc(100% - 1.6rem);
  content: '';
  position: absolute;
  right: 0;
}

.reset__button:not(:focus)::after {
  border-right: 0.1rem solid rgba(var(--color-foreground), 0.08);
  display: block;
  height: calc(100% - 1.8rem);
  content: '';
  position: absolute;
  right: 0;
}

.search__button:focus-visible,
.reset__button:focus-visible {
  background-color: rgb(var(--color-background));
  z-index: 4;
}

.search__button:focus,
.reset__button:focus {
  background-color: rgb(var(--color-background));
  z-index: 4;
}

.search__button:not(:focus-visible):not(.focused),
.reset__button:not(:focus-visible):not(.focused) {
  box-shadow: inherit;
  background-color: inherit;
}

.search__button:hover .icon,
.reset__button:hover .icon {
  transform: scale(1.07);
}

.search__button .icon {
  height: 1.8rem;
  width: 1.8rem;
}

.reset__button .icon.icon-close {
  height: 1.8rem;
  width: 1.8rem;
  stroke-width: 0.1rem;
}

/* Remove extra spacing for search inputs in Safari */
input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.template-search__results {
  position: relative;
}
/* === ヘッダーサイズで展開する検索バー === */

.header__search details[open] .search-modal {
  position: absolute;
  top: 0;
  left: -800px;
  right: 0;
  max-width: 1240px;
  width: 900px;
  z-index: 3;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.header__search .search-modal__content {
  padding: 0.8rem 1.5rem;
  margin: 0 auto;
  max-width: var(--page-width, 1400px);
  background: transparent;
}

.header__search .field {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.header__search .search__input {
  flex: 1;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 16px;
  outline: none;
}

.header__search .field__button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__search .search-modal__close-button {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__search .modal-overlay {
  display: none !important; /* オーバーレイ非表示 */
}

@media (max-width: 914px) {
.header__search details[open] .search-modal {
      width: 600px;
      left: -500px;
    }
  }

/* スマホ対応 */
@media (max-width: 750px) {
  .header__search .search-modal__content {
    padding: 0.6rem 1rem;
  }  
}

@media (max-width: 480px) {
.header__search details[open] .search-modal {
    width: 280px;
    left: -145px;
  }
background: rgba(255,255,255,0.9);
backdrop-filter: blur(6px);

/* === 検索バーをヘッダー幅いっぱいに拡張 === */

.header__search details[open] .search-modal {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-background, #f9f8f3);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  animation: slideDown 0.25s ease;
  display: flex;
  justify-content: center;
}

.header__search .search-modal__content {
  width: 100%;
  max-width: var(--page-width, 1400px);
  padding: 0.8rem 2rem;
  box-sizing: border-box;
}

/* === 入力欄の幅を広げる === */
.header__search .field {
  width: 100%;
  max-width: none; /* ← ここで最大幅を指定（変更可） */
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.header__search .search__input {
  flex: 1;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 16px;
  outline: none;
}

.header__search .field__button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 閉じるボタン */
.header__search .search-modal__close-button {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* オーバーレイ非表示 */
.header__search .modal-overlay {
  display: none !important;
}

/* アニメーション */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スマホ対応 */
@media (max-width: 750px) {
  .header__search .search-modal__content {
    padding: 0.6rem 1rem;
  }
  .header__search .field {
    max-width: 95%;
  }
}
.template-search__search .search {
  color: #232323;
  /*border: 1px solid #232323;*/
}

@media screen and (max-width: 990px) {
  .template-search__search .search {
  width: 90%!important;
  margin: 0 auto;
  }
}